Debian Codegraph @

matio-1.5.0/configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for MATIO 1.5.0.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
92
93 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104 IFS=$as_save_IFS
105
106 ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111 as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153 esac
154 fi
155 "
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170 exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
187 as_have_required=yes
188 else
189 as_have_required=no
190 fi
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198 IFS=$as_save_IFS
199 test -z "$as_dir" && as_dir=.
200 as_found=:
201 case $as_dir in #(
202 /*)
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210 break 2
211 fi
212 fi
213 done;;
214 esac
215 as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
229 BASH_ENV=/dev/null
230 ENV=/dev/null
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 export CONFIG_SHELL
233 case $- in # ((((
234 *v*x* | *x*v* ) as_opts=-vx ;;
235 *v* ) as_opts=-v ;;
236 *x* ) as_opts=-x ;;
237 * ) as_opts= ;;
238 esac
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248 else
249 $as_echo "$0: Please tell [email protected] and
250 $0: [email protected] about your system,
251 $0: including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
254 fi
255 exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273 { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282 return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290 set +e
291 as_fn_set_status $1
292 exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301 case $as_dir in #(
302 -*) as_dir=./$as_dir;;
303 esac
304 test -d "$as_dir" || eval $as_mkdir_p || {
305 as_dirs=
306 while :; do
307 case $as_dir in #(
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309 *) as_qdir=$as_dir;;
310 esac
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 s//\1/
320 q
321 }
322 /^X\(\/\/\)[^/].*/{
323 s//\1/
324 q
325 }
326 /^X\(\/\/\)$/{
327 s//\1/
328 q
329 }
330 /^X\(\/\).*/{
331 s//\1/
332 q
333 }
334 s/.*/./; q'`
335 test -d "$as_dir" && break
336 done
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
350 {
351 eval $1+=\$2
352 }'
353 else
354 as_fn_append ()
355 {
356 eval $1=\$$1\$2
357 }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366 eval 'as_fn_arith ()
367 {
368 as_val=$(( $* ))
369 }'
370 else
371 as_fn_arith ()
372 {
373 as_val=`expr "$@" || test $? -eq 1`
374 }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385 as_status=$1; test $as_status -eq 0 && as_status=1
386 if test "$4"; then
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389 fi
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
396 as_expr=expr
397 else
398 as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402 as_basename=basename
403 else
404 as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408 as_dirname=dirname
409 else
410 as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 s//\1/
420 q
421 }
422 /^X\/\(\/\/\)$/{
423 s//\1/
424 q
425 }
426 /^X\/\(\/\).*/{
427 s//\1/
428 q
429 }
430 s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 sed -n '
446 p
447 /[$]LINENO/=
448 ' <$as_myself |
449 sed '
450 s/[$]LINENO.*/&-/
451 t lineno
452 b
453 :lineno
454 N
455 :loop
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 t loop
458 s/-\n.*//
459 ' >$as_me.lineno &&
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
466 . "./$as_me.lineno"
467 # Exit status is that of the last command.
468 exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 xy) ECHO_C='\c';;
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
478 ECHO_T=' ';;
479 esac;;
480 *)
481 ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
487 else
488 rm -f conf$$.dir
489 mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s='ln -s'
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499 as_ln_s='cp -p'
500 elif ln conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s=ln
502 else
503 as_ln_s='cp -p'
504 fi
505 else
506 as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
513 else
514 test -d ./-p && rmdir ./-p
515 as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519 as_test_x='test -x'
520 else
521 if ls -dL / >/dev/null 2>&1; then
522 as_ls_L_option=L
523 else
524 as_ls_L_option=
525 fi
526 as_test_x='
527 eval sh -c '\''
528 if test -d "$1"; then
529 test -d "$1/.";
530 else
531 case $1 in #(
532 -*)set "./$1";;
533 esac;
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
536 '\'' sh
537 '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='MATIO'
572 PACKAGE_TARNAME='matio'
573 PACKAGE_VERSION='1.5.0'
574 PACKAGE_STRING='MATIO 1.5.0'
575 PACKAGE_BUGREPORT='[email protected]'
576 PACKAGE_URL='http://sourceforge.net/projects/matio'
577
578 ac_unique_file="src/matio.h"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 # include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 # include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 AUTOTEST
620 AUTOM4TE
621 SUN_FALSE
622 SUN_TRUE
623 WINNT_FALSE
624 WINNT_TRUE
625 LINUX_FALSE
626 LINUX_TRUE
627 MAT73_FALSE
628 MAT73_TRUE
629 HAVE_HDF5_FALSE
630 HAVE_HDF5_TRUE
631 HDF5_CFLAGS
632 HDF5_LIBS
633 HAVE_ZLIB_FALSE
634 HAVE_ZLIB_TRUE
635 ZLIB_CFLAGS
636 ZLIB_LIBS
637 MATLABEXE
638 HAVE_INT64
639 HAVE_UINT64
640 SIZEOF_VOID_P
641 SIZEOF_SIZE_T
642 SIZEOF_INT
643 NEED_GETOPT_FALSE
644 NEED_GETOPT_TRUE
645 CPP
646 OTOOL64
647 OTOOL
648 LIPO
649 NMEDIT
650 DSYMUTIL
651 MANIFEST_TOOL
652 RANLIB
653 ac_ct_AR
654 AR
655 DLLTOOL
656 OBJDUMP
657 LN_S
658 NM
659 ac_ct_DUMPBIN
660 DUMPBIN
661 LD
662 FGREP
663 EGREP
664 GREP
665 SED
666 LIBTOOL
667 OBJEXT
668 EXEEXT
669 ac_ct_CC
670 CPPFLAGS
671 LDFLAGS
672 CFLAGS
673 CC
674 LT_LDFLAGS
675 LT_CFLAGS
676 FCLDFLAGS
677 PACKAGE_RELEASE_DATE
678 host_os
679 host_vendor
680 host_cpu
681 host
682 build_os
683 build_vendor
684 build_cpu
685 build
686 MAINT
687 MAINTAINER_MODE_FALSE
688 MAINTAINER_MODE_TRUE
689 AM_BACKSLASH
690 AM_DEFAULT_VERBOSITY
691 AM_DEFAULT_V
692 AM_V
693 am__untar
694 am__tar
695 AMTAR
696 am__leading_dot
697 SET_MAKE
698 AWK
699 mkdir_p
700 MKDIR_P
701 INSTALL_STRIP_PROGRAM
702 STRIP
703 install_sh
704 MAKEINFO
705 AUTOHEADER
706 AUTOMAKE
707 AUTOCONF
708 ACLOCAL
709 VERSION
710 PACKAGE
711 CYGPATH_W
712 am__isrc
713 INSTALL_DATA
714 INSTALL_SCRIPT
715 INSTALL_PROGRAM
716 target_alias
717 host_alias
718 build_alias
719 LIBS
720 ECHO_T
721 ECHO_N
722 ECHO_C
723 DEFS
724 mandir
725 localedir
726 libdir
727 psdir
728 pdfdir
729 dvidir
730 htmldir
731 infodir
732 docdir
733 oldincludedir
734 includedir
735 localstatedir
736 sharedstatedir
737 sysconfdir
738 datadir
739 datarootdir
740 libexecdir
741 sbindir
742 bindir
743 program_transform_name
744 prefix
745 exec_prefix
746 PACKAGE_URL
747 PACKAGE_BUGREPORT
748 PACKAGE_STRING
749 PACKAGE_VERSION
750 PACKAGE_TARNAME
751 PACKAGE_NAME
752 PATH_SEPARATOR
753 SHELL'
754 ac_subst_files=''
755 ac_user_opts='
756 enable_option_checking
757 enable_silent_rules
758 enable_maintainer_mode
759 enable_debug
760 enable_profile
761 with_libdir_suffix
762 enable_shared
763 enable_static
764 with_pic
765 enable_fast_install
766 with_gnu_ld
767 with_sysroot
768 enable_libtool_lock
769 with_matlab
770 with_zlib
771 with_hdf5
772 enable_mat73
773 with_default_file_ver
774 enable_extended_sparse
775 '
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
779 FCLDFLAGS
780 LT_CFLAGS
781 LT_LDFLAGS
782 CC
783 CFLAGS
784 LDFLAGS
785 LIBS
786 CPPFLAGS
787 CPP'
788
789
790 # Initialize some variables set by options.
791 ac_init_help=
792 ac_init_version=false
793 ac_unrecognized_opts=
794 ac_unrecognized_sep=
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
811
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
837
838 ac_prev=
839 ac_dashdash=
840 for ac_option
841 do
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
845 ac_prev=
846 continue
847 fi
848
849 case $ac_option in
850 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 *=) ac_optarg= ;;
852 *) ac_optarg=yes ;;
853 esac
854
855 # Accept the important Cygnus configure options, so we can diagnose typos.
856
857 case $ac_dashdash$ac_option in
858 --)
859 ac_dashdash=yes ;;
860
861 -bindir | --bindir | --bindi | --bind | --bin | --bi)
862 ac_prev=bindir ;;
863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
864 bindir=$ac_optarg ;;
865
866 -build | --build | --buil | --bui | --bu)
867 ac_prev=build_alias ;;
868 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869 build_alias=$ac_optarg ;;
870
871 -cache-file | --cache-file | --cache-fil | --cache-fi \
872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873 ac_prev=cache_file ;;
874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876 cache_file=$ac_optarg ;;
877
878 --config-cache | -C)
879 cache_file=config.cache ;;
880
881 -datadir | --datadir | --datadi | --datad)
882 ac_prev=datadir ;;
883 -datadir=* | --datadir=* | --datadi=* | --datad=*)
884 datadir=$ac_optarg ;;
885
886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887 | --dataroo | --dataro | --datar)
888 ac_prev=datarootdir ;;
889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891 datarootdir=$ac_optarg ;;
892
893 -disable-* | --disable-*)
894 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897 as_fn_error $? "invalid feature name: $ac_useropt"
898 ac_useropt_orig=$ac_useropt
899 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
901 *"
902 "enable_$ac_useropt"
903 "*) ;;
904 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
905 ac_unrecognized_sep=', ';;
906 esac
907 eval enable_$ac_useropt=no ;;
908
909 -docdir | --docdir | --docdi | --doc | --do)
910 ac_prev=docdir ;;
911 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
912 docdir=$ac_optarg ;;
913
914 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
915 ac_prev=dvidir ;;
916 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
917 dvidir=$ac_optarg ;;
918
919 -enable-* | --enable-*)
920 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923 as_fn_error $? "invalid feature name: $ac_useropt"
924 ac_useropt_orig=$ac_useropt
925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
927 *"
928 "enable_$ac_useropt"
929 "*) ;;
930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
931 ac_unrecognized_sep=', ';;
932 esac
933 eval enable_$ac_useropt=\$ac_optarg ;;
934
935 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
936 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
937 | --exec | --exe | --ex)
938 ac_prev=exec_prefix ;;
939 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
940 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
941 | --exec=* | --exe=* | --ex=*)
942 exec_prefix=$ac_optarg ;;
943
944 -gas | --gas | --ga | --g)
945 # Obsolete; use --with-gas.
946 with_gas=yes ;;
947
948 -help | --help | --hel | --he | -h)
949 ac_init_help=long ;;
950 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
951 ac_init_help=recursive ;;
952 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
953 ac_init_help=short ;;
954
955 -host | --host | --hos | --ho)
956 ac_prev=host_alias ;;
957 -host=* | --host=* | --hos=* | --ho=*)
958 host_alias=$ac_optarg ;;
959
960 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
961 ac_prev=htmldir ;;
962 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
963 | --ht=*)
964 htmldir=$ac_optarg ;;
965
966 -includedir | --includedir | --includedi | --included | --include \
967 | --includ | --inclu | --incl | --inc)
968 ac_prev=includedir ;;
969 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
970 | --includ=* | --inclu=* | --incl=* | --inc=*)
971 includedir=$ac_optarg ;;
972
973 -infodir | --infodir | --infodi | --infod | --info | --inf)
974 ac_prev=infodir ;;
975 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
976 infodir=$ac_optarg ;;
977
978 -libdir | --libdir | --libdi | --libd)
979 ac_prev=libdir ;;
980 -libdir=* | --libdir=* | --libdi=* | --libd=*)
981 libdir=$ac_optarg ;;
982
983 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
984 | --libexe | --libex | --libe)
985 ac_prev=libexecdir ;;
986 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
987 | --libexe=* | --libex=* | --libe=*)
988 libexecdir=$ac_optarg ;;
989
990 -localedir | --localedir | --localedi | --localed | --locale)
991 ac_prev=localedir ;;
992 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
993 localedir=$ac_optarg ;;
994
995 -localstatedir | --localstatedir | --localstatedi | --localstated \
996 | --localstate | --localstat | --localsta | --localst | --locals)
997 ac_prev=localstatedir ;;
998 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
999 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1000 localstatedir=$ac_optarg ;;
1001
1002 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1003 ac_prev=mandir ;;
1004 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1005 mandir=$ac_optarg ;;
1006
1007 -nfp | --nfp | --nf)
1008 # Obsolete; use --without-fp.
1009 with_fp=no ;;
1010
1011 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1012 | --no-cr | --no-c | -n)
1013 no_create=yes ;;
1014
1015 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1016 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1017 no_recursion=yes ;;
1018
1019 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1020 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1021 | --oldin | --oldi | --old | --ol | --o)
1022 ac_prev=oldincludedir ;;
1023 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1024 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1025 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1026 oldincludedir=$ac_optarg ;;
1027
1028 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1029 ac_prev=prefix ;;
1030 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1031 prefix=$ac_optarg ;;
1032
1033 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1034 | --program-pre | --program-pr | --program-p)
1035 ac_prev=program_prefix ;;
1036 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1037 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1038 program_prefix=$ac_optarg ;;
1039
1040 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1041 | --program-suf | --program-su | --program-s)
1042 ac_prev=program_suffix ;;
1043 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1044 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1045 program_suffix=$ac_optarg ;;
1046
1047 -program-transform-name | --program-transform-name \
1048 | --program-transform-nam | --program-transform-na \
1049 | --program-transform-n | --program-transform- \
1050 | --program-transform | --program-transfor \
1051 | --program-transfo | --program-transf \
1052 | --program-trans | --program-tran \
1053 | --progr-tra | --program-tr | --program-t)
1054 ac_prev=program_transform_name ;;
1055 -program-transform-name=* | --program-transform-name=* \
1056 | --program-transform-nam=* | --program-transform-na=* \
1057 | --program-transform-n=* | --program-transform-=* \
1058 | --program-transform=* | --program-transfor=* \
1059 | --program-transfo=* | --program-transf=* \
1060 | --program-trans=* | --program-tran=* \
1061 | --progr-tra=* | --program-tr=* | --program-t=*)
1062 program_transform_name=$ac_optarg ;;
1063
1064 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1065 ac_prev=pdfdir ;;
1066 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1067 pdfdir=$ac_optarg ;;
1068
1069 -psdir | --psdir | --psdi | --psd | --ps)
1070 ac_prev=psdir ;;
1071 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1072 psdir=$ac_optarg ;;
1073
1074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1075 | -silent | --silent | --silen | --sile | --sil)
1076 silent=yes ;;
1077
1078 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1079 ac_prev=sbindir ;;
1080 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1081 | --sbi=* | --sb=*)
1082 sbindir=$ac_optarg ;;
1083
1084 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1085 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1086 | --sharedst | --shareds | --shared | --share | --shar \
1087 | --sha | --sh)
1088 ac_prev=sharedstatedir ;;
1089 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1090 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1091 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1092 | --sha=* | --sh=*)
1093 sharedstatedir=$ac_optarg ;;
1094
1095 -site | --site | --sit)
1096 ac_prev=site ;;
1097 -site=* | --site=* | --sit=*)
1098 site=$ac_optarg ;;
1099
1100 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1101 ac_prev=srcdir ;;
1102 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1103 srcdir=$ac_optarg ;;
1104
1105 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1106 | --syscon | --sysco | --sysc | --sys | --sy)
1107 ac_prev=sysconfdir ;;
1108 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1109 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1110 sysconfdir=$ac_optarg ;;
1111
1112 -target | --target | --targe | --targ | --tar | --ta | --t)
1113 ac_prev=target_alias ;;
1114 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1115 target_alias=$ac_optarg ;;
1116
1117 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1118 verbose=yes ;;
1119
1120 -version | --version | --versio | --versi | --vers | -V)
1121 ac_init_version=: ;;
1122
1123 -with-* | --with-*)
1124 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1127 as_fn_error $? "invalid package name: $ac_useropt"
1128 ac_useropt_orig=$ac_useropt
1129 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1131 *"
1132 "with_$ac_useropt"
1133 "*) ;;
1134 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1135 ac_unrecognized_sep=', ';;
1136 esac
1137 eval with_$ac_useropt=\$ac_optarg ;;
1138
1139 -without-* | --without-*)
1140 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143 as_fn_error $? "invalid package name: $ac_useropt"
1144 ac_useropt_orig=$ac_useropt
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1147 *"
1148 "with_$ac_useropt"
1149 "*) ;;
1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1151 ac_unrecognized_sep=', ';;
1152 esac
1153 eval with_$ac_useropt=no ;;
1154
1155 --x)
1156 # Obsolete; use --with-x.
1157 with_x=yes ;;
1158
1159 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1160 | --x-incl | --x-inc | --x-in | --x-i)
1161 ac_prev=x_includes ;;
1162 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1163 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1164 x_includes=$ac_optarg ;;
1165
1166 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1167 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1168 ac_prev=x_libraries ;;
1169 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1170 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1171 x_libraries=$ac_optarg ;;
1172
1173 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1174 Try \`$0 --help' for more information"
1175 ;;
1176
1177 *=*)
1178 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1179 # Reject names that are not valid shell variable names.
1180 case $ac_envvar in #(
1181 '' | [0-9]* | *[!_$as_cr_alnum]* )
1182 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1183 esac
1184 eval $ac_envvar=\$ac_optarg
1185 export $ac_envvar ;;
1186
1187 *)
1188 # FIXME: should be removed in autoconf 3.0.
1189 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1191 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1193 ;;
1194
1195 esac
1196 done
1197
1198 if test -n "$ac_prev"; then
1199 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1200 as_fn_error $? "missing argument to $ac_option"
1201 fi
1202
1203 if test -n "$ac_unrecognized_opts"; then
1204 case $enable_option_checking in
1205 no) ;;
1206 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1207 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1208 esac
1209 fi
1210
1211 # Check all directory arguments for consistency.
1212 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1213 datadir sysconfdir sharedstatedir localstatedir includedir \
1214 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1215 libdir localedir mandir
1216 do
1217 eval ac_val=\$$ac_var
1218 # Remove trailing slashes.
1219 case $ac_val in
1220 */ )
1221 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222 eval $ac_var=\$ac_val;;
1223 esac
1224 # Be sure to have absolute directory names.
1225 case $ac_val in
1226 [\\/$]* | ?:[\\/]* ) continue;;
1227 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1228 esac
1229 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1230 done
1231
1232 # There might be people who depend on the old broken behavior: `$host'
1233 # used to hold the argument of --host etc.
1234 # FIXME: To remove some day.
1235 build=$build_alias
1236 host=$host_alias
1237 target=$target_alias
1238
1239 # FIXME: To remove some day.
1240 if test "x$host_alias" != x; then
1241 if test "x$build_alias" = x; then
1242 cross_compiling=maybe
1243 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1244 If a cross compiler is detected then cross compile mode will be used" >&2
1245 elif test "x$build_alias" != "x$host_alias"; then
1246 cross_compiling=yes
1247 fi
1248 fi
1249
1250 ac_tool_prefix=
1251 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1252
1253 test "$silent" = yes && exec 6>/dev/null
1254
1255
1256 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1257 ac_ls_di=`ls -di .` &&
1258 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1259 as_fn_error $? "working directory cannot be determined"
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 as_fn_error $? "pwd does not report name of working directory"
1262
1263
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir=`$as_dirname -- "$as_myself" ||
1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$as_myself" : 'X\(//\)[^/]' \| \
1271 X"$as_myself" : 'X\(//\)$' \| \
1272 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273 $as_echo X"$as_myself" |
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1275 s//\1/
1276 q
1277 }
1278 /^X\(\/\/\)[^/].*/{
1279 s//\1/
1280 q
1281 }
1282 /^X\(\/\/\)$/{
1283 s//\1/
1284 q
1285 }
1286 /^X\(\/\).*/{
1287 s//\1/
1288 q
1289 }
1290 s/.*/./; q'`
1291 srcdir=$ac_confdir
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1293 srcdir=..
1294 fi
1295 else
1296 ac_srcdir_defaulted=no
1297 fi
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1300 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1301 fi
1302 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1303 ac_abs_confdir=`(
1304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1305 pwd)`
1306 # When building in place, set srcdir=.
1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
1308 srcdir=.
1309 fi
1310 # Remove unnecessary trailing slashes from srcdir.
1311 # Double slashes in file names in object file debugging info
1312 # mess up M-x gdb in Emacs.
1313 case $srcdir in
1314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315 esac
1316 for ac_var in $ac_precious_vars; do
1317 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1318 eval ac_env_${ac_var}_value=\$${ac_var}
1319 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1320 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1321 done
1322
1323 #
1324 # Report the --help message.
1325 #
1326 if test "$ac_init_help" = "long"; then
1327 # Omit some internal or obsolete options to make the list less imposing.
1328 # This message is too long to be a string in the A/UX 3.1 sh.
1329 cat <<_ACEOF
1330 \`configure' configures MATIO 1.5.0 to adapt to many kinds of systems.
1331
1332 Usage: $0 [OPTION]... [VAR=VALUE]...
1333
1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335 VAR=VALUE. See below for descriptions of some of the useful variables.
1336
1337 Defaults for the options are specified in brackets.
1338
1339 Configuration:
1340 -h, --help display this help and exit
1341 --help=short display options specific to this package
1342 --help=recursive display the short help of all the included packages
1343 -V, --version display version information and exit
1344 -q, --quiet, --silent do not print \`checking ...' messages
1345 --cache-file=FILE cache test results in FILE [disabled]
1346 -C, --config-cache alias for \`--cache-file=config.cache'
1347 -n, --no-create do not create output files
1348 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1349
1350 Installation directories:
1351 --prefix=PREFIX install architecture-independent files in PREFIX
1352 [$ac_default_prefix]
1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1354 [PREFIX]
1355
1356 By default, \`make install' will install all the files in
1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359 for instance \`--prefix=\$HOME'.
1360
1361 For better control, use the options below.
1362
1363 Fine tuning of the installation directories:
1364 --bindir=DIR user executables [EPREFIX/bin]
1365 --sbindir=DIR system admin executables [EPREFIX/sbin]
1366 --libexecdir=DIR program executables [EPREFIX/libexec]
1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1370 --libdir=DIR object code libraries [EPREFIX/lib]
1371 --includedir=DIR C header files [PREFIX/include]
1372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1375 --infodir=DIR info documentation [DATAROOTDIR/info]
1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1377 --mandir=DIR man documentation [DATAROOTDIR/man]
1378 --docdir=DIR documentation root [DATAROOTDIR/doc/matio]
1379 --htmldir=DIR html documentation [DOCDIR]
1380 --dvidir=DIR dvi documentation [DOCDIR]
1381 --pdfdir=DIR pdf documentation [DOCDIR]
1382 --psdir=DIR ps documentation [DOCDIR]
1383 _ACEOF
1384
1385 cat <<\_ACEOF
1386
1387 Program names:
1388 --program-prefix=PREFIX prepend PREFIX to installed program names
1389 --program-suffix=SUFFIX append SUFFIX to installed program names
1390 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1391
1392 System types:
1393 --build=BUILD configure for building on BUILD [guessed]
1394 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1395 _ACEOF
1396 fi
1397
1398 if test -n "$ac_init_help"; then
1399 case $ac_init_help in
1400 short | recursive ) echo "Configuration of MATIO 1.5.0:";;
1401 esac
1402 cat <<\_ACEOF
1403
1404 Optional Features:
1405 --disable-option-checking ignore unrecognized --enable/--with options
1406 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1407 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1408 --enable-silent-rules less verbose build output (undo: `make V=1')
1409 --disable-silent-rules verbose build output (undo: `make V=0')
1410 --enable-maintainer-mode enable make rules and dependencies not useful
1411 (and sometimes confusing) to the casual installer
1412 --enable-debug=yes Turn on debugging
1413 --enable-profile=yes Turn on profile
1414 --enable-shared[=PKGS] build shared libraries [default=yes]
1415 --enable-static[=PKGS] build static libraries [default=yes]
1416 --enable-fast-install[=PKGS]
1417 optimize for fast installation [default=yes]
1418 --disable-libtool-lock avoid locking (might break parallel builds)
1419 --enable-mat73=yes Enable MAT v7.3 file support
1420 --enable-extended-sparse=yes
1421 Enable extended sparse matrix data types not
1422 supported in Matlab
1423
1424 Optional Packages:
1425 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1426 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1427 --with-libdir-suffix=suffix
1428 Suffix to apply to library directories
1429 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1430 both]
1431 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1432 --with-sysroot=DIR Search for dependent libraries within DIR
1433 (or the compiler's sysroot if not specified).
1434 --with-matlab=DIR Directory with 'matlab' program
1435 --with-zlib=DIR Prefix where zlib Library is installed
1436 --with-hdf5=DIR Prefix where HDF5 library is installed
1437 --with-default-file-ver=version
1438 Default MAT file version (4,5,7.3)
1439
1440 Some influential environment variables:
1441 FCLDFLAGS Fortran compiler-specific flags at link time
1442 LT_CFLAGS C compiler flags passed to libtool in compile mode
1443 LT_LDFLAGS Flags passed to libtool in link mode
1444 CC C compiler command
1445 CFLAGS C compiler flags
1446 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1447 nonstandard directory <lib dir>
1448 LIBS libraries to pass to the linker, e.g. -l<library>
1449 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1450 you have headers in a nonstandard directory <include dir>
1451 CPP C preprocessor
1452
1453 Use these variables to override the choices made by `configure' or to help
1454 it to find libraries and programs with nonstandard names/locations.
1455
1456 Report bugs to <[email protected]>.
1457 MATIO home page: <http://sourceforge.net/projects/matio>.
1458 _ACEOF
1459 ac_status=$?
1460 fi
1461
1462 if test "$ac_init_help" = "recursive"; then
1463 # If there are subdirs, report their specific --help.
1464 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1465 test -d "$ac_dir" ||
1466 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1467 continue
1468 ac_builddir=.
1469
1470 case "$ac_dir" in
1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472 *)
1473 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1474 # A ".." for each directory in $ac_dir_suffix.
1475 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1476 case $ac_top_builddir_sub in
1477 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1479 esac ;;
1480 esac
1481 ac_abs_top_builddir=$ac_pwd
1482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1483 # for backward compatibility:
1484 ac_top_builddir=$ac_top_build_prefix
1485
1486 case $srcdir in
1487 .) # We are building in place.
1488 ac_srcdir=.
1489 ac_top_srcdir=$ac_top_builddir_sub
1490 ac_abs_top_srcdir=$ac_pwd ;;
1491 [\\/]* | ?:[\\/]* ) # Absolute name.
1492 ac_srcdir=$srcdir$ac_dir_suffix;
1493 ac_top_srcdir=$srcdir
1494 ac_abs_top_srcdir=$srcdir ;;
1495 *) # Relative name.
1496 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1497 ac_top_srcdir=$ac_top_build_prefix$srcdir
1498 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1499 esac
1500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1501
1502 cd "$ac_dir" || { ac_status=$?; continue; }
1503 # Check for guested configure.
1504 if test -f "$ac_srcdir/configure.gnu"; then
1505 echo &&
1506 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1507 elif test -f "$ac_srcdir/configure"; then
1508 echo &&
1509 $SHELL "$ac_srcdir/configure" --help=recursive
1510 else
1511 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1512 fi || ac_status=$?
1513 cd "$ac_pwd" || { ac_status=$?; break; }
1514 done
1515 fi
1516
1517 test -n "$ac_init_help" && exit $ac_status
1518 if $ac_init_version; then
1519 cat <<\_ACEOF
1520 MATIO configure 1.5.0
1521 generated by GNU Autoconf 2.68
1522
1523 Copyright (C) 2010 Free Software Foundation, Inc.
1524 This configure script is free software; the Free Software Foundation
1525 gives unlimited permission to copy, distribute and modify it.
1526 _ACEOF
1527 exit
1528 fi
1529
1530 ## ------------------------ ##
1531 ## Autoconf initialization. ##
1532 ## ------------------------ ##
1533
1534 # ac_fn_c_try_compile LINENO
1535 # --------------------------
1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1537 ac_fn_c_try_compile ()
1538 {
1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540 rm -f conftest.$ac_objext
1541 if { { ac_try="$ac_compile"
1542 case "(($ac_try" in
1543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1545 esac
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_compile") 2>conftest.err
1549 ac_status=$?
1550 if test -s conftest.err; then
1551 grep -v '^ *+' conftest.err >conftest.er1
1552 cat conftest.er1 >&5
1553 mv -f conftest.er1 conftest.err
1554 fi
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } && {
1557 test -z "$ac_c_werror_flag" ||
1558 test ! -s conftest.err
1559 } && test -s conftest.$ac_objext; then :
1560 ac_retval=0
1561 else
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1564
1565 ac_retval=1
1566 fi
1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568 as_fn_set_status $ac_retval
1569
1570 } # ac_fn_c_try_compile
1571
1572 # ac_fn_c_try_link LINENO
1573 # -----------------------
1574 # Try to link conftest.$ac_ext, and return whether this succeeded.
1575 ac_fn_c_try_link ()
1576 {
1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578 rm -f conftest.$ac_objext conftest$ac_exeext
1579 if { { ac_try="$ac_link"
1580 case "(($ac_try" in
1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1582 *) ac_try_echo=$ac_try;;
1583 esac
1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585 $as_echo "$ac_try_echo"; } >&5
1586 (eval "$ac_link") 2>conftest.err
1587 ac_status=$?
1588 if test -s conftest.err; then
1589 grep -v '^ *+' conftest.err >conftest.er1
1590 cat conftest.er1 >&5
1591 mv -f conftest.er1 conftest.err
1592 fi
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; } && {
1595 test -z "$ac_c_werror_flag" ||
1596 test ! -s conftest.err
1597 } && test -s conftest$ac_exeext && {
1598 test "$cross_compiling" = yes ||
1599 $as_test_x conftest$ac_exeext
1600 }; then :
1601 ac_retval=0
1602 else
1603 $as_echo "$as_me: failed program was:" >&5
1604 sed 's/^/| /' conftest.$ac_ext >&5
1605
1606 ac_retval=1
1607 fi
1608 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1609 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1610 # interfere with the next link command; also delete a directory that is
1611 # left behind by Apple's compiler. We do this before executing the actions.
1612 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 as_fn_set_status $ac_retval
1615
1616 } # ac_fn_c_try_link
1617
1618 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1619 # -------------------------------------------------------
1620 # Tests whether HEADER exists and can be compiled using the include files in
1621 # INCLUDES, setting the cache variable VAR accordingly.
1622 ac_fn_c_check_header_compile ()
1623 {
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626 $as_echo_n "checking for $2... " >&6; }
1627 if eval \${$3+:} false; then :
1628 $as_echo_n "(cached) " >&6
1629 else
1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h. */
1632 $4
1633 #include <$2>
1634 _ACEOF
1635 if ac_fn_c_try_compile "$LINENO"; then :
1636 eval "$3=yes"
1637 else
1638 eval "$3=no"
1639 fi
1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1641 fi
1642 eval ac_res=\$$3
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644 $as_echo "$ac_res" >&6; }
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646
1647 } # ac_fn_c_check_header_compile
1648
1649 # ac_fn_c_try_cpp LINENO
1650 # ----------------------
1651 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1652 ac_fn_c_try_cpp ()
1653 {
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 if { { ac_try="$ac_cpp conftest.$ac_ext"
1656 case "(($ac_try" in
1657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658 *) ac_try_echo=$ac_try;;
1659 esac
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1663 ac_status=$?
1664 if test -s conftest.err; then
1665 grep -v '^ *+' conftest.err >conftest.er1
1666 cat conftest.er1 >&5
1667 mv -f conftest.er1 conftest.err
1668 fi
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } > conftest.i && {
1671 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1672 test ! -s conftest.err
1673 }; then :
1674 ac_retval=0
1675 else
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1678
1679 ac_retval=1
1680 fi
1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682 as_fn_set_status $ac_retval
1683
1684 } # ac_fn_c_try_cpp
1685
1686 # ac_fn_c_try_run LINENO
1687 # ----------------------
1688 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1689 # that executables *can* be run.
1690 ac_fn_c_try_run ()
1691 {
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 if { { ac_try="$ac_link"
1694 case "(($ac_try" in
1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1697 esac
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_link") 2>&5
1701 ac_status=$?
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1704 { { case "(($ac_try" in
1705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706 *) ac_try_echo=$ac_try;;
1707 esac
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_try") 2>&5
1711 ac_status=$?
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; }; }; then :
1714 ac_retval=0
1715 else
1716 $as_echo "$as_me: program exited with status $ac_status" >&5
1717 $as_echo "$as_me: failed program was:" >&5
1718 sed 's/^/| /' conftest.$ac_ext >&5
1719
1720 ac_retval=$ac_status
1721 fi
1722 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724 as_fn_set_status $ac_retval
1725
1726 } # ac_fn_c_try_run
1727
1728 # ac_fn_c_check_func LINENO FUNC VAR
1729 # ----------------------------------
1730 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1731 ac_fn_c_check_func ()
1732 {
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if eval \${$3+:} false; then :
1737 $as_echo_n "(cached) " >&6
1738 else
1739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740 /* end confdefs.h. */
1741 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1743 #define $2 innocuous_$2
1744
1745 /* System header to define __stub macros and hopefully few prototypes,
1746 which can conflict with char $2 (); below.
1747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1748 <limits.h> exists even on freestanding compilers. */
1749
1750 #ifdef __STDC__
1751 # include <limits.h>
1752 #else
1753 # include <assert.h>
1754 #endif
1755
1756 #undef $2
1757
1758 /* Override any GCC internal prototype to avoid an error.
1759 Use char because int might match the return type of a GCC
1760 builtin and then its argument prototype would still apply. */
1761 #ifdef __cplusplus
1762 extern "C"
1763 #endif
1764 char $2 ();
1765 /* The GNU C library defines this for functions which it implements
1766 to always fail with ENOSYS. Some functions are actually named
1767 something starting with __ and the normal name is an alias. */
1768 #if defined __stub_$2 || defined __stub___$2
1769 choke me
1770 #endif
1771
1772 int
1773 main ()
1774 {
1775 return $2 ();
1776 ;
1777 return 0;
1778 }
1779 _ACEOF
1780 if ac_fn_c_try_link "$LINENO"; then :
1781 eval "$3=yes"
1782 else
1783 eval "$3=no"
1784 fi
1785 rm -f core conftest.err conftest.$ac_objext \
1786 conftest$ac_exeext conftest.$ac_ext
1787 fi
1788 eval ac_res=\$$3
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790 $as_echo "$ac_res" >&6; }
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792
1793 } # ac_fn_c_check_func
1794
1795 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1796 # -------------------------------------------------------
1797 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1798 # the include files in INCLUDES and setting the cache variable VAR
1799 # accordingly.
1800 ac_fn_c_check_header_mongrel ()
1801 {
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 if eval \${$3+:} false; then :
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1808 fi
1809 eval ac_res=\$$3
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 else
1813 # Is the header compilable?
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1815 $as_echo_n "checking $2 usability... " >&6; }
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1818 $4
1819 #include <$2>
1820 _ACEOF
1821 if ac_fn_c_try_compile "$LINENO"; then :
1822 ac_header_compiler=yes
1823 else
1824 ac_header_compiler=no
1825 fi
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1828 $as_echo "$ac_header_compiler" >&6; }
1829
1830 # Is the header present?
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1832 $as_echo_n "checking $2 presence... " >&6; }
1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1835 #include <$2>
1836 _ACEOF
1837 if ac_fn_c_try_cpp "$LINENO"; then :
1838 ac_header_preproc=yes
1839 else
1840 ac_header_preproc=no
1841 fi
1842 rm -f conftest.err conftest.i conftest.$ac_ext
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1844 $as_echo "$ac_header_preproc" >&6; }
1845
1846 # So? What about this header?
1847 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1848 yes:no: )
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1850 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1852 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1853 ;;
1854 no:yes:* )
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1856 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1858 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1860 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1862 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1864 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1865 ( $as_echo "## ----------------------------------------------- ##
1866 ## Report this to [email protected] ##
1867 ## ----------------------------------------------- ##"
1868 ) | sed "s/^/$as_me: WARNING: /" >&2
1869 ;;
1870 esac
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1872 $as_echo_n "checking for $2... " >&6; }
1873 if eval \${$3+:} false; then :
1874 $as_echo_n "(cached) " >&6
1875 else
1876 eval "$3=\$ac_header_compiler"
1877 fi
1878 eval ac_res=\$$3
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880 $as_echo "$ac_res" >&6; }
1881 fi
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883
1884 } # ac_fn_c_check_header_mongrel
1885
1886 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1887 # --------------------------------------------
1888 # Tries to find the compile-time value of EXPR in a program that includes
1889 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1890 # computed
1891 ac_fn_c_compute_int ()
1892 {
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 if test "$cross_compiling" = yes; then
1895 # Depending upon the size, compute the lo and hi bounds.
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1898 $4
1899 int
1900 main ()
1901 {
1902 static int test_array [1 - 2 * !(($2) >= 0)];
1903 test_array [0] = 0
1904
1905 ;
1906 return 0;
1907 }
1908 _ACEOF
1909 if ac_fn_c_try_compile "$LINENO"; then :
1910 ac_lo=0 ac_mid=0
1911 while :; do
1912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913 /* end confdefs.h. */
1914 $4
1915 int
1916 main ()
1917 {
1918 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1919 test_array [0] = 0
1920
1921 ;
1922 return 0;
1923 }
1924 _ACEOF
1925 if ac_fn_c_try_compile "$LINENO"; then :
1926 ac_hi=$ac_mid; break
1927 else
1928 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1929 if test $ac_lo -le $ac_mid; then
1930 ac_lo= ac_hi=
1931 break
1932 fi
1933 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1934 fi
1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1936 done
1937 else
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1940 $4
1941 int
1942 main ()
1943 {
1944 static int test_array [1 - 2 * !(($2) < 0)];
1945 test_array [0] = 0
1946
1947 ;
1948 return 0;
1949 }
1950 _ACEOF
1951 if ac_fn_c_try_compile "$LINENO"; then :
1952 ac_hi=-1 ac_mid=-1
1953 while :; do
1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1956 $4
1957 int
1958 main ()
1959 {
1960 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1961 test_array [0] = 0
1962
1963 ;
1964 return 0;
1965 }
1966 _ACEOF
1967 if ac_fn_c_try_compile "$LINENO"; then :
1968 ac_lo=$ac_mid; break
1969 else
1970 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1971 if test $ac_mid -le $ac_hi; then
1972 ac_lo= ac_hi=
1973 break
1974 fi
1975 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1976 fi
1977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1978 done
1979 else
1980 ac_lo= ac_hi=
1981 fi
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1983 fi
1984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985 # Binary search between lo and hi bounds.
1986 while test "x$ac_lo" != "x$ac_hi"; do
1987 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
1990 $4
1991 int
1992 main ()
1993 {
1994 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1995 test_array [0] = 0
1996
1997 ;
1998 return 0;
1999 }
2000 _ACEOF
2001 if ac_fn_c_try_compile "$LINENO"; then :
2002 ac_hi=$ac_mid
2003 else
2004 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2005 fi
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 done
2008 case $ac_lo in #((
2009 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2010 '') ac_retval=1 ;;
2011 esac
2012 else
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2015 $4
2016 static long int longval () { return $2; }
2017 static unsigned long int ulongval () { return $2; }
2018 #include <stdio.h>
2019 #include <stdlib.h>
2020 int
2021 main ()
2022 {
2023
2024 FILE *f = fopen ("conftest.val", "w");
2025 if (! f)
2026 return 1;
2027 if (($2) < 0)
2028 {
2029 long int i = longval ();
2030 if (i != ($2))
2031 return 1;
2032 fprintf (f, "%ld", i);
2033 }
2034 else
2035 {
2036 unsigned long int i = ulongval ();
2037 if (i != ($2))
2038 return 1;
2039 fprintf (f, "%lu", i);
2040 }
2041 /* Do not output a trailing newline, as this causes \r\n confusion
2042 on some platforms. */
2043 return ferror (f) || fclose (f) != 0;
2044
2045 ;
2046 return 0;
2047 }
2048 _ACEOF
2049 if ac_fn_c_try_run "$LINENO"; then :
2050 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2051 else
2052 ac_retval=1
2053 fi
2054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2055 conftest.$ac_objext conftest.beam conftest.$ac_ext
2056 rm -f conftest.val
2057
2058 fi
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2060 as_fn_set_status $ac_retval
2061
2062 } # ac_fn_c_compute_int
2063 cat >config.log <<_ACEOF
2064 This file contains any messages produced by compilers while
2065 running configure, to aid debugging if configure makes a mistake.
2066
2067 It was created by MATIO $as_me 1.5.0, which was
2068 generated by GNU Autoconf 2.68. Invocation command line was
2069
2070 $ $0 $@
2071
2072 _ACEOF
2073 exec 5>>config.log
2074 {
2075 cat <<_ASUNAME
2076 ## --------- ##
2077 ## Platform. ##
2078 ## --------- ##
2079
2080 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2081 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2082 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2083 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2084 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2085
2086 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2087 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2088
2089 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2090 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2091 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2092 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2093 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2094 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2095 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2096
2097 _ASUNAME
2098
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 for as_dir in $PATH
2101 do
2102 IFS=$as_save_IFS
2103 test -z "$as_dir" && as_dir=.
2104 $as_echo "PATH: $as_dir"
2105 done
2106 IFS=$as_save_IFS
2107
2108 } >&5
2109
2110 cat >&5 <<_ACEOF
2111
2112
2113 ## ----------- ##
2114 ## Core tests. ##
2115 ## ----------- ##
2116
2117 _ACEOF
2118
2119
2120 # Keep a trace of the command line.
2121 # Strip out --no-create and --no-recursion so they do not pile up.
2122 # Strip out --silent because we don't want to record it for future runs.
2123 # Also quote any args containing shell meta-characters.
2124 # Make two passes to allow for proper duplicate-argument suppression.
2125 ac_configure_args=
2126 ac_configure_args0=
2127 ac_configure_args1=
2128 ac_must_keep_next=false
2129 for ac_pass in 1 2
2130 do
2131 for ac_arg
2132 do
2133 case $ac_arg in
2134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2136 | -silent | --silent | --silen | --sile | --sil)
2137 continue ;;
2138 *\'*)
2139 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2140 esac
2141 case $ac_pass in
2142 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2143 2)
2144 as_fn_append ac_configure_args1 " '$ac_arg'"
2145 if test $ac_must_keep_next = true; then
2146 ac_must_keep_next=false # Got value, back to normal.
2147 else
2148 case $ac_arg in
2149 *=* | --config-cache | -C | -disable-* | --disable-* \
2150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2152 | -with-* | --with-* | -without-* | --without-* | --x)
2153 case "$ac_configure_args0 " in
2154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2155 esac
2156 ;;
2157 -* ) ac_must_keep_next=true ;;
2158 esac
2159 fi
2160 as_fn_append ac_configure_args " '$ac_arg'"
2161 ;;
2162 esac
2163 done
2164 done
2165 { ac_configure_args0=; unset ac_configure_args0;}
2166 { ac_configure_args1=; unset ac_configure_args1;}
2167
2168 # When interrupted or exit'd, cleanup temporary files, and complete
2169 # config.log. We remove comments because anyway the quotes in there
2170 # would cause problems or look ugly.
2171 # WARNING: Use '\'' to represent an apostrophe within the trap.
2172 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2173 trap 'exit_status=$?
2174 # Save into config.log some information that might help in debugging.
2175 {
2176 echo
2177
2178 $as_echo "## ---------------- ##
2179 ## Cache variables. ##
2180 ## ---------------- ##"
2181 echo
2182 # The following way of writing the cache mishandles newlines in values,
2183 (
2184 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2185 eval ac_val=\$$ac_var
2186 case $ac_val in #(
2187 *${as_nl}*)
2188 case $ac_var in #(
2189 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2190 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2191 esac
2192 case $ac_var in #(
2193 _ | IFS | as_nl) ;; #(
2194 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2195 *) { eval $ac_var=; unset $ac_var;} ;;
2196 esac ;;
2197 esac
2198 done
2199 (set) 2>&1 |
2200 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2201 *${as_nl}ac_space=\ *)
2202 sed -n \
2203 "s/'\''/'\''\\\\'\'''\''/g;
2204 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2205 ;; #(
2206 *)
2207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2208 ;;
2209 esac |
2210 sort
2211 )
2212 echo
2213
2214 $as_echo "## ----------------- ##
2215 ## Output variables. ##
2216 ## ----------------- ##"
2217 echo
2218 for ac_var in $ac_subst_vars
2219 do
2220 eval ac_val=\$$ac_var
2221 case $ac_val in
2222 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2223 esac
2224 $as_echo "$ac_var='\''$ac_val'\''"
2225 done | sort
2226 echo
2227
2228 if test -n "$ac_subst_files"; then
2229 $as_echo "## ------------------- ##
2230 ## File substitutions. ##
2231 ## ------------------- ##"
2232 echo
2233 for ac_var in $ac_subst_files
2234 do
2235 eval ac_val=\$$ac_var
2236 case $ac_val in
2237 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2238 esac
2239 $as_echo "$ac_var='\''$ac_val'\''"
2240 done | sort
2241 echo
2242 fi
2243
2244 if test -s confdefs.h; then
2245 $as_echo "## ----------- ##
2246 ## confdefs.h. ##
2247 ## ----------- ##"
2248 echo
2249 cat confdefs.h
2250 echo
2251 fi
2252 test "$ac_signal" != 0 &&
2253 $as_echo "$as_me: caught signal $ac_signal"
2254 $as_echo "$as_me: exit $exit_status"
2255 } >&5
2256 rm -f core *.core core.conftest.* &&
2257 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2258 exit $exit_status
2259 ' 0
2260 for ac_signal in 1 2 13 15; do
2261 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2262 done
2263 ac_signal=0
2264
2265 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2266 rm -f -r conftest* confdefs.h
2267
2268 $as_echo "/* confdefs.h */" > confdefs.h
2269
2270 # Predefined preprocessor variables.
2271
2272 cat >>confdefs.h <<_ACEOF
2273 #define PACKAGE_NAME "$PACKAGE_NAME"
2274 _ACEOF
2275
2276 cat >>confdefs.h <<_ACEOF
2277 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2278 _ACEOF
2279
2280 cat >>confdefs.h <<_ACEOF
2281 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2282 _ACEOF
2283
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_STRING "$PACKAGE_STRING"
2286 _ACEOF
2287
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2290 _ACEOF
2291
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_URL "$PACKAGE_URL"
2294 _ACEOF
2295
2296
2297 # Let the site file select an alternate cache file if it wants to.
2298 # Prefer an explicitly selected file to automatically selected ones.
2299 ac_site_file1=NONE
2300 ac_site_file2=NONE
2301 if test -n "$CONFIG_SITE"; then
2302 # We do not want a PATH search for config.site.
2303 case $CONFIG_SITE in #((
2304 -*) ac_site_file1=./$CONFIG_SITE;;
2305 */*) ac_site_file1=$CONFIG_SITE;;
2306 *) ac_site_file1=./$CONFIG_SITE;;
2307 esac
2308 elif test "x$prefix" != xNONE; then
2309 ac_site_file1=$prefix/share/config.site
2310 ac_site_file2=$prefix/etc/config.site
2311 else
2312 ac_site_file1=$ac_default_prefix/share/config.site
2313 ac_site_file2=$ac_default_prefix/etc/config.site
2314 fi
2315 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2316 do
2317 test "x$ac_site_file" = xNONE && continue
2318 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2320 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2321 sed 's/^/| /' "$ac_site_file" >&5
2322 . "$ac_site_file" \
2323 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2325 as_fn_error $? "failed to load site script $ac_site_file
2326 See \`config.log' for more details" "$LINENO" 5; }
2327 fi
2328 done
2329
2330 if test -r "$cache_file"; then
2331 # Some versions of bash will fail to source /dev/null (special files
2332 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2333 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2335 $as_echo "$as_me: loading cache $cache_file" >&6;}
2336 case $cache_file in
2337 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2338 *) . "./$cache_file";;
2339 esac
2340 fi
2341 else
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2343 $as_echo "$as_me: creating cache $cache_file" >&6;}
2344 >$cache_file
2345 fi
2346
2347 # Check that the precious variables saved in the cache have kept the same
2348 # value.
2349 ac_cache_corrupted=false
2350 for ac_var in $ac_precious_vars; do
2351 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2352 eval ac_new_set=\$ac_env_${ac_var}_set
2353 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2354 eval ac_new_val=\$ac_env_${ac_var}_value
2355 case $ac_old_set,$ac_new_set in
2356 set,)
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2358 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2359 ac_cache_corrupted=: ;;
2360 ,set)
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2362 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2363 ac_cache_corrupted=: ;;
2364 ,);;
2365 *)
2366 if test "x$ac_old_val" != "x$ac_new_val"; then
2367 # differences in whitespace do not lead to failure.
2368 ac_old_val_w=`echo x $ac_old_val`
2369 ac_new_val_w=`echo x $ac_new_val`
2370 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2372 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2373 ac_cache_corrupted=:
2374 else
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2376 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2377 eval $ac_var=\$ac_old_val
2378 fi
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2380 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2382 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2383 fi;;
2384 esac
2385 # Pass precious variables to config.status.
2386 if test "$ac_new_set" = set; then
2387 case $ac_new_val in
2388 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2389 *) ac_arg=$ac_var=$ac_new_val ;;
2390 esac
2391 case " $ac_configure_args " in
2392 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2393 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2394 esac
2395 fi
2396 done
2397 if $ac_cache_corrupted; then
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2401 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2402 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2403 fi
2404 ## -------------------- ##
2405 ## Main body of script. ##
2406 ## -------------------- ##
2407
2408 ac_ext=c
2409 ac_cpp='$CPP $CPPFLAGS'
2410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2413
2414
2415
2416 ac_aux_dir=
2417 for ac_dir in config "$srcdir"/config; do
2418 if test -f "$ac_dir/install-sh"; then
2419 ac_aux_dir=$ac_dir
2420 ac_install_sh="$ac_aux_dir/install-sh -c"
2421 break
2422 elif test -f "$ac_dir/install.sh"; then
2423 ac_aux_dir=$ac_dir
2424 ac_install_sh="$ac_aux_dir/install.sh -c"
2425 break
2426 elif test -f "$ac_dir/shtool"; then
2427 ac_aux_dir=$ac_dir
2428 ac_install_sh="$ac_aux_dir/shtool install -c"
2429 break
2430 fi
2431 done
2432 if test -z "$ac_aux_dir"; then
2433 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2434 fi
2435
2436 # These three variables are undocumented and unsupported,
2437 # and are intended to be withdrawn in a future Autoconf release.
2438 # They can cause serious problems if a builder's source tree is in a directory
2439 # whose full name contains unusual characters.
2440 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2441 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2442 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2443
2444
2445
2446 am__api_version='1.11'
2447
2448 # Find a good install program. We prefer a C program (faster),
2449 # so one script is as good as another. But avoid the broken or
2450 # incompatible versions:
2451 # SysV /etc/install, /usr/sbin/install
2452 # SunOS /usr/etc/install
2453 # IRIX /sbin/install
2454 # AIX /bin/install
2455 # AmigaOS /C/install, which installs bootblocks on floppy discs
2456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2459 # OS/2's system install, which has a completely different semantic
2460 # ./install, which can be erroneously created by make from ./install.sh.
2461 # Reject install programs that cannot install multiple files.
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2463 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2464 if test -z "$INSTALL"; then
2465 if ${ac_cv_path_install+:} false; then :
2466 $as_echo_n "(cached) " >&6
2467 else
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 for as_dir in $PATH
2470 do
2471 IFS=$as_save_IFS
2472 test -z "$as_dir" && as_dir=.
2473 # Account for people who put trailing slashes in PATH elements.
2474 case $as_dir/ in #((
2475 ./ | .// | /[cC]/* | \
2476 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2477 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2478 /usr/ucb/* ) ;;
2479 *)
2480 # OSF1 and SCO ODT 3.0 have their own names for install.
2481 # Don't use installbsd from OSF since it installs stuff as root
2482 # by default.
2483 for ac_prog in ginstall scoinst install; do
2484 for ac_exec_ext in '' $ac_executable_extensions; do
2485 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2486 if test $ac_prog = install &&
2487 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488 # AIX install. It has an incompatible calling convention.
2489 :
2490 elif test $ac_prog = install &&
2491 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2492 # program-specific install script used by HP pwplus--don't use.
2493 :
2494 else
2495 rm -rf conftest.one conftest.two conftest.dir
2496 echo one > conftest.one
2497 echo two > conftest.two
2498 mkdir conftest.dir
2499 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2500 test -s conftest.one && test -s conftest.two &&
2501 test -s conftest.dir/conftest.one &&
2502 test -s conftest.dir/conftest.two
2503 then
2504 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2505 break 3
2506 fi
2507 fi
2508 fi
2509 done
2510 done
2511 ;;
2512 esac
2513
2514 done
2515 IFS=$as_save_IFS
2516
2517 rm -rf conftest.one conftest.two conftest.dir
2518
2519 fi
2520 if test "${ac_cv_path_install+set}" = set; then
2521 INSTALL=$ac_cv_path_install
2522 else
2523 # As a last resort, use the slow shell script. Don't cache a
2524 # value for INSTALL within a source directory, because that will
2525 # break other packages using the cache if that directory is
2526 # removed, or if the value is a relative name.
2527 INSTALL=$ac_install_sh
2528 fi
2529 fi
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2531 $as_echo "$INSTALL" >&6; }
2532
2533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2534 # It thinks the first close brace ends the variable substitution.
2535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2536
2537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2538
2539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2540
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2542 $as_echo_n "checking whether build environment is sane... " >&6; }
2543 # Just in case
2544 sleep 1
2545 echo timestamp > conftest.file
2546 # Reject unsafe characters in $srcdir or the absolute working directory
2547 # name. Accept space and tab only in the latter.
2548 am_lf='
2549 '
2550 case `pwd` in
2551 *[\\\"\#\$\&\'\`$am_lf]*)
2552 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2553 esac
2554 case $srcdir in
2555 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2556 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2557 esac
2558
2559 # Do `set' in a subshell so we don't clobber the current shell's
2560 # arguments. Must try -L first in case configure is actually a
2561 # symlink; some systems play weird games with the mod time of symlinks
2562 # (eg FreeBSD returns the mod time of the symlink's containing
2563 # directory).
2564 if (
2565 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2566 if test "$*" = "X"; then
2567 # -L didn't work.
2568 set X `ls -t "$srcdir/configure" conftest.file`
2569 fi
2570 rm -f conftest.file
2571 if test "$*" != "X $srcdir/configure conftest.file" \
2572 && test "$*" != "X conftest.file $srcdir/configure"; then
2573
2574 # If neither matched, then we have a broken ls. This can happen
2575 # if, for instance, CONFIG_SHELL is bash and it inherits a
2576 # broken ls alias from the environment. This has actually
2577 # happened. Such a system could not be considered "sane".
2578 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2579 alias in your environment" "$LINENO" 5
2580 fi
2581
2582 test "$2" = conftest.file
2583 )
2584 then
2585 # Ok.
2586 :
2587 else
2588 as_fn_error $? "newly created file is older than distributed files!
2589 Check your system clock" "$LINENO" 5
2590 fi
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2592 $as_echo "yes" >&6; }
2593 test "$program_prefix" != NONE &&
2594 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2595 # Use a double $ so make ignores it.
2596 test "$program_suffix" != NONE &&
2597 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2598 # Double any \ or $.
2599 # By default was `s,x,x', remove it if useless.
2600 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2601 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2602
2603 # expand $ac_aux_dir to an absolute path
2604 am_aux_dir=`cd $ac_aux_dir && pwd`
2605
2606 if test x"${MISSING+set}" != xset; then
2607 case $am_aux_dir in
2608 *\ * | *\ *)
2609 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2610 *)
2611 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2612 esac
2613 fi
2614 # Use eval to expand $SHELL
2615 if eval "$MISSING --run true"; then
2616 am_missing_run="$MISSING --run "
2617 else
2618 am_missing_run=
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2620 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2621 fi
2622
2623 if test x"${install_sh}" != xset; then
2624 case $am_aux_dir in
2625 *\ * | *\ *)
2626 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2627 *)
2628 install_sh="\${SHELL} $am_aux_dir/install-sh"
2629 esac
2630 fi
2631
2632 # Installed binaries are usually stripped using `strip' when the user
2633 # run `make install-strip'. However `strip' might not be the right
2634 # tool to use in cross-compilation environments, therefore Automake
2635 # will honor the `STRIP' environment variable to overrule this program.
2636 if test "$cross_compiling" != no; then
2637 if test -n "$ac_tool_prefix"; then
2638 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2639 set dummy ${ac_tool_prefix}strip; ac_word=$2
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2641 $as_echo_n "checking for $ac_word... " >&6; }
2642 if ${ac_cv_prog_STRIP+:} false; then :
2643 $as_echo_n "(cached) " >&6
2644 else
2645 if test -n "$STRIP"; then
2646 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2647 else
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 for as_dir in $PATH
2650 do
2651 IFS=$as_save_IFS
2652 test -z "$as_dir" && as_dir=.
2653 for ac_exec_ext in '' $ac_executable_extensions; do
2654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 break 2
2658 fi
2659 done
2660 done
2661 IFS=$as_save_IFS
2662
2663 fi
2664 fi
2665 STRIP=$ac_cv_prog_STRIP
2666 if test -n "$STRIP"; then
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2668 $as_echo "$STRIP" >&6; }
2669 else
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2671 $as_echo "no" >&6; }
2672 fi
2673
2674
2675 fi
2676 if test -z "$ac_cv_prog_STRIP"; then
2677 ac_ct_STRIP=$STRIP
2678 # Extract the first word of "strip", so it can be a program name with args.
2679 set dummy strip; ac_word=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2683 $as_echo_n "(cached) " >&6
2684 else
2685 if test -n "$ac_ct_STRIP"; then
2686 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2687 else
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689 for as_dir in $PATH
2690 do
2691 IFS=$as_save_IFS
2692 test -z "$as_dir" && as_dir=.
2693 for ac_exec_ext in '' $ac_executable_extensions; do
2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695 ac_cv_prog_ac_ct_STRIP="strip"
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 break 2
2698 fi
2699 done
2700 done
2701 IFS=$as_save_IFS
2702
2703 fi
2704 fi
2705 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2706 if test -n "$ac_ct_STRIP"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2708 $as_echo "$ac_ct_STRIP" >&6; }
2709 else
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2712 fi
2713
2714 if test "x$ac_ct_STRIP" = x; then
2715 STRIP=":"
2716 else
2717 case $cross_compiling:$ac_tool_warned in
2718 yes:)
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2721 ac_tool_warned=yes ;;
2722 esac
2723 STRIP=$ac_ct_STRIP
2724 fi
2725 else
2726 STRIP="$ac_cv_prog_STRIP"
2727 fi
2728
2729 fi
2730 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2731
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2733 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2734 if test -z "$MKDIR_P"; then
2735 if ${ac_cv_path_mkdir+:} false; then :
2736 $as_echo_n "(cached) " >&6
2737 else
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2740 do
2741 IFS=$as_save_IFS
2742 test -z "$as_dir" && as_dir=.
2743 for ac_prog in mkdir gmkdir; do
2744 for ac_exec_ext in '' $ac_executable_extensions; do
2745 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2746 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2747 'mkdir (GNU coreutils) '* | \
2748 'mkdir (coreutils) '* | \
2749 'mkdir (fileutils) '4.1*)
2750 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2751 break 3;;
2752 esac
2753 done
2754 done
2755 done
2756 IFS=$as_save_IFS
2757
2758 fi
2759
2760 test -d ./--version && rmdir ./--version
2761 if test "${ac_cv_path_mkdir+set}" = set; then
2762 MKDIR_P="$ac_cv_path_mkdir -p"
2763 else
2764 # As a last resort, use the slow shell script. Don't cache a
2765 # value for MKDIR_P within a source directory, because that will
2766 # break other packages using the cache if that directory is
2767 # removed, or if the value is a relative name.
2768 MKDIR_P="$ac_install_sh -d"
2769 fi
2770 fi
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2772 $as_echo "$MKDIR_P" >&6; }
2773
2774 mkdir_p="$MKDIR_P"
2775 case $mkdir_p in
2776 [\\/$]* | ?:[\\/]*) ;;
2777 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2778 esac
2779
2780 for ac_prog in gawk mawk nawk awk
2781 do
2782 # Extract the first word of "$ac_prog", so it can be a program name with args.
2783 set dummy $ac_prog; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_AWK+:} false; then :
2787 $as_echo_n "(cached) " >&6
2788 else
2789 if test -n "$AWK"; then
2790 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2791 else
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 for as_dir in $PATH
2794 do
2795 IFS=$as_save_IFS
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_AWK="$ac_prog"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 break 2
2802 fi
2803 done
2804 done
2805 IFS=$as_save_IFS
2806
2807 fi
2808 fi
2809 AWK=$ac_cv_prog_AWK
2810 if test -n "$AWK"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2812 $as_echo "$AWK" >&6; }
2813 else
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2816 fi
2817
2818
2819 test -n "$AWK" && break
2820 done
2821
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2823 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2824 set x ${MAKE-make}
2825 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2826 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2827 $as_echo_n "(cached) " >&6
2828 else
2829 cat >conftest.make <<\_ACEOF
2830 SHELL = /bin/sh
2831 all:
2832 @echo '@@@%%%=$(MAKE)=@@@%%%'
2833 _ACEOF
2834 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2835 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2836 *@@@%%%=?*=@@@%%%*)
2837 eval ac_cv_prog_make_${ac_make}_set=yes;;
2838 *)
2839 eval ac_cv_prog_make_${ac_make}_set=no;;
2840 esac
2841 rm -f conftest.make
2842 fi
2843 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2845 $as_echo "yes" >&6; }
2846 SET_MAKE=
2847 else
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2850 SET_MAKE="MAKE=${MAKE-make}"
2851 fi
2852
2853 rm -rf .tst 2>/dev/null
2854 mkdir .tst 2>/dev/null
2855 if test -d .tst; then
2856 am__leading_dot=.
2857 else
2858 am__leading_dot=_
2859 fi
2860 rmdir .tst 2>/dev/null
2861
2862 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2863 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2864 # is not polluted with repeated "-I."
2865 am__isrc=' -I$(srcdir)'
2866 # test to see if srcdir already configured
2867 if test -f $srcdir/config.status; then
2868 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2869 fi
2870 fi
2871
2872 # test whether we have cygpath
2873 if test -z "$CYGPATH_W"; then
2874 if (cygpath --version) >/dev/null 2>/dev/null; then
2875 CYGPATH_W='cygpath -w'
2876 else
2877 CYGPATH_W=echo
2878 fi
2879 fi
2880
2881
2882 # Define the identity of the package.
2883 PACKAGE='matio'
2884 VERSION='1.5.0'
2885
2886
2887 cat >>confdefs.h <<_ACEOF
2888 #define PACKAGE "$PACKAGE"
2889 _ACEOF
2890
2891
2892 cat >>confdefs.h <<_ACEOF
2893 #define VERSION "$VERSION"
2894 _ACEOF
2895
2896 # Some tools Automake needs.
2897
2898 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2899
2900
2901 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2902
2903
2904 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2905
2906
2907 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2908
2909
2910 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2911
2912 # We need awk for the "check" target. The system "awk" is bad on
2913 # some platforms.
2914 # Always define AMTAR for backward compatibility. Yes, it's still used
2915 # in the wild :-( We should find a proper way to deprecate it ...
2916 AMTAR='$${TAR-tar}'
2917
2918 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2919
2920
2921
2922
2923
2924 # Check whether --enable-silent-rules was given.
2925 if test "${enable_silent_rules+set}" = set; then :
2926 enableval=$enable_silent_rules;
2927 fi
2928
2929 case $enable_silent_rules in
2930 yes) AM_DEFAULT_VERBOSITY=0;;
2931 no) AM_DEFAULT_VERBOSITY=1;;
2932 *) AM_DEFAULT_VERBOSITY=1;;
2933 esac
2934 am_make=${MAKE-make}
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2936 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2937 if ${am_cv_make_support_nested_variables+:} false; then :
2938 $as_echo_n "(cached) " >&6
2939 else
2940 if $as_echo 'TRUE=$(BAR$(V))
2941 BAR0=false
2942 BAR1=true
2943 V=1
2944 am__doit:
2945 @$(TRUE)
2946 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2947 am_cv_make_support_nested_variables=yes
2948 else
2949 am_cv_make_support_nested_variables=no
2950 fi
2951 fi
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2953 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2954 if test $am_cv_make_support_nested_variables = yes; then
2955 AM_V='$(V)'
2956 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2957 else
2958 AM_V=$AM_DEFAULT_VERBOSITY
2959 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2960 fi
2961 AM_BACKSLASH='\'
2962
2963
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2965 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2966 # Check whether --enable-maintainer-mode was given.
2967 if test "${enable_maintainer_mode+set}" = set; then :
2968 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2969 else
2970 USE_MAINTAINER_MODE=no
2971 fi
2972
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2974 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2975 if test $USE_MAINTAINER_MODE = yes; then
2976 MAINTAINER_MODE_TRUE=
2977 MAINTAINER_MODE_FALSE='#'
2978 else
2979 MAINTAINER_MODE_TRUE='#'
2980 MAINTAINER_MODE_FALSE=
2981 fi
2982
2983 MAINT=$MAINTAINER_MODE_TRUE
2984
2985
2986
2987 # Make sure we can run config.sub.
2988 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2989 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2990
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2992 $as_echo_n "checking build system type... " >&6; }
2993 if ${ac_cv_build+:} false; then :
2994 $as_echo_n "(cached) " >&6
2995 else
2996 ac_build_alias=$build_alias
2997 test "x$ac_build_alias" = x &&
2998 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2999 test "x$ac_build_alias" = x &&
3000 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3001 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3002 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3003
3004 fi
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3006 $as_echo "$ac_cv_build" >&6; }
3007 case $ac_cv_build in
3008 *-*-*) ;;
3009 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3010 esac
3011 build=$ac_cv_build
3012 ac_save_IFS=$IFS; IFS='-'
3013 set x $ac_cv_build
3014 shift
3015 build_cpu=$1
3016 build_vendor=$2
3017 shift; shift
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3020 build_os=$*
3021 IFS=$ac_save_IFS
3022 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3023
3024
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3026 $as_echo_n "checking host system type... " >&6; }
3027 if ${ac_cv_host+:} false; then :
3028 $as_echo_n "(cached) " >&6
3029 else
3030 if test "x$host_alias" = x; then
3031 ac_cv_host=$ac_cv_build
3032 else
3033 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3034 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3035 fi
3036
3037 fi
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3039 $as_echo "$ac_cv_host" >&6; }
3040 case $ac_cv_host in
3041 *-*-*) ;;
3042 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3043 esac
3044 host=$ac_cv_host
3045 ac_save_IFS=$IFS; IFS='-'
3046 set x $ac_cv_host
3047 shift
3048 host_cpu=$1
3049 host_vendor=$2
3050 shift; shift
3051 # Remember, the first character of IFS is used to create $*,
3052 # except with old shells:
3053 host_os=$*
3054 IFS=$ac_save_IFS
3055 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3056
3057
3058
3059 cat >>confdefs.h <<_ACEOF
3060 #define MATIO_PLATFORM "${host}"
3061 _ACEOF
3062
3063
3064 cat >>confdefs.h <<_ACEOF
3065 #define MATIO_MAJOR_VERSION 1
3066 _ACEOF
3067
3068
3069 cat >>confdefs.h <<_ACEOF
3070 #define MATIO_MINOR_VERSION 5
3071 _ACEOF
3072
3073
3074 cat >>confdefs.h <<_ACEOF
3075 #define MATIO_RELEASE_LEVEL 0
3076 _ACEOF
3077
3078
3079 cat >>confdefs.h <<_ACEOF
3080 #define MATIO_VERSION 150
3081 _ACEOF
3082
3083 PACKAGE_RELEASE_DATE="15 April 2012"
3084
3085
3086
3087
3088
3089
3090 ac_ext=c
3091 ac_cpp='$CPP $CPPFLAGS'
3092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3095 if test -n "$ac_tool_prefix"; then
3096 for ac_prog in pgcc icc gcc cc
3097 do
3098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3101 $as_echo_n "checking for $ac_word... " >&6; }
3102 if ${ac_cv_prog_CC+:} false; then :
3103 $as_echo_n "(cached) " >&6
3104 else
3105 if test -n "$CC"; then
3106 ac_cv_prog_CC="$CC" # Let the user override the test.
3107 else
3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 for as_dir in $PATH
3110 do
3111 IFS=$as_save_IFS
3112 test -z "$as_dir" && as_dir=.
3113 for ac_exec_ext in '' $ac_executable_extensions; do
3114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3115 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3117 break 2
3118 fi
3119 done
3120 done
3121 IFS=$as_save_IFS
3122
3123 fi
3124 fi
3125 CC=$ac_cv_prog_CC
3126 if test -n "$CC"; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3128 $as_echo "$CC" >&6; }
3129 else
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3131 $as_echo "no" >&6; }
3132 fi
3133
3134
3135 test -n "$CC" && break
3136 done
3137 fi
3138 if test -z "$CC"; then
3139 ac_ct_CC=$CC
3140 for ac_prog in pgcc icc gcc cc
3141 do
3142 # Extract the first word of "$ac_prog", so it can be a program name with args.
3143 set dummy $ac_prog; ac_word=$2
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3145 $as_echo_n "checking for $ac_word... " >&6; }
3146 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3147 $as_echo_n "(cached) " >&6
3148 else
3149 if test -n "$ac_ct_CC"; then
3150 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3151 else
3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153 for as_dir in $PATH
3154 do
3155 IFS=$as_save_IFS
3156 test -z "$as_dir" && as_dir=.
3157 for ac_exec_ext in '' $ac_executable_extensions; do
3158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3159 ac_cv_prog_ac_ct_CC="$ac_prog"
3160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 break 2
3162 fi
3163 done
3164 done
3165 IFS=$as_save_IFS
3166
3167 fi
3168 fi
3169 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3170 if test -n "$ac_ct_CC"; then
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3172 $as_echo "$ac_ct_CC" >&6; }
3173 else
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175 $as_echo "no" >&6; }
3176 fi
3177
3178
3179 test -n "$ac_ct_CC" && break
3180 done
3181
3182 if test "x$ac_ct_CC" = x; then
3183 CC=""
3184 else
3185 case $cross_compiling:$ac_tool_warned in
3186 yes:)
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3189 ac_tool_warned=yes ;;
3190 esac
3191 CC=$ac_ct_CC
3192 fi
3193 fi
3194
3195
3196 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3198 as_fn_error $? "no acceptable C compiler found in \$PATH
3199 See \`config.log' for more details" "$LINENO" 5; }
3200
3201 # Provide some information about the compiler.
3202 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3203 set X $ac_compile
3204 ac_compiler=$2
3205 for ac_option in --version -v -V -qversion; do
3206 { { ac_try="$ac_compiler $ac_option >&5"
3207 case "(($ac_try" in
3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3209 *) ac_try_echo=$ac_try;;
3210 esac
3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3212 $as_echo "$ac_try_echo"; } >&5
3213 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3214 ac_status=$?
3215 if test -s conftest.err; then
3216 sed '10a\
3217 ... rest of stderr output deleted ...
3218 10q' conftest.err >conftest.er1
3219 cat conftest.er1 >&5
3220 fi
3221 rm -f conftest.er1 conftest.err
3222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3223 test $ac_status = 0; }
3224 done
3225
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3228
3229 int
3230 main ()
3231 {
3232
3233 ;
3234 return 0;
3235 }
3236 _ACEOF
3237 ac_clean_files_save=$ac_clean_files
3238 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3239 # Try to create an executable without -o first, disregard a.out.
3240 # It will help us diagnose broken compilers, and finding out an intuition
3241 # of exeext.
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3243 $as_echo_n "checking whether the C compiler works... " >&6; }
3244 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3245
3246 # The possible output files:
3247 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3248
3249 ac_rmfiles=
3250 for ac_file in $ac_files
3251 do
3252 case $ac_file in
3253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3254 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3255 esac
3256 done
3257 rm -f $ac_rmfiles
3258
3259 if { { ac_try="$ac_link_default"
3260 case "(($ac_try" in
3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262 *) ac_try_echo=$ac_try;;
3263 esac
3264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3265 $as_echo "$ac_try_echo"; } >&5
3266 (eval "$ac_link_default") 2>&5
3267 ac_status=$?
3268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3269 test $ac_status = 0; }; then :
3270 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3271 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3272 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3273 # so that the user can short-circuit this test for compilers unknown to
3274 # Autoconf.
3275 for ac_file in $ac_files ''
3276 do
3277 test -f "$ac_file" || continue
3278 case $ac_file in
3279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3280 ;;
3281 [ab].out )
3282 # We found the default executable, but exeext='' is most
3283 # certainly right.
3284 break;;
3285 *.* )
3286 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3287 then :; else
3288 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3289 fi
3290 # We set ac_cv_exeext here because the later test for it is not
3291 # safe: cross compilers may not add the suffix if given an `-o'
3292 # argument, so we may need to know it at that point already.
3293 # Even if this section looks crufty: it has the advantage of
3294 # actually working.
3295 break;;
3296 * )
3297 break;;
3298 esac
3299 done
3300 test "$ac_cv_exeext" = no && ac_cv_exeext=
3301
3302 else
3303 ac_file=''
3304 fi
3305 if test -z "$ac_file"; then :
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3308 $as_echo "$as_me: failed program was:" >&5
3309 sed 's/^/| /' conftest.$ac_ext >&5
3310
3311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3313 as_fn_error 77 "C compiler cannot create executables
3314 See \`config.log' for more details" "$LINENO" 5; }
3315 else
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3317 $as_echo "yes" >&6; }
3318 fi
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3320 $as_echo_n "checking for C compiler default output file name... " >&6; }
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3322 $as_echo "$ac_file" >&6; }
3323 ac_exeext=$ac_cv_exeext
3324
3325 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3326 ac_clean_files=$ac_clean_files_save
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3328 $as_echo_n "checking for suffix of executables... " >&6; }
3329 if { { ac_try="$ac_link"
3330 case "(($ac_try" in
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3333 esac
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336 (eval "$ac_link") 2>&5
3337 ac_status=$?
3338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339 test $ac_status = 0; }; then :
3340 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3341 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3342 # work properly (i.e., refer to `conftest.exe'), while it won't with
3343 # `rm'.
3344 for ac_file in conftest.exe conftest conftest.*; do
3345 test -f "$ac_file" || continue
3346 case $ac_file in
3347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3348 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3349 break;;
3350 * ) break;;
3351 esac
3352 done
3353 else
3354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3357 See \`config.log' for more details" "$LINENO" 5; }
3358 fi
3359 rm -f conftest conftest$ac_cv_exeext
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3361 $as_echo "$ac_cv_exeext" >&6; }
3362
3363 rm -f conftest.$ac_ext
3364 EXEEXT=$ac_cv_exeext
3365 ac_exeext=$EXEEXT
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3368 #include <stdio.h>
3369 int
3370 main ()
3371 {
3372 FILE *f = fopen ("conftest.out", "w");
3373 return ferror (f) || fclose (f) != 0;
3374
3375 ;
3376 return 0;
3377 }
3378 _ACEOF
3379 ac_clean_files="$ac_clean_files conftest.out"
3380 # Check that the compiler produces executables we can run. If not, either
3381 # the compiler is broken, or we cross compile.
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3383 $as_echo_n "checking whether we are cross compiling... " >&6; }
3384 if test "$cross_compiling" != yes; then
3385 { { ac_try="$ac_link"
3386 case "(($ac_try" in
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3389 esac
3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_link") 2>&5
3393 ac_status=$?
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; }
3396 if { ac_try='./conftest$ac_cv_exeext'
3397 { { case "(($ac_try" in
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3400 esac
3401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3402 $as_echo "$ac_try_echo"; } >&5
3403 (eval "$ac_try") 2>&5
3404 ac_status=$?
3405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3406 test $ac_status = 0; }; }; then
3407 cross_compiling=no
3408 else
3409 if test "$cross_compiling" = maybe; then
3410 cross_compiling=yes
3411 else
3412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3414 as_fn_error $? "cannot run C compiled programs.
3415 If you meant to cross compile, use \`--host'.
3416 See \`config.log' for more details" "$LINENO" 5; }
3417 fi
3418 fi
3419 fi
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3421 $as_echo "$cross_compiling" >&6; }
3422
3423 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3424 ac_clean_files=$ac_clean_files_save
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3426 $as_echo_n "checking for suffix of object files... " >&6; }
3427 if ${ac_cv_objext+:} false; then :
3428 $as_echo_n "(cached) " >&6
3429 else
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3432
3433 int
3434 main ()
3435 {
3436
3437 ;
3438 return 0;
3439 }
3440 _ACEOF
3441 rm -f conftest.o conftest.obj
3442 if { { ac_try="$ac_compile"
3443 case "(($ac_try" in
3444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445 *) ac_try_echo=$ac_try;;
3446 esac
3447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3448 $as_echo "$ac_try_echo"; } >&5
3449 (eval "$ac_compile") 2>&5
3450 ac_status=$?
3451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452 test $ac_status = 0; }; then :
3453 for ac_file in conftest.o conftest.obj conftest.*; do
3454 test -f "$ac_file" || continue;
3455 case $ac_file in
3456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3457 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3458 break;;
3459 esac
3460 done
3461 else
3462 $as_echo "$as_me: failed program was:" >&5
3463 sed 's/^/| /' conftest.$ac_ext >&5
3464
3465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3467 as_fn_error $? "cannot compute suffix of object files: cannot compile
3468 See \`config.log' for more details" "$LINENO" 5; }
3469 fi
3470 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3471 fi
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3473 $as_echo "$ac_cv_objext" >&6; }
3474 OBJEXT=$ac_cv_objext
3475 ac_objext=$OBJEXT
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3477 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3478 if ${ac_cv_c_compiler_gnu+:} false; then :
3479 $as_echo_n "(cached) " >&6
3480 else
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3483
3484 int
3485 main ()
3486 {
3487 #ifndef __GNUC__
3488 choke me
3489 #endif
3490
3491 ;
3492 return 0;
3493 }
3494 _ACEOF
3495 if ac_fn_c_try_compile "$LINENO"; then :
3496 ac_compiler_gnu=yes
3497 else
3498 ac_compiler_gnu=no
3499 fi
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3501 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3502
3503 fi
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3505 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3506 if test $ac_compiler_gnu = yes; then
3507 GCC=yes
3508 else
3509 GCC=
3510 fi
3511 ac_test_CFLAGS=${CFLAGS+set}
3512 ac_save_CFLAGS=$CFLAGS
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3514 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3515 if ${ac_cv_prog_cc_g+:} false; then :
3516 $as_echo_n "(cached) " >&6
3517 else
3518 ac_save_c_werror_flag=$ac_c_werror_flag
3519 ac_c_werror_flag=yes
3520 ac_cv_prog_cc_g=no
3521 CFLAGS="-g"
3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523 /* end confdefs.h. */
3524
3525 int
3526 main ()
3527 {
3528
3529 ;
3530 return 0;
3531 }
3532 _ACEOF
3533 if ac_fn_c_try_compile "$LINENO"; then :
3534 ac_cv_prog_cc_g=yes
3535 else
3536 CFLAGS=""
3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3538 /* end confdefs.h. */
3539
3540 int
3541 main ()
3542 {
3543
3544 ;
3545 return 0;
3546 }
3547 _ACEOF
3548 if ac_fn_c_try_compile "$LINENO"; then :
3549
3550 else
3551 ac_c_werror_flag=$ac_save_c_werror_flag
3552 CFLAGS="-g"
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3555
3556 int
3557 main ()
3558 {
3559
3560 ;
3561 return 0;
3562 }
3563 _ACEOF
3564 if ac_fn_c_try_compile "$LINENO"; then :
3565 ac_cv_prog_cc_g=yes
3566 fi
3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 fi
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 fi
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572 ac_c_werror_flag=$ac_save_c_werror_flag
3573 fi
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3575 $as_echo "$ac_cv_prog_cc_g" >&6; }
3576 if test "$ac_test_CFLAGS" = set; then
3577 CFLAGS=$ac_save_CFLAGS
3578 elif test $ac_cv_prog_cc_g = yes; then
3579 if test "$GCC" = yes; then
3580 CFLAGS="-g -O2"
3581 else
3582 CFLAGS="-g"
3583 fi
3584 else
3585 if test "$GCC" = yes; then
3586 CFLAGS="-O2"
3587 else
3588 CFLAGS=
3589 fi
3590 fi
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3592 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3593 if ${ac_cv_prog_cc_c89+:} false; then :
3594 $as_echo_n "(cached) " >&6
3595 else
3596 ac_cv_prog_cc_c89=no
3597 ac_save_CC=$CC
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3600 #include <stdarg.h>
3601 #include <stdio.h>
3602 #include <sys/types.h>
3603 #include <sys/stat.h>
3604 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3605 struct buf { int x; };
3606 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3607 static char *e (p, i)
3608 char **p;
3609 int i;
3610 {
3611 return p[i];
3612 }
3613 static char *f (char * (*g) (char **, int), char **p, ...)
3614 {
3615 char *s;
3616 va_list v;
3617 va_start (v,p);
3618 s = g (p, va_arg (v,int));
3619 va_end (v);
3620 return s;
3621 }
3622
3623 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3624 function prototypes and stuff, but not '\xHH' hex character constants.
3625 These don't provoke an error unfortunately, instead are silently treated
3626 as 'x'. The following induces an error, until -std is added to get
3627 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3628 array size at least. It's necessary to write '\x00'==0 to get something
3629 that's true only with -std. */
3630 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3631
3632 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3633 inside strings and character constants. */
3634 #define FOO(x) 'x'
3635 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3636
3637 int test (int i, double x);
3638 struct s1 {int (*f) (int a);};
3639 struct s2 {int (*f) (double a);};
3640 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3641 int argc;
3642 char **argv;
3643 int
3644 main ()
3645 {
3646 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3647 ;
3648 return 0;
3649 }
3650 _ACEOF
3651 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3652 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3653 do
3654 CC="$ac_save_CC $ac_arg"
3655 if ac_fn_c_try_compile "$LINENO"; then :
3656 ac_cv_prog_cc_c89=$ac_arg
3657 fi
3658 rm -f core conftest.err conftest.$ac_objext
3659 test "x$ac_cv_prog_cc_c89" != "xno" && break
3660 done
3661 rm -f conftest.$ac_ext
3662 CC=$ac_save_CC
3663
3664 fi
3665 # AC_CACHE_VAL
3666 case "x$ac_cv_prog_cc_c89" in
3667 x)
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3669 $as_echo "none needed" >&6; } ;;
3670 xno)
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3672 $as_echo "unsupported" >&6; } ;;
3673 *)
3674 CC="$CC $ac_cv_prog_cc_c89"
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3676 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3677 esac
3678 if test "x$ac_cv_prog_cc_c89" != xno; then :
3679
3680 fi
3681
3682 ac_ext=c
3683 ac_cpp='$CPP $CPPFLAGS'
3684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3687
3688
3689 # Check whether --enable-debug was given.
3690 if test "${enable_debug+set}" = set; then :
3691 enableval=$enable_debug; debug=$enableval
3692 else
3693 debug=no
3694 fi
3695
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking debug mode" >&5
3697 $as_echo_n "checking debug mode... " >&6; }
3698 if test "$debug" = "no"
3699 then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3702
3703 cat >>confdefs.h <<_ACEOF
3704 #define NODEBUG /**/
3705 _ACEOF
3706
3707 else
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3709 $as_echo "yes" >&6; }
3710
3711 cat >>confdefs.h <<_ACEOF
3712 #define DEBUG /**/
3713 _ACEOF
3714
3715 debug=yes
3716 fi
3717
3718 # Check whether --enable-profile was given.
3719 if test "${enable_profile+set}" = set; then :
3720 enableval=$enable_profile; profile=$enableval
3721 else
3722 profile=no
3723 fi
3724
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking profile mode" >&5
3726 $as_echo_n "checking profile mode... " >&6; }
3727 if test "$profile" = "no"
3728 then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3731
3732 cat >>confdefs.h <<_ACEOF
3733 #define NODEBUG /**/
3734 _ACEOF
3735
3736 else
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3738 $as_echo "yes" >&6; }
3739
3740 cat >>confdefs.h <<_ACEOF
3741 #define DEBUG /**/
3742 _ACEOF
3743
3744 profile=yes
3745 fi
3746
3747
3748
3749 # Check whether --with-libdir-suffix was given.
3750 if test "${with_libdir_suffix+set}" = set; then :
3751 withval=$with_libdir_suffix;
3752 else
3753 with_libdir_suffix=
3754 fi
3755
3756
3757
3758 acl_libdirstem="lib$with_libdir_suffix"
3759
3760 if test "$debug" = "yes"
3761 then
3762 CFLAGS="$CFLAGS $DEBUG_CFLAGS"
3763 FCFLAGS="$FCFLAGS $DEBUG_FCFLAGS"
3764 else
3765 CFLAGS="$REL_CFLAGS $CFLAGS"
3766 FCFLAGS="$REL_FCFLAGS $FCFLAGS"
3767 fi
3768
3769 if test "$profile" = "yes"
3770 then
3771 CFLAGS="$PROFILE_CFLAGS $CFLAGS"
3772 FCFLAGS="$PROFILE_FCFLAGS $FCFLAGS"
3773 fi
3774
3775 # Check whether --enable-shared was given.
3776 if test "${enable_shared+set}" = set; then :
3777 enableval=$enable_shared; p=${PACKAGE-default}
3778 case $enableval in
3779 yes) enable_shared=yes ;;
3780 no) enable_shared=no ;;
3781 *)
3782 enable_shared=no
3783 # Look at the argument we got. We use all the common list separators.
3784 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3785 for pkg in $enableval; do
3786 IFS="$lt_save_ifs"
3787 if test "X$pkg" = "X$p"; then
3788 enable_shared=yes
3789 fi
3790 done
3791 IFS="$lt_save_ifs"
3792 ;;
3793 esac
3794 else
3795 enable_shared=yes
3796 fi
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806 # Check whether --enable-static was given.
3807 if test "${enable_static+set}" = set; then :
3808 enableval=$enable_static; p=${PACKAGE-default}
3809 case $enableval in
3810 yes) enable_static=yes ;;
3811 no) enable_static=no ;;
3812 *)
3813 enable_static=no
3814 # Look at the argument we got. We use all the common list separators.
3815 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3816 for pkg in $enableval; do
3817 IFS="$lt_save_ifs"
3818 if test "X$pkg" = "X$p"; then
3819 enable_static=yes
3820 fi
3821 done
3822 IFS="$lt_save_ifs"
3823 ;;
3824 esac
3825 else
3826 enable_static=yes
3827 fi
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837 case `pwd` in
3838 *\ * | *\ *)
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3840 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3841 esac
3842
3843
3844
3845 macro_version='2.4.2'
3846 macro_revision='1.3337'
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860 ltmain="$ac_aux_dir/ltmain.sh"
3861
3862 # Backslashify metacharacters that are still active within
3863 # double-quoted strings.
3864 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3865
3866 # Same as above, but do not quote variable references.
3867 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3868
3869 # Sed substitution to delay expansion of an escaped shell variable in a
3870 # double_quote_subst'ed string.
3871 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3872
3873 # Sed substitution to delay expansion of an escaped single quote.
3874 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3875
3876 # Sed substitution to avoid accidental globbing in evaled expressions
3877 no_glob_subst='s/\*/\\\*/g'
3878
3879 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3880 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3881 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3882
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3884 $as_echo_n "checking how to print strings... " >&6; }
3885 # Test print first, because it will be a builtin if present.
3886 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3887 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3888 ECHO='print -r --'
3889 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3890 ECHO='printf %s\n'
3891 else
3892 # Use this function as a fallback that always works.
3893 func_fallback_echo ()
3894 {
3895 eval 'cat <<_LTECHO_EOF
3896 $1
3897 _LTECHO_EOF'
3898 }
3899 ECHO='func_fallback_echo'
3900 fi
3901
3902 # func_echo_all arg...
3903 # Invoke $ECHO with all args, space-separated.
3904 func_echo_all ()
3905 {
3906 $ECHO ""
3907 }
3908
3909 case "$ECHO" in
3910 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3911 $as_echo "printf" >&6; } ;;
3912 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3913 $as_echo "print -r" >&6; } ;;
3914 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3915 $as_echo "cat" >&6; } ;;
3916 esac
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3932 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3933 if ${ac_cv_path_SED+:} false; then :
3934 $as_echo_n "(cached) " >&6
3935 else
3936 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3937 for ac_i in 1 2 3 4 5 6 7; do
3938 ac_script="$ac_script$as_nl$ac_script"
3939 done
3940 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3941 { ac_script=; unset ac_script;}
3942 if test -z "$SED"; then
3943 ac_path_SED_found=false
3944 # Loop through the user's path and test for each of PROGNAME-LIST
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 for as_dir in $PATH
3947 do
3948 IFS=$as_save_IFS
3949 test -z "$as_dir" && as_dir=.
3950 for ac_prog in sed gsed; do
3951 for ac_exec_ext in '' $ac_executable_extensions; do
3952 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3953 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3954 # Check for GNU ac_path_SED and select it if it is found.
3955 # Check for GNU $ac_path_SED
3956 case `"$ac_path_SED" --version 2>&1` in
3957 *GNU*)
3958 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3959 *)
3960 ac_count=0
3961 $as_echo_n 0123456789 >"conftest.in"
3962 while :
3963 do
3964 cat "conftest.in" "conftest.in" >"conftest.tmp"
3965 mv "conftest.tmp" "conftest.in"
3966 cp "conftest.in" "conftest.nl"
3967 $as_echo '' >> "conftest.nl"
3968 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3969 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3970 as_fn_arith $ac_count + 1 && ac_count=$as_val
3971 if test $ac_count -gt ${ac_path_SED_max-0}; then
3972 # Best one so far, save it but keep looking for a better one
3973 ac_cv_path_SED="$ac_path_SED"
3974 ac_path_SED_max=$ac_count
3975 fi
3976 # 10*(2^10) chars as input seems more than enough
3977 test $ac_count -gt 10 && break
3978 done
3979 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3980 esac
3981
3982 $ac_path_SED_found && break 3
3983 done
3984 done
3985 done
3986 IFS=$as_save_IFS
3987 if test -z "$ac_cv_path_SED"; then
3988 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3989 fi
3990 else
3991 ac_cv_path_SED=$SED
3992 fi
3993
3994 fi
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3996 $as_echo "$ac_cv_path_SED" >&6; }
3997 SED="$ac_cv_path_SED"
3998 rm -f conftest.sed
3999
4000 test -z "$SED" && SED=sed
4001 Xsed="$SED -e 1s/^X//"
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4014 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4015 if ${ac_cv_path_GREP+:} false; then :
4016 $as_echo_n "(cached) " >&6
4017 else
4018 if test -z "$GREP"; then
4019 ac_path_GREP_found=false
4020 # Loop through the user's path and test for each of PROGNAME-LIST
4021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4022 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4023 do
4024 IFS=$as_save_IFS
4025 test -z "$as_dir" && as_dir=.
4026 for ac_prog in grep ggrep; do
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4029 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4030 # Check for GNU ac_path_GREP and select it if it is found.
4031 # Check for GNU $ac_path_GREP
4032 case `"$ac_path_GREP" --version 2>&1` in
4033 *GNU*)
4034 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4035 *)
4036 ac_count=0
4037 $as_echo_n 0123456789 >"conftest.in"
4038 while :
4039 do
4040 cat "conftest.in" "conftest.in" >"conftest.tmp"
4041 mv "conftest.tmp" "conftest.in"
4042 cp "conftest.in" "conftest.nl"
4043 $as_echo 'GREP' >> "conftest.nl"
4044 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4045 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4046 as_fn_arith $ac_count + 1 && ac_count=$as_val
4047 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4048 # Best one so far, save it but keep looking for a better one
4049 ac_cv_path_GREP="$ac_path_GREP"
4050 ac_path_GREP_max=$ac_count
4051 fi
4052 # 10*(2^10) chars as input seems more than enough
4053 test $ac_count -gt 10 && break
4054 done
4055 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4056 esac
4057
4058 $ac_path_GREP_found && break 3
4059 done
4060 done
4061 done
4062 IFS=$as_save_IFS
4063 if test -z "$ac_cv_path_GREP"; then
4064 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4065 fi
4066 else
4067 ac_cv_path_GREP=$GREP
4068 fi
4069
4070 fi
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4072 $as_echo "$ac_cv_path_GREP" >&6; }
4073 GREP="$ac_cv_path_GREP"
4074
4075
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4077 $as_echo_n "checking for egrep... " >&6; }
4078 if ${ac_cv_path_EGREP+:} false; then :
4079 $as_echo_n "(cached) " >&6
4080 else
4081 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4082 then ac_cv_path_EGREP="$GREP -E"
4083 else
4084 if test -z "$EGREP"; then
4085 ac_path_EGREP_found=false
4086 # Loop through the user's path and test for each of PROGNAME-LIST
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4089 do
4090 IFS=$as_save_IFS
4091 test -z "$as_dir" && as_dir=.
4092 for ac_prog in egrep; do
4093 for ac_exec_ext in '' $ac_executable_extensions; do
4094 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4095 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4096 # Check for GNU ac_path_EGREP and select it if it is found.
4097 # Check for GNU $ac_path_EGREP
4098 case `"$ac_path_EGREP" --version 2>&1` in
4099 *GNU*)
4100 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4101 *)
4102 ac_count=0
4103 $as_echo_n 0123456789 >"conftest.in"
4104 while :
4105 do
4106 cat "conftest.in" "conftest.in" >"conftest.tmp"
4107 mv "conftest.tmp" "conftest.in"
4108 cp "conftest.in" "conftest.nl"
4109 $as_echo 'EGREP' >> "conftest.nl"
4110 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4111 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4112 as_fn_arith $ac_count + 1 && ac_count=$as_val
4113 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4114 # Best one so far, save it but keep looking for a better one
4115 ac_cv_path_EGREP="$ac_path_EGREP"
4116 ac_path_EGREP_max=$ac_count
4117 fi
4118 # 10*(2^10) chars as input seems more than enough
4119 test $ac_count -gt 10 && break
4120 done
4121 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4122 esac
4123
4124 $ac_path_EGREP_found && break 3
4125 done
4126 done
4127 done
4128 IFS=$as_save_IFS
4129 if test -z "$ac_cv_path_EGREP"; then
4130 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4131 fi
4132 else
4133 ac_cv_path_EGREP=$EGREP
4134 fi
4135
4136 fi
4137 fi
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4139 $as_echo "$ac_cv_path_EGREP" >&6; }
4140 EGREP="$ac_cv_path_EGREP"
4141
4142
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4144 $as_echo_n "checking for fgrep... " >&6; }
4145 if ${ac_cv_path_FGREP+:} false; then :
4146 $as_echo_n "(cached) " >&6
4147 else
4148 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4149 then ac_cv_path_FGREP="$GREP -F"
4150 else
4151 if test -z "$FGREP"; then
4152 ac_path_FGREP_found=false
4153 # Loop through the user's path and test for each of PROGNAME-LIST
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4155 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4156 do
4157 IFS=$as_save_IFS
4158 test -z "$as_dir" && as_dir=.
4159 for ac_prog in fgrep; do
4160 for ac_exec_ext in '' $ac_executable_extensions; do
4161 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4162 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4163 # Check for GNU ac_path_FGREP and select it if it is found.
4164 # Check for GNU $ac_path_FGREP
4165 case `"$ac_path_FGREP" --version 2>&1` in
4166 *GNU*)
4167 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4168 *)
4169 ac_count=0
4170 $as_echo_n 0123456789 >"conftest.in"
4171 while :
4172 do
4173 cat "conftest.in" "conftest.in" >"conftest.tmp"
4174 mv "conftest.tmp" "conftest.in"
4175 cp "conftest.in" "conftest.nl"
4176 $as_echo 'FGREP' >> "conftest.nl"
4177 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4178 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4179 as_fn_arith $ac_count + 1 && ac_count=$as_val
4180 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4181 # Best one so far, save it but keep looking for a better one
4182 ac_cv_path_FGREP="$ac_path_FGREP"
4183 ac_path_FGREP_max=$ac_count
4184 fi
4185 # 10*(2^10) chars as input seems more than enough
4186 test $ac_count -gt 10 && break
4187 done
4188 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4189 esac
4190
4191 $ac_path_FGREP_found && break 3
4192 done
4193 done
4194 done
4195 IFS=$as_save_IFS
4196 if test -z "$ac_cv_path_FGREP"; then
4197 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4198 fi
4199 else
4200 ac_cv_path_FGREP=$FGREP
4201 fi
4202
4203 fi
4204 fi
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4206 $as_echo "$ac_cv_path_FGREP" >&6; }
4207 FGREP="$ac_cv_path_FGREP"
4208
4209
4210 test -z "$GREP" && GREP=grep
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230 # Check whether --with-gnu-ld was given.
4231 if test "${with_gnu_ld+set}" = set; then :
4232 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4233 else
4234 with_gnu_ld=no
4235 fi
4236
4237 ac_prog=ld
4238 if test "$GCC" = yes; then
4239 # Check if gcc -print-prog-name=ld gives a path.
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4241 $as_echo_n "checking for ld used by $CC... " >&6; }
4242 case $host in
4243 *-*-mingw*)
4244 # gcc leaves a trailing carriage return which upsets mingw
4245 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4246 *)
4247 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4248 esac
4249 case $ac_prog in
4250 # Accept absolute paths.
4251 [\\/]* | ?:[\\/]*)
4252 re_direlt='/[^/][^/]*/\.\./'
4253 # Canonicalize the pathname of ld
4254 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4255 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4256 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4257 done
4258 test -z "$LD" && LD="$ac_prog"
4259 ;;
4260 "")
4261 # If it fails, then pretend we aren't using GCC.
4262 ac_prog=ld
4263 ;;
4264 *)
4265 # If it is relative, then search for the first ld in PATH.
4266 with_gnu_ld=unknown
4267 ;;
4268 esac
4269 elif test "$with_gnu_ld" = yes; then
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4271 $as_echo_n "checking for GNU ld... " >&6; }
4272 else
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4274 $as_echo_n "checking for non-GNU ld... " >&6; }
4275 fi
4276 if ${lt_cv_path_LD+:} false; then :
4277 $as_echo_n "(cached) " >&6
4278 else
4279 if test -z "$LD"; then
4280 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4281 for ac_dir in $PATH; do
4282 IFS="$lt_save_ifs"
4283 test -z "$ac_dir" && ac_dir=.
4284 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4285 lt_cv_path_LD="$ac_dir/$ac_prog"
4286 # Check to see if the program is GNU ld. I'd rather use --version,
4287 # but apparently some variants of GNU ld only accept -v.
4288 # Break only if it was the GNU/non-GNU ld that we prefer.
4289 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4290 *GNU* | *'with BFD'*)
4291 test "$with_gnu_ld" != no && break
4292 ;;
4293 *)
4294 test "$with_gnu_ld" != yes && break
4295 ;;
4296 esac
4297 fi
4298 done
4299 IFS="$lt_save_ifs"
4300 else
4301 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4302 fi
4303 fi
4304
4305 LD="$lt_cv_path_LD"
4306 if test -n "$LD"; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4308 $as_echo "$LD" >&6; }
4309 else
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311 $as_echo "no" >&6; }
4312 fi
4313 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4315 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4316 if ${lt_cv_prog_gnu_ld+:} false; then :
4317 $as_echo_n "(cached) " >&6
4318 else
4319 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4320 case `$LD -v 2>&1 </dev/null` in
4321 *GNU* | *'with BFD'*)
4322 lt_cv_prog_gnu_ld=yes
4323 ;;
4324 *)
4325 lt_cv_prog_gnu_ld=no
4326 ;;
4327 esac
4328 fi
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4330 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4331 with_gnu_ld=$lt_cv_prog_gnu_ld
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4342 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4343 if ${lt_cv_path_NM+:} false; then :
4344 $as_echo_n "(cached) " >&6
4345 else
4346 if test -n "$NM"; then
4347 # Let the user override the test.
4348 lt_cv_path_NM="$NM"
4349 else
4350 lt_nm_to_check="${ac_tool_prefix}nm"
4351 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4352 lt_nm_to_check="$lt_nm_to_check nm"
4353 fi
4354 for lt_tmp_nm in $lt_nm_to_check; do
4355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4356 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4357 IFS="$lt_save_ifs"
4358 test -z "$ac_dir" && ac_dir=.
4359 tmp_nm="$ac_dir/$lt_tmp_nm"
4360 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4361 # Check to see if the nm accepts a BSD-compat flag.
4362 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4363 # nm: unknown option "B" ignored
4364 # Tru64's nm complains that /dev/null is an invalid object file
4365 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4366 */dev/null* | *'Invalid file or object type'*)
4367 lt_cv_path_NM="$tmp_nm -B"
4368 break
4369 ;;
4370 *)
4371 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4372 */dev/null*)
4373 lt_cv_path_NM="$tmp_nm -p"
4374 break
4375 ;;
4376 *)
4377 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4378 continue # so that we can try to find one that supports BSD flags
4379 ;;
4380 esac
4381 ;;
4382 esac
4383 fi
4384 done
4385 IFS="$lt_save_ifs"
4386 done
4387 : ${lt_cv_path_NM=no}
4388 fi
4389 fi
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4391 $as_echo "$lt_cv_path_NM" >&6; }
4392 if test "$lt_cv_path_NM" != "no"; then
4393 NM="$lt_cv_path_NM"
4394 else
4395 # Didn't find any BSD compatible name lister, look for dumpbin.
4396 if test -n "$DUMPBIN"; then :
4397 # Let the user override the test.
4398 else
4399 if test -n "$ac_tool_prefix"; then
4400 for ac_prog in dumpbin "link -dump"
4401 do
4402 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4403 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405 $as_echo_n "checking for $ac_word... " >&6; }
4406 if ${ac_cv_prog_DUMPBIN+:} false; then :
4407 $as_echo_n "(cached) " >&6
4408 else
4409 if test -n "$DUMPBIN"; then
4410 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4411 else
4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 for as_dir in $PATH
4414 do
4415 IFS=$as_save_IFS
4416 test -z "$as_dir" && as_dir=.
4417 for ac_exec_ext in '' $ac_executable_extensions; do
4418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4419 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421 break 2
4422 fi
4423 done
4424 done
4425 IFS=$as_save_IFS
4426
4427 fi
4428 fi
4429 DUMPBIN=$ac_cv_prog_DUMPBIN
4430 if test -n "$DUMPBIN"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4432 $as_echo "$DUMPBIN" >&6; }
4433 else
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4436 fi
4437
4438
4439 test -n "$DUMPBIN" && break
4440 done
4441 fi
4442 if test -z "$DUMPBIN"; then
4443 ac_ct_DUMPBIN=$DUMPBIN
4444 for ac_prog in dumpbin "link -dump"
4445 do
4446 # Extract the first word of "$ac_prog", so it can be a program name with args.
4447 set dummy $ac_prog; ac_word=$2
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449 $as_echo_n "checking for $ac_word... " >&6; }
4450 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4451 $as_echo_n "(cached) " >&6
4452 else
4453 if test -n "$ac_ct_DUMPBIN"; then
4454 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4455 else
4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 for as_dir in $PATH
4458 do
4459 IFS=$as_save_IFS
4460 test -z "$as_dir" && as_dir=.
4461 for ac_exec_ext in '' $ac_executable_extensions; do
4462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4463 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 break 2
4466 fi
4467 done
4468 done
4469 IFS=$as_save_IFS
4470
4471 fi
4472 fi
4473 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4474 if test -n "$ac_ct_DUMPBIN"; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4476 $as_echo "$ac_ct_DUMPBIN" >&6; }
4477 else
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 $as_echo "no" >&6; }
4480 fi
4481
4482
4483 test -n "$ac_ct_DUMPBIN" && break
4484 done
4485
4486 if test "x$ac_ct_DUMPBIN" = x; then
4487 DUMPBIN=":"
4488 else
4489 case $cross_compiling:$ac_tool_warned in
4490 yes:)
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4493 ac_tool_warned=yes ;;
4494 esac
4495 DUMPBIN=$ac_ct_DUMPBIN
4496 fi
4497 fi
4498
4499 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4500 *COFF*)
4501 DUMPBIN="$DUMPBIN -symbols"
4502 ;;
4503 *)
4504 DUMPBIN=:
4505 ;;
4506 esac
4507 fi
4508
4509 if test "$DUMPBIN" != ":"; then
4510 NM="$DUMPBIN"
4511 fi
4512 fi
4513 test -z "$NM" && NM=nm
4514
4515
4516
4517
4518
4519
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4521 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4522 if ${lt_cv_nm_interface+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 lt_cv_nm_interface="BSD nm"
4526 echo "int some_variable = 0;" > conftest.$ac_ext
4527 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4528 (eval "$ac_compile" 2>conftest.err)
4529 cat conftest.err >&5
4530 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4531 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4532 cat conftest.err >&5
4533 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4534 cat conftest.out >&5
4535 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4536 lt_cv_nm_interface="MS dumpbin"
4537 fi
4538 rm -f conftest*
4539 fi
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4541 $as_echo "$lt_cv_nm_interface" >&6; }
4542
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4544 $as_echo_n "checking whether ln -s works... " >&6; }
4545 LN_S=$as_ln_s
4546 if test "$LN_S" = "ln -s"; then
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4548 $as_echo "yes" >&6; }
4549 else
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4551 $as_echo "no, using $LN_S" >&6; }
4552 fi
4553
4554 # find the maximum length of command line arguments
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4556 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4557 if ${lt_cv_sys_max_cmd_len+:} false; then :
4558 $as_echo_n "(cached) " >&6
4559 else
4560 i=0
4561 teststring="ABCD"
4562
4563 case $build_os in
4564 msdosdjgpp*)
4565 # On DJGPP, this test can blow up pretty badly due to problems in libc
4566 # (any single argument exceeding 2000 bytes causes a buffer overrun
4567 # during glob expansion). Even if it were fixed, the result of this
4568 # check would be larger than it should be.
4569 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4570 ;;
4571
4572 gnu*)
4573 # Under GNU Hurd, this test is not required because there is
4574 # no limit to the length of command line arguments.
4575 # Libtool will interpret -1 as no limit whatsoever
4576 lt_cv_sys_max_cmd_len=-1;
4577 ;;
4578
4579 cygwin* | mingw* | cegcc*)
4580 # On Win9x/ME, this test blows up -- it succeeds, but takes
4581 # about 5 minutes as the teststring grows exponentially.
4582 # Worse, since 9x/ME are not pre-emptively multitasking,
4583 # you end up with a "frozen" computer, even though with patience
4584 # the test eventually succeeds (with a max line length of 256k).
4585 # Instead, let's just punt: use the minimum linelength reported by
4586 # all of the supported platforms: 8192 (on NT/2K/XP).
4587 lt_cv_sys_max_cmd_len=8192;
4588 ;;
4589
4590 mint*)
4591 # On MiNT this can take a long time and run out of memory.
4592 lt_cv_sys_max_cmd_len=8192;
4593 ;;
4594
4595 amigaos*)
4596 # On AmigaOS with pdksh, this test takes hours, literally.
4597 # So we just punt and use a minimum line length of 8192.
4598 lt_cv_sys_max_cmd_len=8192;
4599 ;;
4600
4601 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4602 # This has been around since 386BSD, at least. Likely further.
4603 if test -x /sbin/sysctl; then
4604 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4605 elif test -x /usr/sbin/sysctl; then
4606 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4607 else
4608 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4609 fi
4610 # And add a safety zone
4611 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4612 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4613 ;;
4614
4615 interix*)
4616 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4617 lt_cv_sys_max_cmd_len=196608
4618 ;;
4619
4620 os2*)
4621 # The test takes a long time on OS/2.
4622 lt_cv_sys_max_cmd_len=8192
4623 ;;
4624
4625 osf*)
4626 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4627 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4628 # nice to cause kernel panics so lets avoid the loop below.
4629 # First set a reasonable default.
4630 lt_cv_sys_max_cmd_len=16384
4631 #
4632 if test -x /sbin/sysconfig; then
4633 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4634 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4635 esac
4636 fi
4637 ;;
4638 sco3.2v5*)
4639 lt_cv_sys_max_cmd_len=102400
4640 ;;
4641 sysv5* | sco5v6* | sysv4.2uw2*)
4642 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4643 if test -n "$kargmax"; then
4644 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4645 else
4646 lt_cv_sys_max_cmd_len=32768
4647 fi
4648 ;;
4649 *)
4650 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4651 if test -n "$lt_cv_sys_max_cmd_len"; then
4652 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4653 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4654 else
4655 # Make teststring a little bigger before we do anything with it.
4656 # a 1K string should be a reasonable start.
4657 for i in 1 2 3 4 5 6 7 8 ; do
4658 teststring=$teststring$teststring
4659 done
4660 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4661 # If test is not a shell built-in, we'll probably end up computing a
4662 # maximum length that is only half of the actual maximum length, but
4663 # we can't tell.
4664 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4665 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4666 test $i != 17 # 1/2 MB should be enough
4667 do
4668 i=`expr $i + 1`
4669 teststring=$teststring$teststring
4670 done
4671 # Only check the string length outside the loop.
4672 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4673 teststring=
4674 # Add a significant safety factor because C++ compilers can tack on
4675 # massive amounts of additional arguments before passing them to the
4676 # linker. It appears as though 1/2 is a usable value.
4677 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4678 fi
4679 ;;
4680 esac
4681
4682 fi
4683
4684 if test -n $lt_cv_sys_max_cmd_len ; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4686 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4687 else
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4689 $as_echo "none" >&6; }
4690 fi
4691 max_cmd_len=$lt_cv_sys_max_cmd_len
4692
4693
4694
4695
4696
4697
4698 : ${CP="cp -f"}
4699 : ${MV="mv -f"}
4700 : ${RM="rm -f"}
4701
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4703 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4704 # Try some XSI features
4705 xsi_shell=no
4706 ( _lt_dummy="a/b/c"
4707 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4708 = c,a/b,b/c, \
4709 && eval 'test $(( 1 + 1 )) -eq 2 \
4710 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4711 && xsi_shell=yes
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4713 $as_echo "$xsi_shell" >&6; }
4714
4715
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4717 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4718 lt_shell_append=no
4719 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4720 >/dev/null 2>&1 \
4721 && lt_shell_append=yes
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4723 $as_echo "$lt_shell_append" >&6; }
4724
4725
4726 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4727 lt_unset=unset
4728 else
4729 lt_unset=false
4730 fi
4731
4732
4733
4734
4735
4736 # test EBCDIC or ASCII
4737 case `echo X|tr X '\101'` in
4738 A) # ASCII based system
4739 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4740 lt_SP2NL='tr \040 \012'
4741 lt_NL2SP='tr \015\012 \040\040'
4742 ;;
4743 *) # EBCDIC based system
4744 lt_SP2NL='tr \100 \n'
4745 lt_NL2SP='tr \r\n \100\100'
4746 ;;
4747 esac
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4758 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4759 if ${lt_cv_to_host_file_cmd+:} false; then :
4760 $as_echo_n "(cached) " >&6
4761 else
4762 case $host in
4763 *-*-mingw* )
4764 case $build in
4765 *-*-mingw* ) # actually msys
4766 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4767 ;;
4768 *-*-cygwin* )
4769 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4770 ;;
4771 * ) # otherwise, assume *nix
4772 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4773 ;;
4774 esac
4775 ;;
4776 *-*-cygwin* )
4777 case $build in
4778 *-*-mingw* ) # actually msys
4779 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4780 ;;
4781 *-*-cygwin* )
4782 lt_cv_to_host_file_cmd=func_convert_file_noop
4783 ;;
4784 * ) # otherwise, assume *nix
4785 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4786 ;;
4787 esac
4788 ;;
4789 * ) # unhandled hosts (and "normal" native builds)
4790 lt_cv_to_host_file_cmd=func_convert_file_noop
4791 ;;
4792 esac
4793
4794 fi
4795
4796 to_host_file_cmd=$lt_cv_to_host_file_cmd
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4798 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4799
4800
4801
4802
4803
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4805 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4806 if ${lt_cv_to_tool_file_cmd+:} false; then :
4807 $as_echo_n "(cached) " >&6
4808 else
4809 #assume ordinary cross tools, or native build.
4810 lt_cv_to_tool_file_cmd=func_convert_file_noop
4811 case $host in
4812 *-*-mingw* )
4813 case $build in
4814 *-*-mingw* ) # actually msys
4815 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4816 ;;
4817 esac
4818 ;;
4819 esac
4820
4821 fi
4822
4823 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4825 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4826
4827
4828
4829
4830
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4832 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4833 if ${lt_cv_ld_reload_flag+:} false; then :
4834 $as_echo_n "(cached) " >&6
4835 else
4836 lt_cv_ld_reload_flag='-r'
4837 fi
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4839 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4840 reload_flag=$lt_cv_ld_reload_flag
4841 case $reload_flag in
4842 "" | " "*) ;;
4843 *) reload_flag=" $reload_flag" ;;
4844 esac
4845 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4846 case $host_os in
4847 cygwin* | mingw* | pw32* | cegcc*)
4848 if test "$GCC" != yes; then
4849 reload_cmds=false
4850 fi
4851 ;;
4852 darwin*)
4853 if test "$GCC" = yes; then
4854 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4855 else
4856 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4857 fi
4858 ;;
4859 esac
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869 if test -n "$ac_tool_prefix"; then
4870 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4871 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if ${ac_cv_prog_OBJDUMP+:} false; then :
4875 $as_echo_n "(cached) " >&6
4876 else
4877 if test -n "$OBJDUMP"; then
4878 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4879 else
4880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881 for as_dir in $PATH
4882 do
4883 IFS=$as_save_IFS
4884 test -z "$as_dir" && as_dir=.
4885 for ac_exec_ext in '' $ac_executable_extensions; do
4886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4887 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 break 2
4890 fi
4891 done
4892 done
4893 IFS=$as_save_IFS
4894
4895 fi
4896 fi
4897 OBJDUMP=$ac_cv_prog_OBJDUMP
4898 if test -n "$OBJDUMP"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4900 $as_echo "$OBJDUMP" >&6; }
4901 else
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4904 fi
4905
4906
4907 fi
4908 if test -z "$ac_cv_prog_OBJDUMP"; then
4909 ac_ct_OBJDUMP=$OBJDUMP
4910 # Extract the first word of "objdump", so it can be a program name with args.
4911 set dummy objdump; ac_word=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4915 $as_echo_n "(cached) " >&6
4916 else
4917 if test -n "$ac_ct_OBJDUMP"; then
4918 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4919 else
4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921 for as_dir in $PATH
4922 do
4923 IFS=$as_save_IFS
4924 test -z "$as_dir" && as_dir=.
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4927 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 break 2
4930 fi
4931 done
4932 done
4933 IFS=$as_save_IFS
4934
4935 fi
4936 fi
4937 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4938 if test -n "$ac_ct_OBJDUMP"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4940 $as_echo "$ac_ct_OBJDUMP" >&6; }
4941 else
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4944 fi
4945
4946 if test "x$ac_ct_OBJDUMP" = x; then
4947 OBJDUMP="false"
4948 else
4949 case $cross_compiling:$ac_tool_warned in
4950 yes:)
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4953 ac_tool_warned=yes ;;
4954 esac
4955 OBJDUMP=$ac_ct_OBJDUMP
4956 fi
4957 else
4958 OBJDUMP="$ac_cv_prog_OBJDUMP"
4959 fi
4960
4961 test -z "$OBJDUMP" && OBJDUMP=objdump
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4972 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4973 if ${lt_cv_deplibs_check_method+:} false; then :
4974 $as_echo_n "(cached) " >&6
4975 else
4976 lt_cv_file_magic_cmd='$MAGIC_CMD'
4977 lt_cv_file_magic_test_file=
4978 lt_cv_deplibs_check_method='unknown'
4979 # Need to set the preceding variable on all platforms that support
4980 # interlibrary dependencies.
4981 # 'none' -- dependencies not supported.
4982 # `unknown' -- same as none, but documents that we really don't know.
4983 # 'pass_all' -- all dependencies passed with no checks.
4984 # 'test_compile' -- check by making test program.
4985 # 'file_magic [[regex]]' -- check by looking for files in library path
4986 # which responds to the $file_magic_cmd with a given extended regex.
4987 # If you have `file' or equivalent on your system and you're not sure
4988 # whether `pass_all' will *always* work, you probably want this one.
4989
4990 case $host_os in
4991 aix[4-9]*)
4992 lt_cv_deplibs_check_method=pass_all
4993 ;;
4994
4995 beos*)
4996 lt_cv_deplibs_check_method=pass_all
4997 ;;
4998
4999 bsdi[45]*)
5000 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5001 lt_cv_file_magic_cmd='/usr/bin/file -L'
5002 lt_cv_file_magic_test_file=/shlib/libc.so
5003 ;;
5004
5005 cygwin*)
5006 # func_win32_libid is a shell function defined in ltmain.sh
5007 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5008 lt_cv_file_magic_cmd='func_win32_libid'
5009 ;;
5010
5011 mingw* | pw32*)
5012 # Base MSYS/MinGW do not provide the 'file' command needed by
5013 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5014 # unless we find 'file', for example because we are cross-compiling.
5015 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5016 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5017 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5018 lt_cv_file_magic_cmd='func_win32_libid'
5019 else
5020 # Keep this pattern in sync with the one in func_win32_libid.
5021 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5022 lt_cv_file_magic_cmd='$OBJDUMP -f'
5023 fi
5024 ;;
5025
5026 cegcc*)
5027 # use the weaker test based on 'objdump'. See mingw*.
5028 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5029 lt_cv_file_magic_cmd='$OBJDUMP -f'
5030 ;;
5031
5032 darwin* | rhapsody*)
5033 lt_cv_deplibs_check_method=pass_all
5034 ;;
5035
5036 freebsd* | dragonfly*)
5037 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5038 case $host_cpu in
5039 i*86 )
5040 # Not sure whether the presence of OpenBSD here was a mistake.
5041 # Let's accept both of them until this is cleared up.
5042 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5043 lt_cv_file_magic_cmd=/usr/bin/file
5044 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5045 ;;
5046 esac
5047 else
5048 lt_cv_deplibs_check_method=pass_all
5049 fi
5050 ;;
5051
5052 gnu*)
5053 lt_cv_deplibs_check_method=pass_all
5054 ;;
5055
5056 haiku*)
5057 lt_cv_deplibs_check_method=pass_all
5058 ;;
5059
5060 hpux10.20* | hpux11*)
5061 lt_cv_file_magic_cmd=/usr/bin/file
5062 case $host_cpu in
5063 ia64*)
5064 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5065 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5066 ;;
5067 hppa*64*)
5068 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5069 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5070 ;;
5071 *)
5072 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5073 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5074 ;;
5075 esac
5076 ;;
5077
5078 interix[3-9]*)
5079 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5080 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5081 ;;
5082
5083 irix5* | irix6* | nonstopux*)
5084 case $LD in
5085 *-32|*"-32 ") libmagic=32-bit;;
5086 *-n32|*"-n32 ") libmagic=N32;;
5087 *-64|*"-64 ") libmagic=64-bit;;
5088 *) libmagic=never-match;;
5089 esac
5090 lt_cv_deplibs_check_method=pass_all
5091 ;;
5092
5093 # This must be glibc/ELF.
5094 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5095 lt_cv_deplibs_check_method=pass_all
5096 ;;
5097
5098 netbsd*)
5099 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5100 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5101 else
5102 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5103 fi
5104 ;;
5105
5106 newos6*)
5107 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5108 lt_cv_file_magic_cmd=/usr/bin/file
5109 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5110 ;;
5111
5112 *nto* | *qnx*)
5113 lt_cv_deplibs_check_method=pass_all
5114 ;;
5115
5116 openbsd*)
5117 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5118 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5119 else
5120 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5121 fi
5122 ;;
5123
5124 osf3* | osf4* | osf5*)
5125 lt_cv_deplibs_check_method=pass_all
5126 ;;
5127
5128 rdos*)
5129 lt_cv_deplibs_check_method=pass_all
5130 ;;
5131
5132 solaris*)
5133 lt_cv_deplibs_check_method=pass_all
5134 ;;
5135
5136 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5137 lt_cv_deplibs_check_method=pass_all
5138 ;;
5139
5140 sysv4 | sysv4.3*)
5141 case $host_vendor in
5142 motorola)
5143 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]'
5144 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5145 ;;
5146 ncr)
5147 lt_cv_deplibs_check_method=pass_all
5148 ;;
5149 sequent)
5150 lt_cv_file_magic_cmd='/bin/file'
5151 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5152 ;;
5153 sni)
5154 lt_cv_file_magic_cmd='/bin/file'
5155 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5156 lt_cv_file_magic_test_file=/lib/libc.so
5157 ;;
5158 siemens)
5159 lt_cv_deplibs_check_method=pass_all
5160 ;;
5161 pc)
5162 lt_cv_deplibs_check_method=pass_all
5163 ;;
5164 esac
5165 ;;
5166
5167 tpf*)
5168 lt_cv_deplibs_check_method=pass_all
5169 ;;
5170 esac
5171
5172 fi
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5174 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5175
5176 file_magic_glob=
5177 want_nocaseglob=no
5178 if test "$build" = "$host"; then
5179 case $host_os in
5180 mingw* | pw32*)
5181 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5182 want_nocaseglob=yes
5183 else
5184 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5185 fi
5186 ;;
5187 esac
5188 fi
5189
5190 file_magic_cmd=$lt_cv_file_magic_cmd
5191 deplibs_check_method=$lt_cv_deplibs_check_method
5192 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215 if test -n "$ac_tool_prefix"; then
5216 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5217 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219 $as_echo_n "checking for $ac_word... " >&6; }
5220 if ${ac_cv_prog_DLLTOOL+:} false; then :
5221 $as_echo_n "(cached) " >&6
5222 else
5223 if test -n "$DLLTOOL"; then
5224 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5225 else
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227 for as_dir in $PATH
5228 do
5229 IFS=$as_save_IFS
5230 test -z "$as_dir" && as_dir=.
5231 for ac_exec_ext in '' $ac_executable_extensions; do
5232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5233 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 break 2
5236 fi
5237 done
5238 done
5239 IFS=$as_save_IFS
5240
5241 fi
5242 fi
5243 DLLTOOL=$ac_cv_prog_DLLTOOL
5244 if test -n "$DLLTOOL"; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5246 $as_echo "$DLLTOOL" >&6; }
5247 else
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5250 fi
5251
5252
5253 fi
5254 if test -z "$ac_cv_prog_DLLTOOL"; then
5255 ac_ct_DLLTOOL=$DLLTOOL
5256 # Extract the first word of "dlltool", so it can be a program name with args.
5257 set dummy dlltool; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5261 $as_echo_n "(cached) " >&6
5262 else
5263 if test -n "$ac_ct_DLLTOOL"; then
5264 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5265 else
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $PATH
5268 do
5269 IFS=$as_save_IFS
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5273 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 break 2
5276 fi
5277 done
5278 done
5279 IFS=$as_save_IFS
5280
5281 fi
5282 fi
5283 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5284 if test -n "$ac_ct_DLLTOOL"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5286 $as_echo "$ac_ct_DLLTOOL" >&6; }
5287 else
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5290 fi
5291
5292 if test "x$ac_ct_DLLTOOL" = x; then
5293 DLLTOOL="false"
5294 else
5295 case $cross_compiling:$ac_tool_warned in
5296 yes:)
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5299 ac_tool_warned=yes ;;
5300 esac
5301 DLLTOOL=$ac_ct_DLLTOOL
5302 fi
5303 else
5304 DLLTOOL="$ac_cv_prog_DLLTOOL"
5305 fi
5306
5307 test -z "$DLLTOOL" && DLLTOOL=dlltool
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5319 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5320 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5321 $as_echo_n "(cached) " >&6
5322 else
5323 lt_cv_sharedlib_from_linklib_cmd='unknown'
5324
5325 case $host_os in
5326 cygwin* | mingw* | pw32* | cegcc*)
5327 # two different shell functions defined in ltmain.sh
5328 # decide which to use based on capabilities of $DLLTOOL
5329 case `$DLLTOOL --help 2>&1` in
5330 *--identify-strict*)
5331 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5332 ;;
5333 *)
5334 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5335 ;;
5336 esac
5337 ;;
5338 *)
5339 # fallback: assume linklib IS sharedlib
5340 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5341 ;;
5342 esac
5343
5344 fi
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5346 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5347 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5348 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5349
5350
5351
5352
5353
5354
5355
5356
5357 if test -n "$ac_tool_prefix"; then
5358 for ac_prog in ar
5359 do
5360 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5361 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_AR+:} false; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 if test -n "$AR"; then
5368 ac_cv_prog_AR="$AR" # Let the user override the test.
5369 else
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH
5372 do
5373 IFS=$as_save_IFS
5374 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5377 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 break 2
5380 fi
5381 done
5382 done
5383 IFS=$as_save_IFS
5384
5385 fi
5386 fi
5387 AR=$ac_cv_prog_AR
5388 if test -n "$AR"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5390 $as_echo "$AR" >&6; }
5391 else
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5394 fi
5395
5396
5397 test -n "$AR" && break
5398 done
5399 fi
5400 if test -z "$AR"; then
5401 ac_ct_AR=$AR
5402 for ac_prog in ar
5403 do
5404 # Extract the first word of "$ac_prog", so it can be a program name with args.
5405 set dummy $ac_prog; ac_word=$2
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5407 $as_echo_n "checking for $ac_word... " >&6; }
5408 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5409 $as_echo_n "(cached) " >&6
5410 else
5411 if test -n "$ac_ct_AR"; then
5412 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5413 else
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 for as_dir in $PATH
5416 do
5417 IFS=$as_save_IFS
5418 test -z "$as_dir" && as_dir=.
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5421 ac_cv_prog_ac_ct_AR="$ac_prog"
5422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5423 break 2
5424 fi
5425 done
5426 done
5427 IFS=$as_save_IFS
5428
5429 fi
5430 fi
5431 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5432 if test -n "$ac_ct_AR"; then
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5434 $as_echo "$ac_ct_AR" >&6; }
5435 else
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5437 $as_echo "no" >&6; }
5438 fi
5439
5440
5441 test -n "$ac_ct_AR" && break
5442 done
5443
5444 if test "x$ac_ct_AR" = x; then
5445 AR="false"
5446 else
5447 case $cross_compiling:$ac_tool_warned in
5448 yes:)
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5451 ac_tool_warned=yes ;;
5452 esac
5453 AR=$ac_ct_AR
5454 fi
5455 fi
5456
5457 : ${AR=ar}
5458 : ${AR_FLAGS=cru}
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5471 $as_echo_n "checking for archiver @FILE support... " >&6; }
5472 if ${lt_cv_ar_at_file+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5475 lt_cv_ar_at_file=no
5476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5477 /* end confdefs.h. */
5478
5479 int
5480 main ()
5481 {
5482
5483 ;
5484 return 0;
5485 }
5486 _ACEOF
5487 if ac_fn_c_try_compile "$LINENO"; then :
5488 echo conftest.$ac_objext > conftest.lst
5489 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5490 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5491 (eval $lt_ar_try) 2>&5
5492 ac_status=$?
5493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5494 test $ac_status = 0; }
5495 if test "$ac_status" -eq 0; then
5496 # Ensure the archiver fails upon bogus file names.
5497 rm -f conftest.$ac_objext libconftest.a
5498 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5499 (eval $lt_ar_try) 2>&5
5500 ac_status=$?
5501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5502 test $ac_status = 0; }
5503 if test "$ac_status" -ne 0; then
5504 lt_cv_ar_at_file=@
5505 fi
5506 fi
5507 rm -f conftest.* libconftest.a
5508
5509 fi
5510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5511
5512 fi
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5514 $as_echo "$lt_cv_ar_at_file" >&6; }
5515
5516 if test "x$lt_cv_ar_at_file" = xno; then
5517 archiver_list_spec=
5518 else
5519 archiver_list_spec=$lt_cv_ar_at_file
5520 fi
5521
5522
5523
5524
5525
5526
5527
5528 if test -n "$ac_tool_prefix"; then
5529 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5530 set dummy ${ac_tool_prefix}strip; ac_word=$2
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532 $as_echo_n "checking for $ac_word... " >&6; }
5533 if ${ac_cv_prog_STRIP+:} false; then :
5534 $as_echo_n "(cached) " >&6
5535 else
5536 if test -n "$STRIP"; then
5537 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5538 else
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 for as_dir in $PATH
5541 do
5542 IFS=$as_save_IFS
5543 test -z "$as_dir" && as_dir=.
5544 for ac_exec_ext in '' $ac_executable_extensions; do
5545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 break 2
5549 fi
5550 done
5551 done
5552 IFS=$as_save_IFS
5553
5554 fi
5555 fi
5556 STRIP=$ac_cv_prog_STRIP
5557 if test -n "$STRIP"; then
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5559 $as_echo "$STRIP" >&6; }
5560 else
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5562 $as_echo "no" >&6; }
5563 fi
5564
5565
5566 fi
5567 if test -z "$ac_cv_prog_STRIP"; then
5568 ac_ct_STRIP=$STRIP
5569 # Extract the first word of "strip", so it can be a program name with args.
5570 set dummy strip; ac_word=$2
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5572 $as_echo_n "checking for $ac_word... " >&6; }
5573 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5574 $as_echo_n "(cached) " >&6
5575 else
5576 if test -n "$ac_ct_STRIP"; then
5577 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5578 else
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 for as_dir in $PATH
5581 do
5582 IFS=$as_save_IFS
5583 test -z "$as_dir" && as_dir=.
5584 for ac_exec_ext in '' $ac_executable_extensions; do
5585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586 ac_cv_prog_ac_ct_STRIP="strip"
5587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 break 2
5589 fi
5590 done
5591 done
5592 IFS=$as_save_IFS
5593
5594 fi
5595 fi
5596 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5597 if test -n "$ac_ct_STRIP"; then
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5599 $as_echo "$ac_ct_STRIP" >&6; }
5600 else
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5602 $as_echo "no" >&6; }
5603 fi
5604
5605 if test "x$ac_ct_STRIP" = x; then
5606 STRIP=":"
5607 else
5608 case $cross_compiling:$ac_tool_warned in
5609 yes:)
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5612 ac_tool_warned=yes ;;
5613 esac
5614 STRIP=$ac_ct_STRIP
5615 fi
5616 else
5617 STRIP="$ac_cv_prog_STRIP"
5618 fi
5619
5620 test -z "$STRIP" && STRIP=:
5621
5622
5623
5624
5625
5626
5627 if test -n "$ac_tool_prefix"; then
5628 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5629 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if ${ac_cv_prog_RANLIB+:} false; then :
5633 $as_echo_n "(cached) " >&6
5634 else
5635 if test -n "$RANLIB"; then
5636 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5637 else
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5639 for as_dir in $PATH
5640 do
5641 IFS=$as_save_IFS
5642 test -z "$as_dir" && as_dir=.
5643 for ac_exec_ext in '' $ac_executable_extensions; do
5644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 break 2
5648 fi
5649 done
5650 done
5651 IFS=$as_save_IFS
5652
5653 fi
5654 fi
5655 RANLIB=$ac_cv_prog_RANLIB
5656 if test -n "$RANLIB"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5658 $as_echo "$RANLIB" >&6; }
5659 else
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5662 fi
5663
5664
5665 fi
5666 if test -z "$ac_cv_prog_RANLIB"; then
5667 ac_ct_RANLIB=$RANLIB
5668 # Extract the first word of "ranlib", so it can be a program name with args.
5669 set dummy ranlib; ac_word=$2
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671 $as_echo_n "checking for $ac_word... " >&6; }
5672 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 if test -n "$ac_ct_RANLIB"; then
5676 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5677 else
5678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5679 for as_dir in $PATH
5680 do
5681 IFS=$as_save_IFS
5682 test -z "$as_dir" && as_dir=.
5683 for ac_exec_ext in '' $ac_executable_extensions; do
5684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5685 ac_cv_prog_ac_ct_RANLIB="ranlib"
5686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 break 2
5688 fi
5689 done
5690 done
5691 IFS=$as_save_IFS
5692
5693 fi
5694 fi
5695 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5696 if test -n "$ac_ct_RANLIB"; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5698 $as_echo "$ac_ct_RANLIB" >&6; }
5699 else
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 $as_echo "no" >&6; }
5702 fi
5703
5704 if test "x$ac_ct_RANLIB" = x; then
5705 RANLIB=":"
5706 else
5707 case $cross_compiling:$ac_tool_warned in
5708 yes:)
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5711 ac_tool_warned=yes ;;
5712 esac
5713 RANLIB=$ac_ct_RANLIB
5714 fi
5715 else
5716 RANLIB="$ac_cv_prog_RANLIB"
5717 fi
5718
5719 test -z "$RANLIB" && RANLIB=:
5720
5721
5722
5723
5724
5725
5726 # Determine commands to create old-style static archives.
5727 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5728 old_postinstall_cmds='chmod 644 $oldlib'
5729 old_postuninstall_cmds=
5730
5731 if test -n "$RANLIB"; then
5732 case $host_os in
5733 openbsd*)
5734 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5735 ;;
5736 *)
5737 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5738 ;;
5739 esac
5740 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5741 fi
5742
5743 case $host_os in
5744 darwin*)
5745 lock_old_archive_extraction=yes ;;
5746 *)
5747 lock_old_archive_extraction=no ;;
5748 esac
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788 # If no C compiler was specified, use CC.
5789 LTCC=${LTCC-"$CC"}
5790
5791 # If no C compiler flags were specified, use CFLAGS.
5792 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5793
5794 # Allow CC to be a program name with arguments.
5795 compiler=$CC
5796
5797
5798 # Check for command to grab the raw symbol name followed by C symbol from nm.
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5800 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5801 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5802 $as_echo_n "(cached) " >&6
5803 else
5804
5805 # These are sane defaults that work on at least a few old systems.
5806 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5807
5808 # Character class describing NM global symbol codes.
5809 symcode='[BCDEGRST]'
5810
5811 # Regexp to match symbols that can be accessed directly from C.
5812 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5813
5814 # Define system-specific variables.
5815 case $host_os in
5816 aix*)
5817 symcode='[BCDT]'
5818 ;;
5819 cygwin* | mingw* | pw32* | cegcc*)
5820 symcode='[ABCDGISTW]'
5821 ;;
5822 hpux*)
5823 if test "$host_cpu" = ia64; then
5824 symcode='[ABCDEGRST]'
5825 fi
5826 ;;
5827 irix* | nonstopux*)
5828 symcode='[BCDEGRST]'
5829 ;;
5830 osf*)
5831 symcode='[BCDEGQRST]'
5832 ;;
5833 solaris*)
5834 symcode='[BDRT]'
5835 ;;
5836 sco3.2v5*)
5837 symcode='[DT]'
5838 ;;
5839 sysv4.2uw2*)
5840 symcode='[DT]'
5841 ;;
5842 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5843 symcode='[ABDT]'
5844 ;;
5845 sysv4)
5846 symcode='[DFNSTU]'
5847 ;;
5848 esac
5849
5850 # If we're using GNU nm, then use its standard symbol codes.
5851 case `$NM -V 2>&1` in
5852 *GNU* | *'with BFD'*)
5853 symcode='[ABCDGIRSTW]' ;;
5854 esac
5855
5856 # Transform an extracted symbol line into a proper C declaration.
5857 # Some systems (esp. on ia64) link data and code symbols differently,
5858 # so use this general approach.
5859 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5860
5861 # Transform an extracted symbol line into symbol name and symbol address
5862 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5863 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'"
5864
5865 # Handle CRLF in mingw tool chain
5866 opt_cr=
5867 case $build_os in
5868 mingw*)
5869 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5870 ;;
5871 esac
5872
5873 # Try without a prefix underscore, then with it.
5874 for ac_symprfx in "" "_"; do
5875
5876 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5877 symxfrm="\\1 $ac_symprfx\\2 \\2"
5878
5879 # Write the raw and C identifiers.
5880 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5881 # Fake it for dumpbin and say T for any non-static function
5882 # and D for any global variable.
5883 # Also find C++ and __fastcall symbols from MSVC++,
5884 # which start with @ or ?.
5885 lt_cv_sys_global_symbol_pipe="$AWK '"\
5886 " {last_section=section; section=\$ 3};"\
5887 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5888 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5889 " \$ 0!~/External *\|/{next};"\
5890 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5891 " {if(hide[section]) next};"\
5892 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5893 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5894 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5895 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5896 " ' prfx=^$ac_symprfx"
5897 else
5898 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5899 fi
5900 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5901
5902 # Check to see that the pipe works correctly.
5903 pipe_works=no
5904
5905 rm -f conftest*
5906 cat > conftest.$ac_ext <<_LT_EOF
5907 #ifdef __cplusplus
5908 extern "C" {
5909 #endif
5910 char nm_test_var;
5911 void nm_test_func(void);
5912 void nm_test_func(void){}
5913 #ifdef __cplusplus
5914 }
5915 #endif
5916 int main(){nm_test_var='a';nm_test_func();return(0);}
5917 _LT_EOF
5918
5919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5920 (eval $ac_compile) 2>&5
5921 ac_status=$?
5922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5923 test $ac_status = 0; }; then
5924 # Now try to grab the symbols.
5925 nlist=conftest.nm
5926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5927 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5928 ac_status=$?
5929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5930 test $ac_status = 0; } && test -s "$nlist"; then
5931 # Try sorting and uniquifying the output.
5932 if sort "$nlist" | uniq > "$nlist"T; then
5933 mv -f "$nlist"T "$nlist"
5934 else
5935 rm -f "$nlist"T
5936 fi
5937
5938 # Make sure that we snagged all the symbols we need.
5939 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5940 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5941 cat <<_LT_EOF > conftest.$ac_ext
5942 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5943 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5944 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5945 relocations are performed -- see ld's documentation on pseudo-relocs. */
5946 # define LT_DLSYM_CONST
5947 #elif defined(__osf__)
5948 /* This system does not cope well with relocations in const data. */
5949 # define LT_DLSYM_CONST
5950 #else
5951 # define LT_DLSYM_CONST const
5952 #endif
5953
5954 #ifdef __cplusplus
5955 extern "C" {
5956 #endif
5957
5958 _LT_EOF
5959 # Now generate the symbol file.
5960 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5961
5962 cat <<_LT_EOF >> conftest.$ac_ext
5963
5964 /* The mapping between symbol names and symbols. */
5965 LT_DLSYM_CONST struct {
5966 const char *name;
5967 void *address;
5968 }
5969 lt__PROGRAM__LTX_preloaded_symbols[] =
5970 {
5971 { "@PROGRAM@", (void *) 0 },
5972 _LT_EOF
5973 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5974 cat <<\_LT_EOF >> conftest.$ac_ext
5975 {0, (void *) 0}
5976 };
5977
5978 /* This works around a problem in FreeBSD linker */
5979 #ifdef FREEBSD_WORKAROUND
5980 static const void *lt_preloaded_setup() {
5981 return lt__PROGRAM__LTX_preloaded_symbols;
5982 }
5983 #endif
5984
5985 #ifdef __cplusplus
5986 }
5987 #endif
5988 _LT_EOF
5989 # Now try linking the two files.
5990 mv conftest.$ac_objext conftstm.$ac_objext
5991 lt_globsym_save_LIBS=$LIBS
5992 lt_globsym_save_CFLAGS=$CFLAGS
5993 LIBS="conftstm.$ac_objext"
5994 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5996 (eval $ac_link) 2>&5
5997 ac_status=$?
5998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5999 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6000 pipe_works=yes
6001 fi
6002 LIBS=$lt_globsym_save_LIBS
6003 CFLAGS=$lt_globsym_save_CFLAGS
6004 else
6005 echo "cannot find nm_test_func in $nlist" >&5
6006 fi
6007 else
6008 echo "cannot find nm_test_var in $nlist" >&5
6009 fi
6010 else
6011 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6012 fi
6013 else
6014 echo "$progname: failed program was:" >&5
6015 cat conftest.$ac_ext >&5
6016 fi
6017 rm -rf conftest* conftst*
6018
6019 # Do not use the global_symbol_pipe unless it works.
6020 if test "$pipe_works" = yes; then
6021 break
6022 else
6023 lt_cv_sys_global_symbol_pipe=
6024 fi
6025 done
6026
6027 fi
6028
6029 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6030 lt_cv_sys_global_symbol_to_cdecl=
6031 fi
6032 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6034 $as_echo "failed" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6037 $as_echo "ok" >&6; }
6038 fi
6039
6040 # Response file support.
6041 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6042 nm_file_list_spec='@'
6043 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6044 nm_file_list_spec='@'
6045 fi
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6074 $as_echo_n "checking for sysroot... " >&6; }
6075
6076 # Check whether --with-sysroot was given.
6077 if test "${with_sysroot+set}" = set; then :
6078 withval=$with_sysroot;
6079 else
6080 with_sysroot=no
6081 fi
6082
6083
6084 lt_sysroot=
6085 case ${with_sysroot} in #(
6086 yes)
6087 if test "$GCC" = yes; then
6088 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6089 fi
6090 ;; #(
6091 /*)
6092 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6093 ;; #(
6094 no|'')
6095 ;; #(
6096 *)
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6098 $as_echo "${with_sysroot}" >&6; }
6099 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6100 ;;
6101 esac
6102
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6104 $as_echo "${lt_sysroot:-no}" >&6; }
6105
6106
6107
6108
6109
6110 # Check whether --enable-libtool-lock was given.
6111 if test "${enable_libtool_lock+set}" = set; then :
6112 enableval=$enable_libtool_lock;
6113 fi
6114
6115 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6116
6117 # Some flags need to be propagated to the compiler or linker for good
6118 # libtool support.
6119 case $host in
6120 ia64-*-hpux*)
6121 # Find out which ABI we are using.
6122 echo 'int i;' > conftest.$ac_ext
6123 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6124 (eval $ac_compile) 2>&5
6125 ac_status=$?
6126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6127 test $ac_status = 0; }; then
6128 case `/usr/bin/file conftest.$ac_objext` in
6129 *ELF-32*)
6130 HPUX_IA64_MODE="32"
6131 ;;
6132 *ELF-64*)
6133 HPUX_IA64_MODE="64"
6134 ;;
6135 esac
6136 fi
6137 rm -rf conftest*
6138 ;;
6139 *-*-irix6*)
6140 # Find out which ABI we are using.
6141 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6142 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6143 (eval $ac_compile) 2>&5
6144 ac_status=$?
6145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6146 test $ac_status = 0; }; then
6147 if test "$lt_cv_prog_gnu_ld" = yes; then
6148 case `/usr/bin/file conftest.$ac_objext` in
6149 *32-bit*)
6150 LD="${LD-ld} -melf32bsmip"
6151 ;;
6152 *N32*)
6153 LD="${LD-ld} -melf32bmipn32"
6154 ;;
6155 *64-bit*)
6156 LD="${LD-ld} -melf64bmip"
6157 ;;
6158 esac
6159 else
6160 case `/usr/bin/file conftest.$ac_objext` in
6161 *32-bit*)
6162 LD="${LD-ld} -32"
6163 ;;
6164 *N32*)
6165 LD="${LD-ld} -n32"
6166 ;;
6167 *64-bit*)
6168 LD="${LD-ld} -64"
6169 ;;
6170 esac
6171 fi
6172 fi
6173 rm -rf conftest*
6174 ;;
6175
6176 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6177 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6178 # Find out which ABI we are using.
6179 echo 'int i;' > conftest.$ac_ext
6180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6181 (eval $ac_compile) 2>&5
6182 ac_status=$?
6183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6184 test $ac_status = 0; }; then
6185 case `/usr/bin/file conftest.o` in
6186 *32-bit*)
6187 case $host in
6188 x86_64-*kfreebsd*-gnu)
6189 LD="${LD-ld} -m elf_i386_fbsd"
6190 ;;
6191 x86_64-*linux*)
6192 LD="${LD-ld} -m elf_i386"
6193 ;;
6194 ppc64-*linux*|powerpc64-*linux*)
6195 LD="${LD-ld} -m elf32ppclinux"
6196 ;;
6197 s390x-*linux*)
6198 LD="${LD-ld} -m elf_s390"
6199 ;;
6200 sparc64-*linux*)
6201 LD="${LD-ld} -m elf32_sparc"
6202 ;;
6203 esac
6204 ;;
6205 *64-bit*)
6206 case $host in
6207 x86_64-*kfreebsd*-gnu)
6208 LD="${LD-ld} -m elf_x86_64_fbsd"
6209 ;;
6210 x86_64-*linux*)
6211 LD="${LD-ld} -m elf_x86_64"
6212 ;;
6213 ppc*-*linux*|powerpc*-*linux*)
6214 LD="${LD-ld} -m elf64ppc"
6215 ;;
6216 s390*-*linux*|s390*-*tpf*)
6217 LD="${LD-ld} -m elf64_s390"
6218 ;;
6219 sparc*-*linux*)
6220 LD="${LD-ld} -m elf64_sparc"
6221 ;;
6222 esac
6223 ;;
6224 esac
6225 fi
6226 rm -rf conftest*
6227 ;;
6228
6229 *-*-sco3.2v5*)
6230 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6231 SAVE_CFLAGS="$CFLAGS"
6232 CFLAGS="$CFLAGS -belf"
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6234 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6235 if ${lt_cv_cc_needs_belf+:} false; then :
6236 $as_echo_n "(cached) " >&6
6237 else
6238 ac_ext=c
6239 ac_cpp='$CPP $CPPFLAGS'
6240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6243
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6246
6247 int
6248 main ()
6249 {
6250
6251 ;
6252 return 0;
6253 }
6254 _ACEOF
6255 if ac_fn_c_try_link "$LINENO"; then :
6256 lt_cv_cc_needs_belf=yes
6257 else
6258 lt_cv_cc_needs_belf=no
6259 fi
6260 rm -f core conftest.err conftest.$ac_objext \
6261 conftest$ac_exeext conftest.$ac_ext
6262 ac_ext=c
6263 ac_cpp='$CPP $CPPFLAGS'
6264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6267
6268 fi
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6270 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6271 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6272 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6273 CFLAGS="$SAVE_CFLAGS"
6274 fi
6275 ;;
6276 *-*solaris*)
6277 # Find out which ABI we are using.
6278 echo 'int i;' > conftest.$ac_ext
6279 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6280 (eval $ac_compile) 2>&5
6281 ac_status=$?
6282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6283 test $ac_status = 0; }; then
6284 case `/usr/bin/file conftest.o` in
6285 *64-bit*)
6286 case $lt_cv_prog_gnu_ld in
6287 yes*)
6288 case $host in
6289 i?86-*-solaris*)
6290 LD="${LD-ld} -m elf_x86_64"
6291 ;;
6292 sparc*-*-solaris*)
6293 LD="${LD-ld} -m elf64_sparc"
6294 ;;
6295 esac
6296 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6297 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6298 LD="${LD-ld}_sol2"
6299 fi
6300 ;;
6301 *)
6302 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6303 LD="${LD-ld} -64"
6304 fi
6305 ;;
6306 esac
6307 ;;
6308 esac
6309 fi
6310 rm -rf conftest*
6311 ;;
6312 esac
6313
6314 need_locks="$enable_libtool_lock"
6315
6316 if test -n "$ac_tool_prefix"; then
6317 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6318 set dummy ${ac_tool_prefix}mt; ac_word=$2
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6320 $as_echo_n "checking for $ac_word... " >&6; }
6321 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6322 $as_echo_n "(cached) " >&6
6323 else
6324 if test -n "$MANIFEST_TOOL"; then
6325 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6326 else
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 for as_dir in $PATH
6329 do
6330 IFS=$as_save_IFS
6331 test -z "$as_dir" && as_dir=.
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6334 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336 break 2
6337 fi
6338 done
6339 done
6340 IFS=$as_save_IFS
6341
6342 fi
6343 fi
6344 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6345 if test -n "$MANIFEST_TOOL"; then
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6347 $as_echo "$MANIFEST_TOOL" >&6; }
6348 else
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6350 $as_echo "no" >&6; }
6351 fi
6352
6353
6354 fi
6355 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6356 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6357 # Extract the first word of "mt", so it can be a program name with args.
6358 set dummy mt; ac_word=$2
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6360 $as_echo_n "checking for $ac_word... " >&6; }
6361 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6362 $as_echo_n "(cached) " >&6
6363 else
6364 if test -n "$ac_ct_MANIFEST_TOOL"; then
6365 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6366 else
6367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368 for as_dir in $PATH
6369 do
6370 IFS=$as_save_IFS
6371 test -z "$as_dir" && as_dir=.
6372 for ac_exec_ext in '' $ac_executable_extensions; do
6373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6374 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6376 break 2
6377 fi
6378 done
6379 done
6380 IFS=$as_save_IFS
6381
6382 fi
6383 fi
6384 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6385 if test -n "$ac_ct_MANIFEST_TOOL"; then
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6387 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6388 else
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6390 $as_echo "no" >&6; }
6391 fi
6392
6393 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6394 MANIFEST_TOOL=":"
6395 else
6396 case $cross_compiling:$ac_tool_warned in
6397 yes:)
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6400 ac_tool_warned=yes ;;
6401 esac
6402 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6403 fi
6404 else
6405 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6406 fi
6407
6408 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6410 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6411 if ${lt_cv_path_mainfest_tool+:} false; then :
6412 $as_echo_n "(cached) " >&6
6413 else
6414 lt_cv_path_mainfest_tool=no
6415 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6416 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6417 cat conftest.err >&5
6418 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6419 lt_cv_path_mainfest_tool=yes
6420 fi
6421 rm -f conftest*
6422 fi
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6424 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6425 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6426 MANIFEST_TOOL=:
6427 fi
6428
6429
6430
6431
6432
6433
6434 case $host_os in
6435 rhapsody* | darwin*)
6436 if test -n "$ac_tool_prefix"; then
6437 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6438 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if test -n "$DSYMUTIL"; then
6445 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6449 do
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6454 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6457 fi
6458 done
6459 done
6460 IFS=$as_save_IFS
6461
6462 fi
6463 fi
6464 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6465 if test -n "$DSYMUTIL"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6467 $as_echo "$DSYMUTIL" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6471 fi
6472
6473
6474 fi
6475 if test -z "$ac_cv_prog_DSYMUTIL"; then
6476 ac_ct_DSYMUTIL=$DSYMUTIL
6477 # Extract the first word of "dsymutil", so it can be a program name with args.
6478 set dummy dsymutil; ac_word=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6480 $as_echo_n "checking for $ac_word... " >&6; }
6481 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6482 $as_echo_n "(cached) " >&6
6483 else
6484 if test -n "$ac_ct_DSYMUTIL"; then
6485 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6486 else
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 for as_dir in $PATH
6489 do
6490 IFS=$as_save_IFS
6491 test -z "$as_dir" && as_dir=.
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6494 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 break 2
6497 fi
6498 done
6499 done
6500 IFS=$as_save_IFS
6501
6502 fi
6503 fi
6504 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6505 if test -n "$ac_ct_DSYMUTIL"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6507 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6508 else
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 $as_echo "no" >&6; }
6511 fi
6512
6513 if test "x$ac_ct_DSYMUTIL" = x; then
6514 DSYMUTIL=":"
6515 else
6516 case $cross_compiling:$ac_tool_warned in
6517 yes:)
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6520 ac_tool_warned=yes ;;
6521 esac
6522 DSYMUTIL=$ac_ct_DSYMUTIL
6523 fi
6524 else
6525 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6526 fi
6527
6528 if test -n "$ac_tool_prefix"; then
6529 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6530 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6532 $as_echo_n "checking for $ac_word... " >&6; }
6533 if ${ac_cv_prog_NMEDIT+:} false; then :
6534 $as_echo_n "(cached) " >&6
6535 else
6536 if test -n "$NMEDIT"; then
6537 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6538 else
6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 for as_dir in $PATH
6541 do
6542 IFS=$as_save_IFS
6543 test -z "$as_dir" && as_dir=.
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6546 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6548 break 2
6549 fi
6550 done
6551 done
6552 IFS=$as_save_IFS
6553
6554 fi
6555 fi
6556 NMEDIT=$ac_cv_prog_NMEDIT
6557 if test -n "$NMEDIT"; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6559 $as_echo "$NMEDIT" >&6; }
6560 else
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 $as_echo "no" >&6; }
6563 fi
6564
6565
6566 fi
6567 if test -z "$ac_cv_prog_NMEDIT"; then
6568 ac_ct_NMEDIT=$NMEDIT
6569 # Extract the first word of "nmedit", so it can be a program name with args.
6570 set dummy nmedit; ac_word=$2
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6572 $as_echo_n "checking for $ac_word... " >&6; }
6573 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6574 $as_echo_n "(cached) " >&6
6575 else
6576 if test -n "$ac_ct_NMEDIT"; then
6577 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6578 else
6579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6580 for as_dir in $PATH
6581 do
6582 IFS=$as_save_IFS
6583 test -z "$as_dir" && as_dir=.
6584 for ac_exec_ext in '' $ac_executable_extensions; do
6585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6586 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6588 break 2
6589 fi
6590 done
6591 done
6592 IFS=$as_save_IFS
6593
6594 fi
6595 fi
6596 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6597 if test -n "$ac_ct_NMEDIT"; then
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6599 $as_echo "$ac_ct_NMEDIT" >&6; }
6600 else
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 $as_echo "no" >&6; }
6603 fi
6604
6605 if test "x$ac_ct_NMEDIT" = x; then
6606 NMEDIT=":"
6607 else
6608 case $cross_compiling:$ac_tool_warned in
6609 yes:)
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6612 ac_tool_warned=yes ;;
6613 esac
6614 NMEDIT=$ac_ct_NMEDIT
6615 fi
6616 else
6617 NMEDIT="$ac_cv_prog_NMEDIT"
6618 fi
6619
6620 if test -n "$ac_tool_prefix"; then
6621 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6622 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 $as_echo_n "checking for $ac_word... " >&6; }
6625 if ${ac_cv_prog_LIPO+:} false; then :
6626 $as_echo_n "(cached) " >&6
6627 else
6628 if test -n "$LIPO"; then
6629 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6630 else
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $PATH
6633 do
6634 IFS=$as_save_IFS
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6638 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 break 2
6641 fi
6642 done
6643 done
6644 IFS=$as_save_IFS
6645
6646 fi
6647 fi
6648 LIPO=$ac_cv_prog_LIPO
6649 if test -n "$LIPO"; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6651 $as_echo "$LIPO" >&6; }
6652 else
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 $as_echo "no" >&6; }
6655 fi
6656
6657
6658 fi
6659 if test -z "$ac_cv_prog_LIPO"; then
6660 ac_ct_LIPO=$LIPO
6661 # Extract the first word of "lipo", so it can be a program name with args.
6662 set dummy lipo; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6666 $as_echo_n "(cached) " >&6
6667 else
6668 if test -n "$ac_ct_LIPO"; then
6669 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6673 do
6674 IFS=$as_save_IFS
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6678 ac_cv_prog_ac_ct_LIPO="lipo"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 break 2
6681 fi
6682 done
6683 done
6684 IFS=$as_save_IFS
6685
6686 fi
6687 fi
6688 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6689 if test -n "$ac_ct_LIPO"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6691 $as_echo "$ac_ct_LIPO" >&6; }
6692 else
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6695 fi
6696
6697 if test "x$ac_ct_LIPO" = x; then
6698 LIPO=":"
6699 else
6700 case $cross_compiling:$ac_tool_warned in
6701 yes:)
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6704 ac_tool_warned=yes ;;
6705 esac
6706 LIPO=$ac_ct_LIPO
6707 fi
6708 else
6709 LIPO="$ac_cv_prog_LIPO"
6710 fi
6711
6712 if test -n "$ac_tool_prefix"; then
6713 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6714 set dummy ${ac_tool_prefix}otool; ac_word=$2
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if ${ac_cv_prog_OTOOL+:} false; then :
6718 $as_echo_n "(cached) " >&6
6719 else
6720 if test -n "$OTOOL"; then
6721 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6722 else
6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724 for as_dir in $PATH
6725 do
6726 IFS=$as_save_IFS
6727 test -z "$as_dir" && as_dir=.
6728 for ac_exec_ext in '' $ac_executable_extensions; do
6729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6730 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6732 break 2
6733 fi
6734 done
6735 done
6736 IFS=$as_save_IFS
6737
6738 fi
6739 fi
6740 OTOOL=$ac_cv_prog_OTOOL
6741 if test -n "$OTOOL"; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6743 $as_echo "$OTOOL" >&6; }
6744 else
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746 $as_echo "no" >&6; }
6747 fi
6748
6749
6750 fi
6751 if test -z "$ac_cv_prog_OTOOL"; then
6752 ac_ct_OTOOL=$OTOOL
6753 # Extract the first word of "otool", so it can be a program name with args.
6754 set dummy otool; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6758 $as_echo_n "(cached) " >&6
6759 else
6760 if test -n "$ac_ct_OTOOL"; then
6761 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6765 do
6766 IFS=$as_save_IFS
6767 test -z "$as_dir" && as_dir=.
6768 for ac_exec_ext in '' $ac_executable_extensions; do
6769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6770 ac_cv_prog_ac_ct_OTOOL="otool"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 break 2
6773 fi
6774 done
6775 done
6776 IFS=$as_save_IFS
6777
6778 fi
6779 fi
6780 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6781 if test -n "$ac_ct_OTOOL"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6783 $as_echo "$ac_ct_OTOOL" >&6; }
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6787 fi
6788
6789 if test "x$ac_ct_OTOOL" = x; then
6790 OTOOL=":"
6791 else
6792 case $cross_compiling:$ac_tool_warned in
6793 yes:)
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6796 ac_tool_warned=yes ;;
6797 esac
6798 OTOOL=$ac_ct_OTOOL
6799 fi
6800 else
6801 OTOOL="$ac_cv_prog_OTOOL"
6802 fi
6803
6804 if test -n "$ac_tool_prefix"; then
6805 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6806 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6808 $as_echo_n "checking for $ac_word... " >&6; }
6809 if ${ac_cv_prog_OTOOL64+:} false; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6812 if test -n "$OTOOL64"; then
6813 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6814 else
6815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 for as_dir in $PATH
6817 do
6818 IFS=$as_save_IFS
6819 test -z "$as_dir" && as_dir=.
6820 for ac_exec_ext in '' $ac_executable_extensions; do
6821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6822 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6824 break 2
6825 fi
6826 done
6827 done
6828 IFS=$as_save_IFS
6829
6830 fi
6831 fi
6832 OTOOL64=$ac_cv_prog_OTOOL64
6833 if test -n "$OTOOL64"; then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6835 $as_echo "$OTOOL64" >&6; }
6836 else
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6838 $as_echo "no" >&6; }
6839 fi
6840
6841
6842 fi
6843 if test -z "$ac_cv_prog_OTOOL64"; then
6844 ac_ct_OTOOL64=$OTOOL64
6845 # Extract the first word of "otool64", so it can be a program name with args.
6846 set dummy otool64; ac_word=$2
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6848 $as_echo_n "checking for $ac_word... " >&6; }
6849 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6850 $as_echo_n "(cached) " >&6
6851 else
6852 if test -n "$ac_ct_OTOOL64"; then
6853 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6854 else
6855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6856 for as_dir in $PATH
6857 do
6858 IFS=$as_save_IFS
6859 test -z "$as_dir" && as_dir=.
6860 for ac_exec_ext in '' $ac_executable_extensions; do
6861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6862 ac_cv_prog_ac_ct_OTOOL64="otool64"
6863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6864 break 2
6865 fi
6866 done
6867 done
6868 IFS=$as_save_IFS
6869
6870 fi
6871 fi
6872 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6873 if test -n "$ac_ct_OTOOL64"; then
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6875 $as_echo "$ac_ct_OTOOL64" >&6; }
6876 else
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6878 $as_echo "no" >&6; }
6879 fi
6880
6881 if test "x$ac_ct_OTOOL64" = x; then
6882 OTOOL64=":"
6883 else
6884 case $cross_compiling:$ac_tool_warned in
6885 yes:)
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6888 ac_tool_warned=yes ;;
6889 esac
6890 OTOOL64=$ac_ct_OTOOL64
6891 fi
6892 else
6893 OTOOL64="$ac_cv_prog_OTOOL64"
6894 fi
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6923 $as_echo_n "checking for -single_module linker flag... " >&6; }
6924 if ${lt_cv_apple_cc_single_mod+:} false; then :
6925 $as_echo_n "(cached) " >&6
6926 else
6927 lt_cv_apple_cc_single_mod=no
6928 if test -z "${LT_MULTI_MODULE}"; then
6929 # By default we will add the -single_module flag. You can override
6930 # by either setting the environment variable LT_MULTI_MODULE
6931 # non-empty at configure time, or by adding -multi_module to the
6932 # link flags.
6933 rm -rf libconftest.dylib*
6934 echo "int foo(void){return 1;}" > conftest.c
6935 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6936 -dynamiclib -Wl,-single_module conftest.c" >&5
6937 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6938 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6939 _lt_result=$?
6940 # If there is a non-empty error log, and "single_module"
6941 # appears in it, assume the flag caused a linker warning
6942 if test -s conftest.err && $GREP single_module conftest.err; then
6943 cat conftest.err >&5
6944 # Otherwise, if the output was created with a 0 exit code from
6945 # the compiler, it worked.
6946 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6947 lt_cv_apple_cc_single_mod=yes
6948 else
6949 cat conftest.err >&5
6950 fi
6951 rm -rf libconftest.dylib*
6952 rm -f conftest.*
6953 fi
6954 fi
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6956 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6957
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6959 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6960 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6961 $as_echo_n "(cached) " >&6
6962 else
6963 lt_cv_ld_exported_symbols_list=no
6964 save_LDFLAGS=$LDFLAGS
6965 echo "_main" > conftest.sym
6966 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6968 /* end confdefs.h. */
6969
6970 int
6971 main ()
6972 {
6973
6974 ;
6975 return 0;
6976 }
6977 _ACEOF
6978 if ac_fn_c_try_link "$LINENO"; then :
6979 lt_cv_ld_exported_symbols_list=yes
6980 else
6981 lt_cv_ld_exported_symbols_list=no
6982 fi
6983 rm -f core conftest.err conftest.$ac_objext \
6984 conftest$ac_exeext conftest.$ac_ext
6985 LDFLAGS="$save_LDFLAGS"
6986
6987 fi
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6989 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6990
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6992 $as_echo_n "checking for -force_load linker flag... " >&6; }
6993 if ${lt_cv_ld_force_load+:} false; then :
6994 $as_echo_n "(cached) " >&6
6995 else
6996 lt_cv_ld_force_load=no
6997 cat > conftest.c << _LT_EOF
6998 int forced_loaded() { return 2;}
6999 _LT_EOF
7000 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7001 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7002 echo "$AR cru libconftest.a conftest.o" >&5
7003 $AR cru libconftest.a conftest.o 2>&5
7004 echo "$RANLIB libconftest.a" >&5
7005 $RANLIB libconftest.a 2>&5
7006 cat > conftest.c << _LT_EOF
7007 int main() { return 0;}
7008 _LT_EOF
7009 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7010 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7011 _lt_result=$?
7012 if test -s conftest.err && $GREP force_load conftest.err; then
7013 cat conftest.err >&5
7014 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7015 lt_cv_ld_force_load=yes
7016 else
7017 cat conftest.err >&5
7018 fi
7019 rm -f conftest.err libconftest.a conftest conftest.c
7020 rm -rf conftest.dSYM
7021
7022 fi
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7024 $as_echo "$lt_cv_ld_force_load" >&6; }
7025 case $host_os in
7026 rhapsody* | darwin1.[012])
7027 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7028 darwin1.*)
7029 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7030 darwin*) # darwin 5.x on
7031 # if running on 10.5 or later, the deployment target defaults
7032 # to the OS version, if on x86, and 10.4, the deployment
7033 # target defaults to 10.4. Don't you love it?
7034 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7035 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7036 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7037 10.[012]*)
7038 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7039 10.*)
7040 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7041 esac
7042 ;;
7043 esac
7044 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7045 _lt_dar_single_mod='$single_module'
7046 fi
7047 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7048 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7049 else
7050 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7051 fi
7052 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7053 _lt_dsymutil='~$DSYMUTIL $lib || :'
7054 else
7055 _lt_dsymutil=
7056 fi
7057 ;;
7058 esac
7059
7060 ac_ext=c
7061 ac_cpp='$CPP $CPPFLAGS'
7062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7066 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7067 # On Suns, sometimes $CPP names a directory.
7068 if test -n "$CPP" && test -d "$CPP"; then
7069 CPP=
7070 fi
7071 if test -z "$CPP"; then
7072 if ${ac_cv_prog_CPP+:} false; then :
7073 $as_echo_n "(cached) " >&6
7074 else
7075 # Double quotes because CPP needs to be expanded
7076 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7077 do
7078 ac_preproc_ok=false
7079 for ac_c_preproc_warn_flag in '' yes
7080 do
7081 # Use a header file that comes with gcc, so configuring glibc
7082 # with a fresh cross-compiler works.
7083 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7084 # <limits.h> exists even on freestanding compilers.
7085 # On the NeXT, cc -E runs the code through the compiler's parser,
7086 # not just through cpp. "Syntax error" is here to catch this case.
7087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7089 #ifdef __STDC__
7090 # include <limits.h>
7091 #else
7092 # include <assert.h>
7093 #endif
7094 Syntax error
7095 _ACEOF
7096 if ac_fn_c_try_cpp "$LINENO"; then :
7097
7098 else
7099 # Broken: fails on valid input.
7100 continue
7101 fi
7102 rm -f conftest.err conftest.i conftest.$ac_ext
7103
7104 # OK, works on sane cases. Now check whether nonexistent headers
7105 # can be detected and how.
7106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7107 /* end confdefs.h. */
7108 #include <ac_nonexistent.h>
7109 _ACEOF
7110 if ac_fn_c_try_cpp "$LINENO"; then :
7111 # Broken: success on invalid input.
7112 continue
7113 else
7114 # Passes both tests.
7115 ac_preproc_ok=:
7116 break
7117 fi
7118 rm -f conftest.err conftest.i conftest.$ac_ext
7119
7120 done
7121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7122 rm -f conftest.i conftest.err conftest.$ac_ext
7123 if $ac_preproc_ok; then :
7124 break
7125 fi
7126
7127 done
7128 ac_cv_prog_CPP=$CPP
7129
7130 fi
7131 CPP=$ac_cv_prog_CPP
7132 else
7133 ac_cv_prog_CPP=$CPP
7134 fi
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7136 $as_echo "$CPP" >&6; }
7137 ac_preproc_ok=false
7138 for ac_c_preproc_warn_flag in '' yes
7139 do
7140 # Use a header file that comes with gcc, so configuring glibc
7141 # with a fresh cross-compiler works.
7142 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7143 # <limits.h> exists even on freestanding compilers.
7144 # On the NeXT, cc -E runs the code through the compiler's parser,
7145 # not just through cpp. "Syntax error" is here to catch this case.
7146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7147 /* end confdefs.h. */
7148 #ifdef __STDC__
7149 # include <limits.h>
7150 #else
7151 # include <assert.h>
7152 #endif
7153 Syntax error
7154 _ACEOF
7155 if ac_fn_c_try_cpp "$LINENO"; then :
7156
7157 else
7158 # Broken: fails on valid input.
7159 continue
7160 fi
7161 rm -f conftest.err conftest.i conftest.$ac_ext
7162
7163 # OK, works on sane cases. Now check whether nonexistent headers
7164 # can be detected and how.
7165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7166 /* end confdefs.h. */
7167 #include <ac_nonexistent.h>
7168 _ACEOF
7169 if ac_fn_c_try_cpp "$LINENO"; then :
7170 # Broken: success on invalid input.
7171 continue
7172 else
7173 # Passes both tests.
7174 ac_preproc_ok=:
7175 break
7176 fi
7177 rm -f conftest.err conftest.i conftest.$ac_ext
7178
7179 done
7180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7181 rm -f conftest.i conftest.err conftest.$ac_ext
7182 if $ac_preproc_ok; then :
7183
7184 else
7185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7187 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7188 See \`config.log' for more details" "$LINENO" 5; }
7189 fi
7190
7191 ac_ext=c
7192 ac_cpp='$CPP $CPPFLAGS'
7193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7196
7197
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7199 $as_echo_n "checking for ANSI C header files... " >&6; }
7200 if ${ac_cv_header_stdc+:} false; then :
7201 $as_echo_n "(cached) " >&6
7202 else
7203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7204 /* end confdefs.h. */
7205 #include <stdlib.h>
7206 #include <stdarg.h>
7207 #include <string.h>
7208 #include <float.h>
7209
7210 int
7211 main ()
7212 {
7213
7214 ;
7215 return 0;
7216 }
7217 _ACEOF
7218 if ac_fn_c_try_compile "$LINENO"; then :
7219 ac_cv_header_stdc=yes
7220 else
7221 ac_cv_header_stdc=no
7222 fi
7223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7224
7225 if test $ac_cv_header_stdc = yes; then
7226 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7228 /* end confdefs.h. */
7229 #include <string.h>
7230
7231 _ACEOF
7232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7233 $EGREP "memchr" >/dev/null 2>&1; then :
7234
7235 else
7236 ac_cv_header_stdc=no
7237 fi
7238 rm -f conftest*
7239
7240 fi
7241
7242 if test $ac_cv_header_stdc = yes; then
7243 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7246 #include <stdlib.h>
7247
7248 _ACEOF
7249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7250 $EGREP "free" >/dev/null 2>&1; then :
7251
7252 else
7253 ac_cv_header_stdc=no
7254 fi
7255 rm -f conftest*
7256
7257 fi
7258
7259 if test $ac_cv_header_stdc = yes; then
7260 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7261 if test "$cross_compiling" = yes; then :
7262 :
7263 else
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7266 #include <ctype.h>
7267 #include <stdlib.h>
7268 #if ((' ' & 0x0FF) == 0x020)
7269 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7270 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7271 #else
7272 # define ISLOWER(c) \
7273 (('a' <= (c) && (c) <= 'i') \
7274 || ('j' <= (c) && (c) <= 'r') \
7275 || ('s' <= (c) && (c) <= 'z'))
7276 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7277 #endif
7278
7279 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7280 int
7281 main ()
7282 {
7283 int i;
7284 for (i = 0; i < 256; i++)
7285 if (XOR (islower (i), ISLOWER (i))
7286 || toupper (i) != TOUPPER (i))
7287 return 2;
7288 return 0;
7289 }
7290 _ACEOF
7291 if ac_fn_c_try_run "$LINENO"; then :
7292
7293 else
7294 ac_cv_header_stdc=no
7295 fi
7296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7297 conftest.$ac_objext conftest.beam conftest.$ac_ext
7298 fi
7299
7300 fi
7301 fi
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7303 $as_echo "$ac_cv_header_stdc" >&6; }
7304 if test $ac_cv_header_stdc = yes; then
7305
7306 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7307
7308 fi
7309
7310 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7311 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7312 inttypes.h stdint.h unistd.h
7313 do :
7314 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7315 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7316 "
7317 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7318 cat >>confdefs.h <<_ACEOF
7319 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7320 _ACEOF
7321
7322 fi
7323
7324 done
7325
7326
7327 for ac_header in dlfcn.h
7328 do :
7329 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7330 "
7331 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7332 cat >>confdefs.h <<_ACEOF
7333 #define HAVE_DLFCN_H 1
7334 _ACEOF
7335
7336 fi
7337
7338 done
7339
7340
7341
7342
7343
7344 # Set options
7345
7346
7347
7348 enable_dlopen=no
7349
7350
7351 enable_win32_dll=no
7352
7353
7354
7355
7356
7357 # Check whether --with-pic was given.
7358 if test "${with_pic+set}" = set; then :
7359 withval=$with_pic; lt_p=${PACKAGE-default}
7360 case $withval in
7361 yes|no) pic_mode=$withval ;;
7362 *)
7363 pic_mode=default
7364 # Look at the argument we got. We use all the common list separators.
7365 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7366 for lt_pkg in $withval; do
7367 IFS="$lt_save_ifs"
7368 if test "X$lt_pkg" = "X$lt_p"; then
7369 pic_mode=yes
7370 fi
7371 done
7372 IFS="$lt_save_ifs"
7373 ;;
7374 esac
7375 else
7376 pic_mode=default
7377 fi
7378
7379
7380 test -z "$pic_mode" && pic_mode=default
7381
7382
7383
7384
7385
7386
7387
7388 # Check whether --enable-fast-install was given.
7389 if test "${enable_fast_install+set}" = set; then :
7390 enableval=$enable_fast_install; p=${PACKAGE-default}
7391 case $enableval in
7392 yes) enable_fast_install=yes ;;
7393 no) enable_fast_install=no ;;
7394 *)
7395 enable_fast_install=no
7396 # Look at the argument we got. We use all the common list separators.
7397 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7398 for pkg in $enableval; do
7399 IFS="$lt_save_ifs"
7400 if test "X$pkg" = "X$p"; then
7401 enable_fast_install=yes
7402 fi
7403 done
7404 IFS="$lt_save_ifs"
7405 ;;
7406 esac
7407 else
7408 enable_fast_install=yes
7409 fi
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421 # This can be used to rebuild libtool when needed
7422 LIBTOOL_DEPS="$ltmain"
7423
7424 # Always use our own libtool.
7425 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456 test -z "$LN_S" && LN_S="ln -s"
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471 if test -n "${ZSH_VERSION+set}" ; then
7472 setopt NO_GLOB_SUBST
7473 fi
7474
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7476 $as_echo_n "checking for objdir... " >&6; }
7477 if ${lt_cv_objdir+:} false; then :
7478 $as_echo_n "(cached) " >&6
7479 else
7480 rm -f .libs 2>/dev/null
7481 mkdir .libs 2>/dev/null
7482 if test -d .libs; then
7483 lt_cv_objdir=.libs
7484 else
7485 # MS-DOS does not allow filenames that begin with a dot.
7486 lt_cv_objdir=_libs
7487 fi
7488 rmdir .libs 2>/dev/null
7489 fi
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7491 $as_echo "$lt_cv_objdir" >&6; }
7492 objdir=$lt_cv_objdir
7493
7494
7495
7496
7497
7498 cat >>confdefs.h <<_ACEOF
7499 #define LT_OBJDIR "$lt_cv_objdir/"
7500 _ACEOF
7501
7502
7503
7504
7505 case $host_os in
7506 aix3*)
7507 # AIX sometimes has problems with the GCC collect2 program. For some
7508 # reason, if we set the COLLECT_NAMES environment variable, the problems
7509 # vanish in a puff of smoke.
7510 if test "X${COLLECT_NAMES+set}" != Xset; then
7511 COLLECT_NAMES=
7512 export COLLECT_NAMES
7513 fi
7514 ;;
7515 esac
7516
7517 # Global variables:
7518 ofile=libtool
7519 can_build_shared=yes
7520
7521 # All known linkers require a `.a' archive for static linking (except MSVC,
7522 # which needs '.lib').
7523 libext=a
7524
7525 with_gnu_ld="$lt_cv_prog_gnu_ld"
7526
7527 old_CC="$CC"
7528 old_CFLAGS="$CFLAGS"
7529
7530 # Set sane defaults for various variables
7531 test -z "$CC" && CC=cc
7532 test -z "$LTCC" && LTCC=$CC
7533 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7534 test -z "$LD" && LD=ld
7535 test -z "$ac_objext" && ac_objext=o
7536
7537 for cc_temp in $compiler""; do
7538 case $cc_temp in
7539 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7540 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7541 \-*) ;;
7542 *) break;;
7543 esac
7544 done
7545 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7546
7547
7548 # Only perform the check for file, if the check method requires it
7549 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7550 case $deplibs_check_method in
7551 file_magic*)
7552 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7554 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7555 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7556 $as_echo_n "(cached) " >&6
7557 else
7558 case $MAGIC_CMD in
7559 [\\/*] | ?:[\\/]*)
7560 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7561 ;;
7562 *)
7563 lt_save_MAGIC_CMD="$MAGIC_CMD"
7564 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7565 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7566 for ac_dir in $ac_dummy; do
7567 IFS="$lt_save_ifs"
7568 test -z "$ac_dir" && ac_dir=.
7569 if test -f $ac_dir/${ac_tool_prefix}file; then
7570 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7571 if test -n "$file_magic_test_file"; then
7572 case $deplibs_check_method in
7573 "file_magic "*)
7574 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7575 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7576 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7577 $EGREP "$file_magic_regex" > /dev/null; then
7578 :
7579 else
7580 cat <<_LT_EOF 1>&2
7581
7582 *** Warning: the command libtool uses to detect shared libraries,
7583 *** $file_magic_cmd, produces output that libtool cannot recognize.
7584 *** The result is that libtool may fail to recognize shared libraries
7585 *** as such. This will affect the creation of libtool libraries that
7586 *** depend on shared libraries, but programs linked with such libtool
7587 *** libraries will work regardless of this problem. Nevertheless, you
7588 *** may want to report the problem to your system manager and/or to
7589 *** [email protected]
7590
7591 _LT_EOF
7592 fi ;;
7593 esac
7594 fi
7595 break
7596 fi
7597 done
7598 IFS="$lt_save_ifs"
7599 MAGIC_CMD="$lt_save_MAGIC_CMD"
7600 ;;
7601 esac
7602 fi
7603
7604 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7605 if test -n "$MAGIC_CMD"; then
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7607 $as_echo "$MAGIC_CMD" >&6; }
7608 else
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7610 $as_echo "no" >&6; }
7611 fi
7612
7613
7614
7615
7616
7617 if test -z "$lt_cv_path_MAGIC_CMD"; then
7618 if test -n "$ac_tool_prefix"; then
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7620 $as_echo_n "checking for file... " >&6; }
7621 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7622 $as_echo_n "(cached) " >&6
7623 else
7624 case $MAGIC_CMD in
7625 [\\/*] | ?:[\\/]*)
7626 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7627 ;;
7628 *)
7629 lt_save_MAGIC_CMD="$MAGIC_CMD"
7630 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7631 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7632 for ac_dir in $ac_dummy; do
7633 IFS="$lt_save_ifs"
7634 test -z "$ac_dir" && ac_dir=.
7635 if test -f $ac_dir/file; then
7636 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7637 if test -n "$file_magic_test_file"; then
7638 case $deplibs_check_method in
7639 "file_magic "*)
7640 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7641 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7642 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7643 $EGREP "$file_magic_regex" > /dev/null; then
7644 :
7645 else
7646 cat <<_LT_EOF 1>&2
7647
7648 *** Warning: the command libtool uses to detect shared libraries,
7649 *** $file_magic_cmd, produces output that libtool cannot recognize.
7650 *** The result is that libtool may fail to recognize shared libraries
7651 *** as such. This will affect the creation of libtool libraries that
7652 *** depend on shared libraries, but programs linked with such libtool
7653 *** libraries will work regardless of this problem. Nevertheless, you
7654 *** may want to report the problem to your system manager and/or to
7655 *** [email protected]
7656
7657 _LT_EOF
7658 fi ;;
7659 esac
7660 fi
7661 break
7662 fi
7663 done
7664 IFS="$lt_save_ifs"
7665 MAGIC_CMD="$lt_save_MAGIC_CMD"
7666 ;;
7667 esac
7668 fi
7669
7670 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7671 if test -n "$MAGIC_CMD"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7673 $as_echo "$MAGIC_CMD" >&6; }
7674 else
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676 $as_echo "no" >&6; }
7677 fi
7678
7679
7680 else
7681 MAGIC_CMD=:
7682 fi
7683 fi
7684
7685 fi
7686 ;;
7687 esac
7688
7689 # Use C for the default configuration in the libtool script
7690
7691 lt_save_CC="$CC"
7692 ac_ext=c
7693 ac_cpp='$CPP $CPPFLAGS'
7694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7697
7698
7699 # Source file extension for C test sources.
7700 ac_ext=c
7701
7702 # Object file extension for compiled C test sources.
7703 objext=o
7704 objext=$objext
7705
7706 # Code to be used in simple compile tests
7707 lt_simple_compile_test_code="int some_variable = 0;"
7708
7709 # Code to be used in simple link tests
7710 lt_simple_link_test_code='int main(){return(0);}'
7711
7712
7713
7714
7715
7716
7717
7718 # If no C compiler was specified, use CC.
7719 LTCC=${LTCC-"$CC"}
7720
7721 # If no C compiler flags were specified, use CFLAGS.
7722 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7723
7724 # Allow CC to be a program name with arguments.
7725 compiler=$CC
7726
7727 # Save the default compiler, since it gets overwritten when the other
7728 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7729 compiler_DEFAULT=$CC
7730
7731 # save warnings/boilerplate of simple test code
7732 ac_outfile=conftest.$ac_objext
7733 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7734 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7735 _lt_compiler_boilerplate=`cat conftest.err`
7736 $RM conftest*
7737
7738 ac_outfile=conftest.$ac_objext
7739 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7740 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7741 _lt_linker_boilerplate=`cat conftest.err`
7742 $RM -r conftest*
7743
7744
7745 ## CAVEAT EMPTOR:
7746 ## There is no encapsulation within the following macros, do not change
7747 ## the running order or otherwise move them around unless you know exactly
7748 ## what you are doing...
7749 if test -n "$compiler"; then
7750
7751 lt_prog_compiler_no_builtin_flag=
7752
7753 if test "$GCC" = yes; then
7754 case $cc_basename in
7755 nvcc*)
7756 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7757 *)
7758 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7759 esac
7760
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7762 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7763 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7764 $as_echo_n "(cached) " >&6
7765 else
7766 lt_cv_prog_compiler_rtti_exceptions=no
7767 ac_outfile=conftest.$ac_objext
7768 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7769 lt_compiler_flag="-fno-rtti -fno-exceptions"
7770 # Insert the option either (1) after the last *FLAGS variable, or
7771 # (2) before a word containing "conftest.", or (3) at the end.
7772 # Note that $ac_compile itself does not contain backslashes and begins
7773 # with a dollar sign (not a hyphen), so the echo should work correctly.
7774 # The option is referenced via a variable to avoid confusing sed.
7775 lt_compile=`echo "$ac_compile" | $SED \
7776 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7777 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7778 -e 's:$: $lt_compiler_flag:'`
7779 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7780 (eval "$lt_compile" 2>conftest.err)
7781 ac_status=$?
7782 cat conftest.err >&5
7783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7784 if (exit $ac_status) && test -s "$ac_outfile"; then
7785 # The compiler can only warn and ignore the option if not recognized
7786 # So say no if there are warnings other than the usual output.
7787 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7788 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7789 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7790 lt_cv_prog_compiler_rtti_exceptions=yes
7791 fi
7792 fi
7793 $RM conftest*
7794
7795 fi
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7797 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7798
7799 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7800 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7801 else
7802 :
7803 fi
7804
7805 fi
7806
7807
7808
7809
7810
7811
7812 lt_prog_compiler_wl=
7813 lt_prog_compiler_pic=
7814 lt_prog_compiler_static=
7815
7816
7817 if test "$GCC" = yes; then
7818 lt_prog_compiler_wl='-Wl,'
7819 lt_prog_compiler_static='-static'
7820
7821 case $host_os in
7822 aix*)
7823 # All AIX code is PIC.
7824 if test "$host_cpu" = ia64; then
7825 # AIX 5 now supports IA64 processor
7826 lt_prog_compiler_static='-Bstatic'
7827 fi
7828 ;;
7829
7830 amigaos*)
7831 case $host_cpu in
7832 powerpc)
7833 # see comment about AmigaOS4 .so support
7834 lt_prog_compiler_pic='-fPIC'
7835 ;;
7836 m68k)
7837 # FIXME: we need at least 68020 code to build shared libraries, but
7838 # adding the `-m68020' flag to GCC prevents building anything better,
7839 # like `-m68040'.
7840 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7841 ;;
7842 esac
7843 ;;
7844
7845 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7846 # PIC is the default for these OSes.
7847 ;;
7848
7849 mingw* | cygwin* | pw32* | os2* | cegcc*)
7850 # This hack is so that the source file can tell whether it is being
7851 # built for inclusion in a dll (and should export symbols for example).
7852 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7853 # (--disable-auto-import) libraries
7854 lt_prog_compiler_pic='-DDLL_EXPORT'
7855 ;;
7856
7857 darwin* | rhapsody*)
7858 # PIC is the default on this platform
7859 # Common symbols not allowed in MH_DYLIB files
7860 lt_prog_compiler_pic='-fno-common'
7861 ;;
7862
7863 haiku*)
7864 # PIC is the default for Haiku.
7865 # The "-static" flag exists, but is broken.
7866 lt_prog_compiler_static=
7867 ;;
7868
7869 hpux*)
7870 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7871 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7872 # sets the default TLS model and affects inlining.
7873 case $host_cpu in
7874 hppa*64*)
7875 # +Z the default
7876 ;;
7877 *)
7878 lt_prog_compiler_pic='-fPIC'
7879 ;;
7880 esac
7881 ;;
7882
7883 interix[3-9]*)
7884 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7885 # Instead, we relocate shared libraries at runtime.
7886 ;;
7887
7888 msdosdjgpp*)
7889 # Just because we use GCC doesn't mean we suddenly get shared libraries
7890 # on systems that don't support them.
7891 lt_prog_compiler_can_build_shared=no
7892 enable_shared=no
7893 ;;
7894
7895 *nto* | *qnx*)
7896 # QNX uses GNU C++, but need to define -shared option too, otherwise
7897 # it will coredump.
7898 lt_prog_compiler_pic='-fPIC -shared'
7899 ;;
7900
7901 sysv4*MP*)
7902 if test -d /usr/nec; then
7903 lt_prog_compiler_pic=-Kconform_pic
7904 fi
7905 ;;
7906
7907 *)
7908 lt_prog_compiler_pic='-fPIC'
7909 ;;
7910 esac
7911
7912 case $cc_basename in
7913 nvcc*) # Cuda Compiler Driver 2.2
7914 lt_prog_compiler_wl='-Xlinker '
7915 if test -n "$lt_prog_compiler_pic"; then
7916 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
7917 fi
7918 ;;
7919 esac
7920 else
7921 # PORTME Check for flag to pass linker flags through the system compiler.
7922 case $host_os in
7923 aix*)
7924 lt_prog_compiler_wl='-Wl,'
7925 if test "$host_cpu" = ia64; then
7926 # AIX 5 now supports IA64 processor
7927 lt_prog_compiler_static='-Bstatic'
7928 else
7929 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7930 fi
7931 ;;
7932
7933 mingw* | cygwin* | pw32* | os2* | cegcc*)
7934 # This hack is so that the source file can tell whether it is being
7935 # built for inclusion in a dll (and should export symbols for example).
7936 lt_prog_compiler_pic='-DDLL_EXPORT'
7937 ;;
7938
7939 hpux9* | hpux10* | hpux11*)
7940 lt_prog_compiler_wl='-Wl,'
7941 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7942 # not for PA HP-UX.
7943 case $host_cpu in
7944 hppa*64*|ia64*)
7945 # +Z the default
7946 ;;
7947 *)
7948 lt_prog_compiler_pic='+Z'
7949 ;;
7950 esac
7951 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7952 lt_prog_compiler_static='${wl}-a ${wl}archive'
7953 ;;
7954
7955 irix5* | irix6* | nonstopux*)
7956 lt_prog_compiler_wl='-Wl,'
7957 # PIC (with -KPIC) is the default.
7958 lt_prog_compiler_static='-non_shared'
7959 ;;
7960
7961 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7962 case $cc_basename in
7963 # old Intel for x86_64 which still supported -KPIC.
7964 ecc*)
7965 lt_prog_compiler_wl='-Wl,'
7966 lt_prog_compiler_pic='-KPIC'
7967 lt_prog_compiler_static='-static'
7968 ;;
7969 # icc used to be incompatible with GCC.
7970 # ICC 10 doesn't accept -KPIC any more.
7971 icc* | ifort*)
7972 lt_prog_compiler_wl='-Wl,'
7973 lt_prog_compiler_pic='-fPIC'
7974 lt_prog_compiler_static='-static'
7975 ;;
7976 # Lahey Fortran 8.1.
7977 lf95*)
7978 lt_prog_compiler_wl='-Wl,'
7979 lt_prog_compiler_pic='--shared'
7980 lt_prog_compiler_static='--static'
7981 ;;
7982 nagfor*)
7983 # NAG Fortran compiler
7984 lt_prog_compiler_wl='-Wl,-Wl,,'
7985 lt_prog_compiler_pic='-PIC'
7986 lt_prog_compiler_static='-Bstatic'
7987 ;;
7988 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7989 # Portland Group compilers (*not* the Pentium gcc compiler,
7990 # which looks to be a dead project)
7991 lt_prog_compiler_wl='-Wl,'
7992 lt_prog_compiler_pic='-fpic'
7993 lt_prog_compiler_static='-Bstatic'
7994 ;;
7995 ccc*)
7996 lt_prog_compiler_wl='-Wl,'
7997 # All Alpha code is PIC.
7998 lt_prog_compiler_static='-non_shared'
7999 ;;
8000 xl* | bgxl* | bgf* | mpixl*)
8001 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8002 lt_prog_compiler_wl='-Wl,'
8003 lt_prog_compiler_pic='-qpic'
8004 lt_prog_compiler_static='-qstaticlink'
8005 ;;
8006 *)
8007 case `$CC -V 2>&1 | sed 5q` in
8008 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8009 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8010 lt_prog_compiler_pic='-KPIC'
8011 lt_prog_compiler_static='-Bstatic'
8012 lt_prog_compiler_wl=''
8013 ;;
8014 *Sun\ F* | *Sun*Fortran*)
8015 lt_prog_compiler_pic='-KPIC'
8016 lt_prog_compiler_static='-Bstatic'
8017 lt_prog_compiler_wl='-Qoption ld '
8018 ;;
8019 *Sun\ C*)
8020 # Sun C 5.9
8021 lt_prog_compiler_pic='-KPIC'
8022 lt_prog_compiler_static='-Bstatic'
8023 lt_prog_compiler_wl='-Wl,'
8024 ;;
8025 *Intel*\ [CF]*Compiler*)
8026 lt_prog_compiler_wl='-Wl,'
8027 lt_prog_compiler_pic='-fPIC'
8028 lt_prog_compiler_static='-static'
8029 ;;
8030 *Portland\ Group*)
8031 lt_prog_compiler_wl='-Wl,'
8032 lt_prog_compiler_pic='-fpic'
8033 lt_prog_compiler_static='-Bstatic'
8034 ;;
8035 esac
8036 ;;
8037 esac
8038 ;;
8039
8040 newsos6)
8041 lt_prog_compiler_pic='-KPIC'
8042 lt_prog_compiler_static='-Bstatic'
8043 ;;
8044
8045 *nto* | *qnx*)
8046 # QNX uses GNU C++, but need to define -shared option too, otherwise
8047 # it will coredump.
8048 lt_prog_compiler_pic='-fPIC -shared'
8049 ;;
8050
8051 osf3* | osf4* | osf5*)
8052 lt_prog_compiler_wl='-Wl,'
8053 # All OSF/1 code is PIC.
8054 lt_prog_compiler_static='-non_shared'
8055 ;;
8056
8057 rdos*)
8058 lt_prog_compiler_static='-non_shared'
8059 ;;
8060
8061 solaris*)
8062 lt_prog_compiler_pic='-KPIC'
8063 lt_prog_compiler_static='-Bstatic'
8064 case $cc_basename in
8065 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8066 lt_prog_compiler_wl='-Qoption ld ';;
8067 *)
8068 lt_prog_compiler_wl='-Wl,';;
8069 esac
8070 ;;
8071
8072 sunos4*)
8073 lt_prog_compiler_wl='-Qoption ld '
8074 lt_prog_compiler_pic='-PIC'
8075 lt_prog_compiler_static='-Bstatic'
8076 ;;
8077
8078 sysv4 | sysv4.2uw2* | sysv4.3*)
8079 lt_prog_compiler_wl='-Wl,'
8080 lt_prog_compiler_pic='-KPIC'
8081 lt_prog_compiler_static='-Bstatic'
8082 ;;
8083
8084 sysv4*MP*)
8085 if test -d /usr/nec ;then
8086 lt_prog_compiler_pic='-Kconform_pic'
8087 lt_prog_compiler_static='-Bstatic'
8088 fi
8089 ;;
8090
8091 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8092 lt_prog_compiler_wl='-Wl,'
8093 lt_prog_compiler_pic='-KPIC'
8094 lt_prog_compiler_static='-Bstatic'
8095 ;;
8096
8097 unicos*)
8098 lt_prog_compiler_wl='-Wl,'
8099 lt_prog_compiler_can_build_shared=no
8100 ;;
8101
8102 uts4*)
8103 lt_prog_compiler_pic='-pic'
8104 lt_prog_compiler_static='-Bstatic'
8105 ;;
8106
8107 *)
8108 lt_prog_compiler_can_build_shared=no
8109 ;;
8110 esac
8111 fi
8112
8113 case $host_os in
8114 # For platforms which do not support PIC, -DPIC is meaningless:
8115 *djgpp*)
8116 lt_prog_compiler_pic=
8117 ;;
8118 *)
8119 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8120 ;;
8121 esac
8122
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8124 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8125 if ${lt_cv_prog_compiler_pic+:} false; then :
8126 $as_echo_n "(cached) " >&6
8127 else
8128 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8129 fi
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8131 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8132 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8133
8134 #
8135 # Check to make sure the PIC flag actually works.
8136 #
8137 if test -n "$lt_prog_compiler_pic"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8139 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8140 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8141 $as_echo_n "(cached) " >&6
8142 else
8143 lt_cv_prog_compiler_pic_works=no
8144 ac_outfile=conftest.$ac_objext
8145 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8146 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8147 # Insert the option either (1) after the last *FLAGS variable, or
8148 # (2) before a word containing "conftest.", or (3) at the end.
8149 # Note that $ac_compile itself does not contain backslashes and begins
8150 # with a dollar sign (not a hyphen), so the echo should work correctly.
8151 # The option is referenced via a variable to avoid confusing sed.
8152 lt_compile=`echo "$ac_compile" | $SED \
8153 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8154 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8155 -e 's:$: $lt_compiler_flag:'`
8156 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8157 (eval "$lt_compile" 2>conftest.err)
8158 ac_status=$?
8159 cat conftest.err >&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 if (exit $ac_status) && test -s "$ac_outfile"; then
8162 # The compiler can only warn and ignore the option if not recognized
8163 # So say no if there are warnings other than the usual output.
8164 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8165 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8166 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8167 lt_cv_prog_compiler_pic_works=yes
8168 fi
8169 fi
8170 $RM conftest*
8171
8172 fi
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8174 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8175
8176 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8177 case $lt_prog_compiler_pic in
8178 "" | " "*) ;;
8179 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8180 esac
8181 else
8182 lt_prog_compiler_pic=
8183 lt_prog_compiler_can_build_shared=no
8184 fi
8185
8186 fi
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198 #
8199 # Check to make sure the static flag actually works.
8200 #
8201 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8203 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8204 if ${lt_cv_prog_compiler_static_works+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 lt_cv_prog_compiler_static_works=no
8208 save_LDFLAGS="$LDFLAGS"
8209 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8210 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8211 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8212 # The linker can only warn and ignore the option if not recognized
8213 # So say no if there are warnings
8214 if test -s conftest.err; then
8215 # Append any errors to the config.log.
8216 cat conftest.err 1>&5
8217 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8218 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8219 if diff conftest.exp conftest.er2 >/dev/null; then
8220 lt_cv_prog_compiler_static_works=yes
8221 fi
8222 else
8223 lt_cv_prog_compiler_static_works=yes
8224 fi
8225 fi
8226 $RM -r conftest*
8227 LDFLAGS="$save_LDFLAGS"
8228
8229 fi
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8231 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8232
8233 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8234 :
8235 else
8236 lt_prog_compiler_static=
8237 fi
8238
8239
8240
8241
8242
8243
8244
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8246 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8247 if ${lt_cv_prog_compiler_c_o+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 lt_cv_prog_compiler_c_o=no
8251 $RM -r conftest 2>/dev/null
8252 mkdir conftest
8253 cd conftest
8254 mkdir out
8255 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8256
8257 lt_compiler_flag="-o out/conftest2.$ac_objext"
8258 # Insert the option either (1) after the last *FLAGS variable, or
8259 # (2) before a word containing "conftest.", or (3) at the end.
8260 # Note that $ac_compile itself does not contain backslashes and begins
8261 # with a dollar sign (not a hyphen), so the echo should work correctly.
8262 lt_compile=`echo "$ac_compile" | $SED \
8263 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8264 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8265 -e 's:$: $lt_compiler_flag:'`
8266 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8267 (eval "$lt_compile" 2>out/conftest.err)
8268 ac_status=$?
8269 cat out/conftest.err >&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8272 then
8273 # The compiler can only warn and ignore the option if not recognized
8274 # So say no if there are warnings
8275 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8276 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8277 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8278 lt_cv_prog_compiler_c_o=yes
8279 fi
8280 fi
8281 chmod u+w . 2>&5
8282 $RM conftest*
8283 # SGI C++ compiler will create directory out/ii_files/ for
8284 # template instantiation
8285 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8286 $RM out/* && rmdir out
8287 cd ..
8288 $RM -r conftest
8289 $RM conftest*
8290
8291 fi
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8293 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8294
8295
8296
8297
8298
8299
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8301 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8302 if ${lt_cv_prog_compiler_c_o+:} false; then :
8303 $as_echo_n "(cached) " >&6
8304 else
8305 lt_cv_prog_compiler_c_o=no
8306 $RM -r conftest 2>/dev/null
8307 mkdir conftest
8308 cd conftest
8309 mkdir out
8310 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8311
8312 lt_compiler_flag="-o out/conftest2.$ac_objext"
8313 # Insert the option either (1) after the last *FLAGS variable, or
8314 # (2) before a word containing "conftest.", or (3) at the end.
8315 # Note that $ac_compile itself does not contain backslashes and begins
8316 # with a dollar sign (not a hyphen), so the echo should work correctly.
8317 lt_compile=`echo "$ac_compile" | $SED \
8318 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8319 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8320 -e 's:$: $lt_compiler_flag:'`
8321 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8322 (eval "$lt_compile" 2>out/conftest.err)
8323 ac_status=$?
8324 cat out/conftest.err >&5
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8327 then
8328 # The compiler can only warn and ignore the option if not recognized
8329 # So say no if there are warnings
8330 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8331 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8332 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8333 lt_cv_prog_compiler_c_o=yes
8334 fi
8335 fi
8336 chmod u+w . 2>&5
8337 $RM conftest*
8338 # SGI C++ compiler will create directory out/ii_files/ for
8339 # template instantiation
8340 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8341 $RM out/* && rmdir out
8342 cd ..
8343 $RM -r conftest
8344 $RM conftest*
8345
8346 fi
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8348 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8349
8350
8351
8352
8353 hard_links="nottested"
8354 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8355 # do not overwrite the value of need_locks provided by the user
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8357 $as_echo_n "checking if we can lock with hard links... " >&6; }
8358 hard_links=yes
8359 $RM conftest*
8360 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8361 touch conftest.a
8362 ln conftest.a conftest.b 2>&5 || hard_links=no
8363 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8365 $as_echo "$hard_links" >&6; }
8366 if test "$hard_links" = no; then
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8368 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8369 need_locks=warn
8370 fi
8371 else
8372 need_locks=no
8373 fi
8374
8375
8376
8377
8378
8379
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8381 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8382
8383 runpath_var=
8384 allow_undefined_flag=
8385 always_export_symbols=no
8386 archive_cmds=
8387 archive_expsym_cmds=
8388 compiler_needs_object=no
8389 enable_shared_with_static_runtimes=no
8390 export_dynamic_flag_spec=
8391 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8392 hardcode_automatic=no
8393 hardcode_direct=no
8394 hardcode_direct_absolute=no
8395 hardcode_libdir_flag_spec=
8396 hardcode_libdir_separator=
8397 hardcode_minus_L=no
8398 hardcode_shlibpath_var=unsupported
8399 inherit_rpath=no
8400 link_all_deplibs=unknown
8401 module_cmds=
8402 module_expsym_cmds=
8403 old_archive_from_new_cmds=
8404 old_archive_from_expsyms_cmds=
8405 thread_safe_flag_spec=
8406 whole_archive_flag_spec=
8407 # include_expsyms should be a list of space-separated symbols to be *always*
8408 # included in the symbol list
8409 include_expsyms=
8410 # exclude_expsyms can be an extended regexp of symbols to exclude
8411 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8412 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8413 # as well as any symbol that contains `d'.
8414 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8415 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8416 # platforms (ab)use it in PIC code, but their linkers get confused if
8417 # the symbol is explicitly referenced. Since portable code cannot
8418 # rely on this symbol name, it's probably fine to never include it in
8419 # preloaded symbol tables.
8420 # Exclude shared library initialization/finalization symbols.
8421 extract_expsyms_cmds=
8422
8423 case $host_os in
8424 cygwin* | mingw* | pw32* | cegcc*)
8425 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8426 # When not using gcc, we currently assume that we are using
8427 # Microsoft Visual C++.
8428 if test "$GCC" != yes; then
8429 with_gnu_ld=no
8430 fi
8431 ;;
8432 interix*)
8433 # we just hope/assume this is gcc and not c89 (= MSVC++)
8434 with_gnu_ld=yes
8435 ;;
8436 openbsd*)
8437 with_gnu_ld=no
8438 ;;
8439 esac
8440
8441 ld_shlibs=yes
8442
8443 # On some targets, GNU ld is compatible enough with the native linker
8444 # that we're better off using the native interface for both.
8445 lt_use_gnu_ld_interface=no
8446 if test "$with_gnu_ld" = yes; then
8447 case $host_os in
8448 aix*)
8449 # The AIX port of GNU ld has always aspired to compatibility
8450 # with the native linker. However, as the warning in the GNU ld
8451 # block says, versions before 2.19.5* couldn't really create working
8452 # shared libraries, regardless of the interface used.
8453 case `$LD -v 2>&1` in
8454 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8455 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8456 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8457 *)
8458 lt_use_gnu_ld_interface=yes
8459 ;;
8460 esac
8461 ;;
8462 *)
8463 lt_use_gnu_ld_interface=yes
8464 ;;
8465 esac
8466 fi
8467
8468 if test "$lt_use_gnu_ld_interface" = yes; then
8469 # If archive_cmds runs LD, not CC, wlarc should be empty
8470 wlarc='${wl}'
8471
8472 # Set some defaults for GNU ld with shared library support. These
8473 # are reset later if shared libraries are not supported. Putting them
8474 # here allows them to be overridden if necessary.
8475 runpath_var=LD_RUN_PATH
8476 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8477 export_dynamic_flag_spec='${wl}--export-dynamic'
8478 # ancient GNU ld didn't support --whole-archive et. al.
8479 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8480 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8481 else
8482 whole_archive_flag_spec=
8483 fi
8484 supports_anon_versioning=no
8485 case `$LD -v 2>&1` in
8486 *GNU\ gold*) supports_anon_versioning=yes ;;
8487 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8488 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8489 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8490 *\ 2.11.*) ;; # other 2.11 versions
8491 *) supports_anon_versioning=yes ;;
8492 esac
8493
8494 # See if GNU ld supports shared libraries.
8495 case $host_os in
8496 aix[3-9]*)
8497 # On AIX/PPC, the GNU linker is very broken
8498 if test "$host_cpu" != ia64; then
8499 ld_shlibs=no
8500 cat <<_LT_EOF 1>&2
8501
8502 *** Warning: the GNU linker, at least up to release 2.19, is reported
8503 *** to be unable to reliably create shared libraries on AIX.
8504 *** Therefore, libtool is disabling shared libraries support. If you
8505 *** really care for shared libraries, you may want to install binutils
8506 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8507 *** You will then need to restart the configuration process.
8508
8509 _LT_EOF
8510 fi
8511 ;;
8512
8513 amigaos*)
8514 case $host_cpu in
8515 powerpc)
8516 # see comment about AmigaOS4 .so support
8517 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8518 archive_expsym_cmds=''
8519 ;;
8520 m68k)
8521 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)'
8522 hardcode_libdir_flag_spec='-L$libdir'
8523 hardcode_minus_L=yes
8524 ;;
8525 esac
8526 ;;
8527
8528 beos*)
8529 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8530 allow_undefined_flag=unsupported
8531 # Joseph Beckenbach <[email protected]> says some releases of gcc
8532 # support --undefined. This deserves some investigation. FIXME
8533 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8534 else
8535 ld_shlibs=no
8536 fi
8537 ;;
8538
8539 cygwin* | mingw* | pw32* | cegcc*)
8540 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8541 # as there is no search path for DLLs.
8542 hardcode_libdir_flag_spec='-L$libdir'
8543 export_dynamic_flag_spec='${wl}--export-all-symbols'
8544 allow_undefined_flag=unsupported
8545 always_export_symbols=no
8546 enable_shared_with_static_runtimes=yes
8547 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8548 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8549
8550 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8551 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8552 # If the export-symbols file already is a .def file (1st line
8553 # is EXPORTS), use it as is; otherwise, prepend...
8554 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8555 cp $export_symbols $output_objdir/$soname.def;
8556 else
8557 echo EXPORTS > $output_objdir/$soname.def;
8558 cat $export_symbols >> $output_objdir/$soname.def;
8559 fi~
8560 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8561 else
8562 ld_shlibs=no
8563 fi
8564 ;;
8565
8566 haiku*)
8567 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8568 link_all_deplibs=yes
8569 ;;
8570
8571 interix[3-9]*)
8572 hardcode_direct=no
8573 hardcode_shlibpath_var=no
8574 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8575 export_dynamic_flag_spec='${wl}-E'
8576 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8577 # Instead, shared libraries are loaded at an image base (0x10000000 by
8578 # default) and relocated if they conflict, which is a slow very memory
8579 # consuming and fragmenting process. To avoid this, we pick a random,
8580 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8581 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8582 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8583 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'
8584 ;;
8585
8586 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8587 tmp_diet=no
8588 if test "$host_os" = linux-dietlibc; then
8589 case $cc_basename in
8590 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8591 esac
8592 fi
8593 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8594 && test "$tmp_diet" = no
8595 then
8596 tmp_addflag=' $pic_flag'
8597 tmp_sharedflag='-shared'
8598 case $cc_basename,$host_cpu in
8599 pgcc*) # Portland Group C compiler
8600 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8601 tmp_addflag=' $pic_flag'
8602 ;;
8603 pgf77* | pgf90* | pgf95* | pgfortran*)
8604 # Portland Group f77 and f90 compilers
8605 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8606 tmp_addflag=' $pic_flag -Mnomain' ;;
8607 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8608 tmp_addflag=' -i_dynamic' ;;
8609 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8610 tmp_addflag=' -i_dynamic -nofor_main' ;;
8611 ifc* | ifort*) # Intel Fortran compiler
8612 tmp_addflag=' -nofor_main' ;;
8613 lf95*) # Lahey Fortran 8.1
8614 whole_archive_flag_spec=
8615 tmp_sharedflag='--shared' ;;
8616 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8617 tmp_sharedflag='-qmkshrobj'
8618 tmp_addflag= ;;
8619 nvcc*) # Cuda Compiler Driver 2.2
8620 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8621 compiler_needs_object=yes
8622 ;;
8623 esac
8624 case `$CC -V 2>&1 | sed 5q` in
8625 *Sun\ C*) # Sun C 5.9
8626 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8627 compiler_needs_object=yes
8628 tmp_sharedflag='-G' ;;
8629 *Sun\ F*) # Sun Fortran 8.3
8630 tmp_sharedflag='-G' ;;
8631 esac
8632 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8633
8634 if test "x$supports_anon_versioning" = xyes; then
8635 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8636 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8637 echo "local: *; };" >> $output_objdir/$libname.ver~
8638 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8639 fi
8640
8641 case $cc_basename in
8642 xlf* | bgf* | bgxlf* | mpixlf*)
8643 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8644 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8645 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8646 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8647 if test "x$supports_anon_versioning" = xyes; then
8648 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8649 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8650 echo "local: *; };" >> $output_objdir/$libname.ver~
8651 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8652 fi
8653 ;;
8654 esac
8655 else
8656 ld_shlibs=no
8657 fi
8658 ;;
8659
8660 netbsd*)
8661 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8662 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8663 wlarc=
8664 else
8665 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8666 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8667 fi
8668 ;;
8669
8670 solaris*)
8671 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8672 ld_shlibs=no
8673 cat <<_LT_EOF 1>&2
8674
8675 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8676 *** create shared libraries on Solaris systems. Therefore, libtool
8677 *** is disabling shared libraries support. We urge you to upgrade GNU
8678 *** binutils to release 2.9.1 or newer. Another option is to modify
8679 *** your PATH or compiler configuration so that the native linker is
8680 *** used, and then restart.
8681
8682 _LT_EOF
8683 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8684 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8685 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8686 else
8687 ld_shlibs=no
8688 fi
8689 ;;
8690
8691 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8692 case `$LD -v 2>&1` in
8693 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8694 ld_shlibs=no
8695 cat <<_LT_EOF 1>&2
8696
8697 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8698 *** reliably create shared libraries on SCO systems. Therefore, libtool
8699 *** is disabling shared libraries support. We urge you to upgrade GNU
8700 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8701 *** your PATH or compiler configuration so that the native linker is
8702 *** used, and then restart.
8703
8704 _LT_EOF
8705 ;;
8706 *)
8707 # For security reasons, it is highly recommended that you always
8708 # use absolute paths for naming shared libraries, and exclude the
8709 # DT_RUNPATH tag from executables and libraries. But doing so
8710 # requires that you compile everything twice, which is a pain.
8711 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8712 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8713 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8714 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8715 else
8716 ld_shlibs=no
8717 fi
8718 ;;
8719 esac
8720 ;;
8721
8722 sunos4*)
8723 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8724 wlarc=
8725 hardcode_direct=yes
8726 hardcode_shlibpath_var=no
8727 ;;
8728
8729 *)
8730 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8731 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8732 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8733 else
8734 ld_shlibs=no
8735 fi
8736 ;;
8737 esac
8738
8739 if test "$ld_shlibs" = no; then
8740 runpath_var=
8741 hardcode_libdir_flag_spec=
8742 export_dynamic_flag_spec=
8743 whole_archive_flag_spec=
8744 fi
8745 else
8746 # PORTME fill in a description of your system's linker (not GNU ld)
8747 case $host_os in
8748 aix3*)
8749 allow_undefined_flag=unsupported
8750 always_export_symbols=yes
8751 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'
8752 # Note: this linker hardcodes the directories in LIBPATH if there
8753 # are no directories specified by -L.
8754 hardcode_minus_L=yes
8755 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8756 # Neither direct hardcoding nor static linking is supported with a
8757 # broken collect2.
8758 hardcode_direct=unsupported
8759 fi
8760 ;;
8761
8762 aix[4-9]*)
8763 if test "$host_cpu" = ia64; then
8764 # On IA64, the linker does run time linking by default, so we don't
8765 # have to do anything special.
8766 aix_use_runtimelinking=no
8767 exp_sym_flag='-Bexport'
8768 no_entry_flag=""
8769 else
8770 # If we're using GNU nm, then we don't want the "-C" option.
8771 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8772 # Also, AIX nm treats weak defined symbols like other global
8773 # defined symbols, whereas GNU nm marks them as "W".
8774 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8775 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8776 else
8777 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'
8778 fi
8779 aix_use_runtimelinking=no
8780
8781 # Test if we are trying to use run time linking or normal
8782 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8783 # need to do runtime linking.
8784 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8785 for ld_flag in $LDFLAGS; do
8786 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8787 aix_use_runtimelinking=yes
8788 break
8789 fi
8790 done
8791 ;;
8792 esac
8793
8794 exp_sym_flag='-bexport'
8795 no_entry_flag='-bnoentry'
8796 fi
8797
8798 # When large executables or shared objects are built, AIX ld can
8799 # have problems creating the table of contents. If linking a library
8800 # or program results in "error TOC overflow" add -mminimal-toc to
8801 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8802 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8803
8804 archive_cmds=''
8805 hardcode_direct=yes
8806 hardcode_direct_absolute=yes
8807 hardcode_libdir_separator=':'
8808 link_all_deplibs=yes
8809 file_list_spec='${wl}-f,'
8810
8811 if test "$GCC" = yes; then
8812 case $host_os in aix4.[012]|aix4.[012].*)
8813 # We only want to do this on AIX 4.2 and lower, the check
8814 # below for broken collect2 doesn't work under 4.3+
8815 collect2name=`${CC} -print-prog-name=collect2`
8816 if test -f "$collect2name" &&
8817 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8818 then
8819 # We have reworked collect2
8820 :
8821 else
8822 # We have old collect2
8823 hardcode_direct=unsupported
8824 # It fails to find uninstalled libraries when the uninstalled
8825 # path is not listed in the libpath. Setting hardcode_minus_L
8826 # to unsupported forces relinking
8827 hardcode_minus_L=yes
8828 hardcode_libdir_flag_spec='-L$libdir'
8829 hardcode_libdir_separator=
8830 fi
8831 ;;
8832 esac
8833 shared_flag='-shared'
8834 if test "$aix_use_runtimelinking" = yes; then
8835 shared_flag="$shared_flag "'${wl}-G'
8836 fi
8837 else
8838 # not using gcc
8839 if test "$host_cpu" = ia64; then
8840 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8841 # chokes on -Wl,-G. The following line is correct:
8842 shared_flag='-G'
8843 else
8844 if test "$aix_use_runtimelinking" = yes; then
8845 shared_flag='${wl}-G'
8846 else
8847 shared_flag='${wl}-bM:SRE'
8848 fi
8849 fi
8850 fi
8851
8852 export_dynamic_flag_spec='${wl}-bexpall'
8853 # It seems that -bexpall does not export symbols beginning with
8854 # underscore (_), so it is better to generate a list of symbols to export.
8855 always_export_symbols=yes
8856 if test "$aix_use_runtimelinking" = yes; then
8857 # Warning - without using the other runtime loading flags (-brtl),
8858 # -berok will link without error, but may produce a broken library.
8859 allow_undefined_flag='-berok'
8860 # Determine the default libpath from the value encoded in an
8861 # empty executable.
8862 if test "${lt_cv_aix_libpath+set}" = set; then
8863 aix_libpath=$lt_cv_aix_libpath
8864 else
8865 if ${lt_cv_aix_libpath_+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8870
8871 int
8872 main ()
8873 {
8874
8875 ;
8876 return 0;
8877 }
8878 _ACEOF
8879 if ac_fn_c_try_link "$LINENO"; then :
8880
8881 lt_aix_libpath_sed='
8882 /Import File Strings/,/^$/ {
8883 /^0/ {
8884 s/^0 *\([^ ]*\) *$/\1/
8885 p
8886 }
8887 }'
8888 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8889 # Check for a 64-bit object if we didn't find anything.
8890 if test -z "$lt_cv_aix_libpath_"; then
8891 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8892 fi
8893 fi
8894 rm -f core conftest.err conftest.$ac_objext \
8895 conftest$ac_exeext conftest.$ac_ext
8896 if test -z "$lt_cv_aix_libpath_"; then
8897 lt_cv_aix_libpath_="/usr/lib:/lib"
8898 fi
8899
8900 fi
8901
8902 aix_libpath=$lt_cv_aix_libpath_
8903 fi
8904
8905 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8906 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8907 else
8908 if test "$host_cpu" = ia64; then
8909 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8910 allow_undefined_flag="-z nodefs"
8911 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"
8912 else
8913 # Determine the default libpath from the value encoded in an
8914 # empty executable.
8915 if test "${lt_cv_aix_libpath+set}" = set; then
8916 aix_libpath=$lt_cv_aix_libpath
8917 else
8918 if ${lt_cv_aix_libpath_+:} false; then :
8919 $as_echo_n "(cached) " >&6
8920 else
8921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8922 /* end confdefs.h. */
8923
8924 int
8925 main ()
8926 {
8927
8928 ;
8929 return 0;
8930 }
8931 _ACEOF
8932 if ac_fn_c_try_link "$LINENO"; then :
8933
8934 lt_aix_libpath_sed='
8935 /Import File Strings/,/^$/ {
8936 /^0/ {
8937 s/^0 *\([^ ]*\) *$/\1/
8938 p
8939 }
8940 }'
8941 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8942 # Check for a 64-bit object if we didn't find anything.
8943 if test -z "$lt_cv_aix_libpath_"; then
8944 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8945 fi
8946 fi
8947 rm -f core conftest.err conftest.$ac_objext \
8948 conftest$ac_exeext conftest.$ac_ext
8949 if test -z "$lt_cv_aix_libpath_"; then
8950 lt_cv_aix_libpath_="/usr/lib:/lib"
8951 fi
8952
8953 fi
8954
8955 aix_libpath=$lt_cv_aix_libpath_
8956 fi
8957
8958 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8959 # Warning - without using the other run time loading flags,
8960 # -berok will link without error, but may produce a broken library.
8961 no_undefined_flag=' ${wl}-bernotok'
8962 allow_undefined_flag=' ${wl}-berok'
8963 if test "$with_gnu_ld" = yes; then
8964 # We only use this code for GNU lds that support --whole-archive.
8965 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8966 else
8967 # Exported symbols can be pulled into shared objects from archives
8968 whole_archive_flag_spec='$convenience'
8969 fi
8970 archive_cmds_need_lc=yes
8971 # This is similar to how AIX traditionally builds its shared libraries.
8972 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'
8973 fi
8974 fi
8975 ;;
8976
8977 amigaos*)
8978 case $host_cpu in
8979 powerpc)
8980 # see comment about AmigaOS4 .so support
8981 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8982 archive_expsym_cmds=''
8983 ;;
8984 m68k)
8985 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)'
8986 hardcode_libdir_flag_spec='-L$libdir'
8987 hardcode_minus_L=yes
8988 ;;
8989 esac
8990 ;;
8991
8992 bsdi[45]*)
8993 export_dynamic_flag_spec=-rdynamic
8994 ;;
8995
8996 cygwin* | mingw* | pw32* | cegcc*)
8997 # When not using gcc, we currently assume that we are using
8998 # Microsoft Visual C++.
8999 # hardcode_libdir_flag_spec is actually meaningless, as there is
9000 # no search path for DLLs.
9001 case $cc_basename in
9002 cl*)
9003 # Native MSVC
9004 hardcode_libdir_flag_spec=' '
9005 allow_undefined_flag=unsupported
9006 always_export_symbols=yes
9007 file_list_spec='@'
9008 # Tell ltmain to make .lib files, not .a files.
9009 libext=lib
9010 # Tell ltmain to make .dll files, not .so files.
9011 shrext_cmds=".dll"
9012 # FIXME: Setting linknames here is a bad hack.
9013 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9014 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9015 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9016 else
9017 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9018 fi~
9019 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9020 linknames='
9021 # The linker will not automatically build a static lib if we build a DLL.
9022 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9023 enable_shared_with_static_runtimes=yes
9024 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9025 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9026 # Don't use ranlib
9027 old_postinstall_cmds='chmod 644 $oldlib'
9028 postlink_cmds='lt_outputfile="@OUTPUT@"~
9029 lt_tool_outputfile="@TOOL_OUTPUT@"~
9030 case $lt_outputfile in
9031 *.exe|*.EXE) ;;
9032 *)
9033 lt_outputfile="$lt_outputfile.exe"
9034 lt_tool_outputfile="$lt_tool_outputfile.exe"
9035 ;;
9036 esac~
9037 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9038 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9039 $RM "$lt_outputfile.manifest";
9040 fi'
9041 ;;
9042 *)
9043 # Assume MSVC wrapper
9044 hardcode_libdir_flag_spec=' '
9045 allow_undefined_flag=unsupported
9046 # Tell ltmain to make .lib files, not .a files.
9047 libext=lib
9048 # Tell ltmain to make .dll files, not .so files.
9049 shrext_cmds=".dll"
9050 # FIXME: Setting linknames here is a bad hack.
9051 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9052 # The linker will automatically build a .lib file if we build a DLL.
9053 old_archive_from_new_cmds='true'
9054 # FIXME: Should let the user specify the lib program.
9055 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9056 enable_shared_with_static_runtimes=yes
9057 ;;
9058 esac
9059 ;;
9060
9061 darwin* | rhapsody*)
9062
9063
9064 archive_cmds_need_lc=no
9065 hardcode_direct=no
9066 hardcode_automatic=yes
9067 hardcode_shlibpath_var=unsupported
9068 if test "$lt_cv_ld_force_load" = "yes"; then
9069 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9070
9071 else
9072 whole_archive_flag_spec=''
9073 fi
9074 link_all_deplibs=yes
9075 allow_undefined_flag="$_lt_dar_allow_undefined"
9076 case $cc_basename in
9077 ifort*) _lt_dar_can_shared=yes ;;
9078 *) _lt_dar_can_shared=$GCC ;;
9079 esac
9080 if test "$_lt_dar_can_shared" = "yes"; then
9081 output_verbose_link_cmd=func_echo_all
9082 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9083 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9084 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}"
9085 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}"
9086
9087 else
9088 ld_shlibs=no
9089 fi
9090
9091 ;;
9092
9093 dgux*)
9094 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9095 hardcode_libdir_flag_spec='-L$libdir'
9096 hardcode_shlibpath_var=no
9097 ;;
9098
9099 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9100 # support. Future versions do this automatically, but an explicit c++rt0.o
9101 # does not break anything, and helps significantly (at the cost of a little
9102 # extra space).
9103 freebsd2.2*)
9104 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9105 hardcode_libdir_flag_spec='-R$libdir'
9106 hardcode_direct=yes
9107 hardcode_shlibpath_var=no
9108 ;;
9109
9110 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9111 freebsd2.*)
9112 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9113 hardcode_direct=yes
9114 hardcode_minus_L=yes
9115 hardcode_shlibpath_var=no
9116 ;;
9117
9118 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9119 freebsd* | dragonfly*)
9120 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9121 hardcode_libdir_flag_spec='-R$libdir'
9122 hardcode_direct=yes
9123 hardcode_shlibpath_var=no
9124 ;;
9125
9126 hpux9*)
9127 if test "$GCC" = yes; then
9128 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9129 else
9130 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'
9131 fi
9132 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9133 hardcode_libdir_separator=:
9134 hardcode_direct=yes
9135
9136 # hardcode_minus_L: Not really in the search PATH,
9137 # but as the default location of the library.
9138 hardcode_minus_L=yes
9139 export_dynamic_flag_spec='${wl}-E'
9140 ;;
9141
9142 hpux10*)
9143 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9144 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9145 else
9146 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9147 fi
9148 if test "$with_gnu_ld" = no; then
9149 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9150 hardcode_libdir_separator=:
9151 hardcode_direct=yes
9152 hardcode_direct_absolute=yes
9153 export_dynamic_flag_spec='${wl}-E'
9154 # hardcode_minus_L: Not really in the search PATH,
9155 # but as the default location of the library.
9156 hardcode_minus_L=yes
9157 fi
9158 ;;
9159
9160 hpux11*)
9161 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9162 case $host_cpu in
9163 hppa*64*)
9164 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9165 ;;
9166 ia64*)
9167 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9168 ;;
9169 *)
9170 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9171 ;;
9172 esac
9173 else
9174 case $host_cpu in
9175 hppa*64*)
9176 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9177 ;;
9178 ia64*)
9179 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9180 ;;
9181 *)
9182
9183 # Older versions of the 11.00 compiler do not understand -b yet
9184 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9186 $as_echo_n "checking if $CC understands -b... " >&6; }
9187 if ${lt_cv_prog_compiler__b+:} false; then :
9188 $as_echo_n "(cached) " >&6
9189 else
9190 lt_cv_prog_compiler__b=no
9191 save_LDFLAGS="$LDFLAGS"
9192 LDFLAGS="$LDFLAGS -b"
9193 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9194 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9195 # The linker can only warn and ignore the option if not recognized
9196 # So say no if there are warnings
9197 if test -s conftest.err; then
9198 # Append any errors to the config.log.
9199 cat conftest.err 1>&5
9200 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9201 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9202 if diff conftest.exp conftest.er2 >/dev/null; then
9203 lt_cv_prog_compiler__b=yes
9204 fi
9205 else
9206 lt_cv_prog_compiler__b=yes
9207 fi
9208 fi
9209 $RM -r conftest*
9210 LDFLAGS="$save_LDFLAGS"
9211
9212 fi
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9214 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9215
9216 if test x"$lt_cv_prog_compiler__b" = xyes; then
9217 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9218 else
9219 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9220 fi
9221
9222 ;;
9223 esac
9224 fi
9225 if test "$with_gnu_ld" = no; then
9226 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9227 hardcode_libdir_separator=:
9228
9229 case $host_cpu in
9230 hppa*64*|ia64*)
9231 hardcode_direct=no
9232 hardcode_shlibpath_var=no
9233 ;;
9234 *)
9235 hardcode_direct=yes
9236 hardcode_direct_absolute=yes
9237 export_dynamic_flag_spec='${wl}-E'
9238
9239 # hardcode_minus_L: Not really in the search PATH,
9240 # but as the default location of the library.
9241 hardcode_minus_L=yes
9242 ;;
9243 esac
9244 fi
9245 ;;
9246
9247 irix5* | irix6* | nonstopux*)
9248 if test "$GCC" = yes; then
9249 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9250 # Try to use the -exported_symbol ld option, if it does not
9251 # work, assume that -exports_file does not work either and
9252 # implicitly export all symbols.
9253 # This should be the same for all languages, so no per-tag cache variable.
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9255 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9256 if ${lt_cv_irix_exported_symbol+:} false; then :
9257 $as_echo_n "(cached) " >&6
9258 else
9259 save_LDFLAGS="$LDFLAGS"
9260 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9262 /* end confdefs.h. */
9263 int foo (void) { return 0; }
9264 _ACEOF
9265 if ac_fn_c_try_link "$LINENO"; then :
9266 lt_cv_irix_exported_symbol=yes
9267 else
9268 lt_cv_irix_exported_symbol=no
9269 fi
9270 rm -f core conftest.err conftest.$ac_objext \
9271 conftest$ac_exeext conftest.$ac_ext
9272 LDFLAGS="$save_LDFLAGS"
9273 fi
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9275 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9276 if test "$lt_cv_irix_exported_symbol" = yes; then
9277 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9278 fi
9279 else
9280 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9281 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9282 fi
9283 archive_cmds_need_lc='no'
9284 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9285 hardcode_libdir_separator=:
9286 inherit_rpath=yes
9287 link_all_deplibs=yes
9288 ;;
9289
9290 netbsd*)
9291 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9292 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9293 else
9294 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9295 fi
9296 hardcode_libdir_flag_spec='-R$libdir'
9297 hardcode_direct=yes
9298 hardcode_shlibpath_var=no
9299 ;;
9300
9301 newsos6)
9302 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9303 hardcode_direct=yes
9304 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9305 hardcode_libdir_separator=:
9306 hardcode_shlibpath_var=no
9307 ;;
9308
9309 *nto* | *qnx*)
9310 ;;
9311
9312 openbsd*)
9313 if test -f /usr/libexec/ld.so; then
9314 hardcode_direct=yes
9315 hardcode_shlibpath_var=no
9316 hardcode_direct_absolute=yes
9317 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9318 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9319 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9320 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9321 export_dynamic_flag_spec='${wl}-E'
9322 else
9323 case $host_os in
9324 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9325 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9326 hardcode_libdir_flag_spec='-R$libdir'
9327 ;;
9328 *)
9329 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9330 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9331 ;;
9332 esac
9333 fi
9334 else
9335 ld_shlibs=no
9336 fi
9337 ;;
9338
9339 os2*)
9340 hardcode_libdir_flag_spec='-L$libdir'
9341 hardcode_minus_L=yes
9342 allow_undefined_flag=unsupported
9343 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'
9344 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9345 ;;
9346
9347 osf3*)
9348 if test "$GCC" = yes; then
9349 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9350 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9351 else
9352 allow_undefined_flag=' -expect_unresolved \*'
9353 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9354 fi
9355 archive_cmds_need_lc='no'
9356 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9357 hardcode_libdir_separator=:
9358 ;;
9359
9360 osf4* | osf5*) # as osf3* with the addition of -msym flag
9361 if test "$GCC" = yes; then
9362 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9363 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9364 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9365 else
9366 allow_undefined_flag=' -expect_unresolved \*'
9367 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9368 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~
9369 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9370
9371 # Both c and cxx compiler support -rpath directly
9372 hardcode_libdir_flag_spec='-rpath $libdir'
9373 fi
9374 archive_cmds_need_lc='no'
9375 hardcode_libdir_separator=:
9376 ;;
9377
9378 solaris*)
9379 no_undefined_flag=' -z defs'
9380 if test "$GCC" = yes; then
9381 wlarc='${wl}'
9382 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9383 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9384 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9385 else
9386 case `$CC -V 2>&1` in
9387 *"Compilers 5.0"*)
9388 wlarc=''
9389 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9390 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9391 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9392 ;;
9393 *)
9394 wlarc='${wl}'
9395 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9396 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9397 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9398 ;;
9399 esac
9400 fi
9401 hardcode_libdir_flag_spec='-R$libdir'
9402 hardcode_shlibpath_var=no
9403 case $host_os in
9404 solaris2.[0-5] | solaris2.[0-5].*) ;;
9405 *)
9406 # The compiler driver will combine and reorder linker options,
9407 # but understands `-z linker_flag'. GCC discards it without `$wl',
9408 # but is careful enough not to reorder.
9409 # Supported since Solaris 2.6 (maybe 2.5.1?)
9410 if test "$GCC" = yes; then
9411 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9412 else
9413 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9414 fi
9415 ;;
9416 esac
9417 link_all_deplibs=yes
9418 ;;
9419
9420 sunos4*)
9421 if test "x$host_vendor" = xsequent; then
9422 # Use $CC to link under sequent, because it throws in some extra .o
9423 # files that make .init and .fini sections work.
9424 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9425 else
9426 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9427 fi
9428 hardcode_libdir_flag_spec='-L$libdir'
9429 hardcode_direct=yes
9430 hardcode_minus_L=yes
9431 hardcode_shlibpath_var=no
9432 ;;
9433
9434 sysv4)
9435 case $host_vendor in
9436 sni)
9437 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9438 hardcode_direct=yes # is this really true???
9439 ;;
9440 siemens)
9441 ## LD is ld it makes a PLAMLIB
9442 ## CC just makes a GrossModule.
9443 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9444 reload_cmds='$CC -r -o $output$reload_objs'
9445 hardcode_direct=no
9446 ;;
9447 motorola)
9448 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9449 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9450 ;;
9451 esac
9452 runpath_var='LD_RUN_PATH'
9453 hardcode_shlibpath_var=no
9454 ;;
9455
9456 sysv4.3*)
9457 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9458 hardcode_shlibpath_var=no
9459 export_dynamic_flag_spec='-Bexport'
9460 ;;
9461
9462 sysv4*MP*)
9463 if test -d /usr/nec; then
9464 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9465 hardcode_shlibpath_var=no
9466 runpath_var=LD_RUN_PATH
9467 hardcode_runpath_var=yes
9468 ld_shlibs=yes
9469 fi
9470 ;;
9471
9472 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9473 no_undefined_flag='${wl}-z,text'
9474 archive_cmds_need_lc=no
9475 hardcode_shlibpath_var=no
9476 runpath_var='LD_RUN_PATH'
9477
9478 if test "$GCC" = yes; then
9479 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9480 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9481 else
9482 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9483 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9484 fi
9485 ;;
9486
9487 sysv5* | sco3.2v5* | sco5v6*)
9488 # Note: We can NOT use -z defs as we might desire, because we do not
9489 # link with -lc, and that would cause any symbols used from libc to
9490 # always be unresolved, which means just about no library would
9491 # ever link correctly. If we're not using GNU ld we use -z text
9492 # though, which does catch some bad symbols but isn't as heavy-handed
9493 # as -z defs.
9494 no_undefined_flag='${wl}-z,text'
9495 allow_undefined_flag='${wl}-z,nodefs'
9496 archive_cmds_need_lc=no
9497 hardcode_shlibpath_var=no
9498 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9499 hardcode_libdir_separator=':'
9500 link_all_deplibs=yes
9501 export_dynamic_flag_spec='${wl}-Bexport'
9502 runpath_var='LD_RUN_PATH'
9503
9504 if test "$GCC" = yes; then
9505 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9506 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9507 else
9508 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9509 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9510 fi
9511 ;;
9512
9513 uts4*)
9514 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9515 hardcode_libdir_flag_spec='-L$libdir'
9516 hardcode_shlibpath_var=no
9517 ;;
9518
9519 *)
9520 ld_shlibs=no
9521 ;;
9522 esac
9523
9524 if test x$host_vendor = xsni; then
9525 case $host in
9526 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9527 export_dynamic_flag_spec='${wl}-Blargedynsym'
9528 ;;
9529 esac
9530 fi
9531 fi
9532
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9534 $as_echo "$ld_shlibs" >&6; }
9535 test "$ld_shlibs" = no && can_build_shared=no
9536
9537 with_gnu_ld=$with_gnu_ld
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553 #
9554 # Do we need to explicitly link libc?
9555 #
9556 case "x$archive_cmds_need_lc" in
9557 x|xyes)
9558 # Assume -lc should be added
9559 archive_cmds_need_lc=yes
9560
9561 if test "$enable_shared" = yes && test "$GCC" = yes; then
9562 case $archive_cmds in
9563 *'~'*)
9564 # FIXME: we may have to deal with multi-command sequences.
9565 ;;
9566 '$CC '*)
9567 # Test whether the compiler implicitly links with -lc since on some
9568 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9569 # to ld, don't add -lc before -lgcc.
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9571 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9572 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9573 $as_echo_n "(cached) " >&6
9574 else
9575 $RM conftest*
9576 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9577
9578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9579 (eval $ac_compile) 2>&5
9580 ac_status=$?
9581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9582 test $ac_status = 0; } 2>conftest.err; then
9583 soname=conftest
9584 lib=conftest
9585 libobjs=conftest.$ac_objext
9586 deplibs=
9587 wl=$lt_prog_compiler_wl
9588 pic_flag=$lt_prog_compiler_pic
9589 compiler_flags=-v
9590 linker_flags=-v
9591 verstring=
9592 output_objdir=.
9593 libname=conftest
9594 lt_save_allow_undefined_flag=$allow_undefined_flag
9595 allow_undefined_flag=
9596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9597 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9598 ac_status=$?
9599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9600 test $ac_status = 0; }
9601 then
9602 lt_cv_archive_cmds_need_lc=no
9603 else
9604 lt_cv_archive_cmds_need_lc=yes
9605 fi
9606 allow_undefined_flag=$lt_save_allow_undefined_flag
9607 else
9608 cat conftest.err 1>&5
9609 fi
9610 $RM conftest*
9611
9612 fi
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9614 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9615 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9616 ;;
9617 esac
9618 fi
9619 ;;
9620 esac
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9774 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9775
9776 if test "$GCC" = yes; then
9777 case $host_os in
9778 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9779 *) lt_awk_arg="/^libraries:/" ;;
9780 esac
9781 case $host_os in
9782 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9783 *) lt_sed_strip_eq="s,=/,/,g" ;;
9784 esac
9785 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9786 case $lt_search_path_spec in
9787 *\;*)
9788 # if the path contains ";" then we assume it to be the separator
9789 # otherwise default to the standard path separator (i.e. ":") - it is
9790 # assumed that no part of a normal pathname contains ";" but that should
9791 # okay in the real world where ";" in dirpaths is itself problematic.
9792 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9793 ;;
9794 *)
9795 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9796 ;;
9797 esac
9798 # Ok, now we have the path, separated by spaces, we can step through it
9799 # and add multilib dir if necessary.
9800 lt_tmp_lt_search_path_spec=
9801 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9802 for lt_sys_path in $lt_search_path_spec; do
9803 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9804 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9805 else
9806 test -d "$lt_sys_path" && \
9807 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9808 fi
9809 done
9810 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9811 BEGIN {RS=" "; FS="/|\n";} {
9812 lt_foo="";
9813 lt_count=0;
9814 for (lt_i = NF; lt_i > 0; lt_i--) {
9815 if ($lt_i != "" && $lt_i != ".") {
9816 if ($lt_i == "..") {
9817 lt_count++;
9818 } else {
9819 if (lt_count == 0) {
9820 lt_foo="/" $lt_i lt_foo;
9821 } else {
9822 lt_count--;
9823 }
9824 }
9825 }
9826 }
9827 if (lt_foo != "") { lt_freq[lt_foo]++; }
9828 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9829 }'`
9830 # AWK program above erroneously prepends '/' to C:/dos/paths
9831 # for these hosts.
9832 case $host_os in
9833 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9834 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9835 esac
9836 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9837 else
9838 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9839 fi
9840 library_names_spec=
9841 libname_spec='lib$name'
9842 soname_spec=
9843 shrext_cmds=".so"
9844 postinstall_cmds=
9845 postuninstall_cmds=
9846 finish_cmds=
9847 finish_eval=
9848 shlibpath_var=
9849 shlibpath_overrides_runpath=unknown
9850 version_type=none
9851 dynamic_linker="$host_os ld.so"
9852 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9853 need_lib_prefix=unknown
9854 hardcode_into_libs=no
9855
9856 # when you set need_version to no, make sure it does not cause -set_version
9857 # flags to be left without arguments
9858 need_version=unknown
9859
9860 case $host_os in
9861 aix3*)
9862 version_type=linux # correct to gnu/linux during the next big refactor
9863 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9864 shlibpath_var=LIBPATH
9865
9866 # AIX 3 has no versioning support, so we append a major version to the name.
9867 soname_spec='${libname}${release}${shared_ext}$major'
9868 ;;
9869
9870 aix[4-9]*)
9871 version_type=linux # correct to gnu/linux during the next big refactor
9872 need_lib_prefix=no
9873 need_version=no
9874 hardcode_into_libs=yes
9875 if test "$host_cpu" = ia64; then
9876 # AIX 5 supports IA64
9877 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9878 shlibpath_var=LD_LIBRARY_PATH
9879 else
9880 # With GCC up to 2.95.x, collect2 would create an import file
9881 # for dependence libraries. The import file would start with
9882 # the line `#! .'. This would cause the generated library to
9883 # depend on `.', always an invalid library. This was fixed in
9884 # development snapshots of GCC prior to 3.0.
9885 case $host_os in
9886 aix4 | aix4.[01] | aix4.[01].*)
9887 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9888 echo ' yes '
9889 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9890 :
9891 else
9892 can_build_shared=no
9893 fi
9894 ;;
9895 esac
9896 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9897 # soname into executable. Probably we can add versioning support to
9898 # collect2, so additional links can be useful in future.
9899 if test "$aix_use_runtimelinking" = yes; then
9900 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9901 # instead of lib<name>.a to let people know that these are not
9902 # typical AIX shared libraries.
9903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9904 else
9905 # We preserve .a as extension for shared libraries through AIX4.2
9906 # and later when we are not doing run time linking.
9907 library_names_spec='${libname}${release}.a $libname.a'
9908 soname_spec='${libname}${release}${shared_ext}$major'
9909 fi
9910 shlibpath_var=LIBPATH
9911 fi
9912 ;;
9913
9914 amigaos*)
9915 case $host_cpu in
9916 powerpc)
9917 # Since July 2007 AmigaOS4 officially supports .so libraries.
9918 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9920 ;;
9921 m68k)
9922 library_names_spec='$libname.ixlibrary $libname.a'
9923 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9924 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9925 ;;
9926 esac
9927 ;;
9928
9929 beos*)
9930 library_names_spec='${libname}${shared_ext}'
9931 dynamic_linker="$host_os ld.so"
9932 shlibpath_var=LIBRARY_PATH
9933 ;;
9934
9935 bsdi[45]*)
9936 version_type=linux # correct to gnu/linux during the next big refactor
9937 need_version=no
9938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9939 soname_spec='${libname}${release}${shared_ext}$major'
9940 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9941 shlibpath_var=LD_LIBRARY_PATH
9942 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9943 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9944 # the default ld.so.conf also contains /usr/contrib/lib and
9945 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9946 # libtool to hard-code these into programs
9947 ;;
9948
9949 cygwin* | mingw* | pw32* | cegcc*)
9950 version_type=windows
9951 shrext_cmds=".dll"
9952 need_version=no
9953 need_lib_prefix=no
9954
9955 case $GCC,$cc_basename in
9956 yes,*)
9957 # gcc
9958 library_names_spec='$libname.dll.a'
9959 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9960 postinstall_cmds='base_file=`basename \${file}`~
9961 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9962 dldir=$destdir/`dirname \$dlpath`~
9963 test -d \$dldir || mkdir -p \$dldir~
9964 $install_prog $dir/$dlname \$dldir/$dlname~
9965 chmod a+x \$dldir/$dlname~
9966 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9967 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9968 fi'
9969 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9970 dlpath=$dir/\$dldll~
9971 $RM \$dlpath'
9972 shlibpath_overrides_runpath=yes
9973
9974 case $host_os in
9975 cygwin*)
9976 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9977 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9978
9979 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9980 ;;
9981 mingw* | cegcc*)
9982 # MinGW DLLs use traditional 'lib' prefix
9983 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9984 ;;
9985 pw32*)
9986 # pw32 DLLs use 'pw' prefix rather than 'lib'
9987 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9988 ;;
9989 esac
9990 dynamic_linker='Win32 ld.exe'
9991 ;;
9992
9993 *,cl*)
9994 # Native MSVC
9995 libname_spec='$name'
9996 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9997 library_names_spec='${libname}.dll.lib'
9998
9999 case $build_os in
10000 mingw*)
10001 sys_lib_search_path_spec=
10002 lt_save_ifs=$IFS
10003 IFS=';'
10004 for lt_path in $LIB
10005 do
10006 IFS=$lt_save_ifs
10007 # Let DOS variable expansion print the short 8.3 style file name.
10008 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10009 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10010 done
10011 IFS=$lt_save_ifs
10012 # Convert to MSYS style.
10013 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10014 ;;
10015 cygwin*)
10016 # Convert to unix form, then to dos form, then back to unix form
10017 # but this time dos style (no spaces!) so that the unix form looks
10018 # like /cygdrive/c/PROGRA~1:/cygdr...
10019 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10020 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10021 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10022 ;;
10023 *)
10024 sys_lib_search_path_spec="$LIB"
10025 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10026 # It is most probably a Windows format PATH.
10027 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10028 else
10029 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10030 fi
10031 # FIXME: find the short name or the path components, as spaces are
10032 # common. (e.g. "Program Files" -> "PROGRA~1")
10033 ;;
10034 esac
10035
10036 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10037 postinstall_cmds='base_file=`basename \${file}`~
10038 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10039 dldir=$destdir/`dirname \$dlpath`~
10040 test -d \$dldir || mkdir -p \$dldir~
10041 $install_prog $dir/$dlname \$dldir/$dlname'
10042 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10043 dlpath=$dir/\$dldll~
10044 $RM \$dlpath'
10045 shlibpath_overrides_runpath=yes
10046 dynamic_linker='Win32 link.exe'
10047 ;;
10048
10049 *)
10050 # Assume MSVC wrapper
10051 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10052 dynamic_linker='Win32 ld.exe'
10053 ;;
10054 esac
10055 # FIXME: first we should search . and the directory the executable is in
10056 shlibpath_var=PATH
10057 ;;
10058
10059 darwin* | rhapsody*)
10060 dynamic_linker="$host_os dyld"
10061 version_type=darwin
10062 need_lib_prefix=no
10063 need_version=no
10064 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10065 soname_spec='${libname}${release}${major}$shared_ext'
10066 shlibpath_overrides_runpath=yes
10067 shlibpath_var=DYLD_LIBRARY_PATH
10068 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10069
10070 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10071 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10072 ;;
10073
10074 dgux*)
10075 version_type=linux # correct to gnu/linux during the next big refactor
10076 need_lib_prefix=no
10077 need_version=no
10078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10079 soname_spec='${libname}${release}${shared_ext}$major'
10080 shlibpath_var=LD_LIBRARY_PATH
10081 ;;
10082
10083 freebsd* | dragonfly*)
10084 # DragonFly does not have aout. When/if they implement a new
10085 # versioning mechanism, adjust this.
10086 if test -x /usr/bin/objformat; then
10087 objformat=`/usr/bin/objformat`
10088 else
10089 case $host_os in
10090 freebsd[23].*) objformat=aout ;;
10091 *) objformat=elf ;;
10092 esac
10093 fi
10094 version_type=freebsd-$objformat
10095 case $version_type in
10096 freebsd-elf*)
10097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10098 need_version=no
10099 need_lib_prefix=no
10100 ;;
10101 freebsd-*)
10102 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10103 need_version=yes
10104 ;;
10105 esac
10106 shlibpath_var=LD_LIBRARY_PATH
10107 case $host_os in
10108 freebsd2.*)
10109 shlibpath_overrides_runpath=yes
10110 ;;
10111 freebsd3.[01]* | freebsdelf3.[01]*)
10112 shlibpath_overrides_runpath=yes
10113 hardcode_into_libs=yes
10114 ;;
10115 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10116 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10117 shlibpath_overrides_runpath=no
10118 hardcode_into_libs=yes
10119 ;;
10120 *) # from 4.6 on, and DragonFly
10121 shlibpath_overrides_runpath=yes
10122 hardcode_into_libs=yes
10123 ;;
10124 esac
10125 ;;
10126
10127 gnu*)
10128 version_type=linux # correct to gnu/linux during the next big refactor
10129 need_lib_prefix=no
10130 need_version=no
10131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10132 soname_spec='${libname}${release}${shared_ext}$major'
10133 shlibpath_var=LD_LIBRARY_PATH
10134 shlibpath_overrides_runpath=no
10135 hardcode_into_libs=yes
10136 ;;
10137
10138 haiku*)
10139 version_type=linux # correct to gnu/linux during the next big refactor
10140 need_lib_prefix=no
10141 need_version=no
10142 dynamic_linker="$host_os runtime_loader"
10143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10144 soname_spec='${libname}${release}${shared_ext}$major'
10145 shlibpath_var=LIBRARY_PATH
10146 shlibpath_overrides_runpath=yes
10147 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10148 hardcode_into_libs=yes
10149 ;;
10150
10151 hpux9* | hpux10* | hpux11*)
10152 # Give a soname corresponding to the major version so that dld.sl refuses to
10153 # link against other versions.
10154 version_type=sunos
10155 need_lib_prefix=no
10156 need_version=no
10157 case $host_cpu in
10158 ia64*)
10159 shrext_cmds='.so'
10160 hardcode_into_libs=yes
10161 dynamic_linker="$host_os dld.so"
10162 shlibpath_var=LD_LIBRARY_PATH
10163 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10165 soname_spec='${libname}${release}${shared_ext}$major'
10166 if test "X$HPUX_IA64_MODE" = X32; then
10167 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10168 else
10169 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10170 fi
10171 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10172 ;;
10173 hppa*64*)
10174 shrext_cmds='.sl'
10175 hardcode_into_libs=yes
10176 dynamic_linker="$host_os dld.sl"
10177 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10178 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10180 soname_spec='${libname}${release}${shared_ext}$major'
10181 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10182 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10183 ;;
10184 *)
10185 shrext_cmds='.sl'
10186 dynamic_linker="$host_os dld.sl"
10187 shlibpath_var=SHLIB_PATH
10188 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10190 soname_spec='${libname}${release}${shared_ext}$major'
10191 ;;
10192 esac
10193 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10194 postinstall_cmds='chmod 555 $lib'
10195 # or fails outright, so override atomically:
10196 install_override_mode=555
10197 ;;
10198
10199 interix[3-9]*)
10200 version_type=linux # correct to gnu/linux during the next big refactor
10201 need_lib_prefix=no
10202 need_version=no
10203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10204 soname_spec='${libname}${release}${shared_ext}$major'
10205 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10206 shlibpath_var=LD_LIBRARY_PATH
10207 shlibpath_overrides_runpath=no
10208 hardcode_into_libs=yes
10209 ;;
10210
10211 irix5* | irix6* | nonstopux*)
10212 case $host_os in
10213 nonstopux*) version_type=nonstopux ;;
10214 *)
10215 if test "$lt_cv_prog_gnu_ld" = yes; then
10216 version_type=linux # correct to gnu/linux during the next big refactor
10217 else
10218 version_type=irix
10219 fi ;;
10220 esac
10221 need_lib_prefix=no
10222 need_version=no
10223 soname_spec='${libname}${release}${shared_ext}$major'
10224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10225 case $host_os in
10226 irix5* | nonstopux*)
10227 libsuff= shlibsuff=
10228 ;;
10229 *)
10230 case $LD in # libtool.m4 will add one of these switches to LD
10231 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10232 libsuff= shlibsuff= libmagic=32-bit;;
10233 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10234 libsuff=32 shlibsuff=N32 libmagic=N32;;
10235 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10236 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10237 *) libsuff= shlibsuff= libmagic=never-match;;
10238 esac
10239 ;;
10240 esac
10241 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10242 shlibpath_overrides_runpath=no
10243 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10244 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10245 hardcode_into_libs=yes
10246 ;;
10247
10248 # No shared lib support for Linux oldld, aout, or coff.
10249 linux*oldld* | linux*aout* | linux*coff*)
10250 dynamic_linker=no
10251 ;;
10252
10253 # This must be glibc/ELF.
10254 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10255 version_type=linux # correct to gnu/linux during the next big refactor
10256 need_lib_prefix=no
10257 need_version=no
10258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10259 soname_spec='${libname}${release}${shared_ext}$major'
10260 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10261 shlibpath_var=LD_LIBRARY_PATH
10262 shlibpath_overrides_runpath=no
10263
10264 # Some binutils ld are patched to set DT_RUNPATH
10265 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 lt_cv_shlibpath_overrides_runpath=no
10269 save_LDFLAGS=$LDFLAGS
10270 save_libdir=$libdir
10271 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10272 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10275
10276 int
10277 main ()
10278 {
10279
10280 ;
10281 return 0;
10282 }
10283 _ACEOF
10284 if ac_fn_c_try_link "$LINENO"; then :
10285 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10286 lt_cv_shlibpath_overrides_runpath=yes
10287 fi
10288 fi
10289 rm -f core conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10291 LDFLAGS=$save_LDFLAGS
10292 libdir=$save_libdir
10293
10294 fi
10295
10296 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10297
10298 # This implies no fast_install, which is unacceptable.
10299 # Some rework will be needed to allow for fast_install
10300 # before this can be enabled.
10301 hardcode_into_libs=yes
10302
10303 # Append ld.so.conf contents to the search path
10304 if test -f /etc/ld.so.conf; then
10305 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10306 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10307 fi
10308
10309 # We used to test for /lib/ld.so.1 and disable shared libraries on
10310 # powerpc, because MkLinux only supported shared libraries with the
10311 # GNU dynamic linker. Since this was broken with cross compilers,
10312 # most powerpc-linux boxes support dynamic linking these days and
10313 # people can always --disable-shared, the test was removed, and we
10314 # assume the GNU/Linux dynamic linker is in use.
10315 dynamic_linker='GNU/Linux ld.so'
10316 ;;
10317
10318 netbsd*)
10319 version_type=sunos
10320 need_lib_prefix=no
10321 need_version=no
10322 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10324 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10325 dynamic_linker='NetBSD (a.out) ld.so'
10326 else
10327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10328 soname_spec='${libname}${release}${shared_ext}$major'
10329 dynamic_linker='NetBSD ld.elf_so'
10330 fi
10331 shlibpath_var=LD_LIBRARY_PATH
10332 shlibpath_overrides_runpath=yes
10333 hardcode_into_libs=yes
10334 ;;
10335
10336 newsos6)
10337 version_type=linux # correct to gnu/linux during the next big refactor
10338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10339 shlibpath_var=LD_LIBRARY_PATH
10340 shlibpath_overrides_runpath=yes
10341 ;;
10342
10343 *nto* | *qnx*)
10344 version_type=qnx
10345 need_lib_prefix=no
10346 need_version=no
10347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10348 soname_spec='${libname}${release}${shared_ext}$major'
10349 shlibpath_var=LD_LIBRARY_PATH
10350 shlibpath_overrides_runpath=no
10351 hardcode_into_libs=yes
10352 dynamic_linker='ldqnx.so'
10353 ;;
10354
10355 openbsd*)
10356 version_type=sunos
10357 sys_lib_dlsearch_path_spec="/usr/lib"
10358 need_lib_prefix=no
10359 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10360 case $host_os in
10361 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10362 *) need_version=no ;;
10363 esac
10364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10365 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10366 shlibpath_var=LD_LIBRARY_PATH
10367 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10368 case $host_os in
10369 openbsd2.[89] | openbsd2.[89].*)
10370 shlibpath_overrides_runpath=no
10371 ;;
10372 *)
10373 shlibpath_overrides_runpath=yes
10374 ;;
10375 esac
10376 else
10377 shlibpath_overrides_runpath=yes
10378 fi
10379 ;;
10380
10381 os2*)
10382 libname_spec='$name'
10383 shrext_cmds=".dll"
10384 need_lib_prefix=no
10385 library_names_spec='$libname${shared_ext} $libname.a'
10386 dynamic_linker='OS/2 ld.exe'
10387 shlibpath_var=LIBPATH
10388 ;;
10389
10390 osf3* | osf4* | osf5*)
10391 version_type=osf
10392 need_lib_prefix=no
10393 need_version=no
10394 soname_spec='${libname}${release}${shared_ext}$major'
10395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396 shlibpath_var=LD_LIBRARY_PATH
10397 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10398 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10399 ;;
10400
10401 rdos*)
10402 dynamic_linker=no
10403 ;;
10404
10405 solaris*)
10406 version_type=linux # correct to gnu/linux during the next big refactor
10407 need_lib_prefix=no
10408 need_version=no
10409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10410 soname_spec='${libname}${release}${shared_ext}$major'
10411 shlibpath_var=LD_LIBRARY_PATH
10412 shlibpath_overrides_runpath=yes
10413 hardcode_into_libs=yes
10414 # ldd complains unless libraries are executable
10415 postinstall_cmds='chmod +x $lib'
10416 ;;
10417
10418 sunos4*)
10419 version_type=sunos
10420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10421 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10422 shlibpath_var=LD_LIBRARY_PATH
10423 shlibpath_overrides_runpath=yes
10424 if test "$with_gnu_ld" = yes; then
10425 need_lib_prefix=no
10426 fi
10427 need_version=yes
10428 ;;
10429
10430 sysv4 | sysv4.3*)
10431 version_type=linux # correct to gnu/linux during the next big refactor
10432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10433 soname_spec='${libname}${release}${shared_ext}$major'
10434 shlibpath_var=LD_LIBRARY_PATH
10435 case $host_vendor in
10436 sni)
10437 shlibpath_overrides_runpath=no
10438 need_lib_prefix=no
10439 runpath_var=LD_RUN_PATH
10440 ;;
10441 siemens)
10442 need_lib_prefix=no
10443 ;;
10444 motorola)
10445 need_lib_prefix=no
10446 need_version=no
10447 shlibpath_overrides_runpath=no
10448 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10449 ;;
10450 esac
10451 ;;
10452
10453 sysv4*MP*)
10454 if test -d /usr/nec ;then
10455 version_type=linux # correct to gnu/linux during the next big refactor
10456 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10457 soname_spec='$libname${shared_ext}.$major'
10458 shlibpath_var=LD_LIBRARY_PATH
10459 fi
10460 ;;
10461
10462 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10463 version_type=freebsd-elf
10464 need_lib_prefix=no
10465 need_version=no
10466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10467 soname_spec='${libname}${release}${shared_ext}$major'
10468 shlibpath_var=LD_LIBRARY_PATH
10469 shlibpath_overrides_runpath=yes
10470 hardcode_into_libs=yes
10471 if test "$with_gnu_ld" = yes; then
10472 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10473 else
10474 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10475 case $host_os in
10476 sco3.2v5*)
10477 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10478 ;;
10479 esac
10480 fi
10481 sys_lib_dlsearch_path_spec='/usr/lib'
10482 ;;
10483
10484 tpf*)
10485 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10486 version_type=linux # correct to gnu/linux during the next big refactor
10487 need_lib_prefix=no
10488 need_version=no
10489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10490 shlibpath_var=LD_LIBRARY_PATH
10491 shlibpath_overrides_runpath=no
10492 hardcode_into_libs=yes
10493 ;;
10494
10495 uts4*)
10496 version_type=linux # correct to gnu/linux during the next big refactor
10497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10498 soname_spec='${libname}${release}${shared_ext}$major'
10499 shlibpath_var=LD_LIBRARY_PATH
10500 ;;
10501
10502 *)
10503 dynamic_linker=no
10504 ;;
10505 esac
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10507 $as_echo "$dynamic_linker" >&6; }
10508 test "$dynamic_linker" = no && can_build_shared=no
10509
10510 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10511 if test "$GCC" = yes; then
10512 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10513 fi
10514
10515 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10516 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10517 fi
10518 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10519 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10520 fi
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10614 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10615 hardcode_action=
10616 if test -n "$hardcode_libdir_flag_spec" ||
10617 test -n "$runpath_var" ||
10618 test "X$hardcode_automatic" = "Xyes" ; then
10619
10620 # We can hardcode non-existent directories.
10621 if test "$hardcode_direct" != no &&
10622 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10623 # have to relink, otherwise we might link with an installed library
10624 # when we should be linking with a yet-to-be-installed one
10625 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10626 test "$hardcode_minus_L" != no; then
10627 # Linking always hardcodes the temporary library directory.
10628 hardcode_action=relink
10629 else
10630 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10631 hardcode_action=immediate
10632 fi
10633 else
10634 # We cannot hardcode anything, or else we can only hardcode existing
10635 # directories.
10636 hardcode_action=unsupported
10637 fi
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10639 $as_echo "$hardcode_action" >&6; }
10640
10641 if test "$hardcode_action" = relink ||
10642 test "$inherit_rpath" = yes; then
10643 # Fast installation is not supported
10644 enable_fast_install=no
10645 elif test "$shlibpath_overrides_runpath" = yes ||
10646 test "$enable_shared" = no; then
10647 # Fast installation is not necessary
10648 enable_fast_install=needless
10649 fi
10650
10651
10652
10653
10654
10655
10656 if test "x$enable_dlopen" != xyes; then
10657 enable_dlopen=unknown
10658 enable_dlopen_self=unknown
10659 enable_dlopen_self_static=unknown
10660 else
10661 lt_cv_dlopen=no
10662 lt_cv_dlopen_libs=
10663
10664 case $host_os in
10665 beos*)
10666 lt_cv_dlopen="load_add_on"
10667 lt_cv_dlopen_libs=
10668 lt_cv_dlopen_self=yes
10669 ;;
10670
10671 mingw* | pw32* | cegcc*)
10672 lt_cv_dlopen="LoadLibrary"
10673 lt_cv_dlopen_libs=
10674 ;;
10675
10676 cygwin*)
10677 lt_cv_dlopen="dlopen"
10678 lt_cv_dlopen_libs=
10679 ;;
10680
10681 darwin*)
10682 # if libdl is installed we need to link against it
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10684 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10685 if ${ac_cv_lib_dl_dlopen+:} false; then :
10686 $as_echo_n "(cached) " >&6
10687 else
10688 ac_check_lib_save_LIBS=$LIBS
10689 LIBS="-ldl $LIBS"
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10692
10693 /* Override any GCC internal prototype to avoid an error.
10694 Use char because int might match the return type of a GCC
10695 builtin and then its argument prototype would still apply. */
10696 #ifdef __cplusplus
10697 extern "C"
10698 #endif
10699 char dlopen ();
10700 int
10701 main ()
10702 {
10703 return dlopen ();
10704 ;
10705 return 0;
10706 }
10707 _ACEOF
10708 if ac_fn_c_try_link "$LINENO"; then :
10709 ac_cv_lib_dl_dlopen=yes
10710 else
10711 ac_cv_lib_dl_dlopen=no
10712 fi
10713 rm -f core conftest.err conftest.$ac_objext \
10714 conftest$ac_exeext conftest.$ac_ext
10715 LIBS=$ac_check_lib_save_LIBS
10716 fi
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10718 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10719 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10720 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10721 else
10722
10723 lt_cv_dlopen="dyld"
10724 lt_cv_dlopen_libs=
10725 lt_cv_dlopen_self=yes
10726
10727 fi
10728
10729 ;;
10730
10731 *)
10732 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10733 if test "x$ac_cv_func_shl_load" = xyes; then :
10734 lt_cv_dlopen="shl_load"
10735 else
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10737 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10738 if ${ac_cv_lib_dld_shl_load+:} false; then :
10739 $as_echo_n "(cached) " >&6
10740 else
10741 ac_check_lib_save_LIBS=$LIBS
10742 LIBS="-ldld $LIBS"
10743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10744 /* end confdefs.h. */
10745
10746 /* Override any GCC internal prototype to avoid an error.
10747 Use char because int might match the return type of a GCC
10748 builtin and then its argument prototype would still apply. */
10749 #ifdef __cplusplus
10750 extern "C"
10751 #endif
10752 char shl_load ();
10753 int
10754 main ()
10755 {
10756 return shl_load ();
10757 ;
10758 return 0;
10759 }
10760 _ACEOF
10761 if ac_fn_c_try_link "$LINENO"; then :
10762 ac_cv_lib_dld_shl_load=yes
10763 else
10764 ac_cv_lib_dld_shl_load=no
10765 fi
10766 rm -f core conftest.err conftest.$ac_objext \
10767 conftest$ac_exeext conftest.$ac_ext
10768 LIBS=$ac_check_lib_save_LIBS
10769 fi
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10771 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10772 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10773 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10774 else
10775 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10776 if test "x$ac_cv_func_dlopen" = xyes; then :
10777 lt_cv_dlopen="dlopen"
10778 else
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10780 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10781 if ${ac_cv_lib_dl_dlopen+:} false; then :
10782 $as_echo_n "(cached) " >&6
10783 else
10784 ac_check_lib_save_LIBS=$LIBS
10785 LIBS="-ldl $LIBS"
10786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10787 /* end confdefs.h. */
10788
10789 /* Override any GCC internal prototype to avoid an error.
10790 Use char because int might match the return type of a GCC
10791 builtin and then its argument prototype would still apply. */
10792 #ifdef __cplusplus
10793 extern "C"
10794 #endif
10795 char dlopen ();
10796 int
10797 main ()
10798 {
10799 return dlopen ();
10800 ;
10801 return 0;
10802 }
10803 _ACEOF
10804 if ac_fn_c_try_link "$LINENO"; then :
10805 ac_cv_lib_dl_dlopen=yes
10806 else
10807 ac_cv_lib_dl_dlopen=no
10808 fi
10809 rm -f core conftest.err conftest.$ac_objext \
10810 conftest$ac_exeext conftest.$ac_ext
10811 LIBS=$ac_check_lib_save_LIBS
10812 fi
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10814 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10815 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10816 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10817 else
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10819 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10820 if ${ac_cv_lib_svld_dlopen+:} false; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 ac_check_lib_save_LIBS=$LIBS
10824 LIBS="-lsvld $LIBS"
10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10827
10828 /* Override any GCC internal prototype to avoid an error.
10829 Use char because int might match the return type of a GCC
10830 builtin and then its argument prototype would still apply. */
10831 #ifdef __cplusplus
10832 extern "C"
10833 #endif
10834 char dlopen ();
10835 int
10836 main ()
10837 {
10838 return dlopen ();
10839 ;
10840 return 0;
10841 }
10842 _ACEOF
10843 if ac_fn_c_try_link "$LINENO"; then :
10844 ac_cv_lib_svld_dlopen=yes
10845 else
10846 ac_cv_lib_svld_dlopen=no
10847 fi
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850 LIBS=$ac_check_lib_save_LIBS
10851 fi
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10853 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10854 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10855 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10856 else
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10858 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10859 if ${ac_cv_lib_dld_dld_link+:} false; then :
10860 $as_echo_n "(cached) " >&6
10861 else
10862 ac_check_lib_save_LIBS=$LIBS
10863 LIBS="-ldld $LIBS"
10864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10866
10867 /* Override any GCC internal prototype to avoid an error.
10868 Use char because int might match the return type of a GCC
10869 builtin and then its argument prototype would still apply. */
10870 #ifdef __cplusplus
10871 extern "C"
10872 #endif
10873 char dld_link ();
10874 int
10875 main ()
10876 {
10877 return dld_link ();
10878 ;
10879 return 0;
10880 }
10881 _ACEOF
10882 if ac_fn_c_try_link "$LINENO"; then :
10883 ac_cv_lib_dld_dld_link=yes
10884 else
10885 ac_cv_lib_dld_dld_link=no
10886 fi
10887 rm -f core conftest.err conftest.$ac_objext \
10888 conftest$ac_exeext conftest.$ac_ext
10889 LIBS=$ac_check_lib_save_LIBS
10890 fi
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10892 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10893 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10894 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10895 fi
10896
10897
10898 fi
10899
10900
10901 fi
10902
10903
10904 fi
10905
10906
10907 fi
10908
10909
10910 fi
10911
10912 ;;
10913 esac
10914
10915 if test "x$lt_cv_dlopen" != xno; then
10916 enable_dlopen=yes
10917 else
10918 enable_dlopen=no
10919 fi
10920
10921 case $lt_cv_dlopen in
10922 dlopen)
10923 save_CPPFLAGS="$CPPFLAGS"
10924 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10925
10926 save_LDFLAGS="$LDFLAGS"
10927 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10928
10929 save_LIBS="$LIBS"
10930 LIBS="$lt_cv_dlopen_libs $LIBS"
10931
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10933 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10934 if ${lt_cv_dlopen_self+:} false; then :
10935 $as_echo_n "(cached) " >&6
10936 else
10937 if test "$cross_compiling" = yes; then :
10938 lt_cv_dlopen_self=cross
10939 else
10940 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10941 lt_status=$lt_dlunknown
10942 cat > conftest.$ac_ext <<_LT_EOF
10943 #line $LINENO "configure"
10944 #include "confdefs.h"
10945
10946 #if HAVE_DLFCN_H
10947 #include <dlfcn.h>
10948 #endif
10949
10950 #include <stdio.h>
10951
10952 #ifdef RTLD_GLOBAL
10953 # define LT_DLGLOBAL RTLD_GLOBAL
10954 #else
10955 # ifdef DL_GLOBAL
10956 # define LT_DLGLOBAL DL_GLOBAL
10957 # else
10958 # define LT_DLGLOBAL 0
10959 # endif
10960 #endif
10961
10962 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10963 find out it does not work in some platform. */
10964 #ifndef LT_DLLAZY_OR_NOW
10965 # ifdef RTLD_LAZY
10966 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10967 # else
10968 # ifdef DL_LAZY
10969 # define LT_DLLAZY_OR_NOW DL_LAZY
10970 # else
10971 # ifdef RTLD_NOW
10972 # define LT_DLLAZY_OR_NOW RTLD_NOW
10973 # else
10974 # ifdef DL_NOW
10975 # define LT_DLLAZY_OR_NOW DL_NOW
10976 # else
10977 # define LT_DLLAZY_OR_NOW 0
10978 # endif
10979 # endif
10980 # endif
10981 # endif
10982 #endif
10983
10984 /* When -fvisbility=hidden is used, assume the code has been annotated
10985 correspondingly for the symbols needed. */
10986 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10987 int fnord () __attribute__((visibility("default")));
10988 #endif
10989
10990 int fnord () { return 42; }
10991 int main ()
10992 {
10993 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10994 int status = $lt_dlunknown;
10995
10996 if (self)
10997 {
10998 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10999 else
11000 {
11001 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11002 else puts (dlerror ());
11003 }
11004 /* dlclose (self); */
11005 }
11006 else
11007 puts (dlerror ());
11008
11009 return status;
11010 }
11011 _LT_EOF
11012 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11013 (eval $ac_link) 2>&5
11014 ac_status=$?
11015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11016 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11017 (./conftest; exit; ) >&5 2>/dev/null
11018 lt_status=$?
11019 case x$lt_status in
11020 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11021 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11022 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11023 esac
11024 else :
11025 # compilation failed
11026 lt_cv_dlopen_self=no
11027 fi
11028 fi
11029 rm -fr conftest*
11030
11031
11032 fi
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11034 $as_echo "$lt_cv_dlopen_self" >&6; }
11035
11036 if test "x$lt_cv_dlopen_self" = xyes; then
11037 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11039 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11040 if ${lt_cv_dlopen_self_static+:} false; then :
11041 $as_echo_n "(cached) " >&6
11042 else
11043 if test "$cross_compiling" = yes; then :
11044 lt_cv_dlopen_self_static=cross
11045 else
11046 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11047 lt_status=$lt_dlunknown
11048 cat > conftest.$ac_ext <<_LT_EOF
11049 #line $LINENO "configure"
11050 #include "confdefs.h"
11051
11052 #if HAVE_DLFCN_H
11053 #include <dlfcn.h>
11054 #endif
11055
11056 #include <stdio.h>
11057
11058 #ifdef RTLD_GLOBAL
11059 # define LT_DLGLOBAL RTLD_GLOBAL
11060 #else
11061 # ifdef DL_GLOBAL
11062 # define LT_DLGLOBAL DL_GLOBAL
11063 # else
11064 # define LT_DLGLOBAL 0
11065 # endif
11066 #endif
11067
11068 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11069 find out it does not work in some platform. */
11070 #ifndef LT_DLLAZY_OR_NOW
11071 # ifdef RTLD_LAZY
11072 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11073 # else
11074 # ifdef DL_LAZY
11075 # define LT_DLLAZY_OR_NOW DL_LAZY
11076 # else
11077 # ifdef RTLD_NOW
11078 # define LT_DLLAZY_OR_NOW RTLD_NOW
11079 # else
11080 # ifdef DL_NOW
11081 # define LT_DLLAZY_OR_NOW DL_NOW
11082 # else
11083 # define LT_DLLAZY_OR_NOW 0
11084 # endif
11085 # endif
11086 # endif
11087 # endif
11088 #endif
11089
11090 /* When -fvisbility=hidden is used, assume the code has been annotated
11091 correspondingly for the symbols needed. */
11092 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11093 int fnord () __attribute__((visibility("default")));
11094 #endif
11095
11096 int fnord () { return 42; }
11097 int main ()
11098 {
11099 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11100 int status = $lt_dlunknown;
11101
11102 if (self)
11103 {
11104 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11105 else
11106 {
11107 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11108 else puts (dlerror ());
11109 }
11110 /* dlclose (self); */
11111 }
11112 else
11113 puts (dlerror ());
11114
11115 return status;
11116 }
11117 _LT_EOF
11118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11119 (eval $ac_link) 2>&5
11120 ac_status=$?
11121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11122 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11123 (./conftest; exit; ) >&5 2>/dev/null
11124 lt_status=$?
11125 case x$lt_status in
11126 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11127 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11128 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11129 esac
11130 else :
11131 # compilation failed
11132 lt_cv_dlopen_self_static=no
11133 fi
11134 fi
11135 rm -fr conftest*
11136
11137
11138 fi
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11140 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11141 fi
11142
11143 CPPFLAGS="$save_CPPFLAGS"
11144 LDFLAGS="$save_LDFLAGS"
11145 LIBS="$save_LIBS"
11146 ;;
11147 esac
11148
11149 case $lt_cv_dlopen_self in
11150 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11151 *) enable_dlopen_self=unknown ;;
11152 esac
11153
11154 case $lt_cv_dlopen_self_static in
11155 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11156 *) enable_dlopen_self_static=unknown ;;
11157 esac
11158 fi
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176 striplib=
11177 old_striplib=
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11179 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11180 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11181 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11182 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11184 $as_echo "yes" >&6; }
11185 else
11186 # FIXME - insert some real tests, host_os isn't really good enough
11187 case $host_os in
11188 darwin*)
11189 if test -n "$STRIP" ; then
11190 striplib="$STRIP -x"
11191 old_striplib="$STRIP -S"
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11193 $as_echo "yes" >&6; }
11194 else
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11196 $as_echo "no" >&6; }
11197 fi
11198 ;;
11199 *)
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11201 $as_echo "no" >&6; }
11202 ;;
11203 esac
11204 fi
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217 # Report which library types will actually be built
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11219 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11221 $as_echo "$can_build_shared" >&6; }
11222
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11224 $as_echo_n "checking whether to build shared libraries... " >&6; }
11225 test "$can_build_shared" = "no" && enable_shared=no
11226
11227 # On AIX, shared libraries and static libraries use the same namespace, and
11228 # are all built from PIC.
11229 case $host_os in
11230 aix3*)
11231 test "$enable_shared" = yes && enable_static=no
11232 if test -n "$RANLIB"; then
11233 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11234 postinstall_cmds='$RANLIB $lib'
11235 fi
11236 ;;
11237
11238 aix[4-9]*)
11239 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11240 test "$enable_shared" = yes && enable_static=no
11241 fi
11242 ;;
11243 esac
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11245 $as_echo "$enable_shared" >&6; }
11246
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11248 $as_echo_n "checking whether to build static libraries... " >&6; }
11249 # Make sure either enable_shared or enable_static is yes.
11250 test "$enable_shared" = yes || enable_static=yes
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11252 $as_echo "$enable_static" >&6; }
11253
11254
11255
11256
11257 fi
11258 ac_ext=c
11259 ac_cpp='$CPP $CPPFLAGS'
11260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11263
11264 CC="$lt_save_CC"
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280 ac_config_commands="$ac_config_commands libtool"
11281
11282
11283
11284
11285 # Only expand once:
11286
11287
11288
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11290 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11291 set x ${MAKE-make}
11292 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11293 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
11294 $as_echo_n "(cached) " >&6
11295 else
11296 cat >conftest.make <<\_ACEOF
11297 SHELL = /bin/sh
11298 all:
11299 @echo '@@@%%%=$(MAKE)=@@@%%%'
11300 _ACEOF
11301 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11302 case `${MAKE-make} -f conftest.make 2>/dev/null` in
11303 *@@@%%%=?*=@@@%%%*)
11304 eval ac_cv_prog_make_${ac_make}_set=yes;;
11305 *)
11306 eval ac_cv_prog_make_${ac_make}_set=no;;
11307 esac
11308 rm -f conftest.make
11309 fi
11310 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11312 $as_echo "yes" >&6; }
11313 SET_MAKE=
11314 else
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11316 $as_echo "no" >&6; }
11317 SET_MAKE="MAKE=${MAKE-make}"
11318 fi
11319
11320
11321
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
11323 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
11324 if ${ac_cv_path_GREP+:} false; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 if test -z "$GREP"; then
11328 ac_path_GREP_found=false
11329 # Loop through the user's path and test for each of PROGNAME-LIST
11330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11331 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11332 do
11333 IFS=$as_save_IFS
11334 test -z "$as_dir" && as_dir=.
11335 for ac_prog in grep ggrep; do
11336 for ac_exec_ext in '' $ac_executable_extensions; do
11337 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
11338 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
11339 # Check for GNU ac_path_GREP and select it if it is found.
11340 # Check for GNU $ac_path_GREP
11341 case `"$ac_path_GREP" --version 2>&1` in
11342 *GNU*)
11343 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
11344 *)
11345 ac_count=0
11346 $as_echo_n 0123456789 >"conftest.in"
11347 while :
11348 do
11349 cat "conftest.in" "conftest.in" >"conftest.tmp"
11350 mv "conftest.tmp" "conftest.in"
11351 cp "conftest.in" "conftest.nl"
11352 $as_echo 'GREP' >> "conftest.nl"
11353 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11354 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11355 as_fn_arith $ac_count + 1 && ac_count=$as_val
11356 if test $ac_count -gt ${ac_path_GREP_max-0}; then
11357 # Best one so far, save it but keep looking for a better one
11358 ac_cv_path_GREP="$ac_path_GREP"
11359 ac_path_GREP_max=$ac_count
11360 fi
11361 # 10*(2^10) chars as input seems more than enough
11362 test $ac_count -gt 10 && break
11363 done
11364 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11365 esac
11366
11367 $ac_path_GREP_found && break 3
11368 done
11369 done
11370 done
11371 IFS=$as_save_IFS
11372 if test -z "$ac_cv_path_GREP"; then
11373 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
11374 fi
11375 else
11376 ac_cv_path_GREP=$GREP
11377 fi
11378
11379 fi
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
11381 $as_echo "$ac_cv_path_GREP" >&6; }
11382 GREP="$ac_cv_path_GREP"
11383
11384
11385
11386
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
11388 $as_echo_n "checking for pow in -lm... " >&6; }
11389 if ${ac_cv_lib_m_pow+:} false; then :
11390 $as_echo_n "(cached) " >&6
11391 else
11392 ac_check_lib_save_LIBS=$LIBS
11393 LIBS="-lm $LIBS"
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11396
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11400 #ifdef __cplusplus
11401 extern "C"
11402 #endif
11403 char pow ();
11404 int
11405 main ()
11406 {
11407 return pow ();
11408 ;
11409 return 0;
11410 }
11411 _ACEOF
11412 if ac_fn_c_try_link "$LINENO"; then :
11413 ac_cv_lib_m_pow=yes
11414 else
11415 ac_cv_lib_m_pow=no
11416 fi
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_lib_save_LIBS
11420 fi
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
11422 $as_echo "$ac_cv_lib_m_pow" >&6; }
11423 if test "x$ac_cv_lib_m_pow" = xyes; then :
11424 cat >>confdefs.h <<_ACEOF
11425 #define HAVE_LIBM 1
11426 _ACEOF
11427
11428 LIBS="-lm $LIBS"
11429
11430 fi
11431
11432
11433
11434 ac_config_headers="$ac_config_headers src/matioConfig.h src/matio_pubconf.h"
11435
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11437 $as_echo_n "checking for ANSI C header files... " >&6; }
11438 if ${ac_cv_header_stdc+:} false; then :
11439 $as_echo_n "(cached) " >&6
11440 else
11441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11443 #include <stdlib.h>
11444 #include <stdarg.h>
11445 #include <string.h>
11446 #include <float.h>
11447
11448 int
11449 main ()
11450 {
11451
11452 ;
11453 return 0;
11454 }
11455 _ACEOF
11456 if ac_fn_c_try_compile "$LINENO"; then :
11457 ac_cv_header_stdc=yes
11458 else
11459 ac_cv_header_stdc=no
11460 fi
11461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11462
11463 if test $ac_cv_header_stdc = yes; then
11464 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11466 /* end confdefs.h. */
11467 #include <string.h>
11468
11469 _ACEOF
11470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11471 $EGREP "memchr" >/dev/null 2>&1; then :
11472
11473 else
11474 ac_cv_header_stdc=no
11475 fi
11476 rm -f conftest*
11477
11478 fi
11479
11480 if test $ac_cv_header_stdc = yes; then
11481 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11484 #include <stdlib.h>
11485
11486 _ACEOF
11487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11488 $EGREP "free" >/dev/null 2>&1; then :
11489
11490 else
11491 ac_cv_header_stdc=no
11492 fi
11493 rm -f conftest*
11494
11495 fi
11496
11497 if test $ac_cv_header_stdc = yes; then
11498 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11499 if test "$cross_compiling" = yes; then :
11500 :
11501 else
11502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11504 #include <ctype.h>
11505 #include <stdlib.h>
11506 #if ((' ' & 0x0FF) == 0x020)
11507 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11508 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11509 #else
11510 # define ISLOWER(c) \
11511 (('a' <= (c) && (c) <= 'i') \
11512 || ('j' <= (c) && (c) <= 'r') \
11513 || ('s' <= (c) && (c) <= 'z'))
11514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11515 #endif
11516
11517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11518 int
11519 main ()
11520 {
11521 int i;
11522 for (i = 0; i < 256; i++)
11523 if (XOR (islower (i), ISLOWER (i))
11524 || toupper (i) != TOUPPER (i))
11525 return 2;
11526 return 0;
11527 }
11528 _ACEOF
11529 if ac_fn_c_try_run "$LINENO"; then :
11530
11531 else
11532 ac_cv_header_stdc=no
11533 fi
11534 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11535 conftest.$ac_objext conftest.beam conftest.$ac_ext
11536 fi
11537
11538 fi
11539 fi
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11541 $as_echo "$ac_cv_header_stdc" >&6; }
11542 if test $ac_cv_header_stdc = yes; then
11543
11544 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11545
11546 fi
11547
11548 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
11549 if test "x$ac_cv_header_inttypes_h" = xyes; then :
11550
11551 cat >>confdefs.h <<_ACEOF
11552 #define MATIO_HAVE_INTTYPES_H 1
11553 _ACEOF
11554
11555 fi
11556
11557
11558 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
11559 if test "x$ac_cv_header_stdint_h" = xyes; then :
11560
11561 cat >>confdefs.h <<_ACEOF
11562 #define MATIO_HAVE_STDINT_H 1
11563 _ACEOF
11564
11565 fi
11566
11567
11568 ac_fn_c_check_header_mongrel "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
11569 if test "x$ac_cv_header_strings_h" = xyes; then :
11570
11571 cat >>confdefs.h <<_ACEOF
11572 #define HAVE_STRINGS_H 1
11573 _ACEOF
11574
11575 fi
11576
11577
11578 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
11579 if test "x$ac_cv_header_unistd_h" = xyes; then :
11580
11581 cat >>confdefs.h <<_ACEOF
11582 #define HAVE_UNISTD_H 1
11583 _ACEOF
11584
11585 fi
11586
11587
11588
11589
11590
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long" >&5
11592 $as_echo_n "checking for getopt_long... " >&6; }
11593
11594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11595 /* end confdefs.h. */
11596 #include <stdio.h>
11597 #include <stdlib.h>
11598 #ifdef HAVE_UNISTD_H
11599 #include <unistd.h>
11600 #endif
11601 #define _GNU_SOURCE /* For getopt_long on GNU systems */
11602 #include <getopt.h>
11603
11604 int
11605 main ()
11606 {
11607 opt = getopt_long(0,NULL,NULL,NULL,NULL);
11608 ;
11609 return 0;
11610 }
11611 _ACEOF
11612 if ac_fn_c_try_link "$LINENO"; then :
11613 ac_have_getopt_long=yes
11614 else
11615 ac_have_getopt_long=no
11616 fi
11617 rm -f core conftest.err conftest.$ac_objext \
11618 conftest$ac_exeext conftest.$ac_ext
11619
11620 if test "x$ac_have_getopt_long" = "xyes"
11621 then
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system" >&5
11623 $as_echo "system" >&6; }
11624 else
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: internal" >&5
11626 $as_echo "internal" >&6; }
11627 fi
11628 if test "x$ac_have_getopt_long" = "xno" ; then
11629 NEED_GETOPT_TRUE=
11630 NEED_GETOPT_FALSE='#'
11631 else
11632 NEED_GETOPT_TRUE='#'
11633 NEED_GETOPT_FALSE=
11634 fi
11635
11636
11637
11638 # The cast to long int works around a bug in the HP C Compiler
11639 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11640 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11641 # This bug is HP SR number 8606223364.
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
11643 $as_echo_n "checking size of double... " >&6; }
11644 if ${ac_cv_sizeof_double+:} false; then :
11645 $as_echo_n "(cached) " >&6
11646 else
11647 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
11648
11649 else
11650 if test "$ac_cv_type_double" = yes; then
11651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11653 as_fn_error 77 "cannot compute sizeof (double)
11654 See \`config.log' for more details" "$LINENO" 5; }
11655 else
11656 ac_cv_sizeof_double=0
11657 fi
11658 fi
11659
11660 fi
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
11662 $as_echo "$ac_cv_sizeof_double" >&6; }
11663
11664
11665
11666 cat >>confdefs.h <<_ACEOF
11667 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
11668 _ACEOF
11669
11670
11671 # The cast to long int works around a bug in the HP C Compiler
11672 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11673 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11674 # This bug is HP SR number 8606223364.
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
11676 $as_echo_n "checking size of float... " >&6; }
11677 if ${ac_cv_sizeof_float+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
11681
11682 else
11683 if test "$ac_cv_type_float" = yes; then
11684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11686 as_fn_error 77 "cannot compute sizeof (float)
11687 See \`config.log' for more details" "$LINENO" 5; }
11688 else
11689 ac_cv_sizeof_float=0
11690 fi
11691 fi
11692
11693 fi
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
11695 $as_echo "$ac_cv_sizeof_float" >&6; }
11696
11697
11698
11699 cat >>confdefs.h <<_ACEOF
11700 #define SIZEOF_FLOAT $ac_cv_sizeof_float
11701 _ACEOF
11702
11703
11704 # The cast to long int works around a bug in the HP C Compiler
11705 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11706 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11707 # This bug is HP SR number 8606223364.
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
11709 $as_echo_n "checking size of long long... " >&6; }
11710 if ${ac_cv_sizeof_long_long+:} false; then :
11711 $as_echo_n "(cached) " >&6
11712 else
11713 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
11714
11715 else
11716 if test "$ac_cv_type_long_long" = yes; then
11717 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11719 as_fn_error 77 "cannot compute sizeof (long long)
11720 See \`config.log' for more details" "$LINENO" 5; }
11721 else
11722 ac_cv_sizeof_long_long=0
11723 fi
11724 fi
11725
11726 fi
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
11728 $as_echo "$ac_cv_sizeof_long_long" >&6; }
11729
11730
11731
11732 cat >>confdefs.h <<_ACEOF
11733 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11734 _ACEOF
11735
11736
11737 # The cast to long int works around a bug in the HP C Compiler
11738 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11739 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11740 # This bug is HP SR number 8606223364.
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
11742 $as_echo_n "checking size of long... " >&6; }
11743 if ${ac_cv_sizeof_long+:} false; then :
11744 $as_echo_n "(cached) " >&6
11745 else
11746 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
11747
11748 else
11749 if test "$ac_cv_type_long" = yes; then
11750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11752 as_fn_error 77 "cannot compute sizeof (long)
11753 See \`config.log' for more details" "$LINENO" 5; }
11754 else
11755 ac_cv_sizeof_long=0
11756 fi
11757 fi
11758
11759 fi
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
11761 $as_echo "$ac_cv_sizeof_long" >&6; }
11762
11763
11764
11765 cat >>confdefs.h <<_ACEOF
11766 #define SIZEOF_LONG $ac_cv_sizeof_long
11767 _ACEOF
11768
11769
11770 # The cast to long int works around a bug in the HP C Compiler
11771 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11772 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11773 # This bug is HP SR number 8606223364.
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
11775 $as_echo_n "checking size of int... " >&6; }
11776 if ${ac_cv_sizeof_int+:} false; then :
11777 $as_echo_n "(cached) " >&6
11778 else
11779 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
11780
11781 else
11782 if test "$ac_cv_type_int" = yes; then
11783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11785 as_fn_error 77 "cannot compute sizeof (int)
11786 See \`config.log' for more details" "$LINENO" 5; }
11787 else
11788 ac_cv_sizeof_int=0
11789 fi
11790 fi
11791
11792 fi
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
11794 $as_echo "$ac_cv_sizeof_int" >&6; }
11795
11796
11797
11798 cat >>confdefs.h <<_ACEOF
11799 #define SIZEOF_INT $ac_cv_sizeof_int
11800 _ACEOF
11801
11802
11803 # The cast to long int works around a bug in the HP C Compiler
11804 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11805 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11806 # This bug is HP SR number 8606223364.
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
11808 $as_echo_n "checking size of short... " >&6; }
11809 if ${ac_cv_sizeof_short+:} false; then :
11810 $as_echo_n "(cached) " >&6
11811 else
11812 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
11813
11814 else
11815 if test "$ac_cv_type_short" = yes; then
11816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11818 as_fn_error 77 "cannot compute sizeof (short)
11819 See \`config.log' for more details" "$LINENO" 5; }
11820 else
11821 ac_cv_sizeof_short=0
11822 fi
11823 fi
11824
11825 fi
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
11827 $as_echo "$ac_cv_sizeof_short" >&6; }
11828
11829
11830
11831 cat >>confdefs.h <<_ACEOF
11832 #define SIZEOF_SHORT $ac_cv_sizeof_short
11833 _ACEOF
11834
11835
11836 # The cast to long int works around a bug in the HP C Compiler
11837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11839 # This bug is HP SR number 8606223364.
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
11841 $as_echo_n "checking size of char... " >&6; }
11842 if ${ac_cv_sizeof_char+:} false; then :
11843 $as_echo_n "(cached) " >&6
11844 else
11845 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
11846
11847 else
11848 if test "$ac_cv_type_char" = yes; then
11849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11851 as_fn_error 77 "cannot compute sizeof (char)
11852 See \`config.log' for more details" "$LINENO" 5; }
11853 else
11854 ac_cv_sizeof_char=0
11855 fi
11856 fi
11857
11858 fi
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
11860 $as_echo "$ac_cv_sizeof_char" >&6; }
11861
11862
11863
11864 cat >>confdefs.h <<_ACEOF
11865 #define SIZEOF_CHAR $ac_cv_sizeof_char
11866 _ACEOF
11867
11868
11869 # The cast to long int works around a bug in the HP C Compiler
11870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11872 # This bug is HP SR number 8606223364.
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
11874 $as_echo_n "checking size of void *... " >&6; }
11875 if ${ac_cv_sizeof_void_p+:} false; then :
11876 $as_echo_n "(cached) " >&6
11877 else
11878 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
11879
11880 else
11881 if test "$ac_cv_type_void_p" = yes; then
11882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11884 as_fn_error 77 "cannot compute sizeof (void *)
11885 See \`config.log' for more details" "$LINENO" 5; }
11886 else
11887 ac_cv_sizeof_void_p=0
11888 fi
11889 fi
11890
11891 fi
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
11893 $as_echo "$ac_cv_sizeof_void_p" >&6; }
11894
11895
11896
11897 cat >>confdefs.h <<_ACEOF
11898 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
11899 _ACEOF
11900
11901
11902 # The cast to long int works around a bug in the HP C Compiler
11903 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11904 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11905 # This bug is HP SR number 8606223364.
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
11907 $as_echo_n "checking size of size_t... " >&6; }
11908 if ${ac_cv_sizeof_size_t+:} false; then :
11909 $as_echo_n "(cached) " >&6
11910 else
11911 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
11912
11913 else
11914 if test "$ac_cv_type_size_t" = yes; then
11915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11917 as_fn_error 77 "cannot compute sizeof (size_t)
11918 See \`config.log' for more details" "$LINENO" 5; }
11919 else
11920 ac_cv_sizeof_size_t=0
11921 fi
11922 fi
11923
11924 fi
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
11926 $as_echo "$ac_cv_sizeof_size_t" >&6; }
11927
11928
11929
11930 cat >>confdefs.h <<_ACEOF
11931 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
11932 _ACEOF
11933
11934
11935
11936 SIZEOF_INT="$ac_cv_sizeof_int"
11937 SIZEOF_SIZE_T="$ac_cv_sizeof_size_t"
11938 SIZEOF_VOID_P="$ac_cv_sizeof_void_p"
11939
11940
11941
11942
11943
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mat_int64_t" >&5
11945 $as_echo_n "checking for mat_int64_t... " >&6; }
11946
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11949
11950 #include <stdlib.h>
11951 #ifdef HAVE_INTTYPES_H
11952 # include <inttypes.h>
11953 #endif
11954 #ifdef HAVE_STDINT_H
11955 # include <stdint.h>
11956 #endif
11957
11958 int
11959 main ()
11960 {
11961 int64_t i = 0;
11962 ;
11963 return 0;
11964 }
11965 _ACEOF
11966 if ac_fn_c_try_link "$LINENO"; then :
11967 ac_have_mat_int64_t=yes
11968 else
11969 ac_have_mat_int64_t=no
11970 fi
11971 rm -f core conftest.err conftest.$ac_objext \
11972 conftest$ac_exeext conftest.$ac_ext
11973
11974 if test "x$ac_have_mat_int64_t" = "xyes"
11975 then
11976 ac_have_mat_int64_t=yes
11977
11978 cat >>confdefs.h <<_ACEOF
11979 #define HAVE_MAT_INT64_T /**/
11980 _ACEOF
11981
11982
11983 cat >>confdefs.h <<_ACEOF
11984 #define _mat_int64_t int64_t
11985 _ACEOF
11986
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int64_t" >&5
11988 $as_echo "int64_t" >&6; }
11989 fi
11990 if test "x$ac_have_mat_int64_t" != "xyes"
11991 then
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11994
11995 #include <stdlib.h>
11996 #ifdef HAVE_INTTYPES_H
11997 # include <inttypes.h>
11998 #endif
11999 #ifdef HAVE_STDINT_H
12000 # include <stdint.h>
12001 #endif
12002 #include <limits.h>
12003 #if CHAR_BIT != 64
12004 #matio sizeof(signed char) not 64 bits
12005 #endif
12006
12007 int
12008 main ()
12009 {
12010 signed char i = 0;
12011 ;
12012 return 0;
12013 }
12014 _ACEOF
12015 if ac_fn_c_try_link "$LINENO"; then :
12016 ac_have_mat_int64_t=yes
12017 else
12018 ac_have_mat_int64_t=no
12019 fi
12020 rm -f core conftest.err conftest.$ac_objext \
12021 conftest$ac_exeext conftest.$ac_ext
12022
12023 if test "x$ac_have_mat_int64_t" = "xyes"
12024 then
12025
12026 cat >>confdefs.h <<_ACEOF
12027 #define HAVE_MAT_INT64_T /**/
12028 _ACEOF
12029
12030
12031 cat >>confdefs.h <<_ACEOF
12032 #define _mat_int64_t signed char
12033 _ACEOF
12034
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: signed char" >&5
12036 $as_echo "signed char" >&6; }
12037 fi
12038 fi
12039 if test "x$ac_have_mat_int64_t" != "xyes"
12040 then
12041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12042 /* end confdefs.h. */
12043
12044 #include <stdlib.h>
12045 #ifdef HAVE_INTTYPES_H
12046 # include <inttypes.h>
12047 #endif
12048 #ifdef HAVE_STDINT_H
12049 # include <stdint.h>
12050 #endif
12051 #include <limits.h>
12052 #if CHAR_BIT*SIZEOF_SHORT != 64
12053 #matio sizeof(short) not 64 bits
12054 #endif
12055
12056 int
12057 main ()
12058 {
12059 short i = 0;
12060 ;
12061 return 0;
12062 }
12063 _ACEOF
12064 if ac_fn_c_try_link "$LINENO"; then :
12065 ac_have_mat_int64_t=yes
12066 else
12067 ac_have_mat_int64_t=no
12068 fi
12069 rm -f core conftest.err conftest.$ac_objext \
12070 conftest$ac_exeext conftest.$ac_ext
12071
12072 if test "x$ac_have_mat_int64_t" = "xyes"
12073 then
12074
12075 cat >>confdefs.h <<_ACEOF
12076 #define HAVE_MAT_INT64_T /**/
12077 _ACEOF
12078
12079
12080 cat >>confdefs.h <<_ACEOF
12081 #define _mat_int64_t short
12082 _ACEOF
12083
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: short" >&5
12085 $as_echo "short" >&6; }
12086 fi
12087 fi
12088 if test "x$ac_have_mat_int64_t" != "xyes"
12089 then
12090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12091 /* end confdefs.h. */
12092
12093 #include <stdlib.h>
12094 #ifdef HAVE_INTTYPES_H
12095 # include <inttypes.h>
12096 #endif
12097 #ifdef HAVE_STDINT_H
12098 # include <stdint.h>
12099 #endif
12100 #include <limits.h>
12101 #if CHAR_BIT*SIZEOF_INT != 64
12102 #matio sizeof(int) not 64 bits
12103 #endif
12104
12105 int
12106 main ()
12107 {
12108 int i = 0;
12109 ;
12110 return 0;
12111 }
12112 _ACEOF
12113 if ac_fn_c_try_link "$LINENO"; then :
12114 ac_have_mat_int64_t=yes
12115 else
12116 ac_have_mat_int64_t=no
12117 fi
12118 rm -f core conftest.err conftest.$ac_objext \
12119 conftest$ac_exeext conftest.$ac_ext
12120
12121 if test "x$ac_have_mat_int64_t" = "xyes"
12122 then
12123
12124 cat >>confdefs.h <<_ACEOF
12125 #define HAVE_MAT_INT64_T /**/
12126 _ACEOF
12127
12128
12129 cat >>confdefs.h <<_ACEOF
12130 #define _mat_int64_t int
12131 _ACEOF
12132
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int" >&5
12134 $as_echo "int" >&6; }
12135 fi
12136 fi
12137 if test "x$ac_have_mat_int64_t" != "xyes"
12138 then
12139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12141
12142 #include <stdlib.h>
12143 #ifdef HAVE_INTTYPES_H
12144 # include <inttypes.h>
12145 #endif
12146 #ifdef HAVE_STDINT_H
12147 # include <stdint.h>
12148 #endif
12149 #include <limits.h>
12150 #if CHAR_BIT*SIZEOF_LONG != 64
12151 #matio sizeof(long) not 64 bits
12152 #endif
12153
12154 int
12155 main ()
12156 {
12157 long i = 0;
12158 ;
12159 return 0;
12160 }
12161 _ACEOF
12162 if ac_fn_c_try_link "$LINENO"; then :
12163 ac_have_mat_int64_t=yes
12164 else
12165 ac_have_mat_int64_t=no
12166 fi
12167 rm -f core conftest.err conftest.$ac_objext \
12168 conftest$ac_exeext conftest.$ac_ext
12169
12170 if test "x$ac_have_mat_int64_t" = "xyes"
12171 then
12172
12173 cat >>confdefs.h <<_ACEOF
12174 #define HAVE_MAT_INT64_T /**/
12175 _ACEOF
12176
12177
12178 cat >>confdefs.h <<_ACEOF
12179 #define _mat_int64_t long
12180 _ACEOF
12181
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: long" >&5
12183 $as_echo "long" >&6; }
12184 fi
12185 fi
12186 if test "x$ac_have_mat_int64_t" != "xyes"
12187 then
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12190
12191 #include <stdlib.h>
12192 #ifdef HAVE_INTTYPES_H
12193 # include <inttypes.h>
12194 #endif
12195 #ifdef HAVE_STDINT_H
12196 # include <stdint.h>
12197 #endif
12198 #include <limits.h>
12199 #if CHAR_BIT*SIZEOF_LONG_LONG != 64
12200 #matio sizeof(long long) not 64 bits
12201 #endif
12202
12203 int
12204 main ()
12205 {
12206 long long i = 0;
12207 ;
12208 return 0;
12209 }
12210 _ACEOF
12211 if ac_fn_c_try_link "$LINENO"; then :
12212 ac_have_mat_int64_t=yes
12213 else
12214 ac_have_mat_int64_t=no
12215 fi
12216 rm -f core conftest.err conftest.$ac_objext \
12217 conftest$ac_exeext conftest.$ac_ext
12218
12219 if test "x$ac_have_mat_int64_t" = "xyes"
12220 then
12221
12222 cat >>confdefs.h <<_ACEOF
12223 #define HAVE_MAT_INT64_T /**/
12224 _ACEOF
12225
12226
12227 cat >>confdefs.h <<_ACEOF
12228 #define _mat_int64_t long long
12229 _ACEOF
12230
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: long long" >&5
12232 $as_echo "long long" >&6; }
12233 fi
12234 fi
12235 if test "x$ac_have_mat_int64_t" != "xyes"
12236 then
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12238 $as_echo "" >&6; }
12239 fi
12240
12241
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mat_uint64_t" >&5
12243 $as_echo_n "checking for mat_uint64_t... " >&6; }
12244
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12247
12248 #include <stdlib.h>
12249 #ifdef HAVE_INTTYPES_H
12250 # include <inttypes.h>
12251 #endif
12252 #ifdef HAVE_STDINT_H
12253 # include <stdint.h>
12254 #endif
12255
12256 int
12257 main ()
12258 {
12259 uint64_t i = 0;
12260 ;
12261 return 0;
12262 }
12263 _ACEOF
12264 if ac_fn_c_try_link "$LINENO"; then :
12265 ac_have_mat_uint64_t=yes
12266 else
12267 ac_have_mat_uint64_t=no
12268 fi
12269 rm -f core conftest.err conftest.$ac_objext \
12270 conftest$ac_exeext conftest.$ac_ext
12271
12272 if test "x$ac_have_mat_uint64_t" = "xyes"
12273 then
12274 ac_have_mat_uint64_t=yes
12275
12276 cat >>confdefs.h <<_ACEOF
12277 #define HAVE_MAT_UINT64_T /**/
12278 _ACEOF
12279
12280
12281 cat >>confdefs.h <<_ACEOF
12282 #define _mat_uint64_t uint64_t
12283 _ACEOF
12284
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: uint64_t" >&5
12286 $as_echo "uint64_t" >&6; }
12287 fi
12288 if test "x$ac_have_mat_uint64_t" != "xyes"
12289 then
12290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12292
12293 #include <stdlib.h>
12294 #ifdef HAVE_INTTYPES_H
12295 # include <inttypes.h>
12296 #endif
12297 #ifdef HAVE_STDINT_H
12298 # include <stdint.h>
12299 #endif
12300 #include <limits.h>
12301 #if CHAR_BIT != 64
12302 #matio sizeof(signed char) not 64 bits
12303 #endif
12304
12305 int
12306 main ()
12307 {
12308 unsigned char i = 0;
12309 ;
12310 return 0;
12311 }
12312 _ACEOF
12313 if ac_fn_c_try_link "$LINENO"; then :
12314 ac_have_mat_uint64_t=yes
12315 else
12316 ac_have_mat_uint64_t=no
12317 fi
12318 rm -f core conftest.err conftest.$ac_objext \
12319 conftest$ac_exeext conftest.$ac_ext
12320
12321 if test "x$ac_have_mat_uint64_t" = "xyes"
12322 then
12323
12324 cat >>confdefs.h <<_ACEOF
12325 #define HAVE_MAT_UINT64_T /**/
12326 _ACEOF
12327
12328
12329 cat >>confdefs.h <<_ACEOF
12330 #define _mat_uint64_t unsigned char
12331 _ACEOF
12332
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned char" >&5
12334 $as_echo "unsigned char" >&6; }
12335 fi
12336 fi
12337 if test "x$ac_have_mat_uint64_t" != "xyes"
12338 then
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12341
12342 #include <stdlib.h>
12343 #ifdef HAVE_INTTYPES_H
12344 # include <inttypes.h>
12345 #endif
12346 #ifdef HAVE_STDINT_H
12347 # include <stdint.h>
12348 #endif
12349 #include <limits.h>
12350 #if CHAR_BIT*SIZEOF_SHORT != 64
12351 #matio sizeof(short) not 64 bits
12352 #endif
12353
12354 int
12355 main ()
12356 {
12357 unsigned short i = 0;
12358 ;
12359 return 0;
12360 }
12361 _ACEOF
12362 if ac_fn_c_try_link "$LINENO"; then :
12363 ac_have_mat_uint64_t=yes
12364 else
12365 ac_have_mat_uint64_t=no
12366 fi
12367 rm -f core conftest.err conftest.$ac_objext \
12368 conftest$ac_exeext conftest.$ac_ext
12369
12370 if test "x$ac_have_mat_uint64_t" = "xyes"
12371 then
12372
12373 cat >>confdefs.h <<_ACEOF
12374 #define HAVE_MAT_UINT64_T /**/
12375 _ACEOF
12376
12377
12378 cat >>confdefs.h <<_ACEOF
12379 #define _mat_uint64_t unsigned short
12380 _ACEOF
12381
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned short" >&5
12383 $as_echo "unsigned short" >&6; }
12384 fi
12385 fi
12386 if test "x$ac_have_mat_uint64_t" != "xyes"
12387 then
12388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12390
12391 #include <stdlib.h>
12392 #ifdef HAVE_INTTYPES_H
12393 # include <inttypes.h>
12394 #endif
12395 #ifdef HAVE_STDINT_H
12396 # include <stdint.h>
12397 #endif
12398 #include <limits.h>
12399 #if CHAR_BIT*SIZEOF_INT != 64
12400 #matio sizeof(int) not 64 bits
12401 #endif
12402
12403 int
12404 main ()
12405 {
12406 unsigned int i = 0;
12407 ;
12408 return 0;
12409 }
12410 _ACEOF
12411 if ac_fn_c_try_link "$LINENO"; then :
12412 ac_have_mat_uint64_t=yes
12413 else
12414 ac_have_mat_uint64_t=no
12415 fi
12416 rm -f core conftest.err conftest.$ac_objext \
12417 conftest$ac_exeext conftest.$ac_ext
12418
12419 if test "x$ac_have_mat_uint64_t" = "xyes"
12420 then
12421
12422 cat >>confdefs.h <<_ACEOF
12423 #define HAVE_MAT_UINT64_T /**/
12424 _ACEOF
12425
12426
12427 cat >>confdefs.h <<_ACEOF
12428 #define _mat_uint64_t unsigned int
12429 _ACEOF
12430
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned int" >&5
12432 $as_echo "unsigned int" >&6; }
12433 fi
12434 fi
12435 if test "x$ac_have_mat_uint64_t" != "xyes"
12436 then
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12439
12440 #include <stdlib.h>
12441 #ifdef HAVE_INTTYPES_H
12442 # include <inttypes.h>
12443 #endif
12444 #ifdef HAVE_STDINT_H
12445 # include <stdint.h>
12446 #endif
12447 #include <limits.h>
12448 #if CHAR_BIT*SIZEOF_LONG != 64
12449 #matio sizeof(long) not 64 bits
12450 #endif
12451
12452 int
12453 main ()
12454 {
12455 unsigned long i = 0;
12456 ;
12457 return 0;
12458 }
12459 _ACEOF
12460 if ac_fn_c_try_link "$LINENO"; then :
12461 ac_have_mat_uint64_t=yes
12462 else
12463 ac_have_mat_uint64_t=no
12464 fi
12465 rm -f core conftest.err conftest.$ac_objext \
12466 conftest$ac_exeext conftest.$ac_ext
12467
12468 if test "x$ac_have_mat_uint64_t" = "xyes"
12469 then
12470
12471 cat >>confdefs.h <<_ACEOF
12472 #define HAVE_MAT_UINT64_T /**/
12473 _ACEOF
12474
12475
12476 cat >>confdefs.h <<_ACEOF
12477 #define _mat_uint64_t unsigned long
12478 _ACEOF
12479
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned long" >&5
12481 $as_echo "unsigned long" >&6; }
12482 fi
12483 fi
12484 if test "x$ac_have_mat_uint64_t" != "xyes"
12485 then
12486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12488
12489 #include <stdlib.h>
12490 #ifdef HAVE_INTTYPES_H
12491 # include <inttypes.h>
12492 #endif
12493 #ifdef HAVE_STDINT_H
12494 # include <stdint.h>
12495 #endif
12496 #include <limits.h>
12497 #if CHAR_BIT*SIZEOF_LONG_LONG != 64
12498 #matio sizeof(long long) not 64 bits
12499 #endif
12500
12501 int
12502 main ()
12503 {
12504 unsigned long long i = 0;
12505 ;
12506 return 0;
12507 }
12508 _ACEOF
12509 if ac_fn_c_try_link "$LINENO"; then :
12510 ac_have_mat_uint64_t=yes
12511 else
12512 ac_have_mat_uint64_t=no
12513 fi
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516
12517 if test "x$ac_have_mat_uint64_t" = "xyes"
12518 then
12519
12520 cat >>confdefs.h <<_ACEOF
12521 #define HAVE_MAT_UINT64_T /**/
12522 _ACEOF
12523
12524
12525 cat >>confdefs.h <<_ACEOF
12526 #define _mat_uint64_t unsigned long long
12527 _ACEOF
12528
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned long long" >&5
12530 $as_echo "unsigned long long" >&6; }
12531 fi
12532 fi
12533 if test "x$ac_have_mat_uint64_t" != "xyes"
12534 then
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12536 $as_echo "" >&6; }
12537 fi
12538
12539
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mat_int32_t" >&5
12541 $as_echo_n "checking for mat_int32_t... " >&6; }
12542
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12545
12546 #include <stdlib.h>
12547 #ifdef HAVE_INTTYPES_H
12548 # include <inttypes.h>
12549 #endif
12550 #ifdef HAVE_STDINT_H
12551 # include <stdint.h>
12552 #endif
12553
12554 int
12555 main ()
12556 {
12557 int32_t i = 0;
12558 ;
12559 return 0;
12560 }
12561 _ACEOF
12562 if ac_fn_c_try_link "$LINENO"; then :
12563 ac_have_mat_int32_t=yes
12564 else
12565 ac_have_mat_int32_t=no
12566 fi
12567 rm -f core conftest.err conftest.$ac_objext \
12568 conftest$ac_exeext conftest.$ac_ext
12569
12570 if test "x$ac_have_mat_int32_t" = "xyes"
12571 then
12572 ac_have_mat_int32_t=yes
12573
12574 cat >>confdefs.h <<_ACEOF
12575 #define HAVE_MAT_INT32_T /**/
12576 _ACEOF
12577
12578
12579 cat >>confdefs.h <<_ACEOF
12580 #define _mat_int32_t int32_t
12581 _ACEOF
12582
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int32_t" >&5
12584 $as_echo "int32_t" >&6; }
12585 fi
12586 if test "x$ac_have_mat_int32_t" != "xyes"
12587 then
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12590
12591 #include <stdlib.h>
12592 #ifdef HAVE_INTTYPES_H
12593 # include <inttypes.h>
12594 #endif
12595 #ifdef HAVE_STDINT_H
12596 # include <stdint.h>
12597 #endif
12598 #include <limits.h>
12599 #if CHAR_BIT != 32
12600 #matio sizeof(signed char) not 32 bits
12601 #endif
12602
12603 int
12604 main ()
12605 {
12606 signed char i = 0;
12607 ;
12608 return 0;
12609 }
12610 _ACEOF
12611 if ac_fn_c_try_link "$LINENO"; then :
12612 ac_have_mat_int32_t=yes
12613 else
12614 ac_have_mat_int32_t=no
12615 fi
12616 rm -f core conftest.err conftest.$ac_objext \
12617 conftest$ac_exeext conftest.$ac_ext
12618
12619 if test "x$ac_have_mat_int32_t" = "xyes"
12620 then
12621
12622 cat >>confdefs.h <<_ACEOF
12623 #define HAVE_MAT_INT32_T /**/
12624 _ACEOF
12625
12626
12627 cat >>confdefs.h <<_ACEOF
12628 #define _mat_int32_t signed char
12629 _ACEOF
12630
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: signed char" >&5
12632 $as_echo "signed char" >&6; }
12633 fi
12634 fi
12635 if test "x$ac_have_mat_int32_t" != "xyes"
12636 then
12637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12638 /* end confdefs.h. */
12639
12640 #include <stdlib.h>
12641 #ifdef HAVE_INTTYPES_H
12642 # include <inttypes.h>
12643 #endif
12644 #ifdef HAVE_STDINT_H
12645 # include <stdint.h>
12646 #endif
12647 #include <limits.h>
12648 #if CHAR_BIT*SIZEOF_SHORT != 32
12649 #matio sizeof(short) not 32 bits
12650 #endif
12651
12652 int
12653 main ()
12654 {
12655 short i = 0;
12656 ;
12657 return 0;
12658 }
12659 _ACEOF
12660 if ac_fn_c_try_link "$LINENO"; then :
12661 ac_have_mat_int32_t=yes
12662 else
12663 ac_have_mat_int32_t=no
12664 fi
12665 rm -f core conftest.err conftest.$ac_objext \
12666 conftest$ac_exeext conftest.$ac_ext
12667
12668 if test "x$ac_have_mat_int32_t" = "xyes"
12669 then
12670
12671 cat >>confdefs.h <<_ACEOF
12672 #define HAVE_MAT_INT32_T /**/
12673 _ACEOF
12674
12675
12676 cat >>confdefs.h <<_ACEOF
12677 #define _mat_int32_t short
12678 _ACEOF
12679
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: short" >&5
12681 $as_echo "short" >&6; }
12682 fi
12683 fi
12684 if test "x$ac_have_mat_int32_t" != "xyes"
12685 then
12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12688
12689 #include <stdlib.h>
12690 #ifdef HAVE_INTTYPES_H
12691 # include <inttypes.h>
12692 #endif
12693 #ifdef HAVE_STDINT_H
12694 # include <stdint.h>
12695 #endif
12696 #include <limits.h>
12697 #if CHAR_BIT*SIZEOF_INT != 32
12698 #matio sizeof(int) not 32 bits
12699 #endif
12700
12701 int
12702 main ()
12703 {
12704 int i = 0;
12705 ;
12706 return 0;
12707 }
12708 _ACEOF
12709 if ac_fn_c_try_link "$LINENO"; then :
12710 ac_have_mat_int32_t=yes
12711 else
12712 ac_have_mat_int32_t=no
12713 fi
12714 rm -f core conftest.err conftest.$ac_objext \
12715 conftest$ac_exeext conftest.$ac_ext
12716
12717 if test "x$ac_have_mat_int32_t" = "xyes"
12718 then
12719
12720 cat >>confdefs.h <<_ACEOF
12721 #define HAVE_MAT_INT32_T /**/
12722 _ACEOF
12723
12724
12725 cat >>confdefs.h <<_ACEOF
12726 #define _mat_int32_t int
12727 _ACEOF
12728
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int" >&5
12730 $as_echo "int" >&6; }
12731 fi
12732 fi
12733 if test "x$ac_have_mat_int32_t" != "xyes"
12734 then
12735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12737
12738 #include <stdlib.h>
12739 #ifdef HAVE_INTTYPES_H
12740 # include <inttypes.h>
12741 #endif
12742 #ifdef HAVE_STDINT_H
12743 # include <stdint.h>
12744 #endif
12745 #include <limits.h>
12746 #if CHAR_BIT*SIZEOF_LONG != 32
12747 #matio sizeof(long) not 32 bits
12748 #endif
12749
12750 int
12751 main ()
12752 {
12753 long i = 0;
12754 ;
12755 return 0;
12756 }
12757 _ACEOF
12758 if ac_fn_c_try_link "$LINENO"; then :
12759 ac_have_mat_int32_t=yes
12760 else
12761 ac_have_mat_int32_t=no
12762 fi
12763 rm -f core conftest.err conftest.$ac_objext \
12764 conftest$ac_exeext conftest.$ac_ext
12765
12766 if test "x$ac_have_mat_int32_t" = "xyes"
12767 then
12768
12769 cat >>confdefs.h <<_ACEOF
12770 #define HAVE_MAT_INT32_T /**/
12771 _ACEOF
12772
12773
12774 cat >>confdefs.h <<_ACEOF
12775 #define _mat_int32_t long
12776 _ACEOF
12777
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: long" >&5
12779 $as_echo "long" >&6; }
12780 fi
12781 fi
12782 if test "x$ac_have_mat_int32_t" != "xyes"
12783 then
12784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12785 /* end confdefs.h. */
12786
12787 #include <stdlib.h>
12788 #ifdef HAVE_INTTYPES_H
12789 # include <inttypes.h>
12790 #endif
12791 #ifdef HAVE_STDINT_H
12792 # include <stdint.h>
12793 #endif
12794 #include <limits.h>
12795 #if CHAR_BIT*SIZEOF_LONG_LONG != 32
12796 #matio sizeof(long long) not 32 bits
12797 #endif
12798
12799 int
12800 main ()
12801 {
12802 long long i = 0;
12803 ;
12804 return 0;
12805 }
12806 _ACEOF
12807 if ac_fn_c_try_link "$LINENO"; then :
12808 ac_have_mat_int32_t=yes
12809 else
12810 ac_have_mat_int32_t=no
12811 fi
12812 rm -f core conftest.err conftest.$ac_objext \
12813 conftest$ac_exeext conftest.$ac_ext
12814
12815 if test "x$ac_have_mat_int32_t" = "xyes"
12816 then
12817
12818 cat >>confdefs.h <<_ACEOF
12819 #define HAVE_MAT_INT32_T /**/
12820 _ACEOF
12821
12822
12823 cat >>confdefs.h <<_ACEOF
12824 #define _mat_int32_t long long
12825 _ACEOF
12826
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: long long" >&5
12828 $as_echo "long long" >&6; }
12829 fi
12830 fi
12831 if test "x$ac_have_mat_int32_t" != "xyes"
12832 then
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12834 $as_echo "" >&6; }
12835 fi
12836
12837
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mat_uint32_t" >&5
12839 $as_echo_n "checking for mat_uint32_t... " >&6; }
12840
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12843
12844 #include <stdlib.h>
12845 #ifdef HAVE_INTTYPES_H
12846 # include <inttypes.h>
12847 #endif
12848 #ifdef HAVE_STDINT_H
12849 # include <stdint.h>
12850 #endif
12851
12852 int
12853 main ()
12854 {
12855 uint32_t i = 0;
12856 ;
12857 return 0;
12858 }
12859 _ACEOF
12860 if ac_fn_c_try_link "$LINENO"; then :
12861 ac_have_mat_uint32_t=yes
12862 else
12863 ac_have_mat_uint32_t=no
12864 fi
12865 rm -f core conftest.err conftest.$ac_objext \
12866 conftest$ac_exeext conftest.$ac_ext
12867
12868 if test "x$ac_have_mat_uint32_t" = "xyes"
12869 then
12870 ac_have_mat_uint32_t=yes
12871
12872 cat >>confdefs.h <<_ACEOF
12873 #define HAVE_MAT_UINT32_T /**/
12874 _ACEOF
12875
12876
12877 cat >>confdefs.h <<_ACEOF
12878 #define _mat_uint32_t uint32_t
12879 _ACEOF
12880
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: uint32_t" >&5
12882 $as_echo "uint32_t" >&6; }
12883 fi
12884 if test "x$ac_have_mat_uint32_t" != "xyes"
12885 then
12886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12887 /* end confdefs.h. */
12888
12889 #include <stdlib.h>
12890 #ifdef HAVE_INTTYPES_H
12891 # include <inttypes.h>
12892 #endif
12893 #ifdef HAVE_STDINT_H
12894 # include <stdint.h>
12895 #endif
12896 #include <limits.h>
12897 #if CHAR_BIT != 32
12898 #matio sizeof(signed char) not 32 bits
12899 #endif
12900
12901 int
12902 main ()
12903 {
12904 unsigned char i = 0;
12905 ;
12906 return 0;
12907 }
12908 _ACEOF
12909 if ac_fn_c_try_link "$LINENO"; then :
12910 ac_have_mat_uint32_t=yes
12911 else
12912 ac_have_mat_uint32_t=no
12913 fi
12914 rm -f core conftest.err conftest.$ac_objext \
12915 conftest$ac_exeext conftest.$ac_ext
12916
12917 if test "x$ac_have_mat_uint32_t" = "xyes"
12918 then
12919
12920 cat >>confdefs.h <<_ACEOF
12921 #define HAVE_MAT_UINT32_T /**/
12922 _ACEOF
12923
12924
12925 cat >>confdefs.h <<_ACEOF
12926 #define _mat_uint32_t unsigned char
12927 _ACEOF
12928
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned char" >&5
12930 $as_echo "unsigned char" >&6; }
12931 fi
12932 fi
12933 if test "x$ac_have_mat_uint32_t" != "xyes"
12934 then
12935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12936 /* end confdefs.h. */
12937
12938 #include <stdlib.h>
12939 #ifdef HAVE_INTTYPES_H
12940 # include <inttypes.h>
12941 #endif
12942 #ifdef HAVE_STDINT_H
12943 # include <stdint.h>
12944 #endif
12945 #include <limits.h>
12946 #if CHAR_BIT*SIZEOF_SHORT != 32
12947 #matio sizeof(short) not 32 bits
12948 #endif
12949
12950 int
12951 main ()
12952 {
12953 unsigned short i = 0;
12954 ;
12955 return 0;
12956 }
12957 _ACEOF
12958 if ac_fn_c_try_link "$LINENO"; then :
12959 ac_have_mat_uint32_t=yes
12960 else
12961 ac_have_mat_uint32_t=no
12962 fi
12963 rm -f core conftest.err conftest.$ac_objext \
12964 conftest$ac_exeext conftest.$ac_ext
12965
12966 if test "x$ac_have_mat_uint32_t" = "xyes"
12967 then
12968
12969 cat >>confdefs.h <<_ACEOF
12970 #define HAVE_MAT_UINT32_T /**/
12971 _ACEOF
12972
12973
12974 cat >>confdefs.h <<_ACEOF
12975 #define _mat_uint32_t unsigned short
12976 _ACEOF
12977
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned short" >&5
12979 $as_echo "unsigned short" >&6; }
12980 fi
12981 fi
12982 if test "x$ac_have_mat_uint32_t" != "xyes"
12983 then
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12986
12987 #include <stdlib.h>
12988 #ifdef HAVE_INTTYPES_H
12989 # include <inttypes.h>
12990 #endif
12991 #ifdef HAVE_STDINT_H
12992 # include <stdint.h>
12993 #endif
12994 #include <limits.h>
12995 #if CHAR_BIT*SIZEOF_INT != 32
12996 #matio sizeof(int) not 32 bits
12997 #endif
12998
12999 int
13000 main ()
13001 {
13002 unsigned int i = 0;
13003 ;
13004 return 0;
13005 }
13006 _ACEOF
13007 if ac_fn_c_try_link "$LINENO"; then :
13008 ac_have_mat_uint32_t=yes
13009 else
13010 ac_have_mat_uint32_t=no
13011 fi
13012 rm -f core conftest.err conftest.$ac_objext \
13013 conftest$ac_exeext conftest.$ac_ext
13014
13015 if test "x$ac_have_mat_uint32_t" = "xyes"
13016 then
13017
13018 cat >>confdefs.h <<_ACEOF
13019 #define HAVE_MAT_UINT32_T /**/
13020 _ACEOF
13021
13022
13023 cat >>confdefs.h <<_ACEOF
13024 #define _mat_uint32_t unsigned int
13025 _ACEOF
13026
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned int" >&5
13028 $as_echo "unsigned int" >&6; }
13029 fi
13030 fi
13031 if test "x$ac_have_mat_uint32_t" != "xyes"
13032 then
13033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13034 /* end confdefs.h. */
13035
13036 #include <stdlib.h>
13037 #ifdef HAVE_INTTYPES_H
13038 # include <inttypes.h>
13039 #endif
13040 #ifdef HAVE_STDINT_H
13041 # include <stdint.h>
13042 #endif
13043 #include <limits.h>
13044 #if CHAR_BIT*SIZEOF_LONG != 32
13045 #matio sizeof(long) not 32 bits
13046 #endif
13047
13048 int
13049 main ()
13050 {
13051 unsigned long i = 0;
13052 ;
13053 return 0;
13054 }
13055 _ACEOF
13056 if ac_fn_c_try_link "$LINENO"; then :
13057 ac_have_mat_uint32_t=yes
13058 else
13059 ac_have_mat_uint32_t=no
13060 fi
13061 rm -f core conftest.err conftest.$ac_objext \
13062 conftest$ac_exeext conftest.$ac_ext
13063
13064 if test "x$ac_have_mat_uint32_t" = "xyes"
13065 then
13066
13067 cat >>confdefs.h <<_ACEOF
13068 #define HAVE_MAT_UINT32_T /**/
13069 _ACEOF
13070
13071
13072 cat >>confdefs.h <<_ACEOF
13073 #define _mat_uint32_t unsigned long
13074 _ACEOF
13075
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned long" >&5
13077 $as_echo "unsigned long" >&6; }
13078 fi
13079 fi
13080 if test "x$ac_have_mat_uint32_t" != "xyes"
13081 then
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13084
13085 #include <stdlib.h>
13086 #ifdef HAVE_INTTYPES_H
13087 # include <inttypes.h>
13088 #endif
13089 #ifdef HAVE_STDINT_H
13090 # include <stdint.h>
13091 #endif
13092 #include <limits.h>
13093 #if CHAR_BIT*SIZEOF_LONG_LONG != 32
13094 #matio sizeof(long long) not 32 bits
13095 #endif
13096
13097 int
13098 main ()
13099 {
13100 unsigned long long i = 0;
13101 ;
13102 return 0;
13103 }
13104 _ACEOF
13105 if ac_fn_c_try_link "$LINENO"; then :
13106 ac_have_mat_uint32_t=yes
13107 else
13108 ac_have_mat_uint32_t=no
13109 fi
13110 rm -f core conftest.err conftest.$ac_objext \
13111 conftest$ac_exeext conftest.$ac_ext
13112
13113 if test "x$ac_have_mat_uint32_t" = "xyes"
13114 then
13115
13116 cat >>confdefs.h <<_ACEOF
13117 #define HAVE_MAT_UINT32_T /**/
13118 _ACEOF
13119
13120
13121 cat >>confdefs.h <<_ACEOF
13122 #define _mat_uint32_t unsigned long long
13123 _ACEOF
13124
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned long long" >&5
13126 $as_echo "unsigned long long" >&6; }
13127 fi
13128 fi
13129 if test "x$ac_have_mat_uint32_t" != "xyes"
13130 then
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13132 $as_echo "" >&6; }
13133 fi
13134
13135
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mat_int16_t" >&5
13137 $as_echo_n "checking for mat_int16_t... " >&6; }
13138
13139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13140 /* end confdefs.h. */
13141
13142 #include <stdlib.h>
13143 #ifdef HAVE_INTTYPES_H
13144 # include <inttypes.h>
13145 #endif
13146 #ifdef HAVE_STDINT_H
13147 # include <stdint.h>
13148 #endif
13149
13150 int
13151 main ()
13152 {
13153 int16_t i = 0;
13154 ;
13155 return 0;
13156 }
13157 _ACEOF
13158 if ac_fn_c_try_link "$LINENO"; then :
13159 ac_have_mat_int16_t=yes
13160 else
13161 ac_have_mat_int16_t=no
13162 fi
13163 rm -f core conftest.err conftest.$ac_objext \
13164 conftest$ac_exeext conftest.$ac_ext
13165
13166 if test "x$ac_have_mat_int16_t" = "xyes"
13167 then
13168 ac_have_mat_int16_t=yes
13169
13170 cat >>confdefs.h <<_ACEOF
13171 #define HAVE_MAT_INT16_T /**/
13172 _ACEOF
13173
13174
13175 cat >>confdefs.h <<_ACEOF
13176 #define _mat_int16_t int16_t
13177 _ACEOF
13178
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int16_t" >&5
13180 $as_echo "int16_t" >&6; }
13181 fi
13182 if test "x$ac_have_mat_int16_t" != "xyes"
13183 then
13184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h. */
13186
13187 #include <stdlib.h>
13188 #ifdef HAVE_INTTYPES_H
13189 # include <inttypes.h>
13190 #endif
13191 #ifdef HAVE_STDINT_H
13192 # include <stdint.h>
13193 #endif
13194 #include <limits.h>
13195 #if CHAR_BIT != 16
13196 #matio sizeof(signed char) not 16 bits
13197 #endif
13198
13199 int
13200 main ()
13201 {
13202 signed char i = 0;
13203 ;
13204 return 0;
13205 }
13206 _ACEOF
13207 if ac_fn_c_try_link "$LINENO"; then :
13208 ac_have_mat_int16_t=yes
13209 else
13210 ac_have_mat_int16_t=no
13211 fi
13212 rm -f core conftest.err conftest.$ac_objext \
13213 conftest$ac_exeext conftest.$ac_ext
13214
13215 if test "x$ac_have_mat_int16_t" = "xyes"
13216 then
13217
13218 cat >>confdefs.h <<_ACEOF
13219 #define HAVE_MAT_INT16_T /**/
13220 _ACEOF
13221
13222
13223 cat >>confdefs.h <<_ACEOF
13224 #define _mat_int16_t signed char
13225 _ACEOF
13226
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: signed char" >&5
13228 $as_echo "signed char" >&6; }
13229 fi
13230 fi
13231 if test "x$ac_have_mat_int16_t" != "xyes"
13232 then
13233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13234 /* end confdefs.h. */
13235
13236 #include <stdlib.h>
13237 #ifdef HAVE_INTTYPES_H
13238 # include <inttypes.h>
13239 #endif
13240 #ifdef HAVE_STDINT_H
13241 # include <stdint.h>
13242 #endif
13243 #include <limits.h>
13244 #if CHAR_BIT*SIZEOF_SHORT != 16
13245 #matio sizeof(short) not 16 bits
13246 #endif
13247
13248 int
13249 main ()
13250 {
13251 short i = 0;
13252 ;
13253 return 0;
13254 }
13255 _ACEOF
13256 if ac_fn_c_try_link "$LINENO"; then :
13257 ac_have_mat_int16_t=yes
13258 else
13259 ac_have_mat_int16_t=no
13260 fi
13261 rm -f core conftest.err conftest.$ac_objext \
13262 conftest$ac_exeext conftest.$ac_ext
13263
13264 if test "x$ac_have_mat_int16_t" = "xyes"
13265 then
13266
13267 cat >>confdefs.h <<_ACEOF
13268 #define HAVE_MAT_INT16_T /**/
13269 _ACEOF
13270
13271
13272 cat >>confdefs.h <<_ACEOF
13273 #define _mat_int16_t short
13274 _ACEOF
13275
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: short" >&5
13277 $as_echo "short" >&6; }
13278 fi
13279 fi
13280 if test "x$ac_have_mat_int16_t" != "xyes"
13281 then
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13284
13285 #include <stdlib.h>
13286 #ifdef HAVE_INTTYPES_H
13287 # include <inttypes.h>
13288 #endif
13289 #ifdef HAVE_STDINT_H
13290 # include <stdint.h>
13291 #endif
13292 #include <limits.h>
13293 #if CHAR_BIT*SIZEOF_INT != 16
13294 #matio sizeof(int) not 16 bits
13295 #endif
13296
13297 int
13298 main ()
13299 {
13300 int i = 0;
13301 ;
13302 return 0;
13303 }
13304 _ACEOF
13305 if ac_fn_c_try_link "$LINENO"; then :
13306 ac_have_mat_int16_t=yes
13307 else
13308 ac_have_mat_int16_t=no
13309 fi
13310 rm -f core conftest.err conftest.$ac_objext \
13311 conftest$ac_exeext conftest.$ac_ext
13312
13313 if test "x$ac_have_mat_int16_t" = "xyes"
13314 then
13315
13316 cat >>confdefs.h <<_ACEOF
13317 #define HAVE_MAT_INT16_T /**/
13318 _ACEOF
13319
13320
13321 cat >>confdefs.h <<_ACEOF
13322 #define _mat_int16_t int
13323 _ACEOF
13324
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int" >&5
13326 $as_echo "int" >&6; }
13327 fi
13328 fi
13329 if test "x$ac_have_mat_int16_t" != "xyes"
13330 then
13331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13332 /* end confdefs.h. */
13333
13334 #include <stdlib.h>
13335 #ifdef HAVE_INTTYPES_H
13336 # include <inttypes.h>
13337 #endif
13338 #ifdef HAVE_STDINT_H
13339 # include <stdint.h>
13340 #endif
13341 #include <limits.h>
13342 #if CHAR_BIT*SIZEOF_LONG != 16
13343 #matio sizeof(long) not 16 bits
13344 #endif
13345
13346 int
13347 main ()
13348 {
13349 long i = 0;
13350 ;
13351 return 0;
13352 }
13353 _ACEOF
13354 if ac_fn_c_try_link "$LINENO"; then :
13355 ac_have_mat_int16_t=yes
13356 else
13357 ac_have_mat_int16_t=no
13358 fi
13359 rm -f core conftest.err conftest.$ac_objext \
13360 conftest$ac_exeext conftest.$ac_ext
13361
13362 if test "x$ac_have_mat_int16_t" = "xyes"
13363 then
13364
13365 cat >>confdefs.h <<_ACEOF
13366 #define HAVE_MAT_INT16_T /**/
13367 _ACEOF
13368
13369
13370 cat >>confdefs.h <<_ACEOF
13371 #define _mat_int16_t long
13372 _ACEOF
13373
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: long" >&5
13375 $as_echo "long" >&6; }
13376 fi
13377 fi
13378 if test "x$ac_have_mat_int16_t" != "xyes"
13379 then
13380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13381 /* end confdefs.h. */
13382
13383 #include <stdlib.h>
13384 #ifdef HAVE_INTTYPES_H
13385 # include <inttypes.h>
13386 #endif
13387 #ifdef HAVE_STDINT_H
13388 # include <stdint.h>
13389 #endif
13390 #include <limits.h>
13391 #if CHAR_BIT*SIZEOF_LONG_LONG != 16
13392 #matio sizeof(long long) not 16 bits
13393 #endif
13394
13395 int
13396 main ()
13397 {
13398 long long i = 0;
13399 ;
13400 return 0;
13401 }
13402 _ACEOF
13403 if ac_fn_c_try_link "$LINENO"; then :
13404 ac_have_mat_int16_t=yes
13405 else
13406 ac_have_mat_int16_t=no
13407 fi
13408 rm -f core conftest.err conftest.$ac_objext \
13409 conftest$ac_exeext conftest.$ac_ext
13410
13411 if test "x$ac_have_mat_int16_t" = "xyes"
13412 then
13413
13414 cat >>confdefs.h <<_ACEOF
13415 #define HAVE_MAT_INT16_T /**/
13416 _ACEOF
13417
13418
13419 cat >>confdefs.h <<_ACEOF
13420 #define _mat_int16_t long long
13421 _ACEOF
13422
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: long long" >&5
13424 $as_echo "long long" >&6; }
13425 fi
13426 fi
13427 if test "x$ac_have_mat_int16_t" != "xyes"
13428 then
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13430 $as_echo "" >&6; }
13431 fi
13432
13433
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mat_uint16_t" >&5
13435 $as_echo_n "checking for mat_uint16_t... " >&6; }
13436
13437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13439
13440 #include <stdlib.h>
13441 #ifdef HAVE_INTTYPES_H
13442 # include <inttypes.h>
13443 #endif
13444 #ifdef HAVE_STDINT_H
13445 # include <stdint.h>
13446 #endif
13447
13448 int
13449 main ()
13450 {
13451 uint16_t i = 0;
13452 ;
13453 return 0;
13454 }
13455 _ACEOF
13456 if ac_fn_c_try_link "$LINENO"; then :
13457 ac_have_mat_uint16_t=yes
13458 else
13459 ac_have_mat_uint16_t=no
13460 fi
13461 rm -f core conftest.err conftest.$ac_objext \
13462 conftest$ac_exeext conftest.$ac_ext
13463
13464 if test "x$ac_have_mat_uint16_t" = "xyes"
13465 then
13466 ac_have_mat_uint16_t=yes
13467
13468 cat >>confdefs.h <<_ACEOF
13469 #define HAVE_MAT_UINT16_T /**/
13470 _ACEOF
13471
13472
13473 cat >>confdefs.h <<_ACEOF
13474 #define _mat_uint16_t uint16_t
13475 _ACEOF
13476
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: uint16_t" >&5
13478 $as_echo "uint16_t" >&6; }
13479 fi
13480 if test "x$ac_have_mat_uint16_t" != "xyes"
13481 then
13482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13483 /* end confdefs.h. */
13484
13485 #include <stdlib.h>
13486 #ifdef HAVE_INTTYPES_H
13487 # include <inttypes.h>
13488 #endif
13489 #ifdef HAVE_STDINT_H
13490 # include <stdint.h>
13491 #endif
13492 #include <limits.h>
13493 #if CHAR_BIT != 16
13494 #matio sizeof(signed char) not 16 bits
13495 #endif
13496
13497 int
13498 main ()
13499 {
13500 unsigned char i = 0;
13501 ;
13502 return 0;
13503 }
13504 _ACEOF
13505 if ac_fn_c_try_link "$LINENO"; then :
13506 ac_have_mat_uint16_t=yes
13507 else
13508 ac_have_mat_uint16_t=no
13509 fi
13510 rm -f core conftest.err conftest.$ac_objext \
13511 conftest$ac_exeext conftest.$ac_ext
13512
13513 if test "x$ac_have_mat_uint16_t" = "xyes"
13514 then
13515
13516 cat >>confdefs.h <<_ACEOF
13517 #define HAVE_MAT_UINT16_T /**/
13518 _ACEOF
13519
13520
13521 cat >>confdefs.h <<_ACEOF
13522 #define _mat_uint16_t unsigned char
13523 _ACEOF
13524
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned char" >&5
13526 $as_echo "unsigned char" >&6; }
13527 fi
13528 fi
13529 if test "x$ac_have_mat_uint16_t" != "xyes"
13530 then
13531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13532 /* end confdefs.h. */
13533
13534 #include <stdlib.h>
13535 #ifdef HAVE_INTTYPES_H
13536 # include <inttypes.h>
13537 #endif
13538 #ifdef HAVE_STDINT_H
13539 # include <stdint.h>
13540 #endif
13541 #include <limits.h>
13542 #if CHAR_BIT*SIZEOF_SHORT != 16
13543 #matio sizeof(short) not 16 bits
13544 #endif
13545
13546 int
13547 main ()
13548 {
13549 unsigned short i = 0;
13550 ;
13551 return 0;
13552 }
13553 _ACEOF
13554 if ac_fn_c_try_link "$LINENO"; then :
13555 ac_have_mat_uint16_t=yes
13556 else
13557 ac_have_mat_uint16_t=no
13558 fi
13559 rm -f core conftest.err conftest.$ac_objext \
13560 conftest$ac_exeext conftest.$ac_ext
13561
13562 if test "x$ac_have_mat_uint16_t" = "xyes"
13563 then
13564
13565 cat >>confdefs.h <<_ACEOF
13566 #define HAVE_MAT_UINT16_T /**/
13567 _ACEOF
13568
13569
13570 cat >>confdefs.h <<_ACEOF
13571 #define _mat_uint16_t unsigned short
13572 _ACEOF
13573
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned short" >&5
13575 $as_echo "unsigned short" >&6; }
13576 fi
13577 fi
13578 if test "x$ac_have_mat_uint16_t" != "xyes"
13579 then
13580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581 /* end confdefs.h. */
13582
13583 #include <stdlib.h>
13584 #ifdef HAVE_INTTYPES_H
13585 # include <inttypes.h>
13586 #endif
13587 #ifdef HAVE_STDINT_H
13588 # include <stdint.h>
13589 #endif
13590 #include <limits.h>
13591 #if CHAR_BIT*SIZEOF_INT != 16
13592 #matio sizeof(int) not 16 bits
13593 #endif
13594
13595 int
13596 main ()
13597 {
13598 unsigned int i = 0;
13599 ;
13600 return 0;
13601 }
13602 _ACEOF
13603 if ac_fn_c_try_link "$LINENO"; then :
13604 ac_have_mat_uint16_t=yes
13605 else
13606 ac_have_mat_uint16_t=no
13607 fi
13608 rm -f core conftest.err conftest.$ac_objext \
13609 conftest$ac_exeext conftest.$ac_ext
13610
13611 if test "x$ac_have_mat_uint16_t" = "xyes"
13612 then
13613
13614 cat >>confdefs.h <<_ACEOF
13615 #define HAVE_MAT_UINT16_T /**/
13616 _ACEOF
13617
13618
13619 cat >>confdefs.h <<_ACEOF
13620 #define _mat_uint16_t unsigned int
13621 _ACEOF
13622
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned int" >&5
13624 $as_echo "unsigned int" >&6; }
13625 fi
13626 fi
13627 if test "x$ac_have_mat_uint16_t" != "xyes"
13628 then
13629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13631
13632 #include <stdlib.h>
13633 #ifdef HAVE_INTTYPES_H
13634 # include <inttypes.h>
13635 #endif
13636 #ifdef HAVE_STDINT_H
13637 # include <stdint.h>
13638 #endif
13639 #include <limits.h>
13640 #if CHAR_BIT*SIZEOF_LONG != 16
13641 #matio sizeof(long) not 16 bits
13642 #endif
13643
13644 int
13645 main ()
13646 {
13647 unsigned long i = 0;
13648 ;
13649 return 0;
13650 }
13651 _ACEOF
13652 if ac_fn_c_try_link "$LINENO"; then :
13653 ac_have_mat_uint16_t=yes
13654 else
13655 ac_have_mat_uint16_t=no
13656 fi
13657 rm -f core conftest.err conftest.$ac_objext \
13658 conftest$ac_exeext conftest.$ac_ext
13659
13660 if test "x$ac_have_mat_uint16_t" = "xyes"
13661 then
13662
13663 cat >>confdefs.h <<_ACEOF
13664 #define HAVE_MAT_UINT16_T /**/
13665 _ACEOF
13666
13667
13668 cat >>confdefs.h <<_ACEOF
13669 #define _mat_uint16_t unsigned long
13670 _ACEOF
13671
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned long" >&5
13673 $as_echo "unsigned long" >&6; }
13674 fi
13675 fi
13676 if test "x$ac_have_mat_uint16_t" != "xyes"
13677 then
13678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13679 /* end confdefs.h. */
13680
13681 #include <stdlib.h>
13682 #ifdef HAVE_INTTYPES_H
13683 # include <inttypes.h>
13684 #endif
13685 #ifdef HAVE_STDINT_H
13686 # include <stdint.h>
13687 #endif
13688 #include <limits.h>
13689 #if CHAR_BIT*SIZEOF_LONG_LONG != 16
13690 #matio sizeof(long long) not 16 bits
13691 #endif
13692
13693 int
13694 main ()
13695 {
13696 unsigned long long i = 0;
13697 ;
13698 return 0;
13699 }
13700 _ACEOF
13701 if ac_fn_c_try_link "$LINENO"; then :
13702 ac_have_mat_uint16_t=yes
13703 else
13704 ac_have_mat_uint16_t=no
13705 fi
13706 rm -f core conftest.err conftest.$ac_objext \
13707 conftest$ac_exeext conftest.$ac_ext
13708
13709 if test "x$ac_have_mat_uint16_t" = "xyes"
13710 then
13711
13712 cat >>confdefs.h <<_ACEOF
13713 #define HAVE_MAT_UINT16_T /**/
13714 _ACEOF
13715
13716
13717 cat >>confdefs.h <<_ACEOF
13718 #define _mat_uint16_t unsigned long long
13719 _ACEOF
13720
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned long long" >&5
13722 $as_echo "unsigned long long" >&6; }
13723 fi
13724 fi
13725 if test "x$ac_have_mat_uint16_t" != "xyes"
13726 then
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13728 $as_echo "" >&6; }
13729 fi
13730
13731
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mat_int8_t" >&5
13733 $as_echo_n "checking for mat_int8_t... " >&6; }
13734
13735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13736 /* end confdefs.h. */
13737
13738 #include <stdlib.h>
13739 #ifdef HAVE_INTTYPES_H
13740 # include <inttypes.h>
13741 #endif
13742 #ifdef HAVE_STDINT_H
13743 # include <stdint.h>
13744 #endif
13745
13746 int
13747 main ()
13748 {
13749 int8_t i = 0;
13750 ;
13751 return 0;
13752 }
13753 _ACEOF
13754 if ac_fn_c_try_link "$LINENO"; then :
13755 ac_have_mat_int8_t=yes
13756 else
13757 ac_have_mat_int8_t=no
13758 fi
13759 rm -f core conftest.err conftest.$ac_objext \
13760 conftest$ac_exeext conftest.$ac_ext
13761
13762 if test "x$ac_have_mat_int8_t" = "xyes"
13763 then
13764 ac_have_mat_int8_t=yes
13765
13766 cat >>confdefs.h <<_ACEOF
13767 #define HAVE_MAT_INT8_T /**/
13768 _ACEOF
13769
13770
13771 cat >>confdefs.h <<_ACEOF
13772 #define _mat_int8_t int8_t
13773 _ACEOF
13774
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int8_t" >&5
13776 $as_echo "int8_t" >&6; }
13777 fi
13778 if test "x$ac_have_mat_int8_t" != "xyes"
13779 then
13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782
13783 #include <stdlib.h>
13784 #ifdef HAVE_INTTYPES_H
13785 # include <inttypes.h>
13786 #endif
13787 #ifdef HAVE_STDINT_H
13788 # include <stdint.h>
13789 #endif
13790 #include <limits.h>
13791 #if CHAR_BIT != 8
13792 #matio sizeof(signed char) not 8 bits
13793 #endif
13794
13795 int
13796 main ()
13797 {
13798 signed char i = 0;
13799 ;
13800 return 0;
13801 }
13802 _ACEOF
13803 if ac_fn_c_try_link "$LINENO"; then :
13804 ac_have_mat_int8_t=yes
13805 else
13806 ac_have_mat_int8_t=no
13807 fi
13808 rm -f core conftest.err conftest.$ac_objext \
13809 conftest$ac_exeext conftest.$ac_ext
13810
13811 if test "x$ac_have_mat_int8_t" = "xyes"
13812 then
13813
13814 cat >>confdefs.h <<_ACEOF
13815 #define HAVE_MAT_INT8_T /**/
13816 _ACEOF
13817
13818
13819 cat >>confdefs.h <<_ACEOF
13820 #define _mat_int8_t signed char
13821 _ACEOF
13822
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: signed char" >&5
13824 $as_echo "signed char" >&6; }
13825 fi
13826 fi
13827 if test "x$ac_have_mat_int8_t" != "xyes"
13828 then
13829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13831
13832 #include <stdlib.h>
13833 #ifdef HAVE_INTTYPES_H
13834 # include <inttypes.h>
13835 #endif
13836 #ifdef HAVE_STDINT_H
13837 # include <stdint.h>
13838 #endif
13839 #include <limits.h>
13840 #if CHAR_BIT*SIZEOF_SHORT != 8
13841 #matio sizeof(short) not 8 bits
13842 #endif
13843
13844 int
13845 main ()
13846 {
13847 short i = 0;
13848 ;
13849 return 0;
13850 }
13851 _ACEOF
13852 if ac_fn_c_try_link "$LINENO"; then :
13853 ac_have_mat_int8_t=yes
13854 else
13855 ac_have_mat_int8_t=no
13856 fi
13857 rm -f core conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13859
13860 if test "x$ac_have_mat_int8_t" = "xyes"
13861 then
13862
13863 cat >>confdefs.h <<_ACEOF
13864 #define HAVE_MAT_INT8_T /**/
13865 _ACEOF
13866
13867
13868 cat >>confdefs.h <<_ACEOF
13869 #define _mat_int8_t short
13870 _ACEOF
13871
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: short" >&5
13873 $as_echo "short" >&6; }
13874 fi
13875 fi
13876 if test "x$ac_have_mat_int8_t" != "xyes"
13877 then
13878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h. */
13880
13881 #include <stdlib.h>
13882 #ifdef HAVE_INTTYPES_H
13883 # include <inttypes.h>
13884 #endif
13885 #ifdef HAVE_STDINT_H
13886 # include <stdint.h>
13887 #endif
13888 #include <limits.h>
13889 #if CHAR_BIT*SIZEOF_INT != 8
13890 #matio sizeof(int) not 8 bits
13891 #endif
13892
13893 int
13894 main ()
13895 {
13896 int i = 0;
13897 ;
13898 return 0;
13899 }
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"; then :
13902 ac_have_mat_int8_t=yes
13903 else
13904 ac_have_mat_int8_t=no
13905 fi
13906 rm -f core conftest.err conftest.$ac_objext \
13907 conftest$ac_exeext conftest.$ac_ext
13908
13909 if test "x$ac_have_mat_int8_t" = "xyes"
13910 then
13911
13912 cat >>confdefs.h <<_ACEOF
13913 #define HAVE_MAT_INT8_T /**/
13914 _ACEOF
13915
13916
13917 cat >>confdefs.h <<_ACEOF
13918 #define _mat_int8_t int
13919 _ACEOF
13920
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int" >&5
13922 $as_echo "int" >&6; }
13923 fi
13924 fi
13925 if test "x$ac_have_mat_int8_t" != "xyes"
13926 then
13927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13928 /* end confdefs.h. */
13929
13930 #include <stdlib.h>
13931 #ifdef HAVE_INTTYPES_H
13932 # include <inttypes.h>
13933 #endif
13934 #ifdef HAVE_STDINT_H
13935 # include <stdint.h>
13936 #endif
13937 #include <limits.h>
13938 #if CHAR_BIT*SIZEOF_LONG != 8
13939 #matio sizeof(long) not 8 bits
13940 #endif
13941
13942 int
13943 main ()
13944 {
13945 long i = 0;
13946 ;
13947 return 0;
13948 }
13949 _ACEOF
13950 if ac_fn_c_try_link "$LINENO"; then :
13951 ac_have_mat_int8_t=yes
13952 else
13953 ac_have_mat_int8_t=no
13954 fi
13955 rm -f core conftest.err conftest.$ac_objext \
13956 conftest$ac_exeext conftest.$ac_ext
13957
13958 if test "x$ac_have_mat_int8_t" = "xyes"
13959 then
13960
13961 cat >>confdefs.h <<_ACEOF
13962 #define HAVE_MAT_INT8_T /**/
13963 _ACEOF
13964
13965
13966 cat >>confdefs.h <<_ACEOF
13967 #define _mat_int8_t long
13968 _ACEOF
13969
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: long" >&5
13971 $as_echo "long" >&6; }
13972 fi
13973 fi
13974 if test "x$ac_have_mat_int8_t" != "xyes"
13975 then
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13978
13979 #include <stdlib.h>
13980 #ifdef HAVE_INTTYPES_H
13981 # include <inttypes.h>
13982 #endif
13983 #ifdef HAVE_STDINT_H
13984 # include <stdint.h>
13985 #endif
13986 #include <limits.h>
13987 #if CHAR_BIT*SIZEOF_LONG_LONG != 8
13988 #matio sizeof(long long) not 8 bits
13989 #endif
13990
13991 int
13992 main ()
13993 {
13994 long long i = 0;
13995 ;
13996 return 0;
13997 }
13998 _ACEOF
13999 if ac_fn_c_try_link "$LINENO"; then :
14000 ac_have_mat_int8_t=yes
14001 else
14002 ac_have_mat_int8_t=no
14003 fi
14004 rm -f core conftest.err conftest.$ac_objext \
14005 conftest$ac_exeext conftest.$ac_ext
14006
14007 if test "x$ac_have_mat_int8_t" = "xyes"
14008 then
14009
14010 cat >>confdefs.h <<_ACEOF
14011 #define HAVE_MAT_INT8_T /**/
14012 _ACEOF
14013
14014
14015 cat >>confdefs.h <<_ACEOF
14016 #define _mat_int8_t long long
14017 _ACEOF
14018
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: long long" >&5
14020 $as_echo "long long" >&6; }
14021 fi
14022 fi
14023 if test "x$ac_have_mat_int8_t" != "xyes"
14024 then
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14026 $as_echo "" >&6; }
14027 fi
14028
14029
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mat_uint8_t" >&5
14031 $as_echo_n "checking for mat_uint8_t... " >&6; }
14032
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14035
14036 #include <stdlib.h>
14037 #ifdef HAVE_INTTYPES_H
14038 # include <inttypes.h>
14039 #endif
14040 #ifdef HAVE_STDINT_H
14041 # include <stdint.h>
14042 #endif
14043
14044 int
14045 main ()
14046 {
14047 uint8_t i = 0;
14048 ;
14049 return 0;
14050 }
14051 _ACEOF
14052 if ac_fn_c_try_link "$LINENO"; then :
14053 ac_have_mat_uint8_t=yes
14054 else
14055 ac_have_mat_uint8_t=no
14056 fi
14057 rm -f core conftest.err conftest.$ac_objext \
14058 conftest$ac_exeext conftest.$ac_ext
14059
14060 if test "x$ac_have_mat_uint8_t" = "xyes"
14061 then
14062 ac_have_mat_uint8_t=yes
14063
14064 cat >>confdefs.h <<_ACEOF
14065 #define HAVE_MAT_UINT8_T /**/
14066 _ACEOF
14067
14068
14069 cat >>confdefs.h <<_ACEOF
14070 #define _mat_uint8_t uint8_t
14071 _ACEOF
14072
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: uint8_t" >&5
14074 $as_echo "uint8_t" >&6; }
14075 fi
14076 if test "x$ac_have_mat_uint8_t" != "xyes"
14077 then
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14080
14081 #include <stdlib.h>
14082 #ifdef HAVE_INTTYPES_H
14083 # include <inttypes.h>
14084 #endif
14085 #ifdef HAVE_STDINT_H
14086 # include <stdint.h>
14087 #endif
14088 #include <limits.h>
14089 #if CHAR_BIT != 8
14090 #matio sizeof(signed char) not 8 bits
14091 #endif
14092
14093 int
14094 main ()
14095 {
14096 unsigned char i = 0;
14097 ;
14098 return 0;
14099 }
14100 _ACEOF
14101 if ac_fn_c_try_link "$LINENO"; then :
14102 ac_have_mat_uint8_t=yes
14103 else
14104 ac_have_mat_uint8_t=no
14105 fi
14106 rm -f core conftest.err conftest.$ac_objext \
14107 conftest$ac_exeext conftest.$ac_ext
14108
14109 if test "x$ac_have_mat_uint8_t" = "xyes"
14110 then
14111
14112 cat >>confdefs.h <<_ACEOF
14113 #define HAVE_MAT_UINT8_T /**/
14114 _ACEOF
14115
14116
14117 cat >>confdefs.h <<_ACEOF
14118 #define _mat_uint8_t unsigned char
14119 _ACEOF
14120
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned char" >&5
14122 $as_echo "unsigned char" >&6; }
14123 fi
14124 fi
14125 if test "x$ac_have_mat_uint8_t" != "xyes"
14126 then
14127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14129
14130 #include <stdlib.h>
14131 #ifdef HAVE_INTTYPES_H
14132 # include <inttypes.h>
14133 #endif
14134 #ifdef HAVE_STDINT_H
14135 # include <stdint.h>
14136 #endif
14137 #include <limits.h>
14138 #if CHAR_BIT*SIZEOF_SHORT != 8
14139 #matio sizeof(short) not 8 bits
14140 #endif
14141
14142 int
14143 main ()
14144 {
14145 unsigned short i = 0;
14146 ;
14147 return 0;
14148 }
14149 _ACEOF
14150 if ac_fn_c_try_link "$LINENO"; then :
14151 ac_have_mat_uint8_t=yes
14152 else
14153 ac_have_mat_uint8_t=no
14154 fi
14155 rm -f core conftest.err conftest.$ac_objext \
14156 conftest$ac_exeext conftest.$ac_ext
14157
14158 if test "x$ac_have_mat_uint8_t" = "xyes"
14159 then
14160
14161 cat >>confdefs.h <<_ACEOF
14162 #define HAVE_MAT_UINT8_T /**/
14163 _ACEOF
14164
14165
14166 cat >>confdefs.h <<_ACEOF
14167 #define _mat_uint8_t unsigned short
14168 _ACEOF
14169
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned short" >&5
14171 $as_echo "unsigned short" >&6; }
14172 fi
14173 fi
14174 if test "x$ac_have_mat_uint8_t" != "xyes"
14175 then
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14178
14179 #include <stdlib.h>
14180 #ifdef HAVE_INTTYPES_H
14181 # include <inttypes.h>
14182 #endif
14183 #ifdef HAVE_STDINT_H
14184 # include <stdint.h>
14185 #endif
14186 #include <limits.h>
14187 #if CHAR_BIT*SIZEOF_INT != 8
14188 #matio sizeof(int) not 8 bits
14189 #endif
14190
14191 int
14192 main ()
14193 {
14194 unsigned int i = 0;
14195 ;
14196 return 0;
14197 }
14198 _ACEOF
14199 if ac_fn_c_try_link "$LINENO"; then :
14200 ac_have_mat_uint8_t=yes
14201 else
14202 ac_have_mat_uint8_t=no
14203 fi
14204 rm -f core conftest.err conftest.$ac_objext \
14205 conftest$ac_exeext conftest.$ac_ext
14206
14207 if test "x$ac_have_mat_uint8_t" = "xyes"
14208 then
14209
14210 cat >>confdefs.h <<_ACEOF
14211 #define HAVE_MAT_UINT8_T /**/
14212 _ACEOF
14213
14214
14215 cat >>confdefs.h <<_ACEOF
14216 #define _mat_uint8_t unsigned int
14217 _ACEOF
14218
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned int" >&5
14220 $as_echo "unsigned int" >&6; }
14221 fi
14222 fi
14223 if test "x$ac_have_mat_uint8_t" != "xyes"
14224 then
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227
14228 #include <stdlib.h>
14229 #ifdef HAVE_INTTYPES_H
14230 # include <inttypes.h>
14231 #endif
14232 #ifdef HAVE_STDINT_H
14233 # include <stdint.h>
14234 #endif
14235 #include <limits.h>
14236 #if CHAR_BIT*SIZEOF_LONG != 8
14237 #matio sizeof(long) not 8 bits
14238 #endif
14239
14240 int
14241 main ()
14242 {
14243 unsigned long i = 0;
14244 ;
14245 return 0;
14246 }
14247 _ACEOF
14248 if ac_fn_c_try_link "$LINENO"; then :
14249 ac_have_mat_uint8_t=yes
14250 else
14251 ac_have_mat_uint8_t=no
14252 fi
14253 rm -f core conftest.err conftest.$ac_objext \
14254 conftest$ac_exeext conftest.$ac_ext
14255
14256 if test "x$ac_have_mat_uint8_t" = "xyes"
14257 then
14258
14259 cat >>confdefs.h <<_ACEOF
14260 #define HAVE_MAT_UINT8_T /**/
14261 _ACEOF
14262
14263
14264 cat >>confdefs.h <<_ACEOF
14265 #define _mat_uint8_t unsigned long
14266 _ACEOF
14267
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned long" >&5
14269 $as_echo "unsigned long" >&6; }
14270 fi
14271 fi
14272 if test "x$ac_have_mat_uint8_t" != "xyes"
14273 then
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14276
14277 #include <stdlib.h>
14278 #ifdef HAVE_INTTYPES_H
14279 # include <inttypes.h>
14280 #endif
14281 #ifdef HAVE_STDINT_H
14282 # include <stdint.h>
14283 #endif
14284 #include <limits.h>
14285 #if CHAR_BIT*SIZEOF_LONG_LONG != 8
14286 #matio sizeof(long long) not 8 bits
14287 #endif
14288
14289 int
14290 main ()
14291 {
14292 unsigned long long i = 0;
14293 ;
14294 return 0;
14295 }
14296 _ACEOF
14297 if ac_fn_c_try_link "$LINENO"; then :
14298 ac_have_mat_uint8_t=yes
14299 else
14300 ac_have_mat_uint8_t=no
14301 fi
14302 rm -f core conftest.err conftest.$ac_objext \
14303 conftest$ac_exeext conftest.$ac_ext
14304
14305 if test "x$ac_have_mat_uint8_t" = "xyes"
14306 then
14307
14308 cat >>confdefs.h <<_ACEOF
14309 #define HAVE_MAT_UINT8_T /**/
14310 _ACEOF
14311
14312 cat >>confdefs.h <<_ACEOF
14313 #define _mat_uint8_t unsigned long longint8 type
14314 _ACEOF
14315
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsigned long long" >&5
14317 $as_echo "unsigned long long" >&6; }
14318 fi
14319 fi
14320 if test "x$ac_have_mat_uint8_t" != "xyes"
14321 then
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14323 $as_echo "" >&6; }
14324 fi
14325
14326
14327 if test "x$ac_have_mat_uint64_t" = "xyes"; then
14328 HAVE_UINT64=1
14329 else
14330 HAVE_UINT64=0
14331 fi
14332 if test "x$ac_have_mat_int64_t" = "xyes"; then
14333 HAVE_INT64=1
14334 else
14335 HAVE_INT64=0
14336 fi
14337 HAVE_UINT64=$HAVE_UINT64
14338
14339 HAVE_INT64=$HAVE_INT64
14340
14341
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy()" >&5
14343 $as_echo_n "checking for va_copy()... " >&6; }
14344 if ${matio_cv_have_va_copy+:} false; then :
14345 $as_echo_n "(cached) " >&6
14346 else
14347
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14350
14351 #include <stdarg.h>
14352 void f (int i, ...) {
14353 va_list args1, args2;
14354 va_start (args1, i);
14355 va_copy (args2, args1);
14356 if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
14357 exit (1);
14358 va_end (args1); va_end (args2);
14359 }
14360 int main() {
14361 f (0, 42);
14362 return 0;
14363 }
14364 _ACEOF
14365 if ac_fn_c_try_link "$LINENO"; then :
14366 matio_cv_have_va_copy=yes
14367 else
14368 matio_cv_have_va_copy=no
14369 fi
14370 rm -f core conftest.err conftest.$ac_objext \
14371 conftest$ac_exeext conftest.$ac_ext
14372
14373 fi
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $matio_cv_have_va_copy" >&5
14375 $as_echo "$matio_cv_have_va_copy" >&6; }
14376 if test "$matio_cv_have_va_copy" = "no"
14377 then
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy()" >&5
14379 $as_echo_n "checking for __va_copy()... " >&6; }
14380 if ${matio_cv_have___va_copy+:} false; then :
14381 $as_echo_n "(cached) " >&6
14382 else
14383
14384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14385 /* end confdefs.h. */
14386 #include <stdarg.h>
14387 void f (int i, ...) {
14388 va_list args1, args2;
14389 va_start (args1, i);
14390 __va_copy (args2, args1);
14391 if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
14392 exit (1);
14393 va_end (args1); va_end (args2);
14394 }
14395 int main() {
14396 f (0, 42);
14397 return 0;
14398 }
14399 _ACEOF
14400 if ac_fn_c_try_link "$LINENO"; then :
14401 matio_cv_have___va_copy=yes
14402 else
14403 matio_cv_have___va_copy=no
14404 fi
14405 rm -f core conftest.err conftest.$ac_objext \
14406 conftest$ac_exeext conftest.$ac_ext
14407
14408 fi
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $matio_cv_have___va_copy" >&5
14410 $as_echo "$matio_cv_have___va_copy" >&6; }
14411 if test "matio_cv_have___va_copy" = "yes"
14412 then
14413
14414 cat >>confdefs.h <<_ACEOF
14415 #define HAVE___VA_COPY /**/
14416 _ACEOF
14417
14418 fi
14419 else
14420
14421 cat >>confdefs.h <<_ACEOF
14422 #define HAVE_VA_COPY /**/
14423 _ACEOF
14424
14425 fi
14426
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf()" >&5
14428 $as_echo_n "checking for vsnprintf()... " >&6; }
14429 if ${matio_cv_have_vsnprintf+:} false; then :
14430 $as_echo_n "(cached) " >&6
14431 else
14432
14433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14435
14436 #include <stdlib.h>
14437 #include <stdarg.h>
14438 #include <stdio.h>
14439 int main() {
14440 va_list ap;
14441 vsnprintf(NULL,0,"%d",ap);
14442 return 0;
14443 }
14444 _ACEOF
14445 if ac_fn_c_try_link "$LINENO"; then :
14446 matio_cv_have_vsnprintf=yes
14447 else
14448 matio_cv_have_vsnprintf=no
14449 fi
14450 rm -f core conftest.err conftest.$ac_objext \
14451 conftest$ac_exeext conftest.$ac_ext
14452
14453 fi
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $matio_cv_have_vsnprintf" >&5
14455 $as_echo "$matio_cv_have_vsnprintf" >&6; }
14456
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf()" >&5
14458 $as_echo_n "checking for snprintf()... " >&6; }
14459 if ${matio_cv_have_snprintf+:} false; then :
14460 $as_echo_n "(cached) " >&6
14461 else
14462
14463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14465
14466 #include <stdlib.h>
14467 #include <stdarg.h>
14468 #include <stdio.h>
14469 int main() {
14470 snprintf(NULL,0,"%d",0);
14471 return 0;
14472 }
14473 _ACEOF
14474 if ac_fn_c_try_link "$LINENO"; then :
14475 matio_cv_have_snprintf=yes
14476 else
14477 matio_cv_have_snprintf=no
14478 fi
14479 rm -f core conftest.err conftest.$ac_objext \
14480 conftest$ac_exeext conftest.$ac_ext
14481
14482 fi
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $matio_cv_have_snprintf" >&5
14484 $as_echo "$matio_cv_have_snprintf" >&6; }
14485
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vasprintf()" >&5
14487 $as_echo_n "checking for vasprintf()... " >&6; }
14488 if ${matio_cv_have_vasprintf+:} false; then :
14489 $as_echo_n "(cached) " >&6
14490 else
14491
14492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14494
14495 #include <stdlib.h>
14496 #include <stdarg.h>
14497 #include <stdio.h>
14498 int main() {
14499 va_list ap;
14500 vasprintf(NULL,"%d",ap);
14501 return 0;
14502 }
14503 _ACEOF
14504 if ac_fn_c_try_link "$LINENO"; then :
14505 matio_cv_have_vasprintf=yes
14506 else
14507 matio_cv_have_vasprintf=no
14508 fi
14509 rm -f core conftest.err conftest.$ac_objext \
14510 conftest$ac_exeext conftest.$ac_ext
14511
14512 fi
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $matio_cv_have_vasprintf" >&5
14514 $as_echo "$matio_cv_have_vasprintf" >&6; }
14515
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asprintf()" >&5
14517 $as_echo_n "checking for asprintf()... " >&6; }
14518 if ${matio_cv_have_asprintf+:} false; then :
14519 $as_echo_n "(cached) " >&6
14520 else
14521
14522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14524
14525 #include <stdlib.h>
14526 #include <stdarg.h>
14527 #include <stdio.h>
14528 int main() {
14529 asprintf(NULL,0,"%d",0);
14530 return 0;
14531 }
14532 _ACEOF
14533 if ac_fn_c_try_link "$LINENO"; then :
14534 matio_cv_have_asprintf=yes
14535 else
14536 matio_cv_have_asprintf=no
14537 fi
14538 rm -f core conftest.err conftest.$ac_objext \
14539 conftest$ac_exeext conftest.$ac_ext
14540
14541 fi
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $matio_cv_have_asprintf" >&5
14543 $as_echo "$matio_cv_have_asprintf" >&6; }
14544
14545 if test "$matio_cv_have_vsnprintf" = "yes"
14546 then
14547
14548 cat >>confdefs.h <<_ACEOF
14549 #define HAVE_VSNPRINTF /**/
14550 _ACEOF
14551
14552 fi
14553 if test "$matio_cv_have_snprintf" = "yes"
14554 then
14555
14556 cat >>confdefs.h <<_ACEOF
14557 #define HAVE_SNPRINTF /**/
14558 _ACEOF
14559
14560 fi
14561 if test "$matio_cv_have_vasprintf" = "yes"
14562 then
14563
14564 cat >>confdefs.h <<_ACEOF
14565 #define HAVE_VASPRINTF /**/
14566 _ACEOF
14567
14568 fi
14569 if test "$matio_cv_have_asprintf" = "yes"
14570 then
14571
14572 cat >>confdefs.h <<_ACEOF
14573 #define HAVE_ASPRINTF /**/
14574 _ACEOF
14575
14576 fi
14577
14578
14579
14580 # Check whether --with-matlab was given.
14581 if test "${with_matlab+set}" = set; then :
14582 withval=$with_matlab; MATLAB_DIR="$withval"
14583 else
14584 MATLAB_DIR=""
14585 fi
14586
14587
14588 if test -n "$MATLAB_DIR" -a -d "$MATLAB_DIR"; then
14589 MATLAB_PATH="$PATH_SEPARATOR$MATLAB_DIR"
14590 fi
14591 # Do not use MATLAB as the program name because it can cause the matlab
14592 # script to faile
14593 # Extract the first word of "matlab", so it can be a program name with args.
14594 set dummy matlab; ac_word=$2
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14596 $as_echo_n "checking for $ac_word... " >&6; }
14597 if ${ac_cv_path_MATLABEXE+:} false; then :
14598 $as_echo_n "(cached) " >&6
14599 else
14600 case $MATLABEXE in
14601 [\\/]* | ?:[\\/]*)
14602 ac_cv_path_MATLABEXE="$MATLABEXE" # Let the user override the test with a path.
14603 ;;
14604 *)
14605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14606 for as_dir in $PATH$MATLAB_PATH
14607 do
14608 IFS=$as_save_IFS
14609 test -z "$as_dir" && as_dir=.
14610 for ac_exec_ext in '' $ac_executable_extensions; do
14611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14612 ac_cv_path_MATLABEXE="$as_dir/$ac_word$ac_exec_ext"
14613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14614 break 2
14615 fi
14616 done
14617 done
14618 IFS=$as_save_IFS
14619
14620 ;;
14621 esac
14622 fi
14623 MATLABEXE=$ac_cv_path_MATLABEXE
14624 if test -n "$MATLABEXE"; then
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLABEXE" >&5
14626 $as_echo "$MATLABEXE" >&6; }
14627 else
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14629 $as_echo "no" >&6; }
14630 fi
14631
14632
14633
14634
14635 if test -n "$MATLABEXE"
14636 then
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLABEXE" >&5
14638 $as_echo "$MATLABEXE" >&6; }
14639 matio_cv_have_matlab=yes
14640 else
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14642 $as_echo "no" >&6; }
14643 matio_cv_have_matlab=no
14644 fi
14645
14646
14647
14648
14649 # Check whether --with-zlib was given.
14650 if test "${with_zlib+set}" = set; then :
14651 withval=$with_zlib;
14652 fi
14653
14654 if test "x$with_zlib" != "xno"
14655 then
14656 saved_LIBS="$LIBS"
14657 saved_CFLAGS="$CFLAGS"
14658
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib Library" >&5
14660 $as_echo_n "checking for zlib Library... " >&6; }
14661
14662 if test "x$with_zlib" = "x" -o "x$with_zlib" = "xyes"
14663 then
14664 # Try system zlib
14665 ZLIB_LDOPTS="-lz"
14666 ZLIB_CFLAGS=""
14667 else
14668 ZLIB_LDOPTS="-L$with_zlib/$acl_libdirstem -lz"
14669 ZLIB_CFLAGS="-I$with_zlib/include"
14670 fi
14671 LIBS="$saved_LIBS $ZLIB_LDOPTS"
14672 CFLAGS="$saved_CFLAGS $ZLIB_CFLAGS"
14673
14674 Z_PREFIX=0
14675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14677
14678 #include <stdlib.h>
14679 #include <zlib.h>
14680
14681 int
14682 main ()
14683 {
14684 inflateCopy(NULL,NULL);
14685 ;
14686 return 0;
14687 }
14688 _ACEOF
14689 if ac_fn_c_try_link "$LINENO"; then :
14690 ac_have_zlib=yes
14691 else
14692 ac_have_zlib=no
14693 fi
14694 rm -f core conftest.err conftest.$ac_objext \
14695 conftest$ac_exeext conftest.$ac_ext
14696
14697 if test "$ac_have_zlib" = "no"
14698 then
14699 # Try again with Z_PREFIX
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14702
14703 #include <stdlib.h>
14704 #define Z_PREFIX
14705 #include <zlib.h>
14706
14707 int
14708 main ()
14709 {
14710 inflateCopy(NULL,NULL);
14711 ;
14712 return 0;
14713 }
14714 _ACEOF
14715 if ac_fn_c_try_link "$LINENO"; then :
14716 ac_have_zlib=yes
14717 else
14718 ac_have_zlib=no
14719 fi
14720 rm -f core conftest.err conftest.$ac_objext \
14721 conftest$ac_exeext conftest.$ac_ext
14722 Z_PREFIX=1
14723 fi
14724
14725 LIBS="$saved_LIBS"
14726 CFLAGS="$saved_CFLAGS"
14727
14728 if test "$ac_have_zlib" = "yes"
14729 then
14730 ZLIB_LIBS="$ZLIB_LDOPTS"
14731
14732 cat >>confdefs.h <<_ACEOF
14733 #define HAVE_ZLIB 1
14734 _ACEOF
14735
14736
14737
14738 if test "$Z_PREFIX" = "1"
14739 then
14740
14741 cat >>confdefs.h <<_ACEOF
14742 #define Z_PREFIX 1
14743 _ACEOF
14744
14745 fi
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZLIB_LIBS" >&5
14747 $as_echo "$ZLIB_LIBS" >&6; }
14748 else
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_have_zlib" >&5
14750 $as_echo "$as_me: $ac_have_zlib" >&6;}
14751 fi
14752 else
14753 ac_have_zlib=no
14754 fi
14755 if test "$ac_have_zlib" = "yes" ; then
14756 HAVE_ZLIB_TRUE=
14757 HAVE_ZLIB_FALSE='#'
14758 else
14759 HAVE_ZLIB_TRUE='#'
14760 HAVE_ZLIB_FALSE=
14761 fi
14762
14763
14764
14765
14766
14767 # Check whether --with-hdf5 was given.
14768 if test "${with_hdf5+set}" = set; then :
14769 withval=$with_hdf5; HDF5_DIR=${withval}
14770 else
14771 HDF5_DIR=
14772 fi
14773
14774
14775 ac_have_hdf5=no
14776 if test "x${HDF5_DIR}" != "xno"
14777 then
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HDF5 software" >&5
14779 $as_echo_n "checking for HDF5 software... " >&6; }
14780
14781 if test "x$HDF5_DIR" != "x" -a "x$HDF5_DIR" != "xyes"
14782 then
14783 HDF5_CFLAGS="-I${HDF5_DIR}/include"
14784 if test "$acl_libdirstem" != "lib" -a -d "${HDF5_DIR}/$acl_libdirstem"
14785 then
14786 HDF5_LIBS="-L${HDF5_DIR}/$acl_libdirstem -lhdf5"
14787 else
14788 HDF5_LIBS="-L${HDF5_DIR}/lib -lhdf5"
14789 fi
14790 else
14791 HDF5_LIBS="-lhdf5"
14792 fi
14793
14794 saved_CFLAGS="$CFLAGS"
14795 saved_LDFLAGS="$LDFLAGS"
14796 saved_LIBS="$LIBS"
14797
14798 CFLAGS="$HDF5_CFLAGS $saved_CFLAGS"
14799 LDFLAGS="$saved_LDFLAGS"
14800 LIBS="$HDF5_LIBS $ZLIB_LIBS $saved_LIBS"
14801
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14804 #include<stdio.h>
14805 #include <stdlib.h>
14806 #include <hdf5.h>
14807 int
14808 main ()
14809 {
14810 H5open()
14811 ;
14812 return 0;
14813 }
14814 _ACEOF
14815 if ac_fn_c_try_link "$LINENO"; then :
14816 ac_have_hdf5=yes
14817 else
14818 ac_have_hdf5=no
14819 fi
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext conftest.$ac_ext
14822
14823 CFLAGS="$saved_CFLAGS"
14824 LDFLAGS="$saved_LDFLAGS"
14825 LIBS="$saved_LIBS"
14826 if test "x$ac_have_hdf5" = "xyes"
14827 then
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HDF5_LIBS" >&5
14829 $as_echo "$HDF5_LIBS" >&6; }
14830 else
14831 HDF5_LIBS=
14832 HDF5_CFLAGS=
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14834 $as_echo "no" >&6; }
14835 fi
14836 else
14837 HDF5_LIBS=
14838 HDF5_CFLAGS=
14839 fi
14840
14841 if test "x$ac_have_hdf5" = "xyes"
14842 then
14843
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if HDF5 interface is v1.8" >&5
14845 $as_echo_n "checking if HDF5 interface is v1.8... " >&6; }
14846 saved_CFLAGS="$CFLAGS"
14847 saved_LDFLAGS="$LDFLAGS"
14848 saved_LIBS="$LIBS"
14849
14850 CFLAGS="$HDF5_CFLAGS $saved_CFLAGS"
14851 LDFLAGS="$saved_LDFLAGS"
14852 LIBS="$HDF5_LIBS $ZLIB_LIBS $saved_LIBS"
14853
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14856 #include<stdio.h>
14857 #include <stdlib.h>
14858 #include <hdf5.h>
14859 int
14860 main ()
14861 {
14862 hid_t dset_id = H5Dcreate(0,NULL,0,0,H5P_DEFAULT,H5P_DEFAULT,H5P_DEFAULT);
14863 ;
14864 return 0;
14865 }
14866 _ACEOF
14867 if ac_fn_c_try_link "$LINENO"; then :
14868 matio_hdf5_is_v18=yes
14869 else
14870 matio_hdf5_is_v18=no
14871 fi
14872 rm -f core conftest.err conftest.$ac_objext \
14873 conftest$ac_exeext conftest.$ac_ext
14874
14875 CFLAGS="$saved_CFLAGS"
14876 LDFLAGS="$saved_LDFLAGS"
14877 LIBS="$saved_LIBS"
14878
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $matio_hdf5_is_v18" >&5
14880 $as_echo "$matio_hdf5_is_v18" >&6; }
14881
14882 if test "x$matio_hdf5_is_v18" = "xyes"; then
14883
14884 cat >>confdefs.h <<_ACEOF
14885 #define HAVE_HDF5 1
14886 _ACEOF
14887
14888 else
14889 HDF5_LIBS=""
14890 HDF5_CFLAGS=""
14891 fi
14892 fi
14893
14894
14895
14896 if test "x$ac_have_hdf5" = "xyes" -a "x$matio_hdf5_is_v18" = "xyes" ; then
14897 HAVE_HDF5_TRUE=
14898 HAVE_HDF5_FALSE='#'
14899 else
14900 HAVE_HDF5_TRUE='#'
14901 HAVE_HDF5_FALSE=
14902 fi
14903
14904
14905 # Check whether --enable-mat73 was given.
14906 if test "${enable_mat73+set}" = set; then :
14907 enableval=$enable_mat73; mat73=$enableval
14908 else
14909 mat73=yes
14910 fi
14911
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking enable enable MAT v7.3 file support" >&5
14913 $as_echo_n "checking enable enable MAT v7.3 file support... " >&6; }
14914 if test "x$mat73" = "xno"
14915 then
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14917 $as_echo "no" >&6; }
14918 mat73=no
14919 elif test "x$ac_have_hdf5" = "xno"
14920 then
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14922 $as_echo "no" >&6; }
14923
14924 cat >>confdefs.h <<_ACEOF
14925 #define MAT73 0
14926 _ACEOF
14927
14928 mat73=no
14929 else
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14931 $as_echo "yes" >&6; }
14932
14933 cat >>confdefs.h <<_ACEOF
14934 #define MAT73 1
14935 _ACEOF
14936
14937 mat73=yes
14938 fi
14939 if test "x$mat73" = "xyes"; then
14940 MAT73_TRUE=
14941 MAT73_FALSE='#'
14942 else
14943 MAT73_TRUE='#'
14944 MAT73_FALSE=
14945 fi
14946
14947
14948
14949
14950 # Check whether --with-default-file-ver was given.
14951 if test "${with_default_file_ver+set}" = set; then :
14952 withval=$with_default_file_ver;
14953 else
14954 with_default_file_ver=5
14955 fi
14956
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default MAT file version" >&5
14958 $as_echo_n "checking for default MAT file version... " >&6; }
14959 file_ver=
14960 case "$with_default_file_ver" in
14961 "4")
14962 file_ver=MAT_FT_MAT4
14963 ;;
14964 "5")
14965 file_ver=MAT_FT_MAT5
14966 ;;
14967 "7.3")
14968 file_ver=MAT_FT_MAT73
14969 ;;
14970 esac
14971 if test "x$file_ver" != "x"; then
14972
14973 cat >>confdefs.h <<_ACEOF
14974 #define MAT_FT_DEFAULT $file_ver
14975 _ACEOF
14976
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $file_ver" >&5
14978 $as_echo "$file_ver" >&6; }
14979 else
14980 as_fn_error $? "Unrecognized MAT file version" "$LINENO" 5
14981 fi
14982
14983
14984 # Check whether --enable-extended-sparse was given.
14985 if test "${enable_extended_sparse+set}" = set; then :
14986 enableval=$enable_extended_sparse; extended_sparse=$enableval
14987 else
14988 extended_sparse=yes
14989 fi
14990
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking enable extended sparse types" >&5
14992 $as_echo_n "checking enable extended sparse types... " >&6; }
14993 if test "$extended_sparse" = "no"
14994 then
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14996 $as_echo "no" >&6; }
14997 else
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14999 $as_echo "yes" >&6; }
15000
15001 cat >>confdefs.h <<_ACEOF
15002 #define EXTENDED_SPARSE /**/
15003 _ACEOF
15004
15005 fi
15006
15007 linux="no"
15008 winnt="no"
15009 sun="no"
15010 case $build_os in
15011 *linux*)
15012 linux="yes"
15013
15014 cat >>confdefs.h <<_ACEOF
15015 #define LINUX /**/
15016 _ACEOF
15017 ;;
15018 *mingw*)
15019 winnt="yes"
15020
15021 cat >>confdefs.h <<_ACEOF
15022 #define WINNT /**/
15023 _ACEOF
15024 ;;
15025 *cygwin*)
15026 winnt="yes"
15027
15028 cat >>confdefs.h <<_ACEOF
15029 #define WINNT /**/
15030 _ACEOF
15031 ;;
15032 *sun*)
15033 sun="yes"
15034
15035 cat >>confdefs.h <<_ACEOF
15036 #define SUN /**/
15037 _ACEOF
15038 ;;
15039 *solaris*)
15040 sun="yes"
15041
15042 cat >>confdefs.h <<_ACEOF
15043 #define SUN /**/
15044 _ACEOF
15045 ;;
15046 esac
15047
15048 if test "x$linux" = "xyes"; then
15049 LINUX_TRUE=
15050 LINUX_FALSE='#'
15051 else
15052 LINUX_TRUE='#'
15053 LINUX_FALSE=
15054 fi
15055
15056 if test "x$winnt" = "xyes"; then
15057 WINNT_TRUE=
15058 WINNT_FALSE='#'
15059 else
15060 WINNT_TRUE='#'
15061 WINNT_FALSE=
15062 fi
15063
15064 if test "x$sun" = "xyes"; then
15065 SUN_TRUE=
15066 SUN_FALSE='#'
15067 else
15068 SUN_TRUE='#'
15069 SUN_FALSE=
15070 fi
15071
15072
15073 # Initialize the test suite.
15074 ac_config_commands="$ac_config_commands test/atconfig"
15075
15076 AUTOM4TE=${AUTOM4TE=autom4te}
15077
15078 AUTOTEST='$(AUTOM4TE) --language=Autotest'
15079
15080
15081 ac_config_files="$ac_config_files Makefile matio.pc src/Makefile getopt/Makefile tools/Makefile test/Makefile documentation/Makefile"
15082
15083 cat >confcache <<\_ACEOF
15084 # This file is a shell script that caches the results of configure
15085 # tests run on this system so they can be shared between configure
15086 # scripts and configure runs, see configure's option --config-cache.
15087 # It is not useful on other systems. If it contains results you don't
15088 # want to keep, you may remove or edit it.
15089 #
15090 # config.status only pays attention to the cache file if you give it
15091 # the --recheck option to rerun configure.
15092 #
15093 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15094 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15095 # following values.
15096
15097 _ACEOF
15098
15099 # The following way of writing the cache mishandles newlines in values,
15100 # but we know of no workaround that is simple, portable, and efficient.
15101 # So, we kill variables containing newlines.
15102 # Ultrix sh set writes to stderr and can't be redirected directly,
15103 # and sets the high bit in the cache file unless we assign to the vars.
15104 (
15105 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15106 eval ac_val=\$$ac_var
15107 case $ac_val in #(
15108 *${as_nl}*)
15109 case $ac_var in #(
15110 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15111 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15112 esac
15113 case $ac_var in #(
15114 _ | IFS | as_nl) ;; #(
15115 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15116 *) { eval $ac_var=; unset $ac_var;} ;;
15117 esac ;;
15118 esac
15119 done
15120
15121 (set) 2>&1 |
15122 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15123 *${as_nl}ac_space=\ *)
15124 # `set' does not quote correctly, so add quotes: double-quote
15125 # substitution turns \\\\ into \\, and sed turns \\ into \.
15126 sed -n \
15127 "s/'/'\\\\''/g;
15128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15129 ;; #(
15130 *)
15131 # `set' quotes correctly as required by POSIX, so do not add quotes.
15132 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15133 ;;
15134 esac |
15135 sort
15136 ) |
15137 sed '
15138 /^ac_cv_env_/b end
15139 t clear
15140 :clear
15141 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15142 t end
15143 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15144 :end' >>confcache
15145 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15146 if test -w "$cache_file"; then
15147 if test "x$cache_file" != "x/dev/null"; then
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15149 $as_echo "$as_me: updating cache $cache_file" >&6;}
15150 if test ! -f "$cache_file" || test -h "$cache_file"; then
15151 cat confcache >"$cache_file"
15152 else
15153 case $cache_file in #(
15154 */* | ?:*)
15155 mv -f confcache "$cache_file"$$ &&
15156 mv -f "$cache_file"$$ "$cache_file" ;; #(
15157 *)
15158 mv -f confcache "$cache_file" ;;
15159 esac
15160 fi
15161 fi
15162 else
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15164 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15165 fi
15166 fi
15167 rm -f confcache
15168
15169 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15170 # Let make expand exec_prefix.
15171 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15172
15173 DEFS=-DHAVE_CONFIG_H
15174
15175 ac_libobjs=
15176 ac_ltlibobjs=
15177 U=
15178 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15179 # 1. Remove the extension, and $U if already installed.
15180 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15181 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15182 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15183 # will be set to the directory where LIBOBJS objects are built.
15184 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15185 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15186 done
15187 LIBOBJS=$ac_libobjs
15188
15189 LTLIBOBJS=$ac_ltlibobjs
15190
15191
15192 if test -n "$EXEEXT"; then
15193 am__EXEEXT_TRUE=
15194 am__EXEEXT_FALSE='#'
15195 else
15196 am__EXEEXT_TRUE='#'
15197 am__EXEEXT_FALSE=
15198 fi
15199
15200 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15201 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15203 fi
15204 if test -z "${NEED_GETOPT_TRUE}" && test -z "${NEED_GETOPT_FALSE}"; then
15205 as_fn_error $? "conditional \"NEED_GETOPT\" was never defined.
15206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15207 fi
15208 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
15209 as_fn_error $? "conditional \"HAVE_ZLIB\" was never defined.
15210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15211 fi
15212 if test -z "${HAVE_HDF5_TRUE}" && test -z "${HAVE_HDF5_FALSE}"; then
15213 as_fn_error $? "conditional \"HAVE_HDF5\" was never defined.
15214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15215 fi
15216 if test -z "${MAT73_TRUE}" && test -z "${MAT73_FALSE}"; then
15217 as_fn_error $? "conditional \"MAT73\" was never defined.
15218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15219 fi
15220 if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
15221 as_fn_error $? "conditional \"LINUX\" was never defined.
15222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15223 fi
15224 if test -z "${WINNT_TRUE}" && test -z "${WINNT_FALSE}"; then
15225 as_fn_error $? "conditional \"WINNT\" was never defined.
15226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15227 fi
15228 if test -z "${SUN_TRUE}" && test -z "${SUN_FALSE}"; then
15229 as_fn_error $? "conditional \"SUN\" was never defined.
15230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15231 fi
15232
15233 : "${CONFIG_STATUS=./config.status}"
15234 ac_write_fail=0
15235 ac_clean_files_save=$ac_clean_files
15236 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15238 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15239 as_write_fail=0
15240 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15241 #! $SHELL
15242 # Generated by $as_me.
15243 # Run this file to recreate the current configuration.
15244 # Compiler output produced by configure, useful for debugging
15245 # configure, is in config.log if it exists.
15246
15247 debug=false
15248 ac_cs_recheck=false
15249 ac_cs_silent=false
15250
15251 SHELL=\${CONFIG_SHELL-$SHELL}
15252 export SHELL
15253 _ASEOF
15254 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15255 ## -------------------- ##
15256 ## M4sh Initialization. ##
15257 ## -------------------- ##
15258
15259 # Be more Bourne compatible
15260 DUALCASE=1; export DUALCASE # for MKS sh
15261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15262 emulate sh
15263 NULLCMD=:
15264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15265 # is contrary to our usage. Disable this feature.
15266 alias -g '${1+"$@"}'='"$@"'
15267 setopt NO_GLOB_SUBST
15268 else
15269 case `(set -o) 2>/dev/null` in #(
15270 *posix*) :
15271 set -o posix ;; #(
15272 *) :
15273 ;;
15274 esac
15275 fi
15276
15277
15278 as_nl='
15279 '
15280 export as_nl
15281 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15282 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15283 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15284 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15285 # Prefer a ksh shell builtin over an external printf program on Solaris,
15286 # but without wasting forks for bash or zsh.
15287 if test -z "$BASH_VERSION$ZSH_VERSION" \
15288 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15289 as_echo='print -r --'
15290 as_echo_n='print -rn --'
15291 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15292 as_echo='printf %s\n'
15293 as_echo_n='printf %s'
15294 else
15295 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15296 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15297 as_echo_n='/usr/ucb/echo -n'
15298 else
15299 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15300 as_echo_n_body='eval
15301 arg=$1;
15302 case $arg in #(
15303 *"$as_nl"*)
15304 expr "X$arg" : "X\\(.*\\)$as_nl";
15305 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15306 esac;
15307 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15308 '
15309 export as_echo_n_body
15310 as_echo_n='sh -c $as_echo_n_body as_echo'
15311 fi
15312 export as_echo_body
15313 as_echo='sh -c $as_echo_body as_echo'
15314 fi
15315
15316 # The user is always right.
15317 if test "${PATH_SEPARATOR+set}" != set; then
15318 PATH_SEPARATOR=:
15319 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15320 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15321 PATH_SEPARATOR=';'
15322 }
15323 fi
15324
15325
15326 # IFS
15327 # We need space, tab and new line, in precisely that order. Quoting is
15328 # there to prevent editors from complaining about space-tab.
15329 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15330 # splitting by setting IFS to empty value.)
15331 IFS=" "" $as_nl"
15332
15333 # Find who we are. Look in the path if we contain no directory separator.
15334 as_myself=
15335 case $0 in #((
15336 *[\\/]* ) as_myself=$0 ;;
15337 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15338 for as_dir in $PATH
15339 do
15340 IFS=$as_save_IFS
15341 test -z "$as_dir" && as_dir=.
15342 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15343 done
15344 IFS=$as_save_IFS
15345
15346 ;;
15347 esac
15348 # We did not find ourselves, most probably we were run as `sh COMMAND'
15349 # in which case we are not to be found in the path.
15350 if test "x$as_myself" = x; then
15351 as_myself=$0
15352 fi
15353 if test ! -f "$as_myself"; then
15354 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15355 exit 1
15356 fi
15357
15358 # Unset variables that we do not need and which cause bugs (e.g. in
15359 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15360 # suppresses any "Segmentation fault" message there. '((' could
15361 # trigger a bug in pdksh 5.2.14.
15362 for as_var in BASH_ENV ENV MAIL MAILPATH
15363 do eval test x\${$as_var+set} = xset \
15364 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15365 done
15366 PS1='$ '
15367 PS2='> '
15368 PS4='+ '
15369
15370 # NLS nuisances.
15371 LC_ALL=C
15372 export LC_ALL
15373 LANGUAGE=C
15374 export LANGUAGE
15375
15376 # CDPATH.
15377 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15378
15379
15380 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15381 # ----------------------------------------
15382 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15383 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15384 # script with STATUS, using 1 if that was 0.
15385 as_fn_error ()
15386 {
15387 as_status=$1; test $as_status -eq 0 && as_status=1
15388 if test "$4"; then
15389 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15390 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15391 fi
15392 $as_echo "$as_me: error: $2" >&2
15393 as_fn_exit $as_status
15394 } # as_fn_error
15395
15396
15397 # as_fn_set_status STATUS
15398 # -----------------------
15399 # Set $? to STATUS, without forking.
15400 as_fn_set_status ()
15401 {
15402 return $1
15403 } # as_fn_set_status
15404
15405 # as_fn_exit STATUS
15406 # -----------------
15407 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15408 as_fn_exit ()
15409 {
15410 set +e
15411 as_fn_set_status $1
15412 exit $1
15413 } # as_fn_exit
15414
15415 # as_fn_unset VAR
15416 # ---------------
15417 # Portably unset VAR.
15418 as_fn_unset ()
15419 {
15420 { eval $1=; unset $1;}
15421 }
15422 as_unset=as_fn_unset
15423 # as_fn_append VAR VALUE
15424 # ----------------------
15425 # Append the text in VALUE to the end of the definition contained in VAR. Take
15426 # advantage of any shell optimizations that allow amortized linear growth over
15427 # repeated appends, instead of the typical quadratic growth present in naive
15428 # implementations.
15429 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15430 eval 'as_fn_append ()
15431 {
15432 eval $1+=\$2
15433 }'
15434 else
15435 as_fn_append ()
15436 {
15437 eval $1=\$$1\$2
15438 }
15439 fi # as_fn_append
15440
15441 # as_fn_arith ARG...
15442 # ------------------
15443 # Perform arithmetic evaluation on the ARGs, and store the result in the
15444 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15445 # must be portable across $(()) and expr.
15446 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15447 eval 'as_fn_arith ()
15448 {
15449 as_val=$(( $* ))
15450 }'
15451 else
15452 as_fn_arith ()
15453 {
15454 as_val=`expr "$@" || test $? -eq 1`
15455 }
15456 fi # as_fn_arith
15457
15458
15459 if expr a : '\(a\)' >/dev/null 2>&1 &&
15460 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15461 as_expr=expr
15462 else
15463 as_expr=false
15464 fi
15465
15466 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15467 as_basename=basename
15468 else
15469 as_basename=false
15470 fi
15471
15472 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15473 as_dirname=dirname
15474 else
15475 as_dirname=false
15476 fi
15477
15478 as_me=`$as_basename -- "$0" ||
15479 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15480 X"$0" : 'X\(//\)$' \| \
15481 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15482 $as_echo X/"$0" |
15483 sed '/^.*\/\([^/][^/]*\)\/*$/{
15484 s//\1/
15485 q
15486 }
15487 /^X\/\(\/\/\)$/{
15488 s//\1/
15489 q
15490 }
15491 /^X\/\(\/\).*/{
15492 s//\1/
15493 q
15494 }
15495 s/.*/./; q'`
15496
15497 # Avoid depending upon Character Ranges.
15498 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15499 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15500 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15501 as_cr_digits='0123456789'
15502 as_cr_alnum=$as_cr_Letters$as_cr_digits
15503
15504 ECHO_C= ECHO_N= ECHO_T=
15505 case `echo -n x` in #(((((
15506 -n*)
15507 case `echo 'xy\c'` in
15508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15509 xy) ECHO_C='\c';;
15510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15511 ECHO_T=' ';;
15512 esac;;
15513 *)
15514 ECHO_N='-n';;
15515 esac
15516
15517 rm -f conf$$ conf$$.exe conf$$.file
15518 if test -d conf$$.dir; then
15519 rm -f conf$$.dir/conf$$.file
15520 else
15521 rm -f conf$$.dir
15522 mkdir conf$$.dir 2>/dev/null
15523 fi
15524 if (echo >conf$$.file) 2>/dev/null; then
15525 if ln -s conf$$.file conf$$ 2>/dev/null; then
15526 as_ln_s='ln -s'
15527 # ... but there are two gotchas:
15528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15530 # In both cases, we have to default to `cp -p'.
15531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15532 as_ln_s='cp -p'
15533 elif ln conf$$.file conf$$ 2>/dev/null; then
15534 as_ln_s=ln
15535 else
15536 as_ln_s='cp -p'
15537 fi
15538 else
15539 as_ln_s='cp -p'
15540 fi
15541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15542 rmdir conf$$.dir 2>/dev/null
15543
15544
15545 # as_fn_mkdir_p
15546 # -------------
15547 # Create "$as_dir" as a directory, including parents if necessary.
15548 as_fn_mkdir_p ()
15549 {
15550
15551 case $as_dir in #(
15552 -*) as_dir=./$as_dir;;
15553 esac
15554 test -d "$as_dir" || eval $as_mkdir_p || {
15555 as_dirs=
15556 while :; do
15557 case $as_dir in #(
15558 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15559 *) as_qdir=$as_dir;;
15560 esac
15561 as_dirs="'$as_qdir' $as_dirs"
15562 as_dir=`$as_dirname -- "$as_dir" ||
15563 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15564 X"$as_dir" : 'X\(//\)[^/]' \| \
15565 X"$as_dir" : 'X\(//\)$' \| \
15566 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15567 $as_echo X"$as_dir" |
15568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15569 s//\1/
15570 q
15571 }
15572 /^X\(\/\/\)[^/].*/{
15573 s//\1/
15574 q
15575 }
15576 /^X\(\/\/\)$/{
15577 s//\1/
15578 q
15579 }
15580 /^X\(\/\).*/{
15581 s//\1/
15582 q
15583 }
15584 s/.*/./; q'`
15585 test -d "$as_dir" && break
15586 done
15587 test -z "$as_dirs" || eval "mkdir $as_dirs"
15588 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15589
15590
15591 } # as_fn_mkdir_p
15592 if mkdir -p . 2>/dev/null; then
15593 as_mkdir_p='mkdir -p "$as_dir"'
15594 else
15595 test -d ./-p && rmdir ./-p
15596 as_mkdir_p=false
15597 fi
15598
15599 if test -x / >/dev/null 2>&1; then
15600 as_test_x='test -x'
15601 else
15602 if ls -dL / >/dev/null 2>&1; then
15603 as_ls_L_option=L
15604 else
15605 as_ls_L_option=
15606 fi
15607 as_test_x='
15608 eval sh -c '\''
15609 if test -d "$1"; then
15610 test -d "$1/.";
15611 else
15612 case $1 in #(
15613 -*)set "./$1";;
15614 esac;
15615 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15616 ???[sx]*):;;*)false;;esac;fi
15617 '\'' sh
15618 '
15619 fi
15620 as_executable_p=$as_test_x
15621
15622 # Sed expression to map a string onto a valid CPP name.
15623 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15624
15625 # Sed expression to map a string onto a valid variable name.
15626 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15627
15628
15629 exec 6>&1
15630 ## ----------------------------------- ##
15631 ## Main body of $CONFIG_STATUS script. ##
15632 ## ----------------------------------- ##
15633 _ASEOF
15634 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15635
15636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15637 # Save the log message, to keep $0 and so on meaningful, and to
15638 # report actual input values of CONFIG_FILES etc. instead of their
15639 # values after options handling.
15640 ac_log="
15641 This file was extended by MATIO $as_me 1.5.0, which was
15642 generated by GNU Autoconf 2.68. Invocation command line was
15643
15644 CONFIG_FILES = $CONFIG_FILES
15645 CONFIG_HEADERS = $CONFIG_HEADERS
15646 CONFIG_LINKS = $CONFIG_LINKS
15647 CONFIG_COMMANDS = $CONFIG_COMMANDS
15648 $ $0 $@
15649
15650 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15651 "
15652
15653 _ACEOF
15654
15655 case $ac_config_files in *"
15656 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15657 esac
15658
15659 case $ac_config_headers in *"
15660 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15661 esac
15662
15663
15664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15665 # Files that config.status was made for.
15666 config_files="$ac_config_files"
15667 config_headers="$ac_config_headers"
15668 config_commands="$ac_config_commands"
15669
15670 _ACEOF
15671
15672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15673 ac_cs_usage="\
15674 \`$as_me' instantiates files and other configuration actions
15675 from templates according to the current configuration. Unless the files
15676 and actions are specified as TAGs, all are instantiated by default.
15677
15678 Usage: $0 [OPTION]... [TAG]...
15679
15680 -h, --help print this help, then exit
15681 -V, --version print version number and configuration settings, then exit
15682 --config print configuration, then exit
15683 -q, --quiet, --silent
15684 do not print progress messages
15685 -d, --debug don't remove temporary files
15686 --recheck update $as_me by reconfiguring in the same conditions
15687 --file=FILE[:TEMPLATE]
15688 instantiate the configuration file FILE
15689 --header=FILE[:TEMPLATE]
15690 instantiate the configuration header FILE
15691
15692 Configuration files:
15693 $config_files
15694
15695 Configuration headers:
15696 $config_headers
15697
15698 Configuration commands:
15699 $config_commands
15700
15701 Report bugs to <[email protected]>.
15702 MATIO home page: <http://sourceforge.net/projects/matio>."
15703
15704 _ACEOF
15705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15706 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15707 ac_cs_version="\\
15708 MATIO config.status 1.5.0
15709 configured by $0, generated by GNU Autoconf 2.68,
15710 with options \\"\$ac_cs_config\\"
15711
15712 Copyright (C) 2010 Free Software Foundation, Inc.
15713 This config.status script is free software; the Free Software Foundation
15714 gives unlimited permission to copy, distribute and modify it."
15715
15716 ac_pwd='$ac_pwd'
15717 srcdir='$srcdir'
15718 INSTALL='$INSTALL'
15719 MKDIR_P='$MKDIR_P'
15720 AWK='$AWK'
15721 test -n "\$AWK" || AWK=awk
15722 _ACEOF
15723
15724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15725 # The default lists apply if the user does not specify any file.
15726 ac_need_defaults=:
15727 while test $# != 0
15728 do
15729 case $1 in
15730 --*=?*)
15731 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15732 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15733 ac_shift=:
15734 ;;
15735 --*=)
15736 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15737 ac_optarg=
15738 ac_shift=:
15739 ;;
15740 *)
15741 ac_option=$1
15742 ac_optarg=$2
15743 ac_shift=shift
15744 ;;
15745 esac
15746
15747 case $ac_option in
15748 # Handling of the options.
15749 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15750 ac_cs_recheck=: ;;
15751 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15752 $as_echo "$ac_cs_version"; exit ;;
15753 --config | --confi | --conf | --con | --co | --c )
15754 $as_echo "$ac_cs_config"; exit ;;
15755 --debug | --debu | --deb | --de | --d | -d )
15756 debug=: ;;
15757 --file | --fil | --fi | --f )
15758 $ac_shift
15759 case $ac_optarg in
15760 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15761 '') as_fn_error $? "missing file argument" ;;
15762 esac
15763 as_fn_append CONFIG_FILES " '$ac_optarg'"
15764 ac_need_defaults=false;;
15765 --header | --heade | --head | --hea )
15766 $ac_shift
15767 case $ac_optarg in
15768 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15769 esac
15770 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15771 ac_need_defaults=false;;
15772 --he | --h)
15773 # Conflict between --help and --header
15774 as_fn_error $? "ambiguous option: \`$1'
15775 Try \`$0 --help' for more information.";;
15776 --help | --hel | -h )
15777 $as_echo "$ac_cs_usage"; exit ;;
15778 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15779 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15780 ac_cs_silent=: ;;
15781
15782 # This is an error.
15783 -*) as_fn_error $? "unrecognized option: \`$1'
15784 Try \`$0 --help' for more information." ;;
15785
15786 *) as_fn_append ac_config_targets " $1"
15787 ac_need_defaults=false ;;
15788
15789 esac
15790 shift
15791 done
15792
15793 ac_configure_extra_args=
15794
15795 if $ac_cs_silent; then
15796 exec 6>/dev/null
15797 ac_configure_extra_args="$ac_configure_extra_args --silent"
15798 fi
15799
15800 _ACEOF
15801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15802 if \$ac_cs_recheck; then
15803 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15804 shift
15805 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15806 CONFIG_SHELL='$SHELL'
15807 export CONFIG_SHELL
15808 exec "\$@"
15809 fi
15810
15811 _ACEOF
15812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15813 exec 5>>config.log
15814 {
15815 echo
15816 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15817 ## Running $as_me. ##
15818 _ASBOX
15819 $as_echo "$ac_log"
15820 } >&5
15821
15822 _ACEOF
15823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15824 #
15825 # INIT-COMMANDS
15826 #
15827
15828
15829 # The HP-UX ksh and POSIX shell print the target directory to stdout
15830 # if CDPATH is set.
15831 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15832
15833 sed_quote_subst='$sed_quote_subst'
15834 double_quote_subst='$double_quote_subst'
15835 delay_variable_subst='$delay_variable_subst'
15836 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15837 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15838 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15839 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15840 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15841 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15842 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15843 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15844 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15845 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15846 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15847 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15848 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15849 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15850 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15851 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15852 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15853 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15854 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15855 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15856 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15857 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15858 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15859 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15860 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15861 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15862 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15863 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15864 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15865 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15866 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15867 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15868 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15869 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15870 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15871 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15872 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15873 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15874 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15875 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15876 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15877 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15878 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15879 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15880 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15881 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15882 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15883 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15884 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15885 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15886 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15887 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15888 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15889 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15890 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15891 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15892 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15893 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15894 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15895 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15896 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15897 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15898 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15899 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15900 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15901 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15902 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15903 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15904 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15905 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15906 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15907 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15908 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15909 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15910 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15911 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15912 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15913 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15914 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15915 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15916 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15917 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15918 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15919 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15920 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15921 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15922 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15923 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15924 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15925 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15926 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15927 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15928 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15929 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15930 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15931 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15932 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15933 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15934 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15935 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15936 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15937 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15938 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15939 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15940 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15941 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15942 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15943 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15944 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15945 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15946 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15947 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15948 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15949 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15950 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15951 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15952 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15953 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15954 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15955 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15956 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15957 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15958 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15959 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15960 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15961 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15962 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15963 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15964 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15965 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15966
15967 LTCC='$LTCC'
15968 LTCFLAGS='$LTCFLAGS'
15969 compiler='$compiler_DEFAULT'
15970
15971 # A function that is used when there is no print builtin or printf.
15972 func_fallback_echo ()
15973 {
15974 eval 'cat <<_LTECHO_EOF
15975 \$1
15976 _LTECHO_EOF'
15977 }
15978
15979 # Quote evaled strings.
15980 for var in SHELL \
15981 ECHO \
15982 PATH_SEPARATOR \
15983 SED \
15984 GREP \
15985 EGREP \
15986 FGREP \
15987 LD \
15988 NM \
15989 LN_S \
15990 lt_SP2NL \
15991 lt_NL2SP \
15992 reload_flag \
15993 OBJDUMP \
15994 deplibs_check_method \
15995 file_magic_cmd \
15996 file_magic_glob \
15997 want_nocaseglob \
15998 DLLTOOL \
15999 sharedlib_from_linklib_cmd \
16000 AR \
16001 AR_FLAGS \
16002 archiver_list_spec \
16003 STRIP \
16004 RANLIB \
16005 CC \
16006 CFLAGS \
16007 compiler \
16008 lt_cv_sys_global_symbol_pipe \
16009 lt_cv_sys_global_symbol_to_cdecl \
16010 lt_cv_sys_global_symbol_to_c_name_address \
16011 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16012 nm_file_list_spec \
16013 lt_prog_compiler_no_builtin_flag \
16014 lt_prog_compiler_pic \
16015 lt_prog_compiler_wl \
16016 lt_prog_compiler_static \
16017 lt_cv_prog_compiler_c_o \
16018 need_locks \
16019 MANIFEST_TOOL \
16020 DSYMUTIL \
16021 NMEDIT \
16022 LIPO \
16023 OTOOL \
16024 OTOOL64 \
16025 shrext_cmds \
16026 export_dynamic_flag_spec \
16027 whole_archive_flag_spec \
16028 compiler_needs_object \
16029 with_gnu_ld \
16030 allow_undefined_flag \
16031 no_undefined_flag \
16032 hardcode_libdir_flag_spec \
16033 hardcode_libdir_separator \
16034 exclude_expsyms \
16035 include_expsyms \
16036 file_list_spec \
16037 variables_saved_for_relink \
16038 libname_spec \
16039 library_names_spec \
16040 soname_spec \
16041 install_override_mode \
16042 finish_eval \
16043 old_striplib \
16044 striplib; do
16045 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16046 *[\\\\\\\`\\"\\\$]*)
16047 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16048 ;;
16049 *)
16050 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16051 ;;
16052 esac
16053 done
16054
16055 # Double-quote double-evaled strings.
16056 for var in reload_cmds \
16057 old_postinstall_cmds \
16058 old_postuninstall_cmds \
16059 old_archive_cmds \
16060 extract_expsyms_cmds \
16061 old_archive_from_new_cmds \
16062 old_archive_from_expsyms_cmds \
16063 archive_cmds \
16064 archive_expsym_cmds \
16065 module_cmds \
16066 module_expsym_cmds \
16067 export_symbols_cmds \
16068 prelink_cmds \
16069 postlink_cmds \
16070 postinstall_cmds \
16071 postuninstall_cmds \
16072 finish_cmds \
16073 sys_lib_search_path_spec \
16074 sys_lib_dlsearch_path_spec; do
16075 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16076 *[\\\\\\\`\\"\\\$]*)
16077 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16078 ;;
16079 *)
16080 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16081 ;;
16082 esac
16083 done
16084
16085 ac_aux_dir='$ac_aux_dir'
16086 xsi_shell='$xsi_shell'
16087 lt_shell_append='$lt_shell_append'
16088
16089 # See if we are running on zsh, and set the options which allow our
16090 # commands through without removal of \ escapes INIT.
16091 if test -n "\${ZSH_VERSION+set}" ; then
16092 setopt NO_GLOB_SUBST
16093 fi
16094
16095
16096 PACKAGE='$PACKAGE'
16097 VERSION='$VERSION'
16098 TIMESTAMP='$TIMESTAMP'
16099 RM='$RM'
16100 ofile='$ofile'
16101
16102
16103
16104
16105
16106 _ACEOF
16107
16108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16109
16110 # Handling of arguments.
16111 for ac_config_target in $ac_config_targets
16112 do
16113 case $ac_config_target in
16114 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16115 "src/matioConfig.h") CONFIG_HEADERS="$CONFIG_HEADERS src/matioConfig.h" ;;
16116 "src/matio_pubconf.h") CONFIG_HEADERS="$CONFIG_HEADERS src/matio_pubconf.h" ;;
16117 "test/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS test/atconfig" ;;
16118 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16119 "matio.pc") CONFIG_FILES="$CONFIG_FILES matio.pc" ;;
16120 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16121 "getopt/Makefile") CONFIG_FILES="$CONFIG_FILES getopt/Makefile" ;;
16122 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16123 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16124 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
16125
16126 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16127 esac
16128 done
16129
16130
16131 # If the user did not use the arguments to specify the items to instantiate,
16132 # then the envvar interface is used. Set only those that are not.
16133 # We use the long form for the default assignment because of an extremely
16134 # bizarre bug on SunOS 4.1.3.
16135 if $ac_need_defaults; then
16136 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16137 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16138 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16139 fi
16140
16141 # Have a temporary directory for convenience. Make it in the build tree
16142 # simply because there is no reason against having it here, and in addition,
16143 # creating and moving files from /tmp can sometimes cause problems.
16144 # Hook for its removal unless debugging.
16145 # Note that there is a small window in which the directory will not be cleaned:
16146 # after its creation but before its name has been assigned to `$tmp'.
16147 $debug ||
16148 {
16149 tmp= ac_tmp=
16150 trap 'exit_status=$?
16151 : "${ac_tmp:=$tmp}"
16152 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16153 ' 0
16154 trap 'as_fn_exit 1' 1 2 13 15
16155 }
16156 # Create a (secure) tmp directory for tmp files.
16157
16158 {
16159 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16160 test -d "$tmp"
16161 } ||
16162 {
16163 tmp=./conf$$-$RANDOM
16164 (umask 077 && mkdir "$tmp")
16165 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16166 ac_tmp=$tmp
16167
16168 # Set up the scripts for CONFIG_FILES section.
16169 # No need to generate them if there are no CONFIG_FILES.
16170 # This happens for instance with `./config.status config.h'.
16171 if test -n "$CONFIG_FILES"; then
16172
16173
16174 ac_cr=`echo X | tr X '\015'`
16175 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16176 # But we know of no other shell where ac_cr would be empty at this
16177 # point, so we can use a bashism as a fallback.
16178 if test "x$ac_cr" = x; then
16179 eval ac_cr=\$\'\\r\'
16180 fi
16181 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16182 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16183 ac_cs_awk_cr='\\r'
16184 else
16185 ac_cs_awk_cr=$ac_cr
16186 fi
16187
16188 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16189 _ACEOF
16190
16191
16192 {
16193 echo "cat >conf$$subs.awk <<_ACEOF" &&
16194 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16195 echo "_ACEOF"
16196 } >conf$$subs.sh ||
16197 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16198 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16199 ac_delim='%!_!# '
16200 for ac_last_try in false false false false false :; do
16201 . ./conf$$subs.sh ||
16202 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16203
16204 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16205 if test $ac_delim_n = $ac_delim_num; then
16206 break
16207 elif $ac_last_try; then
16208 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16209 else
16210 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16211 fi
16212 done
16213 rm -f conf$$subs.sh
16214
16215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16216 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16217 _ACEOF
16218 sed -n '
16219 h
16220 s/^/S["/; s/!.*/"]=/
16221 p
16222 g
16223 s/^[^!]*!//
16224 :repl
16225 t repl
16226 s/'"$ac_delim"'$//
16227 t delim
16228 :nl
16229 h
16230 s/\(.\{148\}\)..*/\1/
16231 t more1
16232 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16233 p
16234 n
16235 b repl
16236 :more1
16237 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16238 p
16239 g
16240 s/.\{148\}//
16241 t nl
16242 :delim
16243 h
16244 s/\(.\{148\}\)..*/\1/
16245 t more2
16246 s/["\\]/\\&/g; s/^/"/; s/$/"/
16247 p
16248 b
16249 :more2
16250 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16251 p
16252 g
16253 s/.\{148\}//
16254 t delim
16255 ' <conf$$subs.awk | sed '
16256 /^[^""]/{
16257 N
16258 s/\n//
16259 }
16260 ' >>$CONFIG_STATUS || ac_write_fail=1
16261 rm -f conf$$subs.awk
16262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16263 _ACAWK
16264 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16265 for (key in S) S_is_set[key] = 1
16266 FS = ""
16267
16268 }
16269 {
16270 line = $ 0
16271 nfields = split(line, field, "@")
16272 substed = 0
16273 len = length(field[1])
16274 for (i = 2; i < nfields; i++) {
16275 key = field[i]
16276 keylen = length(key)
16277 if (S_is_set[key]) {
16278 value = S[key]
16279 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16280 len += length(value) + length(field[++i])
16281 substed = 1
16282 } else
16283 len += 1 + keylen
16284 }
16285
16286 print line
16287 }
16288
16289 _ACAWK
16290 _ACEOF
16291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16292 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16293 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16294 else
16295 cat
16296 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16297 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16298 _ACEOF
16299
16300 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16301 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16302 # trailing colons and then remove the whole line if VPATH becomes empty
16303 # (actually we leave an empty line to preserve line numbers).
16304 if test "x$srcdir" = x.; then
16305 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16306 h
16307 s///
16308 s/^/:/
16309 s/[ ]*$/:/
16310 s/:\$(srcdir):/:/g
16311 s/:\${srcdir}:/:/g
16312 s/:@srcdir@:/:/g
16313 s/^:*//
16314 s/:*$//
16315 x
16316 s/\(=[ ]*\).*/\1/
16317 G
16318 s/\n//
16319 s/^[^=]*=[ ]*$//
16320 }'
16321 fi
16322
16323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16324 fi # test -n "$CONFIG_FILES"
16325
16326 # Set up the scripts for CONFIG_HEADERS section.
16327 # No need to generate them if there are no CONFIG_HEADERS.
16328 # This happens for instance with `./config.status Makefile'.
16329 if test -n "$CONFIG_HEADERS"; then
16330 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16331 BEGIN {
16332 _ACEOF
16333
16334 # Transform confdefs.h into an awk script `defines.awk', embedded as
16335 # here-document in config.status, that substitutes the proper values into
16336 # config.h.in to produce config.h.
16337
16338 # Create a delimiter string that does not exist in confdefs.h, to ease
16339 # handling of long lines.
16340 ac_delim='%!_!# '
16341 for ac_last_try in false false :; do
16342 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16343 if test -z "$ac_tt"; then
16344 break
16345 elif $ac_last_try; then
16346 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16347 else
16348 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16349 fi
16350 done
16351
16352 # For the awk script, D is an array of macro values keyed by name,
16353 # likewise P contains macro parameters if any. Preserve backslash
16354 # newline sequences.
16355
16356 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16357 sed -n '
16358 s/.\{148\}/&'"$ac_delim"'/g
16359 t rset
16360 :rset
16361 s/^[ ]*#[ ]*define[ ][ ]*/ /
16362 t def
16363 d
16364 :def
16365 s/\\$//
16366 t bsnl
16367 s/["\\]/\\&/g
16368 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16369 D["\1"]=" \3"/p
16370 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16371 d
16372 :bsnl
16373 s/["\\]/\\&/g
16374 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16375 D["\1"]=" \3\\\\\\n"\\/p
16376 t cont
16377 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16378 t cont
16379 d
16380 :cont
16381 n
16382 s/.\{148\}/&'"$ac_delim"'/g
16383 t clear
16384 :clear
16385 s/\\$//
16386 t bsnlc
16387 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16388 d
16389 :bsnlc
16390 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16391 b cont
16392 ' <confdefs.h | sed '
16393 s/'"$ac_delim"'/"\\\
16394 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16395
16396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16397 for (key in D) D_is_set[key] = 1
16398 FS = ""
16399 }
16400 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16401 line = \$ 0
16402 split(line, arg, " ")
16403 if (arg[1] == "#") {
16404 defundef = arg[2]
16405 mac1 = arg[3]
16406 } else {
16407 defundef = substr(arg[1], 2)
16408 mac1 = arg[2]
16409 }
16410 split(mac1, mac2, "(") #)
16411 macro = mac2[1]
16412 prefix = substr(line, 1, index(line, defundef) - 1)
16413 if (D_is_set[macro]) {
16414 # Preserve the white space surrounding the "#".
16415 print prefix "define", macro P[macro] D[macro]
16416 next
16417 } else {
16418 # Replace #undef with comments. This is necessary, for example,
16419 # in the case of _POSIX_SOURCE, which is predefined and required
16420 # on some systems where configure will not decide to define it.
16421 if (defundef == "undef") {
16422 print "/*", prefix defundef, macro, "*/"
16423 next
16424 }
16425 }
16426 }
16427 { print }
16428 _ACAWK
16429 _ACEOF
16430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16431 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16432 fi # test -n "$CONFIG_HEADERS"
16433
16434
16435 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16436 shift
16437 for ac_tag
16438 do
16439 case $ac_tag in
16440 :[FHLC]) ac_mode=$ac_tag; continue;;
16441 esac
16442 case $ac_mode$ac_tag in
16443 :[FHL]*:*);;
16444 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16445 :[FH]-) ac_tag=-:-;;
16446 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16447 esac
16448 ac_save_IFS=$IFS
16449 IFS=:
16450 set x $ac_tag
16451 IFS=$ac_save_IFS
16452 shift
16453 ac_file=$1
16454 shift
16455
16456 case $ac_mode in
16457 :L) ac_source=$1;;
16458 :[FH])
16459 ac_file_inputs=
16460 for ac_f
16461 do
16462 case $ac_f in
16463 -) ac_f="$ac_tmp/stdin";;
16464 *) # Look for the file first in the build tree, then in the source tree
16465 # (if the path is not absolute). The absolute path cannot be DOS-style,
16466 # because $ac_f cannot contain `:'.
16467 test -f "$ac_f" ||
16468 case $ac_f in
16469 [\\/$]*) false;;
16470 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16471 esac ||
16472 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16473 esac
16474 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16475 as_fn_append ac_file_inputs " '$ac_f'"
16476 done
16477
16478 # Let's still pretend it is `configure' which instantiates (i.e., don't
16479 # use $as_me), people would be surprised to read:
16480 # /* config.h. Generated by config.status. */
16481 configure_input='Generated from '`
16482 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16483 `' by configure.'
16484 if test x"$ac_file" != x-; then
16485 configure_input="$ac_file. $configure_input"
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16487 $as_echo "$as_me: creating $ac_file" >&6;}
16488 fi
16489 # Neutralize special characters interpreted by sed in replacement strings.
16490 case $configure_input in #(
16491 *\&* | *\|* | *\\* )
16492 ac_sed_conf_input=`$as_echo "$configure_input" |
16493 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16494 *) ac_sed_conf_input=$configure_input;;
16495 esac
16496
16497 case $ac_tag in
16498 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16499 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16500 esac
16501 ;;
16502 esac
16503
16504 ac_dir=`$as_dirname -- "$ac_file" ||
16505 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16506 X"$ac_file" : 'X\(//\)[^/]' \| \
16507 X"$ac_file" : 'X\(//\)$' \| \
16508 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16509 $as_echo X"$ac_file" |
16510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16511 s//\1/
16512 q
16513 }
16514 /^X\(\/\/\)[^/].*/{
16515 s//\1/
16516 q
16517 }
16518 /^X\(\/\/\)$/{
16519 s//\1/
16520 q
16521 }
16522 /^X\(\/\).*/{
16523 s//\1/
16524 q
16525 }
16526 s/.*/./; q'`
16527 as_dir="$ac_dir"; as_fn_mkdir_p
16528 ac_builddir=.
16529
16530 case "$ac_dir" in
16531 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16532 *)
16533 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16534 # A ".." for each directory in $ac_dir_suffix.
16535 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16536 case $ac_top_builddir_sub in
16537 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16538 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16539 esac ;;
16540 esac
16541 ac_abs_top_builddir=$ac_pwd
16542 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16543 # for backward compatibility:
16544 ac_top_builddir=$ac_top_build_prefix
16545
16546 case $srcdir in
16547 .) # We are building in place.
16548 ac_srcdir=.
16549 ac_top_srcdir=$ac_top_builddir_sub
16550 ac_abs_top_srcdir=$ac_pwd ;;
16551 [\\/]* | ?:[\\/]* ) # Absolute name.
16552 ac_srcdir=$srcdir$ac_dir_suffix;
16553 ac_top_srcdir=$srcdir
16554 ac_abs_top_srcdir=$srcdir ;;
16555 *) # Relative name.
16556 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16557 ac_top_srcdir=$ac_top_build_prefix$srcdir
16558 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16559 esac
16560 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16561
16562
16563 case $ac_mode in
16564 :F)
16565 #
16566 # CONFIG_FILE
16567 #
16568
16569 case $INSTALL in
16570 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16571 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16572 esac
16573 ac_MKDIR_P=$MKDIR_P
16574 case $MKDIR_P in
16575 [\\/$]* | ?:[\\/]* ) ;;
16576 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16577 esac
16578 _ACEOF
16579
16580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16581 # If the template does not know about datarootdir, expand it.
16582 # FIXME: This hack should be removed a few years after 2.60.
16583 ac_datarootdir_hack=; ac_datarootdir_seen=
16584 ac_sed_dataroot='
16585 /datarootdir/ {
16586 p
16587 q
16588 }
16589 /@datadir@/p
16590 /@docdir@/p
16591 /@infodir@/p
16592 /@localedir@/p
16593 /@mandir@/p'
16594 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16595 *datarootdir*) ac_datarootdir_seen=yes;;
16596 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16598 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16599 _ACEOF
16600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16601 ac_datarootdir_hack='
16602 s&@datadir@&$datadir&g
16603 s&@docdir@&$docdir&g
16604 s&@infodir@&$infodir&g
16605 s&@localedir@&$localedir&g
16606 s&@mandir@&$mandir&g
16607 s&\\\${datarootdir}&$datarootdir&g' ;;
16608 esac
16609 _ACEOF
16610
16611 # Neutralize VPATH when `$srcdir' = `.'.
16612 # Shell code in configure.ac might set extrasub.
16613 # FIXME: do we really want to maintain this feature?
16614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16615 ac_sed_extra="$ac_vpsub
16616 $extrasub
16617 _ACEOF
16618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16619 :t
16620 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16621 s|@configure_input@|$ac_sed_conf_input|;t t
16622 s&@top_builddir@&$ac_top_builddir_sub&;t t
16623 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16624 s&@srcdir@&$ac_srcdir&;t t
16625 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16626 s&@top_srcdir@&$ac_top_srcdir&;t t
16627 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16628 s&@builddir@&$ac_builddir&;t t
16629 s&@abs_builddir@&$ac_abs_builddir&;t t
16630 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16631 s&@INSTALL@&$ac_INSTALL&;t t
16632 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16633 $ac_datarootdir_hack
16634 "
16635 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16636 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16637
16638 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16639 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16640 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16641 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16643 which seems to be undefined. Please make sure it is defined" >&5
16644 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16645 which seems to be undefined. Please make sure it is defined" >&2;}
16646
16647 rm -f "$ac_tmp/stdin"
16648 case $ac_file in
16649 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16650 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16651 esac \
16652 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16653 ;;
16654 :H)
16655 #
16656 # CONFIG_HEADER
16657 #
16658 if test x"$ac_file" != x-; then
16659 {
16660 $as_echo "/* $configure_input */" \
16661 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16662 } >"$ac_tmp/config.h" \
16663 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16664 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16666 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16667 else
16668 rm -f "$ac_file"
16669 mv "$ac_tmp/config.h" "$ac_file" \
16670 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16671 fi
16672 else
16673 $as_echo "/* $configure_input */" \
16674 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16675 || as_fn_error $? "could not create -" "$LINENO" 5
16676 fi
16677 # Compute "$ac_file"'s index in $config_headers.
16678 _am_arg="$ac_file"
16679 _am_stamp_count=1
16680 for _am_header in $config_headers :; do
16681 case $_am_header in
16682 $_am_arg | $_am_arg:* )
16683 break ;;
16684 * )
16685 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16686 esac
16687 done
16688 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16689 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16690 X"$_am_arg" : 'X\(//\)[^/]' \| \
16691 X"$_am_arg" : 'X\(//\)$' \| \
16692 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16693 $as_echo X"$_am_arg" |
16694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16695 s//\1/
16696 q
16697 }
16698 /^X\(\/\/\)[^/].*/{
16699 s//\1/
16700 q
16701 }
16702 /^X\(\/\/\)$/{
16703 s//\1/
16704 q
16705 }
16706 /^X\(\/\).*/{
16707 s//\1/
16708 q
16709 }
16710 s/.*/./; q'`/stamp-h$_am_stamp_count
16711 ;;
16712
16713 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16714 $as_echo "$as_me: executing $ac_file commands" >&6;}
16715 ;;
16716 esac
16717
16718
16719 case $ac_file$ac_mode in
16720 "libtool":C)
16721
16722 # See if we are running on zsh, and set the options which allow our
16723 # commands through without removal of \ escapes.
16724 if test -n "${ZSH_VERSION+set}" ; then
16725 setopt NO_GLOB_SUBST
16726 fi
16727
16728 cfgfile="${ofile}T"
16729 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16730 $RM "$cfgfile"
16731
16732 cat <<_LT_EOF >> "$cfgfile"
16733 #! $SHELL
16734
16735 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16736 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16737 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16738 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16739 #
16740 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16741 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16742 # Foundation, Inc.
16743 # Written by Gordon Matzigkeit, 1996
16744 #
16745 # This file is part of GNU Libtool.
16746 #
16747 # GNU Libtool is free software; you can redistribute it and/or
16748 # modify it under the terms of the GNU General Public License as
16749 # published by the Free Software Foundation; either version 2 of
16750 # the License, or (at your option) any later version.
16751 #
16752 # As a special exception to the GNU General Public License,
16753 # if you distribute this file as part of a program or library that
16754 # is built using GNU Libtool, you may include this file under the
16755 # same distribution terms that you use for the rest of that program.
16756 #
16757 # GNU Libtool is distributed in the hope that it will be useful,
16758 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16759 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16760 # GNU General Public License for more details.
16761 #
16762 # You should have received a copy of the GNU General Public License
16763 # along with GNU Libtool; see the file COPYING. If not, a copy
16764 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16765 # obtained by writing to the Free Software Foundation, Inc.,
16766 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16767
16768
16769 # The names of the tagged configurations supported by this script.
16770 available_tags=""
16771
16772 # ### BEGIN LIBTOOL CONFIG
16773
16774 # Whether or not to build shared libraries.
16775 build_libtool_libs=$enable_shared
16776
16777 # Whether or not to build static libraries.
16778 build_old_libs=$enable_static
16779
16780 # Which release of libtool.m4 was used?
16781 macro_version=$macro_version
16782 macro_revision=$macro_revision
16783
16784 # What type of objects to build.
16785 pic_mode=$pic_mode
16786
16787 # Whether or not to optimize for fast installation.
16788 fast_install=$enable_fast_install
16789
16790 # Shell to use when invoking shell scripts.
16791 SHELL=$lt_SHELL
16792
16793 # An echo program that protects backslashes.
16794 ECHO=$lt_ECHO
16795
16796 # The PATH separator for the build system.
16797 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16798
16799 # The host system.
16800 host_alias=$host_alias
16801 host=$host
16802 host_os=$host_os
16803
16804 # The build system.
16805 build_alias=$build_alias
16806 build=$build
16807 build_os=$build_os
16808
16809 # A sed program that does not truncate output.
16810 SED=$lt_SED
16811
16812 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16813 Xsed="\$SED -e 1s/^X//"
16814
16815 # A grep program that handles long lines.
16816 GREP=$lt_GREP
16817
16818 # An ERE matcher.
16819 EGREP=$lt_EGREP
16820
16821 # A literal string matcher.
16822 FGREP=$lt_FGREP
16823
16824 # A BSD- or MS-compatible name lister.
16825 NM=$lt_NM
16826
16827 # Whether we need soft or hard links.
16828 LN_S=$lt_LN_S
16829
16830 # What is the maximum length of a command?
16831 max_cmd_len=$max_cmd_len
16832
16833 # Object file suffix (normally "o").
16834 objext=$ac_objext
16835
16836 # Executable file suffix (normally "").
16837 exeext=$exeext
16838
16839 # whether the shell understands "unset".
16840 lt_unset=$lt_unset
16841
16842 # turn spaces into newlines.
16843 SP2NL=$lt_lt_SP2NL
16844
16845 # turn newlines into spaces.
16846 NL2SP=$lt_lt_NL2SP
16847
16848 # convert \$build file names to \$host format.
16849 to_host_file_cmd=$lt_cv_to_host_file_cmd
16850
16851 # convert \$build files to toolchain format.
16852 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16853
16854 # An object symbol dumper.
16855 OBJDUMP=$lt_OBJDUMP
16856
16857 # Method to check whether dependent libraries are shared objects.
16858 deplibs_check_method=$lt_deplibs_check_method
16859
16860 # Command to use when deplibs_check_method = "file_magic".
16861 file_magic_cmd=$lt_file_magic_cmd
16862
16863 # How to find potential files when deplibs_check_method = "file_magic".
16864 file_magic_glob=$lt_file_magic_glob
16865
16866 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16867 want_nocaseglob=$lt_want_nocaseglob
16868
16869 # DLL creation program.
16870 DLLTOOL=$lt_DLLTOOL
16871
16872 # Command to associate shared and link libraries.
16873 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16874
16875 # The archiver.
16876 AR=$lt_AR
16877
16878 # Flags to create an archive.
16879 AR_FLAGS=$lt_AR_FLAGS
16880
16881 # How to feed a file listing to the archiver.
16882 archiver_list_spec=$lt_archiver_list_spec
16883
16884 # A symbol stripping program.
16885 STRIP=$lt_STRIP
16886
16887 # Commands used to install an old-style archive.
16888 RANLIB=$lt_RANLIB
16889 old_postinstall_cmds=$lt_old_postinstall_cmds
16890 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16891
16892 # Whether to use a lock for old archive extraction.
16893 lock_old_archive_extraction=$lock_old_archive_extraction
16894
16895 # A C compiler.
16896 LTCC=$lt_CC
16897
16898 # LTCC compiler flags.
16899 LTCFLAGS=$lt_CFLAGS
16900
16901 # Take the output of nm and produce a listing of raw symbols and C names.
16902 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16903
16904 # Transform the output of nm in a proper C declaration.
16905 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16906
16907 # Transform the output of nm in a C name address pair.
16908 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16909
16910 # Transform the output of nm in a C name address pair when lib prefix is needed.
16911 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16912
16913 # Specify filename containing input files for \$NM.
16914 nm_file_list_spec=$lt_nm_file_list_spec
16915
16916 # The root where to search for dependent libraries,and in which our libraries should be installed.
16917 lt_sysroot=$lt_sysroot
16918
16919 # The name of the directory that contains temporary libtool files.
16920 objdir=$objdir
16921
16922 # Used to examine libraries when file_magic_cmd begins with "file".
16923 MAGIC_CMD=$MAGIC_CMD
16924
16925 # Must we lock files when doing compilation?
16926 need_locks=$lt_need_locks
16927
16928 # Manifest tool.
16929 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16930
16931 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16932 DSYMUTIL=$lt_DSYMUTIL
16933
16934 # Tool to change global to local symbols on Mac OS X.
16935 NMEDIT=$lt_NMEDIT
16936
16937 # Tool to manipulate fat objects and archives on Mac OS X.
16938 LIPO=$lt_LIPO
16939
16940 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16941 OTOOL=$lt_OTOOL
16942
16943 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16944 OTOOL64=$lt_OTOOL64
16945
16946 # Old archive suffix (normally "a").
16947 libext=$libext
16948
16949 # Shared library suffix (normally ".so").
16950 shrext_cmds=$lt_shrext_cmds
16951
16952 # The commands to extract the exported symbol list from a shared archive.
16953 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16954
16955 # Variables whose values should be saved in libtool wrapper scripts and
16956 # restored at link time.
16957 variables_saved_for_relink=$lt_variables_saved_for_relink
16958
16959 # Do we need the "lib" prefix for modules?
16960 need_lib_prefix=$need_lib_prefix
16961
16962 # Do we need a version for libraries?
16963 need_version=$need_version
16964
16965 # Library versioning type.
16966 version_type=$version_type
16967
16968 # Shared library runtime path variable.
16969 runpath_var=$runpath_var
16970
16971 # Shared library path variable.
16972 shlibpath_var=$shlibpath_var
16973
16974 # Is shlibpath searched before the hard-coded library search path?
16975 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16976
16977 # Format of library name prefix.
16978 libname_spec=$lt_libname_spec
16979
16980 # List of archive names. First name is the real one, the rest are links.
16981 # The last name is the one that the linker finds with -lNAME
16982 library_names_spec=$lt_library_names_spec
16983
16984 # The coded name of the library, if different from the real name.
16985 soname_spec=$lt_soname_spec
16986
16987 # Permission mode override for installation of shared libraries.
16988 install_override_mode=$lt_install_override_mode
16989
16990 # Command to use after installation of a shared archive.
16991 postinstall_cmds=$lt_postinstall_cmds
16992
16993 # Command to use after uninstallation of a shared archive.
16994 postuninstall_cmds=$lt_postuninstall_cmds
16995
16996 # Commands used to finish a libtool library installation in a directory.
16997 finish_cmds=$lt_finish_cmds
16998
16999 # As "finish_cmds", except a single script fragment to be evaled but
17000 # not shown.
17001 finish_eval=$lt_finish_eval
17002
17003 # Whether we should hardcode library paths into libraries.
17004 hardcode_into_libs=$hardcode_into_libs
17005
17006 # Compile-time system search path for libraries.
17007 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17008
17009 # Run-time system search path for libraries.
17010 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17011
17012 # Whether dlopen is supported.
17013 dlopen_support=$enable_dlopen
17014
17015 # Whether dlopen of programs is supported.
17016 dlopen_self=$enable_dlopen_self
17017
17018 # Whether dlopen of statically linked programs is supported.
17019 dlopen_self_static=$enable_dlopen_self_static
17020
17021 # Commands to strip libraries.
17022 old_striplib=$lt_old_striplib
17023 striplib=$lt_striplib
17024
17025
17026 # The linker used to build libraries.
17027 LD=$lt_LD
17028
17029 # How to create reloadable object files.
17030 reload_flag=$lt_reload_flag
17031 reload_cmds=$lt_reload_cmds
17032
17033 # Commands used to build an old-style archive.
17034 old_archive_cmds=$lt_old_archive_cmds
17035
17036 # A language specific compiler.
17037 CC=$lt_compiler
17038
17039 # Is the compiler the GNU compiler?
17040 with_gcc=$GCC
17041
17042 # Compiler flag to turn off builtin functions.
17043 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17044
17045 # Additional compiler flags for building library objects.
17046 pic_flag=$lt_lt_prog_compiler_pic
17047
17048 # How to pass a linker flag through the compiler.
17049 wl=$lt_lt_prog_compiler_wl
17050
17051 # Compiler flag to prevent dynamic linking.
17052 link_static_flag=$lt_lt_prog_compiler_static
17053
17054 # Does compiler simultaneously support -c and -o options?
17055 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17056
17057 # Whether or not to add -lc for building shared libraries.
17058 build_libtool_need_lc=$archive_cmds_need_lc
17059
17060 # Whether or not to disallow shared libs when runtime libs are static.
17061 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17062
17063 # Compiler flag to allow reflexive dlopens.
17064 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17065
17066 # Compiler flag to generate shared objects directly from archives.
17067 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17068
17069 # Whether the compiler copes with passing no objects directly.
17070 compiler_needs_object=$lt_compiler_needs_object
17071
17072 # Create an old-style archive from a shared archive.
17073 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17074
17075 # Create a temporary old-style archive to link instead of a shared archive.
17076 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17077
17078 # Commands used to build a shared archive.
17079 archive_cmds=$lt_archive_cmds
17080 archive_expsym_cmds=$lt_archive_expsym_cmds
17081
17082 # Commands used to build a loadable module if different from building
17083 # a shared archive.
17084 module_cmds=$lt_module_cmds
17085 module_expsym_cmds=$lt_module_expsym_cmds
17086
17087 # Whether we are building with GNU ld or not.
17088 with_gnu_ld=$lt_with_gnu_ld
17089
17090 # Flag that allows shared libraries with undefined symbols to be built.
17091 allow_undefined_flag=$lt_allow_undefined_flag
17092
17093 # Flag that enforces no undefined symbols.
17094 no_undefined_flag=$lt_no_undefined_flag
17095
17096 # Flag to hardcode \$libdir into a binary during linking.
17097 # This must work even if \$libdir does not exist
17098 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17099
17100 # Whether we need a single "-rpath" flag with a separated argument.
17101 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17102
17103 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17104 # DIR into the resulting binary.
17105 hardcode_direct=$hardcode_direct
17106
17107 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17108 # DIR into the resulting binary and the resulting library dependency is
17109 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17110 # library is relocated.
17111 hardcode_direct_absolute=$hardcode_direct_absolute
17112
17113 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17114 # into the resulting binary.
17115 hardcode_minus_L=$hardcode_minus_L
17116
17117 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17118 # into the resulting binary.
17119 hardcode_shlibpath_var=$hardcode_shlibpath_var
17120
17121 # Set to "yes" if building a shared library automatically hardcodes DIR
17122 # into the library and all subsequent libraries and executables linked
17123 # against it.
17124 hardcode_automatic=$hardcode_automatic
17125
17126 # Set to yes if linker adds runtime paths of dependent libraries
17127 # to runtime path list.
17128 inherit_rpath=$inherit_rpath
17129
17130 # Whether libtool must link a program against all its dependency libraries.
17131 link_all_deplibs=$link_all_deplibs
17132
17133 # Set to "yes" if exported symbols are required.
17134 always_export_symbols=$always_export_symbols
17135
17136 # The commands to list exported symbols.
17137 export_symbols_cmds=$lt_export_symbols_cmds
17138
17139 # Symbols that should not be listed in the preloaded symbols.
17140 exclude_expsyms=$lt_exclude_expsyms
17141
17142 # Symbols that must always be exported.
17143 include_expsyms=$lt_include_expsyms
17144
17145 # Commands necessary for linking programs (against libraries) with templates.
17146 prelink_cmds=$lt_prelink_cmds
17147
17148 # Commands necessary for finishing linking programs.
17149 postlink_cmds=$lt_postlink_cmds
17150
17151 # Specify filename containing input files.
17152 file_list_spec=$lt_file_list_spec
17153
17154 # How to hardcode a shared library path into an executable.
17155 hardcode_action=$hardcode_action
17156
17157 # ### END LIBTOOL CONFIG
17158
17159 _LT_EOF
17160
17161 case $host_os in
17162 aix3*)
17163 cat <<\_LT_EOF >> "$cfgfile"
17164 # AIX sometimes has problems with the GCC collect2 program. For some
17165 # reason, if we set the COLLECT_NAMES environment variable, the problems
17166 # vanish in a puff of smoke.
17167 if test "X${COLLECT_NAMES+set}" != Xset; then
17168 COLLECT_NAMES=
17169 export COLLECT_NAMES
17170 fi
17171 _LT_EOF
17172 ;;
17173 esac
17174
17175
17176 ltmain="$ac_aux_dir/ltmain.sh"
17177
17178
17179 # We use sed instead of cat because bash on DJGPP gets confused if
17180 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17181 # text mode, it properly converts lines to CR/LF. This bash problem
17182 # is reportedly fixed, but why not run on old versions too?
17183 sed '$q' "$ltmain" >> "$cfgfile" \
17184 || (rm -f "$cfgfile"; exit 1)
17185
17186 if test x"$xsi_shell" = xyes; then
17187 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17188 func_dirname ()\
17189 {\
17190 \ case ${1} in\
17191 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17192 \ * ) func_dirname_result="${3}" ;;\
17193 \ esac\
17194 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17195 && mv -f "$cfgfile.tmp" "$cfgfile" \
17196 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17197 test 0 -eq $? || _lt_function_replace_fail=:
17198
17199
17200 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17201 func_basename ()\
17202 {\
17203 \ func_basename_result="${1##*/}"\
17204 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17205 && mv -f "$cfgfile.tmp" "$cfgfile" \
17206 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17207 test 0 -eq $? || _lt_function_replace_fail=:
17208
17209
17210 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17211 func_dirname_and_basename ()\
17212 {\
17213 \ case ${1} in\
17214 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17215 \ * ) func_dirname_result="${3}" ;;\
17216 \ esac\
17217 \ func_basename_result="${1##*/}"\
17218 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17219 && mv -f "$cfgfile.tmp" "$cfgfile" \
17220 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17221 test 0 -eq $? || _lt_function_replace_fail=:
17222
17223
17224 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17225 func_stripname ()\
17226 {\
17227 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17228 \ # positional parameters, so assign one to ordinary parameter first.\
17229 \ func_stripname_result=${3}\
17230 \ func_stripname_result=${func_stripname_result#"${1}"}\
17231 \ func_stripname_result=${func_stripname_result%"${2}"}\
17232 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17233 && mv -f "$cfgfile.tmp" "$cfgfile" \
17234 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17235 test 0 -eq $? || _lt_function_replace_fail=:
17236
17237
17238 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17239 func_split_long_opt ()\
17240 {\
17241 \ func_split_long_opt_name=${1%%=*}\
17242 \ func_split_long_opt_arg=${1#*=}\
17243 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17244 && mv -f "$cfgfile.tmp" "$cfgfile" \
17245 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17246 test 0 -eq $? || _lt_function_replace_fail=:
17247
17248
17249 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17250 func_split_short_opt ()\
17251 {\
17252 \ func_split_short_opt_arg=${1#??}\
17253 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17254 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17255 && mv -f "$cfgfile.tmp" "$cfgfile" \
17256 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17257 test 0 -eq $? || _lt_function_replace_fail=:
17258
17259
17260 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17261 func_lo2o ()\
17262 {\
17263 \ case ${1} in\
17264 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17265 \ *) func_lo2o_result=${1} ;;\
17266 \ esac\
17267 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17268 && mv -f "$cfgfile.tmp" "$cfgfile" \
17269 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17270 test 0 -eq $? || _lt_function_replace_fail=:
17271
17272
17273 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17274 func_xform ()\
17275 {\
17276 func_xform_result=${1%.*}.lo\
17277 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17278 && mv -f "$cfgfile.tmp" "$cfgfile" \
17279 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17280 test 0 -eq $? || _lt_function_replace_fail=:
17281
17282
17283 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17284 func_arith ()\
17285 {\
17286 func_arith_result=$(( $* ))\
17287 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17288 && mv -f "$cfgfile.tmp" "$cfgfile" \
17289 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17290 test 0 -eq $? || _lt_function_replace_fail=:
17291
17292
17293 sed -e '/^func_len ()$/,/^} # func_len /c\
17294 func_len ()\
17295 {\
17296 func_len_result=${#1}\
17297 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17298 && mv -f "$cfgfile.tmp" "$cfgfile" \
17299 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17300 test 0 -eq $? || _lt_function_replace_fail=:
17301
17302 fi
17303
17304 if test x"$lt_shell_append" = xyes; then
17305 sed -e '/^func_append ()$/,/^} # func_append /c\
17306 func_append ()\
17307 {\
17308 eval "${1}+=\\${2}"\
17309 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17310 && mv -f "$cfgfile.tmp" "$cfgfile" \
17311 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17312 test 0 -eq $? || _lt_function_replace_fail=:
17313
17314
17315 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17316 func_append_quoted ()\
17317 {\
17318 \ func_quote_for_eval "${2}"\
17319 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17320 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17321 && mv -f "$cfgfile.tmp" "$cfgfile" \
17322 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17323 test 0 -eq $? || _lt_function_replace_fail=:
17324
17325
17326 # Save a `func_append' function call where possible by direct use of '+='
17327 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17328 && mv -f "$cfgfile.tmp" "$cfgfile" \
17329 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17330 test 0 -eq $? || _lt_function_replace_fail=:
17331 else
17332 # Save a `func_append' function call even when '+=' is not available
17333 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17334 && mv -f "$cfgfile.tmp" "$cfgfile" \
17335 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17336 test 0 -eq $? || _lt_function_replace_fail=:
17337 fi
17338
17339 if test x"$_lt_function_replace_fail" = x":"; then
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17341 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17342 fi
17343
17344
17345 mv -f "$cfgfile" "$ofile" ||
17346 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17347 chmod +x "$ofile"
17348
17349 ;;
17350 "test/atconfig":C) cat >test/atconfig <<ATEOF
17351 # Configurable variable values for building test suites.
17352 # Generated by $0.
17353 # Copyright (C) 2010 Free Software Foundation, Inc.
17354
17355 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
17356 at_testdir='test'
17357 abs_builddir='$ac_abs_builddir'
17358 at_srcdir='$ac_srcdir'
17359 abs_srcdir='$ac_abs_srcdir'
17360 at_top_srcdir='$ac_top_srcdir'
17361 abs_top_srcdir='$ac_abs_top_srcdir'
17362 at_top_build_prefix='$ac_top_build_prefix'
17363 abs_top_builddir='$ac_abs_top_builddir'
17364
17365 # Backward compatibility with Autotest <= 2.59b:
17366 at_top_builddir=\$at_top_build_prefix
17367
17368 AUTOTEST_PATH='test'
17369
17370 SHELL=\${CONFIG_SHELL-'$SHELL'}
17371 ATEOF
17372 ;;
17373
17374 esac
17375 done # for ac_tag
17376
17377
17378 as_fn_exit 0
17379 _ACEOF
17380 ac_clean_files=$ac_clean_files_save
17381
17382 test $ac_write_fail = 0 ||
17383 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17384
17385
17386 # configure is writing to config.log, and then calls config.status.
17387 # config.status does its own redirection, appending to config.log.
17388 # Unfortunately, on DOS this fails, as config.log is still kept open
17389 # by configure, so config.status won't be able to write to it; its
17390 # output is simply discarded. So we exec the FD to /dev/null,
17391 # effectively closing config.log, so it can be properly (re)opened and
17392 # appended to by config.status. When coming back to configure, we
17393 # need to make the FD available again.
17394 if test "$no_create" != yes; then
17395 ac_cs_success=:
17396 ac_config_status_args=
17397 test "$silent" = yes &&
17398 ac_config_status_args="$ac_config_status_args --quiet"
17399 exec 5>/dev/null
17400 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17401 exec 5>>config.log
17402 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17403 # would make configure fail if this is the last instruction.
17404 $ac_cs_success || as_fn_exit 1
17405 fi
17406 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17408 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17409 fi
17410
17411
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
17413 $as_echo "" >&6; }
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MATIO Configuration Summary " >&5
17415 $as_echo " MATIO Configuration Summary " >&6; }
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ==============================================================" >&5
17417 $as_echo "==============================================================" >&6; }
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: C Compiler: $CC" >&5
17419 $as_echo " C Compiler: $CC" >&6; }
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: CFLAGS: $CFLAGS" >&5
17421 $as_echo " CFLAGS: $CFLAGS" >&6; }
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Shared Libraries: $enable_shared" >&5
17423 $as_echo " Shared Libraries: $enable_shared" >&6; }
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Static Libraries: $enable_static" >&5
17425 $as_echo " Static Libraries: $enable_static" >&6; }
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default MAT version: $file_ver" >&5
17427 $as_echo " default MAT version: $file_ver" >&6; }
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
17429 $as_echo "" >&6; }
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Features --------------------------------------------" >&5
17431 $as_echo "Features --------------------------------------------" >&6; }
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MAT v7.3 file support: $mat73" >&5
17433 $as_echo "MAT v7.3 file support: $mat73" >&6; }
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
17435 $as_echo "" >&6; }
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Packages --------------------------------------------" >&5
17437 $as_echo "Packages --------------------------------------------" >&6; }
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: zlib: $ZLIB_LIBS" >&5
17439 $as_echo " zlib: $ZLIB_LIBS" >&6; }
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: hdf5: $HDF5_LIBS" >&5
17441 $as_echo " hdf5: $HDF5_LIBS" >&6; }
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MATLAB: $MATLABEXE" >&5
17443 $as_echo " MATLAB: $MATLABEXE" >&6; }
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
17445 $as_echo "" >&6; }
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
17447 $as_echo "" >&6; }