Codebase list ibutils / 7a0f484
Remove autom4te.cache that is removed on clean Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com> Benjamin Drung 3 years ago
25 changed file(s) with 0 addition(s) and 138219 deletion(s). Raw diff Collapse all Expand all
+0
-3914
autom4te.cache/output.0 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.69 for ibutils 1.5.7.
3 @%:@
4 @%:@ Report bugs to <linux-rdma@vger.kernel.org>.
5 @%:@
6 @%:@
7 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8 @%:@
9 @%:@
10 @%:@ This configure script is free software; the Free Software Foundation
11 @%:@ gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 emulate sh
20 NULLCMD=:
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in @%:@(
27 *posix*) :
28 set -o posix ;; @%:@(
29 *) :
30 ;;
31 esac
32 fi
33
34
35 as_nl='
36 '
37 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in @%:@(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
72
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
80 fi
81
82
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
89
90 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
92 case $0 in @%:@((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 # Use a proper internal environment variable to ensure we don't fall
137 # into an infinite loop, continuously re-executing ourselves.
138 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
139 _as_can_reexec=no; export _as_can_reexec;
140 # We cannot yet assume a decent shell, so we have to provide a
141 # neutralization value for shells without unset; and this also
142 # works around shells that cannot unset nonexistent variables.
143 # Preserve -v and -x to the replacement shell.
144 BASH_ENV=/dev/null
145 ENV=/dev/null
146 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 case $- in @%:@ ((((
148 *v*x* | *x*v* ) as_opts=-vx ;;
149 *v* ) as_opts=-v ;;
150 *x* ) as_opts=-x ;;
151 * ) as_opts= ;;
152 esac
153 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154 # Admittedly, this is quite paranoid, since all the known shells bail
155 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
158 fi
159 # We don't want this to propagate to other subprocesses.
160 { _as_can_reexec=; unset _as_can_reexec;}
161 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
163 emulate sh
164 NULLCMD=:
165 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166 # is contrary to our usage. Disable this feature.
167 alias -g '\${1+\"\$@\"}'='\"\$@\"'
168 setopt NO_GLOB_SUBST
169 else
170 case \`(set -o) 2>/dev/null\` in @%:@(
171 *posix*) :
172 set -o posix ;; @%:@(
173 *) :
174 ;;
175 esac
176 fi
177 "
178 as_required="as_fn_return () { (exit \$1); }
179 as_fn_success () { as_fn_return 0; }
180 as_fn_failure () { as_fn_return 1; }
181 as_fn_ret_success () { return 0; }
182 as_fn_ret_failure () { return 1; }
183
184 exitcode=0
185 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191 else
192 exitcode=1; echo positional parameters were not saved.
193 fi
194 test x\$exitcode = x0 || exit 1
195 test -x / || exit 1"
196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
204 fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in @%:@(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
225 fi
226 fi
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in @%:@ ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
258 fi
259
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org and
268 $0: linux-rdma@vger.kernel.org about your system, including
269 $0: any error possibly output before this message. Then
270 $0: install a modern shell, or manually run the script
271 $0: under such a shell if you do have one."
272 fi
273 exit 1
274 fi
275 fi
276 fi
277 SHELL=${CONFIG_SHELL-/bin/sh}
278 export SHELL
279 # Unset more variables known to interfere with behavior of common tools.
280 CLICOLOR_FORCE= GREP_OPTIONS=
281 unset CLICOLOR_FORCE GREP_OPTIONS
282
283 ## --------------------- ##
284 ## M4sh Shell Functions. ##
285 ## --------------------- ##
286 @%:@ as_fn_unset VAR
287 @%:@ ---------------
288 @%:@ Portably unset VAR.
289 as_fn_unset ()
290 {
291 { eval $1=; unset $1;}
292 }
293 as_unset=as_fn_unset
294
295 @%:@ as_fn_set_status STATUS
296 @%:@ -----------------------
297 @%:@ Set @S|@? to STATUS, without forking.
298 as_fn_set_status ()
299 {
300 return $1
301 } @%:@ as_fn_set_status
302
303 @%:@ as_fn_exit STATUS
304 @%:@ -----------------
305 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306 as_fn_exit ()
307 {
308 set +e
309 as_fn_set_status $1
310 exit $1
311 } @%:@ as_fn_exit
312
313 @%:@ as_fn_mkdir_p
314 @%:@ -------------
315 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
316 as_fn_mkdir_p ()
317 {
318
319 case $as_dir in #(
320 -*) as_dir=./$as_dir;;
321 esac
322 test -d "$as_dir" || eval $as_mkdir_p || {
323 as_dirs=
324 while :; do
325 case $as_dir in #(
326 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 *) as_qdir=$as_dir;;
328 esac
329 as_dirs="'$as_qdir' $as_dirs"
330 as_dir=`$as_dirname -- "$as_dir" ||
331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
332 X"$as_dir" : 'X\(//\)[^/]' \| \
333 X"$as_dir" : 'X\(//\)$' \| \
334 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
335 $as_echo X"$as_dir" |
336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
337 s//\1/
338 q
339 }
340 /^X\(\/\/\)[^/].*/{
341 s//\1/
342 q
343 }
344 /^X\(\/\/\)$/{
345 s//\1/
346 q
347 }
348 /^X\(\/\).*/{
349 s//\1/
350 q
351 }
352 s/.*/./; q'`
353 test -d "$as_dir" && break
354 done
355 test -z "$as_dirs" || eval "mkdir $as_dirs"
356 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357
358
359 } @%:@ as_fn_mkdir_p
360
361 @%:@ as_fn_executable_p FILE
362 @%:@ -----------------------
363 @%:@ Test if FILE is an executable regular file.
364 as_fn_executable_p ()
365 {
366 test -f "$1" && test -x "$1"
367 } @%:@ as_fn_executable_p
368 @%:@ as_fn_append VAR VALUE
369 @%:@ ----------------------
370 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
371 @%:@ advantage of any shell optimizations that allow amortized linear growth over
372 @%:@ repeated appends, instead of the typical quadratic growth present in naive
373 @%:@ implementations.
374 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
375 eval 'as_fn_append ()
376 {
377 eval $1+=\$2
378 }'
379 else
380 as_fn_append ()
381 {
382 eval $1=\$$1\$2
383 }
384 fi # as_fn_append
385
386 @%:@ as_fn_arith ARG...
387 @%:@ ------------------
388 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
389 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
390 @%:@ must be portable across @S|@(()) and expr.
391 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
392 eval 'as_fn_arith ()
393 {
394 as_val=$(( $* ))
395 }'
396 else
397 as_fn_arith ()
398 {
399 as_val=`expr "$@" || test $? -eq 1`
400 }
401 fi # as_fn_arith
402
403
404 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
405 @%:@ ----------------------------------------
406 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
407 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
408 @%:@ script with STATUS, using 1 if that was 0.
409 as_fn_error ()
410 {
411 as_status=$1; test $as_status -eq 0 && as_status=1
412 if test "$4"; then
413 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 fi
416 $as_echo "$as_me: error: $2" >&2
417 as_fn_exit $as_status
418 } @%:@ as_fn_error
419
420 if expr a : '\(a\)' >/dev/null 2>&1 &&
421 test "X`expr 00001 : '.*\(...\)'`" = X001; then
422 as_expr=expr
423 else
424 as_expr=false
425 fi
426
427 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
428 as_basename=basename
429 else
430 as_basename=false
431 fi
432
433 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
434 as_dirname=dirname
435 else
436 as_dirname=false
437 fi
438
439 as_me=`$as_basename -- "$0" ||
440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
441 X"$0" : 'X\(//\)$' \| \
442 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 $as_echo X/"$0" |
444 sed '/^.*\/\([^/][^/]*\)\/*$/{
445 s//\1/
446 q
447 }
448 /^X\/\(\/\/\)$/{
449 s//\1/
450 q
451 }
452 /^X\/\(\/\).*/{
453 s//\1/
454 q
455 }
456 s/.*/./; q'`
457
458 # Avoid depending upon Character Ranges.
459 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
460 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
461 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
462 as_cr_digits='0123456789'
463 as_cr_alnum=$as_cr_Letters$as_cr_digits
464
465
466 as_lineno_1=$LINENO as_lineno_1a=$LINENO
467 as_lineno_2=$LINENO as_lineno_2a=$LINENO
468 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
469 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
470 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
471 sed -n '
472 p
473 /[$]LINENO/=
474 ' <$as_myself |
475 sed '
476 s/[$]LINENO.*/&-/
477 t lineno
478 b
479 :lineno
480 N
481 :loop
482 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
483 t loop
484 s/-\n.*//
485 ' >$as_me.lineno &&
486 chmod +x "$as_me.lineno" ||
487 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488
489 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
490 # already done that, so ensure we don't try to do so again and fall
491 # in an infinite loop. This has already happened in practice.
492 _as_can_reexec=no; export _as_can_reexec
493 # Don't try to exec as it changes $[0], causing all sort of problems
494 # (the dirname of $[0] is not the place where we might find the
495 # original and so on. Autoconf is especially sensitive to this).
496 . "./$as_me.lineno"
497 # Exit status is that of the last command.
498 exit
499 }
500
501 ECHO_C= ECHO_N= ECHO_T=
502 case `echo -n x` in @%:@(((((
503 -n*)
504 case `echo 'xy\c'` in
505 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 xy) ECHO_C='\c';;
507 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
508 ECHO_T=' ';;
509 esac;;
510 *)
511 ECHO_N='-n';;
512 esac
513
514 rm -f conf$$ conf$$.exe conf$$.file
515 if test -d conf$$.dir; then
516 rm -f conf$$.dir/conf$$.file
517 else
518 rm -f conf$$.dir
519 mkdir conf$$.dir 2>/dev/null
520 fi
521 if (echo >conf$$.file) 2>/dev/null; then
522 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 as_ln_s='ln -s'
524 # ... but there are two gotchas:
525 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
526 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
527 # In both cases, we have to default to `cp -pR'.
528 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 as_ln_s='cp -pR'
530 elif ln conf$$.file conf$$ 2>/dev/null; then
531 as_ln_s=ln
532 else
533 as_ln_s='cp -pR'
534 fi
535 else
536 as_ln_s='cp -pR'
537 fi
538 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
539 rmdir conf$$.dir 2>/dev/null
540
541 if mkdir -p . 2>/dev/null; then
542 as_mkdir_p='mkdir -p "$as_dir"'
543 else
544 test -d ./-p && rmdir ./-p
545 as_mkdir_p=false
546 fi
547
548 as_test_x='test -x'
549 as_executable_p=as_fn_executable_p
550
551 # Sed expression to map a string onto a valid CPP name.
552 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553
554 # Sed expression to map a string onto a valid variable name.
555 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556
557
558 test -n "$DJDIR" || exec 7<&0 </dev/null
559 exec 6>&1
560
561 # Name of the host.
562 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
563 # so uname gets run too.
564 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565
566 #
567 # Initializations.
568 #
569 ac_default_prefix=/usr/local
570 ac_clean_files=
571 ac_config_libobj_dir=.
572 LIB@&t@OBJS=
573 cross_compiling=no
574 subdirs=
575 MFLAGS=
576 MAKEFLAGS=
577
578 # Identity of this package.
579 PACKAGE_NAME='ibutils'
580 PACKAGE_TARNAME='ibutils'
581 PACKAGE_VERSION='1.5.7'
582 PACKAGE_STRING='ibutils 1.5.7'
583 PACKAGE_BUGREPORT='linux-rdma@vger.kernel.org'
584 PACKAGE_URL=''
585
586 enable_option_checking=no
587 ac_subst_vars='LTLIBOBJS
588 LIB@&t@OBJS
589 BUILD_IBMGTSIM_FALSE
590 BUILD_IBMGTSIM_TRUE
591 subdirs
592 OSM_BUILD
593 OSM_VENDOR
594 OSM_LDFLAGS
595 OSM_CFLAGS
596 with_osm
597 OSM_BUILD_OPENIB_FALSE
598 OSM_BUILD_OPENIB_TRUE
599 OSM_VENDOR_SIM_FALSE
600 OSM_VENDOR_SIM_TRUE
601 OSM_VENDOR_MTL_FALSE
602 OSM_VENDOR_MTL_TRUE
603 OSM_VENDOR_TS_FALSE
604 OSM_VENDOR_TS_TRUE
605 MAINT
606 MAINTAINER_MODE_FALSE
607 MAINTAINER_MODE_TRUE
608 am__untar
609 am__tar
610 AMTAR
611 am__leading_dot
612 SET_MAKE
613 AWK
614 mkdir_p
615 MKDIR_P
616 INSTALL_STRIP_PROGRAM
617 STRIP
618 install_sh
619 MAKEINFO
620 AUTOHEADER
621 AUTOMAKE
622 AUTOCONF
623 ACLOCAL
624 VERSION
625 PACKAGE
626 CYGPATH_W
627 am__isrc
628 INSTALL_DATA
629 INSTALL_SCRIPT
630 INSTALL_PROGRAM
631 target_alias
632 host_alias
633 build_alias
634 LIBS
635 ECHO_T
636 ECHO_N
637 ECHO_C
638 DEFS
639 mandir
640 localedir
641 libdir
642 psdir
643 pdfdir
644 dvidir
645 htmldir
646 infodir
647 docdir
648 oldincludedir
649 includedir
650 localstatedir
651 sharedstatedir
652 sysconfdir
653 datadir
654 datarootdir
655 libexecdir
656 sbindir
657 bindir
658 program_transform_name
659 prefix
660 exec_prefix
661 PACKAGE_URL
662 PACKAGE_BUGREPORT
663 PACKAGE_STRING
664 PACKAGE_VERSION
665 PACKAGE_TARNAME
666 PACKAGE_NAME
667 PATH_SEPARATOR
668 SHELL'
669 ac_subst_files=''
670 ac_user_opts='
671 enable_option_checking
672 enable_maintainer_mode
673 enable_debug
674 enable_libcheck
675 with_osm
676 with_osm_libs
677 enable_ibmgtsim
678 '
679 ac_precious_vars='build_alias
680 host_alias
681 target_alias'
682 ac_subdirs_all='ibis ibdm ibdiag
683 ibmgtsim'
684
685 # Initialize some variables set by options.
686 ac_init_help=
687 ac_init_version=false
688 ac_unrecognized_opts=
689 ac_unrecognized_sep=
690 # The variables have the same names as the options, with
691 # dashes changed to underlines.
692 cache_file=/dev/null
693 exec_prefix=NONE
694 no_create=
695 no_recursion=
696 prefix=NONE
697 program_prefix=NONE
698 program_suffix=NONE
699 program_transform_name=s,x,x,
700 silent=
701 site=
702 srcdir=
703 verbose=
704 x_includes=NONE
705 x_libraries=NONE
706
707 # Installation directory options.
708 # These are left unexpanded so users can "make install exec_prefix=/foo"
709 # and all the variables that are supposed to be based on exec_prefix
710 # by default will actually change.
711 # Use braces instead of parens because sh, perl, etc. also accept them.
712 # (The list follows the same order as the GNU Coding Standards.)
713 bindir='${exec_prefix}/bin'
714 sbindir='${exec_prefix}/sbin'
715 libexecdir='${exec_prefix}/libexec'
716 datarootdir='${prefix}/share'
717 datadir='${datarootdir}'
718 sysconfdir='${prefix}/etc'
719 sharedstatedir='${prefix}/com'
720 localstatedir='${prefix}/var'
721 includedir='${prefix}/include'
722 oldincludedir='/usr/include'
723 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
724 infodir='${datarootdir}/info'
725 htmldir='${docdir}'
726 dvidir='${docdir}'
727 pdfdir='${docdir}'
728 psdir='${docdir}'
729 libdir='${exec_prefix}/lib'
730 localedir='${datarootdir}/locale'
731 mandir='${datarootdir}/man'
732
733 ac_prev=
734 ac_dashdash=
735 for ac_option
736 do
737 # If the previous option needs an argument, assign it.
738 if test -n "$ac_prev"; then
739 eval $ac_prev=\$ac_option
740 ac_prev=
741 continue
742 fi
743
744 case $ac_option in
745 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746 *=) ac_optarg= ;;
747 *) ac_optarg=yes ;;
748 esac
749
750 # Accept the important Cygnus configure options, so we can diagnose typos.
751
752 case $ac_dashdash$ac_option in
753 --)
754 ac_dashdash=yes ;;
755
756 -bindir | --bindir | --bindi | --bind | --bin | --bi)
757 ac_prev=bindir ;;
758 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
759 bindir=$ac_optarg ;;
760
761 -build | --build | --buil | --bui | --bu)
762 ac_prev=build_alias ;;
763 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
764 build_alias=$ac_optarg ;;
765
766 -cache-file | --cache-file | --cache-fil | --cache-fi \
767 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
768 ac_prev=cache_file ;;
769 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
770 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
771 cache_file=$ac_optarg ;;
772
773 --config-cache | -C)
774 cache_file=config.cache ;;
775
776 -datadir | --datadir | --datadi | --datad)
777 ac_prev=datadir ;;
778 -datadir=* | --datadir=* | --datadi=* | --datad=*)
779 datadir=$ac_optarg ;;
780
781 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
782 | --dataroo | --dataro | --datar)
783 ac_prev=datarootdir ;;
784 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
785 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
786 datarootdir=$ac_optarg ;;
787
788 -disable-* | --disable-*)
789 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
792 as_fn_error $? "invalid feature name: $ac_useropt"
793 ac_useropt_orig=$ac_useropt
794 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
795 case $ac_user_opts in
796 *"
797 "enable_$ac_useropt"
798 "*) ;;
799 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
800 ac_unrecognized_sep=', ';;
801 esac
802 eval enable_$ac_useropt=no ;;
803
804 -docdir | --docdir | --docdi | --doc | --do)
805 ac_prev=docdir ;;
806 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
807 docdir=$ac_optarg ;;
808
809 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
810 ac_prev=dvidir ;;
811 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
812 dvidir=$ac_optarg ;;
813
814 -enable-* | --enable-*)
815 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
816 # Reject names that are not valid shell variable names.
817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
818 as_fn_error $? "invalid feature name: $ac_useropt"
819 ac_useropt_orig=$ac_useropt
820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
821 case $ac_user_opts in
822 *"
823 "enable_$ac_useropt"
824 "*) ;;
825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
826 ac_unrecognized_sep=', ';;
827 esac
828 eval enable_$ac_useropt=\$ac_optarg ;;
829
830 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
831 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
832 | --exec | --exe | --ex)
833 ac_prev=exec_prefix ;;
834 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
835 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
836 | --exec=* | --exe=* | --ex=*)
837 exec_prefix=$ac_optarg ;;
838
839 -gas | --gas | --ga | --g)
840 # Obsolete; use --with-gas.
841 with_gas=yes ;;
842
843 -help | --help | --hel | --he | -h)
844 ac_init_help=long ;;
845 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
846 ac_init_help=recursive ;;
847 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
848 ac_init_help=short ;;
849
850 -host | --host | --hos | --ho)
851 ac_prev=host_alias ;;
852 -host=* | --host=* | --hos=* | --ho=*)
853 host_alias=$ac_optarg ;;
854
855 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
856 ac_prev=htmldir ;;
857 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
858 | --ht=*)
859 htmldir=$ac_optarg ;;
860
861 -includedir | --includedir | --includedi | --included | --include \
862 | --includ | --inclu | --incl | --inc)
863 ac_prev=includedir ;;
864 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
865 | --includ=* | --inclu=* | --incl=* | --inc=*)
866 includedir=$ac_optarg ;;
867
868 -infodir | --infodir | --infodi | --infod | --info | --inf)
869 ac_prev=infodir ;;
870 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
871 infodir=$ac_optarg ;;
872
873 -libdir | --libdir | --libdi | --libd)
874 ac_prev=libdir ;;
875 -libdir=* | --libdir=* | --libdi=* | --libd=*)
876 libdir=$ac_optarg ;;
877
878 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
879 | --libexe | --libex | --libe)
880 ac_prev=libexecdir ;;
881 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
882 | --libexe=* | --libex=* | --libe=*)
883 libexecdir=$ac_optarg ;;
884
885 -localedir | --localedir | --localedi | --localed | --locale)
886 ac_prev=localedir ;;
887 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
888 localedir=$ac_optarg ;;
889
890 -localstatedir | --localstatedir | --localstatedi | --localstated \
891 | --localstate | --localstat | --localsta | --localst | --locals)
892 ac_prev=localstatedir ;;
893 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
894 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
895 localstatedir=$ac_optarg ;;
896
897 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
898 ac_prev=mandir ;;
899 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
900 mandir=$ac_optarg ;;
901
902 -nfp | --nfp | --nf)
903 # Obsolete; use --without-fp.
904 with_fp=no ;;
905
906 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
907 | --no-cr | --no-c | -n)
908 no_create=yes ;;
909
910 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
911 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
912 no_recursion=yes ;;
913
914 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
915 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
916 | --oldin | --oldi | --old | --ol | --o)
917 ac_prev=oldincludedir ;;
918 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
919 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
920 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
921 oldincludedir=$ac_optarg ;;
922
923 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
924 ac_prev=prefix ;;
925 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
926 prefix=$ac_optarg ;;
927
928 -program-prefix | --program-prefix | --program-prefi | --program-pref \
929 | --program-pre | --program-pr | --program-p)
930 ac_prev=program_prefix ;;
931 -program-prefix=* | --program-prefix=* | --program-prefi=* \
932 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
933 program_prefix=$ac_optarg ;;
934
935 -program-suffix | --program-suffix | --program-suffi | --program-suff \
936 | --program-suf | --program-su | --program-s)
937 ac_prev=program_suffix ;;
938 -program-suffix=* | --program-suffix=* | --program-suffi=* \
939 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
940 program_suffix=$ac_optarg ;;
941
942 -program-transform-name | --program-transform-name \
943 | --program-transform-nam | --program-transform-na \
944 | --program-transform-n | --program-transform- \
945 | --program-transform | --program-transfor \
946 | --program-transfo | --program-transf \
947 | --program-trans | --program-tran \
948 | --progr-tra | --program-tr | --program-t)
949 ac_prev=program_transform_name ;;
950 -program-transform-name=* | --program-transform-name=* \
951 | --program-transform-nam=* | --program-transform-na=* \
952 | --program-transform-n=* | --program-transform-=* \
953 | --program-transform=* | --program-transfor=* \
954 | --program-transfo=* | --program-transf=* \
955 | --program-trans=* | --program-tran=* \
956 | --progr-tra=* | --program-tr=* | --program-t=*)
957 program_transform_name=$ac_optarg ;;
958
959 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
960 ac_prev=pdfdir ;;
961 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
962 pdfdir=$ac_optarg ;;
963
964 -psdir | --psdir | --psdi | --psd | --ps)
965 ac_prev=psdir ;;
966 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
967 psdir=$ac_optarg ;;
968
969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
970 | -silent | --silent | --silen | --sile | --sil)
971 silent=yes ;;
972
973 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
974 ac_prev=sbindir ;;
975 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
976 | --sbi=* | --sb=*)
977 sbindir=$ac_optarg ;;
978
979 -sharedstatedir | --sharedstatedir | --sharedstatedi \
980 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
981 | --sharedst | --shareds | --shared | --share | --shar \
982 | --sha | --sh)
983 ac_prev=sharedstatedir ;;
984 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
985 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
986 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
987 | --sha=* | --sh=*)
988 sharedstatedir=$ac_optarg ;;
989
990 -site | --site | --sit)
991 ac_prev=site ;;
992 -site=* | --site=* | --sit=*)
993 site=$ac_optarg ;;
994
995 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
996 ac_prev=srcdir ;;
997 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
998 srcdir=$ac_optarg ;;
999
1000 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1001 | --syscon | --sysco | --sysc | --sys | --sy)
1002 ac_prev=sysconfdir ;;
1003 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1004 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1005 sysconfdir=$ac_optarg ;;
1006
1007 -target | --target | --targe | --targ | --tar | --ta | --t)
1008 ac_prev=target_alias ;;
1009 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1010 target_alias=$ac_optarg ;;
1011
1012 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1013 verbose=yes ;;
1014
1015 -version | --version | --versio | --versi | --vers | -V)
1016 ac_init_version=: ;;
1017
1018 -with-* | --with-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error $? "invalid package name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1026 *"
1027 "with_$ac_useropt"
1028 "*) ;;
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1031 esac
1032 eval with_$ac_useropt=\$ac_optarg ;;
1033
1034 -without-* | --without-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error $? "invalid package name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1042 *"
1043 "with_$ac_useropt"
1044 "*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval with_$ac_useropt=no ;;
1049
1050 --x)
1051 # Obsolete; use --with-x.
1052 with_x=yes ;;
1053
1054 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1055 | --x-incl | --x-inc | --x-in | --x-i)
1056 ac_prev=x_includes ;;
1057 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1058 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1059 x_includes=$ac_optarg ;;
1060
1061 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1062 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1063 ac_prev=x_libraries ;;
1064 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1065 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1066 x_libraries=$ac_optarg ;;
1067
1068 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1069 Try \`$0 --help' for more information"
1070 ;;
1071
1072 *=*)
1073 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1074 # Reject names that are not valid shell variable names.
1075 case $ac_envvar in #(
1076 '' | [0-9]* | *[!_$as_cr_alnum]* )
1077 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1078 esac
1079 eval $ac_envvar=\$ac_optarg
1080 export $ac_envvar ;;
1081
1082 *)
1083 # FIXME: should be removed in autoconf 3.0.
1084 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1085 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1086 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1087 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1088 ;;
1089
1090 esac
1091 done
1092
1093 if test -n "$ac_prev"; then
1094 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1095 as_fn_error $? "missing argument to $ac_option"
1096 fi
1097
1098 if test -n "$ac_unrecognized_opts"; then
1099 case $enable_option_checking in
1100 no) ;;
1101 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1102 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1103 esac
1104 fi
1105
1106 # Check all directory arguments for consistency.
1107 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1108 datadir sysconfdir sharedstatedir localstatedir includedir \
1109 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1110 libdir localedir mandir
1111 do
1112 eval ac_val=\$$ac_var
1113 # Remove trailing slashes.
1114 case $ac_val in
1115 */ )
1116 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1117 eval $ac_var=\$ac_val;;
1118 esac
1119 # Be sure to have absolute directory names.
1120 case $ac_val in
1121 [\\/$]* | ?:[\\/]* ) continue;;
1122 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1123 esac
1124 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1125 done
1126
1127 # There might be people who depend on the old broken behavior: `$host'
1128 # used to hold the argument of --host etc.
1129 # FIXME: To remove some day.
1130 build=$build_alias
1131 host=$host_alias
1132 target=$target_alias
1133
1134 # FIXME: To remove some day.
1135 if test "x$host_alias" != x; then
1136 if test "x$build_alias" = x; then
1137 cross_compiling=maybe
1138 elif test "x$build_alias" != "x$host_alias"; then
1139 cross_compiling=yes
1140 fi
1141 fi
1142
1143 ac_tool_prefix=
1144 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1145
1146 test "$silent" = yes && exec 6>/dev/null
1147
1148
1149 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1150 ac_ls_di=`ls -di .` &&
1151 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1152 as_fn_error $? "working directory cannot be determined"
1153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1154 as_fn_error $? "pwd does not report name of working directory"
1155
1156
1157 # Find the source files, if location was not specified.
1158 if test -z "$srcdir"; then
1159 ac_srcdir_defaulted=yes
1160 # Try the directory containing this script, then the parent directory.
1161 ac_confdir=`$as_dirname -- "$as_myself" ||
1162 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1163 X"$as_myself" : 'X\(//\)[^/]' \| \
1164 X"$as_myself" : 'X\(//\)$' \| \
1165 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1166 $as_echo X"$as_myself" |
1167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1168 s//\1/
1169 q
1170 }
1171 /^X\(\/\/\)[^/].*/{
1172 s//\1/
1173 q
1174 }
1175 /^X\(\/\/\)$/{
1176 s//\1/
1177 q
1178 }
1179 /^X\(\/\).*/{
1180 s//\1/
1181 q
1182 }
1183 s/.*/./; q'`
1184 srcdir=$ac_confdir
1185 if test ! -r "$srcdir/$ac_unique_file"; then
1186 srcdir=..
1187 fi
1188 else
1189 ac_srcdir_defaulted=no
1190 fi
1191 if test ! -r "$srcdir/$ac_unique_file"; then
1192 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1193 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1194 fi
1195 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1196 ac_abs_confdir=`(
1197 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1198 pwd)`
1199 # When building in place, set srcdir=.
1200 if test "$ac_abs_confdir" = "$ac_pwd"; then
1201 srcdir=.
1202 fi
1203 # Remove unnecessary trailing slashes from srcdir.
1204 # Double slashes in file names in object file debugging info
1205 # mess up M-x gdb in Emacs.
1206 case $srcdir in
1207 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1208 esac
1209 for ac_var in $ac_precious_vars; do
1210 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1211 eval ac_env_${ac_var}_value=\$${ac_var}
1212 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1213 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1214 done
1215
1216 #
1217 # Report the --help message.
1218 #
1219 if test "$ac_init_help" = "long"; then
1220 # Omit some internal or obsolete options to make the list less imposing.
1221 # This message is too long to be a string in the A/UX 3.1 sh.
1222 cat <<_ACEOF
1223 \`configure' configures ibutils 1.5.7 to adapt to many kinds of systems.
1224
1225 Usage: $0 [OPTION]... [VAR=VALUE]...
1226
1227 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1228 VAR=VALUE. See below for descriptions of some of the useful variables.
1229
1230 Defaults for the options are specified in brackets.
1231
1232 Configuration:
1233 -h, --help display this help and exit
1234 --help=short display options specific to this package
1235 --help=recursive display the short help of all the included packages
1236 -V, --version display version information and exit
1237 -q, --quiet, --silent do not print \`checking ...' messages
1238 --cache-file=FILE cache test results in FILE [disabled]
1239 -C, --config-cache alias for \`--cache-file=config.cache'
1240 -n, --no-create do not create output files
1241 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1242
1243 Installation directories:
1244 --prefix=PREFIX install architecture-independent files in PREFIX
1245 @<:@@S|@ac_default_prefix@:>@
1246 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1247 @<:@PREFIX@:>@
1248
1249 By default, \`make install' will install all the files in
1250 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1251 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1252 for instance \`--prefix=\$HOME'.
1253
1254 For better control, use the options below.
1255
1256 Fine tuning of the installation directories:
1257 --bindir=DIR user executables [EPREFIX/bin]
1258 --sbindir=DIR system admin executables [EPREFIX/sbin]
1259 --libexecdir=DIR program executables [EPREFIX/libexec]
1260 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1261 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1262 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1263 --libdir=DIR object code libraries [EPREFIX/lib]
1264 --includedir=DIR C header files [PREFIX/include]
1265 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1266 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1267 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1268 --infodir=DIR info documentation [DATAROOTDIR/info]
1269 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1270 --mandir=DIR man documentation [DATAROOTDIR/man]
1271 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ibutils@:>@
1272 --htmldir=DIR html documentation [DOCDIR]
1273 --dvidir=DIR dvi documentation [DOCDIR]
1274 --pdfdir=DIR pdf documentation [DOCDIR]
1275 --psdir=DIR ps documentation [DOCDIR]
1276 _ACEOF
1277
1278 cat <<\_ACEOF
1279
1280 Program names:
1281 --program-prefix=PREFIX prepend PREFIX to installed program names
1282 --program-suffix=SUFFIX append SUFFIX to installed program names
1283 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1284 _ACEOF
1285 fi
1286
1287 if test -n "$ac_init_help"; then
1288 case $ac_init_help in
1289 short | recursive ) echo "Configuration of ibutils 1.5.7:";;
1290 esac
1291 cat <<\_ACEOF
1292
1293 Optional Features:
1294 --disable-option-checking ignore unrecognized --enable/--with options
1295 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1296 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1297 --enable-maintainer-mode enable make rules and dependencies not useful
1298 (and sometimes confusing) to the casual installer
1299 --enable-debug Turn on debugging
1300 --enable-libcheck Enable Dependency Checking
1301 --enable-ibmgtsim Build ibmgtsim
1302
1303 Optional Packages:
1304 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1305 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1306 --with-osm=<dir> define OSM prefix
1307 --with-osm-libs=<dir> define where to find OSM libs
1308
1309 Report bugs to <linux-rdma@vger.kernel.org>.
1310 _ACEOF
1311 ac_status=$?
1312 fi
1313
1314 if test "$ac_init_help" = "recursive"; then
1315 # If there are subdirs, report their specific --help.
1316 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1317 test -d "$ac_dir" ||
1318 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1319 continue
1320 ac_builddir=.
1321
1322 case "$ac_dir" in
1323 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324 *)
1325 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1326 # A ".." for each directory in $ac_dir_suffix.
1327 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1328 case $ac_top_builddir_sub in
1329 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1331 esac ;;
1332 esac
1333 ac_abs_top_builddir=$ac_pwd
1334 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1335 # for backward compatibility:
1336 ac_top_builddir=$ac_top_build_prefix
1337
1338 case $srcdir in
1339 .) # We are building in place.
1340 ac_srcdir=.
1341 ac_top_srcdir=$ac_top_builddir_sub
1342 ac_abs_top_srcdir=$ac_pwd ;;
1343 [\\/]* | ?:[\\/]* ) # Absolute name.
1344 ac_srcdir=$srcdir$ac_dir_suffix;
1345 ac_top_srcdir=$srcdir
1346 ac_abs_top_srcdir=$srcdir ;;
1347 *) # Relative name.
1348 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1349 ac_top_srcdir=$ac_top_build_prefix$srcdir
1350 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1351 esac
1352 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1353
1354 cd "$ac_dir" || { ac_status=$?; continue; }
1355 # Check for guested configure.
1356 if test -f "$ac_srcdir/configure.gnu"; then
1357 echo &&
1358 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1359 elif test -f "$ac_srcdir/configure"; then
1360 echo &&
1361 $SHELL "$ac_srcdir/configure" --help=recursive
1362 else
1363 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1364 fi || ac_status=$?
1365 cd "$ac_pwd" || { ac_status=$?; break; }
1366 done
1367 fi
1368
1369 test -n "$ac_init_help" && exit $ac_status
1370 if $ac_init_version; then
1371 cat <<\_ACEOF
1372 ibutils configure 1.5.7
1373 generated by GNU Autoconf 2.69
1374
1375 Copyright (C) 2012 Free Software Foundation, Inc.
1376 This configure script is free software; the Free Software Foundation
1377 gives unlimited permission to copy, distribute and modify it.
1378 _ACEOF
1379 exit
1380 fi
1381
1382 ## ------------------------ ##
1383 ## Autoconf initialization. ##
1384 ## ------------------------ ##
1385 cat >config.log <<_ACEOF
1386 This file contains any messages produced by compilers while
1387 running configure, to aid debugging if configure makes a mistake.
1388
1389 It was created by ibutils $as_me 1.5.7, which was
1390 generated by GNU Autoconf 2.69. Invocation command line was
1391
1392 $ $0 $@
1393
1394 _ACEOF
1395 exec 5>>config.log
1396 {
1397 cat <<_ASUNAME
1398 ## --------- ##
1399 ## Platform. ##
1400 ## --------- ##
1401
1402 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1403 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1404 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1405 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1406 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1407
1408 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1409 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1410
1411 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1412 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1413 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1414 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1415 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1416 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1417 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1418
1419 _ASUNAME
1420
1421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 for as_dir in $PATH
1423 do
1424 IFS=$as_save_IFS
1425 test -z "$as_dir" && as_dir=.
1426 $as_echo "PATH: $as_dir"
1427 done
1428 IFS=$as_save_IFS
1429
1430 } >&5
1431
1432 cat >&5 <<_ACEOF
1433
1434
1435 ## ----------- ##
1436 ## Core tests. ##
1437 ## ----------- ##
1438
1439 _ACEOF
1440
1441
1442 # Keep a trace of the command line.
1443 # Strip out --no-create and --no-recursion so they do not pile up.
1444 # Strip out --silent because we don't want to record it for future runs.
1445 # Also quote any args containing shell meta-characters.
1446 # Make two passes to allow for proper duplicate-argument suppression.
1447 ac_configure_args=
1448 ac_configure_args0=
1449 ac_configure_args1=
1450 ac_must_keep_next=false
1451 for ac_pass in 1 2
1452 do
1453 for ac_arg
1454 do
1455 case $ac_arg in
1456 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1457 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1458 | -silent | --silent | --silen | --sile | --sil)
1459 continue ;;
1460 *\'*)
1461 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1462 esac
1463 case $ac_pass in
1464 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1465 2)
1466 as_fn_append ac_configure_args1 " '$ac_arg'"
1467 if test $ac_must_keep_next = true; then
1468 ac_must_keep_next=false # Got value, back to normal.
1469 else
1470 case $ac_arg in
1471 *=* | --config-cache | -C | -disable-* | --disable-* \
1472 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1473 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1474 | -with-* | --with-* | -without-* | --without-* | --x)
1475 case "$ac_configure_args0 " in
1476 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1477 esac
1478 ;;
1479 -* ) ac_must_keep_next=true ;;
1480 esac
1481 fi
1482 as_fn_append ac_configure_args " '$ac_arg'"
1483 ;;
1484 esac
1485 done
1486 done
1487 { ac_configure_args0=; unset ac_configure_args0;}
1488 { ac_configure_args1=; unset ac_configure_args1;}
1489
1490 # When interrupted or exit'd, cleanup temporary files, and complete
1491 # config.log. We remove comments because anyway the quotes in there
1492 # would cause problems or look ugly.
1493 # WARNING: Use '\'' to represent an apostrophe within the trap.
1494 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1495 trap 'exit_status=$?
1496 # Save into config.log some information that might help in debugging.
1497 {
1498 echo
1499
1500 $as_echo "## ---------------- ##
1501 ## Cache variables. ##
1502 ## ---------------- ##"
1503 echo
1504 # The following way of writing the cache mishandles newlines in values,
1505 (
1506 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1507 eval ac_val=\$$ac_var
1508 case $ac_val in #(
1509 *${as_nl}*)
1510 case $ac_var in #(
1511 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1512 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1513 esac
1514 case $ac_var in #(
1515 _ | IFS | as_nl) ;; #(
1516 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1517 *) { eval $ac_var=; unset $ac_var;} ;;
1518 esac ;;
1519 esac
1520 done
1521 (set) 2>&1 |
1522 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1523 *${as_nl}ac_space=\ *)
1524 sed -n \
1525 "s/'\''/'\''\\\\'\'''\''/g;
1526 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1527 ;; #(
1528 *)
1529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1530 ;;
1531 esac |
1532 sort
1533 )
1534 echo
1535
1536 $as_echo "## ----------------- ##
1537 ## Output variables. ##
1538 ## ----------------- ##"
1539 echo
1540 for ac_var in $ac_subst_vars
1541 do
1542 eval ac_val=\$$ac_var
1543 case $ac_val in
1544 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545 esac
1546 $as_echo "$ac_var='\''$ac_val'\''"
1547 done | sort
1548 echo
1549
1550 if test -n "$ac_subst_files"; then
1551 $as_echo "## ------------------- ##
1552 ## File substitutions. ##
1553 ## ------------------- ##"
1554 echo
1555 for ac_var in $ac_subst_files
1556 do
1557 eval ac_val=\$$ac_var
1558 case $ac_val in
1559 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1560 esac
1561 $as_echo "$ac_var='\''$ac_val'\''"
1562 done | sort
1563 echo
1564 fi
1565
1566 if test -s confdefs.h; then
1567 $as_echo "## ----------- ##
1568 ## confdefs.h. ##
1569 ## ----------- ##"
1570 echo
1571 cat confdefs.h
1572 echo
1573 fi
1574 test "$ac_signal" != 0 &&
1575 $as_echo "$as_me: caught signal $ac_signal"
1576 $as_echo "$as_me: exit $exit_status"
1577 } >&5
1578 rm -f core *.core core.conftest.* &&
1579 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1580 exit $exit_status
1581 ' 0
1582 for ac_signal in 1 2 13 15; do
1583 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1584 done
1585 ac_signal=0
1586
1587 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1588 rm -f -r conftest* confdefs.h
1589
1590 $as_echo "/* confdefs.h */" > confdefs.h
1591
1592 # Predefined preprocessor variables.
1593
1594 cat >>confdefs.h <<_ACEOF
1595 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1596 _ACEOF
1597
1598 cat >>confdefs.h <<_ACEOF
1599 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1600 _ACEOF
1601
1602 cat >>confdefs.h <<_ACEOF
1603 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1604 _ACEOF
1605
1606 cat >>confdefs.h <<_ACEOF
1607 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1608 _ACEOF
1609
1610 cat >>confdefs.h <<_ACEOF
1611 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1612 _ACEOF
1613
1614 cat >>confdefs.h <<_ACEOF
1615 @%:@define PACKAGE_URL "$PACKAGE_URL"
1616 _ACEOF
1617
1618
1619 # Let the site file select an alternate cache file if it wants to.
1620 # Prefer an explicitly selected file to automatically selected ones.
1621 ac_site_file1=NONE
1622 ac_site_file2=NONE
1623 if test -n "$CONFIG_SITE"; then
1624 # We do not want a PATH search for config.site.
1625 case $CONFIG_SITE in @%:@((
1626 -*) ac_site_file1=./$CONFIG_SITE;;
1627 */*) ac_site_file1=$CONFIG_SITE;;
1628 *) ac_site_file1=./$CONFIG_SITE;;
1629 esac
1630 elif test "x$prefix" != xNONE; then
1631 ac_site_file1=$prefix/share/config.site
1632 ac_site_file2=$prefix/etc/config.site
1633 else
1634 ac_site_file1=$ac_default_prefix/share/config.site
1635 ac_site_file2=$ac_default_prefix/etc/config.site
1636 fi
1637 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1638 do
1639 test "x$ac_site_file" = xNONE && continue
1640 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1642 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1643 sed 's/^/| /' "$ac_site_file" >&5
1644 . "$ac_site_file" \
1645 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1647 as_fn_error $? "failed to load site script $ac_site_file
1648 See \`config.log' for more details" "$LINENO" 5; }
1649 fi
1650 done
1651
1652 if test -r "$cache_file"; then
1653 # Some versions of bash will fail to source /dev/null (special files
1654 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1655 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1657 $as_echo "$as_me: loading cache $cache_file" >&6;}
1658 case $cache_file in
1659 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1660 *) . "./$cache_file";;
1661 esac
1662 fi
1663 else
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1665 $as_echo "$as_me: creating cache $cache_file" >&6;}
1666 >$cache_file
1667 fi
1668
1669 # Check that the precious variables saved in the cache have kept the same
1670 # value.
1671 ac_cache_corrupted=false
1672 for ac_var in $ac_precious_vars; do
1673 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1674 eval ac_new_set=\$ac_env_${ac_var}_set
1675 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1676 eval ac_new_val=\$ac_env_${ac_var}_value
1677 case $ac_old_set,$ac_new_set in
1678 set,)
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1680 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1681 ac_cache_corrupted=: ;;
1682 ,set)
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1684 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1685 ac_cache_corrupted=: ;;
1686 ,);;
1687 *)
1688 if test "x$ac_old_val" != "x$ac_new_val"; then
1689 # differences in whitespace do not lead to failure.
1690 ac_old_val_w=`echo x $ac_old_val`
1691 ac_new_val_w=`echo x $ac_new_val`
1692 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1694 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1695 ac_cache_corrupted=:
1696 else
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1698 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1699 eval $ac_var=\$ac_old_val
1700 fi
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1702 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1704 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1705 fi;;
1706 esac
1707 # Pass precious variables to config.status.
1708 if test "$ac_new_set" = set; then
1709 case $ac_new_val in
1710 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1711 *) ac_arg=$ac_var=$ac_new_val ;;
1712 esac
1713 case " $ac_configure_args " in
1714 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1715 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1716 esac
1717 fi
1718 done
1719 if $ac_cache_corrupted; then
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1723 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1724 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1725 fi
1726 ## -------------------- ##
1727 ## Main body of script. ##
1728 ## -------------------- ##
1729
1730 ac_ext=c
1731 ac_cpp='$CPP $CPPFLAGS'
1732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1735
1736
1737 ac_aux_dir=
1738 for ac_dir in config "$srcdir"/config; do
1739 if test -f "$ac_dir/install-sh"; then
1740 ac_aux_dir=$ac_dir
1741 ac_install_sh="$ac_aux_dir/install-sh -c"
1742 break
1743 elif test -f "$ac_dir/install.sh"; then
1744 ac_aux_dir=$ac_dir
1745 ac_install_sh="$ac_aux_dir/install.sh -c"
1746 break
1747 elif test -f "$ac_dir/shtool"; then
1748 ac_aux_dir=$ac_dir
1749 ac_install_sh="$ac_aux_dir/shtool install -c"
1750 break
1751 fi
1752 done
1753 if test -z "$ac_aux_dir"; then
1754 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
1755 fi
1756
1757 # These three variables are undocumented and unsupported,
1758 # and are intended to be withdrawn in a future Autoconf release.
1759 # They can cause serious problems if a builder's source tree is in a directory
1760 # whose full name contains unusual characters.
1761 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1762 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1763 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1764
1765
1766
1767 am__api_version='1.11'
1768
1769 # Find a good install program. We prefer a C program (faster),
1770 # so one script is as good as another. But avoid the broken or
1771 # incompatible versions:
1772 # SysV /etc/install, /usr/sbin/install
1773 # SunOS /usr/etc/install
1774 # IRIX /sbin/install
1775 # AIX /bin/install
1776 # AmigaOS /C/install, which installs bootblocks on floppy discs
1777 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1778 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1779 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1780 # OS/2's system install, which has a completely different semantic
1781 # ./install, which can be erroneously created by make from ./install.sh.
1782 # Reject install programs that cannot install multiple files.
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1784 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1785 if test -z "$INSTALL"; then
1786 if ${ac_cv_path_install+:} false; then :
1787 $as_echo_n "(cached) " >&6
1788 else
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 for as_dir in $PATH
1791 do
1792 IFS=$as_save_IFS
1793 test -z "$as_dir" && as_dir=.
1794 # Account for people who put trailing slashes in PATH elements.
1795 case $as_dir/ in @%:@((
1796 ./ | .// | /[cC]/* | \
1797 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1798 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1799 /usr/ucb/* ) ;;
1800 *)
1801 # OSF1 and SCO ODT 3.0 have their own names for install.
1802 # Don't use installbsd from OSF since it installs stuff as root
1803 # by default.
1804 for ac_prog in ginstall scoinst install; do
1805 for ac_exec_ext in '' $ac_executable_extensions; do
1806 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1807 if test $ac_prog = install &&
1808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1809 # AIX install. It has an incompatible calling convention.
1810 :
1811 elif test $ac_prog = install &&
1812 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1813 # program-specific install script used by HP pwplus--don't use.
1814 :
1815 else
1816 rm -rf conftest.one conftest.two conftest.dir
1817 echo one > conftest.one
1818 echo two > conftest.two
1819 mkdir conftest.dir
1820 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1821 test -s conftest.one && test -s conftest.two &&
1822 test -s conftest.dir/conftest.one &&
1823 test -s conftest.dir/conftest.two
1824 then
1825 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1826 break 3
1827 fi
1828 fi
1829 fi
1830 done
1831 done
1832 ;;
1833 esac
1834
1835 done
1836 IFS=$as_save_IFS
1837
1838 rm -rf conftest.one conftest.two conftest.dir
1839
1840 fi
1841 if test "${ac_cv_path_install+set}" = set; then
1842 INSTALL=$ac_cv_path_install
1843 else
1844 # As a last resort, use the slow shell script. Don't cache a
1845 # value for INSTALL within a source directory, because that will
1846 # break other packages using the cache if that directory is
1847 # removed, or if the value is a relative name.
1848 INSTALL=$ac_install_sh
1849 fi
1850 fi
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1852 $as_echo "$INSTALL" >&6; }
1853
1854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1855 # It thinks the first close brace ends the variable substitution.
1856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1857
1858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1859
1860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1861
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1863 $as_echo_n "checking whether build environment is sane... " >&6; }
1864 # Just in case
1865 sleep 1
1866 echo timestamp > conftest.file
1867 # Reject unsafe characters in $srcdir or the absolute working directory
1868 # name. Accept space and tab only in the latter.
1869 am_lf='
1870 '
1871 case `pwd` in
1872 *[\\\"\#\$\&\'\`$am_lf]*)
1873 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1874 esac
1875 case $srcdir in
1876 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1877 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1878 esac
1879
1880 # Do `set' in a subshell so we don't clobber the current shell's
1881 # arguments. Must try -L first in case configure is actually a
1882 # symlink; some systems play weird games with the mod time of symlinks
1883 # (eg FreeBSD returns the mod time of the symlink's containing
1884 # directory).
1885 if (
1886 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1887 if test "$*" = "X"; then
1888 # -L didn't work.
1889 set X `ls -t "$srcdir/configure" conftest.file`
1890 fi
1891 rm -f conftest.file
1892 if test "$*" != "X $srcdir/configure conftest.file" \
1893 && test "$*" != "X conftest.file $srcdir/configure"; then
1894
1895 # If neither matched, then we have a broken ls. This can happen
1896 # if, for instance, CONFIG_SHELL is bash and it inherits a
1897 # broken ls alias from the environment. This has actually
1898 # happened. Such a system could not be considered "sane".
1899 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1900 alias in your environment" "$LINENO" 5
1901 fi
1902
1903 test "$2" = conftest.file
1904 )
1905 then
1906 # Ok.
1907 :
1908 else
1909 as_fn_error $? "newly created file is older than distributed files!
1910 Check your system clock" "$LINENO" 5
1911 fi
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1913 $as_echo "yes" >&6; }
1914 test "$program_prefix" != NONE &&
1915 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1916 # Use a double $ so make ignores it.
1917 test "$program_suffix" != NONE &&
1918 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1919 # Double any \ or $.
1920 # By default was `s,x,x', remove it if useless.
1921 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1922 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1923
1924 # expand $ac_aux_dir to an absolute path
1925 am_aux_dir=`cd $ac_aux_dir && pwd`
1926
1927 if test x"${MISSING+set}" != xset; then
1928 case $am_aux_dir in
1929 *\ * | *\ *)
1930 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1931 *)
1932 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1933 esac
1934 fi
1935 # Use eval to expand $SHELL
1936 if eval "$MISSING --run true"; then
1937 am_missing_run="$MISSING --run "
1938 else
1939 am_missing_run=
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1941 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1942 fi
1943
1944 if test x"${install_sh}" != xset; then
1945 case $am_aux_dir in
1946 *\ * | *\ *)
1947 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1948 *)
1949 install_sh="\${SHELL} $am_aux_dir/install-sh"
1950 esac
1951 fi
1952
1953 # Installed binaries are usually stripped using `strip' when the user
1954 # run `make install-strip'. However `strip' might not be the right
1955 # tool to use in cross-compilation environments, therefore Automake
1956 # will honor the `STRIP' environment variable to overrule this program.
1957 if test "$cross_compiling" != no; then
1958 if test -n "$ac_tool_prefix"; then
1959 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1960 set dummy ${ac_tool_prefix}strip; ac_word=$2
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1962 $as_echo_n "checking for $ac_word... " >&6; }
1963 if ${ac_cv_prog_STRIP+:} false; then :
1964 $as_echo_n "(cached) " >&6
1965 else
1966 if test -n "$STRIP"; then
1967 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1968 else
1969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 for as_dir in $PATH
1971 do
1972 IFS=$as_save_IFS
1973 test -z "$as_dir" && as_dir=.
1974 for ac_exec_ext in '' $ac_executable_extensions; do
1975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1976 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 break 2
1979 fi
1980 done
1981 done
1982 IFS=$as_save_IFS
1983
1984 fi
1985 fi
1986 STRIP=$ac_cv_prog_STRIP
1987 if test -n "$STRIP"; then
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1989 $as_echo "$STRIP" >&6; }
1990 else
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1992 $as_echo "no" >&6; }
1993 fi
1994
1995
1996 fi
1997 if test -z "$ac_cv_prog_STRIP"; then
1998 ac_ct_STRIP=$STRIP
1999 # Extract the first word of "strip", so it can be a program name with args.
2000 set dummy strip; ac_word=$2
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2002 $as_echo_n "checking for $ac_word... " >&6; }
2003 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2004 $as_echo_n "(cached) " >&6
2005 else
2006 if test -n "$ac_ct_STRIP"; then
2007 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2008 else
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH
2011 do
2012 IFS=$as_save_IFS
2013 test -z "$as_dir" && as_dir=.
2014 for ac_exec_ext in '' $ac_executable_extensions; do
2015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016 ac_cv_prog_ac_ct_STRIP="strip"
2017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 break 2
2019 fi
2020 done
2021 done
2022 IFS=$as_save_IFS
2023
2024 fi
2025 fi
2026 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2027 if test -n "$ac_ct_STRIP"; then
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2029 $as_echo "$ac_ct_STRIP" >&6; }
2030 else
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2032 $as_echo "no" >&6; }
2033 fi
2034
2035 if test "x$ac_ct_STRIP" = x; then
2036 STRIP=":"
2037 else
2038 case $cross_compiling:$ac_tool_warned in
2039 yes:)
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2042 ac_tool_warned=yes ;;
2043 esac
2044 STRIP=$ac_ct_STRIP
2045 fi
2046 else
2047 STRIP="$ac_cv_prog_STRIP"
2048 fi
2049
2050 fi
2051 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2052
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2054 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2055 if test -z "$MKDIR_P"; then
2056 if ${ac_cv_path_mkdir+:} false; then :
2057 $as_echo_n "(cached) " >&6
2058 else
2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2061 do
2062 IFS=$as_save_IFS
2063 test -z "$as_dir" && as_dir=.
2064 for ac_prog in mkdir gmkdir; do
2065 for ac_exec_ext in '' $ac_executable_extensions; do
2066 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2067 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2068 'mkdir (GNU coreutils) '* | \
2069 'mkdir (coreutils) '* | \
2070 'mkdir (fileutils) '4.1*)
2071 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2072 break 3;;
2073 esac
2074 done
2075 done
2076 done
2077 IFS=$as_save_IFS
2078
2079 fi
2080
2081 test -d ./--version && rmdir ./--version
2082 if test "${ac_cv_path_mkdir+set}" = set; then
2083 MKDIR_P="$ac_cv_path_mkdir -p"
2084 else
2085 # As a last resort, use the slow shell script. Don't cache a
2086 # value for MKDIR_P within a source directory, because that will
2087 # break other packages using the cache if that directory is
2088 # removed, or if the value is a relative name.
2089 MKDIR_P="$ac_install_sh -d"
2090 fi
2091 fi
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2093 $as_echo "$MKDIR_P" >&6; }
2094
2095 mkdir_p="$MKDIR_P"
2096 case $mkdir_p in
2097 [\\/$]* | ?:[\\/]*) ;;
2098 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2099 esac
2100
2101 for ac_prog in gawk mawk nawk awk
2102 do
2103 # Extract the first word of "$ac_prog", so it can be a program name with args.
2104 set dummy $ac_prog; ac_word=$2
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2106 $as_echo_n "checking for $ac_word... " >&6; }
2107 if ${ac_cv_prog_AWK+:} false; then :
2108 $as_echo_n "(cached) " >&6
2109 else
2110 if test -n "$AWK"; then
2111 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2115 do
2116 IFS=$as_save_IFS
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120 ac_cv_prog_AWK="$ac_prog"
2121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 break 2
2123 fi
2124 done
2125 done
2126 IFS=$as_save_IFS
2127
2128 fi
2129 fi
2130 AWK=$ac_cv_prog_AWK
2131 if test -n "$AWK"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2133 $as_echo "$AWK" >&6; }
2134 else
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2136 $as_echo "no" >&6; }
2137 fi
2138
2139
2140 test -n "$AWK" && break
2141 done
2142
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2144 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2145 set x ${MAKE-make}
2146 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2147 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2148 $as_echo_n "(cached) " >&6
2149 else
2150 cat >conftest.make <<\_ACEOF
2151 SHELL = /bin/sh
2152 all:
2153 @echo '@@@%%%=$(MAKE)=@@@%%%'
2154 _ACEOF
2155 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2156 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2157 *@@@%%%=?*=@@@%%%*)
2158 eval ac_cv_prog_make_${ac_make}_set=yes;;
2159 *)
2160 eval ac_cv_prog_make_${ac_make}_set=no;;
2161 esac
2162 rm -f conftest.make
2163 fi
2164 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2166 $as_echo "yes" >&6; }
2167 SET_MAKE=
2168 else
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2170 $as_echo "no" >&6; }
2171 SET_MAKE="MAKE=${MAKE-make}"
2172 fi
2173
2174 rm -rf .tst 2>/dev/null
2175 mkdir .tst 2>/dev/null
2176 if test -d .tst; then
2177 am__leading_dot=.
2178 else
2179 am__leading_dot=_
2180 fi
2181 rmdir .tst 2>/dev/null
2182
2183 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2184 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2185 # is not polluted with repeated "-I."
2186 am__isrc=' -I$(srcdir)'
2187 # test to see if srcdir already configured
2188 if test -f $srcdir/config.status; then
2189 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2190 fi
2191 fi
2192
2193 # test whether we have cygpath
2194 if test -z "$CYGPATH_W"; then
2195 if (cygpath --version) >/dev/null 2>/dev/null; then
2196 CYGPATH_W='cygpath -w'
2197 else
2198 CYGPATH_W=echo
2199 fi
2200 fi
2201
2202
2203 # Define the identity of the package.
2204 PACKAGE='ibutils'
2205 VERSION='1.5.7'
2206
2207
2208 cat >>confdefs.h <<_ACEOF
2209 @%:@define PACKAGE "$PACKAGE"
2210 _ACEOF
2211
2212
2213 cat >>confdefs.h <<_ACEOF
2214 @%:@define VERSION "$VERSION"
2215 _ACEOF
2216
2217 # Some tools Automake needs.
2218
2219 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2220
2221
2222 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2223
2224
2225 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2226
2227
2228 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2229
2230
2231 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2232
2233 # We need awk for the "check" target. The system "awk" is bad on
2234 # some platforms.
2235 # Always define AMTAR for backward compatibility.
2236
2237 AMTAR=${AMTAR-"${am_missing_run}tar"}
2238
2239 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2240
2241
2242
2243
2244
2245
2246 ac_ext=c
2247 ac_cpp='$CPP $CPPFLAGS'
2248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2251
2252
2253
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2255 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2256 @%:@ Check whether --enable-maintainer-mode was given.
2257 if test "${enable_maintainer_mode+set}" = set; then :
2258 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2259 else
2260 USE_MAINTAINER_MODE=no
2261 fi
2262
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2264 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2265 if test $USE_MAINTAINER_MODE = yes; then
2266 MAINTAINER_MODE_TRUE=
2267 MAINTAINER_MODE_FALSE='#'
2268 else
2269 MAINTAINER_MODE_TRUE='#'
2270 MAINTAINER_MODE_FALSE=
2271 fi
2272
2273 MAINT=$MAINTAINER_MODE_TRUE
2274
2275
2276
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2278 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2279 set x ${MAKE-make}
2280 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2281 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2282 $as_echo_n "(cached) " >&6
2283 else
2284 cat >conftest.make <<\_ACEOF
2285 SHELL = /bin/sh
2286 all:
2287 @echo '@@@%%%=$(MAKE)=@@@%%%'
2288 _ACEOF
2289 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2290 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2291 *@@@%%%=?*=@@@%%%*)
2292 eval ac_cv_prog_make_${ac_make}_set=yes;;
2293 *)
2294 eval ac_cv_prog_make_${ac_make}_set=no;;
2295 esac
2296 rm -f conftest.make
2297 fi
2298 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2300 $as_echo "yes" >&6; }
2301 SET_MAKE=
2302 else
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2304 $as_echo "no" >&6; }
2305 SET_MAKE="MAKE=${MAKE-make}"
2306 fi
2307
2308
2309 @%:@ Check whether --enable-debug was given.
2310 if test "${enable_debug+set}" = set; then :
2311 enableval=$enable_debug; case "${enableval}" in
2312 yes) debug=true ;;
2313 no) debug=false ;;
2314 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
2315 esac
2316 else
2317 debug=false
2318 fi
2319
2320
2321 @%:@ Check whether --enable-libcheck was given.
2322 if test "${enable_libcheck+set}" = set; then :
2323 enableval=$enable_libcheck; case "${enableval}" in
2324 yes) libcheck=true ;;
2325 no) libcheck=false ;;
2326 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;;
2327 esac
2328 else
2329 libcheck=true
2330 fi
2331
2332
2333
2334 # --- BEGIN OPENIB_APP_OSM ---
2335
2336
2337 @%:@ Check whether --with-osm was given.
2338 if test "${with_osm+set}" = set; then :
2339 withval=$with_osm; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM from:$with_osm" >&5
2340 $as_echo "$as_me: Using OSM from:$with_osm" >&6;}
2341 else
2342 with_osm="none"
2343 fi
2344
2345
2346
2347 @%:@ Check whether --with-osm-libs was given.
2348 if test "${with_osm_libs+set}" = set; then :
2349 withval=$with_osm_libs; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM libs from:$with_osm_libs" >&5
2350 $as_echo "$as_me: Using OSM libs from:$with_osm_libs" >&6;}
2351 else
2352 with_osm_libs="none"
2353 fi
2354
2355
2356 osm_lib_dir="none"
2357
2358 if test "x$libcheck" = "xtrue"; then
2359 if test "x$with_osm" = xnone; then
2360 if test -d /usr/local/ibgd/apps/osm; then
2361 with_osm=/usr/local/ibgd/apps/osm
2362 elif test -d /usr/mellanox/osm; then
2363 with_osm=/usr/mellanox
2364 elif test -f /etc/infiniband/info; then
2365 ofed_dir=`/etc/infiniband/info | grep prefix | cut -d = -f 2`
2366 if (test -f $ofed_dir/lib/libopensm.so ||
2367 test -f $ofed_dir/lib64/libopensm.so); then
2368 with_osm=$ofed_dir
2369 fi
2370 elif (test -f /usr/local/lib64/libopensm.so ||
2371 test -f /usr/local/lib/libopensm.so); then
2372 with_osm=/usr/local
2373 elif (test -f /usr/lib64/libopensm.so ||
2374 test -f /usr/lib/libopensm.so); then
2375 with_osm=/usr
2376 else
2377 as_fn_error $? "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
2378 fi
2379 fi
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5
2381 $as_echo "$as_me: OSM: used from $with_osm" >&6;}
2382
2383 if test "x$with_osm_libs" = "xnone"; then
2384 if (test -f $with_osm/lib64/libosmvendor_gen1.so ||
2385 test -f $with_osm/lib64/libosmvendor_vapi.so ||
2386 test -f $with_osm/lib64/libopensm.so ||
2387 test -f $with_osm/lib64/libosmvendor_sim.so); then
2388 osm_lib_dir=lib64
2389 else
2390 osm_lib_dir=lib
2391 fi
2392 with_osm_libs=$with_osm/$osm_lib_dir
2393 fi
2394
2395 if test -d $with_osm/include/infiniband; then
2396 OSM_BUILD=openib
2397 else
2398 OSM_BUILD=gen1
2399 fi
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: build type $OSM_BUILD" >&5
2401 $as_echo "$as_me: OSM: build type $OSM_BUILD" >&6;}
2402
2403 OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
2404 if test $OSM_BUILD = openib; then
2405 osm_include_dir="$with_osm/include/infiniband"
2406 osm_extra_includes="-I$with_osm/include"
2407
2408 if test -L $with_osm_libs/libosmvendor_gen1.so; then
2409 OSM_VENDOR=ts
2410 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
2411 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp"
2412 elif test -L $with_osm_libs/libosmvendor_vapi.so; then
2413 OSM_VENDOR=mtl
2414 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
2415 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -lvapi -lib_mgt"
2416 elif test -L $with_osm_libs/libosmvendor_sim.so; then
2417 OSM_VENDOR=sim
2418 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
2419 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -libmscli -losmcomp"
2420 elif test -L $with_osm_libs/libopensm.so; then
2421 OSM_VENDOR=openib
2422 osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
2423 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
2424 else
2425 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
2426 fi
2427 osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
2428 else
2429 # we are in gen1 build
2430 osm_include_dir="$with_osm/include"
2431
2432 if test -L $with_osm_libs/libosmsvc_ts.so; then
2433 OSM_VENDOR=ts
2434 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_ts -lcomplib"
2435 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
2436 elif test -L $with_osm_libs/libosmsvc_mtl.so; then
2437 OSM_VENDOR=mtl
2438 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_mtl -lcomplib -lvapi -lib_mgt"
2439 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
2440 elif test -L $with_osm_libs/libosmsvc_sim.so; then
2441 OSM_VENDOR=sim
2442 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
2443 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
2444 else
2445 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
2446 fi
2447 fi
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5
2449 $as_echo "$as_me: OSM: vendor type $OSM_VENDOR" >&6;}
2450
2451
2452 as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh`
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5
2454 $as_echo_n "checking for $osm_include_dir/opensm/osm_config.h... " >&6; }
2455 if eval \${$as_ac_File+:} false; then :
2456 $as_echo_n "(cached) " >&6
2457 else
2458 test "$cross_compiling" = yes &&
2459 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2460 if test -r "$osm_include_dir/opensm/osm_config.h"; then
2461 eval "$as_ac_File=yes"
2462 else
2463 eval "$as_ac_File=no"
2464 fi
2465 fi
2466 eval ac_res=\$$as_ac_File
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2468 $as_echo "$ac_res" >&6; }
2469 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2470
2471 else
2472 as_fn_error $? "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
2473 fi
2474
2475
2476 grep '#define OSM_DEBUG 1' $osm_include_dir/opensm/osm_config.h > /dev/null
2477 if test $? -eq 0 ; then
2478 osm_debug_flags='-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG'
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: compiled in DEBUG mode" >&5
2480 $as_echo "$as_me: OSM: compiled in DEBUG mode" >&6;}
2481 else
2482 osm_debug_flags=
2483 fi
2484
2485 OSM_CFLAGS="-I$osm_include_dir $osm_extra_includes $osm_debug_flags $osm_vendor_sel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1"
2486 else
2487 with_osm=disabled
2488 OSM_CLFAGS=disabled
2489 OSM_LDFLAGS=disabled
2490 OSM_VEDNOR=disabled
2491 OSM_BUILD=disabled
2492 fi
2493
2494 if test "x$OSM_VENDOR" = xts; then
2495 OSM_VENDOR_TS_TRUE=
2496 OSM_VENDOR_TS_FALSE='#'
2497 else
2498 OSM_VENDOR_TS_TRUE='#'
2499 OSM_VENDOR_TS_FALSE=
2500 fi
2501
2502 if test "x$OSM_VENDOR" = xmtl; then
2503 OSM_VENDOR_MTL_TRUE=
2504 OSM_VENDOR_MTL_FALSE='#'
2505 else
2506 OSM_VENDOR_MTL_TRUE='#'
2507 OSM_VENDOR_MTL_FALSE=
2508 fi
2509
2510 if test "x$OSM_VENDOR" = xsim; then
2511 OSM_VENDOR_SIM_TRUE=
2512 OSM_VENDOR_SIM_FALSE='#'
2513 else
2514 OSM_VENDOR_SIM_TRUE='#'
2515 OSM_VENDOR_SIM_FALSE=
2516 fi
2517
2518 if test "x$OSM_BUILD" = xopenib; then
2519 OSM_BUILD_OPENIB_TRUE=
2520 OSM_BUILD_OPENIB_FALSE='#'
2521 else
2522 OSM_BUILD_OPENIB_TRUE='#'
2523 OSM_BUILD_OPENIB_FALSE=
2524 fi
2525
2526
2527
2528
2529
2530
2531
2532
2533 # --- OPENIB_APP_OSM ---
2534
2535
2536
2537
2538 subdirs="$subdirs ibis ibdm ibdiag"
2539
2540
2541 @%:@ Check whether --enable-ibmgtsim was given.
2542 if test "${enable_ibmgtsim+set}" = set; then :
2543 enableval=$enable_ibmgtsim; case "${enableval}" in
2544 yes) ibmgtsim=true ;;
2545 no) ibmgtsim=false ;;
2546 *) as_fn_error $? "bad value ${enableval} for --enable-ibmgtsim" "$LINENO" 5 ;;
2547 esac
2548 else
2549 ibmgtsim=false
2550 fi
2551
2552 if test "x$ibmgtsim" != xfalse; then
2553 BUILD_IBMGTSIM_TRUE=
2554 BUILD_IBMGTSIM_FALSE='#'
2555 else
2556 BUILD_IBMGTSIM_TRUE='#'
2557 BUILD_IBMGTSIM_FALSE=
2558 fi
2559
2560
2561 abs_srcdir=`cd ${0%*/*};pwd`
2562
2563 if test $ibmgtsim = true; then
2564 ac_configure_args="$ac_configure_args --with-ibdm=$abs_srcdir/ibdm"
2565 subdirs="$subdirs ibmgtsim"
2566
2567 fi
2568
2569 ac_config_files="$ac_config_files ibutils.spec"
2570
2571 ac_config_files="$ac_config_files Makefile"
2572
2573 cat >confcache <<\_ACEOF
2574 # This file is a shell script that caches the results of configure
2575 # tests run on this system so they can be shared between configure
2576 # scripts and configure runs, see configure's option --config-cache.
2577 # It is not useful on other systems. If it contains results you don't
2578 # want to keep, you may remove or edit it.
2579 #
2580 # config.status only pays attention to the cache file if you give it
2581 # the --recheck option to rerun configure.
2582 #
2583 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2584 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2585 # following values.
2586
2587 _ACEOF
2588
2589 # The following way of writing the cache mishandles newlines in values,
2590 # but we know of no workaround that is simple, portable, and efficient.
2591 # So, we kill variables containing newlines.
2592 # Ultrix sh set writes to stderr and can't be redirected directly,
2593 # and sets the high bit in the cache file unless we assign to the vars.
2594 (
2595 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2596 eval ac_val=\$$ac_var
2597 case $ac_val in #(
2598 *${as_nl}*)
2599 case $ac_var in #(
2600 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2601 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2602 esac
2603 case $ac_var in #(
2604 _ | IFS | as_nl) ;; #(
2605 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2606 *) { eval $ac_var=; unset $ac_var;} ;;
2607 esac ;;
2608 esac
2609 done
2610
2611 (set) 2>&1 |
2612 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2613 *${as_nl}ac_space=\ *)
2614 # `set' does not quote correctly, so add quotes: double-quote
2615 # substitution turns \\\\ into \\, and sed turns \\ into \.
2616 sed -n \
2617 "s/'/'\\\\''/g;
2618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2619 ;; #(
2620 *)
2621 # `set' quotes correctly as required by POSIX, so do not add quotes.
2622 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2623 ;;
2624 esac |
2625 sort
2626 ) |
2627 sed '
2628 /^ac_cv_env_/b end
2629 t clear
2630 :clear
2631 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2632 t end
2633 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2634 :end' >>confcache
2635 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2636 if test -w "$cache_file"; then
2637 if test "x$cache_file" != "x/dev/null"; then
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2639 $as_echo "$as_me: updating cache $cache_file" >&6;}
2640 if test ! -f "$cache_file" || test -h "$cache_file"; then
2641 cat confcache >"$cache_file"
2642 else
2643 case $cache_file in #(
2644 */* | ?:*)
2645 mv -f confcache "$cache_file"$$ &&
2646 mv -f "$cache_file"$$ "$cache_file" ;; #(
2647 *)
2648 mv -f confcache "$cache_file" ;;
2649 esac
2650 fi
2651 fi
2652 else
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2654 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2655 fi
2656 fi
2657 rm -f confcache
2658
2659 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2660 # Let make expand exec_prefix.
2661 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2662
2663 # Transform confdefs.h into DEFS.
2664 # Protect against shell expansion while executing Makefile rules.
2665 # Protect against Makefile macro expansion.
2666 #
2667 # If the first sed substitution is executed (which looks for macros that
2668 # take arguments), then branch to the quote section. Otherwise,
2669 # look for a macro that doesn't take arguments.
2670 ac_script='
2671 :mline
2672 /\\$/{
2673 N
2674 s,\\\n,,
2675 b mline
2676 }
2677 t clear
2678 :clear
2679 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2680 t quote
2681 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2682 t quote
2683 b any
2684 :quote
2685 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2686 s/\[/\\&/g
2687 s/\]/\\&/g
2688 s/\$/$$/g
2689 H
2690 :any
2691 ${
2692 g
2693 s/^\n//
2694 s/\n/ /g
2695 p
2696 }
2697 '
2698 DEFS=`sed -n "$ac_script" confdefs.h`
2699
2700
2701 ac_libobjs=
2702 ac_ltlibobjs=
2703 U=
2704 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
2705 # 1. Remove the extension, and $U if already installed.
2706 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2707 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2708 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2709 # will be set to the directory where LIBOBJS objects are built.
2710 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2711 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2712 done
2713 LIB@&t@OBJS=$ac_libobjs
2714
2715 LTLIBOBJS=$ac_ltlibobjs
2716
2717
2718
2719 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2720 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
2721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2722 fi
2723 if test -z "${OSM_VENDOR_TS_TRUE}" && test -z "${OSM_VENDOR_TS_FALSE}"; then
2724 as_fn_error $? "conditional \"OSM_VENDOR_TS\" was never defined.
2725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2726 fi
2727 if test -z "${OSM_VENDOR_MTL_TRUE}" && test -z "${OSM_VENDOR_MTL_FALSE}"; then
2728 as_fn_error $? "conditional \"OSM_VENDOR_MTL\" was never defined.
2729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2730 fi
2731 if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then
2732 as_fn_error $? "conditional \"OSM_VENDOR_SIM\" was never defined.
2733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2734 fi
2735 if test -z "${OSM_BUILD_OPENIB_TRUE}" && test -z "${OSM_BUILD_OPENIB_FALSE}"; then
2736 as_fn_error $? "conditional \"OSM_BUILD_OPENIB\" was never defined.
2737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2738 fi
2739 if test -z "${BUILD_IBMGTSIM_TRUE}" && test -z "${BUILD_IBMGTSIM_FALSE}"; then
2740 as_fn_error $? "conditional \"BUILD_IBMGTSIM\" was never defined.
2741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2742 fi
2743
2744 : "${CONFIG_STATUS=./config.status}"
2745 ac_write_fail=0
2746 ac_clean_files_save=$ac_clean_files
2747 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2749 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2750 as_write_fail=0
2751 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2752 #! $SHELL
2753 # Generated by $as_me.
2754 # Run this file to recreate the current configuration.
2755 # Compiler output produced by configure, useful for debugging
2756 # configure, is in config.log if it exists.
2757
2758 debug=false
2759 ac_cs_recheck=false
2760 ac_cs_silent=false
2761
2762 SHELL=\${CONFIG_SHELL-$SHELL}
2763 export SHELL
2764 _ASEOF
2765 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2766 ## -------------------- ##
2767 ## M4sh Initialization. ##
2768 ## -------------------- ##
2769
2770 # Be more Bourne compatible
2771 DUALCASE=1; export DUALCASE # for MKS sh
2772 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2773 emulate sh
2774 NULLCMD=:
2775 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2776 # is contrary to our usage. Disable this feature.
2777 alias -g '${1+"$@"}'='"$@"'
2778 setopt NO_GLOB_SUBST
2779 else
2780 case `(set -o) 2>/dev/null` in @%:@(
2781 *posix*) :
2782 set -o posix ;; @%:@(
2783 *) :
2784 ;;
2785 esac
2786 fi
2787
2788
2789 as_nl='
2790 '
2791 export as_nl
2792 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2793 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2794 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2796 # Prefer a ksh shell builtin over an external printf program on Solaris,
2797 # but without wasting forks for bash or zsh.
2798 if test -z "$BASH_VERSION$ZSH_VERSION" \
2799 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2800 as_echo='print -r --'
2801 as_echo_n='print -rn --'
2802 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2803 as_echo='printf %s\n'
2804 as_echo_n='printf %s'
2805 else
2806 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2807 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2808 as_echo_n='/usr/ucb/echo -n'
2809 else
2810 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2811 as_echo_n_body='eval
2812 arg=$1;
2813 case $arg in @%:@(
2814 *"$as_nl"*)
2815 expr "X$arg" : "X\\(.*\\)$as_nl";
2816 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2817 esac;
2818 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2819 '
2820 export as_echo_n_body
2821 as_echo_n='sh -c $as_echo_n_body as_echo'
2822 fi
2823 export as_echo_body
2824 as_echo='sh -c $as_echo_body as_echo'
2825 fi
2826
2827 # The user is always right.
2828 if test "${PATH_SEPARATOR+set}" != set; then
2829 PATH_SEPARATOR=:
2830 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2831 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2832 PATH_SEPARATOR=';'
2833 }
2834 fi
2835
2836
2837 # IFS
2838 # We need space, tab and new line, in precisely that order. Quoting is
2839 # there to prevent editors from complaining about space-tab.
2840 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2841 # splitting by setting IFS to empty value.)
2842 IFS=" "" $as_nl"
2843
2844 # Find who we are. Look in the path if we contain no directory separator.
2845 as_myself=
2846 case $0 in @%:@((
2847 *[\\/]* ) as_myself=$0 ;;
2848 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 for as_dir in $PATH
2850 do
2851 IFS=$as_save_IFS
2852 test -z "$as_dir" && as_dir=.
2853 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2854 done
2855 IFS=$as_save_IFS
2856
2857 ;;
2858 esac
2859 # We did not find ourselves, most probably we were run as `sh COMMAND'
2860 # in which case we are not to be found in the path.
2861 if test "x$as_myself" = x; then
2862 as_myself=$0
2863 fi
2864 if test ! -f "$as_myself"; then
2865 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2866 exit 1
2867 fi
2868
2869 # Unset variables that we do not need and which cause bugs (e.g. in
2870 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2871 # suppresses any "Segmentation fault" message there. '((' could
2872 # trigger a bug in pdksh 5.2.14.
2873 for as_var in BASH_ENV ENV MAIL MAILPATH
2874 do eval test x\${$as_var+set} = xset \
2875 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2876 done
2877 PS1='$ '
2878 PS2='> '
2879 PS4='+ '
2880
2881 # NLS nuisances.
2882 LC_ALL=C
2883 export LC_ALL
2884 LANGUAGE=C
2885 export LANGUAGE
2886
2887 # CDPATH.
2888 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2889
2890
2891 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
2892 @%:@ ----------------------------------------
2893 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2894 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2895 @%:@ script with STATUS, using 1 if that was 0.
2896 as_fn_error ()
2897 {
2898 as_status=$1; test $as_status -eq 0 && as_status=1
2899 if test "$4"; then
2900 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2901 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2902 fi
2903 $as_echo "$as_me: error: $2" >&2
2904 as_fn_exit $as_status
2905 } @%:@ as_fn_error
2906
2907
2908 @%:@ as_fn_set_status STATUS
2909 @%:@ -----------------------
2910 @%:@ Set @S|@? to STATUS, without forking.
2911 as_fn_set_status ()
2912 {
2913 return $1
2914 } @%:@ as_fn_set_status
2915
2916 @%:@ as_fn_exit STATUS
2917 @%:@ -----------------
2918 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2919 as_fn_exit ()
2920 {
2921 set +e
2922 as_fn_set_status $1
2923 exit $1
2924 } @%:@ as_fn_exit
2925
2926 @%:@ as_fn_unset VAR
2927 @%:@ ---------------
2928 @%:@ Portably unset VAR.
2929 as_fn_unset ()
2930 {
2931 { eval $1=; unset $1;}
2932 }
2933 as_unset=as_fn_unset
2934 @%:@ as_fn_append VAR VALUE
2935 @%:@ ----------------------
2936 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
2937 @%:@ advantage of any shell optimizations that allow amortized linear growth over
2938 @%:@ repeated appends, instead of the typical quadratic growth present in naive
2939 @%:@ implementations.
2940 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2941 eval 'as_fn_append ()
2942 {
2943 eval $1+=\$2
2944 }'
2945 else
2946 as_fn_append ()
2947 {
2948 eval $1=\$$1\$2
2949 }
2950 fi # as_fn_append
2951
2952 @%:@ as_fn_arith ARG...
2953 @%:@ ------------------
2954 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
2955 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
2956 @%:@ must be portable across @S|@(()) and expr.
2957 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2958 eval 'as_fn_arith ()
2959 {
2960 as_val=$(( $* ))
2961 }'
2962 else
2963 as_fn_arith ()
2964 {
2965 as_val=`expr "$@" || test $? -eq 1`
2966 }
2967 fi # as_fn_arith
2968
2969
2970 if expr a : '\(a\)' >/dev/null 2>&1 &&
2971 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2972 as_expr=expr
2973 else
2974 as_expr=false
2975 fi
2976
2977 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2978 as_basename=basename
2979 else
2980 as_basename=false
2981 fi
2982
2983 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2984 as_dirname=dirname
2985 else
2986 as_dirname=false
2987 fi
2988
2989 as_me=`$as_basename -- "$0" ||
2990 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2991 X"$0" : 'X\(//\)$' \| \
2992 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2993 $as_echo X/"$0" |
2994 sed '/^.*\/\([^/][^/]*\)\/*$/{
2995 s//\1/
2996 q
2997 }
2998 /^X\/\(\/\/\)$/{
2999 s//\1/
3000 q
3001 }
3002 /^X\/\(\/\).*/{
3003 s//\1/
3004 q
3005 }
3006 s/.*/./; q'`
3007
3008 # Avoid depending upon Character Ranges.
3009 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3010 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3011 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3012 as_cr_digits='0123456789'
3013 as_cr_alnum=$as_cr_Letters$as_cr_digits
3014
3015 ECHO_C= ECHO_N= ECHO_T=
3016 case `echo -n x` in @%:@(((((
3017 -n*)
3018 case `echo 'xy\c'` in
3019 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3020 xy) ECHO_C='\c';;
3021 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3022 ECHO_T=' ';;
3023 esac;;
3024 *)
3025 ECHO_N='-n';;
3026 esac
3027
3028 rm -f conf$$ conf$$.exe conf$$.file
3029 if test -d conf$$.dir; then
3030 rm -f conf$$.dir/conf$$.file
3031 else
3032 rm -f conf$$.dir
3033 mkdir conf$$.dir 2>/dev/null
3034 fi
3035 if (echo >conf$$.file) 2>/dev/null; then
3036 if ln -s conf$$.file conf$$ 2>/dev/null; then
3037 as_ln_s='ln -s'
3038 # ... but there are two gotchas:
3039 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3040 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3041 # In both cases, we have to default to `cp -pR'.
3042 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3043 as_ln_s='cp -pR'
3044 elif ln conf$$.file conf$$ 2>/dev/null; then
3045 as_ln_s=ln
3046 else
3047 as_ln_s='cp -pR'
3048 fi
3049 else
3050 as_ln_s='cp -pR'
3051 fi
3052 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3053 rmdir conf$$.dir 2>/dev/null
3054
3055
3056 @%:@ as_fn_mkdir_p
3057 @%:@ -------------
3058 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
3059 as_fn_mkdir_p ()
3060 {
3061
3062 case $as_dir in #(
3063 -*) as_dir=./$as_dir;;
3064 esac
3065 test -d "$as_dir" || eval $as_mkdir_p || {
3066 as_dirs=
3067 while :; do
3068 case $as_dir in #(
3069 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3070 *) as_qdir=$as_dir;;
3071 esac
3072 as_dirs="'$as_qdir' $as_dirs"
3073 as_dir=`$as_dirname -- "$as_dir" ||
3074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3075 X"$as_dir" : 'X\(//\)[^/]' \| \
3076 X"$as_dir" : 'X\(//\)$' \| \
3077 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3078 $as_echo X"$as_dir" |
3079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3080 s//\1/
3081 q
3082 }
3083 /^X\(\/\/\)[^/].*/{
3084 s//\1/
3085 q
3086 }
3087 /^X\(\/\/\)$/{
3088 s//\1/
3089 q
3090 }
3091 /^X\(\/\).*/{
3092 s//\1/
3093 q
3094 }
3095 s/.*/./; q'`
3096 test -d "$as_dir" && break
3097 done
3098 test -z "$as_dirs" || eval "mkdir $as_dirs"
3099 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3100
3101
3102 } @%:@ as_fn_mkdir_p
3103 if mkdir -p . 2>/dev/null; then
3104 as_mkdir_p='mkdir -p "$as_dir"'
3105 else
3106 test -d ./-p && rmdir ./-p
3107 as_mkdir_p=false
3108 fi
3109
3110
3111 @%:@ as_fn_executable_p FILE
3112 @%:@ -----------------------
3113 @%:@ Test if FILE is an executable regular file.
3114 as_fn_executable_p ()
3115 {
3116 test -f "$1" && test -x "$1"
3117 } @%:@ as_fn_executable_p
3118 as_test_x='test -x'
3119 as_executable_p=as_fn_executable_p
3120
3121 # Sed expression to map a string onto a valid CPP name.
3122 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3123
3124 # Sed expression to map a string onto a valid variable name.
3125 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3126
3127
3128 exec 6>&1
3129 ## ----------------------------------- ##
3130 ## Main body of $CONFIG_STATUS script. ##
3131 ## ----------------------------------- ##
3132 _ASEOF
3133 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3134
3135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3136 # Save the log message, to keep $0 and so on meaningful, and to
3137 # report actual input values of CONFIG_FILES etc. instead of their
3138 # values after options handling.
3139 ac_log="
3140 This file was extended by ibutils $as_me 1.5.7, which was
3141 generated by GNU Autoconf 2.69. Invocation command line was
3142
3143 CONFIG_FILES = $CONFIG_FILES
3144 CONFIG_HEADERS = $CONFIG_HEADERS
3145 CONFIG_LINKS = $CONFIG_LINKS
3146 CONFIG_COMMANDS = $CONFIG_COMMANDS
3147 $ $0 $@
3148
3149 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3150 "
3151
3152 _ACEOF
3153
3154 case $ac_config_files in *"
3155 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3156 esac
3157
3158
3159
3160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3161 # Files that config.status was made for.
3162 config_files="$ac_config_files"
3163
3164 _ACEOF
3165
3166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3167 ac_cs_usage="\
3168 \`$as_me' instantiates files and other configuration actions
3169 from templates according to the current configuration. Unless the files
3170 and actions are specified as TAGs, all are instantiated by default.
3171
3172 Usage: $0 [OPTION]... [TAG]...
3173
3174 -h, --help print this help, then exit
3175 -V, --version print version number and configuration settings, then exit
3176 --config print configuration, then exit
3177 -q, --quiet, --silent
3178 do not print progress messages
3179 -d, --debug don't remove temporary files
3180 --recheck update $as_me by reconfiguring in the same conditions
3181 --file=FILE[:TEMPLATE]
3182 instantiate the configuration file FILE
3183
3184 Configuration files:
3185 $config_files
3186
3187 Report bugs to <linux-rdma@vger.kernel.org>."
3188
3189 _ACEOF
3190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3191 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3192 ac_cs_version="\\
3193 ibutils config.status 1.5.7
3194 configured by $0, generated by GNU Autoconf 2.69,
3195 with options \\"\$ac_cs_config\\"
3196
3197 Copyright (C) 2012 Free Software Foundation, Inc.
3198 This config.status script is free software; the Free Software Foundation
3199 gives unlimited permission to copy, distribute and modify it."
3200
3201 ac_pwd='$ac_pwd'
3202 srcdir='$srcdir'
3203 INSTALL='$INSTALL'
3204 MKDIR_P='$MKDIR_P'
3205 AWK='$AWK'
3206 test -n "\$AWK" || AWK=awk
3207 _ACEOF
3208
3209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3210 # The default lists apply if the user does not specify any file.
3211 ac_need_defaults=:
3212 while test $# != 0
3213 do
3214 case $1 in
3215 --*=?*)
3216 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3217 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3218 ac_shift=:
3219 ;;
3220 --*=)
3221 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3222 ac_optarg=
3223 ac_shift=:
3224 ;;
3225 *)
3226 ac_option=$1
3227 ac_optarg=$2
3228 ac_shift=shift
3229 ;;
3230 esac
3231
3232 case $ac_option in
3233 # Handling of the options.
3234 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3235 ac_cs_recheck=: ;;
3236 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3237 $as_echo "$ac_cs_version"; exit ;;
3238 --config | --confi | --conf | --con | --co | --c )
3239 $as_echo "$ac_cs_config"; exit ;;
3240 --debug | --debu | --deb | --de | --d | -d )
3241 debug=: ;;
3242 --file | --fil | --fi | --f )
3243 $ac_shift
3244 case $ac_optarg in
3245 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3246 '') as_fn_error $? "missing file argument" ;;
3247 esac
3248 as_fn_append CONFIG_FILES " '$ac_optarg'"
3249 ac_need_defaults=false;;
3250 --he | --h | --help | --hel | -h )
3251 $as_echo "$ac_cs_usage"; exit ;;
3252 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3253 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3254 ac_cs_silent=: ;;
3255
3256 # This is an error.
3257 -*) as_fn_error $? "unrecognized option: \`$1'
3258 Try \`$0 --help' for more information." ;;
3259
3260 *) as_fn_append ac_config_targets " $1"
3261 ac_need_defaults=false ;;
3262
3263 esac
3264 shift
3265 done
3266
3267 ac_configure_extra_args=
3268
3269 if $ac_cs_silent; then
3270 exec 6>/dev/null
3271 ac_configure_extra_args="$ac_configure_extra_args --silent"
3272 fi
3273
3274 _ACEOF
3275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3276 if \$ac_cs_recheck; then
3277 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3278 shift
3279 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3280 CONFIG_SHELL='$SHELL'
3281 export CONFIG_SHELL
3282 exec "\$@"
3283 fi
3284
3285 _ACEOF
3286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3287 exec 5>>config.log
3288 {
3289 echo
3290 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
3291 @%:@@%:@ Running $as_me. @%:@@%:@
3292 _ASBOX
3293 $as_echo "$ac_log"
3294 } >&5
3295
3296 _ACEOF
3297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3298 _ACEOF
3299
3300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3301
3302 # Handling of arguments.
3303 for ac_config_target in $ac_config_targets
3304 do
3305 case $ac_config_target in
3306 "ibutils.spec") CONFIG_FILES="$CONFIG_FILES ibutils.spec" ;;
3307 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3308
3309 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3310 esac
3311 done
3312
3313
3314 # If the user did not use the arguments to specify the items to instantiate,
3315 # then the envvar interface is used. Set only those that are not.
3316 # We use the long form for the default assignment because of an extremely
3317 # bizarre bug on SunOS 4.1.3.
3318 if $ac_need_defaults; then
3319 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3320 fi
3321
3322 # Have a temporary directory for convenience. Make it in the build tree
3323 # simply because there is no reason against having it here, and in addition,
3324 # creating and moving files from /tmp can sometimes cause problems.
3325 # Hook for its removal unless debugging.
3326 # Note that there is a small window in which the directory will not be cleaned:
3327 # after its creation but before its name has been assigned to `$tmp'.
3328 $debug ||
3329 {
3330 tmp= ac_tmp=
3331 trap 'exit_status=$?
3332 : "${ac_tmp:=$tmp}"
3333 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3334 ' 0
3335 trap 'as_fn_exit 1' 1 2 13 15
3336 }
3337 # Create a (secure) tmp directory for tmp files.
3338
3339 {
3340 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3341 test -d "$tmp"
3342 } ||
3343 {
3344 tmp=./conf$$-$RANDOM
3345 (umask 077 && mkdir "$tmp")
3346 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3347 ac_tmp=$tmp
3348
3349 # Set up the scripts for CONFIG_FILES section.
3350 # No need to generate them if there are no CONFIG_FILES.
3351 # This happens for instance with `./config.status config.h'.
3352 if test -n "$CONFIG_FILES"; then
3353
3354
3355 ac_cr=`echo X | tr X '\015'`
3356 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3357 # But we know of no other shell where ac_cr would be empty at this
3358 # point, so we can use a bashism as a fallback.
3359 if test "x$ac_cr" = x; then
3360 eval ac_cr=\$\'\\r\'
3361 fi
3362 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3363 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3364 ac_cs_awk_cr='\\r'
3365 else
3366 ac_cs_awk_cr=$ac_cr
3367 fi
3368
3369 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3370 _ACEOF
3371
3372
3373 {
3374 echo "cat >conf$$subs.awk <<_ACEOF" &&
3375 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3376 echo "_ACEOF"
3377 } >conf$$subs.sh ||
3378 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3379 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3380 ac_delim='%!_!# '
3381 for ac_last_try in false false false false false :; do
3382 . ./conf$$subs.sh ||
3383 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3384
3385 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3386 if test $ac_delim_n = $ac_delim_num; then
3387 break
3388 elif $ac_last_try; then
3389 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3390 else
3391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3392 fi
3393 done
3394 rm -f conf$$subs.sh
3395
3396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3397 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3398 _ACEOF
3399 sed -n '
3400 h
3401 s/^/S["/; s/!.*/"]=/
3402 p
3403 g
3404 s/^[^!]*!//
3405 :repl
3406 t repl
3407 s/'"$ac_delim"'$//
3408 t delim
3409 :nl
3410 h
3411 s/\(.\{148\}\)..*/\1/
3412 t more1
3413 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3414 p
3415 n
3416 b repl
3417 :more1
3418 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3419 p
3420 g
3421 s/.\{148\}//
3422 t nl
3423 :delim
3424 h
3425 s/\(.\{148\}\)..*/\1/
3426 t more2
3427 s/["\\]/\\&/g; s/^/"/; s/$/"/
3428 p
3429 b
3430 :more2
3431 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3432 p
3433 g
3434 s/.\{148\}//
3435 t delim
3436 ' <conf$$subs.awk | sed '
3437 /^[^""]/{
3438 N
3439 s/\n//
3440 }
3441 ' >>$CONFIG_STATUS || ac_write_fail=1
3442 rm -f conf$$subs.awk
3443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3444 _ACAWK
3445 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3446 for (key in S) S_is_set[key] = 1
3447 FS = ""
3448
3449 }
3450 {
3451 line = $ 0
3452 nfields = split(line, field, "@")
3453 substed = 0
3454 len = length(field[1])
3455 for (i = 2; i < nfields; i++) {
3456 key = field[i]
3457 keylen = length(key)
3458 if (S_is_set[key]) {
3459 value = S[key]
3460 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3461 len += length(value) + length(field[++i])
3462 substed = 1
3463 } else
3464 len += 1 + keylen
3465 }
3466
3467 print line
3468 }
3469
3470 _ACAWK
3471 _ACEOF
3472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3473 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3474 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3475 else
3476 cat
3477 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3478 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3479 _ACEOF
3480
3481 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3482 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3483 # trailing colons and then remove the whole line if VPATH becomes empty
3484 # (actually we leave an empty line to preserve line numbers).
3485 if test "x$srcdir" = x.; then
3486 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3487 h
3488 s///
3489 s/^/:/
3490 s/[ ]*$/:/
3491 s/:\$(srcdir):/:/g
3492 s/:\${srcdir}:/:/g
3493 s/:@srcdir@:/:/g
3494 s/^:*//
3495 s/:*$//
3496 x
3497 s/\(=[ ]*\).*/\1/
3498 G
3499 s/\n//
3500 s/^[^=]*=[ ]*$//
3501 }'
3502 fi
3503
3504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3505 fi # test -n "$CONFIG_FILES"
3506
3507
3508 eval set X " :F $CONFIG_FILES "
3509 shift
3510 for ac_tag
3511 do
3512 case $ac_tag in
3513 :[FHLC]) ac_mode=$ac_tag; continue;;
3514 esac
3515 case $ac_mode$ac_tag in
3516 :[FHL]*:*);;
3517 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3518 :[FH]-) ac_tag=-:-;;
3519 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3520 esac
3521 ac_save_IFS=$IFS
3522 IFS=:
3523 set x $ac_tag
3524 IFS=$ac_save_IFS
3525 shift
3526 ac_file=$1
3527 shift
3528
3529 case $ac_mode in
3530 :L) ac_source=$1;;
3531 :[FH])
3532 ac_file_inputs=
3533 for ac_f
3534 do
3535 case $ac_f in
3536 -) ac_f="$ac_tmp/stdin";;
3537 *) # Look for the file first in the build tree, then in the source tree
3538 # (if the path is not absolute). The absolute path cannot be DOS-style,
3539 # because $ac_f cannot contain `:'.
3540 test -f "$ac_f" ||
3541 case $ac_f in
3542 [\\/$]*) false;;
3543 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3544 esac ||
3545 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3546 esac
3547 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3548 as_fn_append ac_file_inputs " '$ac_f'"
3549 done
3550
3551 # Let's still pretend it is `configure' which instantiates (i.e., don't
3552 # use $as_me), people would be surprised to read:
3553 # /* config.h. Generated by config.status. */
3554 configure_input='Generated from '`
3555 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3556 `' by configure.'
3557 if test x"$ac_file" != x-; then
3558 configure_input="$ac_file. $configure_input"
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3560 $as_echo "$as_me: creating $ac_file" >&6;}
3561 fi
3562 # Neutralize special characters interpreted by sed in replacement strings.
3563 case $configure_input in #(
3564 *\&* | *\|* | *\\* )
3565 ac_sed_conf_input=`$as_echo "$configure_input" |
3566 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3567 *) ac_sed_conf_input=$configure_input;;
3568 esac
3569
3570 case $ac_tag in
3571 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3573 esac
3574 ;;
3575 esac
3576
3577 ac_dir=`$as_dirname -- "$ac_file" ||
3578 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3579 X"$ac_file" : 'X\(//\)[^/]' \| \
3580 X"$ac_file" : 'X\(//\)$' \| \
3581 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3582 $as_echo X"$ac_file" |
3583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3584 s//\1/
3585 q
3586 }
3587 /^X\(\/\/\)[^/].*/{
3588 s//\1/
3589 q
3590 }
3591 /^X\(\/\/\)$/{
3592 s//\1/
3593 q
3594 }
3595 /^X\(\/\).*/{
3596 s//\1/
3597 q
3598 }
3599 s/.*/./; q'`
3600 as_dir="$ac_dir"; as_fn_mkdir_p
3601 ac_builddir=.
3602
3603 case "$ac_dir" in
3604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3605 *)
3606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3607 # A ".." for each directory in $ac_dir_suffix.
3608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3609 case $ac_top_builddir_sub in
3610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3612 esac ;;
3613 esac
3614 ac_abs_top_builddir=$ac_pwd
3615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3616 # for backward compatibility:
3617 ac_top_builddir=$ac_top_build_prefix
3618
3619 case $srcdir in
3620 .) # We are building in place.
3621 ac_srcdir=.
3622 ac_top_srcdir=$ac_top_builddir_sub
3623 ac_abs_top_srcdir=$ac_pwd ;;
3624 [\\/]* | ?:[\\/]* ) # Absolute name.
3625 ac_srcdir=$srcdir$ac_dir_suffix;
3626 ac_top_srcdir=$srcdir
3627 ac_abs_top_srcdir=$srcdir ;;
3628 *) # Relative name.
3629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3630 ac_top_srcdir=$ac_top_build_prefix$srcdir
3631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3632 esac
3633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3634
3635
3636 case $ac_mode in
3637 :F)
3638 #
3639 # CONFIG_FILE
3640 #
3641
3642 case $INSTALL in
3643 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3644 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3645 esac
3646 ac_MKDIR_P=$MKDIR_P
3647 case $MKDIR_P in
3648 [\\/$]* | ?:[\\/]* ) ;;
3649 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3650 esac
3651 _ACEOF
3652
3653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3654 # If the template does not know about datarootdir, expand it.
3655 # FIXME: This hack should be removed a few years after 2.60.
3656 ac_datarootdir_hack=; ac_datarootdir_seen=
3657 ac_sed_dataroot='
3658 /datarootdir/ {
3659 p
3660 q
3661 }
3662 /@datadir@/p
3663 /@docdir@/p
3664 /@infodir@/p
3665 /@localedir@/p
3666 /@mandir@/p'
3667 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3668 *datarootdir*) ac_datarootdir_seen=yes;;
3669 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3671 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3672 _ACEOF
3673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3674 ac_datarootdir_hack='
3675 s&@datadir@&$datadir&g
3676 s&@docdir@&$docdir&g
3677 s&@infodir@&$infodir&g
3678 s&@localedir@&$localedir&g
3679 s&@mandir@&$mandir&g
3680 s&\\\${datarootdir}&$datarootdir&g' ;;
3681 esac
3682 _ACEOF
3683
3684 # Neutralize VPATH when `$srcdir' = `.'.
3685 # Shell code in configure.ac might set extrasub.
3686 # FIXME: do we really want to maintain this feature?
3687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3688 ac_sed_extra="$ac_vpsub
3689 $extrasub
3690 _ACEOF
3691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3692 :t
3693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3694 s|@configure_input@|$ac_sed_conf_input|;t t
3695 s&@top_builddir@&$ac_top_builddir_sub&;t t
3696 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3697 s&@srcdir@&$ac_srcdir&;t t
3698 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3699 s&@top_srcdir@&$ac_top_srcdir&;t t
3700 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3701 s&@builddir@&$ac_builddir&;t t
3702 s&@abs_builddir@&$ac_abs_builddir&;t t
3703 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3704 s&@INSTALL@&$ac_INSTALL&;t t
3705 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3706 $ac_datarootdir_hack
3707 "
3708 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3709 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3710
3711 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3712 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3713 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3714 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3716 which seems to be undefined. Please make sure it is defined" >&5
3717 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3718 which seems to be undefined. Please make sure it is defined" >&2;}
3719
3720 rm -f "$ac_tmp/stdin"
3721 case $ac_file in
3722 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3723 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3724 esac \
3725 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3726 ;;
3727
3728
3729
3730 esac
3731
3732 done # for ac_tag
3733
3734
3735 as_fn_exit 0
3736 _ACEOF
3737 ac_clean_files=$ac_clean_files_save
3738
3739 test $ac_write_fail = 0 ||
3740 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3741
3742
3743 # configure is writing to config.log, and then calls config.status.
3744 # config.status does its own redirection, appending to config.log.
3745 # Unfortunately, on DOS this fails, as config.log is still kept open
3746 # by configure, so config.status won't be able to write to it; its
3747 # output is simply discarded. So we exec the FD to /dev/null,
3748 # effectively closing config.log, so it can be properly (re)opened and
3749 # appended to by config.status. When coming back to configure, we
3750 # need to make the FD available again.
3751 if test "$no_create" != yes; then
3752 ac_cs_success=:
3753 ac_config_status_args=
3754 test "$silent" = yes &&
3755 ac_config_status_args="$ac_config_status_args --quiet"
3756 exec 5>/dev/null
3757 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3758 exec 5>>config.log
3759 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3760 # would make configure fail if this is the last instruction.
3761 $ac_cs_success || as_fn_exit 1
3762 fi
3763
3764 #
3765 # CONFIG_SUBDIRS section.
3766 #
3767 if test "$no_recursion" != yes; then
3768
3769 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
3770 # so they do not pile up.
3771 ac_sub_configure_args=
3772 ac_prev=
3773 eval "set x $ac_configure_args"
3774 shift
3775 for ac_arg
3776 do
3777 if test -n "$ac_prev"; then
3778 ac_prev=
3779 continue
3780 fi
3781 case $ac_arg in
3782 -cache-file | --cache-file | --cache-fil | --cache-fi \
3783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3784 ac_prev=cache_file ;;
3785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3787 | --c=*)
3788 ;;
3789 --config-cache | -C)
3790 ;;
3791 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3792 ac_prev=srcdir ;;
3793 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3794 ;;
3795 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3796 ac_prev=prefix ;;
3797 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3798 ;;
3799 --disable-option-checking)
3800 ;;
3801 *)
3802 case $ac_arg in
3803 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3804 esac
3805 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
3806 esac
3807 done
3808
3809 # Always prepend --prefix to ensure using the same prefix
3810 # in subdir configurations.
3811 ac_arg="--prefix=$prefix"
3812 case $ac_arg in
3813 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3814 esac
3815 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3816
3817 # Pass --silent
3818 if test "$silent" = yes; then
3819 ac_sub_configure_args="--silent $ac_sub_configure_args"
3820 fi
3821
3822 # Always prepend --disable-option-checking to silence warnings, since
3823 # different subdirs can have different --enable and --with options.
3824 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
3825
3826 ac_popdir=`pwd`
3827 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3828
3829 # Do not complain, so a configure script can configure whichever
3830 # parts of a large source tree are present.
3831 test -d "$srcdir/$ac_dir" || continue
3832
3833 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3834 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
3835 $as_echo "$ac_msg" >&6
3836 as_dir="$ac_dir"; as_fn_mkdir_p
3837 ac_builddir=.
3838
3839 case "$ac_dir" in
3840 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3841 *)
3842 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3843 # A ".." for each directory in $ac_dir_suffix.
3844 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3845 case $ac_top_builddir_sub in
3846 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3847 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3848 esac ;;
3849 esac
3850 ac_abs_top_builddir=$ac_pwd
3851 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3852 # for backward compatibility:
3853 ac_top_builddir=$ac_top_build_prefix
3854
3855 case $srcdir in
3856 .) # We are building in place.
3857 ac_srcdir=.
3858 ac_top_srcdir=$ac_top_builddir_sub
3859 ac_abs_top_srcdir=$ac_pwd ;;
3860 [\\/]* | ?:[\\/]* ) # Absolute name.
3861 ac_srcdir=$srcdir$ac_dir_suffix;
3862 ac_top_srcdir=$srcdir
3863 ac_abs_top_srcdir=$srcdir ;;
3864 *) # Relative name.
3865 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3866 ac_top_srcdir=$ac_top_build_prefix$srcdir
3867 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3868 esac
3869 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3870
3871
3872 cd "$ac_dir"
3873
3874 # Check for guested configure; otherwise get Cygnus style configure.
3875 if test -f "$ac_srcdir/configure.gnu"; then
3876 ac_sub_configure=$ac_srcdir/configure.gnu
3877 elif test -f "$ac_srcdir/configure"; then
3878 ac_sub_configure=$ac_srcdir/configure
3879 elif test -f "$ac_srcdir/configure.in"; then
3880 # This should be Cygnus configure.
3881 ac_sub_configure=$ac_aux_dir/configure
3882 else
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
3884 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3885 ac_sub_configure=
3886 fi
3887
3888 # The recursion is here.
3889 if test -n "$ac_sub_configure"; then
3890 # Make the cache file name correct relative to the subdirectory.
3891 case $cache_file in
3892 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3893 *) # Relative name.
3894 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3895 esac
3896
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3898 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3899 # The eval makes quoting arguments work.
3900 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3901 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3902 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
3903 fi
3904
3905 cd "$ac_popdir"
3906 done
3907 fi
3908 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3910 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3911 fi
3912
3913
+0
-3914
autom4te.cache/output.1 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.69 for ibutils 1.5.7.
3 @%:@
4 @%:@ Report bugs to <linux-rdma@vger.kernel.org>.
5 @%:@
6 @%:@
7 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8 @%:@
9 @%:@
10 @%:@ This configure script is free software; the Free Software Foundation
11 @%:@ gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 emulate sh
20 NULLCMD=:
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in @%:@(
27 *posix*) :
28 set -o posix ;; @%:@(
29 *) :
30 ;;
31 esac
32 fi
33
34
35 as_nl='
36 '
37 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in @%:@(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
72
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
80 fi
81
82
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
89
90 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
92 case $0 in @%:@((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 # Use a proper internal environment variable to ensure we don't fall
137 # into an infinite loop, continuously re-executing ourselves.
138 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
139 _as_can_reexec=no; export _as_can_reexec;
140 # We cannot yet assume a decent shell, so we have to provide a
141 # neutralization value for shells without unset; and this also
142 # works around shells that cannot unset nonexistent variables.
143 # Preserve -v and -x to the replacement shell.
144 BASH_ENV=/dev/null
145 ENV=/dev/null
146 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 case $- in @%:@ ((((
148 *v*x* | *x*v* ) as_opts=-vx ;;
149 *v* ) as_opts=-v ;;
150 *x* ) as_opts=-x ;;
151 * ) as_opts= ;;
152 esac
153 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154 # Admittedly, this is quite paranoid, since all the known shells bail
155 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
158 fi
159 # We don't want this to propagate to other subprocesses.
160 { _as_can_reexec=; unset _as_can_reexec;}
161 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
163 emulate sh
164 NULLCMD=:
165 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166 # is contrary to our usage. Disable this feature.
167 alias -g '\${1+\"\$@\"}'='\"\$@\"'
168 setopt NO_GLOB_SUBST
169 else
170 case \`(set -o) 2>/dev/null\` in @%:@(
171 *posix*) :
172 set -o posix ;; @%:@(
173 *) :
174 ;;
175 esac
176 fi
177 "
178 as_required="as_fn_return () { (exit \$1); }
179 as_fn_success () { as_fn_return 0; }
180 as_fn_failure () { as_fn_return 1; }
181 as_fn_ret_success () { return 0; }
182 as_fn_ret_failure () { return 1; }
183
184 exitcode=0
185 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191 else
192 exitcode=1; echo positional parameters were not saved.
193 fi
194 test x\$exitcode = x0 || exit 1
195 test -x / || exit 1"
196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
204 fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in @%:@(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
225 fi
226 fi
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in @%:@ ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
258 fi
259
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org and
268 $0: linux-rdma@vger.kernel.org about your system, including
269 $0: any error possibly output before this message. Then
270 $0: install a modern shell, or manually run the script
271 $0: under such a shell if you do have one."
272 fi
273 exit 1
274 fi
275 fi
276 fi
277 SHELL=${CONFIG_SHELL-/bin/sh}
278 export SHELL
279 # Unset more variables known to interfere with behavior of common tools.
280 CLICOLOR_FORCE= GREP_OPTIONS=
281 unset CLICOLOR_FORCE GREP_OPTIONS
282
283 ## --------------------- ##
284 ## M4sh Shell Functions. ##
285 ## --------------------- ##
286 @%:@ as_fn_unset VAR
287 @%:@ ---------------
288 @%:@ Portably unset VAR.
289 as_fn_unset ()
290 {
291 { eval $1=; unset $1;}
292 }
293 as_unset=as_fn_unset
294
295 @%:@ as_fn_set_status STATUS
296 @%:@ -----------------------
297 @%:@ Set @S|@? to STATUS, without forking.
298 as_fn_set_status ()
299 {
300 return $1
301 } @%:@ as_fn_set_status
302
303 @%:@ as_fn_exit STATUS
304 @%:@ -----------------
305 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306 as_fn_exit ()
307 {
308 set +e
309 as_fn_set_status $1
310 exit $1
311 } @%:@ as_fn_exit
312
313 @%:@ as_fn_mkdir_p
314 @%:@ -------------
315 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
316 as_fn_mkdir_p ()
317 {
318
319 case $as_dir in #(
320 -*) as_dir=./$as_dir;;
321 esac
322 test -d "$as_dir" || eval $as_mkdir_p || {
323 as_dirs=
324 while :; do
325 case $as_dir in #(
326 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 *) as_qdir=$as_dir;;
328 esac
329 as_dirs="'$as_qdir' $as_dirs"
330 as_dir=`$as_dirname -- "$as_dir" ||
331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
332 X"$as_dir" : 'X\(//\)[^/]' \| \
333 X"$as_dir" : 'X\(//\)$' \| \
334 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
335 $as_echo X"$as_dir" |
336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
337 s//\1/
338 q
339 }
340 /^X\(\/\/\)[^/].*/{
341 s//\1/
342 q
343 }
344 /^X\(\/\/\)$/{
345 s//\1/
346 q
347 }
348 /^X\(\/\).*/{
349 s//\1/
350 q
351 }
352 s/.*/./; q'`
353 test -d "$as_dir" && break
354 done
355 test -z "$as_dirs" || eval "mkdir $as_dirs"
356 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357
358
359 } @%:@ as_fn_mkdir_p
360
361 @%:@ as_fn_executable_p FILE
362 @%:@ -----------------------
363 @%:@ Test if FILE is an executable regular file.
364 as_fn_executable_p ()
365 {
366 test -f "$1" && test -x "$1"
367 } @%:@ as_fn_executable_p
368 @%:@ as_fn_append VAR VALUE
369 @%:@ ----------------------
370 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
371 @%:@ advantage of any shell optimizations that allow amortized linear growth over
372 @%:@ repeated appends, instead of the typical quadratic growth present in naive
373 @%:@ implementations.
374 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
375 eval 'as_fn_append ()
376 {
377 eval $1+=\$2
378 }'
379 else
380 as_fn_append ()
381 {
382 eval $1=\$$1\$2
383 }
384 fi # as_fn_append
385
386 @%:@ as_fn_arith ARG...
387 @%:@ ------------------
388 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
389 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
390 @%:@ must be portable across @S|@(()) and expr.
391 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
392 eval 'as_fn_arith ()
393 {
394 as_val=$(( $* ))
395 }'
396 else
397 as_fn_arith ()
398 {
399 as_val=`expr "$@" || test $? -eq 1`
400 }
401 fi # as_fn_arith
402
403
404 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
405 @%:@ ----------------------------------------
406 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
407 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
408 @%:@ script with STATUS, using 1 if that was 0.
409 as_fn_error ()
410 {
411 as_status=$1; test $as_status -eq 0 && as_status=1
412 if test "$4"; then
413 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 fi
416 $as_echo "$as_me: error: $2" >&2
417 as_fn_exit $as_status
418 } @%:@ as_fn_error
419
420 if expr a : '\(a\)' >/dev/null 2>&1 &&
421 test "X`expr 00001 : '.*\(...\)'`" = X001; then
422 as_expr=expr
423 else
424 as_expr=false
425 fi
426
427 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
428 as_basename=basename
429 else
430 as_basename=false
431 fi
432
433 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
434 as_dirname=dirname
435 else
436 as_dirname=false
437 fi
438
439 as_me=`$as_basename -- "$0" ||
440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
441 X"$0" : 'X\(//\)$' \| \
442 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 $as_echo X/"$0" |
444 sed '/^.*\/\([^/][^/]*\)\/*$/{
445 s//\1/
446 q
447 }
448 /^X\/\(\/\/\)$/{
449 s//\1/
450 q
451 }
452 /^X\/\(\/\).*/{
453 s//\1/
454 q
455 }
456 s/.*/./; q'`
457
458 # Avoid depending upon Character Ranges.
459 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
460 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
461 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
462 as_cr_digits='0123456789'
463 as_cr_alnum=$as_cr_Letters$as_cr_digits
464
465
466 as_lineno_1=$LINENO as_lineno_1a=$LINENO
467 as_lineno_2=$LINENO as_lineno_2a=$LINENO
468 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
469 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
470 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
471 sed -n '
472 p
473 /[$]LINENO/=
474 ' <$as_myself |
475 sed '
476 s/[$]LINENO.*/&-/
477 t lineno
478 b
479 :lineno
480 N
481 :loop
482 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
483 t loop
484 s/-\n.*//
485 ' >$as_me.lineno &&
486 chmod +x "$as_me.lineno" ||
487 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488
489 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
490 # already done that, so ensure we don't try to do so again and fall
491 # in an infinite loop. This has already happened in practice.
492 _as_can_reexec=no; export _as_can_reexec
493 # Don't try to exec as it changes $[0], causing all sort of problems
494 # (the dirname of $[0] is not the place where we might find the
495 # original and so on. Autoconf is especially sensitive to this).
496 . "./$as_me.lineno"
497 # Exit status is that of the last command.
498 exit
499 }
500
501 ECHO_C= ECHO_N= ECHO_T=
502 case `echo -n x` in @%:@(((((
503 -n*)
504 case `echo 'xy\c'` in
505 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 xy) ECHO_C='\c';;
507 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
508 ECHO_T=' ';;
509 esac;;
510 *)
511 ECHO_N='-n';;
512 esac
513
514 rm -f conf$$ conf$$.exe conf$$.file
515 if test -d conf$$.dir; then
516 rm -f conf$$.dir/conf$$.file
517 else
518 rm -f conf$$.dir
519 mkdir conf$$.dir 2>/dev/null
520 fi
521 if (echo >conf$$.file) 2>/dev/null; then
522 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 as_ln_s='ln -s'
524 # ... but there are two gotchas:
525 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
526 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
527 # In both cases, we have to default to `cp -pR'.
528 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 as_ln_s='cp -pR'
530 elif ln conf$$.file conf$$ 2>/dev/null; then
531 as_ln_s=ln
532 else
533 as_ln_s='cp -pR'
534 fi
535 else
536 as_ln_s='cp -pR'
537 fi
538 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
539 rmdir conf$$.dir 2>/dev/null
540
541 if mkdir -p . 2>/dev/null; then
542 as_mkdir_p='mkdir -p "$as_dir"'
543 else
544 test -d ./-p && rmdir ./-p
545 as_mkdir_p=false
546 fi
547
548 as_test_x='test -x'
549 as_executable_p=as_fn_executable_p
550
551 # Sed expression to map a string onto a valid CPP name.
552 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553
554 # Sed expression to map a string onto a valid variable name.
555 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556
557
558 test -n "$DJDIR" || exec 7<&0 </dev/null
559 exec 6>&1
560
561 # Name of the host.
562 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
563 # so uname gets run too.
564 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565
566 #
567 # Initializations.
568 #
569 ac_default_prefix=/usr/local
570 ac_clean_files=
571 ac_config_libobj_dir=.
572 LIB@&t@OBJS=
573 cross_compiling=no
574 subdirs=
575 MFLAGS=
576 MAKEFLAGS=
577
578 # Identity of this package.
579 PACKAGE_NAME='ibutils'
580 PACKAGE_TARNAME='ibutils'
581 PACKAGE_VERSION='1.5.7'
582 PACKAGE_STRING='ibutils 1.5.7'
583 PACKAGE_BUGREPORT='linux-rdma@vger.kernel.org'
584 PACKAGE_URL=''
585
586 enable_option_checking=no
587 ac_subst_vars='LTLIBOBJS
588 LIB@&t@OBJS
589 BUILD_IBMGTSIM_FALSE
590 BUILD_IBMGTSIM_TRUE
591 subdirs
592 OSM_BUILD
593 OSM_VENDOR
594 OSM_LDFLAGS
595 OSM_CFLAGS
596 with_osm
597 OSM_BUILD_OPENIB_FALSE
598 OSM_BUILD_OPENIB_TRUE
599 OSM_VENDOR_SIM_FALSE
600 OSM_VENDOR_SIM_TRUE
601 OSM_VENDOR_MTL_FALSE
602 OSM_VENDOR_MTL_TRUE
603 OSM_VENDOR_TS_FALSE
604 OSM_VENDOR_TS_TRUE
605 MAINT
606 MAINTAINER_MODE_FALSE
607 MAINTAINER_MODE_TRUE
608 am__untar
609 am__tar
610 AMTAR
611 am__leading_dot
612 SET_MAKE
613 AWK
614 mkdir_p
615 MKDIR_P
616 INSTALL_STRIP_PROGRAM
617 STRIP
618 install_sh
619 MAKEINFO
620 AUTOHEADER
621 AUTOMAKE
622 AUTOCONF
623 ACLOCAL
624 VERSION
625 PACKAGE
626 CYGPATH_W
627 am__isrc
628 INSTALL_DATA
629 INSTALL_SCRIPT
630 INSTALL_PROGRAM
631 target_alias
632 host_alias
633 build_alias
634 LIBS
635 ECHO_T
636 ECHO_N
637 ECHO_C
638 DEFS
639 mandir
640 localedir
641 libdir
642 psdir
643 pdfdir
644 dvidir
645 htmldir
646 infodir
647 docdir
648 oldincludedir
649 includedir
650 localstatedir
651 sharedstatedir
652 sysconfdir
653 datadir
654 datarootdir
655 libexecdir
656 sbindir
657 bindir
658 program_transform_name
659 prefix
660 exec_prefix
661 PACKAGE_URL
662 PACKAGE_BUGREPORT
663 PACKAGE_STRING
664 PACKAGE_VERSION
665 PACKAGE_TARNAME
666 PACKAGE_NAME
667 PATH_SEPARATOR
668 SHELL'
669 ac_subst_files=''
670 ac_user_opts='
671 enable_option_checking
672 enable_maintainer_mode
673 enable_debug
674 enable_libcheck
675 with_osm
676 with_osm_libs
677 enable_ibmgtsim
678 '
679 ac_precious_vars='build_alias
680 host_alias
681 target_alias'
682 ac_subdirs_all='ibis ibdm ibdiag
683 ibmgtsim'
684
685 # Initialize some variables set by options.
686 ac_init_help=
687 ac_init_version=false
688 ac_unrecognized_opts=
689 ac_unrecognized_sep=
690 # The variables have the same names as the options, with
691 # dashes changed to underlines.
692 cache_file=/dev/null
693 exec_prefix=NONE
694 no_create=
695 no_recursion=
696 prefix=NONE
697 program_prefix=NONE
698 program_suffix=NONE
699 program_transform_name=s,x,x,
700 silent=
701 site=
702 srcdir=
703 verbose=
704 x_includes=NONE
705 x_libraries=NONE
706
707 # Installation directory options.
708 # These are left unexpanded so users can "make install exec_prefix=/foo"
709 # and all the variables that are supposed to be based on exec_prefix
710 # by default will actually change.
711 # Use braces instead of parens because sh, perl, etc. also accept them.
712 # (The list follows the same order as the GNU Coding Standards.)
713 bindir='${exec_prefix}/bin'
714 sbindir='${exec_prefix}/sbin'
715 libexecdir='${exec_prefix}/libexec'
716 datarootdir='${prefix}/share'
717 datadir='${datarootdir}'
718 sysconfdir='${prefix}/etc'
719 sharedstatedir='${prefix}/com'
720 localstatedir='${prefix}/var'
721 includedir='${prefix}/include'
722 oldincludedir='/usr/include'
723 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
724 infodir='${datarootdir}/info'
725 htmldir='${docdir}'
726 dvidir='${docdir}'
727 pdfdir='${docdir}'
728 psdir='${docdir}'
729 libdir='${exec_prefix}/lib'
730 localedir='${datarootdir}/locale'
731 mandir='${datarootdir}/man'
732
733 ac_prev=
734 ac_dashdash=
735 for ac_option
736 do
737 # If the previous option needs an argument, assign it.
738 if test -n "$ac_prev"; then
739 eval $ac_prev=\$ac_option
740 ac_prev=
741 continue
742 fi
743
744 case $ac_option in
745 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746 *=) ac_optarg= ;;
747 *) ac_optarg=yes ;;
748 esac
749
750 # Accept the important Cygnus configure options, so we can diagnose typos.
751
752 case $ac_dashdash$ac_option in
753 --)
754 ac_dashdash=yes ;;
755
756 -bindir | --bindir | --bindi | --bind | --bin | --bi)
757 ac_prev=bindir ;;
758 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
759 bindir=$ac_optarg ;;
760
761 -build | --build | --buil | --bui | --bu)
762 ac_prev=build_alias ;;
763 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
764 build_alias=$ac_optarg ;;
765
766 -cache-file | --cache-file | --cache-fil | --cache-fi \
767 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
768 ac_prev=cache_file ;;
769 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
770 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
771 cache_file=$ac_optarg ;;
772
773 --config-cache | -C)
774 cache_file=config.cache ;;
775
776 -datadir | --datadir | --datadi | --datad)
777 ac_prev=datadir ;;
778 -datadir=* | --datadir=* | --datadi=* | --datad=*)
779 datadir=$ac_optarg ;;
780
781 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
782 | --dataroo | --dataro | --datar)
783 ac_prev=datarootdir ;;
784 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
785 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
786 datarootdir=$ac_optarg ;;
787
788 -disable-* | --disable-*)
789 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
792 as_fn_error $? "invalid feature name: $ac_useropt"
793 ac_useropt_orig=$ac_useropt
794 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
795 case $ac_user_opts in
796 *"
797 "enable_$ac_useropt"
798 "*) ;;
799 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
800 ac_unrecognized_sep=', ';;
801 esac
802 eval enable_$ac_useropt=no ;;
803
804 -docdir | --docdir | --docdi | --doc | --do)
805 ac_prev=docdir ;;
806 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
807 docdir=$ac_optarg ;;
808
809 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
810 ac_prev=dvidir ;;
811 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
812 dvidir=$ac_optarg ;;
813
814 -enable-* | --enable-*)
815 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
816 # Reject names that are not valid shell variable names.
817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
818 as_fn_error $? "invalid feature name: $ac_useropt"
819 ac_useropt_orig=$ac_useropt
820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
821 case $ac_user_opts in
822 *"
823 "enable_$ac_useropt"
824 "*) ;;
825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
826 ac_unrecognized_sep=', ';;
827 esac
828 eval enable_$ac_useropt=\$ac_optarg ;;
829
830 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
831 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
832 | --exec | --exe | --ex)
833 ac_prev=exec_prefix ;;
834 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
835 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
836 | --exec=* | --exe=* | --ex=*)
837 exec_prefix=$ac_optarg ;;
838
839 -gas | --gas | --ga | --g)
840 # Obsolete; use --with-gas.
841 with_gas=yes ;;
842
843 -help | --help | --hel | --he | -h)
844 ac_init_help=long ;;
845 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
846 ac_init_help=recursive ;;
847 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
848 ac_init_help=short ;;
849
850 -host | --host | --hos | --ho)
851 ac_prev=host_alias ;;
852 -host=* | --host=* | --hos=* | --ho=*)
853 host_alias=$ac_optarg ;;
854
855 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
856 ac_prev=htmldir ;;
857 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
858 | --ht=*)
859 htmldir=$ac_optarg ;;
860
861 -includedir | --includedir | --includedi | --included | --include \
862 | --includ | --inclu | --incl | --inc)
863 ac_prev=includedir ;;
864 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
865 | --includ=* | --inclu=* | --incl=* | --inc=*)
866 includedir=$ac_optarg ;;
867
868 -infodir | --infodir | --infodi | --infod | --info | --inf)
869 ac_prev=infodir ;;
870 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
871 infodir=$ac_optarg ;;
872
873 -libdir | --libdir | --libdi | --libd)
874 ac_prev=libdir ;;
875 -libdir=* | --libdir=* | --libdi=* | --libd=*)
876 libdir=$ac_optarg ;;
877
878 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
879 | --libexe | --libex | --libe)
880 ac_prev=libexecdir ;;
881 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
882 | --libexe=* | --libex=* | --libe=*)
883 libexecdir=$ac_optarg ;;
884
885 -localedir | --localedir | --localedi | --localed | --locale)
886 ac_prev=localedir ;;
887 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
888 localedir=$ac_optarg ;;
889
890 -localstatedir | --localstatedir | --localstatedi | --localstated \
891 | --localstate | --localstat | --localsta | --localst | --locals)
892 ac_prev=localstatedir ;;
893 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
894 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
895 localstatedir=$ac_optarg ;;
896
897 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
898 ac_prev=mandir ;;
899 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
900 mandir=$ac_optarg ;;
901
902 -nfp | --nfp | --nf)
903 # Obsolete; use --without-fp.
904 with_fp=no ;;
905
906 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
907 | --no-cr | --no-c | -n)
908 no_create=yes ;;
909
910 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
911 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
912 no_recursion=yes ;;
913
914 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
915 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
916 | --oldin | --oldi | --old | --ol | --o)
917 ac_prev=oldincludedir ;;
918 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
919 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
920 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
921 oldincludedir=$ac_optarg ;;
922
923 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
924 ac_prev=prefix ;;
925 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
926 prefix=$ac_optarg ;;
927
928 -program-prefix | --program-prefix | --program-prefi | --program-pref \
929 | --program-pre | --program-pr | --program-p)
930 ac_prev=program_prefix ;;
931 -program-prefix=* | --program-prefix=* | --program-prefi=* \
932 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
933 program_prefix=$ac_optarg ;;
934
935 -program-suffix | --program-suffix | --program-suffi | --program-suff \
936 | --program-suf | --program-su | --program-s)
937 ac_prev=program_suffix ;;
938 -program-suffix=* | --program-suffix=* | --program-suffi=* \
939 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
940 program_suffix=$ac_optarg ;;
941
942 -program-transform-name | --program-transform-name \
943 | --program-transform-nam | --program-transform-na \
944 | --program-transform-n | --program-transform- \
945 | --program-transform | --program-transfor \
946 | --program-transfo | --program-transf \
947 | --program-trans | --program-tran \
948 | --progr-tra | --program-tr | --program-t)
949 ac_prev=program_transform_name ;;
950 -program-transform-name=* | --program-transform-name=* \
951 | --program-transform-nam=* | --program-transform-na=* \
952 | --program-transform-n=* | --program-transform-=* \
953 | --program-transform=* | --program-transfor=* \
954 | --program-transfo=* | --program-transf=* \
955 | --program-trans=* | --program-tran=* \
956 | --progr-tra=* | --program-tr=* | --program-t=*)
957 program_transform_name=$ac_optarg ;;
958
959 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
960 ac_prev=pdfdir ;;
961 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
962 pdfdir=$ac_optarg ;;
963
964 -psdir | --psdir | --psdi | --psd | --ps)
965 ac_prev=psdir ;;
966 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
967 psdir=$ac_optarg ;;
968
969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
970 | -silent | --silent | --silen | --sile | --sil)
971 silent=yes ;;
972
973 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
974 ac_prev=sbindir ;;
975 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
976 | --sbi=* | --sb=*)
977 sbindir=$ac_optarg ;;
978
979 -sharedstatedir | --sharedstatedir | --sharedstatedi \
980 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
981 | --sharedst | --shareds | --shared | --share | --shar \
982 | --sha | --sh)
983 ac_prev=sharedstatedir ;;
984 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
985 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
986 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
987 | --sha=* | --sh=*)
988 sharedstatedir=$ac_optarg ;;
989
990 -site | --site | --sit)
991 ac_prev=site ;;
992 -site=* | --site=* | --sit=*)
993 site=$ac_optarg ;;
994
995 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
996 ac_prev=srcdir ;;
997 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
998 srcdir=$ac_optarg ;;
999
1000 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1001 | --syscon | --sysco | --sysc | --sys | --sy)
1002 ac_prev=sysconfdir ;;
1003 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1004 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1005 sysconfdir=$ac_optarg ;;
1006
1007 -target | --target | --targe | --targ | --tar | --ta | --t)
1008 ac_prev=target_alias ;;
1009 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1010 target_alias=$ac_optarg ;;
1011
1012 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1013 verbose=yes ;;
1014
1015 -version | --version | --versio | --versi | --vers | -V)
1016 ac_init_version=: ;;
1017
1018 -with-* | --with-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error $? "invalid package name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1026 *"
1027 "with_$ac_useropt"
1028 "*) ;;
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1031 esac
1032 eval with_$ac_useropt=\$ac_optarg ;;
1033
1034 -without-* | --without-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error $? "invalid package name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1042 *"
1043 "with_$ac_useropt"
1044 "*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval with_$ac_useropt=no ;;
1049
1050 --x)
1051 # Obsolete; use --with-x.
1052 with_x=yes ;;
1053
1054 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1055 | --x-incl | --x-inc | --x-in | --x-i)
1056 ac_prev=x_includes ;;
1057 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1058 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1059 x_includes=$ac_optarg ;;
1060
1061 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1062 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1063 ac_prev=x_libraries ;;
1064 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1065 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1066 x_libraries=$ac_optarg ;;
1067
1068 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1069 Try \`$0 --help' for more information"
1070 ;;
1071
1072 *=*)
1073 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1074 # Reject names that are not valid shell variable names.
1075 case $ac_envvar in #(
1076 '' | [0-9]* | *[!_$as_cr_alnum]* )
1077 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1078 esac
1079 eval $ac_envvar=\$ac_optarg
1080 export $ac_envvar ;;
1081
1082 *)
1083 # FIXME: should be removed in autoconf 3.0.
1084 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1085 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1086 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1087 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1088 ;;
1089
1090 esac
1091 done
1092
1093 if test -n "$ac_prev"; then
1094 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1095 as_fn_error $? "missing argument to $ac_option"
1096 fi
1097
1098 if test -n "$ac_unrecognized_opts"; then
1099 case $enable_option_checking in
1100 no) ;;
1101 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1102 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1103 esac
1104 fi
1105
1106 # Check all directory arguments for consistency.
1107 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1108 datadir sysconfdir sharedstatedir localstatedir includedir \
1109 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1110 libdir localedir mandir
1111 do
1112 eval ac_val=\$$ac_var
1113 # Remove trailing slashes.
1114 case $ac_val in
1115 */ )
1116 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1117 eval $ac_var=\$ac_val;;
1118 esac
1119 # Be sure to have absolute directory names.
1120 case $ac_val in
1121 [\\/$]* | ?:[\\/]* ) continue;;
1122 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1123 esac
1124 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1125 done
1126
1127 # There might be people who depend on the old broken behavior: `$host'
1128 # used to hold the argument of --host etc.
1129 # FIXME: To remove some day.
1130 build=$build_alias
1131 host=$host_alias
1132 target=$target_alias
1133
1134 # FIXME: To remove some day.
1135 if test "x$host_alias" != x; then
1136 if test "x$build_alias" = x; then
1137 cross_compiling=maybe
1138 elif test "x$build_alias" != "x$host_alias"; then
1139 cross_compiling=yes
1140 fi
1141 fi
1142
1143 ac_tool_prefix=
1144 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1145
1146 test "$silent" = yes && exec 6>/dev/null
1147
1148
1149 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1150 ac_ls_di=`ls -di .` &&
1151 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1152 as_fn_error $? "working directory cannot be determined"
1153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1154 as_fn_error $? "pwd does not report name of working directory"
1155
1156
1157 # Find the source files, if location was not specified.
1158 if test -z "$srcdir"; then
1159 ac_srcdir_defaulted=yes
1160 # Try the directory containing this script, then the parent directory.
1161 ac_confdir=`$as_dirname -- "$as_myself" ||
1162 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1163 X"$as_myself" : 'X\(//\)[^/]' \| \
1164 X"$as_myself" : 'X\(//\)$' \| \
1165 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1166 $as_echo X"$as_myself" |
1167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1168 s//\1/
1169 q
1170 }
1171 /^X\(\/\/\)[^/].*/{
1172 s//\1/
1173 q
1174 }
1175 /^X\(\/\/\)$/{
1176 s//\1/
1177 q
1178 }
1179 /^X\(\/\).*/{
1180 s//\1/
1181 q
1182 }
1183 s/.*/./; q'`
1184 srcdir=$ac_confdir
1185 if test ! -r "$srcdir/$ac_unique_file"; then
1186 srcdir=..
1187 fi
1188 else
1189 ac_srcdir_defaulted=no
1190 fi
1191 if test ! -r "$srcdir/$ac_unique_file"; then
1192 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1193 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1194 fi
1195 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1196 ac_abs_confdir=`(
1197 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1198 pwd)`
1199 # When building in place, set srcdir=.
1200 if test "$ac_abs_confdir" = "$ac_pwd"; then
1201 srcdir=.
1202 fi
1203 # Remove unnecessary trailing slashes from srcdir.
1204 # Double slashes in file names in object file debugging info
1205 # mess up M-x gdb in Emacs.
1206 case $srcdir in
1207 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1208 esac
1209 for ac_var in $ac_precious_vars; do
1210 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1211 eval ac_env_${ac_var}_value=\$${ac_var}
1212 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1213 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1214 done
1215
1216 #
1217 # Report the --help message.
1218 #
1219 if test "$ac_init_help" = "long"; then
1220 # Omit some internal or obsolete options to make the list less imposing.
1221 # This message is too long to be a string in the A/UX 3.1 sh.
1222 cat <<_ACEOF
1223 \`configure' configures ibutils 1.5.7 to adapt to many kinds of systems.
1224
1225 Usage: $0 [OPTION]... [VAR=VALUE]...
1226
1227 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1228 VAR=VALUE. See below for descriptions of some of the useful variables.
1229
1230 Defaults for the options are specified in brackets.
1231
1232 Configuration:
1233 -h, --help display this help and exit
1234 --help=short display options specific to this package
1235 --help=recursive display the short help of all the included packages
1236 -V, --version display version information and exit
1237 -q, --quiet, --silent do not print \`checking ...' messages
1238 --cache-file=FILE cache test results in FILE [disabled]
1239 -C, --config-cache alias for \`--cache-file=config.cache'
1240 -n, --no-create do not create output files
1241 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1242
1243 Installation directories:
1244 --prefix=PREFIX install architecture-independent files in PREFIX
1245 @<:@@S|@ac_default_prefix@:>@
1246 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1247 @<:@PREFIX@:>@
1248
1249 By default, \`make install' will install all the files in
1250 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1251 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1252 for instance \`--prefix=\$HOME'.
1253
1254 For better control, use the options below.
1255
1256 Fine tuning of the installation directories:
1257 --bindir=DIR user executables [EPREFIX/bin]
1258 --sbindir=DIR system admin executables [EPREFIX/sbin]
1259 --libexecdir=DIR program executables [EPREFIX/libexec]
1260 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1261 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1262 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1263 --libdir=DIR object code libraries [EPREFIX/lib]
1264 --includedir=DIR C header files [PREFIX/include]
1265 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1266 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1267 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1268 --infodir=DIR info documentation [DATAROOTDIR/info]
1269 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1270 --mandir=DIR man documentation [DATAROOTDIR/man]
1271 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ibutils@:>@
1272 --htmldir=DIR html documentation [DOCDIR]
1273 --dvidir=DIR dvi documentation [DOCDIR]
1274 --pdfdir=DIR pdf documentation [DOCDIR]
1275 --psdir=DIR ps documentation [DOCDIR]
1276 _ACEOF
1277
1278 cat <<\_ACEOF
1279
1280 Program names:
1281 --program-prefix=PREFIX prepend PREFIX to installed program names
1282 --program-suffix=SUFFIX append SUFFIX to installed program names
1283 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1284 _ACEOF
1285 fi
1286
1287 if test -n "$ac_init_help"; then
1288 case $ac_init_help in
1289 short | recursive ) echo "Configuration of ibutils 1.5.7:";;
1290 esac
1291 cat <<\_ACEOF
1292
1293 Optional Features:
1294 --disable-option-checking ignore unrecognized --enable/--with options
1295 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1296 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1297 --enable-maintainer-mode enable make rules and dependencies not useful
1298 (and sometimes confusing) to the casual installer
1299 --enable-debug Turn on debugging
1300 --enable-libcheck Enable Dependency Checking
1301 --enable-ibmgtsim Build ibmgtsim
1302
1303 Optional Packages:
1304 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1305 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1306 --with-osm=<dir> define OSM prefix
1307 --with-osm-libs=<dir> define where to find OSM libs
1308
1309 Report bugs to <linux-rdma@vger.kernel.org>.
1310 _ACEOF
1311 ac_status=$?
1312 fi
1313
1314 if test "$ac_init_help" = "recursive"; then
1315 # If there are subdirs, report their specific --help.
1316 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1317 test -d "$ac_dir" ||
1318 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1319 continue
1320 ac_builddir=.
1321
1322 case "$ac_dir" in
1323 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324 *)
1325 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1326 # A ".." for each directory in $ac_dir_suffix.
1327 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1328 case $ac_top_builddir_sub in
1329 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1331 esac ;;
1332 esac
1333 ac_abs_top_builddir=$ac_pwd
1334 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1335 # for backward compatibility:
1336 ac_top_builddir=$ac_top_build_prefix
1337
1338 case $srcdir in
1339 .) # We are building in place.
1340 ac_srcdir=.
1341 ac_top_srcdir=$ac_top_builddir_sub
1342 ac_abs_top_srcdir=$ac_pwd ;;
1343 [\\/]* | ?:[\\/]* ) # Absolute name.
1344 ac_srcdir=$srcdir$ac_dir_suffix;
1345 ac_top_srcdir=$srcdir
1346 ac_abs_top_srcdir=$srcdir ;;
1347 *) # Relative name.
1348 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1349 ac_top_srcdir=$ac_top_build_prefix$srcdir
1350 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1351 esac
1352 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1353
1354 cd "$ac_dir" || { ac_status=$?; continue; }
1355 # Check for guested configure.
1356 if test -f "$ac_srcdir/configure.gnu"; then
1357 echo &&
1358 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1359 elif test -f "$ac_srcdir/configure"; then
1360 echo &&
1361 $SHELL "$ac_srcdir/configure" --help=recursive
1362 else
1363 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1364 fi || ac_status=$?
1365 cd "$ac_pwd" || { ac_status=$?; break; }
1366 done
1367 fi
1368
1369 test -n "$ac_init_help" && exit $ac_status
1370 if $ac_init_version; then
1371 cat <<\_ACEOF
1372 ibutils configure 1.5.7
1373 generated by GNU Autoconf 2.69
1374
1375 Copyright (C) 2012 Free Software Foundation, Inc.
1376 This configure script is free software; the Free Software Foundation
1377 gives unlimited permission to copy, distribute and modify it.
1378 _ACEOF
1379 exit
1380 fi
1381
1382 ## ------------------------ ##
1383 ## Autoconf initialization. ##
1384 ## ------------------------ ##
1385 cat >config.log <<_ACEOF
1386 This file contains any messages produced by compilers while
1387 running configure, to aid debugging if configure makes a mistake.
1388
1389 It was created by ibutils $as_me 1.5.7, which was
1390 generated by GNU Autoconf 2.69. Invocation command line was
1391
1392 $ $0 $@
1393
1394 _ACEOF
1395 exec 5>>config.log
1396 {
1397 cat <<_ASUNAME
1398 ## --------- ##
1399 ## Platform. ##
1400 ## --------- ##
1401
1402 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1403 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1404 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1405 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1406 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1407
1408 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1409 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1410
1411 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1412 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1413 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1414 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1415 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1416 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1417 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1418
1419 _ASUNAME
1420
1421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 for as_dir in $PATH
1423 do
1424 IFS=$as_save_IFS
1425 test -z "$as_dir" && as_dir=.
1426 $as_echo "PATH: $as_dir"
1427 done
1428 IFS=$as_save_IFS
1429
1430 } >&5
1431
1432 cat >&5 <<_ACEOF
1433
1434
1435 ## ----------- ##
1436 ## Core tests. ##
1437 ## ----------- ##
1438
1439 _ACEOF
1440
1441
1442 # Keep a trace of the command line.
1443 # Strip out --no-create and --no-recursion so they do not pile up.
1444 # Strip out --silent because we don't want to record it for future runs.
1445 # Also quote any args containing shell meta-characters.
1446 # Make two passes to allow for proper duplicate-argument suppression.
1447 ac_configure_args=
1448 ac_configure_args0=
1449 ac_configure_args1=
1450 ac_must_keep_next=false
1451 for ac_pass in 1 2
1452 do
1453 for ac_arg
1454 do
1455 case $ac_arg in
1456 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1457 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1458 | -silent | --silent | --silen | --sile | --sil)
1459 continue ;;
1460 *\'*)
1461 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1462 esac
1463 case $ac_pass in
1464 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1465 2)
1466 as_fn_append ac_configure_args1 " '$ac_arg'"
1467 if test $ac_must_keep_next = true; then
1468 ac_must_keep_next=false # Got value, back to normal.
1469 else
1470 case $ac_arg in
1471 *=* | --config-cache | -C | -disable-* | --disable-* \
1472 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1473 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1474 | -with-* | --with-* | -without-* | --without-* | --x)
1475 case "$ac_configure_args0 " in
1476 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1477 esac
1478 ;;
1479 -* ) ac_must_keep_next=true ;;
1480 esac
1481 fi
1482 as_fn_append ac_configure_args " '$ac_arg'"
1483 ;;
1484 esac
1485 done
1486 done
1487 { ac_configure_args0=; unset ac_configure_args0;}
1488 { ac_configure_args1=; unset ac_configure_args1;}
1489
1490 # When interrupted or exit'd, cleanup temporary files, and complete
1491 # config.log. We remove comments because anyway the quotes in there
1492 # would cause problems or look ugly.
1493 # WARNING: Use '\'' to represent an apostrophe within the trap.
1494 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1495 trap 'exit_status=$?
1496 # Save into config.log some information that might help in debugging.
1497 {
1498 echo
1499
1500 $as_echo "## ---------------- ##
1501 ## Cache variables. ##
1502 ## ---------------- ##"
1503 echo
1504 # The following way of writing the cache mishandles newlines in values,
1505 (
1506 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1507 eval ac_val=\$$ac_var
1508 case $ac_val in #(
1509 *${as_nl}*)
1510 case $ac_var in #(
1511 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1512 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1513 esac
1514 case $ac_var in #(
1515 _ | IFS | as_nl) ;; #(
1516 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1517 *) { eval $ac_var=; unset $ac_var;} ;;
1518 esac ;;
1519 esac
1520 done
1521 (set) 2>&1 |
1522 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1523 *${as_nl}ac_space=\ *)
1524 sed -n \
1525 "s/'\''/'\''\\\\'\'''\''/g;
1526 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1527 ;; #(
1528 *)
1529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1530 ;;
1531 esac |
1532 sort
1533 )
1534 echo
1535
1536 $as_echo "## ----------------- ##
1537 ## Output variables. ##
1538 ## ----------------- ##"
1539 echo
1540 for ac_var in $ac_subst_vars
1541 do
1542 eval ac_val=\$$ac_var
1543 case $ac_val in
1544 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545 esac
1546 $as_echo "$ac_var='\''$ac_val'\''"
1547 done | sort
1548 echo
1549
1550 if test -n "$ac_subst_files"; then
1551 $as_echo "## ------------------- ##
1552 ## File substitutions. ##
1553 ## ------------------- ##"
1554 echo
1555 for ac_var in $ac_subst_files
1556 do
1557 eval ac_val=\$$ac_var
1558 case $ac_val in
1559 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1560 esac
1561 $as_echo "$ac_var='\''$ac_val'\''"
1562 done | sort
1563 echo
1564 fi
1565
1566 if test -s confdefs.h; then
1567 $as_echo "## ----------- ##
1568 ## confdefs.h. ##
1569 ## ----------- ##"
1570 echo
1571 cat confdefs.h
1572 echo
1573 fi
1574 test "$ac_signal" != 0 &&
1575 $as_echo "$as_me: caught signal $ac_signal"
1576 $as_echo "$as_me: exit $exit_status"
1577 } >&5
1578 rm -f core *.core core.conftest.* &&
1579 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1580 exit $exit_status
1581 ' 0
1582 for ac_signal in 1 2 13 15; do
1583 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1584 done
1585 ac_signal=0
1586
1587 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1588 rm -f -r conftest* confdefs.h
1589
1590 $as_echo "/* confdefs.h */" > confdefs.h
1591
1592 # Predefined preprocessor variables.
1593
1594 cat >>confdefs.h <<_ACEOF
1595 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1596 _ACEOF
1597
1598 cat >>confdefs.h <<_ACEOF
1599 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1600 _ACEOF
1601
1602 cat >>confdefs.h <<_ACEOF
1603 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1604 _ACEOF
1605
1606 cat >>confdefs.h <<_ACEOF
1607 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1608 _ACEOF
1609
1610 cat >>confdefs.h <<_ACEOF
1611 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1612 _ACEOF
1613
1614 cat >>confdefs.h <<_ACEOF
1615 @%:@define PACKAGE_URL "$PACKAGE_URL"
1616 _ACEOF
1617
1618
1619 # Let the site file select an alternate cache file if it wants to.
1620 # Prefer an explicitly selected file to automatically selected ones.
1621 ac_site_file1=NONE
1622 ac_site_file2=NONE
1623 if test -n "$CONFIG_SITE"; then
1624 # We do not want a PATH search for config.site.
1625 case $CONFIG_SITE in @%:@((
1626 -*) ac_site_file1=./$CONFIG_SITE;;
1627 */*) ac_site_file1=$CONFIG_SITE;;
1628 *) ac_site_file1=./$CONFIG_SITE;;
1629 esac
1630 elif test "x$prefix" != xNONE; then
1631 ac_site_file1=$prefix/share/config.site
1632 ac_site_file2=$prefix/etc/config.site
1633 else
1634 ac_site_file1=$ac_default_prefix/share/config.site
1635 ac_site_file2=$ac_default_prefix/etc/config.site
1636 fi
1637 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1638 do
1639 test "x$ac_site_file" = xNONE && continue
1640 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1642 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1643 sed 's/^/| /' "$ac_site_file" >&5
1644 . "$ac_site_file" \
1645 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1647 as_fn_error $? "failed to load site script $ac_site_file
1648 See \`config.log' for more details" "$LINENO" 5; }
1649 fi
1650 done
1651
1652 if test -r "$cache_file"; then
1653 # Some versions of bash will fail to source /dev/null (special files
1654 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1655 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1657 $as_echo "$as_me: loading cache $cache_file" >&6;}
1658 case $cache_file in
1659 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1660 *) . "./$cache_file";;
1661 esac
1662 fi
1663 else
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1665 $as_echo "$as_me: creating cache $cache_file" >&6;}
1666 >$cache_file
1667 fi
1668
1669 # Check that the precious variables saved in the cache have kept the same
1670 # value.
1671 ac_cache_corrupted=false
1672 for ac_var in $ac_precious_vars; do
1673 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1674 eval ac_new_set=\$ac_env_${ac_var}_set
1675 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1676 eval ac_new_val=\$ac_env_${ac_var}_value
1677 case $ac_old_set,$ac_new_set in
1678 set,)
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1680 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1681 ac_cache_corrupted=: ;;
1682 ,set)
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1684 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1685 ac_cache_corrupted=: ;;
1686 ,);;
1687 *)
1688 if test "x$ac_old_val" != "x$ac_new_val"; then
1689 # differences in whitespace do not lead to failure.
1690 ac_old_val_w=`echo x $ac_old_val`
1691 ac_new_val_w=`echo x $ac_new_val`
1692 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1694 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1695 ac_cache_corrupted=:
1696 else
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1698 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1699 eval $ac_var=\$ac_old_val
1700 fi
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1702 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1704 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1705 fi;;
1706 esac
1707 # Pass precious variables to config.status.
1708 if test "$ac_new_set" = set; then
1709 case $ac_new_val in
1710 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1711 *) ac_arg=$ac_var=$ac_new_val ;;
1712 esac
1713 case " $ac_configure_args " in
1714 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1715 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1716 esac
1717 fi
1718 done
1719 if $ac_cache_corrupted; then
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1723 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1724 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1725 fi
1726 ## -------------------- ##
1727 ## Main body of script. ##
1728 ## -------------------- ##
1729
1730 ac_ext=c
1731 ac_cpp='$CPP $CPPFLAGS'
1732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1735
1736
1737 ac_aux_dir=
1738 for ac_dir in config "$srcdir"/config; do
1739 if test -f "$ac_dir/install-sh"; then
1740 ac_aux_dir=$ac_dir
1741 ac_install_sh="$ac_aux_dir/install-sh -c"
1742 break
1743 elif test -f "$ac_dir/install.sh"; then
1744 ac_aux_dir=$ac_dir
1745 ac_install_sh="$ac_aux_dir/install.sh -c"
1746 break
1747 elif test -f "$ac_dir/shtool"; then
1748 ac_aux_dir=$ac_dir
1749 ac_install_sh="$ac_aux_dir/shtool install -c"
1750 break
1751 fi
1752 done
1753 if test -z "$ac_aux_dir"; then
1754 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
1755 fi
1756
1757 # These three variables are undocumented and unsupported,
1758 # and are intended to be withdrawn in a future Autoconf release.
1759 # They can cause serious problems if a builder's source tree is in a directory
1760 # whose full name contains unusual characters.
1761 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1762 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1763 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1764
1765
1766
1767 am__api_version='1.11'
1768
1769 # Find a good install program. We prefer a C program (faster),
1770 # so one script is as good as another. But avoid the broken or
1771 # incompatible versions:
1772 # SysV /etc/install, /usr/sbin/install
1773 # SunOS /usr/etc/install
1774 # IRIX /sbin/install
1775 # AIX /bin/install
1776 # AmigaOS /C/install, which installs bootblocks on floppy discs
1777 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1778 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1779 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1780 # OS/2's system install, which has a completely different semantic
1781 # ./install, which can be erroneously created by make from ./install.sh.
1782 # Reject install programs that cannot install multiple files.
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1784 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1785 if test -z "$INSTALL"; then
1786 if ${ac_cv_path_install+:} false; then :
1787 $as_echo_n "(cached) " >&6
1788 else
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 for as_dir in $PATH
1791 do
1792 IFS=$as_save_IFS
1793 test -z "$as_dir" && as_dir=.
1794 # Account for people who put trailing slashes in PATH elements.
1795 case $as_dir/ in @%:@((
1796 ./ | .// | /[cC]/* | \
1797 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1798 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1799 /usr/ucb/* ) ;;
1800 *)
1801 # OSF1 and SCO ODT 3.0 have their own names for install.
1802 # Don't use installbsd from OSF since it installs stuff as root
1803 # by default.
1804 for ac_prog in ginstall scoinst install; do
1805 for ac_exec_ext in '' $ac_executable_extensions; do
1806 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1807 if test $ac_prog = install &&
1808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1809 # AIX install. It has an incompatible calling convention.
1810 :
1811 elif test $ac_prog = install &&
1812 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1813 # program-specific install script used by HP pwplus--don't use.
1814 :
1815 else
1816 rm -rf conftest.one conftest.two conftest.dir
1817 echo one > conftest.one
1818 echo two > conftest.two
1819 mkdir conftest.dir
1820 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1821 test -s conftest.one && test -s conftest.two &&
1822 test -s conftest.dir/conftest.one &&
1823 test -s conftest.dir/conftest.two
1824 then
1825 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1826 break 3
1827 fi
1828 fi
1829 fi
1830 done
1831 done
1832 ;;
1833 esac
1834
1835 done
1836 IFS=$as_save_IFS
1837
1838 rm -rf conftest.one conftest.two conftest.dir
1839
1840 fi
1841 if test "${ac_cv_path_install+set}" = set; then
1842 INSTALL=$ac_cv_path_install
1843 else
1844 # As a last resort, use the slow shell script. Don't cache a
1845 # value for INSTALL within a source directory, because that will
1846 # break other packages using the cache if that directory is
1847 # removed, or if the value is a relative name.
1848 INSTALL=$ac_install_sh
1849 fi
1850 fi
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1852 $as_echo "$INSTALL" >&6; }
1853
1854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1855 # It thinks the first close brace ends the variable substitution.
1856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1857
1858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1859
1860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1861
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1863 $as_echo_n "checking whether build environment is sane... " >&6; }
1864 # Just in case
1865 sleep 1
1866 echo timestamp > conftest.file
1867 # Reject unsafe characters in $srcdir or the absolute working directory
1868 # name. Accept space and tab only in the latter.
1869 am_lf='
1870 '
1871 case `pwd` in
1872 *[\\\"\#\$\&\'\`$am_lf]*)
1873 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1874 esac
1875 case $srcdir in
1876 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1877 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1878 esac
1879
1880 # Do `set' in a subshell so we don't clobber the current shell's
1881 # arguments. Must try -L first in case configure is actually a
1882 # symlink; some systems play weird games with the mod time of symlinks
1883 # (eg FreeBSD returns the mod time of the symlink's containing
1884 # directory).
1885 if (
1886 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1887 if test "$*" = "X"; then
1888 # -L didn't work.
1889 set X `ls -t "$srcdir/configure" conftest.file`
1890 fi
1891 rm -f conftest.file
1892 if test "$*" != "X $srcdir/configure conftest.file" \
1893 && test "$*" != "X conftest.file $srcdir/configure"; then
1894
1895 # If neither matched, then we have a broken ls. This can happen
1896 # if, for instance, CONFIG_SHELL is bash and it inherits a
1897 # broken ls alias from the environment. This has actually
1898 # happened. Such a system could not be considered "sane".
1899 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1900 alias in your environment" "$LINENO" 5
1901 fi
1902
1903 test "$2" = conftest.file
1904 )
1905 then
1906 # Ok.
1907 :
1908 else
1909 as_fn_error $? "newly created file is older than distributed files!
1910 Check your system clock" "$LINENO" 5
1911 fi
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1913 $as_echo "yes" >&6; }
1914 test "$program_prefix" != NONE &&
1915 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1916 # Use a double $ so make ignores it.
1917 test "$program_suffix" != NONE &&
1918 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1919 # Double any \ or $.
1920 # By default was `s,x,x', remove it if useless.
1921 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1922 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1923
1924 # expand $ac_aux_dir to an absolute path
1925 am_aux_dir=`cd $ac_aux_dir && pwd`
1926
1927 if test x"${MISSING+set}" != xset; then
1928 case $am_aux_dir in
1929 *\ * | *\ *)
1930 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1931 *)
1932 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1933 esac
1934 fi
1935 # Use eval to expand $SHELL
1936 if eval "$MISSING --run true"; then
1937 am_missing_run="$MISSING --run "
1938 else
1939 am_missing_run=
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1941 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1942 fi
1943
1944 if test x"${install_sh}" != xset; then
1945 case $am_aux_dir in
1946 *\ * | *\ *)
1947 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1948 *)
1949 install_sh="\${SHELL} $am_aux_dir/install-sh"
1950 esac
1951 fi
1952
1953 # Installed binaries are usually stripped using `strip' when the user
1954 # run `make install-strip'. However `strip' might not be the right
1955 # tool to use in cross-compilation environments, therefore Automake
1956 # will honor the `STRIP' environment variable to overrule this program.
1957 if test "$cross_compiling" != no; then
1958 if test -n "$ac_tool_prefix"; then
1959 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1960 set dummy ${ac_tool_prefix}strip; ac_word=$2
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1962 $as_echo_n "checking for $ac_word... " >&6; }
1963 if ${ac_cv_prog_STRIP+:} false; then :
1964 $as_echo_n "(cached) " >&6
1965 else
1966 if test -n "$STRIP"; then
1967 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1968 else
1969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 for as_dir in $PATH
1971 do
1972 IFS=$as_save_IFS
1973 test -z "$as_dir" && as_dir=.
1974 for ac_exec_ext in '' $ac_executable_extensions; do
1975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1976 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 break 2
1979 fi
1980 done
1981 done
1982 IFS=$as_save_IFS
1983
1984 fi
1985 fi
1986 STRIP=$ac_cv_prog_STRIP
1987 if test -n "$STRIP"; then
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1989 $as_echo "$STRIP" >&6; }
1990 else
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1992 $as_echo "no" >&6; }
1993 fi
1994
1995
1996 fi
1997 if test -z "$ac_cv_prog_STRIP"; then
1998 ac_ct_STRIP=$STRIP
1999 # Extract the first word of "strip", so it can be a program name with args.
2000 set dummy strip; ac_word=$2
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2002 $as_echo_n "checking for $ac_word... " >&6; }
2003 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2004 $as_echo_n "(cached) " >&6
2005 else
2006 if test -n "$ac_ct_STRIP"; then
2007 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2008 else
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH
2011 do
2012 IFS=$as_save_IFS
2013 test -z "$as_dir" && as_dir=.
2014 for ac_exec_ext in '' $ac_executable_extensions; do
2015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016 ac_cv_prog_ac_ct_STRIP="strip"
2017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 break 2
2019 fi
2020 done
2021 done
2022 IFS=$as_save_IFS
2023
2024 fi
2025 fi
2026 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2027 if test -n "$ac_ct_STRIP"; then
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2029 $as_echo "$ac_ct_STRIP" >&6; }
2030 else
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2032 $as_echo "no" >&6; }
2033 fi
2034
2035 if test "x$ac_ct_STRIP" = x; then
2036 STRIP=":"
2037 else
2038 case $cross_compiling:$ac_tool_warned in
2039 yes:)
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2042 ac_tool_warned=yes ;;
2043 esac
2044 STRIP=$ac_ct_STRIP
2045 fi
2046 else
2047 STRIP="$ac_cv_prog_STRIP"
2048 fi
2049
2050 fi
2051 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2052
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2054 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2055 if test -z "$MKDIR_P"; then
2056 if ${ac_cv_path_mkdir+:} false; then :
2057 $as_echo_n "(cached) " >&6
2058 else
2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2061 do
2062 IFS=$as_save_IFS
2063 test -z "$as_dir" && as_dir=.
2064 for ac_prog in mkdir gmkdir; do
2065 for ac_exec_ext in '' $ac_executable_extensions; do
2066 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2067 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2068 'mkdir (GNU coreutils) '* | \
2069 'mkdir (coreutils) '* | \
2070 'mkdir (fileutils) '4.1*)
2071 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2072 break 3;;
2073 esac
2074 done
2075 done
2076 done
2077 IFS=$as_save_IFS
2078
2079 fi
2080
2081 test -d ./--version && rmdir ./--version
2082 if test "${ac_cv_path_mkdir+set}" = set; then
2083 MKDIR_P="$ac_cv_path_mkdir -p"
2084 else
2085 # As a last resort, use the slow shell script. Don't cache a
2086 # value for MKDIR_P within a source directory, because that will
2087 # break other packages using the cache if that directory is
2088 # removed, or if the value is a relative name.
2089 MKDIR_P="$ac_install_sh -d"
2090 fi
2091 fi
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2093 $as_echo "$MKDIR_P" >&6; }
2094
2095 mkdir_p="$MKDIR_P"
2096 case $mkdir_p in
2097 [\\/$]* | ?:[\\/]*) ;;
2098 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2099 esac
2100
2101 for ac_prog in gawk mawk nawk awk
2102 do
2103 # Extract the first word of "$ac_prog", so it can be a program name with args.
2104 set dummy $ac_prog; ac_word=$2
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2106 $as_echo_n "checking for $ac_word... " >&6; }
2107 if ${ac_cv_prog_AWK+:} false; then :
2108 $as_echo_n "(cached) " >&6
2109 else
2110 if test -n "$AWK"; then
2111 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2115 do
2116 IFS=$as_save_IFS
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120 ac_cv_prog_AWK="$ac_prog"
2121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 break 2
2123 fi
2124 done
2125 done
2126 IFS=$as_save_IFS
2127
2128 fi
2129 fi
2130 AWK=$ac_cv_prog_AWK
2131 if test -n "$AWK"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2133 $as_echo "$AWK" >&6; }
2134 else
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2136 $as_echo "no" >&6; }
2137 fi
2138
2139
2140 test -n "$AWK" && break
2141 done
2142
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2144 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2145 set x ${MAKE-make}
2146 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2147 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2148 $as_echo_n "(cached) " >&6
2149 else
2150 cat >conftest.make <<\_ACEOF
2151 SHELL = /bin/sh
2152 all:
2153 @echo '@@@%%%=$(MAKE)=@@@%%%'
2154 _ACEOF
2155 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2156 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2157 *@@@%%%=?*=@@@%%%*)
2158 eval ac_cv_prog_make_${ac_make}_set=yes;;
2159 *)
2160 eval ac_cv_prog_make_${ac_make}_set=no;;
2161 esac
2162 rm -f conftest.make
2163 fi
2164 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2166 $as_echo "yes" >&6; }
2167 SET_MAKE=
2168 else
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2170 $as_echo "no" >&6; }
2171 SET_MAKE="MAKE=${MAKE-make}"
2172 fi
2173
2174 rm -rf .tst 2>/dev/null
2175 mkdir .tst 2>/dev/null
2176 if test -d .tst; then
2177 am__leading_dot=.
2178 else
2179 am__leading_dot=_
2180 fi
2181 rmdir .tst 2>/dev/null
2182
2183 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2184 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2185 # is not polluted with repeated "-I."
2186 am__isrc=' -I$(srcdir)'
2187 # test to see if srcdir already configured
2188 if test -f $srcdir/config.status; then
2189 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2190 fi
2191 fi
2192
2193 # test whether we have cygpath
2194 if test -z "$CYGPATH_W"; then
2195 if (cygpath --version) >/dev/null 2>/dev/null; then
2196 CYGPATH_W='cygpath -w'
2197 else
2198 CYGPATH_W=echo
2199 fi
2200 fi
2201
2202
2203 # Define the identity of the package.
2204 PACKAGE='ibutils'
2205 VERSION='1.5.7'
2206
2207
2208 cat >>confdefs.h <<_ACEOF
2209 @%:@define PACKAGE "$PACKAGE"
2210 _ACEOF
2211
2212
2213 cat >>confdefs.h <<_ACEOF
2214 @%:@define VERSION "$VERSION"
2215 _ACEOF
2216
2217 # Some tools Automake needs.
2218
2219 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2220
2221
2222 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2223
2224
2225 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2226
2227
2228 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2229
2230
2231 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2232
2233 # We need awk for the "check" target. The system "awk" is bad on
2234 # some platforms.
2235 # Always define AMTAR for backward compatibility.
2236
2237 AMTAR=${AMTAR-"${am_missing_run}tar"}
2238
2239 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2240
2241
2242
2243
2244
2245
2246 ac_ext=c
2247 ac_cpp='$CPP $CPPFLAGS'
2248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2251
2252
2253
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2255 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2256 @%:@ Check whether --enable-maintainer-mode was given.
2257 if test "${enable_maintainer_mode+set}" = set; then :
2258 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2259 else
2260 USE_MAINTAINER_MODE=no
2261 fi
2262
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2264 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2265 if test $USE_MAINTAINER_MODE = yes; then
2266 MAINTAINER_MODE_TRUE=
2267 MAINTAINER_MODE_FALSE='#'
2268 else
2269 MAINTAINER_MODE_TRUE='#'
2270 MAINTAINER_MODE_FALSE=
2271 fi
2272
2273 MAINT=$MAINTAINER_MODE_TRUE
2274
2275
2276
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2278 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2279 set x ${MAKE-make}
2280 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2281 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2282 $as_echo_n "(cached) " >&6
2283 else
2284 cat >conftest.make <<\_ACEOF
2285 SHELL = /bin/sh
2286 all:
2287 @echo '@@@%%%=$(MAKE)=@@@%%%'
2288 _ACEOF
2289 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2290 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2291 *@@@%%%=?*=@@@%%%*)
2292 eval ac_cv_prog_make_${ac_make}_set=yes;;
2293 *)
2294 eval ac_cv_prog_make_${ac_make}_set=no;;
2295 esac
2296 rm -f conftest.make
2297 fi
2298 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2300 $as_echo "yes" >&6; }
2301 SET_MAKE=
2302 else
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2304 $as_echo "no" >&6; }
2305 SET_MAKE="MAKE=${MAKE-make}"
2306 fi
2307
2308
2309 @%:@ Check whether --enable-debug was given.
2310 if test "${enable_debug+set}" = set; then :
2311 enableval=$enable_debug; case "${enableval}" in
2312 yes) debug=true ;;
2313 no) debug=false ;;
2314 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
2315 esac
2316 else
2317 debug=false
2318 fi
2319
2320
2321 @%:@ Check whether --enable-libcheck was given.
2322 if test "${enable_libcheck+set}" = set; then :
2323 enableval=$enable_libcheck; case "${enableval}" in
2324 yes) libcheck=true ;;
2325 no) libcheck=false ;;
2326 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;;
2327 esac
2328 else
2329 libcheck=true
2330 fi
2331
2332
2333
2334 # --- BEGIN OPENIB_APP_OSM ---
2335
2336
2337 @%:@ Check whether --with-osm was given.
2338 if test "${with_osm+set}" = set; then :
2339 withval=$with_osm; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM from:$with_osm" >&5
2340 $as_echo "$as_me: Using OSM from:$with_osm" >&6;}
2341 else
2342 with_osm="none"
2343 fi
2344
2345
2346
2347 @%:@ Check whether --with-osm-libs was given.
2348 if test "${with_osm_libs+set}" = set; then :
2349 withval=$with_osm_libs; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM libs from:$with_osm_libs" >&5
2350 $as_echo "$as_me: Using OSM libs from:$with_osm_libs" >&6;}
2351 else
2352 with_osm_libs="none"
2353 fi
2354
2355
2356 osm_lib_dir="none"
2357
2358 if test "x$libcheck" = "xtrue"; then
2359 if test "x$with_osm" = xnone; then
2360 if test -d /usr/local/ibgd/apps/osm; then
2361 with_osm=/usr/local/ibgd/apps/osm
2362 elif test -d /usr/mellanox/osm; then
2363 with_osm=/usr/mellanox
2364 elif test -f /etc/infiniband/info; then
2365 ofed_dir=`/etc/infiniband/info | grep prefix | cut -d = -f 2`
2366 if (test -f $ofed_dir/lib/libopensm.so ||
2367 test -f $ofed_dir/lib64/libopensm.so); then
2368 with_osm=$ofed_dir
2369 fi
2370 elif (test -f /usr/local/lib64/libopensm.so ||
2371 test -f /usr/local/lib/libopensm.so); then
2372 with_osm=/usr/local
2373 elif (test -f /usr/lib64/libopensm.so ||
2374 test -f /usr/lib/libopensm.so); then
2375 with_osm=/usr
2376 else
2377 as_fn_error $? "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
2378 fi
2379 fi
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5
2381 $as_echo "$as_me: OSM: used from $with_osm" >&6;}
2382
2383 if test "x$with_osm_libs" = "xnone"; then
2384 if (test -f $with_osm/lib64/libosmvendor_gen1.so ||
2385 test -f $with_osm/lib64/libosmvendor_vapi.so ||
2386 test -f $with_osm/lib64/libopensm.so ||
2387 test -f $with_osm/lib64/libosmvendor_sim.so); then
2388 osm_lib_dir=lib64
2389 else
2390 osm_lib_dir=lib
2391 fi
2392 with_osm_libs=$with_osm/$osm_lib_dir
2393 fi
2394
2395 if test -d $with_osm/include/infiniband; then
2396 OSM_BUILD=openib
2397 else
2398 OSM_BUILD=gen1
2399 fi
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: build type $OSM_BUILD" >&5
2401 $as_echo "$as_me: OSM: build type $OSM_BUILD" >&6;}
2402
2403 OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
2404 if test $OSM_BUILD = openib; then
2405 osm_include_dir="$with_osm/include/infiniband"
2406 osm_extra_includes="-I$with_osm/include"
2407
2408 if test -L $with_osm_libs/libosmvendor_gen1.so; then
2409 OSM_VENDOR=ts
2410 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
2411 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp"
2412 elif test -L $with_osm_libs/libosmvendor_vapi.so; then
2413 OSM_VENDOR=mtl
2414 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
2415 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -lvapi -lib_mgt"
2416 elif test -L $with_osm_libs/libosmvendor_sim.so; then
2417 OSM_VENDOR=sim
2418 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
2419 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -libmscli -losmcomp"
2420 elif test -L $with_osm_libs/libopensm.so; then
2421 OSM_VENDOR=openib
2422 osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
2423 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
2424 else
2425 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
2426 fi
2427 osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
2428 else
2429 # we are in gen1 build
2430 osm_include_dir="$with_osm/include"
2431
2432 if test -L $with_osm_libs/libosmsvc_ts.so; then
2433 OSM_VENDOR=ts
2434 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_ts -lcomplib"
2435 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
2436 elif test -L $with_osm_libs/libosmsvc_mtl.so; then
2437 OSM_VENDOR=mtl
2438 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_mtl -lcomplib -lvapi -lib_mgt"
2439 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
2440 elif test -L $with_osm_libs/libosmsvc_sim.so; then
2441 OSM_VENDOR=sim
2442 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
2443 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
2444 else
2445 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
2446 fi
2447 fi
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5
2449 $as_echo "$as_me: OSM: vendor type $OSM_VENDOR" >&6;}
2450
2451
2452 as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh`
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5
2454 $as_echo_n "checking for $osm_include_dir/opensm/osm_config.h... " >&6; }
2455 if eval \${$as_ac_File+:} false; then :
2456 $as_echo_n "(cached) " >&6
2457 else
2458 test "$cross_compiling" = yes &&
2459 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2460 if test -r "$osm_include_dir/opensm/osm_config.h"; then
2461 eval "$as_ac_File=yes"
2462 else
2463 eval "$as_ac_File=no"
2464 fi
2465 fi
2466 eval ac_res=\$$as_ac_File
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2468 $as_echo "$ac_res" >&6; }
2469 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2470
2471 else
2472 as_fn_error $? "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
2473 fi
2474
2475
2476 grep '#define OSM_DEBUG 1' $osm_include_dir/opensm/osm_config.h > /dev/null
2477 if test $? -eq 0 ; then
2478 osm_debug_flags='-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG'
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: compiled in DEBUG mode" >&5
2480 $as_echo "$as_me: OSM: compiled in DEBUG mode" >&6;}
2481 else
2482 osm_debug_flags=
2483 fi
2484
2485 OSM_CFLAGS="-I$osm_include_dir $osm_extra_includes $osm_debug_flags $osm_vendor_sel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1"
2486 else
2487 with_osm=disabled
2488 OSM_CLFAGS=disabled
2489 OSM_LDFLAGS=disabled
2490 OSM_VEDNOR=disabled
2491 OSM_BUILD=disabled
2492 fi
2493
2494 if test "x$OSM_VENDOR" = xts; then
2495 OSM_VENDOR_TS_TRUE=
2496 OSM_VENDOR_TS_FALSE='#'
2497 else
2498 OSM_VENDOR_TS_TRUE='#'
2499 OSM_VENDOR_TS_FALSE=
2500 fi
2501
2502 if test "x$OSM_VENDOR" = xmtl; then
2503 OSM_VENDOR_MTL_TRUE=
2504 OSM_VENDOR_MTL_FALSE='#'
2505 else
2506 OSM_VENDOR_MTL_TRUE='#'
2507 OSM_VENDOR_MTL_FALSE=
2508 fi
2509
2510 if test "x$OSM_VENDOR" = xsim; then
2511 OSM_VENDOR_SIM_TRUE=
2512 OSM_VENDOR_SIM_FALSE='#'
2513 else
2514 OSM_VENDOR_SIM_TRUE='#'
2515 OSM_VENDOR_SIM_FALSE=
2516 fi
2517
2518 if test "x$OSM_BUILD" = xopenib; then
2519 OSM_BUILD_OPENIB_TRUE=
2520 OSM_BUILD_OPENIB_FALSE='#'
2521 else
2522 OSM_BUILD_OPENIB_TRUE='#'
2523 OSM_BUILD_OPENIB_FALSE=
2524 fi
2525
2526
2527
2528
2529
2530
2531
2532
2533 # --- OPENIB_APP_OSM ---
2534
2535
2536
2537
2538 subdirs="$subdirs ibis ibdm ibdiag"
2539
2540
2541 @%:@ Check whether --enable-ibmgtsim was given.
2542 if test "${enable_ibmgtsim+set}" = set; then :
2543 enableval=$enable_ibmgtsim; case "${enableval}" in
2544 yes) ibmgtsim=true ;;
2545 no) ibmgtsim=false ;;
2546 *) as_fn_error $? "bad value ${enableval} for --enable-ibmgtsim" "$LINENO" 5 ;;
2547 esac
2548 else
2549 ibmgtsim=false
2550 fi
2551
2552 if test "x$ibmgtsim" != xfalse; then
2553 BUILD_IBMGTSIM_TRUE=
2554 BUILD_IBMGTSIM_FALSE='#'
2555 else
2556 BUILD_IBMGTSIM_TRUE='#'
2557 BUILD_IBMGTSIM_FALSE=
2558 fi
2559
2560
2561 abs_srcdir=`cd ${0%*/*};pwd`
2562
2563 if test $ibmgtsim = true; then
2564 ac_configure_args="$ac_configure_args --with-ibdm=$abs_srcdir/ibdm"
2565 subdirs="$subdirs ibmgtsim"
2566
2567 fi
2568
2569 ac_config_files="$ac_config_files ibutils.spec"
2570
2571 ac_config_files="$ac_config_files Makefile"
2572
2573 cat >confcache <<\_ACEOF
2574 # This file is a shell script that caches the results of configure
2575 # tests run on this system so they can be shared between configure
2576 # scripts and configure runs, see configure's option --config-cache.
2577 # It is not useful on other systems. If it contains results you don't
2578 # want to keep, you may remove or edit it.
2579 #
2580 # config.status only pays attention to the cache file if you give it
2581 # the --recheck option to rerun configure.
2582 #
2583 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2584 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2585 # following values.
2586
2587 _ACEOF
2588
2589 # The following way of writing the cache mishandles newlines in values,
2590 # but we know of no workaround that is simple, portable, and efficient.
2591 # So, we kill variables containing newlines.
2592 # Ultrix sh set writes to stderr and can't be redirected directly,
2593 # and sets the high bit in the cache file unless we assign to the vars.
2594 (
2595 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2596 eval ac_val=\$$ac_var
2597 case $ac_val in #(
2598 *${as_nl}*)
2599 case $ac_var in #(
2600 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2601 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2602 esac
2603 case $ac_var in #(
2604 _ | IFS | as_nl) ;; #(
2605 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2606 *) { eval $ac_var=; unset $ac_var;} ;;
2607 esac ;;
2608 esac
2609 done
2610
2611 (set) 2>&1 |
2612 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2613 *${as_nl}ac_space=\ *)
2614 # `set' does not quote correctly, so add quotes: double-quote
2615 # substitution turns \\\\ into \\, and sed turns \\ into \.
2616 sed -n \
2617 "s/'/'\\\\''/g;
2618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2619 ;; #(
2620 *)
2621 # `set' quotes correctly as required by POSIX, so do not add quotes.
2622 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2623 ;;
2624 esac |
2625 sort
2626 ) |
2627 sed '
2628 /^ac_cv_env_/b end
2629 t clear
2630 :clear
2631 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2632 t end
2633 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2634 :end' >>confcache
2635 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2636 if test -w "$cache_file"; then
2637 if test "x$cache_file" != "x/dev/null"; then
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2639 $as_echo "$as_me: updating cache $cache_file" >&6;}
2640 if test ! -f "$cache_file" || test -h "$cache_file"; then
2641 cat confcache >"$cache_file"
2642 else
2643 case $cache_file in #(
2644 */* | ?:*)
2645 mv -f confcache "$cache_file"$$ &&
2646 mv -f "$cache_file"$$ "$cache_file" ;; #(
2647 *)
2648 mv -f confcache "$cache_file" ;;
2649 esac
2650 fi
2651 fi
2652 else
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2654 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2655 fi
2656 fi
2657 rm -f confcache
2658
2659 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2660 # Let make expand exec_prefix.
2661 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2662
2663 # Transform confdefs.h into DEFS.
2664 # Protect against shell expansion while executing Makefile rules.
2665 # Protect against Makefile macro expansion.
2666 #
2667 # If the first sed substitution is executed (which looks for macros that
2668 # take arguments), then branch to the quote section. Otherwise,
2669 # look for a macro that doesn't take arguments.
2670 ac_script='
2671 :mline
2672 /\\$/{
2673 N
2674 s,\\\n,,
2675 b mline
2676 }
2677 t clear
2678 :clear
2679 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2680 t quote
2681 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2682 t quote
2683 b any
2684 :quote
2685 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2686 s/\[/\\&/g
2687 s/\]/\\&/g
2688 s/\$/$$/g
2689 H
2690 :any
2691 ${
2692 g
2693 s/^\n//
2694 s/\n/ /g
2695 p
2696 }
2697 '
2698 DEFS=`sed -n "$ac_script" confdefs.h`
2699
2700
2701 ac_libobjs=
2702 ac_ltlibobjs=
2703 U=
2704 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
2705 # 1. Remove the extension, and $U if already installed.
2706 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2707 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2708 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2709 # will be set to the directory where LIBOBJS objects are built.
2710 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2711 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2712 done
2713 LIB@&t@OBJS=$ac_libobjs
2714
2715 LTLIBOBJS=$ac_ltlibobjs
2716
2717
2718
2719 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2720 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
2721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2722 fi
2723 if test -z "${OSM_VENDOR_TS_TRUE}" && test -z "${OSM_VENDOR_TS_FALSE}"; then
2724 as_fn_error $? "conditional \"OSM_VENDOR_TS\" was never defined.
2725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2726 fi
2727 if test -z "${OSM_VENDOR_MTL_TRUE}" && test -z "${OSM_VENDOR_MTL_FALSE}"; then
2728 as_fn_error $? "conditional \"OSM_VENDOR_MTL\" was never defined.
2729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2730 fi
2731 if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then
2732 as_fn_error $? "conditional \"OSM_VENDOR_SIM\" was never defined.
2733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2734 fi
2735 if test -z "${OSM_BUILD_OPENIB_TRUE}" && test -z "${OSM_BUILD_OPENIB_FALSE}"; then
2736 as_fn_error $? "conditional \"OSM_BUILD_OPENIB\" was never defined.
2737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2738 fi
2739 if test -z "${BUILD_IBMGTSIM_TRUE}" && test -z "${BUILD_IBMGTSIM_FALSE}"; then
2740 as_fn_error $? "conditional \"BUILD_IBMGTSIM\" was never defined.
2741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2742 fi
2743
2744 : "${CONFIG_STATUS=./config.status}"
2745 ac_write_fail=0
2746 ac_clean_files_save=$ac_clean_files
2747 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2749 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2750 as_write_fail=0
2751 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2752 #! $SHELL
2753 # Generated by $as_me.
2754 # Run this file to recreate the current configuration.
2755 # Compiler output produced by configure, useful for debugging
2756 # configure, is in config.log if it exists.
2757
2758 debug=false
2759 ac_cs_recheck=false
2760 ac_cs_silent=false
2761
2762 SHELL=\${CONFIG_SHELL-$SHELL}
2763 export SHELL
2764 _ASEOF
2765 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2766 ## -------------------- ##
2767 ## M4sh Initialization. ##
2768 ## -------------------- ##
2769
2770 # Be more Bourne compatible
2771 DUALCASE=1; export DUALCASE # for MKS sh
2772 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2773 emulate sh
2774 NULLCMD=:
2775 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2776 # is contrary to our usage. Disable this feature.
2777 alias -g '${1+"$@"}'='"$@"'
2778 setopt NO_GLOB_SUBST
2779 else
2780 case `(set -o) 2>/dev/null` in @%:@(
2781 *posix*) :
2782 set -o posix ;; @%:@(
2783 *) :
2784 ;;
2785 esac
2786 fi
2787
2788
2789 as_nl='
2790 '
2791 export as_nl
2792 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2793 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2794 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2796 # Prefer a ksh shell builtin over an external printf program on Solaris,
2797 # but without wasting forks for bash or zsh.
2798 if test -z "$BASH_VERSION$ZSH_VERSION" \
2799 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2800 as_echo='print -r --'
2801 as_echo_n='print -rn --'
2802 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2803 as_echo='printf %s\n'
2804 as_echo_n='printf %s'
2805 else
2806 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2807 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2808 as_echo_n='/usr/ucb/echo -n'
2809 else
2810 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2811 as_echo_n_body='eval
2812 arg=$1;
2813 case $arg in @%:@(
2814 *"$as_nl"*)
2815 expr "X$arg" : "X\\(.*\\)$as_nl";
2816 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2817 esac;
2818 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2819 '
2820 export as_echo_n_body
2821 as_echo_n='sh -c $as_echo_n_body as_echo'
2822 fi
2823 export as_echo_body
2824 as_echo='sh -c $as_echo_body as_echo'
2825 fi
2826
2827 # The user is always right.
2828 if test "${PATH_SEPARATOR+set}" != set; then
2829 PATH_SEPARATOR=:
2830 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2831 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2832 PATH_SEPARATOR=';'
2833 }
2834 fi
2835
2836
2837 # IFS
2838 # We need space, tab and new line, in precisely that order. Quoting is
2839 # there to prevent editors from complaining about space-tab.
2840 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2841 # splitting by setting IFS to empty value.)
2842 IFS=" "" $as_nl"
2843
2844 # Find who we are. Look in the path if we contain no directory separator.
2845 as_myself=
2846 case $0 in @%:@((
2847 *[\\/]* ) as_myself=$0 ;;
2848 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 for as_dir in $PATH
2850 do
2851 IFS=$as_save_IFS
2852 test -z "$as_dir" && as_dir=.
2853 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2854 done
2855 IFS=$as_save_IFS
2856
2857 ;;
2858 esac
2859 # We did not find ourselves, most probably we were run as `sh COMMAND'
2860 # in which case we are not to be found in the path.
2861 if test "x$as_myself" = x; then
2862 as_myself=$0
2863 fi
2864 if test ! -f "$as_myself"; then
2865 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2866 exit 1
2867 fi
2868
2869 # Unset variables that we do not need and which cause bugs (e.g. in
2870 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2871 # suppresses any "Segmentation fault" message there. '((' could
2872 # trigger a bug in pdksh 5.2.14.
2873 for as_var in BASH_ENV ENV MAIL MAILPATH
2874 do eval test x\${$as_var+set} = xset \
2875 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2876 done
2877 PS1='$ '
2878 PS2='> '
2879 PS4='+ '
2880
2881 # NLS nuisances.
2882 LC_ALL=C
2883 export LC_ALL
2884 LANGUAGE=C
2885 export LANGUAGE
2886
2887 # CDPATH.
2888 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2889
2890
2891 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
2892 @%:@ ----------------------------------------
2893 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2894 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2895 @%:@ script with STATUS, using 1 if that was 0.
2896 as_fn_error ()
2897 {
2898 as_status=$1; test $as_status -eq 0 && as_status=1
2899 if test "$4"; then
2900 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2901 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2902 fi
2903 $as_echo "$as_me: error: $2" >&2
2904 as_fn_exit $as_status
2905 } @%:@ as_fn_error
2906
2907
2908 @%:@ as_fn_set_status STATUS
2909 @%:@ -----------------------
2910 @%:@ Set @S|@? to STATUS, without forking.
2911 as_fn_set_status ()
2912 {
2913 return $1
2914 } @%:@ as_fn_set_status
2915
2916 @%:@ as_fn_exit STATUS
2917 @%:@ -----------------
2918 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2919 as_fn_exit ()
2920 {
2921 set +e
2922 as_fn_set_status $1
2923 exit $1
2924 } @%:@ as_fn_exit
2925
2926 @%:@ as_fn_unset VAR
2927 @%:@ ---------------
2928 @%:@ Portably unset VAR.
2929 as_fn_unset ()
2930 {
2931 { eval $1=; unset $1;}
2932 }
2933 as_unset=as_fn_unset
2934 @%:@ as_fn_append VAR VALUE
2935 @%:@ ----------------------
2936 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
2937 @%:@ advantage of any shell optimizations that allow amortized linear growth over
2938 @%:@ repeated appends, instead of the typical quadratic growth present in naive
2939 @%:@ implementations.
2940 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2941 eval 'as_fn_append ()
2942 {
2943 eval $1+=\$2
2944 }'
2945 else
2946 as_fn_append ()
2947 {
2948 eval $1=\$$1\$2
2949 }
2950 fi # as_fn_append
2951
2952 @%:@ as_fn_arith ARG...
2953 @%:@ ------------------
2954 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
2955 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
2956 @%:@ must be portable across @S|@(()) and expr.
2957 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2958 eval 'as_fn_arith ()
2959 {
2960 as_val=$(( $* ))
2961 }'
2962 else
2963 as_fn_arith ()
2964 {
2965 as_val=`expr "$@" || test $? -eq 1`
2966 }
2967 fi # as_fn_arith
2968
2969
2970 if expr a : '\(a\)' >/dev/null 2>&1 &&
2971 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2972 as_expr=expr
2973 else
2974 as_expr=false
2975 fi
2976
2977 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2978 as_basename=basename
2979 else
2980 as_basename=false
2981 fi
2982
2983 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2984 as_dirname=dirname
2985 else
2986 as_dirname=false
2987 fi
2988
2989 as_me=`$as_basename -- "$0" ||
2990 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2991 X"$0" : 'X\(//\)$' \| \
2992 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2993 $as_echo X/"$0" |
2994 sed '/^.*\/\([^/][^/]*\)\/*$/{
2995 s//\1/
2996 q
2997 }
2998 /^X\/\(\/\/\)$/{
2999 s//\1/
3000 q
3001 }
3002 /^X\/\(\/\).*/{
3003 s//\1/
3004 q
3005 }
3006 s/.*/./; q'`
3007
3008 # Avoid depending upon Character Ranges.
3009 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3010 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3011 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3012 as_cr_digits='0123456789'
3013 as_cr_alnum=$as_cr_Letters$as_cr_digits
3014
3015 ECHO_C= ECHO_N= ECHO_T=
3016 case `echo -n x` in @%:@(((((
3017 -n*)
3018 case `echo 'xy\c'` in
3019 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3020 xy) ECHO_C='\c';;
3021 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3022 ECHO_T=' ';;
3023 esac;;
3024 *)
3025 ECHO_N='-n';;
3026 esac
3027
3028 rm -f conf$$ conf$$.exe conf$$.file
3029 if test -d conf$$.dir; then
3030 rm -f conf$$.dir/conf$$.file
3031 else
3032 rm -f conf$$.dir
3033 mkdir conf$$.dir 2>/dev/null
3034 fi
3035 if (echo >conf$$.file) 2>/dev/null; then
3036 if ln -s conf$$.file conf$$ 2>/dev/null; then
3037 as_ln_s='ln -s'
3038 # ... but there are two gotchas:
3039 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3040 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3041 # In both cases, we have to default to `cp -pR'.
3042 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3043 as_ln_s='cp -pR'
3044 elif ln conf$$.file conf$$ 2>/dev/null; then
3045 as_ln_s=ln
3046 else
3047 as_ln_s='cp -pR'
3048 fi
3049 else
3050 as_ln_s='cp -pR'
3051 fi
3052 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3053 rmdir conf$$.dir 2>/dev/null
3054
3055
3056 @%:@ as_fn_mkdir_p
3057 @%:@ -------------
3058 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
3059 as_fn_mkdir_p ()
3060 {
3061
3062 case $as_dir in #(
3063 -*) as_dir=./$as_dir;;
3064 esac
3065 test -d "$as_dir" || eval $as_mkdir_p || {
3066 as_dirs=
3067 while :; do
3068 case $as_dir in #(
3069 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3070 *) as_qdir=$as_dir;;
3071 esac
3072 as_dirs="'$as_qdir' $as_dirs"
3073 as_dir=`$as_dirname -- "$as_dir" ||
3074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3075 X"$as_dir" : 'X\(//\)[^/]' \| \
3076 X"$as_dir" : 'X\(//\)$' \| \
3077 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3078 $as_echo X"$as_dir" |
3079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3080 s//\1/
3081 q
3082 }
3083 /^X\(\/\/\)[^/].*/{
3084 s//\1/
3085 q
3086 }
3087 /^X\(\/\/\)$/{
3088 s//\1/
3089 q
3090 }
3091 /^X\(\/\).*/{
3092 s//\1/
3093 q
3094 }
3095 s/.*/./; q'`
3096 test -d "$as_dir" && break
3097 done
3098 test -z "$as_dirs" || eval "mkdir $as_dirs"
3099 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3100
3101
3102 } @%:@ as_fn_mkdir_p
3103 if mkdir -p . 2>/dev/null; then
3104 as_mkdir_p='mkdir -p "$as_dir"'
3105 else
3106 test -d ./-p && rmdir ./-p
3107 as_mkdir_p=false
3108 fi
3109
3110
3111 @%:@ as_fn_executable_p FILE
3112 @%:@ -----------------------
3113 @%:@ Test if FILE is an executable regular file.
3114 as_fn_executable_p ()
3115 {
3116 test -f "$1" && test -x "$1"
3117 } @%:@ as_fn_executable_p
3118 as_test_x='test -x'
3119 as_executable_p=as_fn_executable_p
3120
3121 # Sed expression to map a string onto a valid CPP name.
3122 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3123
3124 # Sed expression to map a string onto a valid variable name.
3125 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3126
3127
3128 exec 6>&1
3129 ## ----------------------------------- ##
3130 ## Main body of $CONFIG_STATUS script. ##
3131 ## ----------------------------------- ##
3132 _ASEOF
3133 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3134
3135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3136 # Save the log message, to keep $0 and so on meaningful, and to
3137 # report actual input values of CONFIG_FILES etc. instead of their
3138 # values after options handling.
3139 ac_log="
3140 This file was extended by ibutils $as_me 1.5.7, which was
3141 generated by GNU Autoconf 2.69. Invocation command line was
3142
3143 CONFIG_FILES = $CONFIG_FILES
3144 CONFIG_HEADERS = $CONFIG_HEADERS
3145 CONFIG_LINKS = $CONFIG_LINKS
3146 CONFIG_COMMANDS = $CONFIG_COMMANDS
3147 $ $0 $@
3148
3149 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3150 "
3151
3152 _ACEOF
3153
3154 case $ac_config_files in *"
3155 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3156 esac
3157
3158
3159
3160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3161 # Files that config.status was made for.
3162 config_files="$ac_config_files"
3163
3164 _ACEOF
3165
3166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3167 ac_cs_usage="\
3168 \`$as_me' instantiates files and other configuration actions
3169 from templates according to the current configuration. Unless the files
3170 and actions are specified as TAGs, all are instantiated by default.
3171
3172 Usage: $0 [OPTION]... [TAG]...
3173
3174 -h, --help print this help, then exit
3175 -V, --version print version number and configuration settings, then exit
3176 --config print configuration, then exit
3177 -q, --quiet, --silent
3178 do not print progress messages
3179 -d, --debug don't remove temporary files
3180 --recheck update $as_me by reconfiguring in the same conditions
3181 --file=FILE[:TEMPLATE]
3182 instantiate the configuration file FILE
3183
3184 Configuration files:
3185 $config_files
3186
3187 Report bugs to <linux-rdma@vger.kernel.org>."
3188
3189 _ACEOF
3190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3191 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3192 ac_cs_version="\\
3193 ibutils config.status 1.5.7
3194 configured by $0, generated by GNU Autoconf 2.69,
3195 with options \\"\$ac_cs_config\\"
3196
3197 Copyright (C) 2012 Free Software Foundation, Inc.
3198 This config.status script is free software; the Free Software Foundation
3199 gives unlimited permission to copy, distribute and modify it."
3200
3201 ac_pwd='$ac_pwd'
3202 srcdir='$srcdir'
3203 INSTALL='$INSTALL'
3204 MKDIR_P='$MKDIR_P'
3205 AWK='$AWK'
3206 test -n "\$AWK" || AWK=awk
3207 _ACEOF
3208
3209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3210 # The default lists apply if the user does not specify any file.
3211 ac_need_defaults=:
3212 while test $# != 0
3213 do
3214 case $1 in
3215 --*=?*)
3216 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3217 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3218 ac_shift=:
3219 ;;
3220 --*=)
3221 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3222 ac_optarg=
3223 ac_shift=:
3224 ;;
3225 *)
3226 ac_option=$1
3227 ac_optarg=$2
3228 ac_shift=shift
3229 ;;
3230 esac
3231
3232 case $ac_option in
3233 # Handling of the options.
3234 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3235 ac_cs_recheck=: ;;
3236 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3237 $as_echo "$ac_cs_version"; exit ;;
3238 --config | --confi | --conf | --con | --co | --c )
3239 $as_echo "$ac_cs_config"; exit ;;
3240 --debug | --debu | --deb | --de | --d | -d )
3241 debug=: ;;
3242 --file | --fil | --fi | --f )
3243 $ac_shift
3244 case $ac_optarg in
3245 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3246 '') as_fn_error $? "missing file argument" ;;
3247 esac
3248 as_fn_append CONFIG_FILES " '$ac_optarg'"
3249 ac_need_defaults=false;;
3250 --he | --h | --help | --hel | -h )
3251 $as_echo "$ac_cs_usage"; exit ;;
3252 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3253 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3254 ac_cs_silent=: ;;
3255
3256 # This is an error.
3257 -*) as_fn_error $? "unrecognized option: \`$1'
3258 Try \`$0 --help' for more information." ;;
3259
3260 *) as_fn_append ac_config_targets " $1"
3261 ac_need_defaults=false ;;
3262
3263 esac
3264 shift
3265 done
3266
3267 ac_configure_extra_args=
3268
3269 if $ac_cs_silent; then
3270 exec 6>/dev/null
3271 ac_configure_extra_args="$ac_configure_extra_args --silent"
3272 fi
3273
3274 _ACEOF
3275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3276 if \$ac_cs_recheck; then
3277 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3278 shift
3279 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3280 CONFIG_SHELL='$SHELL'
3281 export CONFIG_SHELL
3282 exec "\$@"
3283 fi
3284
3285 _ACEOF
3286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3287 exec 5>>config.log
3288 {
3289 echo
3290 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
3291 @%:@@%:@ Running $as_me. @%:@@%:@
3292 _ASBOX
3293 $as_echo "$ac_log"
3294 } >&5
3295
3296 _ACEOF
3297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3298 _ACEOF
3299
3300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3301
3302 # Handling of arguments.
3303 for ac_config_target in $ac_config_targets
3304 do
3305 case $ac_config_target in
3306 "ibutils.spec") CONFIG_FILES="$CONFIG_FILES ibutils.spec" ;;
3307 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3308
3309 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3310 esac
3311 done
3312
3313
3314 # If the user did not use the arguments to specify the items to instantiate,
3315 # then the envvar interface is used. Set only those that are not.
3316 # We use the long form for the default assignment because of an extremely
3317 # bizarre bug on SunOS 4.1.3.
3318 if $ac_need_defaults; then
3319 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3320 fi
3321
3322 # Have a temporary directory for convenience. Make it in the build tree
3323 # simply because there is no reason against having it here, and in addition,
3324 # creating and moving files from /tmp can sometimes cause problems.
3325 # Hook for its removal unless debugging.
3326 # Note that there is a small window in which the directory will not be cleaned:
3327 # after its creation but before its name has been assigned to `$tmp'.
3328 $debug ||
3329 {
3330 tmp= ac_tmp=
3331 trap 'exit_status=$?
3332 : "${ac_tmp:=$tmp}"
3333 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3334 ' 0
3335 trap 'as_fn_exit 1' 1 2 13 15
3336 }
3337 # Create a (secure) tmp directory for tmp files.
3338
3339 {
3340 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3341 test -d "$tmp"
3342 } ||
3343 {
3344 tmp=./conf$$-$RANDOM
3345 (umask 077 && mkdir "$tmp")
3346 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3347 ac_tmp=$tmp
3348
3349 # Set up the scripts for CONFIG_FILES section.
3350 # No need to generate them if there are no CONFIG_FILES.
3351 # This happens for instance with `./config.status config.h'.
3352 if test -n "$CONFIG_FILES"; then
3353
3354
3355 ac_cr=`echo X | tr X '\015'`
3356 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3357 # But we know of no other shell where ac_cr would be empty at this
3358 # point, so we can use a bashism as a fallback.
3359 if test "x$ac_cr" = x; then
3360 eval ac_cr=\$\'\\r\'
3361 fi
3362 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3363 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3364 ac_cs_awk_cr='\\r'
3365 else
3366 ac_cs_awk_cr=$ac_cr
3367 fi
3368
3369 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3370 _ACEOF
3371
3372
3373 {
3374 echo "cat >conf$$subs.awk <<_ACEOF" &&
3375 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3376 echo "_ACEOF"
3377 } >conf$$subs.sh ||
3378 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3379 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3380 ac_delim='%!_!# '
3381 for ac_last_try in false false false false false :; do
3382 . ./conf$$subs.sh ||
3383 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3384
3385 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3386 if test $ac_delim_n = $ac_delim_num; then
3387 break
3388 elif $ac_last_try; then
3389 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3390 else
3391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3392 fi
3393 done
3394 rm -f conf$$subs.sh
3395
3396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3397 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3398 _ACEOF
3399 sed -n '
3400 h
3401 s/^/S["/; s/!.*/"]=/
3402 p
3403 g
3404 s/^[^!]*!//
3405 :repl
3406 t repl
3407 s/'"$ac_delim"'$//
3408 t delim
3409 :nl
3410 h
3411 s/\(.\{148\}\)..*/\1/
3412 t more1
3413 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3414 p
3415 n
3416 b repl
3417 :more1
3418 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3419 p
3420 g
3421 s/.\{148\}//
3422 t nl
3423 :delim
3424 h
3425 s/\(.\{148\}\)..*/\1/
3426 t more2
3427 s/["\\]/\\&/g; s/^/"/; s/$/"/
3428 p
3429 b
3430 :more2
3431 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3432 p
3433 g
3434 s/.\{148\}//
3435 t delim
3436 ' <conf$$subs.awk | sed '
3437 /^[^""]/{
3438 N
3439 s/\n//
3440 }
3441 ' >>$CONFIG_STATUS || ac_write_fail=1
3442 rm -f conf$$subs.awk
3443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3444 _ACAWK
3445 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3446 for (key in S) S_is_set[key] = 1
3447 FS = ""
3448
3449 }
3450 {
3451 line = $ 0
3452 nfields = split(line, field, "@")
3453 substed = 0
3454 len = length(field[1])
3455 for (i = 2; i < nfields; i++) {
3456 key = field[i]
3457 keylen = length(key)
3458 if (S_is_set[key]) {
3459 value = S[key]
3460 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3461 len += length(value) + length(field[++i])
3462 substed = 1
3463 } else
3464 len += 1 + keylen
3465 }
3466
3467 print line
3468 }
3469
3470 _ACAWK
3471 _ACEOF
3472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3473 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3474 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3475 else
3476 cat
3477 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3478 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3479 _ACEOF
3480
3481 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3482 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3483 # trailing colons and then remove the whole line if VPATH becomes empty
3484 # (actually we leave an empty line to preserve line numbers).
3485 if test "x$srcdir" = x.; then
3486 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3487 h
3488 s///
3489 s/^/:/
3490 s/[ ]*$/:/
3491 s/:\$(srcdir):/:/g
3492 s/:\${srcdir}:/:/g
3493 s/:@srcdir@:/:/g
3494 s/^:*//
3495 s/:*$//
3496 x
3497 s/\(=[ ]*\).*/\1/
3498 G
3499 s/\n//
3500 s/^[^=]*=[ ]*$//
3501 }'
3502 fi
3503
3504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3505 fi # test -n "$CONFIG_FILES"
3506
3507
3508 eval set X " :F $CONFIG_FILES "
3509 shift
3510 for ac_tag
3511 do
3512 case $ac_tag in
3513 :[FHLC]) ac_mode=$ac_tag; continue;;
3514 esac
3515 case $ac_mode$ac_tag in
3516 :[FHL]*:*);;
3517 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3518 :[FH]-) ac_tag=-:-;;
3519 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3520 esac
3521 ac_save_IFS=$IFS
3522 IFS=:
3523 set x $ac_tag
3524 IFS=$ac_save_IFS
3525 shift
3526 ac_file=$1
3527 shift
3528
3529 case $ac_mode in
3530 :L) ac_source=$1;;
3531 :[FH])
3532 ac_file_inputs=
3533 for ac_f
3534 do
3535 case $ac_f in
3536 -) ac_f="$ac_tmp/stdin";;
3537 *) # Look for the file first in the build tree, then in the source tree
3538 # (if the path is not absolute). The absolute path cannot be DOS-style,
3539 # because $ac_f cannot contain `:'.
3540 test -f "$ac_f" ||
3541 case $ac_f in
3542 [\\/$]*) false;;
3543 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3544 esac ||
3545 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3546 esac
3547 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3548 as_fn_append ac_file_inputs " '$ac_f'"
3549 done
3550
3551 # Let's still pretend it is `configure' which instantiates (i.e., don't
3552 # use $as_me), people would be surprised to read:
3553 # /* config.h. Generated by config.status. */
3554 configure_input='Generated from '`
3555 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3556 `' by configure.'
3557 if test x"$ac_file" != x-; then
3558 configure_input="$ac_file. $configure_input"
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3560 $as_echo "$as_me: creating $ac_file" >&6;}
3561 fi
3562 # Neutralize special characters interpreted by sed in replacement strings.
3563 case $configure_input in #(
3564 *\&* | *\|* | *\\* )
3565 ac_sed_conf_input=`$as_echo "$configure_input" |
3566 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3567 *) ac_sed_conf_input=$configure_input;;
3568 esac
3569
3570 case $ac_tag in
3571 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3573 esac
3574 ;;
3575 esac
3576
3577 ac_dir=`$as_dirname -- "$ac_file" ||
3578 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3579 X"$ac_file" : 'X\(//\)[^/]' \| \
3580 X"$ac_file" : 'X\(//\)$' \| \
3581 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3582 $as_echo X"$ac_file" |
3583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3584 s//\1/
3585 q
3586 }
3587 /^X\(\/\/\)[^/].*/{
3588 s//\1/
3589 q
3590 }
3591 /^X\(\/\/\)$/{
3592 s//\1/
3593 q
3594 }
3595 /^X\(\/\).*/{
3596 s//\1/
3597 q
3598 }
3599 s/.*/./; q'`
3600 as_dir="$ac_dir"; as_fn_mkdir_p
3601 ac_builddir=.
3602
3603 case "$ac_dir" in
3604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3605 *)
3606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3607 # A ".." for each directory in $ac_dir_suffix.
3608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3609 case $ac_top_builddir_sub in
3610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3612 esac ;;
3613 esac
3614 ac_abs_top_builddir=$ac_pwd
3615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3616 # for backward compatibility:
3617 ac_top_builddir=$ac_top_build_prefix
3618
3619 case $srcdir in
3620 .) # We are building in place.
3621 ac_srcdir=.
3622 ac_top_srcdir=$ac_top_builddir_sub
3623 ac_abs_top_srcdir=$ac_pwd ;;
3624 [\\/]* | ?:[\\/]* ) # Absolute name.
3625 ac_srcdir=$srcdir$ac_dir_suffix;
3626 ac_top_srcdir=$srcdir
3627 ac_abs_top_srcdir=$srcdir ;;
3628 *) # Relative name.
3629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3630 ac_top_srcdir=$ac_top_build_prefix$srcdir
3631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3632 esac
3633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3634
3635
3636 case $ac_mode in
3637 :F)
3638 #
3639 # CONFIG_FILE
3640 #
3641
3642 case $INSTALL in
3643 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3644 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3645 esac
3646 ac_MKDIR_P=$MKDIR_P
3647 case $MKDIR_P in
3648 [\\/$]* | ?:[\\/]* ) ;;
3649 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3650 esac
3651 _ACEOF
3652
3653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3654 # If the template does not know about datarootdir, expand it.
3655 # FIXME: This hack should be removed a few years after 2.60.
3656 ac_datarootdir_hack=; ac_datarootdir_seen=
3657 ac_sed_dataroot='
3658 /datarootdir/ {
3659 p
3660 q
3661 }
3662 /@datadir@/p
3663 /@docdir@/p
3664 /@infodir@/p
3665 /@localedir@/p
3666 /@mandir@/p'
3667 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3668 *datarootdir*) ac_datarootdir_seen=yes;;
3669 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3671 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3672 _ACEOF
3673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3674 ac_datarootdir_hack='
3675 s&@datadir@&$datadir&g
3676 s&@docdir@&$docdir&g
3677 s&@infodir@&$infodir&g
3678 s&@localedir@&$localedir&g
3679 s&@mandir@&$mandir&g
3680 s&\\\${datarootdir}&$datarootdir&g' ;;
3681 esac
3682 _ACEOF
3683
3684 # Neutralize VPATH when `$srcdir' = `.'.
3685 # Shell code in configure.ac might set extrasub.
3686 # FIXME: do we really want to maintain this feature?
3687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3688 ac_sed_extra="$ac_vpsub
3689 $extrasub
3690 _ACEOF
3691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3692 :t
3693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3694 s|@configure_input@|$ac_sed_conf_input|;t t
3695 s&@top_builddir@&$ac_top_builddir_sub&;t t
3696 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3697 s&@srcdir@&$ac_srcdir&;t t
3698 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3699 s&@top_srcdir@&$ac_top_srcdir&;t t
3700 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3701 s&@builddir@&$ac_builddir&;t t
3702 s&@abs_builddir@&$ac_abs_builddir&;t t
3703 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3704 s&@INSTALL@&$ac_INSTALL&;t t
3705 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3706 $ac_datarootdir_hack
3707 "
3708 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3709 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3710
3711 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3712 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3713 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3714 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3716 which seems to be undefined. Please make sure it is defined" >&5
3717 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3718 which seems to be undefined. Please make sure it is defined" >&2;}
3719
3720 rm -f "$ac_tmp/stdin"
3721 case $ac_file in
3722 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3723 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3724 esac \
3725 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3726 ;;
3727
3728
3729
3730 esac
3731
3732 done # for ac_tag
3733
3734
3735 as_fn_exit 0
3736 _ACEOF
3737 ac_clean_files=$ac_clean_files_save
3738
3739 test $ac_write_fail = 0 ||
3740 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3741
3742
3743 # configure is writing to config.log, and then calls config.status.
3744 # config.status does its own redirection, appending to config.log.
3745 # Unfortunately, on DOS this fails, as config.log is still kept open
3746 # by configure, so config.status won't be able to write to it; its
3747 # output is simply discarded. So we exec the FD to /dev/null,
3748 # effectively closing config.log, so it can be properly (re)opened and
3749 # appended to by config.status. When coming back to configure, we
3750 # need to make the FD available again.
3751 if test "$no_create" != yes; then
3752 ac_cs_success=:
3753 ac_config_status_args=
3754 test "$silent" = yes &&
3755 ac_config_status_args="$ac_config_status_args --quiet"
3756 exec 5>/dev/null
3757 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3758 exec 5>>config.log
3759 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3760 # would make configure fail if this is the last instruction.
3761 $ac_cs_success || as_fn_exit 1
3762 fi
3763
3764 #
3765 # CONFIG_SUBDIRS section.
3766 #
3767 if test "$no_recursion" != yes; then
3768
3769 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
3770 # so they do not pile up.
3771 ac_sub_configure_args=
3772 ac_prev=
3773 eval "set x $ac_configure_args"
3774 shift
3775 for ac_arg
3776 do
3777 if test -n "$ac_prev"; then
3778 ac_prev=
3779 continue
3780 fi
3781 case $ac_arg in
3782 -cache-file | --cache-file | --cache-fil | --cache-fi \
3783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3784 ac_prev=cache_file ;;
3785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3787 | --c=*)
3788 ;;
3789 --config-cache | -C)
3790 ;;
3791 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3792 ac_prev=srcdir ;;
3793 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3794 ;;
3795 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3796 ac_prev=prefix ;;
3797 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3798 ;;
3799 --disable-option-checking)
3800 ;;
3801 *)
3802 case $ac_arg in
3803 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3804 esac
3805 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
3806 esac
3807 done
3808
3809 # Always prepend --prefix to ensure using the same prefix
3810 # in subdir configurations.
3811 ac_arg="--prefix=$prefix"
3812 case $ac_arg in
3813 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3814 esac
3815 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3816
3817 # Pass --silent
3818 if test "$silent" = yes; then
3819 ac_sub_configure_args="--silent $ac_sub_configure_args"
3820 fi
3821
3822 # Always prepend --disable-option-checking to silence warnings, since
3823 # different subdirs can have different --enable and --with options.
3824 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
3825
3826 ac_popdir=`pwd`
3827 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3828
3829 # Do not complain, so a configure script can configure whichever
3830 # parts of a large source tree are present.
3831 test -d "$srcdir/$ac_dir" || continue
3832
3833 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3834 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
3835 $as_echo "$ac_msg" >&6
3836 as_dir="$ac_dir"; as_fn_mkdir_p
3837 ac_builddir=.
3838
3839 case "$ac_dir" in
3840 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3841 *)
3842 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3843 # A ".." for each directory in $ac_dir_suffix.
3844 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3845 case $ac_top_builddir_sub in
3846 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3847 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3848 esac ;;
3849 esac
3850 ac_abs_top_builddir=$ac_pwd
3851 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3852 # for backward compatibility:
3853 ac_top_builddir=$ac_top_build_prefix
3854
3855 case $srcdir in
3856 .) # We are building in place.
3857 ac_srcdir=.
3858 ac_top_srcdir=$ac_top_builddir_sub
3859 ac_abs_top_srcdir=$ac_pwd ;;
3860 [\\/]* | ?:[\\/]* ) # Absolute name.
3861 ac_srcdir=$srcdir$ac_dir_suffix;
3862 ac_top_srcdir=$srcdir
3863 ac_abs_top_srcdir=$srcdir ;;
3864 *) # Relative name.
3865 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3866 ac_top_srcdir=$ac_top_build_prefix$srcdir
3867 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3868 esac
3869 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3870
3871
3872 cd "$ac_dir"
3873
3874 # Check for guested configure; otherwise get Cygnus style configure.
3875 if test -f "$ac_srcdir/configure.gnu"; then
3876 ac_sub_configure=$ac_srcdir/configure.gnu
3877 elif test -f "$ac_srcdir/configure"; then
3878 ac_sub_configure=$ac_srcdir/configure
3879 elif test -f "$ac_srcdir/configure.in"; then
3880 # This should be Cygnus configure.
3881 ac_sub_configure=$ac_aux_dir/configure
3882 else
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
3884 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3885 ac_sub_configure=
3886 fi
3887
3888 # The recursion is here.
3889 if test -n "$ac_sub_configure"; then
3890 # Make the cache file name correct relative to the subdirectory.
3891 case $cache_file in
3892 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3893 *) # Relative name.
3894 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3895 esac
3896
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3898 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3899 # The eval makes quoting arguments work.
3900 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3901 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3902 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
3903 fi
3904
3905 cd "$ac_popdir"
3906 done
3907 fi
3908 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3910 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3911 fi
3912
3913
+0
-151
autom4te.cache/requests less more
0 # This file was generated.
1 # It contains the lists of macros which have been traced.
2 # It can be safely removed.
3
4 @request = (
5 bless( [
6 '0',
7 1,
8 [
9 '/usr/share/autoconf'
10 ],
11 [
12 '/usr/share/autoconf/autoconf/autoconf.m4f',
13 '/usr/share/aclocal-1.11/amversion.m4',
14 '/usr/share/aclocal-1.11/auxdir.m4',
15 '/usr/share/aclocal-1.11/cond.m4',
16 '/usr/share/aclocal-1.11/depend.m4',
17 '/usr/share/aclocal-1.11/depout.m4',
18 '/usr/share/aclocal-1.11/init.m4',
19 '/usr/share/aclocal-1.11/install-sh.m4',
20 '/usr/share/aclocal-1.11/lead-dot.m4',
21 '/usr/share/aclocal-1.11/maintainer.m4',
22 '/usr/share/aclocal-1.11/make.m4',
23 '/usr/share/aclocal-1.11/missing.m4',
24 '/usr/share/aclocal-1.11/mkdirp.m4',
25 '/usr/share/aclocal-1.11/options.m4',
26 '/usr/share/aclocal-1.11/runlog.m4',
27 '/usr/share/aclocal-1.11/sanity.m4',
28 '/usr/share/aclocal-1.11/silent.m4',
29 '/usr/share/aclocal-1.11/strip.m4',
30 '/usr/share/aclocal-1.11/substnot.m4',
31 '/usr/share/aclocal-1.11/tar.m4',
32 'config/osm.m4',
33 'configure.in'
34 ],
35 {
36 'OPENIB_APP_OSM' => 1,
37 'm4_pattern_forbid' => 1,
38 'jm_MAINTAINER_MODE' => 1,
39 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
40 '_AM_SET_OPTION' => 1,
41 'AC_DEFUN' => 1,
42 'AM_PROG_MKDIR_P' => 1,
43 'AM_INIT_AUTOMAKE' => 1,
44 'AM_AUTOMAKE_VERSION' => 1,
45 'AM_MISSING_HAS_RUN' => 1,
46 'AM_SUBST_NOTMAKE' => 1,
47 'AM_MISSING_PROG' => 1,
48 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
49 'AM_MAINTAINER_MODE' => 1,
50 'AC_DEFUN_ONCE' => 1,
51 'AM_PROG_INSTALL_STRIP' => 1,
52 '_m4_warn' => 1,
53 'AM_SANITY_CHECK' => 1,
54 'AM_SILENT_RULES' => 1,
55 'include' => 1,
56 '_AM_PROG_TAR' => 1,
57 'AM_AUX_DIR_EXPAND' => 1,
58 'AM_DEP_TRACK' => 1,
59 '_AM_SET_OPTIONS' => 1,
60 '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
61 'AM_RUN_LOG' => 1,
62 '_AM_IF_OPTION' => 1,
63 '_AM_SUBST_NOTMAKE' => 1,
64 'm4_pattern_allow' => 1,
65 '_AM_AUTOCONF_VERSION' => 1,
66 '_AM_MANGLE_OPTION' => 1,
67 'AM_CONDITIONAL' => 1,
68 'AM_SET_LEADING_DOT' => 1,
69 'AM_SET_DEPDIR' => 1,
70 '_AM_DEPENDENCIES' => 1,
71 'm4_include' => 1,
72 'AM_PROG_INSTALL_SH' => 1,
73 '_AC_AM_CONFIG_HEADER_HOOK' => 1,
74 'AU_DEFUN' => 1,
75 'AM_MAKE_INCLUDE' => 1
76 }
77 ], 'Autom4te::Request' ),
78 bless( [
79 '1',
80 1,
81 [
82 '/usr/share/autoconf'
83 ],
84 [
85 '/usr/share/autoconf/autoconf/autoconf.m4f',
86 'aclocal.m4',
87 'configure.in'
88 ],
89 {
90 '_LT_AC_TAGCONFIG' => 1,
91 'AM_PROG_F77_C_O' => 1,
92 'AC_INIT' => 1,
93 'm4_pattern_forbid' => 1,
94 'AC_CANONICAL_TARGET' => 1,
95 '_AM_COND_IF' => 1,
96 'AC_CONFIG_LIBOBJ_DIR' => 1,
97 'AC_SUBST' => 1,
98 'AC_CANONICAL_HOST' => 1,
99 'AC_FC_SRCEXT' => 1,
100 'AC_PROG_LIBTOOL' => 1,
101 'AM_INIT_AUTOMAKE' => 1,
102 'AC_CONFIG_SUBDIRS' => 1,
103 'AM_PATH_GUILE' => 1,
104 'AM_AUTOMAKE_VERSION' => 1,
105 'LT_CONFIG_LTDL_DIR' => 1,
106 'AC_CONFIG_LINKS' => 1,
107 'AC_REQUIRE_AUX_FILE' => 1,
108 'm4_sinclude' => 1,
109 'LT_SUPPORTED_TAG' => 1,
110 'AM_MAINTAINER_MODE' => 1,
111 'AM_NLS' => 1,
112 'AC_FC_PP_DEFINE' => 1,
113 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
114 '_m4_warn' => 1,
115 'AM_MAKEFILE_INCLUDE' => 1,
116 'AM_PROG_CXX_C_O' => 1,
117 '_AM_COND_ENDIF' => 1,
118 '_AM_MAKEFILE_INCLUDE' => 1,
119 'AM_ENABLE_MULTILIB' => 1,
120 'AM_PROG_MOC' => 1,
121 'AM_SILENT_RULES' => 1,
122 'AC_CONFIG_FILES' => 1,
123 'include' => 1,
124 'LT_INIT' => 1,
125 'AM_GNU_GETTEXT' => 1,
126 'AM_PROG_AR' => 1,
127 'AC_LIBSOURCE' => 1,
128 'AC_CANONICAL_BUILD' => 1,
129 'AM_PROG_FC_C_O' => 1,
130 'AC_FC_FREEFORM' => 1,
131 'AC_FC_PP_SRCEXT' => 1,
132 'AH_OUTPUT' => 1,
133 'AC_CONFIG_AUX_DIR' => 1,
134 '_AM_SUBST_NOTMAKE' => 1,
135 'AM_PROG_CC_C_O' => 1,
136 'sinclude' => 1,
137 'm4_pattern_allow' => 1,
138 'AM_CONDITIONAL' => 1,
139 'AC_CANONICAL_SYSTEM' => 1,
140 'AM_XGETTEXT_OPTION' => 1,
141 'AC_CONFIG_HEADERS' => 1,
142 'AC_DEFINE_TRACE_LITERAL' => 1,
143 'AM_POT_TOOLS' => 1,
144 'm4_include' => 1,
145 '_AM_COND_ELSE' => 1,
146 'AC_SUBST_TRACE' => 1
147 }
148 ], 'Autom4te::Request' )
149 );
150
+0
-957
autom4te.cache/traces.0 less more
0 m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
1 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
2 dnl require some minimum version. Point them to the right macro.
3 m4_if([$1], [1.11.1], [],
4 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
5 ])
6 m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
7 m4_ifndef([AC_AUTOCONF_VERSION],
8 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
9 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
10 m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
11 AC_PREREQ([2.50])dnl
12 # expand $ac_aux_dir to an absolute path
13 am_aux_dir=`cd $ac_aux_dir && pwd`
14 ])
15 m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
16 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
17 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
18 AC_SUBST([$1_TRUE])dnl
19 AC_SUBST([$1_FALSE])dnl
20 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
21 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
22 m4_define([_AM_COND_VALUE_$1], [$2])dnl
23 if $2; then
24 $1_TRUE=
25 $1_FALSE='#'
26 else
27 $1_TRUE='#'
28 $1_FALSE=
29 fi
30 AC_CONFIG_COMMANDS_PRE(
31 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
32 AC_MSG_ERROR([[conditional "$1" was never defined.
33 Usually this means the macro was only invoked conditionally.]])
34 fi])])
35 m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
36 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
37 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
38 AC_REQUIRE([AM_DEP_TRACK])dnl
39
40 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
41 [$1], CXX, [depcc="$CXX" am_compiler_list=],
42 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
43 [$1], UPC, [depcc="$UPC" am_compiler_list=],
44 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
45 [depcc="$$1" am_compiler_list=])
46
47 AC_CACHE_CHECK([dependency style of $depcc],
48 [am_cv_$1_dependencies_compiler_type],
49 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
50 # We make a subdir and do the tests there. Otherwise we can end up
51 # making bogus files that we don't know about and never remove. For
52 # instance it was reported that on HP-UX the gcc test will end up
53 # making a dummy file named `D' -- because `-MD' means `put the output
54 # in D'.
55 mkdir conftest.dir
56 # Copy depcomp to subdir because otherwise we won't find it if we're
57 # using a relative directory.
58 cp "$am_depcomp" conftest.dir
59 cd conftest.dir
60 # We will build objects and dependencies in a subdirectory because
61 # it helps to detect inapplicable dependency modes. For instance
62 # both Tru64's cc and ICC support -MD to output dependencies as a
63 # side effect of compilation, but ICC will put the dependencies in
64 # the current directory while Tru64 will put them in the object
65 # directory.
66 mkdir sub
67
68 am_cv_$1_dependencies_compiler_type=none
69 if test "$am_compiler_list" = ""; then
70 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
71 fi
72 am__universal=false
73 m4_case([$1], [CC],
74 [case " $depcc " in #(
75 *\ -arch\ *\ -arch\ *) am__universal=true ;;
76 esac],
77 [CXX],
78 [case " $depcc " in #(
79 *\ -arch\ *\ -arch\ *) am__universal=true ;;
80 esac])
81
82 for depmode in $am_compiler_list; do
83 # Setup a source with many dependencies, because some compilers
84 # like to wrap large dependency lists on column 80 (with \), and
85 # we should not choose a depcomp mode which is confused by this.
86 #
87 # We need to recreate these files for each test, as the compiler may
88 # overwrite some of them when testing with obscure command lines.
89 # This happens at least with the AIX C compiler.
90 : > sub/conftest.c
91 for i in 1 2 3 4 5 6; do
92 echo '#include "conftst'$i'.h"' >> sub/conftest.c
93 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
94 # Solaris 8's {/usr,}/bin/sh.
95 touch sub/conftst$i.h
96 done
97 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
98
99 # We check with `-c' and `-o' for the sake of the "dashmstdout"
100 # mode. It turns out that the SunPro C++ compiler does not properly
101 # handle `-M -o', and we need to detect this. Also, some Intel
102 # versions had trouble with output in subdirs
103 am__obj=sub/conftest.${OBJEXT-o}
104 am__minus_obj="-o $am__obj"
105 case $depmode in
106 gcc)
107 # This depmode causes a compiler race in universal mode.
108 test "$am__universal" = false || continue
109 ;;
110 nosideeffect)
111 # after this tag, mechanisms are not by side-effect, so they'll
112 # only be used when explicitly requested
113 if test "x$enable_dependency_tracking" = xyes; then
114 continue
115 else
116 break
117 fi
118 ;;
119 msvisualcpp | msvcmsys)
120 # This compiler won't grok `-c -o', but also, the minuso test has
121 # not run yet. These depmodes are late enough in the game, and
122 # so weak that their functioning should not be impacted.
123 am__obj=conftest.${OBJEXT-o}
124 am__minus_obj=
125 ;;
126 none) break ;;
127 esac
128 if depmode=$depmode \
129 source=sub/conftest.c object=$am__obj \
130 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
131 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
132 >/dev/null 2>conftest.err &&
133 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
134 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
135 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
136 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
137 # icc doesn't choke on unknown options, it will just issue warnings
138 # or remarks (even with -Werror). So we grep stderr for any message
139 # that says an option was ignored or not supported.
140 # When given -MP, icc 7.0 and 7.1 complain thusly:
141 # icc: Command line warning: ignoring option '-M'; no argument required
142 # The diagnosis changed in icc 8.0:
143 # icc: Command line remark: option '-MP' not supported
144 if (grep 'ignoring option' conftest.err ||
145 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
146 am_cv_$1_dependencies_compiler_type=$depmode
147 break
148 fi
149 fi
150 done
151
152 cd ..
153 rm -rf conftest.dir
154 else
155 am_cv_$1_dependencies_compiler_type=none
156 fi
157 ])
158 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
159 AM_CONDITIONAL([am__fastdep$1], [
160 test "x$enable_dependency_tracking" != xno \
161 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
162 ])
163 m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
164 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
165 ])
166 m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
167 [ --disable-dependency-tracking speeds up one-time build
168 --enable-dependency-tracking do not reject slow dependency extractors])
169 if test "x$enable_dependency_tracking" != xno; then
170 am_depcomp="$ac_aux_dir/depcomp"
171 AMDEPBACKSLASH='\'
172 fi
173 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
174 AC_SUBST([AMDEPBACKSLASH])dnl
175 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
176 ])
177 m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
178 # Autoconf 2.62 quotes --file arguments for eval, but not when files
179 # are listed without --file. Let's play safe and only enable the eval
180 # if we detect the quoting.
181 case $CONFIG_FILES in
182 *\'*) eval set x "$CONFIG_FILES" ;;
183 *) set x $CONFIG_FILES ;;
184 esac
185 shift
186 for mf
187 do
188 # Strip MF so we end up with the name of the file.
189 mf=`echo "$mf" | sed -e 's/:.*$//'`
190 # Check whether this is an Automake generated Makefile or not.
191 # We used to match only the files named `Makefile.in', but
192 # some people rename them; so instead we look at the file content.
193 # Grep'ing the first line is not enough: some people post-process
194 # each Makefile.in and add a new line on top of each file to say so.
195 # Grep'ing the whole file is not good either: AIX grep has a line
196 # limit of 2048, but all sed's we know have understand at least 4000.
197 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
198 dirpart=`AS_DIRNAME("$mf")`
199 else
200 continue
201 fi
202 # Extract the definition of DEPDIR, am__include, and am__quote
203 # from the Makefile without running `make'.
204 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
205 test -z "$DEPDIR" && continue
206 am__include=`sed -n 's/^am__include = //p' < "$mf"`
207 test -z "am__include" && continue
208 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
209 # When using ansi2knr, U may be empty or an underscore; expand it
210 U=`sed -n 's/^U = //p' < "$mf"`
211 # Find all dependency output files, they are included files with
212 # $(DEPDIR) in their names. We invoke sed twice because it is the
213 # simplest approach to changing $(DEPDIR) to its actual value in the
214 # expansion.
215 for file in `sed -n "
216 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
217 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
218 # Make sure the directory exists.
219 test -f "$dirpart/$file" && continue
220 fdir=`AS_DIRNAME(["$file"])`
221 AS_MKDIR_P([$dirpart/$fdir])
222 # echo "creating $dirpart/$file"
223 echo '# dummy' > "$dirpart/$file"
224 done
225 done
226 }
227 ])
228 m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
229 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
230 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
231 ])
232 m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
233 dnl Autoconf wants to disallow AM_ names. We explicitly allow
234 dnl the ones we care about.
235 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
236 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
237 AC_REQUIRE([AC_PROG_INSTALL])dnl
238 if test "`cd $srcdir && pwd`" != "`pwd`"; then
239 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
240 # is not polluted with repeated "-I."
241 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
242 # test to see if srcdir already configured
243 if test -f $srcdir/config.status; then
244 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
245 fi
246 fi
247
248 # test whether we have cygpath
249 if test -z "$CYGPATH_W"; then
250 if (cygpath --version) >/dev/null 2>/dev/null; then
251 CYGPATH_W='cygpath -w'
252 else
253 CYGPATH_W=echo
254 fi
255 fi
256 AC_SUBST([CYGPATH_W])
257
258 # Define the identity of the package.
259 dnl Distinguish between old-style and new-style calls.
260 m4_ifval([$2],
261 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
262 AC_SUBST([PACKAGE], [$1])dnl
263 AC_SUBST([VERSION], [$2])],
264 [_AM_SET_OPTIONS([$1])dnl
265 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
266 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
267 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
268 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
269 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
270
271 _AM_IF_OPTION([no-define],,
272 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
273 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
274
275 # Some tools Automake needs.
276 AC_REQUIRE([AM_SANITY_CHECK])dnl
277 AC_REQUIRE([AC_ARG_PROGRAM])dnl
278 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
279 AM_MISSING_PROG(AUTOCONF, autoconf)
280 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
281 AM_MISSING_PROG(AUTOHEADER, autoheader)
282 AM_MISSING_PROG(MAKEINFO, makeinfo)
283 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
284 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
285 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
286 # We need awk for the "check" target. The system "awk" is bad on
287 # some platforms.
288 AC_REQUIRE([AC_PROG_AWK])dnl
289 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
290 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
291 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
292 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
293 [_AM_PROG_TAR([v7])])])
294 _AM_IF_OPTION([no-dependencies],,
295 [AC_PROVIDE_IFELSE([AC_PROG_CC],
296 [_AM_DEPENDENCIES(CC)],
297 [define([AC_PROG_CC],
298 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
299 AC_PROVIDE_IFELSE([AC_PROG_CXX],
300 [_AM_DEPENDENCIES(CXX)],
301 [define([AC_PROG_CXX],
302 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
303 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
304 [_AM_DEPENDENCIES(OBJC)],
305 [define([AC_PROG_OBJC],
306 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
307 ])
308 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
309 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
310 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
311 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
312 AC_CONFIG_COMMANDS_PRE(dnl
313 [m4_provide_if([_AM_COMPILER_EXEEXT],
314 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
315 ])
316 m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
317 _am_arg=$1
318 _am_stamp_count=1
319 for _am_header in $config_headers :; do
320 case $_am_header in
321 $_am_arg | $_am_arg:* )
322 break ;;
323 * )
324 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
325 esac
326 done
327 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
328 m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
329 if test x"${install_sh}" != xset; then
330 case $am_aux_dir in
331 *\ * | *\ *)
332 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
333 *)
334 install_sh="\${SHELL} $am_aux_dir/install-sh"
335 esac
336 fi
337 AC_SUBST(install_sh)])
338 m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
339 mkdir .tst 2>/dev/null
340 if test -d .tst; then
341 am__leading_dot=.
342 else
343 am__leading_dot=_
344 fi
345 rmdir .tst 2>/dev/null
346 AC_SUBST([am__leading_dot])])
347 m4trace:/usr/share/aclocal-1.11/maintainer.m4:19: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]),
348 [enable], [m4_define([am_maintainer_other], [disable])],
349 [disable], [m4_define([am_maintainer_other], [enable])],
350 [m4_define([am_maintainer_other], [enable])
351 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
352 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
353 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
354 AC_ARG_ENABLE([maintainer-mode],
355 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
356 (and sometimes confusing) to the casual installer],
357 [USE_MAINTAINER_MODE=$enableval],
358 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
359 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
360 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
361 MAINT=$MAINTAINER_MODE_TRUE
362 AC_SUBST([MAINT])dnl
363
364 ])
365 m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
366 m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete.
367 You should run autoupdate.])dnl
368 AM_MAINTAINER_MODE])
369 m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
370 cat > confinc << 'END'
371 am__doit:
372 @echo this is the am__doit target
373 .PHONY: am__doit
374 END
375 # If we don't find an include directive, just comment out the code.
376 AC_MSG_CHECKING([for style of include used by $am_make])
377 am__include="#"
378 am__quote=
379 _am_result=none
380 # First try GNU make style include.
381 echo "include confinc" > confmf
382 # Ignore all kinds of additional output from `make'.
383 case `$am_make -s -f confmf 2> /dev/null` in #(
384 *the\ am__doit\ target*)
385 am__include=include
386 am__quote=
387 _am_result=GNU
388 ;;
389 esac
390 # Now try BSD make style include.
391 if test "$am__include" = "#"; then
392 echo '.include "confinc"' > confmf
393 case `$am_make -s -f confmf 2> /dev/null` in #(
394 *the\ am__doit\ target*)
395 am__include=.include
396 am__quote="\""
397 _am_result=BSD
398 ;;
399 esac
400 fi
401 AC_SUBST([am__include])
402 AC_SUBST([am__quote])
403 AC_MSG_RESULT([$_am_result])
404 rm -f confinc confmf
405 ])
406 m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
407 $1=${$1-"${am_missing_run}$2"}
408 AC_SUBST($1)])
409 m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
410 AC_REQUIRE_AUX_FILE([missing])dnl
411 if test x"${MISSING+set}" != xset; then
412 case $am_aux_dir in
413 *\ * | *\ *)
414 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
415 *)
416 MISSING="\${SHELL} $am_aux_dir/missing" ;;
417 esac
418 fi
419 # Use eval to expand $SHELL
420 if eval "$MISSING --run true"; then
421 am_missing_run="$MISSING --run "
422 else
423 am_missing_run=
424 AC_MSG_WARN([`missing' script is too old or missing])
425 fi
426 ])
427 m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
428 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
429 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
430 dnl while keeping a definition of mkdir_p for backward compatibility.
431 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
432 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
433 dnl Makefile.ins that do not define MKDIR_P, so we do our own
434 dnl adjustment using top_builddir (which is defined more often than
435 dnl MKDIR_P).
436 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
437 case $mkdir_p in
438 [[\\/$]]* | ?:[[\\/]]*) ;;
439 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
440 esac
441 ])
442 m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
443 m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
444 m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
445 m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
446 m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
447 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
448 ac_status=$?
449 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
450 (exit $ac_status); }])
451 m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
452 # Just in case
453 sleep 1
454 echo timestamp > conftest.file
455 # Reject unsafe characters in $srcdir or the absolute working directory
456 # name. Accept space and tab only in the latter.
457 am_lf='
458 '
459 case `pwd` in
460 *[[\\\"\#\$\&\'\`$am_lf]]*)
461 AC_MSG_ERROR([unsafe absolute working directory name]);;
462 esac
463 case $srcdir in
464 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
465 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
466 esac
467
468 # Do `set' in a subshell so we don't clobber the current shell's
469 # arguments. Must try -L first in case configure is actually a
470 # symlink; some systems play weird games with the mod time of symlinks
471 # (eg FreeBSD returns the mod time of the symlink's containing
472 # directory).
473 if (
474 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
475 if test "$[*]" = "X"; then
476 # -L didn't work.
477 set X `ls -t "$srcdir/configure" conftest.file`
478 fi
479 rm -f conftest.file
480 if test "$[*]" != "X $srcdir/configure conftest.file" \
481 && test "$[*]" != "X conftest.file $srcdir/configure"; then
482
483 # If neither matched, then we have a broken ls. This can happen
484 # if, for instance, CONFIG_SHELL is bash and it inherits a
485 # broken ls alias from the environment. This has actually
486 # happened. Such a system could not be considered "sane".
487 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
488 alias in your environment])
489 fi
490
491 test "$[2]" = conftest.file
492 )
493 then
494 # Ok.
495 :
496 else
497 AC_MSG_ERROR([newly created file is older than distributed files!
498 Check your system clock])
499 fi
500 AC_MSG_RESULT(yes)])
501 m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
502 [ --enable-silent-rules less verbose build output (undo: `make V=1')
503 --disable-silent-rules verbose build output (undo: `make V=0')])
504 case $enable_silent_rules in
505 yes) AM_DEFAULT_VERBOSITY=0;;
506 no) AM_DEFAULT_VERBOSITY=1;;
507 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
508 esac
509 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
510 AM_BACKSLASH='\'
511 AC_SUBST([AM_BACKSLASH])dnl
512 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
513 ])
514 m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
515 # Installed binaries are usually stripped using `strip' when the user
516 # run `make install-strip'. However `strip' might not be the right
517 # tool to use in cross-compilation environments, therefore Automake
518 # will honor the `STRIP' environment variable to overrule this program.
519 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
520 if test "$cross_compiling" != no; then
521 AC_CHECK_TOOL([STRIP], [strip], :)
522 fi
523 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
524 AC_SUBST([INSTALL_STRIP_PROGRAM])])
525 m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
526 m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
527 m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
528 AM_MISSING_PROG([AMTAR], [tar])
529 m4_if([$1], [v7],
530 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
531 [m4_case([$1], [ustar],, [pax],,
532 [m4_fatal([Unknown tar format])])
533 AC_MSG_CHECKING([how to create a $1 tar archive])
534 # Loop over all known methods to create a tar archive until one works.
535 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
536 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
537 # Do not fold the above two line into one, because Tru64 sh and
538 # Solaris sh will not grok spaces in the rhs of `-'.
539 for _am_tool in $_am_tools
540 do
541 case $_am_tool in
542 gnutar)
543 for _am_tar in tar gnutar gtar;
544 do
545 AM_RUN_LOG([$_am_tar --version]) && break
546 done
547 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
548 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
549 am__untar="$_am_tar -xf -"
550 ;;
551 plaintar)
552 # Must skip GNU tar: if it does not support --format= it doesn't create
553 # ustar tarball either.
554 (tar --version) >/dev/null 2>&1 && continue
555 am__tar='tar chf - "$$tardir"'
556 am__tar_='tar chf - "$tardir"'
557 am__untar='tar xf -'
558 ;;
559 pax)
560 am__tar='pax -L -x $1 -w "$$tardir"'
561 am__tar_='pax -L -x $1 -w "$tardir"'
562 am__untar='pax -r'
563 ;;
564 cpio)
565 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
566 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
567 am__untar='cpio -i -H $1 -d'
568 ;;
569 none)
570 am__tar=false
571 am__tar_=false
572 am__untar=false
573 ;;
574 esac
575
576 # If the value was cached, stop now. We just wanted to have am__tar
577 # and am__untar set.
578 test -n "${am_cv_prog_tar_$1}" && break
579
580 # tar/untar a dummy directory, and stop if the command works
581 rm -rf conftest.dir
582 mkdir conftest.dir
583 echo GrepMe > conftest.dir/file
584 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
585 rm -rf conftest.dir
586 if test -s conftest.tar; then
587 AM_RUN_LOG([$am__untar <conftest.tar])
588 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
589 fi
590 done
591 rm -rf conftest.dir
592
593 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
594 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
595 AC_SUBST([am__tar])
596 AC_SUBST([am__untar])
597 ])
598 m4trace:config/osm.m4:20: -1- AC_DEFUN([OPENIB_APP_OSM], [
599 # --- BEGIN OPENIB_APP_OSM ---
600 dnl To link against OpenSM Vendor or Complib, configure does several
601 dnl things to make my life "easier".
602 dnl
603 dnl * if the user did define where opensm is look for it in "standard" places
604 dnl * if can not be found - ask the user for --with-osm
605 dnl * figure out if OpenSM was compiles in debug mode or not
606 dnl
607 dnl As we might have an OpenSM installation of IBGD or OpenIB and
608 dnl different vendors too we need to use some heuristics for
609 dnl figuring out the type of both STACK and VENDOR.
610 dnl Heuristics is:
611 dnl
612 dnl If with_osm is not provided look fo it under:
613 dnl /usr/local/ibgd/apps/osm
614 dnl /usr/mellanox/osm
615 dnl /usr/mellanox/osm-sim
616 dnl /usr/local/lib/libopensm.a
617 dnl /usr/lib/libopensm.a
618 dnl
619 dnl Figure out what kind of BUILD it is gen1 or gen2:
620 dnl if the with_osm/include/infiniband exists we are on gen2 stack
621 dnl
622 dnl Now decide what vendor was built:
623 dnl if gen2 build
624 dnl if $with_osm/lib/osmvendor_gen1.so -> ts
625 dnl if $with_osm/lib/osmvendor_mtl.so -> mtl
626 dnl if $with_osm/lib/osmvendor_sim.so -> sim
627 dnl if $with_osm/lib/osmvendor.so -> openib
628 dnl if gen1 build
629 dnl if $with_osm/lib/osmsvc_ts.so -> ts
630 dnl if $with_osm/lib/osmsvc_mtl.so -> mtl
631 dnl if $with_osm/lib/osmsvc_sim.so -> sim
632 dnl ----------------------------------------------------------------
633
634 dnl Define a way for the user to provide path to OpenSM
635 AC_ARG_WITH(osm,
636 [ --with-osm=<dir> define OSM prefix],
637 AC_MSG_NOTICE(Using OSM from:$with_osm),
638 with_osm="none")
639
640 dnl Define a way for the user to provide path to OpenSM libs
641 AC_ARG_WITH(osm-libs,
642 [ --with-osm-libs=<dir> define where to find OSM libs],
643 AC_MSG_NOTICE(Using OSM libs from:$with_osm_libs),
644 with_osm_libs="none")
645
646 osm_lib_dir="none"
647
648 if test "x$libcheck" = "xtrue"; then
649 dnl if the user did not provide --with-osm look for it in reasonable places
650 if test "x$with_osm" = xnone; then
651 if test -d /usr/local/ibgd/apps/osm; then
652 with_osm=/usr/local/ibgd/apps/osm
653 elif test -d /usr/mellanox/osm; then
654 with_osm=/usr/mellanox
655 dnl if it is an ofed or gen2 install, we can use /etc/infiniband/info for searching opensm prefix
656 elif test -f /etc/infiniband/info; then
657 ofed_dir=`/etc/infiniband/info | grep prefix | cut -d = -f 2`
658 if (test -f $ofed_dir/lib/libopensm.so ||
659 test -f $ofed_dir/lib64/libopensm.so); then
660 with_osm=$ofed_dir
661 fi
662 elif (test -f /usr/local/lib64/libopensm.so ||
663 test -f /usr/local/lib/libopensm.so); then
664 with_osm=/usr/local
665 elif (test -f /usr/lib64/libopensm.so ||
666 test -f /usr/lib/libopensm.so); then
667 with_osm=/usr
668 else
669 AC_MSG_ERROR([OSM: --with-osm must be provided - fail to find standard OpenSM installation])
670 fi
671 fi
672 AC_MSG_NOTICE(OSM: used from $with_osm)
673
674 if test "x$with_osm_libs" = "xnone"; then
675 dnl if the user did not provide --with-osm-libs then look for it based on $with_osm
676 if (test -f $with_osm/lib64/libosmvendor_gen1.so ||
677 test -f $with_osm/lib64/libosmvendor_vapi.so ||
678 test -f $with_osm/lib64/libopensm.so ||
679 test -f $with_osm/lib64/libosmvendor_sim.so); then
680 osm_lib_dir=lib64
681 else
682 osm_lib_dir=lib
683 fi
684 with_osm_libs=$with_osm/$osm_lib_dir
685 fi
686
687 dnl check what build we have gen1 or gen2
688 if test -d $with_osm/include/infiniband; then
689 OSM_BUILD=openib
690 else
691 OSM_BUILD=gen1
692 fi
693 AC_MSG_NOTICE(OSM: build type $OSM_BUILD)
694
695 OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
696 dnl based on the with_osm dir and the libs available
697 dnl we can try and decide what vendor was used:
698 if test $OSM_BUILD = openib; then
699 dnl it is an OpenIB based build but can be any vendor too.
700 osm_include_dir="$with_osm/include/infiniband"
701 osm_extra_includes="-I$with_osm/include"
702
703 if test -L $with_osm_libs/libosmvendor_gen1.so; then
704 OSM_VENDOR=ts
705 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
706 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp"
707 elif test -L $with_osm_libs/libosmvendor_vapi.so; then
708 OSM_VENDOR=mtl
709 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
710 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -lvapi -lib_mgt"
711 elif test -L $with_osm_libs/libosmvendor_sim.so; then
712 OSM_VENDOR=sim
713 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
714 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -libmscli -losmcomp"
715 elif test -L $with_osm_libs/libopensm.so; then
716 OSM_VENDOR=openib
717 osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
718 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
719 else
720 AC_MSG_ERROR([OSM: Fail to recognize vendor type])
721 fi
722 osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
723 else
724 # we are in gen1 build
725 osm_include_dir="$with_osm/include"
726
727 if test -L $with_osm_libs/libosmsvc_ts.so; then
728 OSM_VENDOR=ts
729 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_ts -lcomplib"
730 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
731 elif test -L $with_osm_libs/libosmsvc_mtl.so; then
732 OSM_VENDOR=mtl
733 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_mtl -lcomplib -lvapi -lib_mgt"
734 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
735 elif test -L $with_osm_libs/libosmsvc_sim.so; then
736 OSM_VENDOR=sim
737 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
738 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
739 else
740 AC_MSG_ERROR([OSM: Fail to recognize vendor type])
741 fi
742 fi
743 AC_MSG_NOTICE(OSM: vendor type $OSM_VENDOR)
744
745
746 dnl validate the defined path - so the build id header is there
747 AC_CHECK_FILE($osm_include_dir/opensm/osm_config.h,,
748 AC_MSG_ERROR([OSM: could not find $with_osm/include/opensm/osm_config.h]))
749
750 dnl now figure out somehow if the build was for debug or not
751 grep '#define OSM_DEBUG 1' $osm_include_dir/opensm/osm_config.h > /dev/null
752 if test $? -eq 0 ; then
753 dnl why did they need so many ???
754 osm_debug_flags='-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG'
755 AC_MSG_NOTICE(OSM: compiled in DEBUG mode)
756 else
757 osm_debug_flags=
758 fi
759
760 OSM_CFLAGS="-I$osm_include_dir $osm_extra_includes $osm_debug_flags $osm_vendor_sel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1"
761 else
762 dnl dummy values
763 with_osm=disabled
764 OSM_CLFAGS=disabled
765 OSM_LDFLAGS=disabled
766 OSM_VEDNOR=disabled
767 OSM_BUILD=disabled
768 fi
769
770 AM_CONDITIONAL(OSM_VENDOR_TS, test "x$OSM_VENDOR" = xts)
771 AM_CONDITIONAL(OSM_VENDOR_MTL, test "x$OSM_VENDOR" = xmtl)
772 AM_CONDITIONAL(OSM_VENDOR_SIM, test "x$OSM_VENDOR" = xsim)
773 AM_CONDITIONAL(OSM_BUILD_OPENIB, test "x$OSM_BUILD" = xopenib)
774
775 AC_SUBST(with_osm)
776 AC_SUBST(OSM_CFLAGS)
777 AC_SUBST(OSM_LDFLAGS)
778 AC_SUBST(OSM_VENDOR)
779 AC_SUBST(OSM_BUILD)
780
781 # --- OPENIB_APP_OSM ---
782 ])
783 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?A[CHUM]_])
784 m4trace:configure.in:35: -1- m4_pattern_forbid([_AC_])
785 m4trace:configure.in:35: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
786 m4trace:configure.in:35: -1- m4_pattern_allow([^AS_FLAGS$])
787 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?m4_])
788 m4trace:configure.in:35: -1- m4_pattern_forbid([^dnl$])
789 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?AS_])
790 m4trace:configure.in:35: -1- m4_pattern_allow([^SHELL$])
791 m4trace:configure.in:35: -1- m4_pattern_allow([^PATH_SEPARATOR$])
792 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
793 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
794 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
795 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
796 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
797 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
798 m4trace:configure.in:35: -1- m4_pattern_allow([^exec_prefix$])
799 m4trace:configure.in:35: -1- m4_pattern_allow([^prefix$])
800 m4trace:configure.in:35: -1- m4_pattern_allow([^program_transform_name$])
801 m4trace:configure.in:35: -1- m4_pattern_allow([^bindir$])
802 m4trace:configure.in:35: -1- m4_pattern_allow([^sbindir$])
803 m4trace:configure.in:35: -1- m4_pattern_allow([^libexecdir$])
804 m4trace:configure.in:35: -1- m4_pattern_allow([^datarootdir$])
805 m4trace:configure.in:35: -1- m4_pattern_allow([^datadir$])
806 m4trace:configure.in:35: -1- m4_pattern_allow([^sysconfdir$])
807 m4trace:configure.in:35: -1- m4_pattern_allow([^sharedstatedir$])
808 m4trace:configure.in:35: -1- m4_pattern_allow([^localstatedir$])
809 m4trace:configure.in:35: -1- m4_pattern_allow([^includedir$])
810 m4trace:configure.in:35: -1- m4_pattern_allow([^oldincludedir$])
811 m4trace:configure.in:35: -1- m4_pattern_allow([^docdir$])
812 m4trace:configure.in:35: -1- m4_pattern_allow([^infodir$])
813 m4trace:configure.in:35: -1- m4_pattern_allow([^htmldir$])
814 m4trace:configure.in:35: -1- m4_pattern_allow([^dvidir$])
815 m4trace:configure.in:35: -1- m4_pattern_allow([^pdfdir$])
816 m4trace:configure.in:35: -1- m4_pattern_allow([^psdir$])
817 m4trace:configure.in:35: -1- m4_pattern_allow([^libdir$])
818 m4trace:configure.in:35: -1- m4_pattern_allow([^localedir$])
819 m4trace:configure.in:35: -1- m4_pattern_allow([^mandir$])
820 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
821 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
822 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
823 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
824 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
825 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
826 m4trace:configure.in:35: -1- m4_pattern_allow([^DEFS$])
827 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_C$])
828 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_N$])
829 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_T$])
830 m4trace:configure.in:35: -1- m4_pattern_allow([^LIBS$])
831 m4trace:configure.in:35: -1- m4_pattern_allow([^build_alias$])
832 m4trace:configure.in:35: -1- m4_pattern_allow([^host_alias$])
833 m4trace:configure.in:35: -1- m4_pattern_allow([^target_alias$])
834 m4trace:configure.in:40: -1- AM_INIT_AUTOMAKE([foreign ])
835 m4trace:configure.in:40: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
836 m4trace:configure.in:40: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
837 m4trace:configure.in:40: -1- AM_AUTOMAKE_VERSION([1.11.1])
838 m4trace:configure.in:40: -1- _AM_AUTOCONF_VERSION([2.69])
839 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
840 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
841 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_DATA$])
842 m4trace:configure.in:40: -1- m4_pattern_allow([^am__isrc$])
843 m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([am__isrc])
844 m4trace:configure.in:40: -1- m4_pattern_allow([^CYGPATH_W$])
845 m4trace:configure.in:40: -1- _AM_SET_OPTIONS([foreign ])
846 m4trace:configure.in:40: -1- _AM_SET_OPTION([foreign])
847 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([foreign])
848 m4trace:configure.in:40: -1- m4_pattern_allow([^PACKAGE$])
849 m4trace:configure.in:40: -1- m4_pattern_allow([^VERSION$])
850 m4trace:configure.in:40: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
851 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
852 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([no-define])
853 m4trace:configure.in:40: -1- m4_pattern_allow([^PACKAGE$])
854 m4trace:configure.in:40: -1- m4_pattern_allow([^VERSION$])
855 m4trace:configure.in:40: -1- AM_SANITY_CHECK
856 m4trace:configure.in:40: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
857 m4trace:configure.in:40: -1- AM_MISSING_HAS_RUN
858 m4trace:configure.in:40: -1- AM_AUX_DIR_EXPAND
859 m4trace:configure.in:40: -1- m4_pattern_allow([^ACLOCAL$])
860 m4trace:configure.in:40: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
861 m4trace:configure.in:40: -1- m4_pattern_allow([^AUTOCONF$])
862 m4trace:configure.in:40: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
863 m4trace:configure.in:40: -1- m4_pattern_allow([^AUTOMAKE$])
864 m4trace:configure.in:40: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
865 m4trace:configure.in:40: -1- m4_pattern_allow([^AUTOHEADER$])
866 m4trace:configure.in:40: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
867 m4trace:configure.in:40: -1- m4_pattern_allow([^MAKEINFO$])
868 m4trace:configure.in:40: -1- AM_PROG_INSTALL_SH
869 m4trace:configure.in:40: -1- m4_pattern_allow([^install_sh$])
870 m4trace:configure.in:40: -1- AM_PROG_INSTALL_STRIP
871 m4trace:configure.in:40: -1- m4_pattern_allow([^STRIP$])
872 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
873 m4trace:configure.in:40: -1- AM_PROG_MKDIR_P
874 m4trace:configure.in:40: -1- m4_pattern_allow([^MKDIR_P$])
875 m4trace:configure.in:40: -1- m4_pattern_allow([^mkdir_p$])
876 m4trace:configure.in:40: -1- m4_pattern_allow([^AWK$])
877 m4trace:configure.in:40: -1- m4_pattern_allow([^SET_MAKE$])
878 m4trace:configure.in:40: -1- AM_SET_LEADING_DOT
879 m4trace:configure.in:40: -1- m4_pattern_allow([^am__leading_dot$])
880 m4trace:configure.in:40: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
881 [_AM_PROG_TAR([v7])])])
882 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([tar-ustar])
883 m4trace:configure.in:40: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
884 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([tar-pax])
885 m4trace:configure.in:40: -1- _AM_PROG_TAR([v7])
886 m4trace:configure.in:40: -1- AM_MISSING_PROG([AMTAR], [tar])
887 m4trace:configure.in:40: -1- m4_pattern_allow([^AMTAR$])
888 m4trace:configure.in:40: -1- m4_pattern_allow([^am__tar$])
889 m4trace:configure.in:40: -1- m4_pattern_allow([^am__untar$])
890 m4trace:configure.in:40: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
891 [_AM_DEPENDENCIES(CC)],
892 [define([AC_PROG_CC],
893 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
894 AC_PROVIDE_IFELSE([AC_PROG_CXX],
895 [_AM_DEPENDENCIES(CXX)],
896 [define([AC_PROG_CXX],
897 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
898 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
899 [_AM_DEPENDENCIES(OBJC)],
900 [define([AC_PROG_OBJC],
901 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
902 ])
903 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([no-dependencies])
904 m4trace:configure.in:40: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
905 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([silent-rules])
906 m4trace:configure.in:43: -1- _m4_warn([obsolete], [The macro `AC_LANG_C' is obsolete.
907 You should run autoupdate.], [../../lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
908 configure.in:43: the top level])
909 m4trace:configure.in:48: -1- AM_MAINTAINER_MODE
910 m4trace:configure.in:48: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
911 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
912 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
913 m4trace:configure.in:48: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
914 m4trace:configure.in:48: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
915 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINT$])
916 m4trace:configure.in:51: -1- m4_pattern_allow([^SET_MAKE$])
917 m4trace:configure.in:72: -1- OPENIB_APP_OSM
918 m4trace:configure.in:72: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [../../lib/autoconf/general.m4:2777: AC_CHECK_FILE is expanded from...
919 config/osm.m4:20: OPENIB_APP_OSM is expanded from...
920 configure.in:72: the top level])
921 m4trace:configure.in:72: -1- AM_CONDITIONAL([OSM_VENDOR_TS], [test "x$OSM_VENDOR" = xts])
922 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR_TS_TRUE$])
923 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR_TS_FALSE$])
924 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_TS_TRUE])
925 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_TS_FALSE])
926 m4trace:configure.in:72: -1- AM_CONDITIONAL([OSM_VENDOR_MTL], [test "x$OSM_VENDOR" = xmtl])
927 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR_MTL_TRUE$])
928 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR_MTL_FALSE$])
929 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_MTL_TRUE])
930 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_MTL_FALSE])
931 m4trace:configure.in:72: -1- AM_CONDITIONAL([OSM_VENDOR_SIM], [test "x$OSM_VENDOR" = xsim])
932 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR_SIM_TRUE$])
933 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR_SIM_FALSE$])
934 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_SIM_TRUE])
935 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_SIM_FALSE])
936 m4trace:configure.in:72: -1- AM_CONDITIONAL([OSM_BUILD_OPENIB], [test "x$OSM_BUILD" = xopenib])
937 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_BUILD_OPENIB_TRUE$])
938 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_BUILD_OPENIB_FALSE$])
939 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_BUILD_OPENIB_TRUE])
940 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_BUILD_OPENIB_FALSE])
941 m4trace:configure.in:72: -1- m4_pattern_allow([^with_osm$])
942 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_CFLAGS$])
943 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_LDFLAGS$])
944 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR$])
945 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_BUILD$])
946 m4trace:configure.in:75: -1- m4_pattern_allow([^subdirs$])
947 m4trace:configure.in:84: -1- AM_CONDITIONAL([BUILD_IBMGTSIM], [test "x$ibmgtsim" != xfalse])
948 m4trace:configure.in:84: -1- m4_pattern_allow([^BUILD_IBMGTSIM_TRUE$])
949 m4trace:configure.in:84: -1- m4_pattern_allow([^BUILD_IBMGTSIM_FALSE$])
950 m4trace:configure.in:84: -1- _AM_SUBST_NOTMAKE([BUILD_IBMGTSIM_TRUE])
951 m4trace:configure.in:84: -1- _AM_SUBST_NOTMAKE([BUILD_IBMGTSIM_FALSE])
952 m4trace:configure.in:92: -1- m4_pattern_allow([^subdirs$])
953 m4trace:configure.in:97: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
954 You should run autoupdate.], [])
955 m4trace:configure.in:97: -1- m4_pattern_allow([^LIB@&t@OBJS$])
956 m4trace:configure.in:97: -1- m4_pattern_allow([^LTLIBOBJS$])
+0
-345
autom4te.cache/traces.1 less more
0 m4trace:aclocal.m4:678: -1- m4_include([config/osm.m4])
1 m4trace:configure.in:35: -1- AC_INIT([ibutils], [1.5.7], [linux-rdma@vger.kernel.org])
2 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?A[CHUM]_])
3 m4trace:configure.in:35: -1- m4_pattern_forbid([_AC_])
4 m4trace:configure.in:35: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
5 m4trace:configure.in:35: -1- m4_pattern_allow([^AS_FLAGS$])
6 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?m4_])
7 m4trace:configure.in:35: -1- m4_pattern_forbid([^dnl$])
8 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?AS_])
9 m4trace:configure.in:35: -1- AC_SUBST([SHELL])
10 m4trace:configure.in:35: -1- AC_SUBST_TRACE([SHELL])
11 m4trace:configure.in:35: -1- m4_pattern_allow([^SHELL$])
12 m4trace:configure.in:35: -1- AC_SUBST([PATH_SEPARATOR])
13 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
14 m4trace:configure.in:35: -1- m4_pattern_allow([^PATH_SEPARATOR$])
15 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
16 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_NAME])
17 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
18 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
19 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
20 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
21 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
22 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
23 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
24 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
25 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_STRING])
26 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
27 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
28 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
29 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
30 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
31 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_URL])
32 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
33 m4trace:configure.in:35: -1- AC_SUBST([exec_prefix], [NONE])
34 m4trace:configure.in:35: -1- AC_SUBST_TRACE([exec_prefix])
35 m4trace:configure.in:35: -1- m4_pattern_allow([^exec_prefix$])
36 m4trace:configure.in:35: -1- AC_SUBST([prefix], [NONE])
37 m4trace:configure.in:35: -1- AC_SUBST_TRACE([prefix])
38 m4trace:configure.in:35: -1- m4_pattern_allow([^prefix$])
39 m4trace:configure.in:35: -1- AC_SUBST([program_transform_name], [s,x,x,])
40 m4trace:configure.in:35: -1- AC_SUBST_TRACE([program_transform_name])
41 m4trace:configure.in:35: -1- m4_pattern_allow([^program_transform_name$])
42 m4trace:configure.in:35: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
43 m4trace:configure.in:35: -1- AC_SUBST_TRACE([bindir])
44 m4trace:configure.in:35: -1- m4_pattern_allow([^bindir$])
45 m4trace:configure.in:35: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
46 m4trace:configure.in:35: -1- AC_SUBST_TRACE([sbindir])
47 m4trace:configure.in:35: -1- m4_pattern_allow([^sbindir$])
48 m4trace:configure.in:35: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
49 m4trace:configure.in:35: -1- AC_SUBST_TRACE([libexecdir])
50 m4trace:configure.in:35: -1- m4_pattern_allow([^libexecdir$])
51 m4trace:configure.in:35: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
52 m4trace:configure.in:35: -1- AC_SUBST_TRACE([datarootdir])
53 m4trace:configure.in:35: -1- m4_pattern_allow([^datarootdir$])
54 m4trace:configure.in:35: -1- AC_SUBST([datadir], ['${datarootdir}'])
55 m4trace:configure.in:35: -1- AC_SUBST_TRACE([datadir])
56 m4trace:configure.in:35: -1- m4_pattern_allow([^datadir$])
57 m4trace:configure.in:35: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
58 m4trace:configure.in:35: -1- AC_SUBST_TRACE([sysconfdir])
59 m4trace:configure.in:35: -1- m4_pattern_allow([^sysconfdir$])
60 m4trace:configure.in:35: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
61 m4trace:configure.in:35: -1- AC_SUBST_TRACE([sharedstatedir])
62 m4trace:configure.in:35: -1- m4_pattern_allow([^sharedstatedir$])
63 m4trace:configure.in:35: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
64 m4trace:configure.in:35: -1- AC_SUBST_TRACE([localstatedir])
65 m4trace:configure.in:35: -1- m4_pattern_allow([^localstatedir$])
66 m4trace:configure.in:35: -1- AC_SUBST([includedir], ['${prefix}/include'])
67 m4trace:configure.in:35: -1- AC_SUBST_TRACE([includedir])
68 m4trace:configure.in:35: -1- m4_pattern_allow([^includedir$])
69 m4trace:configure.in:35: -1- AC_SUBST([oldincludedir], ['/usr/include'])
70 m4trace:configure.in:35: -1- AC_SUBST_TRACE([oldincludedir])
71 m4trace:configure.in:35: -1- m4_pattern_allow([^oldincludedir$])
72 m4trace:configure.in:35: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
73 ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
74 ['${datarootdir}/doc/${PACKAGE}'])])
75 m4trace:configure.in:35: -1- AC_SUBST_TRACE([docdir])
76 m4trace:configure.in:35: -1- m4_pattern_allow([^docdir$])
77 m4trace:configure.in:35: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
78 m4trace:configure.in:35: -1- AC_SUBST_TRACE([infodir])
79 m4trace:configure.in:35: -1- m4_pattern_allow([^infodir$])
80 m4trace:configure.in:35: -1- AC_SUBST([htmldir], ['${docdir}'])
81 m4trace:configure.in:35: -1- AC_SUBST_TRACE([htmldir])
82 m4trace:configure.in:35: -1- m4_pattern_allow([^htmldir$])
83 m4trace:configure.in:35: -1- AC_SUBST([dvidir], ['${docdir}'])
84 m4trace:configure.in:35: -1- AC_SUBST_TRACE([dvidir])
85 m4trace:configure.in:35: -1- m4_pattern_allow([^dvidir$])
86 m4trace:configure.in:35: -1- AC_SUBST([pdfdir], ['${docdir}'])
87 m4trace:configure.in:35: -1- AC_SUBST_TRACE([pdfdir])
88 m4trace:configure.in:35: -1- m4_pattern_allow([^pdfdir$])
89 m4trace:configure.in:35: -1- AC_SUBST([psdir], ['${docdir}'])
90 m4trace:configure.in:35: -1- AC_SUBST_TRACE([psdir])
91 m4trace:configure.in:35: -1- m4_pattern_allow([^psdir$])
92 m4trace:configure.in:35: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
93 m4trace:configure.in:35: -1- AC_SUBST_TRACE([libdir])
94 m4trace:configure.in:35: -1- m4_pattern_allow([^libdir$])
95 m4trace:configure.in:35: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
96 m4trace:configure.in:35: -1- AC_SUBST_TRACE([localedir])
97 m4trace:configure.in:35: -1- m4_pattern_allow([^localedir$])
98 m4trace:configure.in:35: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
99 m4trace:configure.in:35: -1- AC_SUBST_TRACE([mandir])
100 m4trace:configure.in:35: -1- m4_pattern_allow([^mandir$])
101 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
102 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
103 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
104 @%:@undef PACKAGE_NAME])
105 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
106 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
107 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
108 @%:@undef PACKAGE_TARNAME])
109 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
110 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
111 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
112 @%:@undef PACKAGE_VERSION])
113 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
114 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
115 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
116 @%:@undef PACKAGE_STRING])
117 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
118 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
119 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
120 @%:@undef PACKAGE_BUGREPORT])
121 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
122 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
123 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
124 @%:@undef PACKAGE_URL])
125 m4trace:configure.in:35: -1- AC_SUBST([DEFS])
126 m4trace:configure.in:35: -1- AC_SUBST_TRACE([DEFS])
127 m4trace:configure.in:35: -1- m4_pattern_allow([^DEFS$])
128 m4trace:configure.in:35: -1- AC_SUBST([ECHO_C])
129 m4trace:configure.in:35: -1- AC_SUBST_TRACE([ECHO_C])
130 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_C$])
131 m4trace:configure.in:35: -1- AC_SUBST([ECHO_N])
132 m4trace:configure.in:35: -1- AC_SUBST_TRACE([ECHO_N])
133 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_N$])
134 m4trace:configure.in:35: -1- AC_SUBST([ECHO_T])
135 m4trace:configure.in:35: -1- AC_SUBST_TRACE([ECHO_T])
136 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_T$])
137 m4trace:configure.in:35: -1- AC_SUBST([LIBS])
138 m4trace:configure.in:35: -1- AC_SUBST_TRACE([LIBS])
139 m4trace:configure.in:35: -1- m4_pattern_allow([^LIBS$])
140 m4trace:configure.in:35: -1- AC_SUBST([build_alias])
141 m4trace:configure.in:35: -1- AC_SUBST_TRACE([build_alias])
142 m4trace:configure.in:35: -1- m4_pattern_allow([^build_alias$])
143 m4trace:configure.in:35: -1- AC_SUBST([host_alias])
144 m4trace:configure.in:35: -1- AC_SUBST_TRACE([host_alias])
145 m4trace:configure.in:35: -1- m4_pattern_allow([^host_alias$])
146 m4trace:configure.in:35: -1- AC_SUBST([target_alias])
147 m4trace:configure.in:35: -1- AC_SUBST_TRACE([target_alias])
148 m4trace:configure.in:35: -1- m4_pattern_allow([^target_alias$])
149 m4trace:configure.in:37: -1- AC_CONFIG_AUX_DIR([config])
150 m4trace:configure.in:40: -1- AM_INIT_AUTOMAKE([foreign ])
151 m4trace:configure.in:40: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
152 m4trace:configure.in:40: -1- AM_AUTOMAKE_VERSION([1.11.1])
153 m4trace:configure.in:40: -1- AC_REQUIRE_AUX_FILE([install-sh])
154 m4trace:configure.in:40: -1- AC_SUBST([INSTALL_PROGRAM])
155 m4trace:configure.in:40: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
156 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
157 m4trace:configure.in:40: -1- AC_SUBST([INSTALL_SCRIPT])
158 m4trace:configure.in:40: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
159 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
160 m4trace:configure.in:40: -1- AC_SUBST([INSTALL_DATA])
161 m4trace:configure.in:40: -1- AC_SUBST_TRACE([INSTALL_DATA])
162 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_DATA$])
163 m4trace:configure.in:40: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
164 m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__isrc])
165 m4trace:configure.in:40: -1- m4_pattern_allow([^am__isrc$])
166 m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([am__isrc])
167 m4trace:configure.in:40: -1- AC_SUBST([CYGPATH_W])
168 m4trace:configure.in:40: -1- AC_SUBST_TRACE([CYGPATH_W])
169 m4trace:configure.in:40: -1- m4_pattern_allow([^CYGPATH_W$])
170 m4trace:configure.in:40: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
171 m4trace:configure.in:40: -1- AC_SUBST_TRACE([PACKAGE])
172 m4trace:configure.in:40: -1- m4_pattern_allow([^PACKAGE$])
173 m4trace:configure.in:40: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
174 m4trace:configure.in:40: -1- AC_SUBST_TRACE([VERSION])
175 m4trace:configure.in:40: -1- m4_pattern_allow([^VERSION$])
176 m4trace:configure.in:40: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
177 m4trace:configure.in:40: -1- m4_pattern_allow([^PACKAGE$])
178 m4trace:configure.in:40: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
179 @%:@undef PACKAGE])
180 m4trace:configure.in:40: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
181 m4trace:configure.in:40: -1- m4_pattern_allow([^VERSION$])
182 m4trace:configure.in:40: -1- AH_OUTPUT([VERSION], [/* Version number of package */
183 @%:@undef VERSION])
184 m4trace:configure.in:40: -1- AC_REQUIRE_AUX_FILE([missing])
185 m4trace:configure.in:40: -1- AC_SUBST([ACLOCAL])
186 m4trace:configure.in:40: -1- AC_SUBST_TRACE([ACLOCAL])
187 m4trace:configure.in:40: -1- m4_pattern_allow([^ACLOCAL$])
188 m4trace:configure.in:40: -1- AC_SUBST([AUTOCONF])
189 m4trace:configure.in:40: -1- AC_SUBST_TRACE([AUTOCONF])
190 m4trace:configure.in:40: -1- m4_pattern_allow([^AUTOCONF$])
191 m4trace:configure.in:40: -1- AC_SUBST([AUTOMAKE])
192 m4trace:configure.in:40: -1- AC_SUBST_TRACE([AUTOMAKE])
193 m4trace:configure.in:40: -1- m4_pattern_allow([^AUTOMAKE$])
194 m4trace:configure.in:40: -1- AC_SUBST([AUTOHEADER])
195 m4trace:configure.in:40: -1- AC_SUBST_TRACE([AUTOHEADER])
196 m4trace:configure.in:40: -1- m4_pattern_allow([^AUTOHEADER$])
197 m4trace:configure.in:40: -1- AC_SUBST([MAKEINFO])
198 m4trace:configure.in:40: -1- AC_SUBST_TRACE([MAKEINFO])
199 m4trace:configure.in:40: -1- m4_pattern_allow([^MAKEINFO$])
200 m4trace:configure.in:40: -1- AC_SUBST([install_sh])
201 m4trace:configure.in:40: -1- AC_SUBST_TRACE([install_sh])
202 m4trace:configure.in:40: -1- m4_pattern_allow([^install_sh$])
203 m4trace:configure.in:40: -1- AC_SUBST([STRIP])
204 m4trace:configure.in:40: -1- AC_SUBST_TRACE([STRIP])
205 m4trace:configure.in:40: -1- m4_pattern_allow([^STRIP$])
206 m4trace:configure.in:40: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
207 m4trace:configure.in:40: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
208 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
209 m4trace:configure.in:40: -1- AC_REQUIRE_AUX_FILE([install-sh])
210 m4trace:configure.in:40: -1- AC_SUBST([MKDIR_P])
211 m4trace:configure.in:40: -1- AC_SUBST_TRACE([MKDIR_P])
212 m4trace:configure.in:40: -1- m4_pattern_allow([^MKDIR_P$])
213 m4trace:configure.in:40: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
214 m4trace:configure.in:40: -1- AC_SUBST_TRACE([mkdir_p])
215 m4trace:configure.in:40: -1- m4_pattern_allow([^mkdir_p$])
216 m4trace:configure.in:40: -1- AC_SUBST([AWK])
217 m4trace:configure.in:40: -1- AC_SUBST_TRACE([AWK])
218 m4trace:configure.in:40: -1- m4_pattern_allow([^AWK$])
219 m4trace:configure.in:40: -1- AC_SUBST([SET_MAKE])
220 m4trace:configure.in:40: -1- AC_SUBST_TRACE([SET_MAKE])
221 m4trace:configure.in:40: -1- m4_pattern_allow([^SET_MAKE$])
222 m4trace:configure.in:40: -1- AC_SUBST([am__leading_dot])
223 m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__leading_dot])
224 m4trace:configure.in:40: -1- m4_pattern_allow([^am__leading_dot$])
225 m4trace:configure.in:40: -1- AC_SUBST([AMTAR])
226 m4trace:configure.in:40: -1- AC_SUBST_TRACE([AMTAR])
227 m4trace:configure.in:40: -1- m4_pattern_allow([^AMTAR$])
228 m4trace:configure.in:40: -1- AC_SUBST([am__tar])
229 m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__tar])
230 m4trace:configure.in:40: -1- m4_pattern_allow([^am__tar$])
231 m4trace:configure.in:40: -1- AC_SUBST([am__untar])
232 m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__untar])
233 m4trace:configure.in:40: -1- m4_pattern_allow([^am__untar$])
234 m4trace:configure.in:43: -1- _m4_warn([obsolete], [The macro `AC_LANG_C' is obsolete.
235 You should run autoupdate.], [../../lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
236 configure.in:43: the top level])
237 m4trace:configure.in:48: -1- AM_MAINTAINER_MODE
238 m4trace:configure.in:48: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
239 m4trace:configure.in:48: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
240 m4trace:configure.in:48: -1- AC_SUBST_TRACE([MAINTAINER_MODE_TRUE])
241 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
242 m4trace:configure.in:48: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
243 m4trace:configure.in:48: -1- AC_SUBST_TRACE([MAINTAINER_MODE_FALSE])
244 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
245 m4trace:configure.in:48: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
246 m4trace:configure.in:48: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
247 m4trace:configure.in:48: -1- AC_SUBST([MAINT])
248 m4trace:configure.in:48: -1- AC_SUBST_TRACE([MAINT])
249 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINT$])
250 m4trace:configure.in:51: -1- AC_SUBST([SET_MAKE])
251 m4trace:configure.in:51: -1- AC_SUBST_TRACE([SET_MAKE])
252 m4trace:configure.in:51: -1- m4_pattern_allow([^SET_MAKE$])
253 m4trace:configure.in:72: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [../../lib/autoconf/general.m4:2777: AC_CHECK_FILE is expanded from...
254 config/osm.m4:20: OPENIB_APP_OSM is expanded from...
255 configure.in:72: the top level])
256 m4trace:configure.in:72: -1- AM_CONDITIONAL([OSM_VENDOR_TS], [test "x$OSM_VENDOR" = xts])
257 m4trace:configure.in:72: -1- AC_SUBST([OSM_VENDOR_TS_TRUE])
258 m4trace:configure.in:72: -1- AC_SUBST_TRACE([OSM_VENDOR_TS_TRUE])
259 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR_TS_TRUE$])
260 m4trace:configure.in:72: -1- AC_SUBST([OSM_VENDOR_TS_FALSE])
261 m4trace:configure.in:72: -1- AC_SUBST_TRACE([OSM_VENDOR_TS_FALSE])
262 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR_TS_FALSE$])
263 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_TS_TRUE])
264 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_TS_FALSE])
265 m4trace:configure.in:72: -1- AM_CONDITIONAL([OSM_VENDOR_MTL], [test "x$OSM_VENDOR" = xmtl])
266 m4trace:configure.in:72: -1- AC_SUBST([OSM_VENDOR_MTL_TRUE])
267 m4trace:configure.in:72: -1- AC_SUBST_TRACE([OSM_VENDOR_MTL_TRUE])
268 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR_MTL_TRUE$])
269 m4trace:configure.in:72: -1- AC_SUBST([OSM_VENDOR_MTL_FALSE])
270 m4trace:configure.in:72: -1- AC_SUBST_TRACE([OSM_VENDOR_MTL_FALSE])
271 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR_MTL_FALSE$])
272 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_MTL_TRUE])
273 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_MTL_FALSE])
274 m4trace:configure.in:72: -1- AM_CONDITIONAL([OSM_VENDOR_SIM], [test "x$OSM_VENDOR" = xsim])
275 m4trace:configure.in:72: -1- AC_SUBST([OSM_VENDOR_SIM_TRUE])
276 m4trace:configure.in:72: -1- AC_SUBST_TRACE([OSM_VENDOR_SIM_TRUE])
277 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR_SIM_TRUE$])
278 m4trace:configure.in:72: -1- AC_SUBST([OSM_VENDOR_SIM_FALSE])
279 m4trace:configure.in:72: -1- AC_SUBST_TRACE([OSM_VENDOR_SIM_FALSE])
280 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR_SIM_FALSE$])
281 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_SIM_TRUE])
282 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_SIM_FALSE])
283 m4trace:configure.in:72: -1- AM_CONDITIONAL([OSM_BUILD_OPENIB], [test "x$OSM_BUILD" = xopenib])
284 m4trace:configure.in:72: -1- AC_SUBST([OSM_BUILD_OPENIB_TRUE])
285 m4trace:configure.in:72: -1- AC_SUBST_TRACE([OSM_BUILD_OPENIB_TRUE])
286 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_BUILD_OPENIB_TRUE$])
287 m4trace:configure.in:72: -1- AC_SUBST([OSM_BUILD_OPENIB_FALSE])
288 m4trace:configure.in:72: -1- AC_SUBST_TRACE([OSM_BUILD_OPENIB_FALSE])
289 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_BUILD_OPENIB_FALSE$])
290 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_BUILD_OPENIB_TRUE])
291 m4trace:configure.in:72: -1- _AM_SUBST_NOTMAKE([OSM_BUILD_OPENIB_FALSE])
292 m4trace:configure.in:72: -1- AC_SUBST([with_osm])
293 m4trace:configure.in:72: -1- AC_SUBST_TRACE([with_osm])
294 m4trace:configure.in:72: -1- m4_pattern_allow([^with_osm$])
295 m4trace:configure.in:72: -1- AC_SUBST([OSM_CFLAGS])
296 m4trace:configure.in:72: -1- AC_SUBST_TRACE([OSM_CFLAGS])
297 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_CFLAGS$])
298 m4trace:configure.in:72: -1- AC_SUBST([OSM_LDFLAGS])
299 m4trace:configure.in:72: -1- AC_SUBST_TRACE([OSM_LDFLAGS])
300 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_LDFLAGS$])
301 m4trace:configure.in:72: -1- AC_SUBST([OSM_VENDOR])
302 m4trace:configure.in:72: -1- AC_SUBST_TRACE([OSM_VENDOR])
303 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_VENDOR$])
304 m4trace:configure.in:72: -1- AC_SUBST([OSM_BUILD])
305 m4trace:configure.in:72: -1- AC_SUBST_TRACE([OSM_BUILD])
306 m4trace:configure.in:72: -1- m4_pattern_allow([^OSM_BUILD$])
307 m4trace:configure.in:75: -1- AC_CONFIG_SUBDIRS([ibis ibdm ibdiag])
308 m4trace:configure.in:75: -1- AC_SUBST([subdirs], ["$subdirs m4_normalize([ibis ibdm ibdiag])"])
309 m4trace:configure.in:75: -1- AC_SUBST_TRACE([subdirs])
310 m4trace:configure.in:75: -1- m4_pattern_allow([^subdirs$])
311 m4trace:configure.in:84: -1- AM_CONDITIONAL([BUILD_IBMGTSIM], [test "x$ibmgtsim" != xfalse])
312 m4trace:configure.in:84: -1- AC_SUBST([BUILD_IBMGTSIM_TRUE])
313 m4trace:configure.in:84: -1- AC_SUBST_TRACE([BUILD_IBMGTSIM_TRUE])
314 m4trace:configure.in:84: -1- m4_pattern_allow([^BUILD_IBMGTSIM_TRUE$])
315 m4trace:configure.in:84: -1- AC_SUBST([BUILD_IBMGTSIM_FALSE])
316 m4trace:configure.in:84: -1- AC_SUBST_TRACE([BUILD_IBMGTSIM_FALSE])
317 m4trace:configure.in:84: -1- m4_pattern_allow([^BUILD_IBMGTSIM_FALSE$])
318 m4trace:configure.in:84: -1- _AM_SUBST_NOTMAKE([BUILD_IBMGTSIM_TRUE])
319 m4trace:configure.in:84: -1- _AM_SUBST_NOTMAKE([BUILD_IBMGTSIM_FALSE])
320 m4trace:configure.in:92: -1- AC_CONFIG_SUBDIRS([ibmgtsim])
321 m4trace:configure.in:92: -1- AC_SUBST([subdirs], ["$subdirs m4_normalize([ibmgtsim])"])
322 m4trace:configure.in:92: -1- AC_SUBST_TRACE([subdirs])
323 m4trace:configure.in:92: -1- m4_pattern_allow([^subdirs$])
324 m4trace:configure.in:95: -1- AC_CONFIG_FILES([ibutils.spec])
325 m4trace:configure.in:97: -1- AC_CONFIG_FILES([Makefile])
326 m4trace:configure.in:97: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
327 You should run autoupdate.], [])
328 m4trace:configure.in:97: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
329 m4trace:configure.in:97: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
330 m4trace:configure.in:97: -1- m4_pattern_allow([^LIB@&t@OBJS$])
331 m4trace:configure.in:97: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
332 m4trace:configure.in:97: -1- AC_SUBST_TRACE([LTLIBOBJS])
333 m4trace:configure.in:97: -1- m4_pattern_allow([^LTLIBOBJS$])
334 m4trace:configure.in:97: -1- AC_SUBST_TRACE([top_builddir])
335 m4trace:configure.in:97: -1- AC_SUBST_TRACE([top_build_prefix])
336 m4trace:configure.in:97: -1- AC_SUBST_TRACE([srcdir])
337 m4trace:configure.in:97: -1- AC_SUBST_TRACE([abs_srcdir])
338 m4trace:configure.in:97: -1- AC_SUBST_TRACE([top_srcdir])
339 m4trace:configure.in:97: -1- AC_SUBST_TRACE([abs_top_srcdir])
340 m4trace:configure.in:97: -1- AC_SUBST_TRACE([builddir])
341 m4trace:configure.in:97: -1- AC_SUBST_TRACE([abs_builddir])
342 m4trace:configure.in:97: -1- AC_SUBST_TRACE([abs_top_builddir])
343 m4trace:configure.in:97: -1- AC_SUBST_TRACE([INSTALL])
344 m4trace:configure.in:97: -1- AC_SUBST_TRACE([MKDIR_P])
+0
-3657
ibdiag/autom4te.cache/output.0 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.69 for ibdiag 1.5.7.
3 @%:@
4 @%:@ Report bugs to <openib-general@openib.org>.
5 @%:@
6 @%:@
7 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8 @%:@
9 @%:@
10 @%:@ This configure script is free software; the Free Software Foundation
11 @%:@ gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 emulate sh
20 NULLCMD=:
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in @%:@(
27 *posix*) :
28 set -o posix ;; @%:@(
29 *) :
30 ;;
31 esac
32 fi
33
34
35 as_nl='
36 '
37 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in @%:@(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
72
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
80 fi
81
82
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
89
90 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
92 case $0 in @%:@((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 # Use a proper internal environment variable to ensure we don't fall
137 # into an infinite loop, continuously re-executing ourselves.
138 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
139 _as_can_reexec=no; export _as_can_reexec;
140 # We cannot yet assume a decent shell, so we have to provide a
141 # neutralization value for shells without unset; and this also
142 # works around shells that cannot unset nonexistent variables.
143 # Preserve -v and -x to the replacement shell.
144 BASH_ENV=/dev/null
145 ENV=/dev/null
146 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 case $- in @%:@ ((((
148 *v*x* | *x*v* ) as_opts=-vx ;;
149 *v* ) as_opts=-v ;;
150 *x* ) as_opts=-x ;;
151 * ) as_opts= ;;
152 esac
153 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154 # Admittedly, this is quite paranoid, since all the known shells bail
155 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
158 fi
159 # We don't want this to propagate to other subprocesses.
160 { _as_can_reexec=; unset _as_can_reexec;}
161 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
163 emulate sh
164 NULLCMD=:
165 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166 # is contrary to our usage. Disable this feature.
167 alias -g '\${1+\"\$@\"}'='\"\$@\"'
168 setopt NO_GLOB_SUBST
169 else
170 case \`(set -o) 2>/dev/null\` in @%:@(
171 *posix*) :
172 set -o posix ;; @%:@(
173 *) :
174 ;;
175 esac
176 fi
177 "
178 as_required="as_fn_return () { (exit \$1); }
179 as_fn_success () { as_fn_return 0; }
180 as_fn_failure () { as_fn_return 1; }
181 as_fn_ret_success () { return 0; }
182 as_fn_ret_failure () { return 1; }
183
184 exitcode=0
185 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191 else
192 exitcode=1; echo positional parameters were not saved.
193 fi
194 test x\$exitcode = x0 || exit 1
195 test -x / || exit 1"
196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
204 fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in @%:@(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
225 fi
226 fi
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in @%:@ ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
258 fi
259
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org and
268 $0: openib-general@openib.org about your system, including
269 $0: any error possibly output before this message. Then
270 $0: install a modern shell, or manually run the script
271 $0: under such a shell if you do have one."
272 fi
273 exit 1
274 fi
275 fi
276 fi
277 SHELL=${CONFIG_SHELL-/bin/sh}
278 export SHELL
279 # Unset more variables known to interfere with behavior of common tools.
280 CLICOLOR_FORCE= GREP_OPTIONS=
281 unset CLICOLOR_FORCE GREP_OPTIONS
282
283 ## --------------------- ##
284 ## M4sh Shell Functions. ##
285 ## --------------------- ##
286 @%:@ as_fn_unset VAR
287 @%:@ ---------------
288 @%:@ Portably unset VAR.
289 as_fn_unset ()
290 {
291 { eval $1=; unset $1;}
292 }
293 as_unset=as_fn_unset
294
295 @%:@ as_fn_set_status STATUS
296 @%:@ -----------------------
297 @%:@ Set @S|@? to STATUS, without forking.
298 as_fn_set_status ()
299 {
300 return $1
301 } @%:@ as_fn_set_status
302
303 @%:@ as_fn_exit STATUS
304 @%:@ -----------------
305 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306 as_fn_exit ()
307 {
308 set +e
309 as_fn_set_status $1
310 exit $1
311 } @%:@ as_fn_exit
312
313 @%:@ as_fn_mkdir_p
314 @%:@ -------------
315 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
316 as_fn_mkdir_p ()
317 {
318
319 case $as_dir in #(
320 -*) as_dir=./$as_dir;;
321 esac
322 test -d "$as_dir" || eval $as_mkdir_p || {
323 as_dirs=
324 while :; do
325 case $as_dir in #(
326 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 *) as_qdir=$as_dir;;
328 esac
329 as_dirs="'$as_qdir' $as_dirs"
330 as_dir=`$as_dirname -- "$as_dir" ||
331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
332 X"$as_dir" : 'X\(//\)[^/]' \| \
333 X"$as_dir" : 'X\(//\)$' \| \
334 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
335 $as_echo X"$as_dir" |
336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
337 s//\1/
338 q
339 }
340 /^X\(\/\/\)[^/].*/{
341 s//\1/
342 q
343 }
344 /^X\(\/\/\)$/{
345 s//\1/
346 q
347 }
348 /^X\(\/\).*/{
349 s//\1/
350 q
351 }
352 s/.*/./; q'`
353 test -d "$as_dir" && break
354 done
355 test -z "$as_dirs" || eval "mkdir $as_dirs"
356 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357
358
359 } @%:@ as_fn_mkdir_p
360
361 @%:@ as_fn_executable_p FILE
362 @%:@ -----------------------
363 @%:@ Test if FILE is an executable regular file.
364 as_fn_executable_p ()
365 {
366 test -f "$1" && test -x "$1"
367 } @%:@ as_fn_executable_p
368 @%:@ as_fn_append VAR VALUE
369 @%:@ ----------------------
370 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
371 @%:@ advantage of any shell optimizations that allow amortized linear growth over
372 @%:@ repeated appends, instead of the typical quadratic growth present in naive
373 @%:@ implementations.
374 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
375 eval 'as_fn_append ()
376 {
377 eval $1+=\$2
378 }'
379 else
380 as_fn_append ()
381 {
382 eval $1=\$$1\$2
383 }
384 fi # as_fn_append
385
386 @%:@ as_fn_arith ARG...
387 @%:@ ------------------
388 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
389 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
390 @%:@ must be portable across @S|@(()) and expr.
391 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
392 eval 'as_fn_arith ()
393 {
394 as_val=$(( $* ))
395 }'
396 else
397 as_fn_arith ()
398 {
399 as_val=`expr "$@" || test $? -eq 1`
400 }
401 fi # as_fn_arith
402
403
404 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
405 @%:@ ----------------------------------------
406 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
407 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
408 @%:@ script with STATUS, using 1 if that was 0.
409 as_fn_error ()
410 {
411 as_status=$1; test $as_status -eq 0 && as_status=1
412 if test "$4"; then
413 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 fi
416 $as_echo "$as_me: error: $2" >&2
417 as_fn_exit $as_status
418 } @%:@ as_fn_error
419
420 if expr a : '\(a\)' >/dev/null 2>&1 &&
421 test "X`expr 00001 : '.*\(...\)'`" = X001; then
422 as_expr=expr
423 else
424 as_expr=false
425 fi
426
427 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
428 as_basename=basename
429 else
430 as_basename=false
431 fi
432
433 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
434 as_dirname=dirname
435 else
436 as_dirname=false
437 fi
438
439 as_me=`$as_basename -- "$0" ||
440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
441 X"$0" : 'X\(//\)$' \| \
442 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 $as_echo X/"$0" |
444 sed '/^.*\/\([^/][^/]*\)\/*$/{
445 s//\1/
446 q
447 }
448 /^X\/\(\/\/\)$/{
449 s//\1/
450 q
451 }
452 /^X\/\(\/\).*/{
453 s//\1/
454 q
455 }
456 s/.*/./; q'`
457
458 # Avoid depending upon Character Ranges.
459 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
460 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
461 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
462 as_cr_digits='0123456789'
463 as_cr_alnum=$as_cr_Letters$as_cr_digits
464
465
466 as_lineno_1=$LINENO as_lineno_1a=$LINENO
467 as_lineno_2=$LINENO as_lineno_2a=$LINENO
468 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
469 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
470 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
471 sed -n '
472 p
473 /[$]LINENO/=
474 ' <$as_myself |
475 sed '
476 s/[$]LINENO.*/&-/
477 t lineno
478 b
479 :lineno
480 N
481 :loop
482 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
483 t loop
484 s/-\n.*//
485 ' >$as_me.lineno &&
486 chmod +x "$as_me.lineno" ||
487 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488
489 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
490 # already done that, so ensure we don't try to do so again and fall
491 # in an infinite loop. This has already happened in practice.
492 _as_can_reexec=no; export _as_can_reexec
493 # Don't try to exec as it changes $[0], causing all sort of problems
494 # (the dirname of $[0] is not the place where we might find the
495 # original and so on. Autoconf is especially sensitive to this).
496 . "./$as_me.lineno"
497 # Exit status is that of the last command.
498 exit
499 }
500
501 ECHO_C= ECHO_N= ECHO_T=
502 case `echo -n x` in @%:@(((((
503 -n*)
504 case `echo 'xy\c'` in
505 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 xy) ECHO_C='\c';;
507 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
508 ECHO_T=' ';;
509 esac;;
510 *)
511 ECHO_N='-n';;
512 esac
513
514 rm -f conf$$ conf$$.exe conf$$.file
515 if test -d conf$$.dir; then
516 rm -f conf$$.dir/conf$$.file
517 else
518 rm -f conf$$.dir
519 mkdir conf$$.dir 2>/dev/null
520 fi
521 if (echo >conf$$.file) 2>/dev/null; then
522 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 as_ln_s='ln -s'
524 # ... but there are two gotchas:
525 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
526 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
527 # In both cases, we have to default to `cp -pR'.
528 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 as_ln_s='cp -pR'
530 elif ln conf$$.file conf$$ 2>/dev/null; then
531 as_ln_s=ln
532 else
533 as_ln_s='cp -pR'
534 fi
535 else
536 as_ln_s='cp -pR'
537 fi
538 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
539 rmdir conf$$.dir 2>/dev/null
540
541 if mkdir -p . 2>/dev/null; then
542 as_mkdir_p='mkdir -p "$as_dir"'
543 else
544 test -d ./-p && rmdir ./-p
545 as_mkdir_p=false
546 fi
547
548 as_test_x='test -x'
549 as_executable_p=as_fn_executable_p
550
551 # Sed expression to map a string onto a valid CPP name.
552 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553
554 # Sed expression to map a string onto a valid variable name.
555 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556
557
558 test -n "$DJDIR" || exec 7<&0 </dev/null
559 exec 6>&1
560
561 # Name of the host.
562 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
563 # so uname gets run too.
564 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565
566 #
567 # Initializations.
568 #
569 ac_default_prefix=/usr/local
570 ac_clean_files=
571 ac_config_libobj_dir=.
572 LIB@&t@OBJS=
573 cross_compiling=no
574 subdirs=
575 MFLAGS=
576 MAKEFLAGS=
577
578 # Identity of this package.
579 PACKAGE_NAME='ibdiag'
580 PACKAGE_TARNAME='ibdiag'
581 PACKAGE_VERSION='1.5.7'
582 PACKAGE_STRING='ibdiag 1.5.7'
583 PACKAGE_BUGREPORT='openib-general@openib.org'
584 PACKAGE_URL=''
585
586 ac_subst_vars='LTLIBOBJS
587 LIB@&t@OBJS
588 with_graphviz_lib
589 with_tk_lib
590 with_ibdm_lib
591 with_ibis
592 LN_S
593 MAINT
594 MAINTAINER_MODE_FALSE
595 MAINTAINER_MODE_TRUE
596 am__untar
597 am__tar
598 AMTAR
599 am__leading_dot
600 SET_MAKE
601 AWK
602 mkdir_p
603 MKDIR_P
604 INSTALL_STRIP_PROGRAM
605 STRIP
606 install_sh
607 MAKEINFO
608 AUTOHEADER
609 AUTOMAKE
610 AUTOCONF
611 ACLOCAL
612 VERSION
613 PACKAGE
614 CYGPATH_W
615 am__isrc
616 INSTALL_DATA
617 INSTALL_SCRIPT
618 INSTALL_PROGRAM
619 target_alias
620 host_alias
621 build_alias
622 LIBS
623 ECHO_T
624 ECHO_N
625 ECHO_C
626 DEFS
627 mandir
628 localedir
629 libdir
630 psdir
631 pdfdir
632 dvidir
633 htmldir
634 infodir
635 docdir
636 oldincludedir
637 includedir
638 localstatedir
639 sharedstatedir
640 sysconfdir
641 datadir
642 datarootdir
643 libexecdir
644 sbindir
645 bindir
646 program_transform_name
647 prefix
648 exec_prefix
649 PACKAGE_URL
650 PACKAGE_BUGREPORT
651 PACKAGE_STRING
652 PACKAGE_VERSION
653 PACKAGE_TARNAME
654 PACKAGE_NAME
655 PATH_SEPARATOR
656 SHELL'
657 ac_subst_files=''
658 ac_user_opts='
659 enable_option_checking
660 enable_maintainer_mode
661 enable_libcheck
662 with_ibis
663 with_ibdm_lib
664 with_tk_lib
665 with_graphviz_lib
666 '
667 ac_precious_vars='build_alias
668 host_alias
669 target_alias'
670
671
672 # Initialize some variables set by options.
673 ac_init_help=
674 ac_init_version=false
675 ac_unrecognized_opts=
676 ac_unrecognized_sep=
677 # The variables have the same names as the options, with
678 # dashes changed to underlines.
679 cache_file=/dev/null
680 exec_prefix=NONE
681 no_create=
682 no_recursion=
683 prefix=NONE
684 program_prefix=NONE
685 program_suffix=NONE
686 program_transform_name=s,x,x,
687 silent=
688 site=
689 srcdir=
690 verbose=
691 x_includes=NONE
692 x_libraries=NONE
693
694 # Installation directory options.
695 # These are left unexpanded so users can "make install exec_prefix=/foo"
696 # and all the variables that are supposed to be based on exec_prefix
697 # by default will actually change.
698 # Use braces instead of parens because sh, perl, etc. also accept them.
699 # (The list follows the same order as the GNU Coding Standards.)
700 bindir='${exec_prefix}/bin'
701 sbindir='${exec_prefix}/sbin'
702 libexecdir='${exec_prefix}/libexec'
703 datarootdir='${prefix}/share'
704 datadir='${datarootdir}'
705 sysconfdir='${prefix}/etc'
706 sharedstatedir='${prefix}/com'
707 localstatedir='${prefix}/var'
708 includedir='${prefix}/include'
709 oldincludedir='/usr/include'
710 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
711 infodir='${datarootdir}/info'
712 htmldir='${docdir}'
713 dvidir='${docdir}'
714 pdfdir='${docdir}'
715 psdir='${docdir}'
716 libdir='${exec_prefix}/lib'
717 localedir='${datarootdir}/locale'
718 mandir='${datarootdir}/man'
719
720 ac_prev=
721 ac_dashdash=
722 for ac_option
723 do
724 # If the previous option needs an argument, assign it.
725 if test -n "$ac_prev"; then
726 eval $ac_prev=\$ac_option
727 ac_prev=
728 continue
729 fi
730
731 case $ac_option in
732 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
733 *=) ac_optarg= ;;
734 *) ac_optarg=yes ;;
735 esac
736
737 # Accept the important Cygnus configure options, so we can diagnose typos.
738
739 case $ac_dashdash$ac_option in
740 --)
741 ac_dashdash=yes ;;
742
743 -bindir | --bindir | --bindi | --bind | --bin | --bi)
744 ac_prev=bindir ;;
745 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
746 bindir=$ac_optarg ;;
747
748 -build | --build | --buil | --bui | --bu)
749 ac_prev=build_alias ;;
750 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
751 build_alias=$ac_optarg ;;
752
753 -cache-file | --cache-file | --cache-fil | --cache-fi \
754 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
755 ac_prev=cache_file ;;
756 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
757 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
758 cache_file=$ac_optarg ;;
759
760 --config-cache | -C)
761 cache_file=config.cache ;;
762
763 -datadir | --datadir | --datadi | --datad)
764 ac_prev=datadir ;;
765 -datadir=* | --datadir=* | --datadi=* | --datad=*)
766 datadir=$ac_optarg ;;
767
768 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
769 | --dataroo | --dataro | --datar)
770 ac_prev=datarootdir ;;
771 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
772 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
773 datarootdir=$ac_optarg ;;
774
775 -disable-* | --disable-*)
776 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
777 # Reject names that are not valid shell variable names.
778 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
779 as_fn_error $? "invalid feature name: $ac_useropt"
780 ac_useropt_orig=$ac_useropt
781 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
782 case $ac_user_opts in
783 *"
784 "enable_$ac_useropt"
785 "*) ;;
786 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
787 ac_unrecognized_sep=', ';;
788 esac
789 eval enable_$ac_useropt=no ;;
790
791 -docdir | --docdir | --docdi | --doc | --do)
792 ac_prev=docdir ;;
793 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
794 docdir=$ac_optarg ;;
795
796 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
797 ac_prev=dvidir ;;
798 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
799 dvidir=$ac_optarg ;;
800
801 -enable-* | --enable-*)
802 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
803 # Reject names that are not valid shell variable names.
804 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
805 as_fn_error $? "invalid feature name: $ac_useropt"
806 ac_useropt_orig=$ac_useropt
807 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
808 case $ac_user_opts in
809 *"
810 "enable_$ac_useropt"
811 "*) ;;
812 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
813 ac_unrecognized_sep=', ';;
814 esac
815 eval enable_$ac_useropt=\$ac_optarg ;;
816
817 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
818 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
819 | --exec | --exe | --ex)
820 ac_prev=exec_prefix ;;
821 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
822 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
823 | --exec=* | --exe=* | --ex=*)
824 exec_prefix=$ac_optarg ;;
825
826 -gas | --gas | --ga | --g)
827 # Obsolete; use --with-gas.
828 with_gas=yes ;;
829
830 -help | --help | --hel | --he | -h)
831 ac_init_help=long ;;
832 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
833 ac_init_help=recursive ;;
834 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
835 ac_init_help=short ;;
836
837 -host | --host | --hos | --ho)
838 ac_prev=host_alias ;;
839 -host=* | --host=* | --hos=* | --ho=*)
840 host_alias=$ac_optarg ;;
841
842 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
843 ac_prev=htmldir ;;
844 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
845 | --ht=*)
846 htmldir=$ac_optarg ;;
847
848 -includedir | --includedir | --includedi | --included | --include \
849 | --includ | --inclu | --incl | --inc)
850 ac_prev=includedir ;;
851 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
852 | --includ=* | --inclu=* | --incl=* | --inc=*)
853 includedir=$ac_optarg ;;
854
855 -infodir | --infodir | --infodi | --infod | --info | --inf)
856 ac_prev=infodir ;;
857 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
858 infodir=$ac_optarg ;;
859
860 -libdir | --libdir | --libdi | --libd)
861 ac_prev=libdir ;;
862 -libdir=* | --libdir=* | --libdi=* | --libd=*)
863 libdir=$ac_optarg ;;
864
865 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
866 | --libexe | --libex | --libe)
867 ac_prev=libexecdir ;;
868 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
869 | --libexe=* | --libex=* | --libe=*)
870 libexecdir=$ac_optarg ;;
871
872 -localedir | --localedir | --localedi | --localed | --locale)
873 ac_prev=localedir ;;
874 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
875 localedir=$ac_optarg ;;
876
877 -localstatedir | --localstatedir | --localstatedi | --localstated \
878 | --localstate | --localstat | --localsta | --localst | --locals)
879 ac_prev=localstatedir ;;
880 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
881 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
882 localstatedir=$ac_optarg ;;
883
884 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
885 ac_prev=mandir ;;
886 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
887 mandir=$ac_optarg ;;
888
889 -nfp | --nfp | --nf)
890 # Obsolete; use --without-fp.
891 with_fp=no ;;
892
893 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
894 | --no-cr | --no-c | -n)
895 no_create=yes ;;
896
897 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
898 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
899 no_recursion=yes ;;
900
901 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
902 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
903 | --oldin | --oldi | --old | --ol | --o)
904 ac_prev=oldincludedir ;;
905 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
906 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
907 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
908 oldincludedir=$ac_optarg ;;
909
910 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
911 ac_prev=prefix ;;
912 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
913 prefix=$ac_optarg ;;
914
915 -program-prefix | --program-prefix | --program-prefi | --program-pref \
916 | --program-pre | --program-pr | --program-p)
917 ac_prev=program_prefix ;;
918 -program-prefix=* | --program-prefix=* | --program-prefi=* \
919 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
920 program_prefix=$ac_optarg ;;
921
922 -program-suffix | --program-suffix | --program-suffi | --program-suff \
923 | --program-suf | --program-su | --program-s)
924 ac_prev=program_suffix ;;
925 -program-suffix=* | --program-suffix=* | --program-suffi=* \
926 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
927 program_suffix=$ac_optarg ;;
928
929 -program-transform-name | --program-transform-name \
930 | --program-transform-nam | --program-transform-na \
931 | --program-transform-n | --program-transform- \
932 | --program-transform | --program-transfor \
933 | --program-transfo | --program-transf \
934 | --program-trans | --program-tran \
935 | --progr-tra | --program-tr | --program-t)
936 ac_prev=program_transform_name ;;
937 -program-transform-name=* | --program-transform-name=* \
938 | --program-transform-nam=* | --program-transform-na=* \
939 | --program-transform-n=* | --program-transform-=* \
940 | --program-transform=* | --program-transfor=* \
941 | --program-transfo=* | --program-transf=* \
942 | --program-trans=* | --program-tran=* \
943 | --progr-tra=* | --program-tr=* | --program-t=*)
944 program_transform_name=$ac_optarg ;;
945
946 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
947 ac_prev=pdfdir ;;
948 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
949 pdfdir=$ac_optarg ;;
950
951 -psdir | --psdir | --psdi | --psd | --ps)
952 ac_prev=psdir ;;
953 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
954 psdir=$ac_optarg ;;
955
956 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
957 | -silent | --silent | --silen | --sile | --sil)
958 silent=yes ;;
959
960 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
961 ac_prev=sbindir ;;
962 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
963 | --sbi=* | --sb=*)
964 sbindir=$ac_optarg ;;
965
966 -sharedstatedir | --sharedstatedir | --sharedstatedi \
967 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
968 | --sharedst | --shareds | --shared | --share | --shar \
969 | --sha | --sh)
970 ac_prev=sharedstatedir ;;
971 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
972 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
973 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
974 | --sha=* | --sh=*)
975 sharedstatedir=$ac_optarg ;;
976
977 -site | --site | --sit)
978 ac_prev=site ;;
979 -site=* | --site=* | --sit=*)
980 site=$ac_optarg ;;
981
982 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
983 ac_prev=srcdir ;;
984 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
985 srcdir=$ac_optarg ;;
986
987 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
988 | --syscon | --sysco | --sysc | --sys | --sy)
989 ac_prev=sysconfdir ;;
990 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
991 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
992 sysconfdir=$ac_optarg ;;
993
994 -target | --target | --targe | --targ | --tar | --ta | --t)
995 ac_prev=target_alias ;;
996 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
997 target_alias=$ac_optarg ;;
998
999 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1000 verbose=yes ;;
1001
1002 -version | --version | --versio | --versi | --vers | -V)
1003 ac_init_version=: ;;
1004
1005 -with-* | --with-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error $? "invalid package name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1013 *"
1014 "with_$ac_useropt"
1015 "*) ;;
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1018 esac
1019 eval with_$ac_useropt=\$ac_optarg ;;
1020
1021 -without-* | --without-*)
1022 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025 as_fn_error $? "invalid package name: $ac_useropt"
1026 ac_useropt_orig=$ac_useropt
1027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1029 *"
1030 "with_$ac_useropt"
1031 "*) ;;
1032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1033 ac_unrecognized_sep=', ';;
1034 esac
1035 eval with_$ac_useropt=no ;;
1036
1037 --x)
1038 # Obsolete; use --with-x.
1039 with_x=yes ;;
1040
1041 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1042 | --x-incl | --x-inc | --x-in | --x-i)
1043 ac_prev=x_includes ;;
1044 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1045 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1046 x_includes=$ac_optarg ;;
1047
1048 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1049 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1050 ac_prev=x_libraries ;;
1051 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1052 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1053 x_libraries=$ac_optarg ;;
1054
1055 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1056 Try \`$0 --help' for more information"
1057 ;;
1058
1059 *=*)
1060 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1061 # Reject names that are not valid shell variable names.
1062 case $ac_envvar in #(
1063 '' | [0-9]* | *[!_$as_cr_alnum]* )
1064 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1065 esac
1066 eval $ac_envvar=\$ac_optarg
1067 export $ac_envvar ;;
1068
1069 *)
1070 # FIXME: should be removed in autoconf 3.0.
1071 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1072 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1073 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1074 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1075 ;;
1076
1077 esac
1078 done
1079
1080 if test -n "$ac_prev"; then
1081 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1082 as_fn_error $? "missing argument to $ac_option"
1083 fi
1084
1085 if test -n "$ac_unrecognized_opts"; then
1086 case $enable_option_checking in
1087 no) ;;
1088 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1089 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1090 esac
1091 fi
1092
1093 # Check all directory arguments for consistency.
1094 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1095 datadir sysconfdir sharedstatedir localstatedir includedir \
1096 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1097 libdir localedir mandir
1098 do
1099 eval ac_val=\$$ac_var
1100 # Remove trailing slashes.
1101 case $ac_val in
1102 */ )
1103 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1104 eval $ac_var=\$ac_val;;
1105 esac
1106 # Be sure to have absolute directory names.
1107 case $ac_val in
1108 [\\/$]* | ?:[\\/]* ) continue;;
1109 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1110 esac
1111 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1112 done
1113
1114 # There might be people who depend on the old broken behavior: `$host'
1115 # used to hold the argument of --host etc.
1116 # FIXME: To remove some day.
1117 build=$build_alias
1118 host=$host_alias
1119 target=$target_alias
1120
1121 # FIXME: To remove some day.
1122 if test "x$host_alias" != x; then
1123 if test "x$build_alias" = x; then
1124 cross_compiling=maybe
1125 elif test "x$build_alias" != "x$host_alias"; then
1126 cross_compiling=yes
1127 fi
1128 fi
1129
1130 ac_tool_prefix=
1131 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1132
1133 test "$silent" = yes && exec 6>/dev/null
1134
1135
1136 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1137 ac_ls_di=`ls -di .` &&
1138 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1139 as_fn_error $? "working directory cannot be determined"
1140 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1141 as_fn_error $? "pwd does not report name of working directory"
1142
1143
1144 # Find the source files, if location was not specified.
1145 if test -z "$srcdir"; then
1146 ac_srcdir_defaulted=yes
1147 # Try the directory containing this script, then the parent directory.
1148 ac_confdir=`$as_dirname -- "$as_myself" ||
1149 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1150 X"$as_myself" : 'X\(//\)[^/]' \| \
1151 X"$as_myself" : 'X\(//\)$' \| \
1152 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1153 $as_echo X"$as_myself" |
1154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1155 s//\1/
1156 q
1157 }
1158 /^X\(\/\/\)[^/].*/{
1159 s//\1/
1160 q
1161 }
1162 /^X\(\/\/\)$/{
1163 s//\1/
1164 q
1165 }
1166 /^X\(\/\).*/{
1167 s//\1/
1168 q
1169 }
1170 s/.*/./; q'`
1171 srcdir=$ac_confdir
1172 if test ! -r "$srcdir/$ac_unique_file"; then
1173 srcdir=..
1174 fi
1175 else
1176 ac_srcdir_defaulted=no
1177 fi
1178 if test ! -r "$srcdir/$ac_unique_file"; then
1179 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1180 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1181 fi
1182 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1183 ac_abs_confdir=`(
1184 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1185 pwd)`
1186 # When building in place, set srcdir=.
1187 if test "$ac_abs_confdir" = "$ac_pwd"; then
1188 srcdir=.
1189 fi
1190 # Remove unnecessary trailing slashes from srcdir.
1191 # Double slashes in file names in object file debugging info
1192 # mess up M-x gdb in Emacs.
1193 case $srcdir in
1194 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1195 esac
1196 for ac_var in $ac_precious_vars; do
1197 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1198 eval ac_env_${ac_var}_value=\$${ac_var}
1199 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1200 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1201 done
1202
1203 #
1204 # Report the --help message.
1205 #
1206 if test "$ac_init_help" = "long"; then
1207 # Omit some internal or obsolete options to make the list less imposing.
1208 # This message is too long to be a string in the A/UX 3.1 sh.
1209 cat <<_ACEOF
1210 \`configure' configures ibdiag 1.5.7 to adapt to many kinds of systems.
1211
1212 Usage: $0 [OPTION]... [VAR=VALUE]...
1213
1214 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1215 VAR=VALUE. See below for descriptions of some of the useful variables.
1216
1217 Defaults for the options are specified in brackets.
1218
1219 Configuration:
1220 -h, --help display this help and exit
1221 --help=short display options specific to this package
1222 --help=recursive display the short help of all the included packages
1223 -V, --version display version information and exit
1224 -q, --quiet, --silent do not print \`checking ...' messages
1225 --cache-file=FILE cache test results in FILE [disabled]
1226 -C, --config-cache alias for \`--cache-file=config.cache'
1227 -n, --no-create do not create output files
1228 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1229
1230 Installation directories:
1231 --prefix=PREFIX install architecture-independent files in PREFIX
1232 @<:@@S|@ac_default_prefix@:>@
1233 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1234 @<:@PREFIX@:>@
1235
1236 By default, \`make install' will install all the files in
1237 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1238 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1239 for instance \`--prefix=\$HOME'.
1240
1241 For better control, use the options below.
1242
1243 Fine tuning of the installation directories:
1244 --bindir=DIR user executables [EPREFIX/bin]
1245 --sbindir=DIR system admin executables [EPREFIX/sbin]
1246 --libexecdir=DIR program executables [EPREFIX/libexec]
1247 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1248 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1249 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1250 --libdir=DIR object code libraries [EPREFIX/lib]
1251 --includedir=DIR C header files [PREFIX/include]
1252 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1253 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1254 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1255 --infodir=DIR info documentation [DATAROOTDIR/info]
1256 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1257 --mandir=DIR man documentation [DATAROOTDIR/man]
1258 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ibdiag@:>@
1259 --htmldir=DIR html documentation [DOCDIR]
1260 --dvidir=DIR dvi documentation [DOCDIR]
1261 --pdfdir=DIR pdf documentation [DOCDIR]
1262 --psdir=DIR ps documentation [DOCDIR]
1263 _ACEOF
1264
1265 cat <<\_ACEOF
1266
1267 Program names:
1268 --program-prefix=PREFIX prepend PREFIX to installed program names
1269 --program-suffix=SUFFIX append SUFFIX to installed program names
1270 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1271 _ACEOF
1272 fi
1273
1274 if test -n "$ac_init_help"; then
1275 case $ac_init_help in
1276 short | recursive ) echo "Configuration of ibdiag 1.5.7:";;
1277 esac
1278 cat <<\_ACEOF
1279
1280 Optional Features:
1281 --disable-option-checking ignore unrecognized --enable/--with options
1282 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1283 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1284 --enable-maintainer-mode enable make rules and dependencies not useful
1285 (and sometimes confusing) to the casual installer
1286 --enable-libcheck Enable Dependency Checking
1287
1288 Optional Packages:
1289 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1290 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1291 --with-ibis=<dir> define directory which holds the ibis executable
1292 --with-ibdm-lib=<dir> define where to find IBDM TCL library
1293 --with-tk-lib=<dir> define directory which holds the tk lib installation
1294 --with-graphviz-lib=<dir> define directory which holds the graphviz lib installation
1295
1296 Report bugs to <openib-general@openib.org>.
1297 _ACEOF
1298 ac_status=$?
1299 fi
1300
1301 if test "$ac_init_help" = "recursive"; then
1302 # If there are subdirs, report their specific --help.
1303 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1304 test -d "$ac_dir" ||
1305 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1306 continue
1307 ac_builddir=.
1308
1309 case "$ac_dir" in
1310 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1311 *)
1312 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1313 # A ".." for each directory in $ac_dir_suffix.
1314 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1315 case $ac_top_builddir_sub in
1316 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1317 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1318 esac ;;
1319 esac
1320 ac_abs_top_builddir=$ac_pwd
1321 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1322 # for backward compatibility:
1323 ac_top_builddir=$ac_top_build_prefix
1324
1325 case $srcdir in
1326 .) # We are building in place.
1327 ac_srcdir=.
1328 ac_top_srcdir=$ac_top_builddir_sub
1329 ac_abs_top_srcdir=$ac_pwd ;;
1330 [\\/]* | ?:[\\/]* ) # Absolute name.
1331 ac_srcdir=$srcdir$ac_dir_suffix;
1332 ac_top_srcdir=$srcdir
1333 ac_abs_top_srcdir=$srcdir ;;
1334 *) # Relative name.
1335 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1336 ac_top_srcdir=$ac_top_build_prefix$srcdir
1337 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1338 esac
1339 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1340
1341 cd "$ac_dir" || { ac_status=$?; continue; }
1342 # Check for guested configure.
1343 if test -f "$ac_srcdir/configure.gnu"; then
1344 echo &&
1345 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1346 elif test -f "$ac_srcdir/configure"; then
1347 echo &&
1348 $SHELL "$ac_srcdir/configure" --help=recursive
1349 else
1350 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1351 fi || ac_status=$?
1352 cd "$ac_pwd" || { ac_status=$?; break; }
1353 done
1354 fi
1355
1356 test -n "$ac_init_help" && exit $ac_status
1357 if $ac_init_version; then
1358 cat <<\_ACEOF
1359 ibdiag configure 1.5.7
1360 generated by GNU Autoconf 2.69
1361
1362 Copyright (C) 2012 Free Software Foundation, Inc.
1363 This configure script is free software; the Free Software Foundation
1364 gives unlimited permission to copy, distribute and modify it.
1365 _ACEOF
1366 exit
1367 fi
1368
1369 ## ------------------------ ##
1370 ## Autoconf initialization. ##
1371 ## ------------------------ ##
1372 cat >config.log <<_ACEOF
1373 This file contains any messages produced by compilers while
1374 running configure, to aid debugging if configure makes a mistake.
1375
1376 It was created by ibdiag $as_me 1.5.7, which was
1377 generated by GNU Autoconf 2.69. Invocation command line was
1378
1379 $ $0 $@
1380
1381 _ACEOF
1382 exec 5>>config.log
1383 {
1384 cat <<_ASUNAME
1385 ## --------- ##
1386 ## Platform. ##
1387 ## --------- ##
1388
1389 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1390 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1391 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1392 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1393 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1394
1395 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1396 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1397
1398 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1399 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1400 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1401 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1402 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1403 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1404 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1405
1406 _ASUNAME
1407
1408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1409 for as_dir in $PATH
1410 do
1411 IFS=$as_save_IFS
1412 test -z "$as_dir" && as_dir=.
1413 $as_echo "PATH: $as_dir"
1414 done
1415 IFS=$as_save_IFS
1416
1417 } >&5
1418
1419 cat >&5 <<_ACEOF
1420
1421
1422 ## ----------- ##
1423 ## Core tests. ##
1424 ## ----------- ##
1425
1426 _ACEOF
1427
1428
1429 # Keep a trace of the command line.
1430 # Strip out --no-create and --no-recursion so they do not pile up.
1431 # Strip out --silent because we don't want to record it for future runs.
1432 # Also quote any args containing shell meta-characters.
1433 # Make two passes to allow for proper duplicate-argument suppression.
1434 ac_configure_args=
1435 ac_configure_args0=
1436 ac_configure_args1=
1437 ac_must_keep_next=false
1438 for ac_pass in 1 2
1439 do
1440 for ac_arg
1441 do
1442 case $ac_arg in
1443 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1444 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1445 | -silent | --silent | --silen | --sile | --sil)
1446 continue ;;
1447 *\'*)
1448 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1449 esac
1450 case $ac_pass in
1451 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1452 2)
1453 as_fn_append ac_configure_args1 " '$ac_arg'"
1454 if test $ac_must_keep_next = true; then
1455 ac_must_keep_next=false # Got value, back to normal.
1456 else
1457 case $ac_arg in
1458 *=* | --config-cache | -C | -disable-* | --disable-* \
1459 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1460 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1461 | -with-* | --with-* | -without-* | --without-* | --x)
1462 case "$ac_configure_args0 " in
1463 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1464 esac
1465 ;;
1466 -* ) ac_must_keep_next=true ;;
1467 esac
1468 fi
1469 as_fn_append ac_configure_args " '$ac_arg'"
1470 ;;
1471 esac
1472 done
1473 done
1474 { ac_configure_args0=; unset ac_configure_args0;}
1475 { ac_configure_args1=; unset ac_configure_args1;}
1476
1477 # When interrupted or exit'd, cleanup temporary files, and complete
1478 # config.log. We remove comments because anyway the quotes in there
1479 # would cause problems or look ugly.
1480 # WARNING: Use '\'' to represent an apostrophe within the trap.
1481 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1482 trap 'exit_status=$?
1483 # Save into config.log some information that might help in debugging.
1484 {
1485 echo
1486
1487 $as_echo "## ---------------- ##
1488 ## Cache variables. ##
1489 ## ---------------- ##"
1490 echo
1491 # The following way of writing the cache mishandles newlines in values,
1492 (
1493 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1494 eval ac_val=\$$ac_var
1495 case $ac_val in #(
1496 *${as_nl}*)
1497 case $ac_var in #(
1498 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1499 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1500 esac
1501 case $ac_var in #(
1502 _ | IFS | as_nl) ;; #(
1503 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1504 *) { eval $ac_var=; unset $ac_var;} ;;
1505 esac ;;
1506 esac
1507 done
1508 (set) 2>&1 |
1509 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1510 *${as_nl}ac_space=\ *)
1511 sed -n \
1512 "s/'\''/'\''\\\\'\'''\''/g;
1513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1514 ;; #(
1515 *)
1516 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1517 ;;
1518 esac |
1519 sort
1520 )
1521 echo
1522
1523 $as_echo "## ----------------- ##
1524 ## Output variables. ##
1525 ## ----------------- ##"
1526 echo
1527 for ac_var in $ac_subst_vars
1528 do
1529 eval ac_val=\$$ac_var
1530 case $ac_val in
1531 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1532 esac
1533 $as_echo "$ac_var='\''$ac_val'\''"
1534 done | sort
1535 echo
1536
1537 if test -n "$ac_subst_files"; then
1538 $as_echo "## ------------------- ##
1539 ## File substitutions. ##
1540 ## ------------------- ##"
1541 echo
1542 for ac_var in $ac_subst_files
1543 do
1544 eval ac_val=\$$ac_var
1545 case $ac_val in
1546 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1547 esac
1548 $as_echo "$ac_var='\''$ac_val'\''"
1549 done | sort
1550 echo
1551 fi
1552
1553 if test -s confdefs.h; then
1554 $as_echo "## ----------- ##
1555 ## confdefs.h. ##
1556 ## ----------- ##"
1557 echo
1558 cat confdefs.h
1559 echo
1560 fi
1561 test "$ac_signal" != 0 &&
1562 $as_echo "$as_me: caught signal $ac_signal"
1563 $as_echo "$as_me: exit $exit_status"
1564 } >&5
1565 rm -f core *.core core.conftest.* &&
1566 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1567 exit $exit_status
1568 ' 0
1569 for ac_signal in 1 2 13 15; do
1570 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1571 done
1572 ac_signal=0
1573
1574 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1575 rm -f -r conftest* confdefs.h
1576
1577 $as_echo "/* confdefs.h */" > confdefs.h
1578
1579 # Predefined preprocessor variables.
1580
1581 cat >>confdefs.h <<_ACEOF
1582 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1583 _ACEOF
1584
1585 cat >>confdefs.h <<_ACEOF
1586 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1587 _ACEOF
1588
1589 cat >>confdefs.h <<_ACEOF
1590 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1591 _ACEOF
1592
1593 cat >>confdefs.h <<_ACEOF
1594 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1595 _ACEOF
1596
1597 cat >>confdefs.h <<_ACEOF
1598 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1599 _ACEOF
1600
1601 cat >>confdefs.h <<_ACEOF
1602 @%:@define PACKAGE_URL "$PACKAGE_URL"
1603 _ACEOF
1604
1605
1606 # Let the site file select an alternate cache file if it wants to.
1607 # Prefer an explicitly selected file to automatically selected ones.
1608 ac_site_file1=NONE
1609 ac_site_file2=NONE
1610 if test -n "$CONFIG_SITE"; then
1611 # We do not want a PATH search for config.site.
1612 case $CONFIG_SITE in @%:@((
1613 -*) ac_site_file1=./$CONFIG_SITE;;
1614 */*) ac_site_file1=$CONFIG_SITE;;
1615 *) ac_site_file1=./$CONFIG_SITE;;
1616 esac
1617 elif test "x$prefix" != xNONE; then
1618 ac_site_file1=$prefix/share/config.site
1619 ac_site_file2=$prefix/etc/config.site
1620 else
1621 ac_site_file1=$ac_default_prefix/share/config.site
1622 ac_site_file2=$ac_default_prefix/etc/config.site
1623 fi
1624 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1625 do
1626 test "x$ac_site_file" = xNONE && continue
1627 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1629 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1630 sed 's/^/| /' "$ac_site_file" >&5
1631 . "$ac_site_file" \
1632 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1634 as_fn_error $? "failed to load site script $ac_site_file
1635 See \`config.log' for more details" "$LINENO" 5; }
1636 fi
1637 done
1638
1639 if test -r "$cache_file"; then
1640 # Some versions of bash will fail to source /dev/null (special files
1641 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1642 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1644 $as_echo "$as_me: loading cache $cache_file" >&6;}
1645 case $cache_file in
1646 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1647 *) . "./$cache_file";;
1648 esac
1649 fi
1650 else
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1652 $as_echo "$as_me: creating cache $cache_file" >&6;}
1653 >$cache_file
1654 fi
1655
1656 # Check that the precious variables saved in the cache have kept the same
1657 # value.
1658 ac_cache_corrupted=false
1659 for ac_var in $ac_precious_vars; do
1660 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1661 eval ac_new_set=\$ac_env_${ac_var}_set
1662 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1663 eval ac_new_val=\$ac_env_${ac_var}_value
1664 case $ac_old_set,$ac_new_set in
1665 set,)
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1667 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1668 ac_cache_corrupted=: ;;
1669 ,set)
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1671 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1672 ac_cache_corrupted=: ;;
1673 ,);;
1674 *)
1675 if test "x$ac_old_val" != "x$ac_new_val"; then
1676 # differences in whitespace do not lead to failure.
1677 ac_old_val_w=`echo x $ac_old_val`
1678 ac_new_val_w=`echo x $ac_new_val`
1679 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1681 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1682 ac_cache_corrupted=:
1683 else
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1685 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1686 eval $ac_var=\$ac_old_val
1687 fi
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1689 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1691 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1692 fi;;
1693 esac
1694 # Pass precious variables to config.status.
1695 if test "$ac_new_set" = set; then
1696 case $ac_new_val in
1697 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1698 *) ac_arg=$ac_var=$ac_new_val ;;
1699 esac
1700 case " $ac_configure_args " in
1701 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1702 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1703 esac
1704 fi
1705 done
1706 if $ac_cache_corrupted; then
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1710 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1711 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1712 fi
1713 ## -------------------- ##
1714 ## Main body of script. ##
1715 ## -------------------- ##
1716
1717 ac_ext=c
1718 ac_cpp='$CPP $CPPFLAGS'
1719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1722
1723
1724 ac_aux_dir=
1725 for ac_dir in config "$srcdir"/config; do
1726 if test -f "$ac_dir/install-sh"; then
1727 ac_aux_dir=$ac_dir
1728 ac_install_sh="$ac_aux_dir/install-sh -c"
1729 break
1730 elif test -f "$ac_dir/install.sh"; then
1731 ac_aux_dir=$ac_dir
1732 ac_install_sh="$ac_aux_dir/install.sh -c"
1733 break
1734 elif test -f "$ac_dir/shtool"; then
1735 ac_aux_dir=$ac_dir
1736 ac_install_sh="$ac_aux_dir/shtool install -c"
1737 break
1738 fi
1739 done
1740 if test -z "$ac_aux_dir"; then
1741 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
1742 fi
1743
1744 # These three variables are undocumented and unsupported,
1745 # and are intended to be withdrawn in a future Autoconf release.
1746 # They can cause serious problems if a builder's source tree is in a directory
1747 # whose full name contains unusual characters.
1748 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1749 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1750 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1751
1752
1753
1754 am__api_version='1.11'
1755
1756 # Find a good install program. We prefer a C program (faster),
1757 # so one script is as good as another. But avoid the broken or
1758 # incompatible versions:
1759 # SysV /etc/install, /usr/sbin/install
1760 # SunOS /usr/etc/install
1761 # IRIX /sbin/install
1762 # AIX /bin/install
1763 # AmigaOS /C/install, which installs bootblocks on floppy discs
1764 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1765 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1766 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1767 # OS/2's system install, which has a completely different semantic
1768 # ./install, which can be erroneously created by make from ./install.sh.
1769 # Reject install programs that cannot install multiple files.
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1771 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1772 if test -z "$INSTALL"; then
1773 if ${ac_cv_path_install+:} false; then :
1774 $as_echo_n "(cached) " >&6
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1778 do
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 # Account for people who put trailing slashes in PATH elements.
1782 case $as_dir/ in @%:@((
1783 ./ | .// | /[cC]/* | \
1784 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1785 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1786 /usr/ucb/* ) ;;
1787 *)
1788 # OSF1 and SCO ODT 3.0 have their own names for install.
1789 # Don't use installbsd from OSF since it installs stuff as root
1790 # by default.
1791 for ac_prog in ginstall scoinst install; do
1792 for ac_exec_ext in '' $ac_executable_extensions; do
1793 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1794 if test $ac_prog = install &&
1795 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1796 # AIX install. It has an incompatible calling convention.
1797 :
1798 elif test $ac_prog = install &&
1799 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1800 # program-specific install script used by HP pwplus--don't use.
1801 :
1802 else
1803 rm -rf conftest.one conftest.two conftest.dir
1804 echo one > conftest.one
1805 echo two > conftest.two
1806 mkdir conftest.dir
1807 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1808 test -s conftest.one && test -s conftest.two &&
1809 test -s conftest.dir/conftest.one &&
1810 test -s conftest.dir/conftest.two
1811 then
1812 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1813 break 3
1814 fi
1815 fi
1816 fi
1817 done
1818 done
1819 ;;
1820 esac
1821
1822 done
1823 IFS=$as_save_IFS
1824
1825 rm -rf conftest.one conftest.two conftest.dir
1826
1827 fi
1828 if test "${ac_cv_path_install+set}" = set; then
1829 INSTALL=$ac_cv_path_install
1830 else
1831 # As a last resort, use the slow shell script. Don't cache a
1832 # value for INSTALL within a source directory, because that will
1833 # break other packages using the cache if that directory is
1834 # removed, or if the value is a relative name.
1835 INSTALL=$ac_install_sh
1836 fi
1837 fi
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1839 $as_echo "$INSTALL" >&6; }
1840
1841 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1842 # It thinks the first close brace ends the variable substitution.
1843 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1844
1845 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1846
1847 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1848
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1850 $as_echo_n "checking whether build environment is sane... " >&6; }
1851 # Just in case
1852 sleep 1
1853 echo timestamp > conftest.file
1854 # Reject unsafe characters in $srcdir or the absolute working directory
1855 # name. Accept space and tab only in the latter.
1856 am_lf='
1857 '
1858 case `pwd` in
1859 *[\\\"\#\$\&\'\`$am_lf]*)
1860 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1861 esac
1862 case $srcdir in
1863 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1864 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1865 esac
1866
1867 # Do `set' in a subshell so we don't clobber the current shell's
1868 # arguments. Must try -L first in case configure is actually a
1869 # symlink; some systems play weird games with the mod time of symlinks
1870 # (eg FreeBSD returns the mod time of the symlink's containing
1871 # directory).
1872 if (
1873 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1874 if test "$*" = "X"; then
1875 # -L didn't work.
1876 set X `ls -t "$srcdir/configure" conftest.file`
1877 fi
1878 rm -f conftest.file
1879 if test "$*" != "X $srcdir/configure conftest.file" \
1880 && test "$*" != "X conftest.file $srcdir/configure"; then
1881
1882 # If neither matched, then we have a broken ls. This can happen
1883 # if, for instance, CONFIG_SHELL is bash and it inherits a
1884 # broken ls alias from the environment. This has actually
1885 # happened. Such a system could not be considered "sane".
1886 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1887 alias in your environment" "$LINENO" 5
1888 fi
1889
1890 test "$2" = conftest.file
1891 )
1892 then
1893 # Ok.
1894 :
1895 else
1896 as_fn_error $? "newly created file is older than distributed files!
1897 Check your system clock" "$LINENO" 5
1898 fi
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1900 $as_echo "yes" >&6; }
1901 test "$program_prefix" != NONE &&
1902 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1903 # Use a double $ so make ignores it.
1904 test "$program_suffix" != NONE &&
1905 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1906 # Double any \ or $.
1907 # By default was `s,x,x', remove it if useless.
1908 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1909 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1910
1911 # expand $ac_aux_dir to an absolute path
1912 am_aux_dir=`cd $ac_aux_dir && pwd`
1913
1914 if test x"${MISSING+set}" != xset; then
1915 case $am_aux_dir in
1916 *\ * | *\ *)
1917 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1918 *)
1919 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1920 esac
1921 fi
1922 # Use eval to expand $SHELL
1923 if eval "$MISSING --run true"; then
1924 am_missing_run="$MISSING --run "
1925 else
1926 am_missing_run=
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1928 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1929 fi
1930
1931 if test x"${install_sh}" != xset; then
1932 case $am_aux_dir in
1933 *\ * | *\ *)
1934 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1935 *)
1936 install_sh="\${SHELL} $am_aux_dir/install-sh"
1937 esac
1938 fi
1939
1940 # Installed binaries are usually stripped using `strip' when the user
1941 # run `make install-strip'. However `strip' might not be the right
1942 # tool to use in cross-compilation environments, therefore Automake
1943 # will honor the `STRIP' environment variable to overrule this program.
1944 if test "$cross_compiling" != no; then
1945 if test -n "$ac_tool_prefix"; then
1946 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1947 set dummy ${ac_tool_prefix}strip; ac_word=$2
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1949 $as_echo_n "checking for $ac_word... " >&6; }
1950 if ${ac_cv_prog_STRIP+:} false; then :
1951 $as_echo_n "(cached) " >&6
1952 else
1953 if test -n "$STRIP"; then
1954 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1955 else
1956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1957 for as_dir in $PATH
1958 do
1959 IFS=$as_save_IFS
1960 test -z "$as_dir" && as_dir=.
1961 for ac_exec_ext in '' $ac_executable_extensions; do
1962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1963 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1965 break 2
1966 fi
1967 done
1968 done
1969 IFS=$as_save_IFS
1970
1971 fi
1972 fi
1973 STRIP=$ac_cv_prog_STRIP
1974 if test -n "$STRIP"; then
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1976 $as_echo "$STRIP" >&6; }
1977 else
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1979 $as_echo "no" >&6; }
1980 fi
1981
1982
1983 fi
1984 if test -z "$ac_cv_prog_STRIP"; then
1985 ac_ct_STRIP=$STRIP
1986 # Extract the first word of "strip", so it can be a program name with args.
1987 set dummy strip; ac_word=$2
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1989 $as_echo_n "checking for $ac_word... " >&6; }
1990 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1991 $as_echo_n "(cached) " >&6
1992 else
1993 if test -n "$ac_ct_STRIP"; then
1994 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1995 else
1996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997 for as_dir in $PATH
1998 do
1999 IFS=$as_save_IFS
2000 test -z "$as_dir" && as_dir=.
2001 for ac_exec_ext in '' $ac_executable_extensions; do
2002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2003 ac_cv_prog_ac_ct_STRIP="strip"
2004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2005 break 2
2006 fi
2007 done
2008 done
2009 IFS=$as_save_IFS
2010
2011 fi
2012 fi
2013 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2014 if test -n "$ac_ct_STRIP"; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2016 $as_echo "$ac_ct_STRIP" >&6; }
2017 else
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2019 $as_echo "no" >&6; }
2020 fi
2021
2022 if test "x$ac_ct_STRIP" = x; then
2023 STRIP=":"
2024 else
2025 case $cross_compiling:$ac_tool_warned in
2026 yes:)
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2029 ac_tool_warned=yes ;;
2030 esac
2031 STRIP=$ac_ct_STRIP
2032 fi
2033 else
2034 STRIP="$ac_cv_prog_STRIP"
2035 fi
2036
2037 fi
2038 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2039
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2041 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2042 if test -z "$MKDIR_P"; then
2043 if ${ac_cv_path_mkdir+:} false; then :
2044 $as_echo_n "(cached) " >&6
2045 else
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2048 do
2049 IFS=$as_save_IFS
2050 test -z "$as_dir" && as_dir=.
2051 for ac_prog in mkdir gmkdir; do
2052 for ac_exec_ext in '' $ac_executable_extensions; do
2053 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2054 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2055 'mkdir (GNU coreutils) '* | \
2056 'mkdir (coreutils) '* | \
2057 'mkdir (fileutils) '4.1*)
2058 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2059 break 3;;
2060 esac
2061 done
2062 done
2063 done
2064 IFS=$as_save_IFS
2065
2066 fi
2067
2068 test -d ./--version && rmdir ./--version
2069 if test "${ac_cv_path_mkdir+set}" = set; then
2070 MKDIR_P="$ac_cv_path_mkdir -p"
2071 else
2072 # As a last resort, use the slow shell script. Don't cache a
2073 # value for MKDIR_P within a source directory, because that will
2074 # break other packages using the cache if that directory is
2075 # removed, or if the value is a relative name.
2076 MKDIR_P="$ac_install_sh -d"
2077 fi
2078 fi
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2080 $as_echo "$MKDIR_P" >&6; }
2081
2082 mkdir_p="$MKDIR_P"
2083 case $mkdir_p in
2084 [\\/$]* | ?:[\\/]*) ;;
2085 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2086 esac
2087
2088 for ac_prog in gawk mawk nawk awk
2089 do
2090 # Extract the first word of "$ac_prog", so it can be a program name with args.
2091 set dummy $ac_prog; ac_word=$2
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2093 $as_echo_n "checking for $ac_word... " >&6; }
2094 if ${ac_cv_prog_AWK+:} false; then :
2095 $as_echo_n "(cached) " >&6
2096 else
2097 if test -n "$AWK"; then
2098 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2099 else
2100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 for as_dir in $PATH
2102 do
2103 IFS=$as_save_IFS
2104 test -z "$as_dir" && as_dir=.
2105 for ac_exec_ext in '' $ac_executable_extensions; do
2106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2107 ac_cv_prog_AWK="$ac_prog"
2108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2109 break 2
2110 fi
2111 done
2112 done
2113 IFS=$as_save_IFS
2114
2115 fi
2116 fi
2117 AWK=$ac_cv_prog_AWK
2118 if test -n "$AWK"; then
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2120 $as_echo "$AWK" >&6; }
2121 else
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2123 $as_echo "no" >&6; }
2124 fi
2125
2126
2127 test -n "$AWK" && break
2128 done
2129
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2131 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2132 set x ${MAKE-make}
2133 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2134 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2135 $as_echo_n "(cached) " >&6
2136 else
2137 cat >conftest.make <<\_ACEOF
2138 SHELL = /bin/sh
2139 all:
2140 @echo '@@@%%%=$(MAKE)=@@@%%%'
2141 _ACEOF
2142 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2143 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2144 *@@@%%%=?*=@@@%%%*)
2145 eval ac_cv_prog_make_${ac_make}_set=yes;;
2146 *)
2147 eval ac_cv_prog_make_${ac_make}_set=no;;
2148 esac
2149 rm -f conftest.make
2150 fi
2151 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2153 $as_echo "yes" >&6; }
2154 SET_MAKE=
2155 else
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2157 $as_echo "no" >&6; }
2158 SET_MAKE="MAKE=${MAKE-make}"
2159 fi
2160
2161 rm -rf .tst 2>/dev/null
2162 mkdir .tst 2>/dev/null
2163 if test -d .tst; then
2164 am__leading_dot=.
2165 else
2166 am__leading_dot=_
2167 fi
2168 rmdir .tst 2>/dev/null
2169
2170 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2171 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2172 # is not polluted with repeated "-I."
2173 am__isrc=' -I$(srcdir)'
2174 # test to see if srcdir already configured
2175 if test -f $srcdir/config.status; then
2176 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2177 fi
2178 fi
2179
2180 # test whether we have cygpath
2181 if test -z "$CYGPATH_W"; then
2182 if (cygpath --version) >/dev/null 2>/dev/null; then
2183 CYGPATH_W='cygpath -w'
2184 else
2185 CYGPATH_W=echo
2186 fi
2187 fi
2188
2189
2190 # Define the identity of the package.
2191 PACKAGE='ibdiag'
2192 VERSION='1.5.7'
2193
2194
2195 cat >>confdefs.h <<_ACEOF
2196 @%:@define PACKAGE "$PACKAGE"
2197 _ACEOF
2198
2199
2200 cat >>confdefs.h <<_ACEOF
2201 @%:@define VERSION "$VERSION"
2202 _ACEOF
2203
2204 # Some tools Automake needs.
2205
2206 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2207
2208
2209 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2210
2211
2212 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2213
2214
2215 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2216
2217
2218 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2219
2220 # We need awk for the "check" target. The system "awk" is bad on
2221 # some platforms.
2222 # Always define AMTAR for backward compatibility.
2223
2224 AMTAR=${AMTAR-"${am_missing_run}tar"}
2225
2226 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2227
2228
2229
2230
2231
2232
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2234 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2235 set x ${MAKE-make}
2236 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2237 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2238 $as_echo_n "(cached) " >&6
2239 else
2240 cat >conftest.make <<\_ACEOF
2241 SHELL = /bin/sh
2242 all:
2243 @echo '@@@%%%=$(MAKE)=@@@%%%'
2244 _ACEOF
2245 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2246 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2247 *@@@%%%=?*=@@@%%%*)
2248 eval ac_cv_prog_make_${ac_make}_set=yes;;
2249 *)
2250 eval ac_cv_prog_make_${ac_make}_set=no;;
2251 esac
2252 rm -f conftest.make
2253 fi
2254 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2256 $as_echo "yes" >&6; }
2257 SET_MAKE=
2258 else
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2260 $as_echo "no" >&6; }
2261 SET_MAKE="MAKE=${MAKE-make}"
2262 fi
2263
2264
2265
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2267 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2268 @%:@ Check whether --enable-maintainer-mode was given.
2269 if test "${enable_maintainer_mode+set}" = set; then :
2270 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2271 else
2272 USE_MAINTAINER_MODE=no
2273 fi
2274
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2276 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2277 if test $USE_MAINTAINER_MODE = yes; then
2278 MAINTAINER_MODE_TRUE=
2279 MAINTAINER_MODE_FALSE='#'
2280 else
2281 MAINTAINER_MODE_TRUE='#'
2282 MAINTAINER_MODE_FALSE=
2283 fi
2284
2285 MAINT=$MAINTAINER_MODE_TRUE
2286
2287
2288
2289
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2291 $as_echo_n "checking whether ln -s works... " >&6; }
2292 LN_S=$as_ln_s
2293 if test "$LN_S" = "ln -s"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2295 $as_echo "yes" >&6; }
2296 else
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2298 $as_echo "no, using $LN_S" >&6; }
2299 fi
2300
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2302 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2303 set x ${MAKE-make}
2304 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2305 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2306 $as_echo_n "(cached) " >&6
2307 else
2308 cat >conftest.make <<\_ACEOF
2309 SHELL = /bin/sh
2310 all:
2311 @echo '@@@%%%=$(MAKE)=@@@%%%'
2312 _ACEOF
2313 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2314 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2315 *@@@%%%=?*=@@@%%%*)
2316 eval ac_cv_prog_make_${ac_make}_set=yes;;
2317 *)
2318 eval ac_cv_prog_make_${ac_make}_set=no;;
2319 esac
2320 rm -f conftest.make
2321 fi
2322 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2324 $as_echo "yes" >&6; }
2325 SET_MAKE=
2326 else
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2328 $as_echo "no" >&6; }
2329 SET_MAKE="MAKE=${MAKE-make}"
2330 fi
2331
2332
2333 @%:@ Check whether --enable-libcheck was given.
2334 if test "${enable_libcheck+set}" = set; then :
2335 enableval=$enable_libcheck; case "${enableval}" in
2336 yes) libcheck=true ;;
2337 no) libcheck=false ;;
2338 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;;
2339 esac
2340 else
2341 libcheck=true
2342 fi
2343
2344
2345 if test $libcheck = true; then
2346
2347
2348
2349 @%:@ Check whether --with-ibis was given.
2350 if test "${with_ibis+set}" = set; then :
2351 withval=$with_ibis; { $as_echo "$as_me:${as_lineno-$LINENO}: IBIS: given path:$with_ibis" >&5
2352 $as_echo "$as_me: IBIS: given path:$with_ibis" >&6;}
2353 else
2354 with_ibis="none"
2355 fi
2356
2357
2358 if test "x$with_ibis" = "xnone"; then
2359 dirs="/usr/bin /usr/local/bin /usr/local/ibgd/bin /usr/local/ibg2/bin /usr/local/ibed/bin /usr/local/ofed/bin"
2360 for d in $dirs; do
2361 if test -e $d/ibis; then
2362 with_ibis=$d
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: IBIS: found in:$with_ibis" >&5
2364 $as_echo "$as_me: IBIS: found in:$with_ibis" >&6;}
2365 fi
2366 done
2367 fi
2368
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: IBIS: using ibis executable from:$with_ibis" >&5
2370 $as_echo "$as_me: IBIS: using ibis executable from:$with_ibis" >&6;}
2371
2372
2373
2374
2375
2376 @%:@ Check whether --with-ibdm-lib was given.
2377 if test "${with_ibdm_lib+set}" = set; then :
2378 withval=$with_ibdm_lib; { $as_echo "$as_me:${as_lineno-$LINENO}: IBDM: given path:$with_ibdm_lib" >&5
2379 $as_echo "$as_me: IBDM: given path:$with_ibdm_lib" >&6;}
2380 else
2381 with_ibdm_lib="none"
2382 fi
2383
2384
2385 if test "x$with_ibdm_lib" = xnone; then
2386 dirs="/usr/lib /usr/local/lib /usr/local/ibgd/lib /usr/local/ibg2/lib /usr/local/ibed/lib /usr/local/ofed/lib"
2387 for d in $dirs; do
2388 if test -d $d/ibdm1.0; then
2389 with_ibdm_lib=$d
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: IBDM: found in:$with_ibdm_lib" >&5
2391 $as_echo "$as_me: IBDM: found in:$with_ibdm_lib" >&6;}
2392 fi
2393 done
2394 for d in $dirs; do
2395 if test -d ${d}64/ibdm1.0; then
2396 with_ibdm_lib=${d}64
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: IBDM: found in:$with_ibdm_lib" >&5
2398 $as_echo "$as_me: IBDM: found in:$with_ibdm_lib" >&6;}
2399 fi
2400 done
2401 fi
2402
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: IBDM: using TCL lib from:$with_ibdm_lib" >&5
2404 $as_echo "$as_me: IBDM: using TCL lib from:$with_ibdm_lib" >&6;}
2405
2406
2407
2408
2409
2410 @%:@ Check whether --with-tk-lib was given.
2411 if test "${with_tk_lib+set}" = set; then :
2412 withval=$with_tk_lib; { $as_echo "$as_me:${as_lineno-$LINENO}: TK: given path:$with_tk_lib" >&5
2413 $as_echo "$as_me: TK: given path:$with_tk_lib" >&6;}
2414 else
2415 with_tk_lib="none"
2416 fi
2417
2418
2419 if test "x$with_tk_lib" = "xnone"; then
2420 dirs="/usr /usr/local /usr/local/ibgd /usr/local/ibg2 /usr/local/ibed /usr/local/ofed"
2421 for d in $dirs; do
2422 if test -e $d/lib/libtk8.4.so -o -e $d/lib/libtk8.5.so; then
2423 with_tk_lib=$d/lib
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: TK: found in:$with_tk_lib" >&5
2425 $as_echo "$as_me: TK: found in:$with_tk_lib" >&6;}
2426 fi
2427 if test -e $d/lib64/libtk8.4.so -o -e $d/lib64/libtk8.5.so; then
2428 with_tk_lib=$d/lib64
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: TK: found in:$with_tk_lib" >&5
2430 $as_echo "$as_me: TK: found in:$with_tk_lib" >&6;}
2431 fi
2432 done
2433 fi
2434
2435 if test "x$with_tk_lib" = "xnone"; then
2436 as_fn_error $? "TK: failed to find tk8.4 or tk8.5 lib. Please use --with-tk-lib" "$LINENO" 5
2437 fi
2438
2439
2440
2441
2442
2443
2444 @%:@ Check whether --with-graphviz-lib was given.
2445 if test "${with_graphviz_lib+set}" = set; then :
2446 withval=$with_graphviz_lib; { $as_echo "$as_me:${as_lineno-$LINENO}: GRAPHVIZ: given path:$with_graphviz_lib" >&5
2447 $as_echo "$as_me: GRAPHVIZ: given path:$with_graphviz_lib" >&6;}
2448 else
2449 with_graphviz_lib="none"
2450 fi
2451
2452
2453 if test "x$with_graphviz_lib" = "xnone"; then
2454 dirs="/usr /usr/local /usr/local/ibgd /usr/local/ibg2 /usr/local/ibed /usr/local/ofed"
2455 for d in $dirs; do
2456 if test -e $d/lib/graphviz/tcl/libtcldot.so; then
2457 with_graphviz_lib=$d/lib
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: GRAPHVIZ: found in:$with_graphviz_lib" >&5
2459 $as_echo "$as_me: GRAPHVIZ: found in:$with_graphviz_lib" >&6;}
2460 fi
2461 if test -e $d/lib64/graphviz/tcl/libtcldot.so; then
2462 with_graphviz_lib=$d/lib64
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: GRAPHVIZ: found in:$with_graphviz_lib" >&5
2464 $as_echo "$as_me: GRAPHVIZ: found in:$with_graphviz_lib" >&6;}
2465 fi
2466 done
2467 fi
2468
2469 if test "x$with_graphviz_lib" = "xnone"; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GRAPHVIZ: failed to find graphviz/tcl/libtcldot.so lib. Please use --with-graphviz-lib or else ibdiagui will not run properly" >&5
2471 $as_echo "$as_me: WARNING: GRAPHVIZ: failed to find graphviz/tcl/libtcldot.so lib. Please use --with-graphviz-lib or else ibdiagui will not run properly" >&2;}
2472 fi
2473
2474
2475
2476 fi
2477
2478 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile"
2479
2480 cat >confcache <<\_ACEOF
2481 # This file is a shell script that caches the results of configure
2482 # tests run on this system so they can be shared between configure
2483 # scripts and configure runs, see configure's option --config-cache.
2484 # It is not useful on other systems. If it contains results you don't
2485 # want to keep, you may remove or edit it.
2486 #
2487 # config.status only pays attention to the cache file if you give it
2488 # the --recheck option to rerun configure.
2489 #
2490 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2491 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2492 # following values.
2493
2494 _ACEOF
2495
2496 # The following way of writing the cache mishandles newlines in values,
2497 # but we know of no workaround that is simple, portable, and efficient.
2498 # So, we kill variables containing newlines.
2499 # Ultrix sh set writes to stderr and can't be redirected directly,
2500 # and sets the high bit in the cache file unless we assign to the vars.
2501 (
2502 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2503 eval ac_val=\$$ac_var
2504 case $ac_val in #(
2505 *${as_nl}*)
2506 case $ac_var in #(
2507 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2508 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2509 esac
2510 case $ac_var in #(
2511 _ | IFS | as_nl) ;; #(
2512 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2513 *) { eval $ac_var=; unset $ac_var;} ;;
2514 esac ;;
2515 esac
2516 done
2517
2518 (set) 2>&1 |
2519 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2520 *${as_nl}ac_space=\ *)
2521 # `set' does not quote correctly, so add quotes: double-quote
2522 # substitution turns \\\\ into \\, and sed turns \\ into \.
2523 sed -n \
2524 "s/'/'\\\\''/g;
2525 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2526 ;; #(
2527 *)
2528 # `set' quotes correctly as required by POSIX, so do not add quotes.
2529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2530 ;;
2531 esac |
2532 sort
2533 ) |
2534 sed '
2535 /^ac_cv_env_/b end
2536 t clear
2537 :clear
2538 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2539 t end
2540 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2541 :end' >>confcache
2542 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2543 if test -w "$cache_file"; then
2544 if test "x$cache_file" != "x/dev/null"; then
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2546 $as_echo "$as_me: updating cache $cache_file" >&6;}
2547 if test ! -f "$cache_file" || test -h "$cache_file"; then
2548 cat confcache >"$cache_file"
2549 else
2550 case $cache_file in #(
2551 */* | ?:*)
2552 mv -f confcache "$cache_file"$$ &&
2553 mv -f "$cache_file"$$ "$cache_file" ;; #(
2554 *)
2555 mv -f confcache "$cache_file" ;;
2556 esac
2557 fi
2558 fi
2559 else
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2561 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2562 fi
2563 fi
2564 rm -f confcache
2565
2566 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2567 # Let make expand exec_prefix.
2568 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2569
2570 # Transform confdefs.h into DEFS.
2571 # Protect against shell expansion while executing Makefile rules.
2572 # Protect against Makefile macro expansion.
2573 #
2574 # If the first sed substitution is executed (which looks for macros that
2575 # take arguments), then branch to the quote section. Otherwise,
2576 # look for a macro that doesn't take arguments.
2577 ac_script='
2578 :mline
2579 /\\$/{
2580 N
2581 s,\\\n,,
2582 b mline
2583 }
2584 t clear
2585 :clear
2586 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2587 t quote
2588 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2589 t quote
2590 b any
2591 :quote
2592 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2593 s/\[/\\&/g
2594 s/\]/\\&/g
2595 s/\$/$$/g
2596 H
2597 :any
2598 ${
2599 g
2600 s/^\n//
2601 s/\n/ /g
2602 p
2603 }
2604 '
2605 DEFS=`sed -n "$ac_script" confdefs.h`
2606
2607
2608 ac_libobjs=
2609 ac_ltlibobjs=
2610 U=
2611 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
2612 # 1. Remove the extension, and $U if already installed.
2613 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2614 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2615 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2616 # will be set to the directory where LIBOBJS objects are built.
2617 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2618 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2619 done
2620 LIB@&t@OBJS=$ac_libobjs
2621
2622 LTLIBOBJS=$ac_ltlibobjs
2623
2624
2625
2626 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2627 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
2628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2629 fi
2630
2631 : "${CONFIG_STATUS=./config.status}"
2632 ac_write_fail=0
2633 ac_clean_files_save=$ac_clean_files
2634 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2636 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2637 as_write_fail=0
2638 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2639 #! $SHELL
2640 # Generated by $as_me.
2641 # Run this file to recreate the current configuration.
2642 # Compiler output produced by configure, useful for debugging
2643 # configure, is in config.log if it exists.
2644
2645 debug=false
2646 ac_cs_recheck=false
2647 ac_cs_silent=false
2648
2649 SHELL=\${CONFIG_SHELL-$SHELL}
2650 export SHELL
2651 _ASEOF
2652 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2653 ## -------------------- ##
2654 ## M4sh Initialization. ##
2655 ## -------------------- ##
2656
2657 # Be more Bourne compatible
2658 DUALCASE=1; export DUALCASE # for MKS sh
2659 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2660 emulate sh
2661 NULLCMD=:
2662 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2663 # is contrary to our usage. Disable this feature.
2664 alias -g '${1+"$@"}'='"$@"'
2665 setopt NO_GLOB_SUBST
2666 else
2667 case `(set -o) 2>/dev/null` in @%:@(
2668 *posix*) :
2669 set -o posix ;; @%:@(
2670 *) :
2671 ;;
2672 esac
2673 fi
2674
2675
2676 as_nl='
2677 '
2678 export as_nl
2679 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2680 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2681 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2682 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2683 # Prefer a ksh shell builtin over an external printf program on Solaris,
2684 # but without wasting forks for bash or zsh.
2685 if test -z "$BASH_VERSION$ZSH_VERSION" \
2686 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2687 as_echo='print -r --'
2688 as_echo_n='print -rn --'
2689 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2690 as_echo='printf %s\n'
2691 as_echo_n='printf %s'
2692 else
2693 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2694 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2695 as_echo_n='/usr/ucb/echo -n'
2696 else
2697 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2698 as_echo_n_body='eval
2699 arg=$1;
2700 case $arg in @%:@(
2701 *"$as_nl"*)
2702 expr "X$arg" : "X\\(.*\\)$as_nl";
2703 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2704 esac;
2705 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2706 '
2707 export as_echo_n_body
2708 as_echo_n='sh -c $as_echo_n_body as_echo'
2709 fi
2710 export as_echo_body
2711 as_echo='sh -c $as_echo_body as_echo'
2712 fi
2713
2714 # The user is always right.
2715 if test "${PATH_SEPARATOR+set}" != set; then
2716 PATH_SEPARATOR=:
2717 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2718 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2719 PATH_SEPARATOR=';'
2720 }
2721 fi
2722
2723
2724 # IFS
2725 # We need space, tab and new line, in precisely that order. Quoting is
2726 # there to prevent editors from complaining about space-tab.
2727 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2728 # splitting by setting IFS to empty value.)
2729 IFS=" "" $as_nl"
2730
2731 # Find who we are. Look in the path if we contain no directory separator.
2732 as_myself=
2733 case $0 in @%:@((
2734 *[\\/]* ) as_myself=$0 ;;
2735 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736 for as_dir in $PATH
2737 do
2738 IFS=$as_save_IFS
2739 test -z "$as_dir" && as_dir=.
2740 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2741 done
2742 IFS=$as_save_IFS
2743
2744 ;;
2745 esac
2746 # We did not find ourselves, most probably we were run as `sh COMMAND'
2747 # in which case we are not to be found in the path.
2748 if test "x$as_myself" = x; then
2749 as_myself=$0
2750 fi
2751 if test ! -f "$as_myself"; then
2752 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2753 exit 1
2754 fi
2755
2756 # Unset variables that we do not need and which cause bugs (e.g. in
2757 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2758 # suppresses any "Segmentation fault" message there. '((' could
2759 # trigger a bug in pdksh 5.2.14.
2760 for as_var in BASH_ENV ENV MAIL MAILPATH
2761 do eval test x\${$as_var+set} = xset \
2762 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2763 done
2764 PS1='$ '
2765 PS2='> '
2766 PS4='+ '
2767
2768 # NLS nuisances.
2769 LC_ALL=C
2770 export LC_ALL
2771 LANGUAGE=C
2772 export LANGUAGE
2773
2774 # CDPATH.
2775 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2776
2777
2778 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
2779 @%:@ ----------------------------------------
2780 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2781 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2782 @%:@ script with STATUS, using 1 if that was 0.
2783 as_fn_error ()
2784 {
2785 as_status=$1; test $as_status -eq 0 && as_status=1
2786 if test "$4"; then
2787 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2789 fi
2790 $as_echo "$as_me: error: $2" >&2
2791 as_fn_exit $as_status
2792 } @%:@ as_fn_error
2793
2794
2795 @%:@ as_fn_set_status STATUS
2796 @%:@ -----------------------
2797 @%:@ Set @S|@? to STATUS, without forking.
2798 as_fn_set_status ()
2799 {
2800 return $1
2801 } @%:@ as_fn_set_status
2802
2803 @%:@ as_fn_exit STATUS
2804 @%:@ -----------------
2805 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2806 as_fn_exit ()
2807 {
2808 set +e
2809 as_fn_set_status $1
2810 exit $1
2811 } @%:@ as_fn_exit
2812
2813 @%:@ as_fn_unset VAR
2814 @%:@ ---------------
2815 @%:@ Portably unset VAR.
2816 as_fn_unset ()
2817 {
2818 { eval $1=; unset $1;}
2819 }
2820 as_unset=as_fn_unset
2821 @%:@ as_fn_append VAR VALUE
2822 @%:@ ----------------------
2823 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
2824 @%:@ advantage of any shell optimizations that allow amortized linear growth over
2825 @%:@ repeated appends, instead of the typical quadratic growth present in naive
2826 @%:@ implementations.
2827 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2828 eval 'as_fn_append ()
2829 {
2830 eval $1+=\$2
2831 }'
2832 else
2833 as_fn_append ()
2834 {
2835 eval $1=\$$1\$2
2836 }
2837 fi # as_fn_append
2838
2839 @%:@ as_fn_arith ARG...
2840 @%:@ ------------------
2841 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
2842 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
2843 @%:@ must be portable across @S|@(()) and expr.
2844 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2845 eval 'as_fn_arith ()
2846 {
2847 as_val=$(( $* ))
2848 }'
2849 else
2850 as_fn_arith ()
2851 {
2852 as_val=`expr "$@" || test $? -eq 1`
2853 }
2854 fi # as_fn_arith
2855
2856
2857 if expr a : '\(a\)' >/dev/null 2>&1 &&
2858 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2859 as_expr=expr
2860 else
2861 as_expr=false
2862 fi
2863
2864 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2865 as_basename=basename
2866 else
2867 as_basename=false
2868 fi
2869
2870 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2871 as_dirname=dirname
2872 else
2873 as_dirname=false
2874 fi
2875
2876 as_me=`$as_basename -- "$0" ||
2877 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2878 X"$0" : 'X\(//\)$' \| \
2879 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2880 $as_echo X/"$0" |
2881 sed '/^.*\/\([^/][^/]*\)\/*$/{
2882 s//\1/
2883 q
2884 }
2885 /^X\/\(\/\/\)$/{
2886 s//\1/
2887 q
2888 }
2889 /^X\/\(\/\).*/{
2890 s//\1/
2891 q
2892 }
2893 s/.*/./; q'`
2894
2895 # Avoid depending upon Character Ranges.
2896 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2897 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2898 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2899 as_cr_digits='0123456789'
2900 as_cr_alnum=$as_cr_Letters$as_cr_digits
2901
2902 ECHO_C= ECHO_N= ECHO_T=
2903 case `echo -n x` in @%:@(((((
2904 -n*)
2905 case `echo 'xy\c'` in
2906 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2907 xy) ECHO_C='\c';;
2908 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2909 ECHO_T=' ';;
2910 esac;;
2911 *)
2912 ECHO_N='-n';;
2913 esac
2914
2915 rm -f conf$$ conf$$.exe conf$$.file
2916 if test -d conf$$.dir; then
2917 rm -f conf$$.dir/conf$$.file
2918 else
2919 rm -f conf$$.dir
2920 mkdir conf$$.dir 2>/dev/null
2921 fi
2922 if (echo >conf$$.file) 2>/dev/null; then
2923 if ln -s conf$$.file conf$$ 2>/dev/null; then
2924 as_ln_s='ln -s'
2925 # ... but there are two gotchas:
2926 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2927 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2928 # In both cases, we have to default to `cp -pR'.
2929 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2930 as_ln_s='cp -pR'
2931 elif ln conf$$.file conf$$ 2>/dev/null; then
2932 as_ln_s=ln
2933 else
2934 as_ln_s='cp -pR'
2935 fi
2936 else
2937 as_ln_s='cp -pR'
2938 fi
2939 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2940 rmdir conf$$.dir 2>/dev/null
2941
2942
2943 @%:@ as_fn_mkdir_p
2944 @%:@ -------------
2945 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
2946 as_fn_mkdir_p ()
2947 {
2948
2949 case $as_dir in #(
2950 -*) as_dir=./$as_dir;;
2951 esac
2952 test -d "$as_dir" || eval $as_mkdir_p || {
2953 as_dirs=
2954 while :; do
2955 case $as_dir in #(
2956 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2957 *) as_qdir=$as_dir;;
2958 esac
2959 as_dirs="'$as_qdir' $as_dirs"
2960 as_dir=`$as_dirname -- "$as_dir" ||
2961 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2962 X"$as_dir" : 'X\(//\)[^/]' \| \
2963 X"$as_dir" : 'X\(//\)$' \| \
2964 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2965 $as_echo X"$as_dir" |
2966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2967 s//\1/
2968 q
2969 }
2970 /^X\(\/\/\)[^/].*/{
2971 s//\1/
2972 q
2973 }
2974 /^X\(\/\/\)$/{
2975 s//\1/
2976 q
2977 }
2978 /^X\(\/\).*/{
2979 s//\1/
2980 q
2981 }
2982 s/.*/./; q'`
2983 test -d "$as_dir" && break
2984 done
2985 test -z "$as_dirs" || eval "mkdir $as_dirs"
2986 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2987
2988
2989 } @%:@ as_fn_mkdir_p
2990 if mkdir -p . 2>/dev/null; then
2991 as_mkdir_p='mkdir -p "$as_dir"'
2992 else
2993 test -d ./-p && rmdir ./-p
2994 as_mkdir_p=false
2995 fi
2996
2997
2998 @%:@ as_fn_executable_p FILE
2999 @%:@ -----------------------
3000 @%:@ Test if FILE is an executable regular file.
3001 as_fn_executable_p ()
3002 {
3003 test -f "$1" && test -x "$1"
3004 } @%:@ as_fn_executable_p
3005 as_test_x='test -x'
3006 as_executable_p=as_fn_executable_p
3007
3008 # Sed expression to map a string onto a valid CPP name.
3009 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3010
3011 # Sed expression to map a string onto a valid variable name.
3012 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3013
3014
3015 exec 6>&1
3016 ## ----------------------------------- ##
3017 ## Main body of $CONFIG_STATUS script. ##
3018 ## ----------------------------------- ##
3019 _ASEOF
3020 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3021
3022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3023 # Save the log message, to keep $0 and so on meaningful, and to
3024 # report actual input values of CONFIG_FILES etc. instead of their
3025 # values after options handling.
3026 ac_log="
3027 This file was extended by ibdiag $as_me 1.5.7, which was
3028 generated by GNU Autoconf 2.69. Invocation command line was
3029
3030 CONFIG_FILES = $CONFIG_FILES
3031 CONFIG_HEADERS = $CONFIG_HEADERS
3032 CONFIG_LINKS = $CONFIG_LINKS
3033 CONFIG_COMMANDS = $CONFIG_COMMANDS
3034 $ $0 $@
3035
3036 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3037 "
3038
3039 _ACEOF
3040
3041 case $ac_config_files in *"
3042 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3043 esac
3044
3045
3046
3047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3048 # Files that config.status was made for.
3049 config_files="$ac_config_files"
3050
3051 _ACEOF
3052
3053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3054 ac_cs_usage="\
3055 \`$as_me' instantiates files and other configuration actions
3056 from templates according to the current configuration. Unless the files
3057 and actions are specified as TAGs, all are instantiated by default.
3058
3059 Usage: $0 [OPTION]... [TAG]...
3060
3061 -h, --help print this help, then exit
3062 -V, --version print version number and configuration settings, then exit
3063 --config print configuration, then exit
3064 -q, --quiet, --silent
3065 do not print progress messages
3066 -d, --debug don't remove temporary files
3067 --recheck update $as_me by reconfiguring in the same conditions
3068 --file=FILE[:TEMPLATE]
3069 instantiate the configuration file FILE
3070
3071 Configuration files:
3072 $config_files
3073
3074 Report bugs to <openib-general@openib.org>."
3075
3076 _ACEOF
3077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3078 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3079 ac_cs_version="\\
3080 ibdiag config.status 1.5.7
3081 configured by $0, generated by GNU Autoconf 2.69,
3082 with options \\"\$ac_cs_config\\"
3083
3084 Copyright (C) 2012 Free Software Foundation, Inc.
3085 This config.status script is free software; the Free Software Foundation
3086 gives unlimited permission to copy, distribute and modify it."
3087
3088 ac_pwd='$ac_pwd'
3089 srcdir='$srcdir'
3090 INSTALL='$INSTALL'
3091 MKDIR_P='$MKDIR_P'
3092 AWK='$AWK'
3093 test -n "\$AWK" || AWK=awk
3094 _ACEOF
3095
3096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3097 # The default lists apply if the user does not specify any file.
3098 ac_need_defaults=:
3099 while test $# != 0
3100 do
3101 case $1 in
3102 --*=?*)
3103 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3104 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3105 ac_shift=:
3106 ;;
3107 --*=)
3108 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3109 ac_optarg=
3110 ac_shift=:
3111 ;;
3112 *)
3113 ac_option=$1
3114 ac_optarg=$2
3115 ac_shift=shift
3116 ;;
3117 esac
3118
3119 case $ac_option in
3120 # Handling of the options.
3121 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3122 ac_cs_recheck=: ;;
3123 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3124 $as_echo "$ac_cs_version"; exit ;;
3125 --config | --confi | --conf | --con | --co | --c )
3126 $as_echo "$ac_cs_config"; exit ;;
3127 --debug | --debu | --deb | --de | --d | -d )
3128 debug=: ;;
3129 --file | --fil | --fi | --f )
3130 $ac_shift
3131 case $ac_optarg in
3132 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3133 '') as_fn_error $? "missing file argument" ;;
3134 esac
3135 as_fn_append CONFIG_FILES " '$ac_optarg'"
3136 ac_need_defaults=false;;
3137 --he | --h | --help | --hel | -h )
3138 $as_echo "$ac_cs_usage"; exit ;;
3139 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3140 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3141 ac_cs_silent=: ;;
3142
3143 # This is an error.
3144 -*) as_fn_error $? "unrecognized option: \`$1'
3145 Try \`$0 --help' for more information." ;;
3146
3147 *) as_fn_append ac_config_targets " $1"
3148 ac_need_defaults=false ;;
3149
3150 esac
3151 shift
3152 done
3153
3154 ac_configure_extra_args=
3155
3156 if $ac_cs_silent; then
3157 exec 6>/dev/null
3158 ac_configure_extra_args="$ac_configure_extra_args --silent"
3159 fi
3160
3161 _ACEOF
3162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3163 if \$ac_cs_recheck; then
3164 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3165 shift
3166 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3167 CONFIG_SHELL='$SHELL'
3168 export CONFIG_SHELL
3169 exec "\$@"
3170 fi
3171
3172 _ACEOF
3173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3174 exec 5>>config.log
3175 {
3176 echo
3177 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
3178 @%:@@%:@ Running $as_me. @%:@@%:@
3179 _ASBOX
3180 $as_echo "$ac_log"
3181 } >&5
3182
3183 _ACEOF
3184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3185 _ACEOF
3186
3187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3188
3189 # Handling of arguments.
3190 for ac_config_target in $ac_config_targets
3191 do
3192 case $ac_config_target in
3193 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3194 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3195 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3196
3197 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3198 esac
3199 done
3200
3201
3202 # If the user did not use the arguments to specify the items to instantiate,
3203 # then the envvar interface is used. Set only those that are not.
3204 # We use the long form for the default assignment because of an extremely
3205 # bizarre bug on SunOS 4.1.3.
3206 if $ac_need_defaults; then
3207 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3208 fi
3209
3210 # Have a temporary directory for convenience. Make it in the build tree
3211 # simply because there is no reason against having it here, and in addition,
3212 # creating and moving files from /tmp can sometimes cause problems.
3213 # Hook for its removal unless debugging.
3214 # Note that there is a small window in which the directory will not be cleaned:
3215 # after its creation but before its name has been assigned to `$tmp'.
3216 $debug ||
3217 {
3218 tmp= ac_tmp=
3219 trap 'exit_status=$?
3220 : "${ac_tmp:=$tmp}"
3221 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3222 ' 0
3223 trap 'as_fn_exit 1' 1 2 13 15
3224 }
3225 # Create a (secure) tmp directory for tmp files.
3226
3227 {
3228 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3229 test -d "$tmp"
3230 } ||
3231 {
3232 tmp=./conf$$-$RANDOM
3233 (umask 077 && mkdir "$tmp")
3234 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3235 ac_tmp=$tmp
3236
3237 # Set up the scripts for CONFIG_FILES section.
3238 # No need to generate them if there are no CONFIG_FILES.
3239 # This happens for instance with `./config.status config.h'.
3240 if test -n "$CONFIG_FILES"; then
3241
3242
3243 ac_cr=`echo X | tr X '\015'`
3244 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3245 # But we know of no other shell where ac_cr would be empty at this
3246 # point, so we can use a bashism as a fallback.
3247 if test "x$ac_cr" = x; then
3248 eval ac_cr=\$\'\\r\'
3249 fi
3250 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3251 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3252 ac_cs_awk_cr='\\r'
3253 else
3254 ac_cs_awk_cr=$ac_cr
3255 fi
3256
3257 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3258 _ACEOF
3259
3260
3261 {
3262 echo "cat >conf$$subs.awk <<_ACEOF" &&
3263 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3264 echo "_ACEOF"
3265 } >conf$$subs.sh ||
3266 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3267 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3268 ac_delim='%!_!# '
3269 for ac_last_try in false false false false false :; do
3270 . ./conf$$subs.sh ||
3271 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3272
3273 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3274 if test $ac_delim_n = $ac_delim_num; then
3275 break
3276 elif $ac_last_try; then
3277 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3278 else
3279 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3280 fi
3281 done
3282 rm -f conf$$subs.sh
3283
3284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3285 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3286 _ACEOF
3287 sed -n '
3288 h
3289 s/^/S["/; s/!.*/"]=/
3290 p
3291 g
3292 s/^[^!]*!//
3293 :repl
3294 t repl
3295 s/'"$ac_delim"'$//
3296 t delim
3297 :nl
3298 h
3299 s/\(.\{148\}\)..*/\1/
3300 t more1
3301 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3302 p
3303 n
3304 b repl
3305 :more1
3306 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3307 p
3308 g
3309 s/.\{148\}//
3310 t nl
3311 :delim
3312 h
3313 s/\(.\{148\}\)..*/\1/
3314 t more2
3315 s/["\\]/\\&/g; s/^/"/; s/$/"/
3316 p
3317 b
3318 :more2
3319 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3320 p
3321 g
3322 s/.\{148\}//
3323 t delim
3324 ' <conf$$subs.awk | sed '
3325 /^[^""]/{
3326 N
3327 s/\n//
3328 }
3329 ' >>$CONFIG_STATUS || ac_write_fail=1
3330 rm -f conf$$subs.awk
3331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3332 _ACAWK
3333 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3334 for (key in S) S_is_set[key] = 1
3335 FS = ""
3336
3337 }
3338 {
3339 line = $ 0
3340 nfields = split(line, field, "@")
3341 substed = 0
3342 len = length(field[1])
3343 for (i = 2; i < nfields; i++) {
3344 key = field[i]
3345 keylen = length(key)
3346 if (S_is_set[key]) {
3347 value = S[key]
3348 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3349 len += length(value) + length(field[++i])
3350 substed = 1
3351 } else
3352 len += 1 + keylen
3353 }
3354
3355 print line
3356 }
3357
3358 _ACAWK
3359 _ACEOF
3360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3361 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3362 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3363 else
3364 cat
3365 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3366 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3367 _ACEOF
3368
3369 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3370 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3371 # trailing colons and then remove the whole line if VPATH becomes empty
3372 # (actually we leave an empty line to preserve line numbers).
3373 if test "x$srcdir" = x.; then
3374 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3375 h
3376 s///
3377 s/^/:/
3378 s/[ ]*$/:/
3379 s/:\$(srcdir):/:/g
3380 s/:\${srcdir}:/:/g
3381 s/:@srcdir@:/:/g
3382 s/^:*//
3383 s/:*$//
3384 x
3385 s/\(=[ ]*\).*/\1/
3386 G
3387 s/\n//
3388 s/^[^=]*=[ ]*$//
3389 }'
3390 fi
3391
3392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3393 fi # test -n "$CONFIG_FILES"
3394
3395
3396 eval set X " :F $CONFIG_FILES "
3397 shift
3398 for ac_tag
3399 do
3400 case $ac_tag in
3401 :[FHLC]) ac_mode=$ac_tag; continue;;
3402 esac
3403 case $ac_mode$ac_tag in
3404 :[FHL]*:*);;
3405 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3406 :[FH]-) ac_tag=-:-;;
3407 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3408 esac
3409 ac_save_IFS=$IFS
3410 IFS=:
3411 set x $ac_tag
3412 IFS=$ac_save_IFS
3413 shift
3414 ac_file=$1
3415 shift
3416
3417 case $ac_mode in
3418 :L) ac_source=$1;;
3419 :[FH])
3420 ac_file_inputs=
3421 for ac_f
3422 do
3423 case $ac_f in
3424 -) ac_f="$ac_tmp/stdin";;
3425 *) # Look for the file first in the build tree, then in the source tree
3426 # (if the path is not absolute). The absolute path cannot be DOS-style,
3427 # because $ac_f cannot contain `:'.
3428 test -f "$ac_f" ||
3429 case $ac_f in
3430 [\\/$]*) false;;
3431 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3432 esac ||
3433 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3434 esac
3435 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3436 as_fn_append ac_file_inputs " '$ac_f'"
3437 done
3438
3439 # Let's still pretend it is `configure' which instantiates (i.e., don't
3440 # use $as_me), people would be surprised to read:
3441 # /* config.h. Generated by config.status. */
3442 configure_input='Generated from '`
3443 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3444 `' by configure.'
3445 if test x"$ac_file" != x-; then
3446 configure_input="$ac_file. $configure_input"
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3448 $as_echo "$as_me: creating $ac_file" >&6;}
3449 fi
3450 # Neutralize special characters interpreted by sed in replacement strings.
3451 case $configure_input in #(
3452 *\&* | *\|* | *\\* )
3453 ac_sed_conf_input=`$as_echo "$configure_input" |
3454 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3455 *) ac_sed_conf_input=$configure_input;;
3456 esac
3457
3458 case $ac_tag in
3459 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3460 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3461 esac
3462 ;;
3463 esac
3464
3465 ac_dir=`$as_dirname -- "$ac_file" ||
3466 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3467 X"$ac_file" : 'X\(//\)[^/]' \| \
3468 X"$ac_file" : 'X\(//\)$' \| \
3469 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3470 $as_echo X"$ac_file" |
3471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3472 s//\1/
3473 q
3474 }
3475 /^X\(\/\/\)[^/].*/{
3476 s//\1/
3477 q
3478 }
3479 /^X\(\/\/\)$/{
3480 s//\1/
3481 q
3482 }
3483 /^X\(\/\).*/{
3484 s//\1/
3485 q
3486 }
3487 s/.*/./; q'`
3488 as_dir="$ac_dir"; as_fn_mkdir_p
3489 ac_builddir=.
3490
3491 case "$ac_dir" in
3492 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3493 *)
3494 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3495 # A ".." for each directory in $ac_dir_suffix.
3496 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3497 case $ac_top_builddir_sub in
3498 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3499 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3500 esac ;;
3501 esac
3502 ac_abs_top_builddir=$ac_pwd
3503 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3504 # for backward compatibility:
3505 ac_top_builddir=$ac_top_build_prefix
3506
3507 case $srcdir in
3508 .) # We are building in place.
3509 ac_srcdir=.
3510 ac_top_srcdir=$ac_top_builddir_sub
3511 ac_abs_top_srcdir=$ac_pwd ;;
3512 [\\/]* | ?:[\\/]* ) # Absolute name.
3513 ac_srcdir=$srcdir$ac_dir_suffix;
3514 ac_top_srcdir=$srcdir
3515 ac_abs_top_srcdir=$srcdir ;;
3516 *) # Relative name.
3517 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3518 ac_top_srcdir=$ac_top_build_prefix$srcdir
3519 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3520 esac
3521 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3522
3523
3524 case $ac_mode in
3525 :F)
3526 #
3527 # CONFIG_FILE
3528 #
3529
3530 case $INSTALL in
3531 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3532 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3533 esac
3534 ac_MKDIR_P=$MKDIR_P
3535 case $MKDIR_P in
3536 [\\/$]* | ?:[\\/]* ) ;;
3537 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3538 esac
3539 _ACEOF
3540
3541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3542 # If the template does not know about datarootdir, expand it.
3543 # FIXME: This hack should be removed a few years after 2.60.
3544 ac_datarootdir_hack=; ac_datarootdir_seen=
3545 ac_sed_dataroot='
3546 /datarootdir/ {
3547 p
3548 q
3549 }
3550 /@datadir@/p
3551 /@docdir@/p
3552 /@infodir@/p
3553 /@localedir@/p
3554 /@mandir@/p'
3555 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3556 *datarootdir*) ac_datarootdir_seen=yes;;
3557 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3559 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3560 _ACEOF
3561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3562 ac_datarootdir_hack='
3563 s&@datadir@&$datadir&g
3564 s&@docdir@&$docdir&g
3565 s&@infodir@&$infodir&g
3566 s&@localedir@&$localedir&g
3567 s&@mandir@&$mandir&g
3568 s&\\\${datarootdir}&$datarootdir&g' ;;
3569 esac
3570 _ACEOF
3571
3572 # Neutralize VPATH when `$srcdir' = `.'.
3573 # Shell code in configure.ac might set extrasub.
3574 # FIXME: do we really want to maintain this feature?
3575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3576 ac_sed_extra="$ac_vpsub
3577 $extrasub
3578 _ACEOF
3579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3580 :t
3581 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3582 s|@configure_input@|$ac_sed_conf_input|;t t
3583 s&@top_builddir@&$ac_top_builddir_sub&;t t
3584 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3585 s&@srcdir@&$ac_srcdir&;t t
3586 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3587 s&@top_srcdir@&$ac_top_srcdir&;t t
3588 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3589 s&@builddir@&$ac_builddir&;t t
3590 s&@abs_builddir@&$ac_abs_builddir&;t t
3591 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3592 s&@INSTALL@&$ac_INSTALL&;t t
3593 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3594 $ac_datarootdir_hack
3595 "
3596 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3597 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3598
3599 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3600 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3601 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3602 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3604 which seems to be undefined. Please make sure it is defined" >&5
3605 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3606 which seems to be undefined. Please make sure it is defined" >&2;}
3607
3608 rm -f "$ac_tmp/stdin"
3609 case $ac_file in
3610 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3611 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3612 esac \
3613 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3614 ;;
3615
3616
3617
3618 esac
3619
3620 done # for ac_tag
3621
3622
3623 as_fn_exit 0
3624 _ACEOF
3625 ac_clean_files=$ac_clean_files_save
3626
3627 test $ac_write_fail = 0 ||
3628 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3629
3630
3631 # configure is writing to config.log, and then calls config.status.
3632 # config.status does its own redirection, appending to config.log.
3633 # Unfortunately, on DOS this fails, as config.log is still kept open
3634 # by configure, so config.status won't be able to write to it; its
3635 # output is simply discarded. So we exec the FD to /dev/null,
3636 # effectively closing config.log, so it can be properly (re)opened and
3637 # appended to by config.status. When coming back to configure, we
3638 # need to make the FD available again.
3639 if test "$no_create" != yes; then
3640 ac_cs_success=:
3641 ac_config_status_args=
3642 test "$silent" = yes &&
3643 ac_config_status_args="$ac_config_status_args --quiet"
3644 exec 5>/dev/null
3645 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3646 exec 5>>config.log
3647 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3648 # would make configure fail if this is the last instruction.
3649 $ac_cs_success || as_fn_exit 1
3650 fi
3651 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3653 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3654 fi
3655
3656
+0
-3657
ibdiag/autom4te.cache/output.1 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.69 for ibdiag 1.5.7.
3 @%:@
4 @%:@ Report bugs to <openib-general@openib.org>.
5 @%:@
6 @%:@
7 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8 @%:@
9 @%:@
10 @%:@ This configure script is free software; the Free Software Foundation
11 @%:@ gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 emulate sh
20 NULLCMD=:
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in @%:@(
27 *posix*) :
28 set -o posix ;; @%:@(
29 *) :
30 ;;
31 esac
32 fi
33
34
35 as_nl='
36 '
37 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in @%:@(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
72
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
80 fi
81
82
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
89
90 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
92 case $0 in @%:@((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 # Use a proper internal environment variable to ensure we don't fall
137 # into an infinite loop, continuously re-executing ourselves.
138 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
139 _as_can_reexec=no; export _as_can_reexec;
140 # We cannot yet assume a decent shell, so we have to provide a
141 # neutralization value for shells without unset; and this also
142 # works around shells that cannot unset nonexistent variables.
143 # Preserve -v and -x to the replacement shell.
144 BASH_ENV=/dev/null
145 ENV=/dev/null
146 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 case $- in @%:@ ((((
148 *v*x* | *x*v* ) as_opts=-vx ;;
149 *v* ) as_opts=-v ;;
150 *x* ) as_opts=-x ;;
151 * ) as_opts= ;;
152 esac
153 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154 # Admittedly, this is quite paranoid, since all the known shells bail
155 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
158 fi
159 # We don't want this to propagate to other subprocesses.
160 { _as_can_reexec=; unset _as_can_reexec;}
161 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
163 emulate sh
164 NULLCMD=:
165 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166 # is contrary to our usage. Disable this feature.
167 alias -g '\${1+\"\$@\"}'='\"\$@\"'
168 setopt NO_GLOB_SUBST
169 else
170 case \`(set -o) 2>/dev/null\` in @%:@(
171 *posix*) :
172 set -o posix ;; @%:@(
173 *) :
174 ;;
175 esac
176 fi
177 "
178 as_required="as_fn_return () { (exit \$1); }
179 as_fn_success () { as_fn_return 0; }
180 as_fn_failure () { as_fn_return 1; }
181 as_fn_ret_success () { return 0; }
182 as_fn_ret_failure () { return 1; }
183
184 exitcode=0
185 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191 else
192 exitcode=1; echo positional parameters were not saved.
193 fi
194 test x\$exitcode = x0 || exit 1
195 test -x / || exit 1"
196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
204 fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in @%:@(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
225 fi
226 fi
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in @%:@ ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
258 fi
259
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org and
268 $0: openib-general@openib.org about your system, including
269 $0: any error possibly output before this message. Then
270 $0: install a modern shell, or manually run the script
271 $0: under such a shell if you do have one."
272 fi
273 exit 1
274 fi
275 fi
276 fi
277 SHELL=${CONFIG_SHELL-/bin/sh}
278 export SHELL
279 # Unset more variables known to interfere with behavior of common tools.
280 CLICOLOR_FORCE= GREP_OPTIONS=
281 unset CLICOLOR_FORCE GREP_OPTIONS
282
283 ## --------------------- ##
284 ## M4sh Shell Functions. ##
285 ## --------------------- ##
286 @%:@ as_fn_unset VAR
287 @%:@ ---------------
288 @%:@ Portably unset VAR.
289 as_fn_unset ()
290 {
291 { eval $1=; unset $1;}
292 }
293 as_unset=as_fn_unset
294
295 @%:@ as_fn_set_status STATUS
296 @%:@ -----------------------
297 @%:@ Set @S|@? to STATUS, without forking.
298 as_fn_set_status ()
299 {
300 return $1
301 } @%:@ as_fn_set_status
302
303 @%:@ as_fn_exit STATUS
304 @%:@ -----------------
305 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306 as_fn_exit ()
307 {
308 set +e
309 as_fn_set_status $1
310 exit $1
311 } @%:@ as_fn_exit
312
313 @%:@ as_fn_mkdir_p
314 @%:@ -------------
315 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
316 as_fn_mkdir_p ()
317 {
318
319 case $as_dir in #(
320 -*) as_dir=./$as_dir;;
321 esac
322 test -d "$as_dir" || eval $as_mkdir_p || {
323 as_dirs=
324 while :; do
325 case $as_dir in #(
326 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 *) as_qdir=$as_dir;;
328 esac
329 as_dirs="'$as_qdir' $as_dirs"
330 as_dir=`$as_dirname -- "$as_dir" ||
331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
332 X"$as_dir" : 'X\(//\)[^/]' \| \
333 X"$as_dir" : 'X\(//\)$' \| \
334 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
335 $as_echo X"$as_dir" |
336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
337 s//\1/
338 q
339 }
340 /^X\(\/\/\)[^/].*/{
341 s//\1/
342 q
343 }
344 /^X\(\/\/\)$/{
345 s//\1/
346 q
347 }
348 /^X\(\/\).*/{
349 s//\1/
350 q
351 }
352 s/.*/./; q'`
353 test -d "$as_dir" && break
354 done
355 test -z "$as_dirs" || eval "mkdir $as_dirs"
356 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357
358
359 } @%:@ as_fn_mkdir_p
360
361 @%:@ as_fn_executable_p FILE
362 @%:@ -----------------------
363 @%:@ Test if FILE is an executable regular file.
364 as_fn_executable_p ()
365 {
366 test -f "$1" && test -x "$1"
367 } @%:@ as_fn_executable_p
368 @%:@ as_fn_append VAR VALUE
369 @%:@ ----------------------
370 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
371 @%:@ advantage of any shell optimizations that allow amortized linear growth over
372 @%:@ repeated appends, instead of the typical quadratic growth present in naive
373 @%:@ implementations.
374 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
375 eval 'as_fn_append ()
376 {
377 eval $1+=\$2
378 }'
379 else
380 as_fn_append ()
381 {
382 eval $1=\$$1\$2
383 }
384 fi # as_fn_append
385
386 @%:@ as_fn_arith ARG...
387 @%:@ ------------------
388 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
389 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
390 @%:@ must be portable across @S|@(()) and expr.
391 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
392 eval 'as_fn_arith ()
393 {
394 as_val=$(( $* ))
395 }'
396 else
397 as_fn_arith ()
398 {
399 as_val=`expr "$@" || test $? -eq 1`
400 }
401 fi # as_fn_arith
402
403
404 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
405 @%:@ ----------------------------------------
406 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
407 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
408 @%:@ script with STATUS, using 1 if that was 0.
409 as_fn_error ()
410 {
411 as_status=$1; test $as_status -eq 0 && as_status=1
412 if test "$4"; then
413 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 fi
416 $as_echo "$as_me: error: $2" >&2
417 as_fn_exit $as_status
418 } @%:@ as_fn_error
419
420 if expr a : '\(a\)' >/dev/null 2>&1 &&
421 test "X`expr 00001 : '.*\(...\)'`" = X001; then
422 as_expr=expr
423 else
424 as_expr=false
425 fi
426
427 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
428 as_basename=basename
429 else
430 as_basename=false
431 fi
432
433 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
434 as_dirname=dirname
435 else
436 as_dirname=false
437 fi
438
439 as_me=`$as_basename -- "$0" ||
440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
441 X"$0" : 'X\(//\)$' \| \
442 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 $as_echo X/"$0" |
444 sed '/^.*\/\([^/][^/]*\)\/*$/{
445 s//\1/
446 q
447 }
448 /^X\/\(\/\/\)$/{
449 s//\1/
450 q
451 }
452 /^X\/\(\/\).*/{
453 s//\1/
454 q
455 }
456 s/.*/./; q'`
457
458 # Avoid depending upon Character Ranges.
459 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
460 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
461 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
462 as_cr_digits='0123456789'
463 as_cr_alnum=$as_cr_Letters$as_cr_digits
464
465
466 as_lineno_1=$LINENO as_lineno_1a=$LINENO
467 as_lineno_2=$LINENO as_lineno_2a=$LINENO
468 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
469 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
470 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
471 sed -n '
472 p
473 /[$]LINENO/=
474 ' <$as_myself |
475 sed '
476 s/[$]LINENO.*/&-/
477 t lineno
478 b
479 :lineno
480 N
481 :loop
482 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
483 t loop
484 s/-\n.*//
485 ' >$as_me.lineno &&
486 chmod +x "$as_me.lineno" ||
487 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488
489 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
490 # already done that, so ensure we don't try to do so again and fall
491 # in an infinite loop. This has already happened in practice.
492 _as_can_reexec=no; export _as_can_reexec
493 # Don't try to exec as it changes $[0], causing all sort of problems
494 # (the dirname of $[0] is not the place where we might find the
495 # original and so on. Autoconf is especially sensitive to this).
496 . "./$as_me.lineno"
497 # Exit status is that of the last command.
498 exit
499 }
500
501 ECHO_C= ECHO_N= ECHO_T=
502 case `echo -n x` in @%:@(((((
503 -n*)
504 case `echo 'xy\c'` in
505 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 xy) ECHO_C='\c';;
507 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
508 ECHO_T=' ';;
509 esac;;
510 *)
511 ECHO_N='-n';;
512 esac
513
514 rm -f conf$$ conf$$.exe conf$$.file
515 if test -d conf$$.dir; then
516 rm -f conf$$.dir/conf$$.file
517 else
518 rm -f conf$$.dir
519 mkdir conf$$.dir 2>/dev/null
520 fi
521 if (echo >conf$$.file) 2>/dev/null; then
522 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 as_ln_s='ln -s'
524 # ... but there are two gotchas:
525 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
526 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
527 # In both cases, we have to default to `cp -pR'.
528 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 as_ln_s='cp -pR'
530 elif ln conf$$.file conf$$ 2>/dev/null; then
531 as_ln_s=ln
532 else
533 as_ln_s='cp -pR'
534 fi
535 else
536 as_ln_s='cp -pR'
537 fi
538 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
539 rmdir conf$$.dir 2>/dev/null
540
541 if mkdir -p . 2>/dev/null; then
542 as_mkdir_p='mkdir -p "$as_dir"'
543 else
544 test -d ./-p && rmdir ./-p
545 as_mkdir_p=false
546 fi
547
548 as_test_x='test -x'
549 as_executable_p=as_fn_executable_p
550
551 # Sed expression to map a string onto a valid CPP name.
552 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553
554 # Sed expression to map a string onto a valid variable name.
555 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556
557
558 test -n "$DJDIR" || exec 7<&0 </dev/null
559 exec 6>&1
560
561 # Name of the host.
562 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
563 # so uname gets run too.
564 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565
566 #
567 # Initializations.
568 #
569 ac_default_prefix=/usr/local
570 ac_clean_files=
571 ac_config_libobj_dir=.
572 LIB@&t@OBJS=
573 cross_compiling=no
574 subdirs=
575 MFLAGS=
576 MAKEFLAGS=
577
578 # Identity of this package.
579 PACKAGE_NAME='ibdiag'
580 PACKAGE_TARNAME='ibdiag'
581 PACKAGE_VERSION='1.5.7'
582 PACKAGE_STRING='ibdiag 1.5.7'
583 PACKAGE_BUGREPORT='openib-general@openib.org'
584 PACKAGE_URL=''
585
586 ac_subst_vars='LTLIBOBJS
587 LIB@&t@OBJS
588 with_graphviz_lib
589 with_tk_lib
590 with_ibdm_lib
591 with_ibis
592 LN_S
593 MAINT
594 MAINTAINER_MODE_FALSE
595 MAINTAINER_MODE_TRUE
596 am__untar
597 am__tar
598 AMTAR
599 am__leading_dot
600 SET_MAKE
601 AWK
602 mkdir_p
603 MKDIR_P
604 INSTALL_STRIP_PROGRAM
605 STRIP
606 install_sh
607 MAKEINFO
608 AUTOHEADER
609 AUTOMAKE
610 AUTOCONF
611 ACLOCAL
612 VERSION
613 PACKAGE
614 CYGPATH_W
615 am__isrc
616 INSTALL_DATA
617 INSTALL_SCRIPT
618 INSTALL_PROGRAM
619 target_alias
620 host_alias
621 build_alias
622 LIBS
623 ECHO_T
624 ECHO_N
625 ECHO_C
626 DEFS
627 mandir
628 localedir
629 libdir
630 psdir
631 pdfdir
632 dvidir
633 htmldir
634 infodir
635 docdir
636 oldincludedir
637 includedir
638 localstatedir
639 sharedstatedir
640 sysconfdir
641 datadir
642 datarootdir
643 libexecdir
644 sbindir
645 bindir
646 program_transform_name
647 prefix
648 exec_prefix
649 PACKAGE_URL
650 PACKAGE_BUGREPORT
651 PACKAGE_STRING
652 PACKAGE_VERSION
653 PACKAGE_TARNAME
654 PACKAGE_NAME
655 PATH_SEPARATOR
656 SHELL'
657 ac_subst_files=''
658 ac_user_opts='
659 enable_option_checking
660 enable_maintainer_mode
661 enable_libcheck
662 with_ibis
663 with_ibdm_lib
664 with_tk_lib
665 with_graphviz_lib
666 '
667 ac_precious_vars='build_alias
668 host_alias
669 target_alias'
670
671
672 # Initialize some variables set by options.
673 ac_init_help=
674 ac_init_version=false
675 ac_unrecognized_opts=
676 ac_unrecognized_sep=
677 # The variables have the same names as the options, with
678 # dashes changed to underlines.
679 cache_file=/dev/null
680 exec_prefix=NONE
681 no_create=
682 no_recursion=
683 prefix=NONE
684 program_prefix=NONE
685 program_suffix=NONE
686 program_transform_name=s,x,x,
687 silent=
688 site=
689 srcdir=
690 verbose=
691 x_includes=NONE
692 x_libraries=NONE
693
694 # Installation directory options.
695 # These are left unexpanded so users can "make install exec_prefix=/foo"
696 # and all the variables that are supposed to be based on exec_prefix
697 # by default will actually change.
698 # Use braces instead of parens because sh, perl, etc. also accept them.
699 # (The list follows the same order as the GNU Coding Standards.)
700 bindir='${exec_prefix}/bin'
701 sbindir='${exec_prefix}/sbin'
702 libexecdir='${exec_prefix}/libexec'
703 datarootdir='${prefix}/share'
704 datadir='${datarootdir}'
705 sysconfdir='${prefix}/etc'
706 sharedstatedir='${prefix}/com'
707 localstatedir='${prefix}/var'
708 includedir='${prefix}/include'
709 oldincludedir='/usr/include'
710 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
711 infodir='${datarootdir}/info'
712 htmldir='${docdir}'
713 dvidir='${docdir}'
714 pdfdir='${docdir}'
715 psdir='${docdir}'
716 libdir='${exec_prefix}/lib'
717 localedir='${datarootdir}/locale'
718 mandir='${datarootdir}/man'
719
720 ac_prev=
721 ac_dashdash=
722 for ac_option
723 do
724 # If the previous option needs an argument, assign it.
725 if test -n "$ac_prev"; then
726 eval $ac_prev=\$ac_option
727 ac_prev=
728 continue
729 fi
730
731 case $ac_option in
732 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
733 *=) ac_optarg= ;;
734 *) ac_optarg=yes ;;
735 esac
736
737 # Accept the important Cygnus configure options, so we can diagnose typos.
738
739 case $ac_dashdash$ac_option in
740 --)
741 ac_dashdash=yes ;;
742
743 -bindir | --bindir | --bindi | --bind | --bin | --bi)
744 ac_prev=bindir ;;
745 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
746 bindir=$ac_optarg ;;
747
748 -build | --build | --buil | --bui | --bu)
749 ac_prev=build_alias ;;
750 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
751 build_alias=$ac_optarg ;;
752
753 -cache-file | --cache-file | --cache-fil | --cache-fi \
754 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
755 ac_prev=cache_file ;;
756 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
757 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
758 cache_file=$ac_optarg ;;
759
760 --config-cache | -C)
761 cache_file=config.cache ;;
762
763 -datadir | --datadir | --datadi | --datad)
764 ac_prev=datadir ;;
765 -datadir=* | --datadir=* | --datadi=* | --datad=*)
766 datadir=$ac_optarg ;;
767
768 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
769 | --dataroo | --dataro | --datar)
770 ac_prev=datarootdir ;;
771 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
772 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
773 datarootdir=$ac_optarg ;;
774
775 -disable-* | --disable-*)
776 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
777 # Reject names that are not valid shell variable names.
778 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
779 as_fn_error $? "invalid feature name: $ac_useropt"
780 ac_useropt_orig=$ac_useropt
781 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
782 case $ac_user_opts in
783 *"
784 "enable_$ac_useropt"
785 "*) ;;
786 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
787 ac_unrecognized_sep=', ';;
788 esac
789 eval enable_$ac_useropt=no ;;
790
791 -docdir | --docdir | --docdi | --doc | --do)
792 ac_prev=docdir ;;
793 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
794 docdir=$ac_optarg ;;
795
796 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
797 ac_prev=dvidir ;;
798 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
799 dvidir=$ac_optarg ;;
800
801 -enable-* | --enable-*)
802 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
803 # Reject names that are not valid shell variable names.
804 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
805 as_fn_error $? "invalid feature name: $ac_useropt"
806 ac_useropt_orig=$ac_useropt
807 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
808 case $ac_user_opts in
809 *"
810 "enable_$ac_useropt"
811 "*) ;;
812 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
813 ac_unrecognized_sep=', ';;
814 esac
815 eval enable_$ac_useropt=\$ac_optarg ;;
816
817 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
818 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
819 | --exec | --exe | --ex)
820 ac_prev=exec_prefix ;;
821 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
822 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
823 | --exec=* | --exe=* | --ex=*)
824 exec_prefix=$ac_optarg ;;
825
826 -gas | --gas | --ga | --g)
827 # Obsolete; use --with-gas.
828 with_gas=yes ;;
829
830 -help | --help | --hel | --he | -h)
831 ac_init_help=long ;;
832 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
833 ac_init_help=recursive ;;
834 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
835 ac_init_help=short ;;
836
837 -host | --host | --hos | --ho)
838 ac_prev=host_alias ;;
839 -host=* | --host=* | --hos=* | --ho=*)
840 host_alias=$ac_optarg ;;
841
842 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
843 ac_prev=htmldir ;;
844 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
845 | --ht=*)
846 htmldir=$ac_optarg ;;
847
848 -includedir | --includedir | --includedi | --included | --include \
849 | --includ | --inclu | --incl | --inc)
850 ac_prev=includedir ;;
851 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
852 | --includ=* | --inclu=* | --incl=* | --inc=*)
853 includedir=$ac_optarg ;;
854
855 -infodir | --infodir | --infodi | --infod | --info | --inf)
856 ac_prev=infodir ;;
857 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
858 infodir=$ac_optarg ;;
859
860 -libdir | --libdir | --libdi | --libd)
861 ac_prev=libdir ;;
862 -libdir=* | --libdir=* | --libdi=* | --libd=*)
863 libdir=$ac_optarg ;;
864
865 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
866 | --libexe | --libex | --libe)
867 ac_prev=libexecdir ;;
868 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
869 | --libexe=* | --libex=* | --libe=*)
870 libexecdir=$ac_optarg ;;
871
872 -localedir | --localedir | --localedi | --localed | --locale)
873 ac_prev=localedir ;;
874 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
875 localedir=$ac_optarg ;;
876
877 -localstatedir | --localstatedir | --localstatedi | --localstated \
878 | --localstate | --localstat | --localsta | --localst | --locals)
879 ac_prev=localstatedir ;;
880 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
881 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
882 localstatedir=$ac_optarg ;;
883
884 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
885 ac_prev=mandir ;;
886 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
887 mandir=$ac_optarg ;;
888
889 -nfp | --nfp | --nf)
890 # Obsolete; use --without-fp.
891 with_fp=no ;;
892
893 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
894 | --no-cr | --no-c | -n)
895 no_create=yes ;;
896
897 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
898 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
899 no_recursion=yes ;;
900
901 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
902 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
903 | --oldin | --oldi | --old | --ol | --o)
904 ac_prev=oldincludedir ;;
905 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
906 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
907 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
908 oldincludedir=$ac_optarg ;;
909
910 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
911 ac_prev=prefix ;;
912 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
913 prefix=$ac_optarg ;;
914
915 -program-prefix | --program-prefix | --program-prefi | --program-pref \
916 | --program-pre | --program-pr | --program-p)
917 ac_prev=program_prefix ;;
918 -program-prefix=* | --program-prefix=* | --program-prefi=* \
919 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
920 program_prefix=$ac_optarg ;;
921
922 -program-suffix | --program-suffix | --program-suffi | --program-suff \
923 | --program-suf | --program-su | --program-s)
924 ac_prev=program_suffix ;;
925 -program-suffix=* | --program-suffix=* | --program-suffi=* \
926 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
927 program_suffix=$ac_optarg ;;
928
929 -program-transform-name | --program-transform-name \
930 | --program-transform-nam | --program-transform-na \
931 | --program-transform-n | --program-transform- \
932 | --program-transform | --program-transfor \
933 | --program-transfo | --program-transf \
934 | --program-trans | --program-tran \
935 | --progr-tra | --program-tr | --program-t)
936 ac_prev=program_transform_name ;;
937 -program-transform-name=* | --program-transform-name=* \
938 | --program-transform-nam=* | --program-transform-na=* \
939 | --program-transform-n=* | --program-transform-=* \
940 | --program-transform=* | --program-transfor=* \
941 | --program-transfo=* | --program-transf=* \
942 | --program-trans=* | --program-tran=* \
943 | --progr-tra=* | --program-tr=* | --program-t=*)
944 program_transform_name=$ac_optarg ;;
945
946 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
947 ac_prev=pdfdir ;;
948 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
949 pdfdir=$ac_optarg ;;
950
951 -psdir | --psdir | --psdi | --psd | --ps)
952 ac_prev=psdir ;;
953 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
954 psdir=$ac_optarg ;;
955
956 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
957 | -silent | --silent | --silen | --sile | --sil)
958 silent=yes ;;
959
960 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
961 ac_prev=sbindir ;;
962 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
963 | --sbi=* | --sb=*)
964 sbindir=$ac_optarg ;;
965
966 -sharedstatedir | --sharedstatedir | --sharedstatedi \
967 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
968 | --sharedst | --shareds | --shared | --share | --shar \
969 | --sha | --sh)
970 ac_prev=sharedstatedir ;;
971 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
972 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
973 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
974 | --sha=* | --sh=*)
975 sharedstatedir=$ac_optarg ;;
976
977 -site | --site | --sit)
978 ac_prev=site ;;
979 -site=* | --site=* | --sit=*)
980 site=$ac_optarg ;;
981
982 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
983 ac_prev=srcdir ;;
984 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
985 srcdir=$ac_optarg ;;
986
987 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
988 | --syscon | --sysco | --sysc | --sys | --sy)
989 ac_prev=sysconfdir ;;
990 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
991 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
992 sysconfdir=$ac_optarg ;;
993
994 -target | --target | --targe | --targ | --tar | --ta | --t)
995 ac_prev=target_alias ;;
996 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
997 target_alias=$ac_optarg ;;
998
999 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1000 verbose=yes ;;
1001
1002 -version | --version | --versio | --versi | --vers | -V)
1003 ac_init_version=: ;;
1004
1005 -with-* | --with-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error $? "invalid package name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1013 *"
1014 "with_$ac_useropt"
1015 "*) ;;
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1018 esac
1019 eval with_$ac_useropt=\$ac_optarg ;;
1020
1021 -without-* | --without-*)
1022 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025 as_fn_error $? "invalid package name: $ac_useropt"
1026 ac_useropt_orig=$ac_useropt
1027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1029 *"
1030 "with_$ac_useropt"
1031 "*) ;;
1032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1033 ac_unrecognized_sep=', ';;
1034 esac
1035 eval with_$ac_useropt=no ;;
1036
1037 --x)
1038 # Obsolete; use --with-x.
1039 with_x=yes ;;
1040
1041 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1042 | --x-incl | --x-inc | --x-in | --x-i)
1043 ac_prev=x_includes ;;
1044 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1045 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1046 x_includes=$ac_optarg ;;
1047
1048 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1049 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1050 ac_prev=x_libraries ;;
1051 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1052 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1053 x_libraries=$ac_optarg ;;
1054
1055 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1056 Try \`$0 --help' for more information"
1057 ;;
1058
1059 *=*)
1060 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1061 # Reject names that are not valid shell variable names.
1062 case $ac_envvar in #(
1063 '' | [0-9]* | *[!_$as_cr_alnum]* )
1064 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1065 esac
1066 eval $ac_envvar=\$ac_optarg
1067 export $ac_envvar ;;
1068
1069 *)
1070 # FIXME: should be removed in autoconf 3.0.
1071 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1072 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1073 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1074 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1075 ;;
1076
1077 esac
1078 done
1079
1080 if test -n "$ac_prev"; then
1081 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1082 as_fn_error $? "missing argument to $ac_option"
1083 fi
1084
1085 if test -n "$ac_unrecognized_opts"; then
1086 case $enable_option_checking in
1087 no) ;;
1088 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1089 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1090 esac
1091 fi
1092
1093 # Check all directory arguments for consistency.
1094 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1095 datadir sysconfdir sharedstatedir localstatedir includedir \
1096 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1097 libdir localedir mandir
1098 do
1099 eval ac_val=\$$ac_var
1100 # Remove trailing slashes.
1101 case $ac_val in
1102 */ )
1103 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1104 eval $ac_var=\$ac_val;;
1105 esac
1106 # Be sure to have absolute directory names.
1107 case $ac_val in
1108 [\\/$]* | ?:[\\/]* ) continue;;
1109 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1110 esac
1111 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1112 done
1113
1114 # There might be people who depend on the old broken behavior: `$host'
1115 # used to hold the argument of --host etc.
1116 # FIXME: To remove some day.
1117 build=$build_alias
1118 host=$host_alias
1119 target=$target_alias
1120
1121 # FIXME: To remove some day.
1122 if test "x$host_alias" != x; then
1123 if test "x$build_alias" = x; then
1124 cross_compiling=maybe
1125 elif test "x$build_alias" != "x$host_alias"; then
1126 cross_compiling=yes
1127 fi
1128 fi
1129
1130 ac_tool_prefix=
1131 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1132
1133 test "$silent" = yes && exec 6>/dev/null
1134
1135
1136 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1137 ac_ls_di=`ls -di .` &&
1138 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1139 as_fn_error $? "working directory cannot be determined"
1140 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1141 as_fn_error $? "pwd does not report name of working directory"
1142
1143
1144 # Find the source files, if location was not specified.
1145 if test -z "$srcdir"; then
1146 ac_srcdir_defaulted=yes
1147 # Try the directory containing this script, then the parent directory.
1148 ac_confdir=`$as_dirname -- "$as_myself" ||
1149 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1150 X"$as_myself" : 'X\(//\)[^/]' \| \
1151 X"$as_myself" : 'X\(//\)$' \| \
1152 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1153 $as_echo X"$as_myself" |
1154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1155 s//\1/
1156 q
1157 }
1158 /^X\(\/\/\)[^/].*/{
1159 s//\1/
1160 q
1161 }
1162 /^X\(\/\/\)$/{
1163 s//\1/
1164 q
1165 }
1166 /^X\(\/\).*/{
1167 s//\1/
1168 q
1169 }
1170 s/.*/./; q'`
1171 srcdir=$ac_confdir
1172 if test ! -r "$srcdir/$ac_unique_file"; then
1173 srcdir=..
1174 fi
1175 else
1176 ac_srcdir_defaulted=no
1177 fi
1178 if test ! -r "$srcdir/$ac_unique_file"; then
1179 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1180 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1181 fi
1182 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1183 ac_abs_confdir=`(
1184 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1185 pwd)`
1186 # When building in place, set srcdir=.
1187 if test "$ac_abs_confdir" = "$ac_pwd"; then
1188 srcdir=.
1189 fi
1190 # Remove unnecessary trailing slashes from srcdir.
1191 # Double slashes in file names in object file debugging info
1192 # mess up M-x gdb in Emacs.
1193 case $srcdir in
1194 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1195 esac
1196 for ac_var in $ac_precious_vars; do
1197 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1198 eval ac_env_${ac_var}_value=\$${ac_var}
1199 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1200 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1201 done
1202
1203 #
1204 # Report the --help message.
1205 #
1206 if test "$ac_init_help" = "long"; then
1207 # Omit some internal or obsolete options to make the list less imposing.
1208 # This message is too long to be a string in the A/UX 3.1 sh.
1209 cat <<_ACEOF
1210 \`configure' configures ibdiag 1.5.7 to adapt to many kinds of systems.
1211
1212 Usage: $0 [OPTION]... [VAR=VALUE]...
1213
1214 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1215 VAR=VALUE. See below for descriptions of some of the useful variables.
1216
1217 Defaults for the options are specified in brackets.
1218
1219 Configuration:
1220 -h, --help display this help and exit
1221 --help=short display options specific to this package
1222 --help=recursive display the short help of all the included packages
1223 -V, --version display version information and exit
1224 -q, --quiet, --silent do not print \`checking ...' messages
1225 --cache-file=FILE cache test results in FILE [disabled]
1226 -C, --config-cache alias for \`--cache-file=config.cache'
1227 -n, --no-create do not create output files
1228 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1229
1230 Installation directories:
1231 --prefix=PREFIX install architecture-independent files in PREFIX
1232 @<:@@S|@ac_default_prefix@:>@
1233 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1234 @<:@PREFIX@:>@
1235
1236 By default, \`make install' will install all the files in
1237 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1238 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1239 for instance \`--prefix=\$HOME'.
1240
1241 For better control, use the options below.
1242
1243 Fine tuning of the installation directories:
1244 --bindir=DIR user executables [EPREFIX/bin]
1245 --sbindir=DIR system admin executables [EPREFIX/sbin]
1246 --libexecdir=DIR program executables [EPREFIX/libexec]
1247 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1248 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1249 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1250 --libdir=DIR object code libraries [EPREFIX/lib]
1251 --includedir=DIR C header files [PREFIX/include]
1252 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1253 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1254 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1255 --infodir=DIR info documentation [DATAROOTDIR/info]
1256 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1257 --mandir=DIR man documentation [DATAROOTDIR/man]
1258 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ibdiag@:>@
1259 --htmldir=DIR html documentation [DOCDIR]
1260 --dvidir=DIR dvi documentation [DOCDIR]
1261 --pdfdir=DIR pdf documentation [DOCDIR]
1262 --psdir=DIR ps documentation [DOCDIR]
1263 _ACEOF
1264
1265 cat <<\_ACEOF
1266
1267 Program names:
1268 --program-prefix=PREFIX prepend PREFIX to installed program names
1269 --program-suffix=SUFFIX append SUFFIX to installed program names
1270 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1271 _ACEOF
1272 fi
1273
1274 if test -n "$ac_init_help"; then
1275 case $ac_init_help in
1276 short | recursive ) echo "Configuration of ibdiag 1.5.7:";;
1277 esac
1278 cat <<\_ACEOF
1279
1280 Optional Features:
1281 --disable-option-checking ignore unrecognized --enable/--with options
1282 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1283 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1284 --enable-maintainer-mode enable make rules and dependencies not useful
1285 (and sometimes confusing) to the casual installer
1286 --enable-libcheck Enable Dependency Checking
1287
1288 Optional Packages:
1289 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1290 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1291 --with-ibis=<dir> define directory which holds the ibis executable
1292 --with-ibdm-lib=<dir> define where to find IBDM TCL library
1293 --with-tk-lib=<dir> define directory which holds the tk lib installation
1294 --with-graphviz-lib=<dir> define directory which holds the graphviz lib installation
1295
1296 Report bugs to <openib-general@openib.org>.
1297 _ACEOF
1298 ac_status=$?
1299 fi
1300
1301 if test "$ac_init_help" = "recursive"; then
1302 # If there are subdirs, report their specific --help.
1303 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1304 test -d "$ac_dir" ||
1305 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1306 continue
1307 ac_builddir=.
1308
1309 case "$ac_dir" in
1310 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1311 *)
1312 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1313 # A ".." for each directory in $ac_dir_suffix.
1314 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1315 case $ac_top_builddir_sub in
1316 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1317 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1318 esac ;;
1319 esac
1320 ac_abs_top_builddir=$ac_pwd
1321 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1322 # for backward compatibility:
1323 ac_top_builddir=$ac_top_build_prefix
1324
1325 case $srcdir in
1326 .) # We are building in place.
1327 ac_srcdir=.
1328 ac_top_srcdir=$ac_top_builddir_sub
1329 ac_abs_top_srcdir=$ac_pwd ;;
1330 [\\/]* | ?:[\\/]* ) # Absolute name.
1331 ac_srcdir=$srcdir$ac_dir_suffix;
1332 ac_top_srcdir=$srcdir
1333 ac_abs_top_srcdir=$srcdir ;;
1334 *) # Relative name.
1335 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1336 ac_top_srcdir=$ac_top_build_prefix$srcdir
1337 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1338 esac
1339 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1340
1341 cd "$ac_dir" || { ac_status=$?; continue; }
1342 # Check for guested configure.
1343 if test -f "$ac_srcdir/configure.gnu"; then
1344 echo &&
1345 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1346 elif test -f "$ac_srcdir/configure"; then
1347 echo &&
1348 $SHELL "$ac_srcdir/configure" --help=recursive
1349 else
1350 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1351 fi || ac_status=$?
1352 cd "$ac_pwd" || { ac_status=$?; break; }
1353 done
1354 fi
1355
1356 test -n "$ac_init_help" && exit $ac_status
1357 if $ac_init_version; then
1358 cat <<\_ACEOF
1359 ibdiag configure 1.5.7
1360 generated by GNU Autoconf 2.69
1361
1362 Copyright (C) 2012 Free Software Foundation, Inc.
1363 This configure script is free software; the Free Software Foundation
1364 gives unlimited permission to copy, distribute and modify it.
1365 _ACEOF
1366 exit
1367 fi
1368
1369 ## ------------------------ ##
1370 ## Autoconf initialization. ##
1371 ## ------------------------ ##
1372 cat >config.log <<_ACEOF
1373 This file contains any messages produced by compilers while
1374 running configure, to aid debugging if configure makes a mistake.
1375
1376 It was created by ibdiag $as_me 1.5.7, which was
1377 generated by GNU Autoconf 2.69. Invocation command line was
1378
1379 $ $0 $@
1380
1381 _ACEOF
1382 exec 5>>config.log
1383 {
1384 cat <<_ASUNAME
1385 ## --------- ##
1386 ## Platform. ##
1387 ## --------- ##
1388
1389 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1390 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1391 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1392 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1393 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1394
1395 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1396 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1397
1398 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1399 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1400 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1401 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1402 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1403 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1404 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1405
1406 _ASUNAME
1407
1408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1409 for as_dir in $PATH
1410 do
1411 IFS=$as_save_IFS
1412 test -z "$as_dir" && as_dir=.
1413 $as_echo "PATH: $as_dir"
1414 done
1415 IFS=$as_save_IFS
1416
1417 } >&5
1418
1419 cat >&5 <<_ACEOF
1420
1421
1422 ## ----------- ##
1423 ## Core tests. ##
1424 ## ----------- ##
1425
1426 _ACEOF
1427
1428
1429 # Keep a trace of the command line.
1430 # Strip out --no-create and --no-recursion so they do not pile up.
1431 # Strip out --silent because we don't want to record it for future runs.
1432 # Also quote any args containing shell meta-characters.
1433 # Make two passes to allow for proper duplicate-argument suppression.
1434 ac_configure_args=
1435 ac_configure_args0=
1436 ac_configure_args1=
1437 ac_must_keep_next=false
1438 for ac_pass in 1 2
1439 do
1440 for ac_arg
1441 do
1442 case $ac_arg in
1443 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1444 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1445 | -silent | --silent | --silen | --sile | --sil)
1446 continue ;;
1447 *\'*)
1448 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1449 esac
1450 case $ac_pass in
1451 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1452 2)
1453 as_fn_append ac_configure_args1 " '$ac_arg'"
1454 if test $ac_must_keep_next = true; then
1455 ac_must_keep_next=false # Got value, back to normal.
1456 else
1457 case $ac_arg in
1458 *=* | --config-cache | -C | -disable-* | --disable-* \
1459 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1460 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1461 | -with-* | --with-* | -without-* | --without-* | --x)
1462 case "$ac_configure_args0 " in
1463 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1464 esac
1465 ;;
1466 -* ) ac_must_keep_next=true ;;
1467 esac
1468 fi
1469 as_fn_append ac_configure_args " '$ac_arg'"
1470 ;;
1471 esac
1472 done
1473 done
1474 { ac_configure_args0=; unset ac_configure_args0;}
1475 { ac_configure_args1=; unset ac_configure_args1;}
1476
1477 # When interrupted or exit'd, cleanup temporary files, and complete
1478 # config.log. We remove comments because anyway the quotes in there
1479 # would cause problems or look ugly.
1480 # WARNING: Use '\'' to represent an apostrophe within the trap.
1481 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1482 trap 'exit_status=$?
1483 # Save into config.log some information that might help in debugging.
1484 {
1485 echo
1486
1487 $as_echo "## ---------------- ##
1488 ## Cache variables. ##
1489 ## ---------------- ##"
1490 echo
1491 # The following way of writing the cache mishandles newlines in values,
1492 (
1493 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1494 eval ac_val=\$$ac_var
1495 case $ac_val in #(
1496 *${as_nl}*)
1497 case $ac_var in #(
1498 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1499 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1500 esac
1501 case $ac_var in #(
1502 _ | IFS | as_nl) ;; #(
1503 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1504 *) { eval $ac_var=; unset $ac_var;} ;;
1505 esac ;;
1506 esac
1507 done
1508 (set) 2>&1 |
1509 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1510 *${as_nl}ac_space=\ *)
1511 sed -n \
1512 "s/'\''/'\''\\\\'\'''\''/g;
1513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1514 ;; #(
1515 *)
1516 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1517 ;;
1518 esac |
1519 sort
1520 )
1521 echo
1522
1523 $as_echo "## ----------------- ##
1524 ## Output variables. ##
1525 ## ----------------- ##"
1526 echo
1527 for ac_var in $ac_subst_vars
1528 do
1529 eval ac_val=\$$ac_var
1530 case $ac_val in
1531 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1532 esac
1533 $as_echo "$ac_var='\''$ac_val'\''"
1534 done | sort
1535 echo
1536
1537 if test -n "$ac_subst_files"; then
1538 $as_echo "## ------------------- ##
1539 ## File substitutions. ##
1540 ## ------------------- ##"
1541 echo
1542 for ac_var in $ac_subst_files
1543 do
1544 eval ac_val=\$$ac_var
1545 case $ac_val in
1546 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1547 esac
1548 $as_echo "$ac_var='\''$ac_val'\''"
1549 done | sort
1550 echo
1551 fi
1552
1553 if test -s confdefs.h; then
1554 $as_echo "## ----------- ##
1555 ## confdefs.h. ##
1556 ## ----------- ##"
1557 echo
1558 cat confdefs.h
1559 echo
1560 fi
1561 test "$ac_signal" != 0 &&
1562 $as_echo "$as_me: caught signal $ac_signal"
1563 $as_echo "$as_me: exit $exit_status"
1564 } >&5
1565 rm -f core *.core core.conftest.* &&
1566 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1567 exit $exit_status
1568 ' 0
1569 for ac_signal in 1 2 13 15; do
1570 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1571 done
1572 ac_signal=0
1573
1574 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1575 rm -f -r conftest* confdefs.h
1576
1577 $as_echo "/* confdefs.h */" > confdefs.h
1578
1579 # Predefined preprocessor variables.
1580
1581 cat >>confdefs.h <<_ACEOF
1582 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1583 _ACEOF
1584
1585 cat >>confdefs.h <<_ACEOF
1586 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1587 _ACEOF
1588
1589 cat >>confdefs.h <<_ACEOF
1590 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1591 _ACEOF
1592
1593 cat >>confdefs.h <<_ACEOF
1594 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1595 _ACEOF
1596
1597 cat >>confdefs.h <<_ACEOF
1598 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1599 _ACEOF
1600
1601 cat >>confdefs.h <<_ACEOF
1602 @%:@define PACKAGE_URL "$PACKAGE_URL"
1603 _ACEOF
1604
1605
1606 # Let the site file select an alternate cache file if it wants to.
1607 # Prefer an explicitly selected file to automatically selected ones.
1608 ac_site_file1=NONE
1609 ac_site_file2=NONE
1610 if test -n "$CONFIG_SITE"; then
1611 # We do not want a PATH search for config.site.
1612 case $CONFIG_SITE in @%:@((
1613 -*) ac_site_file1=./$CONFIG_SITE;;
1614 */*) ac_site_file1=$CONFIG_SITE;;
1615 *) ac_site_file1=./$CONFIG_SITE;;
1616 esac
1617 elif test "x$prefix" != xNONE; then
1618 ac_site_file1=$prefix/share/config.site
1619 ac_site_file2=$prefix/etc/config.site
1620 else
1621 ac_site_file1=$ac_default_prefix/share/config.site
1622 ac_site_file2=$ac_default_prefix/etc/config.site
1623 fi
1624 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1625 do
1626 test "x$ac_site_file" = xNONE && continue
1627 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1629 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1630 sed 's/^/| /' "$ac_site_file" >&5
1631 . "$ac_site_file" \
1632 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1634 as_fn_error $? "failed to load site script $ac_site_file
1635 See \`config.log' for more details" "$LINENO" 5; }
1636 fi
1637 done
1638
1639 if test -r "$cache_file"; then
1640 # Some versions of bash will fail to source /dev/null (special files
1641 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1642 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1644 $as_echo "$as_me: loading cache $cache_file" >&6;}
1645 case $cache_file in
1646 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1647 *) . "./$cache_file";;
1648 esac
1649 fi
1650 else
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1652 $as_echo "$as_me: creating cache $cache_file" >&6;}
1653 >$cache_file
1654 fi
1655
1656 # Check that the precious variables saved in the cache have kept the same
1657 # value.
1658 ac_cache_corrupted=false
1659 for ac_var in $ac_precious_vars; do
1660 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1661 eval ac_new_set=\$ac_env_${ac_var}_set
1662 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1663 eval ac_new_val=\$ac_env_${ac_var}_value
1664 case $ac_old_set,$ac_new_set in
1665 set,)
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1667 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1668 ac_cache_corrupted=: ;;
1669 ,set)
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1671 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1672 ac_cache_corrupted=: ;;
1673 ,);;
1674 *)
1675 if test "x$ac_old_val" != "x$ac_new_val"; then
1676 # differences in whitespace do not lead to failure.
1677 ac_old_val_w=`echo x $ac_old_val`
1678 ac_new_val_w=`echo x $ac_new_val`
1679 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1681 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1682 ac_cache_corrupted=:
1683 else
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1685 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1686 eval $ac_var=\$ac_old_val
1687 fi
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1689 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1691 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1692 fi;;
1693 esac
1694 # Pass precious variables to config.status.
1695 if test "$ac_new_set" = set; then
1696 case $ac_new_val in
1697 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1698 *) ac_arg=$ac_var=$ac_new_val ;;
1699 esac
1700 case " $ac_configure_args " in
1701 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1702 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1703 esac
1704 fi
1705 done
1706 if $ac_cache_corrupted; then
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1710 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1711 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1712 fi
1713 ## -------------------- ##
1714 ## Main body of script. ##
1715 ## -------------------- ##
1716
1717 ac_ext=c
1718 ac_cpp='$CPP $CPPFLAGS'
1719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1722
1723
1724 ac_aux_dir=
1725 for ac_dir in config "$srcdir"/config; do
1726 if test -f "$ac_dir/install-sh"; then
1727 ac_aux_dir=$ac_dir
1728 ac_install_sh="$ac_aux_dir/install-sh -c"
1729 break
1730 elif test -f "$ac_dir/install.sh"; then
1731 ac_aux_dir=$ac_dir
1732 ac_install_sh="$ac_aux_dir/install.sh -c"
1733 break
1734 elif test -f "$ac_dir/shtool"; then
1735 ac_aux_dir=$ac_dir
1736 ac_install_sh="$ac_aux_dir/shtool install -c"
1737 break
1738 fi
1739 done
1740 if test -z "$ac_aux_dir"; then
1741 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
1742 fi
1743
1744 # These three variables are undocumented and unsupported,
1745 # and are intended to be withdrawn in a future Autoconf release.
1746 # They can cause serious problems if a builder's source tree is in a directory
1747 # whose full name contains unusual characters.
1748 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1749 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1750 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1751
1752
1753
1754 am__api_version='1.11'
1755
1756 # Find a good install program. We prefer a C program (faster),
1757 # so one script is as good as another. But avoid the broken or
1758 # incompatible versions:
1759 # SysV /etc/install, /usr/sbin/install
1760 # SunOS /usr/etc/install
1761 # IRIX /sbin/install
1762 # AIX /bin/install
1763 # AmigaOS /C/install, which installs bootblocks on floppy discs
1764 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1765 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1766 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1767 # OS/2's system install, which has a completely different semantic
1768 # ./install, which can be erroneously created by make from ./install.sh.
1769 # Reject install programs that cannot install multiple files.
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1771 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1772 if test -z "$INSTALL"; then
1773 if ${ac_cv_path_install+:} false; then :
1774 $as_echo_n "(cached) " >&6
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1778 do
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 # Account for people who put trailing slashes in PATH elements.
1782 case $as_dir/ in @%:@((
1783 ./ | .// | /[cC]/* | \
1784 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1785 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1786 /usr/ucb/* ) ;;
1787 *)
1788 # OSF1 and SCO ODT 3.0 have their own names for install.
1789 # Don't use installbsd from OSF since it installs stuff as root
1790 # by default.
1791 for ac_prog in ginstall scoinst install; do
1792 for ac_exec_ext in '' $ac_executable_extensions; do
1793 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1794 if test $ac_prog = install &&
1795 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1796 # AIX install. It has an incompatible calling convention.
1797 :
1798 elif test $ac_prog = install &&
1799 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1800 # program-specific install script used by HP pwplus--don't use.
1801 :
1802 else
1803 rm -rf conftest.one conftest.two conftest.dir
1804 echo one > conftest.one
1805 echo two > conftest.two
1806 mkdir conftest.dir
1807 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1808 test -s conftest.one && test -s conftest.two &&
1809 test -s conftest.dir/conftest.one &&
1810 test -s conftest.dir/conftest.two
1811 then
1812 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1813 break 3
1814 fi
1815 fi
1816 fi
1817 done
1818 done
1819 ;;
1820 esac
1821
1822 done
1823 IFS=$as_save_IFS
1824
1825 rm -rf conftest.one conftest.two conftest.dir
1826
1827 fi
1828 if test "${ac_cv_path_install+set}" = set; then
1829 INSTALL=$ac_cv_path_install
1830 else
1831 # As a last resort, use the slow shell script. Don't cache a
1832 # value for INSTALL within a source directory, because that will
1833 # break other packages using the cache if that directory is
1834 # removed, or if the value is a relative name.
1835 INSTALL=$ac_install_sh
1836 fi
1837 fi
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1839 $as_echo "$INSTALL" >&6; }
1840
1841 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1842 # It thinks the first close brace ends the variable substitution.
1843 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1844
1845 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1846
1847 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1848
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1850 $as_echo_n "checking whether build environment is sane... " >&6; }
1851 # Just in case
1852 sleep 1
1853 echo timestamp > conftest.file
1854 # Reject unsafe characters in $srcdir or the absolute working directory
1855 # name. Accept space and tab only in the latter.
1856 am_lf='
1857 '
1858 case `pwd` in
1859 *[\\\"\#\$\&\'\`$am_lf]*)
1860 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1861 esac
1862 case $srcdir in
1863 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1864 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1865 esac
1866
1867 # Do `set' in a subshell so we don't clobber the current shell's
1868 # arguments. Must try -L first in case configure is actually a
1869 # symlink; some systems play weird games with the mod time of symlinks
1870 # (eg FreeBSD returns the mod time of the symlink's containing
1871 # directory).
1872 if (
1873 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1874 if test "$*" = "X"; then
1875 # -L didn't work.
1876 set X `ls -t "$srcdir/configure" conftest.file`
1877 fi
1878 rm -f conftest.file
1879 if test "$*" != "X $srcdir/configure conftest.file" \
1880 && test "$*" != "X conftest.file $srcdir/configure"; then
1881
1882 # If neither matched, then we have a broken ls. This can happen
1883 # if, for instance, CONFIG_SHELL is bash and it inherits a
1884 # broken ls alias from the environment. This has actually
1885 # happened. Such a system could not be considered "sane".
1886 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1887 alias in your environment" "$LINENO" 5
1888 fi
1889
1890 test "$2" = conftest.file
1891 )
1892 then
1893 # Ok.
1894 :
1895 else
1896 as_fn_error $? "newly created file is older than distributed files!
1897 Check your system clock" "$LINENO" 5
1898 fi
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1900 $as_echo "yes" >&6; }
1901 test "$program_prefix" != NONE &&
1902 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1903 # Use a double $ so make ignores it.
1904 test "$program_suffix" != NONE &&
1905 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1906 # Double any \ or $.
1907 # By default was `s,x,x', remove it if useless.
1908 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1909 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1910
1911 # expand $ac_aux_dir to an absolute path
1912 am_aux_dir=`cd $ac_aux_dir && pwd`
1913
1914 if test x"${MISSING+set}" != xset; then
1915 case $am_aux_dir in
1916 *\ * | *\ *)
1917 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1918 *)
1919 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1920 esac
1921 fi
1922 # Use eval to expand $SHELL
1923 if eval "$MISSING --run true"; then
1924 am_missing_run="$MISSING --run "
1925 else
1926 am_missing_run=
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1928 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1929 fi
1930
1931 if test x"${install_sh}" != xset; then
1932 case $am_aux_dir in
1933 *\ * | *\ *)
1934 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1935 *)
1936 install_sh="\${SHELL} $am_aux_dir/install-sh"
1937 esac
1938 fi
1939
1940 # Installed binaries are usually stripped using `strip' when the user
1941 # run `make install-strip'. However `strip' might not be the right
1942 # tool to use in cross-compilation environments, therefore Automake
1943 # will honor the `STRIP' environment variable to overrule this program.
1944 if test "$cross_compiling" != no; then
1945 if test -n "$ac_tool_prefix"; then
1946 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1947 set dummy ${ac_tool_prefix}strip; ac_word=$2
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1949 $as_echo_n "checking for $ac_word... " >&6; }
1950 if ${ac_cv_prog_STRIP+:} false; then :
1951 $as_echo_n "(cached) " >&6
1952 else
1953 if test -n "$STRIP"; then
1954 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1955 else
1956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1957 for as_dir in $PATH
1958 do
1959 IFS=$as_save_IFS
1960 test -z "$as_dir" && as_dir=.
1961 for ac_exec_ext in '' $ac_executable_extensions; do
1962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1963 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1965 break 2
1966 fi
1967 done
1968 done
1969 IFS=$as_save_IFS
1970
1971 fi
1972 fi
1973 STRIP=$ac_cv_prog_STRIP
1974 if test -n "$STRIP"; then
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1976 $as_echo "$STRIP" >&6; }
1977 else
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1979 $as_echo "no" >&6; }
1980 fi
1981
1982
1983 fi
1984 if test -z "$ac_cv_prog_STRIP"; then
1985 ac_ct_STRIP=$STRIP
1986 # Extract the first word of "strip", so it can be a program name with args.
1987 set dummy strip; ac_word=$2
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1989 $as_echo_n "checking for $ac_word... " >&6; }
1990 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1991 $as_echo_n "(cached) " >&6
1992 else
1993 if test -n "$ac_ct_STRIP"; then
1994 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1995 else
1996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997 for as_dir in $PATH
1998 do
1999 IFS=$as_save_IFS
2000 test -z "$as_dir" && as_dir=.
2001 for ac_exec_ext in '' $ac_executable_extensions; do
2002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2003 ac_cv_prog_ac_ct_STRIP="strip"
2004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2005 break 2
2006 fi
2007 done
2008 done
2009 IFS=$as_save_IFS
2010
2011 fi
2012 fi
2013 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2014 if test -n "$ac_ct_STRIP"; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2016 $as_echo "$ac_ct_STRIP" >&6; }
2017 else
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2019 $as_echo "no" >&6; }
2020 fi
2021
2022 if test "x$ac_ct_STRIP" = x; then
2023 STRIP=":"
2024 else
2025 case $cross_compiling:$ac_tool_warned in
2026 yes:)
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2029 ac_tool_warned=yes ;;
2030 esac
2031 STRIP=$ac_ct_STRIP
2032 fi
2033 else
2034 STRIP="$ac_cv_prog_STRIP"
2035 fi
2036
2037 fi
2038 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2039
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2041 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2042 if test -z "$MKDIR_P"; then
2043 if ${ac_cv_path_mkdir+:} false; then :
2044 $as_echo_n "(cached) " >&6
2045 else
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2048 do
2049 IFS=$as_save_IFS
2050 test -z "$as_dir" && as_dir=.
2051 for ac_prog in mkdir gmkdir; do
2052 for ac_exec_ext in '' $ac_executable_extensions; do
2053 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2054 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2055 'mkdir (GNU coreutils) '* | \
2056 'mkdir (coreutils) '* | \
2057 'mkdir (fileutils) '4.1*)
2058 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2059 break 3;;
2060 esac
2061 done
2062 done
2063 done
2064 IFS=$as_save_IFS
2065
2066 fi
2067
2068 test -d ./--version && rmdir ./--version
2069 if test "${ac_cv_path_mkdir+set}" = set; then
2070 MKDIR_P="$ac_cv_path_mkdir -p"
2071 else
2072 # As a last resort, use the slow shell script. Don't cache a
2073 # value for MKDIR_P within a source directory, because that will
2074 # break other packages using the cache if that directory is
2075 # removed, or if the value is a relative name.
2076 MKDIR_P="$ac_install_sh -d"
2077 fi
2078 fi
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2080 $as_echo "$MKDIR_P" >&6; }
2081
2082 mkdir_p="$MKDIR_P"
2083 case $mkdir_p in
2084 [\\/$]* | ?:[\\/]*) ;;
2085 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2086 esac
2087
2088 for ac_prog in gawk mawk nawk awk
2089 do
2090 # Extract the first word of "$ac_prog", so it can be a program name with args.
2091 set dummy $ac_prog; ac_word=$2
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2093 $as_echo_n "checking for $ac_word... " >&6; }
2094 if ${ac_cv_prog_AWK+:} false; then :
2095 $as_echo_n "(cached) " >&6
2096 else
2097 if test -n "$AWK"; then
2098 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2099 else
2100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 for as_dir in $PATH
2102 do
2103 IFS=$as_save_IFS
2104 test -z "$as_dir" && as_dir=.
2105 for ac_exec_ext in '' $ac_executable_extensions; do
2106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2107 ac_cv_prog_AWK="$ac_prog"
2108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2109 break 2
2110 fi
2111 done
2112 done
2113 IFS=$as_save_IFS
2114
2115 fi
2116 fi
2117 AWK=$ac_cv_prog_AWK
2118 if test -n "$AWK"; then
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2120 $as_echo "$AWK" >&6; }
2121 else
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2123 $as_echo "no" >&6; }
2124 fi
2125
2126
2127 test -n "$AWK" && break
2128 done
2129
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2131 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2132 set x ${MAKE-make}
2133 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2134 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2135 $as_echo_n "(cached) " >&6
2136 else
2137 cat >conftest.make <<\_ACEOF
2138 SHELL = /bin/sh
2139 all:
2140 @echo '@@@%%%=$(MAKE)=@@@%%%'
2141 _ACEOF
2142 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2143 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2144 *@@@%%%=?*=@@@%%%*)
2145 eval ac_cv_prog_make_${ac_make}_set=yes;;
2146 *)
2147 eval ac_cv_prog_make_${ac_make}_set=no;;
2148 esac
2149 rm -f conftest.make
2150 fi
2151 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2153 $as_echo "yes" >&6; }
2154 SET_MAKE=
2155 else
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2157 $as_echo "no" >&6; }
2158 SET_MAKE="MAKE=${MAKE-make}"
2159 fi
2160
2161 rm -rf .tst 2>/dev/null
2162 mkdir .tst 2>/dev/null
2163 if test -d .tst; then
2164 am__leading_dot=.
2165 else
2166 am__leading_dot=_
2167 fi
2168 rmdir .tst 2>/dev/null
2169
2170 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2171 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2172 # is not polluted with repeated "-I."
2173 am__isrc=' -I$(srcdir)'
2174 # test to see if srcdir already configured
2175 if test -f $srcdir/config.status; then
2176 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2177 fi
2178 fi
2179
2180 # test whether we have cygpath
2181 if test -z "$CYGPATH_W"; then
2182 if (cygpath --version) >/dev/null 2>/dev/null; then
2183 CYGPATH_W='cygpath -w'
2184 else
2185 CYGPATH_W=echo
2186 fi
2187 fi
2188
2189
2190 # Define the identity of the package.
2191 PACKAGE='ibdiag'
2192 VERSION='1.5.7'
2193
2194
2195 cat >>confdefs.h <<_ACEOF
2196 @%:@define PACKAGE "$PACKAGE"
2197 _ACEOF
2198
2199
2200 cat >>confdefs.h <<_ACEOF
2201 @%:@define VERSION "$VERSION"
2202 _ACEOF
2203
2204 # Some tools Automake needs.
2205
2206 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2207
2208
2209 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2210
2211
2212 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2213
2214
2215 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2216
2217
2218 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2219
2220 # We need awk for the "check" target. The system "awk" is bad on
2221 # some platforms.
2222 # Always define AMTAR for backward compatibility.
2223
2224 AMTAR=${AMTAR-"${am_missing_run}tar"}
2225
2226 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2227
2228
2229
2230
2231
2232
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2234 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2235 set x ${MAKE-make}
2236 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2237 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2238 $as_echo_n "(cached) " >&6
2239 else
2240 cat >conftest.make <<\_ACEOF
2241 SHELL = /bin/sh
2242 all:
2243 @echo '@@@%%%=$(MAKE)=@@@%%%'
2244 _ACEOF
2245 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2246 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2247 *@@@%%%=?*=@@@%%%*)
2248 eval ac_cv_prog_make_${ac_make}_set=yes;;
2249 *)
2250 eval ac_cv_prog_make_${ac_make}_set=no;;
2251 esac
2252 rm -f conftest.make
2253 fi
2254 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2256 $as_echo "yes" >&6; }
2257 SET_MAKE=
2258 else
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2260 $as_echo "no" >&6; }
2261 SET_MAKE="MAKE=${MAKE-make}"
2262 fi
2263
2264
2265
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2267 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2268 @%:@ Check whether --enable-maintainer-mode was given.
2269 if test "${enable_maintainer_mode+set}" = set; then :
2270 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2271 else
2272 USE_MAINTAINER_MODE=no
2273 fi
2274
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2276 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2277 if test $USE_MAINTAINER_MODE = yes; then
2278 MAINTAINER_MODE_TRUE=
2279 MAINTAINER_MODE_FALSE='#'
2280 else
2281 MAINTAINER_MODE_TRUE='#'
2282 MAINTAINER_MODE_FALSE=
2283 fi
2284
2285 MAINT=$MAINTAINER_MODE_TRUE
2286
2287
2288
2289
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2291 $as_echo_n "checking whether ln -s works... " >&6; }
2292 LN_S=$as_ln_s
2293 if test "$LN_S" = "ln -s"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2295 $as_echo "yes" >&6; }
2296 else
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2298 $as_echo "no, using $LN_S" >&6; }
2299 fi
2300
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2302 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2303 set x ${MAKE-make}
2304 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2305 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2306 $as_echo_n "(cached) " >&6
2307 else
2308 cat >conftest.make <<\_ACEOF
2309 SHELL = /bin/sh
2310 all:
2311 @echo '@@@%%%=$(MAKE)=@@@%%%'
2312 _ACEOF
2313 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2314 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2315 *@@@%%%=?*=@@@%%%*)
2316 eval ac_cv_prog_make_${ac_make}_set=yes;;
2317 *)
2318 eval ac_cv_prog_make_${ac_make}_set=no;;
2319 esac
2320 rm -f conftest.make
2321 fi
2322 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2324 $as_echo "yes" >&6; }
2325 SET_MAKE=
2326 else
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2328 $as_echo "no" >&6; }
2329 SET_MAKE="MAKE=${MAKE-make}"
2330 fi
2331
2332
2333 @%:@ Check whether --enable-libcheck was given.
2334 if test "${enable_libcheck+set}" = set; then :
2335 enableval=$enable_libcheck; case "${enableval}" in
2336 yes) libcheck=true ;;
2337 no) libcheck=false ;;
2338 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;;
2339 esac
2340 else
2341 libcheck=true
2342 fi
2343
2344
2345 if test $libcheck = true; then
2346
2347
2348
2349 @%:@ Check whether --with-ibis was given.
2350 if test "${with_ibis+set}" = set; then :
2351 withval=$with_ibis; { $as_echo "$as_me:${as_lineno-$LINENO}: IBIS: given path:$with_ibis" >&5
2352 $as_echo "$as_me: IBIS: given path:$with_ibis" >&6;}
2353 else
2354 with_ibis="none"
2355 fi
2356
2357
2358 if test "x$with_ibis" = "xnone"; then
2359 dirs="/usr/bin /usr/local/bin /usr/local/ibgd/bin /usr/local/ibg2/bin /usr/local/ibed/bin /usr/local/ofed/bin"
2360 for d in $dirs; do
2361 if test -e $d/ibis; then
2362 with_ibis=$d
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: IBIS: found in:$with_ibis" >&5
2364 $as_echo "$as_me: IBIS: found in:$with_ibis" >&6;}
2365 fi
2366 done
2367 fi
2368
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: IBIS: using ibis executable from:$with_ibis" >&5
2370 $as_echo "$as_me: IBIS: using ibis executable from:$with_ibis" >&6;}
2371
2372
2373
2374
2375
2376 @%:@ Check whether --with-ibdm-lib was given.
2377 if test "${with_ibdm_lib+set}" = set; then :
2378 withval=$with_ibdm_lib; { $as_echo "$as_me:${as_lineno-$LINENO}: IBDM: given path:$with_ibdm_lib" >&5
2379 $as_echo "$as_me: IBDM: given path:$with_ibdm_lib" >&6;}
2380 else
2381 with_ibdm_lib="none"
2382 fi
2383
2384
2385 if test "x$with_ibdm_lib" = xnone; then
2386 dirs="/usr/lib /usr/local/lib /usr/local/ibgd/lib /usr/local/ibg2/lib /usr/local/ibed/lib /usr/local/ofed/lib"
2387 for d in $dirs; do
2388 if test -d $d/ibdm1.0; then
2389 with_ibdm_lib=$d
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: IBDM: found in:$with_ibdm_lib" >&5
2391 $as_echo "$as_me: IBDM: found in:$with_ibdm_lib" >&6;}
2392 fi
2393 done
2394 for d in $dirs; do
2395 if test -d ${d}64/ibdm1.0; then
2396 with_ibdm_lib=${d}64
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: IBDM: found in:$with_ibdm_lib" >&5
2398 $as_echo "$as_me: IBDM: found in:$with_ibdm_lib" >&6;}
2399 fi
2400 done
2401 fi
2402
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: IBDM: using TCL lib from:$with_ibdm_lib" >&5
2404 $as_echo "$as_me: IBDM: using TCL lib from:$with_ibdm_lib" >&6;}
2405
2406
2407
2408
2409
2410 @%:@ Check whether --with-tk-lib was given.
2411 if test "${with_tk_lib+set}" = set; then :
2412 withval=$with_tk_lib; { $as_echo "$as_me:${as_lineno-$LINENO}: TK: given path:$with_tk_lib" >&5
2413 $as_echo "$as_me: TK: given path:$with_tk_lib" >&6;}
2414 else
2415 with_tk_lib="none"
2416 fi
2417
2418
2419 if test "x$with_tk_lib" = "xnone"; then
2420 dirs="/usr /usr/local /usr/local/ibgd /usr/local/ibg2 /usr/local/ibed /usr/local/ofed"
2421 for d in $dirs; do
2422 if test -e $d/lib/libtk8.4.so -o -e $d/lib/libtk8.5.so; then
2423 with_tk_lib=$d/lib
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: TK: found in:$with_tk_lib" >&5
2425 $as_echo "$as_me: TK: found in:$with_tk_lib" >&6;}
2426 fi
2427 if test -e $d/lib64/libtk8.4.so -o -e $d/lib64/libtk8.5.so; then
2428 with_tk_lib=$d/lib64
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: TK: found in:$with_tk_lib" >&5
2430 $as_echo "$as_me: TK: found in:$with_tk_lib" >&6;}
2431 fi
2432 done
2433 fi
2434
2435 if test "x$with_tk_lib" = "xnone"; then
2436 as_fn_error $? "TK: failed to find tk8.4 or tk8.5 lib. Please use --with-tk-lib" "$LINENO" 5
2437 fi
2438
2439
2440
2441
2442
2443
2444 @%:@ Check whether --with-graphviz-lib was given.
2445 if test "${with_graphviz_lib+set}" = set; then :
2446 withval=$with_graphviz_lib; { $as_echo "$as_me:${as_lineno-$LINENO}: GRAPHVIZ: given path:$with_graphviz_lib" >&5
2447 $as_echo "$as_me: GRAPHVIZ: given path:$with_graphviz_lib" >&6;}
2448 else
2449 with_graphviz_lib="none"
2450 fi
2451
2452
2453 if test "x$with_graphviz_lib" = "xnone"; then
2454 dirs="/usr /usr/local /usr/local/ibgd /usr/local/ibg2 /usr/local/ibed /usr/local/ofed"
2455 for d in $dirs; do
2456 if test -e $d/lib/graphviz/tcl/libtcldot.so; then
2457 with_graphviz_lib=$d/lib
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: GRAPHVIZ: found in:$with_graphviz_lib" >&5
2459 $as_echo "$as_me: GRAPHVIZ: found in:$with_graphviz_lib" >&6;}
2460 fi
2461 if test -e $d/lib64/graphviz/tcl/libtcldot.so; then
2462 with_graphviz_lib=$d/lib64
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: GRAPHVIZ: found in:$with_graphviz_lib" >&5
2464 $as_echo "$as_me: GRAPHVIZ: found in:$with_graphviz_lib" >&6;}
2465 fi
2466 done
2467 fi
2468
2469 if test "x$with_graphviz_lib" = "xnone"; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GRAPHVIZ: failed to find graphviz/tcl/libtcldot.so lib. Please use --with-graphviz-lib or else ibdiagui will not run properly" >&5
2471 $as_echo "$as_me: WARNING: GRAPHVIZ: failed to find graphviz/tcl/libtcldot.so lib. Please use --with-graphviz-lib or else ibdiagui will not run properly" >&2;}
2472 fi
2473
2474
2475
2476 fi
2477
2478 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile"
2479
2480 cat >confcache <<\_ACEOF
2481 # This file is a shell script that caches the results of configure
2482 # tests run on this system so they can be shared between configure
2483 # scripts and configure runs, see configure's option --config-cache.
2484 # It is not useful on other systems. If it contains results you don't
2485 # want to keep, you may remove or edit it.
2486 #
2487 # config.status only pays attention to the cache file if you give it
2488 # the --recheck option to rerun configure.
2489 #
2490 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2491 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2492 # following values.
2493
2494 _ACEOF
2495
2496 # The following way of writing the cache mishandles newlines in values,
2497 # but we know of no workaround that is simple, portable, and efficient.
2498 # So, we kill variables containing newlines.
2499 # Ultrix sh set writes to stderr and can't be redirected directly,
2500 # and sets the high bit in the cache file unless we assign to the vars.
2501 (
2502 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2503 eval ac_val=\$$ac_var
2504 case $ac_val in #(
2505 *${as_nl}*)
2506 case $ac_var in #(
2507 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2508 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2509 esac
2510 case $ac_var in #(
2511 _ | IFS | as_nl) ;; #(
2512 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2513 *) { eval $ac_var=; unset $ac_var;} ;;
2514 esac ;;
2515 esac
2516 done
2517
2518 (set) 2>&1 |
2519 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2520 *${as_nl}ac_space=\ *)
2521 # `set' does not quote correctly, so add quotes: double-quote
2522 # substitution turns \\\\ into \\, and sed turns \\ into \.
2523 sed -n \
2524 "s/'/'\\\\''/g;
2525 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2526 ;; #(
2527 *)
2528 # `set' quotes correctly as required by POSIX, so do not add quotes.
2529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2530 ;;
2531 esac |
2532 sort
2533 ) |
2534 sed '
2535 /^ac_cv_env_/b end
2536 t clear
2537 :clear
2538 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2539 t end
2540 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2541 :end' >>confcache
2542 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2543 if test -w "$cache_file"; then
2544 if test "x$cache_file" != "x/dev/null"; then
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2546 $as_echo "$as_me: updating cache $cache_file" >&6;}
2547 if test ! -f "$cache_file" || test -h "$cache_file"; then
2548 cat confcache >"$cache_file"
2549 else
2550 case $cache_file in #(
2551 */* | ?:*)
2552 mv -f confcache "$cache_file"$$ &&
2553 mv -f "$cache_file"$$ "$cache_file" ;; #(
2554 *)
2555 mv -f confcache "$cache_file" ;;
2556 esac
2557 fi
2558 fi
2559 else
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2561 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2562 fi
2563 fi
2564 rm -f confcache
2565
2566 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2567 # Let make expand exec_prefix.
2568 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2569
2570 # Transform confdefs.h into DEFS.
2571 # Protect against shell expansion while executing Makefile rules.
2572 # Protect against Makefile macro expansion.
2573 #
2574 # If the first sed substitution is executed (which looks for macros that
2575 # take arguments), then branch to the quote section. Otherwise,
2576 # look for a macro that doesn't take arguments.
2577 ac_script='
2578 :mline
2579 /\\$/{
2580 N
2581 s,\\\n,,
2582 b mline
2583 }
2584 t clear
2585 :clear
2586 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2587 t quote
2588 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2589 t quote
2590 b any
2591 :quote
2592 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2593 s/\[/\\&/g
2594 s/\]/\\&/g
2595 s/\$/$$/g
2596 H
2597 :any
2598 ${
2599 g
2600 s/^\n//
2601 s/\n/ /g
2602 p
2603 }
2604 '
2605 DEFS=`sed -n "$ac_script" confdefs.h`
2606
2607
2608 ac_libobjs=
2609 ac_ltlibobjs=
2610 U=
2611 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
2612 # 1. Remove the extension, and $U if already installed.
2613 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2614 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2615 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2616 # will be set to the directory where LIBOBJS objects are built.
2617 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2618 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2619 done
2620 LIB@&t@OBJS=$ac_libobjs
2621
2622 LTLIBOBJS=$ac_ltlibobjs
2623
2624
2625
2626 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2627 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
2628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2629 fi
2630
2631 : "${CONFIG_STATUS=./config.status}"
2632 ac_write_fail=0
2633 ac_clean_files_save=$ac_clean_files
2634 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2636 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2637 as_write_fail=0
2638 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2639 #! $SHELL
2640 # Generated by $as_me.
2641 # Run this file to recreate the current configuration.
2642 # Compiler output produced by configure, useful for debugging
2643 # configure, is in config.log if it exists.
2644
2645 debug=false
2646 ac_cs_recheck=false
2647 ac_cs_silent=false
2648
2649 SHELL=\${CONFIG_SHELL-$SHELL}
2650 export SHELL
2651 _ASEOF
2652 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2653 ## -------------------- ##
2654 ## M4sh Initialization. ##
2655 ## -------------------- ##
2656
2657 # Be more Bourne compatible
2658 DUALCASE=1; export DUALCASE # for MKS sh
2659 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2660 emulate sh
2661 NULLCMD=:
2662 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2663 # is contrary to our usage. Disable this feature.
2664 alias -g '${1+"$@"}'='"$@"'
2665 setopt NO_GLOB_SUBST
2666 else
2667 case `(set -o) 2>/dev/null` in @%:@(
2668 *posix*) :
2669 set -o posix ;; @%:@(
2670 *) :
2671 ;;
2672 esac
2673 fi
2674
2675
2676 as_nl='
2677 '
2678 export as_nl
2679 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2680 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2681 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2682 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2683 # Prefer a ksh shell builtin over an external printf program on Solaris,
2684 # but without wasting forks for bash or zsh.
2685 if test -z "$BASH_VERSION$ZSH_VERSION" \
2686 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2687 as_echo='print -r --'
2688 as_echo_n='print -rn --'
2689 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2690 as_echo='printf %s\n'
2691 as_echo_n='printf %s'
2692 else
2693 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2694 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2695 as_echo_n='/usr/ucb/echo -n'
2696 else
2697 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2698 as_echo_n_body='eval
2699 arg=$1;
2700 case $arg in @%:@(
2701 *"$as_nl"*)
2702 expr "X$arg" : "X\\(.*\\)$as_nl";
2703 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2704 esac;
2705 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2706 '
2707 export as_echo_n_body
2708 as_echo_n='sh -c $as_echo_n_body as_echo'
2709 fi
2710 export as_echo_body
2711 as_echo='sh -c $as_echo_body as_echo'
2712 fi
2713
2714 # The user is always right.
2715 if test "${PATH_SEPARATOR+set}" != set; then
2716 PATH_SEPARATOR=:
2717 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2718 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2719 PATH_SEPARATOR=';'
2720 }
2721 fi
2722
2723
2724 # IFS
2725 # We need space, tab and new line, in precisely that order. Quoting is
2726 # there to prevent editors from complaining about space-tab.
2727 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2728 # splitting by setting IFS to empty value.)
2729 IFS=" "" $as_nl"
2730
2731 # Find who we are. Look in the path if we contain no directory separator.
2732 as_myself=
2733 case $0 in @%:@((
2734 *[\\/]* ) as_myself=$0 ;;
2735 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736 for as_dir in $PATH
2737 do
2738 IFS=$as_save_IFS
2739 test -z "$as_dir" && as_dir=.
2740 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2741 done
2742 IFS=$as_save_IFS
2743
2744 ;;
2745 esac
2746 # We did not find ourselves, most probably we were run as `sh COMMAND'
2747 # in which case we are not to be found in the path.
2748 if test "x$as_myself" = x; then
2749 as_myself=$0
2750 fi
2751 if test ! -f "$as_myself"; then
2752 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2753 exit 1
2754 fi
2755
2756 # Unset variables that we do not need and which cause bugs (e.g. in
2757 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2758 # suppresses any "Segmentation fault" message there. '((' could
2759 # trigger a bug in pdksh 5.2.14.
2760 for as_var in BASH_ENV ENV MAIL MAILPATH
2761 do eval test x\${$as_var+set} = xset \
2762 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2763 done
2764 PS1='$ '
2765 PS2='> '
2766 PS4='+ '
2767
2768 # NLS nuisances.
2769 LC_ALL=C
2770 export LC_ALL
2771 LANGUAGE=C
2772 export LANGUAGE
2773
2774 # CDPATH.
2775 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2776
2777
2778 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
2779 @%:@ ----------------------------------------
2780 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2781 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2782 @%:@ script with STATUS, using 1 if that was 0.
2783 as_fn_error ()
2784 {
2785 as_status=$1; test $as_status -eq 0 && as_status=1
2786 if test "$4"; then
2787 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2789 fi
2790 $as_echo "$as_me: error: $2" >&2
2791 as_fn_exit $as_status
2792 } @%:@ as_fn_error
2793
2794
2795 @%:@ as_fn_set_status STATUS
2796 @%:@ -----------------------
2797 @%:@ Set @S|@? to STATUS, without forking.
2798 as_fn_set_status ()
2799 {
2800 return $1
2801 } @%:@ as_fn_set_status
2802
2803 @%:@ as_fn_exit STATUS
2804 @%:@ -----------------
2805 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2806 as_fn_exit ()
2807 {
2808 set +e
2809 as_fn_set_status $1
2810 exit $1
2811 } @%:@ as_fn_exit
2812
2813 @%:@ as_fn_unset VAR
2814 @%:@ ---------------
2815 @%:@ Portably unset VAR.
2816 as_fn_unset ()
2817 {
2818 { eval $1=; unset $1;}
2819 }
2820 as_unset=as_fn_unset
2821 @%:@ as_fn_append VAR VALUE
2822 @%:@ ----------------------
2823 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
2824 @%:@ advantage of any shell optimizations that allow amortized linear growth over
2825 @%:@ repeated appends, instead of the typical quadratic growth present in naive
2826 @%:@ implementations.
2827 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2828 eval 'as_fn_append ()
2829 {
2830 eval $1+=\$2
2831 }'
2832 else
2833 as_fn_append ()
2834 {
2835 eval $1=\$$1\$2
2836 }
2837 fi # as_fn_append
2838
2839 @%:@ as_fn_arith ARG...
2840 @%:@ ------------------
2841 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
2842 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
2843 @%:@ must be portable across @S|@(()) and expr.
2844 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2845 eval 'as_fn_arith ()
2846 {
2847 as_val=$(( $* ))
2848 }'
2849 else
2850 as_fn_arith ()
2851 {
2852 as_val=`expr "$@" || test $? -eq 1`
2853 }
2854 fi # as_fn_arith
2855
2856
2857 if expr a : '\(a\)' >/dev/null 2>&1 &&
2858 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2859 as_expr=expr
2860 else
2861 as_expr=false
2862 fi
2863
2864 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2865 as_basename=basename
2866 else
2867 as_basename=false
2868 fi
2869
2870 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2871 as_dirname=dirname
2872 else
2873 as_dirname=false
2874 fi
2875
2876 as_me=`$as_basename -- "$0" ||
2877 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2878 X"$0" : 'X\(//\)$' \| \
2879 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2880 $as_echo X/"$0" |
2881 sed '/^.*\/\([^/][^/]*\)\/*$/{
2882 s//\1/
2883 q
2884 }
2885 /^X\/\(\/\/\)$/{
2886 s//\1/
2887 q
2888 }
2889 /^X\/\(\/\).*/{
2890 s//\1/
2891 q
2892 }
2893 s/.*/./; q'`
2894
2895 # Avoid depending upon Character Ranges.
2896 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2897 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2898 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2899 as_cr_digits='0123456789'
2900 as_cr_alnum=$as_cr_Letters$as_cr_digits
2901
2902 ECHO_C= ECHO_N= ECHO_T=
2903 case `echo -n x` in @%:@(((((
2904 -n*)
2905 case `echo 'xy\c'` in
2906 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2907 xy) ECHO_C='\c';;
2908 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2909 ECHO_T=' ';;
2910 esac;;
2911 *)
2912 ECHO_N='-n';;
2913 esac
2914
2915 rm -f conf$$ conf$$.exe conf$$.file
2916 if test -d conf$$.dir; then
2917 rm -f conf$$.dir/conf$$.file
2918 else
2919 rm -f conf$$.dir
2920 mkdir conf$$.dir 2>/dev/null
2921 fi
2922 if (echo >conf$$.file) 2>/dev/null; then
2923 if ln -s conf$$.file conf$$ 2>/dev/null; then
2924 as_ln_s='ln -s'
2925 # ... but there are two gotchas:
2926 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2927 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2928 # In both cases, we have to default to `cp -pR'.
2929 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2930 as_ln_s='cp -pR'
2931 elif ln conf$$.file conf$$ 2>/dev/null; then
2932 as_ln_s=ln
2933 else
2934 as_ln_s='cp -pR'
2935 fi
2936 else
2937 as_ln_s='cp -pR'
2938 fi
2939 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2940 rmdir conf$$.dir 2>/dev/null
2941
2942
2943 @%:@ as_fn_mkdir_p
2944 @%:@ -------------
2945 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
2946 as_fn_mkdir_p ()
2947 {
2948
2949 case $as_dir in #(
2950 -*) as_dir=./$as_dir;;
2951 esac
2952 test -d "$as_dir" || eval $as_mkdir_p || {
2953 as_dirs=
2954 while :; do
2955 case $as_dir in #(
2956 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2957 *) as_qdir=$as_dir;;
2958 esac
2959 as_dirs="'$as_qdir' $as_dirs"
2960 as_dir=`$as_dirname -- "$as_dir" ||
2961 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2962 X"$as_dir" : 'X\(//\)[^/]' \| \
2963 X"$as_dir" : 'X\(//\)$' \| \
2964 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2965 $as_echo X"$as_dir" |
2966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2967 s//\1/
2968 q
2969 }
2970 /^X\(\/\/\)[^/].*/{
2971 s//\1/
2972 q
2973 }
2974 /^X\(\/\/\)$/{
2975 s//\1/
2976 q
2977 }
2978 /^X\(\/\).*/{
2979 s//\1/
2980 q
2981 }
2982 s/.*/./; q'`
2983 test -d "$as_dir" && break
2984 done
2985 test -z "$as_dirs" || eval "mkdir $as_dirs"
2986 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2987
2988
2989 } @%:@ as_fn_mkdir_p
2990 if mkdir -p . 2>/dev/null; then
2991 as_mkdir_p='mkdir -p "$as_dir"'
2992 else
2993 test -d ./-p && rmdir ./-p
2994 as_mkdir_p=false
2995 fi
2996
2997
2998 @%:@ as_fn_executable_p FILE
2999 @%:@ -----------------------
3000 @%:@ Test if FILE is an executable regular file.
3001 as_fn_executable_p ()
3002 {
3003 test -f "$1" && test -x "$1"
3004 } @%:@ as_fn_executable_p
3005 as_test_x='test -x'
3006 as_executable_p=as_fn_executable_p
3007
3008 # Sed expression to map a string onto a valid CPP name.
3009 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3010
3011 # Sed expression to map a string onto a valid variable name.
3012 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3013
3014
3015 exec 6>&1
3016 ## ----------------------------------- ##
3017 ## Main body of $CONFIG_STATUS script. ##
3018 ## ----------------------------------- ##
3019 _ASEOF
3020 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3021
3022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3023 # Save the log message, to keep $0 and so on meaningful, and to
3024 # report actual input values of CONFIG_FILES etc. instead of their
3025 # values after options handling.
3026 ac_log="
3027 This file was extended by ibdiag $as_me 1.5.7, which was
3028 generated by GNU Autoconf 2.69. Invocation command line was
3029
3030 CONFIG_FILES = $CONFIG_FILES
3031 CONFIG_HEADERS = $CONFIG_HEADERS
3032 CONFIG_LINKS = $CONFIG_LINKS
3033 CONFIG_COMMANDS = $CONFIG_COMMANDS
3034 $ $0 $@
3035
3036 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3037 "
3038
3039 _ACEOF
3040
3041 case $ac_config_files in *"
3042 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3043 esac
3044
3045
3046
3047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3048 # Files that config.status was made for.
3049 config_files="$ac_config_files"
3050
3051 _ACEOF
3052
3053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3054 ac_cs_usage="\
3055 \`$as_me' instantiates files and other configuration actions
3056 from templates according to the current configuration. Unless the files
3057 and actions are specified as TAGs, all are instantiated by default.
3058
3059 Usage: $0 [OPTION]... [TAG]...
3060
3061 -h, --help print this help, then exit
3062 -V, --version print version number and configuration settings, then exit
3063 --config print configuration, then exit
3064 -q, --quiet, --silent
3065 do not print progress messages
3066 -d, --debug don't remove temporary files
3067 --recheck update $as_me by reconfiguring in the same conditions
3068 --file=FILE[:TEMPLATE]
3069 instantiate the configuration file FILE
3070
3071 Configuration files:
3072 $config_files
3073
3074 Report bugs to <openib-general@openib.org>."
3075
3076 _ACEOF
3077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3078 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3079 ac_cs_version="\\
3080 ibdiag config.status 1.5.7
3081 configured by $0, generated by GNU Autoconf 2.69,
3082 with options \\"\$ac_cs_config\\"
3083
3084 Copyright (C) 2012 Free Software Foundation, Inc.
3085 This config.status script is free software; the Free Software Foundation
3086 gives unlimited permission to copy, distribute and modify it."
3087
3088 ac_pwd='$ac_pwd'
3089 srcdir='$srcdir'
3090 INSTALL='$INSTALL'
3091 MKDIR_P='$MKDIR_P'
3092 AWK='$AWK'
3093 test -n "\$AWK" || AWK=awk
3094 _ACEOF
3095
3096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3097 # The default lists apply if the user does not specify any file.
3098 ac_need_defaults=:
3099 while test $# != 0
3100 do
3101 case $1 in
3102 --*=?*)
3103 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3104 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3105 ac_shift=:
3106 ;;
3107 --*=)
3108 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3109 ac_optarg=
3110 ac_shift=:
3111 ;;
3112 *)
3113 ac_option=$1
3114 ac_optarg=$2
3115 ac_shift=shift
3116 ;;
3117 esac
3118
3119 case $ac_option in
3120 # Handling of the options.
3121 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3122 ac_cs_recheck=: ;;
3123 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3124 $as_echo "$ac_cs_version"; exit ;;
3125 --config | --confi | --conf | --con | --co | --c )
3126 $as_echo "$ac_cs_config"; exit ;;
3127 --debug | --debu | --deb | --de | --d | -d )
3128 debug=: ;;
3129 --file | --fil | --fi | --f )
3130 $ac_shift
3131 case $ac_optarg in
3132 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3133 '') as_fn_error $? "missing file argument" ;;
3134 esac
3135 as_fn_append CONFIG_FILES " '$ac_optarg'"
3136 ac_need_defaults=false;;
3137 --he | --h | --help | --hel | -h )
3138 $as_echo "$ac_cs_usage"; exit ;;
3139 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3140 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3141 ac_cs_silent=: ;;
3142
3143 # This is an error.
3144 -*) as_fn_error $? "unrecognized option: \`$1'
3145 Try \`$0 --help' for more information." ;;
3146
3147 *) as_fn_append ac_config_targets " $1"
3148 ac_need_defaults=false ;;
3149
3150 esac
3151 shift
3152 done
3153
3154 ac_configure_extra_args=
3155
3156 if $ac_cs_silent; then
3157 exec 6>/dev/null
3158 ac_configure_extra_args="$ac_configure_extra_args --silent"
3159 fi
3160
3161 _ACEOF
3162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3163 if \$ac_cs_recheck; then
3164 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3165 shift
3166 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3167 CONFIG_SHELL='$SHELL'
3168 export CONFIG_SHELL
3169 exec "\$@"
3170 fi
3171
3172 _ACEOF
3173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3174 exec 5>>config.log
3175 {
3176 echo
3177 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
3178 @%:@@%:@ Running $as_me. @%:@@%:@
3179 _ASBOX
3180 $as_echo "$ac_log"
3181 } >&5
3182
3183 _ACEOF
3184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3185 _ACEOF
3186
3187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3188
3189 # Handling of arguments.
3190 for ac_config_target in $ac_config_targets
3191 do
3192 case $ac_config_target in
3193 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3194 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3195 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3196
3197 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3198 esac
3199 done
3200
3201
3202 # If the user did not use the arguments to specify the items to instantiate,
3203 # then the envvar interface is used. Set only those that are not.
3204 # We use the long form for the default assignment because of an extremely
3205 # bizarre bug on SunOS 4.1.3.
3206 if $ac_need_defaults; then
3207 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3208 fi
3209
3210 # Have a temporary directory for convenience. Make it in the build tree
3211 # simply because there is no reason against having it here, and in addition,
3212 # creating and moving files from /tmp can sometimes cause problems.
3213 # Hook for its removal unless debugging.
3214 # Note that there is a small window in which the directory will not be cleaned:
3215 # after its creation but before its name has been assigned to `$tmp'.
3216 $debug ||
3217 {
3218 tmp= ac_tmp=
3219 trap 'exit_status=$?
3220 : "${ac_tmp:=$tmp}"
3221 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3222 ' 0
3223 trap 'as_fn_exit 1' 1 2 13 15
3224 }
3225 # Create a (secure) tmp directory for tmp files.
3226
3227 {
3228 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3229 test -d "$tmp"
3230 } ||
3231 {
3232 tmp=./conf$$-$RANDOM
3233 (umask 077 && mkdir "$tmp")
3234 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3235 ac_tmp=$tmp
3236
3237 # Set up the scripts for CONFIG_FILES section.
3238 # No need to generate them if there are no CONFIG_FILES.
3239 # This happens for instance with `./config.status config.h'.
3240 if test -n "$CONFIG_FILES"; then
3241
3242
3243 ac_cr=`echo X | tr X '\015'`
3244 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3245 # But we know of no other shell where ac_cr would be empty at this
3246 # point, so we can use a bashism as a fallback.
3247 if test "x$ac_cr" = x; then
3248 eval ac_cr=\$\'\\r\'
3249 fi
3250 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3251 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3252 ac_cs_awk_cr='\\r'
3253 else
3254 ac_cs_awk_cr=$ac_cr
3255 fi
3256
3257 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3258 _ACEOF
3259
3260
3261 {
3262 echo "cat >conf$$subs.awk <<_ACEOF" &&
3263 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3264 echo "_ACEOF"
3265 } >conf$$subs.sh ||
3266 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3267 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3268 ac_delim='%!_!# '
3269 for ac_last_try in false false false false false :; do
3270 . ./conf$$subs.sh ||
3271 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3272
3273 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3274 if test $ac_delim_n = $ac_delim_num; then
3275 break
3276 elif $ac_last_try; then
3277 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3278 else
3279 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3280 fi
3281 done
3282 rm -f conf$$subs.sh
3283
3284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3285 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3286 _ACEOF
3287 sed -n '
3288 h
3289 s/^/S["/; s/!.*/"]=/
3290 p
3291 g
3292 s/^[^!]*!//
3293 :repl
3294 t repl
3295 s/'"$ac_delim"'$//
3296 t delim
3297 :nl
3298 h
3299 s/\(.\{148\}\)..*/\1/
3300 t more1
3301 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3302 p
3303 n
3304 b repl
3305 :more1
3306 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3307 p
3308 g
3309 s/.\{148\}//
3310 t nl
3311 :delim
3312 h
3313 s/\(.\{148\}\)..*/\1/
3314 t more2
3315 s/["\\]/\\&/g; s/^/"/; s/$/"/
3316 p
3317 b
3318 :more2
3319 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3320 p
3321 g
3322 s/.\{148\}//
3323 t delim
3324 ' <conf$$subs.awk | sed '
3325 /^[^""]/{
3326 N
3327 s/\n//
3328 }
3329 ' >>$CONFIG_STATUS || ac_write_fail=1
3330 rm -f conf$$subs.awk
3331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3332 _ACAWK
3333 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3334 for (key in S) S_is_set[key] = 1
3335 FS = ""
3336
3337 }
3338 {
3339 line = $ 0
3340 nfields = split(line, field, "@")
3341 substed = 0
3342 len = length(field[1])
3343 for (i = 2; i < nfields; i++) {
3344 key = field[i]
3345 keylen = length(key)
3346 if (S_is_set[key]) {
3347 value = S[key]
3348 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3349 len += length(value) + length(field[++i])
3350 substed = 1
3351 } else
3352 len += 1 + keylen
3353 }
3354
3355 print line
3356 }
3357
3358 _ACAWK
3359 _ACEOF
3360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3361 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3362 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3363 else
3364 cat
3365 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3366 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3367 _ACEOF
3368
3369 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3370 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3371 # trailing colons and then remove the whole line if VPATH becomes empty
3372 # (actually we leave an empty line to preserve line numbers).
3373 if test "x$srcdir" = x.; then
3374 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3375 h
3376 s///
3377 s/^/:/
3378 s/[ ]*$/:/
3379 s/:\$(srcdir):/:/g
3380 s/:\${srcdir}:/:/g
3381 s/:@srcdir@:/:/g
3382 s/^:*//
3383 s/:*$//
3384 x
3385 s/\(=[ ]*\).*/\1/
3386 G
3387 s/\n//
3388 s/^[^=]*=[ ]*$//
3389 }'
3390 fi
3391
3392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3393 fi # test -n "$CONFIG_FILES"
3394
3395
3396 eval set X " :F $CONFIG_FILES "
3397 shift
3398 for ac_tag
3399 do
3400 case $ac_tag in
3401 :[FHLC]) ac_mode=$ac_tag; continue;;
3402 esac
3403 case $ac_mode$ac_tag in
3404 :[FHL]*:*);;
3405 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3406 :[FH]-) ac_tag=-:-;;
3407 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3408 esac
3409 ac_save_IFS=$IFS
3410 IFS=:
3411 set x $ac_tag
3412 IFS=$ac_save_IFS
3413 shift
3414 ac_file=$1
3415 shift
3416
3417 case $ac_mode in
3418 :L) ac_source=$1;;
3419 :[FH])
3420 ac_file_inputs=
3421 for ac_f
3422 do
3423 case $ac_f in
3424 -) ac_f="$ac_tmp/stdin";;
3425 *) # Look for the file first in the build tree, then in the source tree
3426 # (if the path is not absolute). The absolute path cannot be DOS-style,
3427 # because $ac_f cannot contain `:'.
3428 test -f "$ac_f" ||
3429 case $ac_f in
3430 [\\/$]*) false;;
3431 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3432 esac ||
3433 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3434 esac
3435 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3436 as_fn_append ac_file_inputs " '$ac_f'"
3437 done
3438
3439 # Let's still pretend it is `configure' which instantiates (i.e., don't
3440 # use $as_me), people would be surprised to read:
3441 # /* config.h. Generated by config.status. */
3442 configure_input='Generated from '`
3443 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3444 `' by configure.'
3445 if test x"$ac_file" != x-; then
3446 configure_input="$ac_file. $configure_input"
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3448 $as_echo "$as_me: creating $ac_file" >&6;}
3449 fi
3450 # Neutralize special characters interpreted by sed in replacement strings.
3451 case $configure_input in #(
3452 *\&* | *\|* | *\\* )
3453 ac_sed_conf_input=`$as_echo "$configure_input" |
3454 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3455 *) ac_sed_conf_input=$configure_input;;
3456 esac
3457
3458 case $ac_tag in
3459 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3460 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3461 esac
3462 ;;
3463 esac
3464
3465 ac_dir=`$as_dirname -- "$ac_file" ||
3466 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3467 X"$ac_file" : 'X\(//\)[^/]' \| \
3468 X"$ac_file" : 'X\(//\)$' \| \
3469 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3470 $as_echo X"$ac_file" |
3471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3472 s//\1/
3473 q
3474 }
3475 /^X\(\/\/\)[^/].*/{
3476 s//\1/
3477 q
3478 }
3479 /^X\(\/\/\)$/{
3480 s//\1/
3481 q
3482 }
3483 /^X\(\/\).*/{
3484 s//\1/
3485 q
3486 }
3487 s/.*/./; q'`
3488 as_dir="$ac_dir"; as_fn_mkdir_p
3489 ac_builddir=.
3490
3491 case "$ac_dir" in
3492 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3493 *)
3494 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3495 # A ".." for each directory in $ac_dir_suffix.
3496 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3497 case $ac_top_builddir_sub in
3498 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3499 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3500 esac ;;
3501 esac
3502 ac_abs_top_builddir=$ac_pwd
3503 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3504 # for backward compatibility:
3505 ac_top_builddir=$ac_top_build_prefix
3506
3507 case $srcdir in
3508 .) # We are building in place.
3509 ac_srcdir=.
3510 ac_top_srcdir=$ac_top_builddir_sub
3511 ac_abs_top_srcdir=$ac_pwd ;;
3512 [\\/]* | ?:[\\/]* ) # Absolute name.
3513 ac_srcdir=$srcdir$ac_dir_suffix;
3514 ac_top_srcdir=$srcdir
3515 ac_abs_top_srcdir=$srcdir ;;
3516 *) # Relative name.
3517 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3518 ac_top_srcdir=$ac_top_build_prefix$srcdir
3519 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3520 esac
3521 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3522
3523
3524 case $ac_mode in
3525 :F)
3526 #
3527 # CONFIG_FILE
3528 #
3529
3530 case $INSTALL in
3531 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3532 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3533 esac
3534 ac_MKDIR_P=$MKDIR_P
3535 case $MKDIR_P in
3536 [\\/$]* | ?:[\\/]* ) ;;
3537 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3538 esac
3539 _ACEOF
3540
3541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3542 # If the template does not know about datarootdir, expand it.
3543 # FIXME: This hack should be removed a few years after 2.60.
3544 ac_datarootdir_hack=; ac_datarootdir_seen=
3545 ac_sed_dataroot='
3546 /datarootdir/ {
3547 p
3548 q
3549 }
3550 /@datadir@/p
3551 /@docdir@/p
3552 /@infodir@/p
3553 /@localedir@/p
3554 /@mandir@/p'
3555 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3556 *datarootdir*) ac_datarootdir_seen=yes;;
3557 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3559 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3560 _ACEOF
3561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3562 ac_datarootdir_hack='
3563 s&@datadir@&$datadir&g
3564 s&@docdir@&$docdir&g
3565 s&@infodir@&$infodir&g
3566 s&@localedir@&$localedir&g
3567 s&@mandir@&$mandir&g
3568 s&\\\${datarootdir}&$datarootdir&g' ;;
3569 esac
3570 _ACEOF
3571
3572 # Neutralize VPATH when `$srcdir' = `.'.
3573 # Shell code in configure.ac might set extrasub.
3574 # FIXME: do we really want to maintain this feature?
3575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3576 ac_sed_extra="$ac_vpsub
3577 $extrasub
3578 _ACEOF
3579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3580 :t
3581 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3582 s|@configure_input@|$ac_sed_conf_input|;t t
3583 s&@top_builddir@&$ac_top_builddir_sub&;t t
3584 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3585 s&@srcdir@&$ac_srcdir&;t t
3586 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3587 s&@top_srcdir@&$ac_top_srcdir&;t t
3588 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3589 s&@builddir@&$ac_builddir&;t t
3590 s&@abs_builddir@&$ac_abs_builddir&;t t
3591 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3592 s&@INSTALL@&$ac_INSTALL&;t t
3593 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3594 $ac_datarootdir_hack
3595 "
3596 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3597 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3598
3599 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3600 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3601 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3602 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3604 which seems to be undefined. Please make sure it is defined" >&5
3605 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3606 which seems to be undefined. Please make sure it is defined" >&2;}
3607
3608 rm -f "$ac_tmp/stdin"
3609 case $ac_file in
3610 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3611 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3612 esac \
3613 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3614 ;;
3615
3616
3617
3618 esac
3619
3620 done # for ac_tag
3621
3622
3623 as_fn_exit 0
3624 _ACEOF
3625 ac_clean_files=$ac_clean_files_save
3626
3627 test $ac_write_fail = 0 ||
3628 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3629
3630
3631 # configure is writing to config.log, and then calls config.status.
3632 # config.status does its own redirection, appending to config.log.
3633 # Unfortunately, on DOS this fails, as config.log is still kept open
3634 # by configure, so config.status won't be able to write to it; its
3635 # output is simply discarded. So we exec the FD to /dev/null,
3636 # effectively closing config.log, so it can be properly (re)opened and
3637 # appended to by config.status. When coming back to configure, we
3638 # need to make the FD available again.
3639 if test "$no_create" != yes; then
3640 ac_cs_success=:
3641 ac_config_status_args=
3642 test "$silent" = yes &&
3643 ac_config_status_args="$ac_config_status_args --quiet"
3644 exec 5>/dev/null
3645 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3646 exec 5>>config.log
3647 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3648 # would make configure fail if this is the last instruction.
3649 $ac_cs_success || as_fn_exit 1
3650 fi
3651 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3653 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3654 fi
3655
3656
+0
-157
ibdiag/autom4te.cache/requests less more
0 # This file was generated.
1 # It contains the lists of macros which have been traced.
2 # It can be safely removed.
3
4 @request = (
5 bless( [
6 '0',
7 1,
8 [
9 '/usr/share/autoconf'
10 ],
11 [
12 '/usr/share/autoconf/autoconf/autoconf.m4f',
13 '/usr/share/aclocal-1.11/amversion.m4',
14 '/usr/share/aclocal-1.11/auxdir.m4',
15 '/usr/share/aclocal-1.11/cond.m4',
16 '/usr/share/aclocal-1.11/depend.m4',
17 '/usr/share/aclocal-1.11/depout.m4',
18 '/usr/share/aclocal-1.11/init.m4',
19 '/usr/share/aclocal-1.11/install-sh.m4',
20 '/usr/share/aclocal-1.11/lead-dot.m4',
21 '/usr/share/aclocal-1.11/maintainer.m4',
22 '/usr/share/aclocal-1.11/make.m4',
23 '/usr/share/aclocal-1.11/missing.m4',
24 '/usr/share/aclocal-1.11/mkdirp.m4',
25 '/usr/share/aclocal-1.11/options.m4',
26 '/usr/share/aclocal-1.11/runlog.m4',
27 '/usr/share/aclocal-1.11/sanity.m4',
28 '/usr/share/aclocal-1.11/silent.m4',
29 '/usr/share/aclocal-1.11/strip.m4',
30 '/usr/share/aclocal-1.11/substnot.m4',
31 '/usr/share/aclocal-1.11/tar.m4',
32 'config/graphviz.m4',
33 'config/ibdm.m4',
34 'config/ibis.m4',
35 'config/tk.m4',
36 'configure.in'
37 ],
38 {
39 'm4_pattern_forbid' => 1,
40 'jm_MAINTAINER_MODE' => 1,
41 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
42 'SET_TK_LIBS' => 1,
43 '_AM_SET_OPTION' => 1,
44 'AC_DEFUN' => 1,
45 'AM_PROG_MKDIR_P' => 1,
46 'CHECK_IBDM_TCLLIB' => 1,
47 'AM_INIT_AUTOMAKE' => 1,
48 'AM_AUTOMAKE_VERSION' => 1,
49 'AM_MISSING_HAS_RUN' => 1,
50 'AM_SUBST_NOTMAKE' => 1,
51 'AM_MISSING_PROG' => 1,
52 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
53 'AM_MAINTAINER_MODE' => 1,
54 'AC_DEFUN_ONCE' => 1,
55 'AM_PROG_INSTALL_STRIP' => 1,
56 'CHECK_IBIS_EXEC_DIR' => 1,
57 '_m4_warn' => 1,
58 'AM_SANITY_CHECK' => 1,
59 'AM_SILENT_RULES' => 1,
60 'include' => 1,
61 '_AM_PROG_TAR' => 1,
62 'AM_AUX_DIR_EXPAND' => 1,
63 'SET_GRAPHVIZ_LIBS' => 1,
64 'AM_DEP_TRACK' => 1,
65 '_AM_SET_OPTIONS' => 1,
66 'AM_RUN_LOG' => 1,
67 '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
68 '_AM_IF_OPTION' => 1,
69 '_AM_SUBST_NOTMAKE' => 1,
70 'm4_pattern_allow' => 1,
71 '_AM_AUTOCONF_VERSION' => 1,
72 '_AM_MANGLE_OPTION' => 1,
73 'AM_CONDITIONAL' => 1,
74 'AM_SET_LEADING_DOT' => 1,
75 'AM_SET_DEPDIR' => 1,
76 '_AM_DEPENDENCIES' => 1,
77 'm4_include' => 1,
78 'AM_PROG_INSTALL_SH' => 1,
79 '_AC_AM_CONFIG_HEADER_HOOK' => 1,
80 'AU_DEFUN' => 1,
81 'AM_MAKE_INCLUDE' => 1
82 }
83 ], 'Autom4te::Request' ),
84 bless( [
85 '1',
86 1,
87 [
88 '/usr/share/autoconf'
89 ],
90 [
91 '/usr/share/autoconf/autoconf/autoconf.m4f',
92 'aclocal.m4',
93 'configure.in'
94 ],
95 {
96 '_LT_AC_TAGCONFIG' => 1,
97 'AM_PROG_F77_C_O' => 1,
98 'AC_INIT' => 1,
99 'm4_pattern_forbid' => 1,
100 'AC_CANONICAL_TARGET' => 1,
101 '_AM_COND_IF' => 1,
102 'AC_CONFIG_LIBOBJ_DIR' => 1,
103 'AC_SUBST' => 1,
104 'AC_CANONICAL_HOST' => 1,
105 'AC_FC_SRCEXT' => 1,
106 'AC_PROG_LIBTOOL' => 1,
107 'AM_INIT_AUTOMAKE' => 1,
108 'AC_CONFIG_SUBDIRS' => 1,
109 'AM_PATH_GUILE' => 1,
110 'AM_AUTOMAKE_VERSION' => 1,
111 'LT_CONFIG_LTDL_DIR' => 1,
112 'AC_CONFIG_LINKS' => 1,
113 'AC_REQUIRE_AUX_FILE' => 1,
114 'm4_sinclude' => 1,
115 'LT_SUPPORTED_TAG' => 1,
116 'AM_MAINTAINER_MODE' => 1,
117 'AM_NLS' => 1,
118 'AC_FC_PP_DEFINE' => 1,
119 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
120 '_m4_warn' => 1,
121 'AM_MAKEFILE_INCLUDE' => 1,
122 'AM_PROG_CXX_C_O' => 1,
123 '_AM_COND_ENDIF' => 1,
124 '_AM_MAKEFILE_INCLUDE' => 1,
125 'AM_ENABLE_MULTILIB' => 1,
126 'AM_PROG_MOC' => 1,
127 'AM_SILENT_RULES' => 1,
128 'AC_CONFIG_FILES' => 1,
129 'include' => 1,
130 'LT_INIT' => 1,
131 'AM_GNU_GETTEXT' => 1,
132 'AM_PROG_AR' => 1,
133 'AC_LIBSOURCE' => 1,
134 'AC_CANONICAL_BUILD' => 1,
135 'AM_PROG_FC_C_O' => 1,
136 'AC_FC_FREEFORM' => 1,
137 'AC_FC_PP_SRCEXT' => 1,
138 'AH_OUTPUT' => 1,
139 'AC_CONFIG_AUX_DIR' => 1,
140 '_AM_SUBST_NOTMAKE' => 1,
141 'AM_PROG_CC_C_O' => 1,
142 'sinclude' => 1,
143 'm4_pattern_allow' => 1,
144 'AM_CONDITIONAL' => 1,
145 'AC_CANONICAL_SYSTEM' => 1,
146 'AM_XGETTEXT_OPTION' => 1,
147 'AC_CONFIG_HEADERS' => 1,
148 'AC_DEFINE_TRACE_LITERAL' => 1,
149 'AM_POT_TOOLS' => 1,
150 'm4_include' => 1,
151 '_AM_COND_ELSE' => 1,
152 'AC_SUBST_TRACE' => 1
153 }
154 ], 'Autom4te::Request' )
155 );
156
+0
-851
ibdiag/autom4te.cache/traces.0 less more
0 m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
1 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
2 dnl require some minimum version. Point them to the right macro.
3 m4_if([$1], [1.11.1], [],
4 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
5 ])
6 m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
7 m4_ifndef([AC_AUTOCONF_VERSION],
8 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
9 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
10 m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
11 AC_PREREQ([2.50])dnl
12 # expand $ac_aux_dir to an absolute path
13 am_aux_dir=`cd $ac_aux_dir && pwd`
14 ])
15 m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
16 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
17 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
18 AC_SUBST([$1_TRUE])dnl
19 AC_SUBST([$1_FALSE])dnl
20 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
21 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
22 m4_define([_AM_COND_VALUE_$1], [$2])dnl
23 if $2; then
24 $1_TRUE=
25 $1_FALSE='#'
26 else
27 $1_TRUE='#'
28 $1_FALSE=
29 fi
30 AC_CONFIG_COMMANDS_PRE(
31 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
32 AC_MSG_ERROR([[conditional "$1" was never defined.
33 Usually this means the macro was only invoked conditionally.]])
34 fi])])
35 m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
36 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
37 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
38 AC_REQUIRE([AM_DEP_TRACK])dnl
39
40 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
41 [$1], CXX, [depcc="$CXX" am_compiler_list=],
42 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
43 [$1], UPC, [depcc="$UPC" am_compiler_list=],
44 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
45 [depcc="$$1" am_compiler_list=])
46
47 AC_CACHE_CHECK([dependency style of $depcc],
48 [am_cv_$1_dependencies_compiler_type],
49 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
50 # We make a subdir and do the tests there. Otherwise we can end up
51 # making bogus files that we don't know about and never remove. For
52 # instance it was reported that on HP-UX the gcc test will end up
53 # making a dummy file named `D' -- because `-MD' means `put the output
54 # in D'.
55 mkdir conftest.dir
56 # Copy depcomp to subdir because otherwise we won't find it if we're
57 # using a relative directory.
58 cp "$am_depcomp" conftest.dir
59 cd conftest.dir
60 # We will build objects and dependencies in a subdirectory because
61 # it helps to detect inapplicable dependency modes. For instance
62 # both Tru64's cc and ICC support -MD to output dependencies as a
63 # side effect of compilation, but ICC will put the dependencies in
64 # the current directory while Tru64 will put them in the object
65 # directory.
66 mkdir sub
67
68 am_cv_$1_dependencies_compiler_type=none
69 if test "$am_compiler_list" = ""; then
70 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
71 fi
72 am__universal=false
73 m4_case([$1], [CC],
74 [case " $depcc " in #(
75 *\ -arch\ *\ -arch\ *) am__universal=true ;;
76 esac],
77 [CXX],
78 [case " $depcc " in #(
79 *\ -arch\ *\ -arch\ *) am__universal=true ;;
80 esac])
81
82 for depmode in $am_compiler_list; do
83 # Setup a source with many dependencies, because some compilers
84 # like to wrap large dependency lists on column 80 (with \), and
85 # we should not choose a depcomp mode which is confused by this.
86 #
87 # We need to recreate these files for each test, as the compiler may
88 # overwrite some of them when testing with obscure command lines.
89 # This happens at least with the AIX C compiler.
90 : > sub/conftest.c
91 for i in 1 2 3 4 5 6; do
92 echo '#include "conftst'$i'.h"' >> sub/conftest.c
93 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
94 # Solaris 8's {/usr,}/bin/sh.
95 touch sub/conftst$i.h
96 done
97 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
98
99 # We check with `-c' and `-o' for the sake of the "dashmstdout"
100 # mode. It turns out that the SunPro C++ compiler does not properly
101 # handle `-M -o', and we need to detect this. Also, some Intel
102 # versions had trouble with output in subdirs
103 am__obj=sub/conftest.${OBJEXT-o}
104 am__minus_obj="-o $am__obj"
105 case $depmode in
106 gcc)
107 # This depmode causes a compiler race in universal mode.
108 test "$am__universal" = false || continue
109 ;;
110 nosideeffect)
111 # after this tag, mechanisms are not by side-effect, so they'll
112 # only be used when explicitly requested
113 if test "x$enable_dependency_tracking" = xyes; then
114 continue
115 else
116 break
117 fi
118 ;;
119 msvisualcpp | msvcmsys)
120 # This compiler won't grok `-c -o', but also, the minuso test has
121 # not run yet. These depmodes are late enough in the game, and
122 # so weak that their functioning should not be impacted.
123 am__obj=conftest.${OBJEXT-o}
124 am__minus_obj=
125 ;;
126 none) break ;;
127 esac
128 if depmode=$depmode \
129 source=sub/conftest.c object=$am__obj \
130 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
131 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
132 >/dev/null 2>conftest.err &&
133 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
134 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
135 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
136 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
137 # icc doesn't choke on unknown options, it will just issue warnings
138 # or remarks (even with -Werror). So we grep stderr for any message
139 # that says an option was ignored or not supported.
140 # When given -MP, icc 7.0 and 7.1 complain thusly:
141 # icc: Command line warning: ignoring option '-M'; no argument required
142 # The diagnosis changed in icc 8.0:
143 # icc: Command line remark: option '-MP' not supported
144 if (grep 'ignoring option' conftest.err ||
145 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
146 am_cv_$1_dependencies_compiler_type=$depmode
147 break
148 fi
149 fi
150 done
151
152 cd ..
153 rm -rf conftest.dir
154 else
155 am_cv_$1_dependencies_compiler_type=none
156 fi
157 ])
158 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
159 AM_CONDITIONAL([am__fastdep$1], [
160 test "x$enable_dependency_tracking" != xno \
161 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
162 ])
163 m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
164 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
165 ])
166 m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
167 [ --disable-dependency-tracking speeds up one-time build
168 --enable-dependency-tracking do not reject slow dependency extractors])
169 if test "x$enable_dependency_tracking" != xno; then
170 am_depcomp="$ac_aux_dir/depcomp"
171 AMDEPBACKSLASH='\'
172 fi
173 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
174 AC_SUBST([AMDEPBACKSLASH])dnl
175 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
176 ])
177 m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
178 # Autoconf 2.62 quotes --file arguments for eval, but not when files
179 # are listed without --file. Let's play safe and only enable the eval
180 # if we detect the quoting.
181 case $CONFIG_FILES in
182 *\'*) eval set x "$CONFIG_FILES" ;;
183 *) set x $CONFIG_FILES ;;
184 esac
185 shift
186 for mf
187 do
188 # Strip MF so we end up with the name of the file.
189 mf=`echo "$mf" | sed -e 's/:.*$//'`
190 # Check whether this is an Automake generated Makefile or not.
191 # We used to match only the files named `Makefile.in', but
192 # some people rename them; so instead we look at the file content.
193 # Grep'ing the first line is not enough: some people post-process
194 # each Makefile.in and add a new line on top of each file to say so.
195 # Grep'ing the whole file is not good either: AIX grep has a line
196 # limit of 2048, but all sed's we know have understand at least 4000.
197 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
198 dirpart=`AS_DIRNAME("$mf")`
199 else
200 continue
201 fi
202 # Extract the definition of DEPDIR, am__include, and am__quote
203 # from the Makefile without running `make'.
204 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
205 test -z "$DEPDIR" && continue
206 am__include=`sed -n 's/^am__include = //p' < "$mf"`
207 test -z "am__include" && continue
208 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
209 # When using ansi2knr, U may be empty or an underscore; expand it
210 U=`sed -n 's/^U = //p' < "$mf"`
211 # Find all dependency output files, they are included files with
212 # $(DEPDIR) in their names. We invoke sed twice because it is the
213 # simplest approach to changing $(DEPDIR) to its actual value in the
214 # expansion.
215 for file in `sed -n "
216 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
217 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
218 # Make sure the directory exists.
219 test -f "$dirpart/$file" && continue
220 fdir=`AS_DIRNAME(["$file"])`
221 AS_MKDIR_P([$dirpart/$fdir])
222 # echo "creating $dirpart/$file"
223 echo '# dummy' > "$dirpart/$file"
224 done
225 done
226 }
227 ])
228 m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
229 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
230 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
231 ])
232 m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
233 dnl Autoconf wants to disallow AM_ names. We explicitly allow
234 dnl the ones we care about.
235 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
236 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
237 AC_REQUIRE([AC_PROG_INSTALL])dnl
238 if test "`cd $srcdir && pwd`" != "`pwd`"; then
239 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
240 # is not polluted with repeated "-I."
241 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
242 # test to see if srcdir already configured
243 if test -f $srcdir/config.status; then
244 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
245 fi
246 fi
247
248 # test whether we have cygpath
249 if test -z "$CYGPATH_W"; then
250 if (cygpath --version) >/dev/null 2>/dev/null; then
251 CYGPATH_W='cygpath -w'
252 else
253 CYGPATH_W=echo
254 fi
255 fi
256 AC_SUBST([CYGPATH_W])
257
258 # Define the identity of the package.
259 dnl Distinguish between old-style and new-style calls.
260 m4_ifval([$2],
261 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
262 AC_SUBST([PACKAGE], [$1])dnl
263 AC_SUBST([VERSION], [$2])],
264 [_AM_SET_OPTIONS([$1])dnl
265 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
266 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
267 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
268 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
269 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
270
271 _AM_IF_OPTION([no-define],,
272 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
273 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
274
275 # Some tools Automake needs.
276 AC_REQUIRE([AM_SANITY_CHECK])dnl
277 AC_REQUIRE([AC_ARG_PROGRAM])dnl
278 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
279 AM_MISSING_PROG(AUTOCONF, autoconf)
280 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
281 AM_MISSING_PROG(AUTOHEADER, autoheader)
282 AM_MISSING_PROG(MAKEINFO, makeinfo)
283 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
284 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
285 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
286 # We need awk for the "check" target. The system "awk" is bad on
287 # some platforms.
288 AC_REQUIRE([AC_PROG_AWK])dnl
289 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
290 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
291 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
292 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
293 [_AM_PROG_TAR([v7])])])
294 _AM_IF_OPTION([no-dependencies],,
295 [AC_PROVIDE_IFELSE([AC_PROG_CC],
296 [_AM_DEPENDENCIES(CC)],
297 [define([AC_PROG_CC],
298 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
299 AC_PROVIDE_IFELSE([AC_PROG_CXX],
300 [_AM_DEPENDENCIES(CXX)],
301 [define([AC_PROG_CXX],
302 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
303 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
304 [_AM_DEPENDENCIES(OBJC)],
305 [define([AC_PROG_OBJC],
306 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
307 ])
308 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
309 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
310 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
311 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
312 AC_CONFIG_COMMANDS_PRE(dnl
313 [m4_provide_if([_AM_COMPILER_EXEEXT],
314 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
315 ])
316 m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
317 _am_arg=$1
318 _am_stamp_count=1
319 for _am_header in $config_headers :; do
320 case $_am_header in
321 $_am_arg | $_am_arg:* )
322 break ;;
323 * )
324 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
325 esac
326 done
327 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
328 m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
329 if test x"${install_sh}" != xset; then
330 case $am_aux_dir in
331 *\ * | *\ *)
332 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
333 *)
334 install_sh="\${SHELL} $am_aux_dir/install-sh"
335 esac
336 fi
337 AC_SUBST(install_sh)])
338 m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
339 mkdir .tst 2>/dev/null
340 if test -d .tst; then
341 am__leading_dot=.
342 else
343 am__leading_dot=_
344 fi
345 rmdir .tst 2>/dev/null
346 AC_SUBST([am__leading_dot])])
347 m4trace:/usr/share/aclocal-1.11/maintainer.m4:19: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]),
348 [enable], [m4_define([am_maintainer_other], [disable])],
349 [disable], [m4_define([am_maintainer_other], [enable])],
350 [m4_define([am_maintainer_other], [enable])
351 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
352 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
353 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
354 AC_ARG_ENABLE([maintainer-mode],
355 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
356 (and sometimes confusing) to the casual installer],
357 [USE_MAINTAINER_MODE=$enableval],
358 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
359 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
360 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
361 MAINT=$MAINTAINER_MODE_TRUE
362 AC_SUBST([MAINT])dnl
363
364 ])
365 m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
366 m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete.
367 You should run autoupdate.])dnl
368 AM_MAINTAINER_MODE])
369 m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
370 cat > confinc << 'END'
371 am__doit:
372 @echo this is the am__doit target
373 .PHONY: am__doit
374 END
375 # If we don't find an include directive, just comment out the code.
376 AC_MSG_CHECKING([for style of include used by $am_make])
377 am__include="#"
378 am__quote=
379 _am_result=none
380 # First try GNU make style include.
381 echo "include confinc" > confmf
382 # Ignore all kinds of additional output from `make'.
383 case `$am_make -s -f confmf 2> /dev/null` in #(
384 *the\ am__doit\ target*)
385 am__include=include
386 am__quote=
387 _am_result=GNU
388 ;;
389 esac
390 # Now try BSD make style include.
391 if test "$am__include" = "#"; then
392 echo '.include "confinc"' > confmf
393 case `$am_make -s -f confmf 2> /dev/null` in #(
394 *the\ am__doit\ target*)
395 am__include=.include
396 am__quote="\""
397 _am_result=BSD
398 ;;
399 esac
400 fi
401 AC_SUBST([am__include])
402 AC_SUBST([am__quote])
403 AC_MSG_RESULT([$_am_result])
404 rm -f confinc confmf
405 ])
406 m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
407 $1=${$1-"${am_missing_run}$2"}
408 AC_SUBST($1)])
409 m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
410 AC_REQUIRE_AUX_FILE([missing])dnl
411 if test x"${MISSING+set}" != xset; then
412 case $am_aux_dir in
413 *\ * | *\ *)
414 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
415 *)
416 MISSING="\${SHELL} $am_aux_dir/missing" ;;
417 esac
418 fi
419 # Use eval to expand $SHELL
420 if eval "$MISSING --run true"; then
421 am_missing_run="$MISSING --run "
422 else
423 am_missing_run=
424 AC_MSG_WARN([`missing' script is too old or missing])
425 fi
426 ])
427 m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
428 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
429 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
430 dnl while keeping a definition of mkdir_p for backward compatibility.
431 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
432 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
433 dnl Makefile.ins that do not define MKDIR_P, so we do our own
434 dnl adjustment using top_builddir (which is defined more often than
435 dnl MKDIR_P).
436 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
437 case $mkdir_p in
438 [[\\/$]]* | ?:[[\\/]]*) ;;
439 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
440 esac
441 ])
442 m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
443 m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
444 m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
445 m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
446 m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
447 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
448 ac_status=$?
449 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
450 (exit $ac_status); }])
451 m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
452 # Just in case
453 sleep 1
454 echo timestamp > conftest.file
455 # Reject unsafe characters in $srcdir or the absolute working directory
456 # name. Accept space and tab only in the latter.
457 am_lf='
458 '
459 case `pwd` in
460 *[[\\\"\#\$\&\'\`$am_lf]]*)
461 AC_MSG_ERROR([unsafe absolute working directory name]);;
462 esac
463 case $srcdir in
464 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
465 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
466 esac
467
468 # Do `set' in a subshell so we don't clobber the current shell's
469 # arguments. Must try -L first in case configure is actually a
470 # symlink; some systems play weird games with the mod time of symlinks
471 # (eg FreeBSD returns the mod time of the symlink's containing
472 # directory).
473 if (
474 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
475 if test "$[*]" = "X"; then
476 # -L didn't work.
477 set X `ls -t "$srcdir/configure" conftest.file`
478 fi
479 rm -f conftest.file
480 if test "$[*]" != "X $srcdir/configure conftest.file" \
481 && test "$[*]" != "X conftest.file $srcdir/configure"; then
482
483 # If neither matched, then we have a broken ls. This can happen
484 # if, for instance, CONFIG_SHELL is bash and it inherits a
485 # broken ls alias from the environment. This has actually
486 # happened. Such a system could not be considered "sane".
487 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
488 alias in your environment])
489 fi
490
491 test "$[2]" = conftest.file
492 )
493 then
494 # Ok.
495 :
496 else
497 AC_MSG_ERROR([newly created file is older than distributed files!
498 Check your system clock])
499 fi
500 AC_MSG_RESULT(yes)])
501 m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
502 [ --enable-silent-rules less verbose build output (undo: `make V=1')
503 --disable-silent-rules verbose build output (undo: `make V=0')])
504 case $enable_silent_rules in
505 yes) AM_DEFAULT_VERBOSITY=0;;
506 no) AM_DEFAULT_VERBOSITY=1;;
507 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
508 esac
509 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
510 AM_BACKSLASH='\'
511 AC_SUBST([AM_BACKSLASH])dnl
512 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
513 ])
514 m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
515 # Installed binaries are usually stripped using `strip' when the user
516 # run `make install-strip'. However `strip' might not be the right
517 # tool to use in cross-compilation environments, therefore Automake
518 # will honor the `STRIP' environment variable to overrule this program.
519 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
520 if test "$cross_compiling" != no; then
521 AC_CHECK_TOOL([STRIP], [strip], :)
522 fi
523 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
524 AC_SUBST([INSTALL_STRIP_PROGRAM])])
525 m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
526 m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
527 m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
528 AM_MISSING_PROG([AMTAR], [tar])
529 m4_if([$1], [v7],
530 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
531 [m4_case([$1], [ustar],, [pax],,
532 [m4_fatal([Unknown tar format])])
533 AC_MSG_CHECKING([how to create a $1 tar archive])
534 # Loop over all known methods to create a tar archive until one works.
535 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
536 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
537 # Do not fold the above two line into one, because Tru64 sh and
538 # Solaris sh will not grok spaces in the rhs of `-'.
539 for _am_tool in $_am_tools
540 do
541 case $_am_tool in
542 gnutar)
543 for _am_tar in tar gnutar gtar;
544 do
545 AM_RUN_LOG([$_am_tar --version]) && break
546 done
547 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
548 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
549 am__untar="$_am_tar -xf -"
550 ;;
551 plaintar)
552 # Must skip GNU tar: if it does not support --format= it doesn't create
553 # ustar tarball either.
554 (tar --version) >/dev/null 2>&1 && continue
555 am__tar='tar chf - "$$tardir"'
556 am__tar_='tar chf - "$tardir"'
557 am__untar='tar xf -'
558 ;;
559 pax)
560 am__tar='pax -L -x $1 -w "$$tardir"'
561 am__tar_='pax -L -x $1 -w "$tardir"'
562 am__untar='pax -r'
563 ;;
564 cpio)
565 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
566 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
567 am__untar='cpio -i -H $1 -d'
568 ;;
569 none)
570 am__tar=false
571 am__tar_=false
572 am__untar=false
573 ;;
574 esac
575
576 # If the value was cached, stop now. We just wanted to have am__tar
577 # and am__untar set.
578 test -n "${am_cv_prog_tar_$1}" && break
579
580 # tar/untar a dummy directory, and stop if the command works
581 rm -rf conftest.dir
582 mkdir conftest.dir
583 echo GrepMe > conftest.dir/file
584 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
585 rm -rf conftest.dir
586 if test -s conftest.tar; then
587 AM_RUN_LOG([$am__untar <conftest.tar])
588 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
589 fi
590 done
591 rm -rf conftest.dir
592
593 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
594 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
595 AC_SUBST([am__tar])
596 AC_SUBST([am__untar])
597 ])
598 m4trace:config/graphviz.m4:9: -1- AC_DEFUN([SET_GRAPHVIZ_LIBS], [
599
600 dnl Define a way for the user to provide the path
601 AC_ARG_WITH(graphviz-lib,
602 [ --with-graphviz-lib=<dir> define directory which holds the graphviz lib installation],
603 AC_MSG_NOTICE(GRAPHVIZ: given path:$with_graphviz_lib),
604 with_graphviz_lib="none")
605
606 dnl if we were not given a path - try finding one:
607 if test "x$with_graphviz_lib" = "xnone"; then
608 dirs="/usr /usr/local /usr/local/ibgd /usr/local/ibg2 /usr/local/ibed /usr/local/ofed"
609 for d in $dirs; do
610 if test -e $d/lib/graphviz/tcl/libtcldot.so; then
611 with_graphviz_lib=$d/lib
612 AC_MSG_NOTICE(GRAPHVIZ: found in:$with_graphviz_lib)
613 fi
614 if test -e $d/lib64/graphviz/tcl/libtcldot.so; then
615 with_graphviz_lib=$d/lib64
616 AC_MSG_NOTICE(GRAPHVIZ: found in:$with_graphviz_lib)
617 fi
618 done
619 fi
620
621 if test "x$with_graphviz_lib" = "xnone"; then
622 AC_MSG_WARN(GRAPHVIZ: failed to find graphviz/tcl/libtcldot.so lib. Please use --with-graphviz-lib or else ibdiagui will not run properly)
623 fi
624
625 AC_SUBST(with_graphviz_lib)
626 ])
627 m4trace:config/ibdm.m4:10: -1- AC_DEFUN([CHECK_IBDM_TCLLIB], [
628
629 dnl Define a way for the user to provide the path
630 AC_ARG_WITH(ibdm-lib,
631 [ --with-ibdm-lib=<dir> define where to find IBDM TCL library],
632 AC_MSG_NOTICE(IBDM: given path:$with_ibdm_lib),
633 with_ibdm_lib="none")
634
635 dnl if we were not given a path - try finding one:
636 if test "x$with_ibdm_lib" = xnone; then
637 dirs="/usr/lib /usr/local/lib /usr/local/ibgd/lib /usr/local/ibg2/lib /usr/local/ibed/lib /usr/local/ofed/lib"
638 for d in $dirs; do
639 if test -d $d/ibdm1.0; then
640 with_ibdm_lib=$d
641 AC_MSG_NOTICE(IBDM: found in:$with_ibdm_lib)
642 fi
643 done
644 for d in $dirs; do
645 if test -d ${d}64/ibdm1.0; then
646 with_ibdm_lib=${d}64
647 AC_MSG_NOTICE(IBDM: found in:$with_ibdm_lib)
648 fi
649 done
650 fi
651
652 AC_MSG_NOTICE(IBDM: using TCL lib from:$with_ibdm_lib)
653 AC_SUBST(with_ibdm_lib)
654 ])
655 m4trace:config/ibis.m4:10: -1- AC_DEFUN([CHECK_IBIS_EXEC_DIR], [
656
657 dnl Define a way for the user to provide the path
658 AC_ARG_WITH(ibis,
659 [ --with-ibis=<dir> define directory which holds the ibis executable],
660 AC_MSG_NOTICE(IBIS: given path:$with_ibis),
661 with_ibis="none")
662
663 dnl if we were not given a path - try finding one:
664 if test "x$with_ibis" = "xnone"; then
665 dirs="/usr/bin /usr/local/bin /usr/local/ibgd/bin /usr/local/ibg2/bin /usr/local/ibed/bin /usr/local/ofed/bin"
666 for d in $dirs; do
667 if test -e $d/ibis; then
668 with_ibis=$d
669 AC_MSG_NOTICE(IBIS: found in:$with_ibis)
670 fi
671 done
672 fi
673
674 AC_MSG_NOTICE(IBIS: using ibis executable from:$with_ibis)
675 AC_SUBST(with_ibis)
676 ])
677 m4trace:config/tk.m4:9: -1- AC_DEFUN([SET_TK_LIBS], [
678
679 dnl Define a way for the user to provide the path
680 AC_ARG_WITH(tk-lib,
681 [ --with-tk-lib=<dir> define directory which holds the tk lib installation],
682 AC_MSG_NOTICE(TK: given path:$with_tk_lib),
683 with_tk_lib="none")
684
685 dnl if we were not given a path - try finding one:
686 if test "x$with_tk_lib" = "xnone"; then
687 dirs="/usr /usr/local /usr/local/ibgd /usr/local/ibg2 /usr/local/ibed /usr/local/ofed"
688 for d in $dirs; do
689 if test -e $d/lib/libtk8.4.so -o -e $d/lib/libtk8.5.so; then
690 with_tk_lib=$d/lib
691 AC_MSG_NOTICE(TK: found in:$with_tk_lib)
692 fi
693 if test -e $d/lib64/libtk8.4.so -o -e $d/lib64/libtk8.5.so; then
694 with_tk_lib=$d/lib64
695 AC_MSG_NOTICE(TK: found in:$with_tk_lib)
696 fi
697 done
698 fi
699
700 if test "x$with_tk_lib" = "xnone"; then
701 AC_MSG_ERROR(TK: failed to find tk8.4 or tk8.5 lib. Please use --with-tk-lib)
702 fi
703
704 AC_SUBST(with_tk_lib)
705 ])
706 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?A[CHUM]_])
707 m4trace:configure.in:35: -1- m4_pattern_forbid([_AC_])
708 m4trace:configure.in:35: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
709 m4trace:configure.in:35: -1- m4_pattern_allow([^AS_FLAGS$])
710 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?m4_])
711 m4trace:configure.in:35: -1- m4_pattern_forbid([^dnl$])
712 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?AS_])
713 m4trace:configure.in:35: -1- m4_pattern_allow([^SHELL$])
714 m4trace:configure.in:35: -1- m4_pattern_allow([^PATH_SEPARATOR$])
715 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
716 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
717 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
718 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
719 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
720 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
721 m4trace:configure.in:35: -1- m4_pattern_allow([^exec_prefix$])
722 m4trace:configure.in:35: -1- m4_pattern_allow([^prefix$])
723 m4trace:configure.in:35: -1- m4_pattern_allow([^program_transform_name$])
724 m4trace:configure.in:35: -1- m4_pattern_allow([^bindir$])
725 m4trace:configure.in:35: -1- m4_pattern_allow([^sbindir$])
726 m4trace:configure.in:35: -1- m4_pattern_allow([^libexecdir$])
727 m4trace:configure.in:35: -1- m4_pattern_allow([^datarootdir$])
728 m4trace:configure.in:35: -1- m4_pattern_allow([^datadir$])
729 m4trace:configure.in:35: -1- m4_pattern_allow([^sysconfdir$])
730 m4trace:configure.in:35: -1- m4_pattern_allow([^sharedstatedir$])
731 m4trace:configure.in:35: -1- m4_pattern_allow([^localstatedir$])
732 m4trace:configure.in:35: -1- m4_pattern_allow([^includedir$])
733 m4trace:configure.in:35: -1- m4_pattern_allow([^oldincludedir$])
734 m4trace:configure.in:35: -1- m4_pattern_allow([^docdir$])
735 m4trace:configure.in:35: -1- m4_pattern_allow([^infodir$])
736 m4trace:configure.in:35: -1- m4_pattern_allow([^htmldir$])
737 m4trace:configure.in:35: -1- m4_pattern_allow([^dvidir$])
738 m4trace:configure.in:35: -1- m4_pattern_allow([^pdfdir$])
739 m4trace:configure.in:35: -1- m4_pattern_allow([^psdir$])
740 m4trace:configure.in:35: -1- m4_pattern_allow([^libdir$])
741 m4trace:configure.in:35: -1- m4_pattern_allow([^localedir$])
742 m4trace:configure.in:35: -1- m4_pattern_allow([^mandir$])
743 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
744 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
745 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
746 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
747 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
748 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
749 m4trace:configure.in:35: -1- m4_pattern_allow([^DEFS$])
750 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_C$])
751 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_N$])
752 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_T$])
753 m4trace:configure.in:35: -1- m4_pattern_allow([^LIBS$])
754 m4trace:configure.in:35: -1- m4_pattern_allow([^build_alias$])
755 m4trace:configure.in:35: -1- m4_pattern_allow([^host_alias$])
756 m4trace:configure.in:35: -1- m4_pattern_allow([^target_alias$])
757 m4trace:configure.in:40: -1- AM_INIT_AUTOMAKE([foreign ])
758 m4trace:configure.in:40: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
759 m4trace:configure.in:40: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
760 m4trace:configure.in:40: -1- AM_AUTOMAKE_VERSION([1.11.1])
761 m4trace:configure.in:40: -1- _AM_AUTOCONF_VERSION([2.69])
762 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
763 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
764 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_DATA$])
765 m4trace:configure.in:40: -1- m4_pattern_allow([^am__isrc$])
766 m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([am__isrc])
767 m4trace:configure.in:40: -1- m4_pattern_allow([^CYGPATH_W$])
768 m4trace:configure.in:40: -1- _AM_SET_OPTIONS([foreign ])
769 m4trace:configure.in:40: -1- _AM_SET_OPTION([foreign])
770 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([foreign])
771 m4trace:configure.in:40: -1- m4_pattern_allow([^PACKAGE$])
772 m4trace:configure.in:40: -1- m4_pattern_allow([^VERSION$])
773 m4trace:configure.in:40: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
774 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
775 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([no-define])
776 m4trace:configure.in:40: -1- m4_pattern_allow([^PACKAGE$])
777 m4trace:configure.in:40: -1- m4_pattern_allow([^VERSION$])
778 m4trace:configure.in:40: -1- AM_SANITY_CHECK
779 m4trace:configure.in:40: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
780 m4trace:configure.in:40: -1- AM_MISSING_HAS_RUN
781 m4trace:configure.in:40: -1- AM_AUX_DIR_EXPAND
782 m4trace:configure.in:40: -1- m4_pattern_allow([^ACLOCAL$])
783 m4trace:configure.in:40: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
784 m4trace:configure.in:40: -1- m4_pattern_allow([^AUTOCONF$])
785 m4trace:configure.in:40: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
786 m4trace:configure.in:40: -1- m4_pattern_allow([^AUTOMAKE$])
787 m4trace:configure.in:40: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
788 m4trace:configure.in:40: -1- m4_pattern_allow([^AUTOHEADER$])
789 m4trace:configure.in:40: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
790 m4trace:configure.in:40: -1- m4_pattern_allow([^MAKEINFO$])
791 m4trace:configure.in:40: -1- AM_PROG_INSTALL_SH
792 m4trace:configure.in:40: -1- m4_pattern_allow([^install_sh$])
793 m4trace:configure.in:40: -1- AM_PROG_INSTALL_STRIP
794 m4trace:configure.in:40: -1- m4_pattern_allow([^STRIP$])
795 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
796 m4trace:configure.in:40: -1- AM_PROG_MKDIR_P
797 m4trace:configure.in:40: -1- m4_pattern_allow([^MKDIR_P$])
798 m4trace:configure.in:40: -1- m4_pattern_allow([^mkdir_p$])
799 m4trace:configure.in:40: -1- m4_pattern_allow([^AWK$])
800 m4trace:configure.in:40: -1- m4_pattern_allow([^SET_MAKE$])
801 m4trace:configure.in:40: -1- AM_SET_LEADING_DOT
802 m4trace:configure.in:40: -1- m4_pattern_allow([^am__leading_dot$])
803 m4trace:configure.in:40: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
804 [_AM_PROG_TAR([v7])])])
805 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([tar-ustar])
806 m4trace:configure.in:40: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
807 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([tar-pax])
808 m4trace:configure.in:40: -1- _AM_PROG_TAR([v7])
809 m4trace:configure.in:40: -1- AM_MISSING_PROG([AMTAR], [tar])
810 m4trace:configure.in:40: -1- m4_pattern_allow([^AMTAR$])
811 m4trace:configure.in:40: -1- m4_pattern_allow([^am__tar$])
812 m4trace:configure.in:40: -1- m4_pattern_allow([^am__untar$])
813 m4trace:configure.in:40: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
814 [_AM_DEPENDENCIES(CC)],
815 [define([AC_PROG_CC],
816 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
817 AC_PROVIDE_IFELSE([AC_PROG_CXX],
818 [_AM_DEPENDENCIES(CXX)],
819 [define([AC_PROG_CXX],
820 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
821 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
822 [_AM_DEPENDENCIES(OBJC)],
823 [define([AC_PROG_OBJC],
824 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
825 ])
826 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([no-dependencies])
827 m4trace:configure.in:40: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
828 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([silent-rules])
829 m4trace:configure.in:43: -1- m4_pattern_allow([^SET_MAKE$])
830 m4trace:configure.in:48: -1- AM_MAINTAINER_MODE
831 m4trace:configure.in:48: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
832 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
833 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
834 m4trace:configure.in:48: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
835 m4trace:configure.in:48: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
836 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINT$])
837 m4trace:configure.in:52: -1- m4_pattern_allow([^LN_S$])
838 m4trace:configure.in:53: -1- m4_pattern_allow([^SET_MAKE$])
839 m4trace:configure.in:66: -1- CHECK_IBIS_EXEC_DIR
840 m4trace:configure.in:66: -1- m4_pattern_allow([^with_ibis$])
841 m4trace:configure.in:67: -1- CHECK_IBDM_TCLLIB
842 m4trace:configure.in:67: -1- m4_pattern_allow([^with_ibdm_lib$])
843 m4trace:configure.in:68: -1- SET_TK_LIBS
844 m4trace:configure.in:68: -1- m4_pattern_allow([^with_tk_lib$])
845 m4trace:configure.in:69: -1- SET_GRAPHVIZ_LIBS
846 m4trace:configure.in:69: -1- m4_pattern_allow([^with_graphviz_lib$])
847 m4trace:configure.in:73: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
848 You should run autoupdate.], [])
849 m4trace:configure.in:73: -1- m4_pattern_allow([^LIB@&t@OBJS$])
850 m4trace:configure.in:73: -1- m4_pattern_allow([^LTLIBOBJS$])
+0
-291
ibdiag/autom4te.cache/traces.1 less more
0 m4trace:aclocal.m4:678: -1- m4_include([config/graphviz.m4])
1 m4trace:aclocal.m4:679: -1- m4_include([config/ibdm.m4])
2 m4trace:aclocal.m4:680: -1- m4_include([config/ibis.m4])
3 m4trace:aclocal.m4:681: -1- m4_include([config/tk.m4])
4 m4trace:configure.in:35: -1- AC_INIT([ibdiag], [1.5.7], [openib-general@openib.org])
5 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?A[CHUM]_])
6 m4trace:configure.in:35: -1- m4_pattern_forbid([_AC_])
7 m4trace:configure.in:35: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
8 m4trace:configure.in:35: -1- m4_pattern_allow([^AS_FLAGS$])
9 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?m4_])
10 m4trace:configure.in:35: -1- m4_pattern_forbid([^dnl$])
11 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?AS_])
12 m4trace:configure.in:35: -1- AC_SUBST([SHELL])
13 m4trace:configure.in:35: -1- AC_SUBST_TRACE([SHELL])
14 m4trace:configure.in:35: -1- m4_pattern_allow([^SHELL$])
15 m4trace:configure.in:35: -1- AC_SUBST([PATH_SEPARATOR])
16 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
17 m4trace:configure.in:35: -1- m4_pattern_allow([^PATH_SEPARATOR$])
18 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
19 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_NAME])
20 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
21 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
22 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
23 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
24 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
25 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
26 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
27 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
28 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_STRING])
29 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
30 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
31 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
32 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
33 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
34 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_URL])
35 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
36 m4trace:configure.in:35: -1- AC_SUBST([exec_prefix], [NONE])
37 m4trace:configure.in:35: -1- AC_SUBST_TRACE([exec_prefix])
38 m4trace:configure.in:35: -1- m4_pattern_allow([^exec_prefix$])
39 m4trace:configure.in:35: -1- AC_SUBST([prefix], [NONE])
40 m4trace:configure.in:35: -1- AC_SUBST_TRACE([prefix])
41 m4trace:configure.in:35: -1- m4_pattern_allow([^prefix$])
42 m4trace:configure.in:35: -1- AC_SUBST([program_transform_name], [s,x,x,])
43 m4trace:configure.in:35: -1- AC_SUBST_TRACE([program_transform_name])
44 m4trace:configure.in:35: -1- m4_pattern_allow([^program_transform_name$])
45 m4trace:configure.in:35: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
46 m4trace:configure.in:35: -1- AC_SUBST_TRACE([bindir])
47 m4trace:configure.in:35: -1- m4_pattern_allow([^bindir$])
48 m4trace:configure.in:35: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
49 m4trace:configure.in:35: -1- AC_SUBST_TRACE([sbindir])
50 m4trace:configure.in:35: -1- m4_pattern_allow([^sbindir$])
51 m4trace:configure.in:35: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
52 m4trace:configure.in:35: -1- AC_SUBST_TRACE([libexecdir])
53 m4trace:configure.in:35: -1- m4_pattern_allow([^libexecdir$])
54 m4trace:configure.in:35: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
55 m4trace:configure.in:35: -1- AC_SUBST_TRACE([datarootdir])
56 m4trace:configure.in:35: -1- m4_pattern_allow([^datarootdir$])
57 m4trace:configure.in:35: -1- AC_SUBST([datadir], ['${datarootdir}'])
58 m4trace:configure.in:35: -1- AC_SUBST_TRACE([datadir])
59 m4trace:configure.in:35: -1- m4_pattern_allow([^datadir$])
60 m4trace:configure.in:35: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
61 m4trace:configure.in:35: -1- AC_SUBST_TRACE([sysconfdir])
62 m4trace:configure.in:35: -1- m4_pattern_allow([^sysconfdir$])
63 m4trace:configure.in:35: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
64 m4trace:configure.in:35: -1- AC_SUBST_TRACE([sharedstatedir])
65 m4trace:configure.in:35: -1- m4_pattern_allow([^sharedstatedir$])
66 m4trace:configure.in:35: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
67 m4trace:configure.in:35: -1- AC_SUBST_TRACE([localstatedir])
68 m4trace:configure.in:35: -1- m4_pattern_allow([^localstatedir$])
69 m4trace:configure.in:35: -1- AC_SUBST([includedir], ['${prefix}/include'])
70 m4trace:configure.in:35: -1- AC_SUBST_TRACE([includedir])
71 m4trace:configure.in:35: -1- m4_pattern_allow([^includedir$])
72 m4trace:configure.in:35: -1- AC_SUBST([oldincludedir], ['/usr/include'])
73 m4trace:configure.in:35: -1- AC_SUBST_TRACE([oldincludedir])
74 m4trace:configure.in:35: -1- m4_pattern_allow([^oldincludedir$])
75 m4trace:configure.in:35: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
76 ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
77 ['${datarootdir}/doc/${PACKAGE}'])])
78 m4trace:configure.in:35: -1- AC_SUBST_TRACE([docdir])
79 m4trace:configure.in:35: -1- m4_pattern_allow([^docdir$])
80 m4trace:configure.in:35: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
81 m4trace:configure.in:35: -1- AC_SUBST_TRACE([infodir])
82 m4trace:configure.in:35: -1- m4_pattern_allow([^infodir$])
83 m4trace:configure.in:35: -1- AC_SUBST([htmldir], ['${docdir}'])
84 m4trace:configure.in:35: -1- AC_SUBST_TRACE([htmldir])
85 m4trace:configure.in:35: -1- m4_pattern_allow([^htmldir$])
86 m4trace:configure.in:35: -1- AC_SUBST([dvidir], ['${docdir}'])
87 m4trace:configure.in:35: -1- AC_SUBST_TRACE([dvidir])
88 m4trace:configure.in:35: -1- m4_pattern_allow([^dvidir$])
89 m4trace:configure.in:35: -1- AC_SUBST([pdfdir], ['${docdir}'])
90 m4trace:configure.in:35: -1- AC_SUBST_TRACE([pdfdir])
91 m4trace:configure.in:35: -1- m4_pattern_allow([^pdfdir$])
92 m4trace:configure.in:35: -1- AC_SUBST([psdir], ['${docdir}'])
93 m4trace:configure.in:35: -1- AC_SUBST_TRACE([psdir])
94 m4trace:configure.in:35: -1- m4_pattern_allow([^psdir$])
95 m4trace:configure.in:35: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
96 m4trace:configure.in:35: -1- AC_SUBST_TRACE([libdir])
97 m4trace:configure.in:35: -1- m4_pattern_allow([^libdir$])
98 m4trace:configure.in:35: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
99 m4trace:configure.in:35: -1- AC_SUBST_TRACE([localedir])
100 m4trace:configure.in:35: -1- m4_pattern_allow([^localedir$])
101 m4trace:configure.in:35: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
102 m4trace:configure.in:35: -1- AC_SUBST_TRACE([mandir])
103 m4trace:configure.in:35: -1- m4_pattern_allow([^mandir$])
104 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
105 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
106 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
107 @%:@undef PACKAGE_NAME])
108 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
109 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
110 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
111 @%:@undef PACKAGE_TARNAME])
112 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
113 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
114 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
115 @%:@undef PACKAGE_VERSION])
116 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
117 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
118 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
119 @%:@undef PACKAGE_STRING])
120 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
121 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
122 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
123 @%:@undef PACKAGE_BUGREPORT])
124 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
125 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
126 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
127 @%:@undef PACKAGE_URL])
128 m4trace:configure.in:35: -1- AC_SUBST([DEFS])
129 m4trace:configure.in:35: -1- AC_SUBST_TRACE([DEFS])
130 m4trace:configure.in:35: -1- m4_pattern_allow([^DEFS$])
131 m4trace:configure.in:35: -1- AC_SUBST([ECHO_C])
132 m4trace:configure.in:35: -1- AC_SUBST_TRACE([ECHO_C])
133 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_C$])
134 m4trace:configure.in:35: -1- AC_SUBST([ECHO_N])
135 m4trace:configure.in:35: -1- AC_SUBST_TRACE([ECHO_N])
136 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_N$])
137 m4trace:configure.in:35: -1- AC_SUBST([ECHO_T])
138 m4trace:configure.in:35: -1- AC_SUBST_TRACE([ECHO_T])
139 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_T$])
140 m4trace:configure.in:35: -1- AC_SUBST([LIBS])
141 m4trace:configure.in:35: -1- AC_SUBST_TRACE([LIBS])
142 m4trace:configure.in:35: -1- m4_pattern_allow([^LIBS$])
143 m4trace:configure.in:35: -1- AC_SUBST([build_alias])
144 m4trace:configure.in:35: -1- AC_SUBST_TRACE([build_alias])
145 m4trace:configure.in:35: -1- m4_pattern_allow([^build_alias$])
146 m4trace:configure.in:35: -1- AC_SUBST([host_alias])
147 m4trace:configure.in:35: -1- AC_SUBST_TRACE([host_alias])
148 m4trace:configure.in:35: -1- m4_pattern_allow([^host_alias$])
149 m4trace:configure.in:35: -1- AC_SUBST([target_alias])
150 m4trace:configure.in:35: -1- AC_SUBST_TRACE([target_alias])
151 m4trace:configure.in:35: -1- m4_pattern_allow([^target_alias$])
152 m4trace:configure.in:37: -1- AC_CONFIG_AUX_DIR([config])
153 m4trace:configure.in:40: -1- AM_INIT_AUTOMAKE([foreign ])
154 m4trace:configure.in:40: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
155 m4trace:configure.in:40: -1- AM_AUTOMAKE_VERSION([1.11.1])
156 m4trace:configure.in:40: -1- AC_REQUIRE_AUX_FILE([install-sh])
157 m4trace:configure.in:40: -1- AC_SUBST([INSTALL_PROGRAM])
158 m4trace:configure.in:40: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
159 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
160 m4trace:configure.in:40: -1- AC_SUBST([INSTALL_SCRIPT])
161 m4trace:configure.in:40: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
162 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
163 m4trace:configure.in:40: -1- AC_SUBST([INSTALL_DATA])
164 m4trace:configure.in:40: -1- AC_SUBST_TRACE([INSTALL_DATA])
165 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_DATA$])
166 m4trace:configure.in:40: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
167 m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__isrc])
168 m4trace:configure.in:40: -1- m4_pattern_allow([^am__isrc$])
169 m4trace:configure.in:40: -1- _AM_SUBST_NOTMAKE([am__isrc])
170 m4trace:configure.in:40: -1- AC_SUBST([CYGPATH_W])
171 m4trace:configure.in:40: -1- AC_SUBST_TRACE([CYGPATH_W])
172 m4trace:configure.in:40: -1- m4_pattern_allow([^CYGPATH_W$])
173 m4trace:configure.in:40: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
174 m4trace:configure.in:40: -1- AC_SUBST_TRACE([PACKAGE])
175 m4trace:configure.in:40: -1- m4_pattern_allow([^PACKAGE$])
176 m4trace:configure.in:40: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
177 m4trace:configure.in:40: -1- AC_SUBST_TRACE([VERSION])
178 m4trace:configure.in:40: -1- m4_pattern_allow([^VERSION$])
179 m4trace:configure.in:40: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
180 m4trace:configure.in:40: -1- m4_pattern_allow([^PACKAGE$])
181 m4trace:configure.in:40: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
182 @%:@undef PACKAGE])
183 m4trace:configure.in:40: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
184 m4trace:configure.in:40: -1- m4_pattern_allow([^VERSION$])
185 m4trace:configure.in:40: -1- AH_OUTPUT([VERSION], [/* Version number of package */
186 @%:@undef VERSION])
187 m4trace:configure.in:40: -1- AC_REQUIRE_AUX_FILE([missing])
188 m4trace:configure.in:40: -1- AC_SUBST([ACLOCAL])
189 m4trace:configure.in:40: -1- AC_SUBST_TRACE([ACLOCAL])
190 m4trace:configure.in:40: -1- m4_pattern_allow([^ACLOCAL$])
191 m4trace:configure.in:40: -1- AC_SUBST([AUTOCONF])
192 m4trace:configure.in:40: -1- AC_SUBST_TRACE([AUTOCONF])
193 m4trace:configure.in:40: -1- m4_pattern_allow([^AUTOCONF$])
194 m4trace:configure.in:40: -1- AC_SUBST([AUTOMAKE])
195 m4trace:configure.in:40: -1- AC_SUBST_TRACE([AUTOMAKE])
196 m4trace:configure.in:40: -1- m4_pattern_allow([^AUTOMAKE$])
197 m4trace:configure.in:40: -1- AC_SUBST([AUTOHEADER])
198 m4trace:configure.in:40: -1- AC_SUBST_TRACE([AUTOHEADER])
199 m4trace:configure.in:40: -1- m4_pattern_allow([^AUTOHEADER$])
200 m4trace:configure.in:40: -1- AC_SUBST([MAKEINFO])
201 m4trace:configure.in:40: -1- AC_SUBST_TRACE([MAKEINFO])
202 m4trace:configure.in:40: -1- m4_pattern_allow([^MAKEINFO$])
203 m4trace:configure.in:40: -1- AC_SUBST([install_sh])
204 m4trace:configure.in:40: -1- AC_SUBST_TRACE([install_sh])
205 m4trace:configure.in:40: -1- m4_pattern_allow([^install_sh$])
206 m4trace:configure.in:40: -1- AC_SUBST([STRIP])
207 m4trace:configure.in:40: -1- AC_SUBST_TRACE([STRIP])
208 m4trace:configure.in:40: -1- m4_pattern_allow([^STRIP$])
209 m4trace:configure.in:40: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
210 m4trace:configure.in:40: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
211 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
212 m4trace:configure.in:40: -1- AC_REQUIRE_AUX_FILE([install-sh])
213 m4trace:configure.in:40: -1- AC_SUBST([MKDIR_P])
214 m4trace:configure.in:40: -1- AC_SUBST_TRACE([MKDIR_P])
215 m4trace:configure.in:40: -1- m4_pattern_allow([^MKDIR_P$])
216 m4trace:configure.in:40: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
217 m4trace:configure.in:40: -1- AC_SUBST_TRACE([mkdir_p])
218 m4trace:configure.in:40: -1- m4_pattern_allow([^mkdir_p$])
219 m4trace:configure.in:40: -1- AC_SUBST([AWK])
220 m4trace:configure.in:40: -1- AC_SUBST_TRACE([AWK])
221 m4trace:configure.in:40: -1- m4_pattern_allow([^AWK$])
222 m4trace:configure.in:40: -1- AC_SUBST([SET_MAKE])
223 m4trace:configure.in:40: -1- AC_SUBST_TRACE([SET_MAKE])
224 m4trace:configure.in:40: -1- m4_pattern_allow([^SET_MAKE$])
225 m4trace:configure.in:40: -1- AC_SUBST([am__leading_dot])
226 m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__leading_dot])
227 m4trace:configure.in:40: -1- m4_pattern_allow([^am__leading_dot$])
228 m4trace:configure.in:40: -1- AC_SUBST([AMTAR])
229 m4trace:configure.in:40: -1- AC_SUBST_TRACE([AMTAR])
230 m4trace:configure.in:40: -1- m4_pattern_allow([^AMTAR$])
231 m4trace:configure.in:40: -1- AC_SUBST([am__tar])
232 m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__tar])
233 m4trace:configure.in:40: -1- m4_pattern_allow([^am__tar$])
234 m4trace:configure.in:40: -1- AC_SUBST([am__untar])
235 m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__untar])
236 m4trace:configure.in:40: -1- m4_pattern_allow([^am__untar$])
237 m4trace:configure.in:43: -1- AC_SUBST([SET_MAKE])
238 m4trace:configure.in:43: -1- AC_SUBST_TRACE([SET_MAKE])
239 m4trace:configure.in:43: -1- m4_pattern_allow([^SET_MAKE$])
240 m4trace:configure.in:48: -1- AM_MAINTAINER_MODE
241 m4trace:configure.in:48: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
242 m4trace:configure.in:48: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
243 m4trace:configure.in:48: -1- AC_SUBST_TRACE([MAINTAINER_MODE_TRUE])
244 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
245 m4trace:configure.in:48: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
246 m4trace:configure.in:48: -1- AC_SUBST_TRACE([MAINTAINER_MODE_FALSE])
247 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
248 m4trace:configure.in:48: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
249 m4trace:configure.in:48: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
250 m4trace:configure.in:48: -1- AC_SUBST([MAINT])
251 m4trace:configure.in:48: -1- AC_SUBST_TRACE([MAINT])
252 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINT$])
253 m4trace:configure.in:52: -1- AC_SUBST([LN_S], [$as_ln_s])
254 m4trace:configure.in:52: -1- AC_SUBST_TRACE([LN_S])
255 m4trace:configure.in:52: -1- m4_pattern_allow([^LN_S$])
256 m4trace:configure.in:53: -1- AC_SUBST([SET_MAKE])
257 m4trace:configure.in:53: -1- AC_SUBST_TRACE([SET_MAKE])
258 m4trace:configure.in:53: -1- m4_pattern_allow([^SET_MAKE$])
259 m4trace:configure.in:66: -1- AC_SUBST([with_ibis])
260 m4trace:configure.in:66: -1- AC_SUBST_TRACE([with_ibis])
261 m4trace:configure.in:66: -1- m4_pattern_allow([^with_ibis$])
262 m4trace:configure.in:67: -1- AC_SUBST([with_ibdm_lib])
263 m4trace:configure.in:67: -1- AC_SUBST_TRACE([with_ibdm_lib])
264 m4trace:configure.in:67: -1- m4_pattern_allow([^with_ibdm_lib$])
265 m4trace:configure.in:68: -1- AC_SUBST([with_tk_lib])
266 m4trace:configure.in:68: -1- AC_SUBST_TRACE([with_tk_lib])
267 m4trace:configure.in:68: -1- m4_pattern_allow([^with_tk_lib$])
268 m4trace:configure.in:69: -1- AC_SUBST([with_graphviz_lib])
269 m4trace:configure.in:69: -1- AC_SUBST_TRACE([with_graphviz_lib])
270 m4trace:configure.in:69: -1- m4_pattern_allow([^with_graphviz_lib$])
271 m4trace:configure.in:73: -1- AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile])
272 m4trace:configure.in:73: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
273 You should run autoupdate.], [])
274 m4trace:configure.in:73: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
275 m4trace:configure.in:73: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
276 m4trace:configure.in:73: -1- m4_pattern_allow([^LIB@&t@OBJS$])
277 m4trace:configure.in:73: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
278 m4trace:configure.in:73: -1- AC_SUBST_TRACE([LTLIBOBJS])
279 m4trace:configure.in:73: -1- m4_pattern_allow([^LTLIBOBJS$])
280 m4trace:configure.in:73: -1- AC_SUBST_TRACE([top_builddir])
281 m4trace:configure.in:73: -1- AC_SUBST_TRACE([top_build_prefix])
282 m4trace:configure.in:73: -1- AC_SUBST_TRACE([srcdir])
283 m4trace:configure.in:73: -1- AC_SUBST_TRACE([abs_srcdir])
284 m4trace:configure.in:73: -1- AC_SUBST_TRACE([top_srcdir])
285 m4trace:configure.in:73: -1- AC_SUBST_TRACE([abs_top_srcdir])
286 m4trace:configure.in:73: -1- AC_SUBST_TRACE([builddir])
287 m4trace:configure.in:73: -1- AC_SUBST_TRACE([abs_builddir])
288 m4trace:configure.in:73: -1- AC_SUBST_TRACE([abs_top_builddir])
289 m4trace:configure.in:73: -1- AC_SUBST_TRACE([INSTALL])
290 m4trace:configure.in:73: -1- AC_SUBST_TRACE([MKDIR_P])
+0
-18030
ibdm/autom4te.cache/output.0 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.69 for ibdm 1.5.7.
3 @%:@
4 @%:@
5 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 @%:@
7 @%:@
8 @%:@ This configure script is free software; the Free Software Foundation
9 @%:@ gives unlimited permission to copy, distribute and modify it.
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 emulate sh
18 NULLCMD=:
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in @%:@(
25 *posix*) :
26 set -o posix ;; @%:@(
27 *) :
28 ;;
29 esac
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in @%:@(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
70
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
78 fi
79
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
87
88 # Find who we are. Look in the path if we contain no directory separator.
89 as_myself=
90 case $0 in @%:@((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in @%:@ ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in @%:@(
169 *posix*) :
170 set -o posix ;; @%:@(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198 test \$(( 1 + 1 )) = 2 || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in @%:@(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in @%:@ ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
270 fi
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 @%:@ as_fn_unset VAR
285 @%:@ ---------------
286 @%:@ Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 @%:@ as_fn_set_status STATUS
294 @%:@ -----------------------
295 @%:@ Set @S|@? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } @%:@ as_fn_set_status
300
301 @%:@ as_fn_exit STATUS
302 @%:@ -----------------
303 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } @%:@ as_fn_exit
310
311 @%:@ as_fn_mkdir_p
312 @%:@ -------------
313 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } @%:@ as_fn_mkdir_p
358
359 @%:@ as_fn_executable_p FILE
360 @%:@ -----------------------
361 @%:@ Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } @%:@ as_fn_executable_p
366 @%:@ as_fn_append VAR VALUE
367 @%:@ ----------------------
368 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
369 @%:@ advantage of any shell optimizations that allow amortized linear growth over
370 @%:@ repeated appends, instead of the typical quadratic growth present in naive
371 @%:@ implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 @%:@ as_fn_arith ARG...
385 @%:@ ------------------
386 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
387 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
388 @%:@ must be portable across @S|@(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
403 @%:@ ----------------------------------------
404 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 @%:@ script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } @%:@ as_fn_error
417
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
423 fi
424
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
429 fi
430
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
455
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
478 N
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
497 }
498
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in @%:@(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
508 *)
509 ECHO_N='-n';;
510 esac
511
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
538
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
544 fi
545
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
548
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556
557 # Check that we are running under the correct shell.
558 SHELL=${CONFIG_SHELL-/bin/sh}
559
560 case X$lt_ECHO in
561 X*--fallback-echo)
562 # Remove one level of quotation (which was required for Make).
563 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 ;;
565 esac
566
567 ECHO=${lt_ECHO-echo}
568 if test "X$1" = X--no-reexec; then
569 # Discard the --no-reexec flag, and continue.
570 shift
571 elif test "X$1" = X--fallback-echo; then
572 # Avoid inline document here, it may be left over
573 :
574 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
575 # Yippee, $ECHO works!
576 :
577 else
578 # Restart under the correct shell.
579 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 fi
581
582 if test "X$1" = X--fallback-echo; then
583 # used as fallback echo
584 shift
585 cat <<_LT_EOF
586 $*
587 _LT_EOF
588 exit 0
589 fi
590
591 # The HP-UX ksh and POSIX shell print the target directory to stdout
592 # if CDPATH is set.
593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
594
595 if test -z "$lt_ECHO"; then
596 if test "X${echo_test_string+set}" != Xset; then
597 # find a string as large as possible, as long as the shell can cope with it
598 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
599 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
600 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
601 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
602 then
603 break
604 fi
605 done
606 fi
607
608 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
609 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
611 :
612 else
613 # The Solaris, AIX, and Digital Unix default echo programs unquote
614 # backslashes. This makes it impossible to quote backslashes using
615 # echo "$something" | sed 's/\\/\\\\/g'
616 #
617 # So, first we look for a working echo in the user's PATH.
618
619 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
620 for dir in $PATH /usr/ucb; do
621 IFS="$lt_save_ifs"
622 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
623 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
626 ECHO="$dir/echo"
627 break
628 fi
629 done
630 IFS="$lt_save_ifs"
631
632 if test "X$ECHO" = Xecho; then
633 # We didn't find a better echo, so look for alternatives.
634 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
635 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 # This shell has a builtin print -r that does the trick.
638 ECHO='print -r'
639 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
640 test "X$CONFIG_SHELL" != X/bin/ksh; then
641 # If we have ksh, try running configure again with it.
642 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
643 export ORIGINAL_CONFIG_SHELL
644 CONFIG_SHELL=/bin/ksh
645 export CONFIG_SHELL
646 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 else
648 # Try using printf.
649 ECHO='printf %s\n'
650 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
651 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
653 # Cool, printf works
654 :
655 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
656 test "X$echo_testing_string" = 'X\t' &&
657 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
660 export CONFIG_SHELL
661 SHELL="$CONFIG_SHELL"
662 export SHELL
663 ECHO="$CONFIG_SHELL $0 --fallback-echo"
664 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
665 test "X$echo_testing_string" = 'X\t' &&
666 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
667 test "X$echo_testing_string" = "X$echo_test_string"; then
668 ECHO="$CONFIG_SHELL $0 --fallback-echo"
669 else
670 # maybe with a smaller string...
671 prev=:
672
673 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
674 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
675 then
676 break
677 fi
678 prev="$cmd"
679 done
680
681 if test "$prev" != 'sed 50q "$0"'; then
682 echo_test_string=`eval $prev`
683 export echo_test_string
684 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 else
686 # Oops. We lost completely, so just stick with echo.
687 ECHO=echo
688 fi
689 fi
690 fi
691 fi
692 fi
693 fi
694
695 # Copy echo and quote the copy suitably for passing to libtool from
696 # the Makefile, instead of quoting the original, which is used later.
697 lt_ECHO=$ECHO
698 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
699 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
700 fi
701
702
703
704
705 test -n "$DJDIR" || exec 7<&0 </dev/null
706 exec 6>&1
707
708 # Name of the host.
709 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
713 #
714 # Initializations.
715 #
716 ac_default_prefix=/usr/local
717 ac_clean_files=
718 ac_config_libobj_dir=.
719 LIB@&t@OBJS=
720 cross_compiling=no
721 subdirs=
722 MFLAGS=
723 MAKEFLAGS=
724
725 # Identity of this package.
726 PACKAGE_NAME='ibdm'
727 PACKAGE_TARNAME='ibdm'
728 PACKAGE_VERSION='1.5.7'
729 PACKAGE_STRING='ibdm 1.5.7'
730 PACKAGE_BUGREPORT=''
731 PACKAGE_URL=''
732
733 ac_unique_file="ibdm/Fabric.h"
734 # Factoring default headers for most tests.
735 ac_includes_default="\
736 #include <stdio.h>
737 #ifdef HAVE_SYS_TYPES_H
738 # include <sys/types.h>
739 #endif
740 #ifdef HAVE_SYS_STAT_H
741 # include <sys/stat.h>
742 #endif
743 #ifdef STDC_HEADERS
744 # include <stdlib.h>
745 # include <stddef.h>
746 #else
747 # ifdef HAVE_STDLIB_H
748 # include <stdlib.h>
749 # endif
750 #endif
751 #ifdef HAVE_STRING_H
752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753 # include <memory.h>
754 # endif
755 # include <string.h>
756 #endif
757 #ifdef HAVE_STRINGS_H
758 # include <strings.h>
759 #endif
760 #ifdef HAVE_INTTYPES_H
761 # include <inttypes.h>
762 #endif
763 #ifdef HAVE_STDINT_H
764 # include <stdint.h>
765 #endif
766 #ifdef HAVE_UNISTD_H
767 # include <unistd.h>
768 #endif"
769
770 ac_subst_vars='am__EXEEXT_FALSE
771 am__EXEEXT_TRUE
772 LTLIBOBJS
773 USE_FINAL_PREFIX_FALSE
774 USE_FINAL_PREFIX_TRUE
775 with_final_prefix
776 DEBUG_FALSE
777 DEBUG_TRUE
778 LIB@&t@OBJS
779 TCL_PREFIX
780 TCL_CPPFLAGS
781 TCL_LIBS
782 TCL_DEFS
783 TCLSH
784 CXXCPP
785 OTOOL64
786 OTOOL
787 LIPO
788 NMEDIT
789 DSYMUTIL
790 lt_ECHO
791 RANLIB
792 AR
793 OBJDUMP
794 NM
795 ac_ct_DUMPBIN
796 DUMPBIN
797 LD
798 FGREP
799 EGREP
800 GREP
801 SED
802 host_os
803 host_vendor
804 host_cpu
805 host
806 build_os
807 build_vendor
808 build_cpu
809 build
810 LIBTOOL
811 YFLAGS
812 YACC
813 LEXLIB
814 LEX_OUTPUT_ROOT
815 LEX
816 SWIG_LIB
817 HAS_SWIG_FALSE
818 HAS_SWIG_TRUE
819 SWIG
820 LN_S
821 CPP
822 am__fastdepCC_FALSE
823 am__fastdepCC_TRUE
824 CCDEPMODE
825 ac_ct_CC
826 CFLAGS
827 CC
828 am__fastdepCXX_FALSE
829 am__fastdepCXX_TRUE
830 CXXDEPMODE
831 AMDEPBACKSLASH
832 AMDEP_FALSE
833 AMDEP_TRUE
834 am__quote
835 am__include
836 DEPDIR
837 OBJEXT
838 EXEEXT
839 ac_ct_CXX
840 CPPFLAGS
841 LDFLAGS
842 CXXFLAGS
843 CXX
844 MAINT
845 MAINTAINER_MODE_FALSE
846 MAINTAINER_MODE_TRUE
847 am__untar
848 am__tar
849 AMTAR
850 am__leading_dot
851 SET_MAKE
852 AWK
853 mkdir_p
854 MKDIR_P
855 INSTALL_STRIP_PROGRAM
856 STRIP
857 install_sh
858 MAKEINFO
859 AUTOHEADER
860 AUTOMAKE
861 AUTOCONF
862 ACLOCAL
863 VERSION
864 PACKAGE
865 CYGPATH_W
866 am__isrc
867 INSTALL_DATA
868 INSTALL_SCRIPT
869 INSTALL_PROGRAM
870 target_alias
871 host_alias
872 build_alias
873 LIBS
874 ECHO_T
875 ECHO_N
876 ECHO_C
877 DEFS
878 mandir
879 localedir
880 libdir
881 psdir
882 pdfdir
883 dvidir
884 htmldir
885 infodir
886 docdir
887 oldincludedir
888 includedir
889 localstatedir
890 sharedstatedir
891 sysconfdir
892 datadir
893 datarootdir
894 libexecdir
895 sbindir
896 bindir
897 program_transform_name
898 prefix
899 exec_prefix
900 PACKAGE_URL
901 PACKAGE_BUGREPORT
902 PACKAGE_STRING
903 PACKAGE_VERSION
904 PACKAGE_TARNAME
905 PACKAGE_NAME
906 PATH_SEPARATOR
907 SHELL'
908 ac_subst_files=''
909 ac_user_opts='
910 enable_option_checking
911 enable_maintainer_mode
912 enable_dependency_tracking
913 enable_shared
914 enable_static
915 with_pic
916 enable_fast_install
917 with_gnu_ld
918 enable_libtool_lock
919 enable_libcheck
920 with_tclconfig
921 with_tcl
922 with_tclsh
923 enable_debug
924 with_final_prefix
925 '
926 ac_precious_vars='build_alias
927 host_alias
928 target_alias
929 CXX
930 CXXFLAGS
931 LDFLAGS
932 LIBS
933 CPPFLAGS
934 CCC
935 CC
936 CFLAGS
937 CPP
938 YACC
939 YFLAGS
940 CXXCPP'
941
942
943 # Initialize some variables set by options.
944 ac_init_help=
945 ac_init_version=false
946 ac_unrecognized_opts=
947 ac_unrecognized_sep=
948 # The variables have the same names as the options, with
949 # dashes changed to underlines.
950 cache_file=/dev/null
951 exec_prefix=NONE
952 no_create=
953 no_recursion=
954 prefix=NONE
955 program_prefix=NONE
956 program_suffix=NONE
957 program_transform_name=s,x,x,
958 silent=
959 site=
960 srcdir=
961 verbose=
962 x_includes=NONE
963 x_libraries=NONE
964
965 # Installation directory options.
966 # These are left unexpanded so users can "make install exec_prefix=/foo"
967 # and all the variables that are supposed to be based on exec_prefix
968 # by default will actually change.
969 # Use braces instead of parens because sh, perl, etc. also accept them.
970 # (The list follows the same order as the GNU Coding Standards.)
971 bindir='${exec_prefix}/bin'
972 sbindir='${exec_prefix}/sbin'
973 libexecdir='${exec_prefix}/libexec'
974 datarootdir='${prefix}/share'
975 datadir='${datarootdir}'
976 sysconfdir='${prefix}/etc'
977 sharedstatedir='${prefix}/com'
978 localstatedir='${prefix}/var'
979 includedir='${prefix}/include'
980 oldincludedir='/usr/include'
981 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
982 infodir='${datarootdir}/info'
983 htmldir='${docdir}'
984 dvidir='${docdir}'
985 pdfdir='${docdir}'
986 psdir='${docdir}'
987 libdir='${exec_prefix}/lib'
988 localedir='${datarootdir}/locale'
989 mandir='${datarootdir}/man'
990
991 ac_prev=
992 ac_dashdash=
993 for ac_option
994 do
995 # If the previous option needs an argument, assign it.
996 if test -n "$ac_prev"; then
997 eval $ac_prev=\$ac_option
998 ac_prev=
999 continue
1000 fi
1001
1002 case $ac_option in
1003 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1004 *=) ac_optarg= ;;
1005 *) ac_optarg=yes ;;
1006 esac
1007
1008 # Accept the important Cygnus configure options, so we can diagnose typos.
1009
1010 case $ac_dashdash$ac_option in
1011 --)
1012 ac_dashdash=yes ;;
1013
1014 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1015 ac_prev=bindir ;;
1016 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1017 bindir=$ac_optarg ;;
1018
1019 -build | --build | --buil | --bui | --bu)
1020 ac_prev=build_alias ;;
1021 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1022 build_alias=$ac_optarg ;;
1023
1024 -cache-file | --cache-file | --cache-fil | --cache-fi \
1025 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1026 ac_prev=cache_file ;;
1027 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1028 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1029 cache_file=$ac_optarg ;;
1030
1031 --config-cache | -C)
1032 cache_file=config.cache ;;
1033
1034 -datadir | --datadir | --datadi | --datad)
1035 ac_prev=datadir ;;
1036 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1037 datadir=$ac_optarg ;;
1038
1039 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1040 | --dataroo | --dataro | --datar)
1041 ac_prev=datarootdir ;;
1042 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1043 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1044 datarootdir=$ac_optarg ;;
1045
1046 -disable-* | --disable-*)
1047 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1048 # Reject names that are not valid shell variable names.
1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1050 as_fn_error $? "invalid feature name: $ac_useropt"
1051 ac_useropt_orig=$ac_useropt
1052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053 case $ac_user_opts in
1054 *"
1055 "enable_$ac_useropt"
1056 "*) ;;
1057 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1058 ac_unrecognized_sep=', ';;
1059 esac
1060 eval enable_$ac_useropt=no ;;
1061
1062 -docdir | --docdir | --docdi | --doc | --do)
1063 ac_prev=docdir ;;
1064 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1065 docdir=$ac_optarg ;;
1066
1067 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1068 ac_prev=dvidir ;;
1069 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1070 dvidir=$ac_optarg ;;
1071
1072 -enable-* | --enable-*)
1073 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1076 as_fn_error $? "invalid feature name: $ac_useropt"
1077 ac_useropt_orig=$ac_useropt
1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1080 *"
1081 "enable_$ac_useropt"
1082 "*) ;;
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1084 ac_unrecognized_sep=', ';;
1085 esac
1086 eval enable_$ac_useropt=\$ac_optarg ;;
1087
1088 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1089 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1090 | --exec | --exe | --ex)
1091 ac_prev=exec_prefix ;;
1092 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1093 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1094 | --exec=* | --exe=* | --ex=*)
1095 exec_prefix=$ac_optarg ;;
1096
1097 -gas | --gas | --ga | --g)
1098 # Obsolete; use --with-gas.
1099 with_gas=yes ;;
1100
1101 -help | --help | --hel | --he | -h)
1102 ac_init_help=long ;;
1103 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1104 ac_init_help=recursive ;;
1105 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1106 ac_init_help=short ;;
1107
1108 -host | --host | --hos | --ho)
1109 ac_prev=host_alias ;;
1110 -host=* | --host=* | --hos=* | --ho=*)
1111 host_alias=$ac_optarg ;;
1112
1113 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1114 ac_prev=htmldir ;;
1115 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1116 | --ht=*)
1117 htmldir=$ac_optarg ;;
1118
1119 -includedir | --includedir | --includedi | --included | --include \
1120 | --includ | --inclu | --incl | --inc)
1121 ac_prev=includedir ;;
1122 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1123 | --includ=* | --inclu=* | --incl=* | --inc=*)
1124 includedir=$ac_optarg ;;
1125
1126 -infodir | --infodir | --infodi | --infod | --info | --inf)
1127 ac_prev=infodir ;;
1128 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1129 infodir=$ac_optarg ;;
1130
1131 -libdir | --libdir | --libdi | --libd)
1132 ac_prev=libdir ;;
1133 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1134 libdir=$ac_optarg ;;
1135
1136 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1137 | --libexe | --libex | --libe)
1138 ac_prev=libexecdir ;;
1139 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1140 | --libexe=* | --libex=* | --libe=*)
1141 libexecdir=$ac_optarg ;;
1142
1143 -localedir | --localedir | --localedi | --localed | --locale)
1144 ac_prev=localedir ;;
1145 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1146 localedir=$ac_optarg ;;
1147
1148 -localstatedir | --localstatedir | --localstatedi | --localstated \
1149 | --localstate | --localstat | --localsta | --localst | --locals)
1150 ac_prev=localstatedir ;;
1151 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1152 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1153 localstatedir=$ac_optarg ;;
1154
1155 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1156 ac_prev=mandir ;;
1157 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1158 mandir=$ac_optarg ;;
1159
1160 -nfp | --nfp | --nf)
1161 # Obsolete; use --without-fp.
1162 with_fp=no ;;
1163
1164 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1165 | --no-cr | --no-c | -n)
1166 no_create=yes ;;
1167
1168 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1169 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1170 no_recursion=yes ;;
1171
1172 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1173 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1174 | --oldin | --oldi | --old | --ol | --o)
1175 ac_prev=oldincludedir ;;
1176 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1177 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1178 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1179 oldincludedir=$ac_optarg ;;
1180
1181 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1182 ac_prev=prefix ;;
1183 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1184 prefix=$ac_optarg ;;
1185
1186 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1187 | --program-pre | --program-pr | --program-p)
1188 ac_prev=program_prefix ;;
1189 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1190 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1191 program_prefix=$ac_optarg ;;
1192
1193 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1194 | --program-suf | --program-su | --program-s)
1195 ac_prev=program_suffix ;;
1196 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1197 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1198 program_suffix=$ac_optarg ;;
1199
1200 -program-transform-name | --program-transform-name \
1201 | --program-transform-nam | --program-transform-na \
1202 | --program-transform-n | --program-transform- \
1203 | --program-transform | --program-transfor \
1204 | --program-transfo | --program-transf \
1205 | --program-trans | --program-tran \
1206 | --progr-tra | --program-tr | --program-t)
1207 ac_prev=program_transform_name ;;
1208 -program-transform-name=* | --program-transform-name=* \
1209 | --program-transform-nam=* | --program-transform-na=* \
1210 | --program-transform-n=* | --program-transform-=* \
1211 | --program-transform=* | --program-transfor=* \
1212 | --program-transfo=* | --program-transf=* \
1213 | --program-trans=* | --program-tran=* \
1214 | --progr-tra=* | --program-tr=* | --program-t=*)
1215 program_transform_name=$ac_optarg ;;
1216
1217 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1218 ac_prev=pdfdir ;;
1219 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1220 pdfdir=$ac_optarg ;;
1221
1222 -psdir | --psdir | --psdi | --psd | --ps)
1223 ac_prev=psdir ;;
1224 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1225 psdir=$ac_optarg ;;
1226
1227 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1228 | -silent | --silent | --silen | --sile | --sil)
1229 silent=yes ;;
1230
1231 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1232 ac_prev=sbindir ;;
1233 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1234 | --sbi=* | --sb=*)
1235 sbindir=$ac_optarg ;;
1236
1237 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1238 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1239 | --sharedst | --shareds | --shared | --share | --shar \
1240 | --sha | --sh)
1241 ac_prev=sharedstatedir ;;
1242 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1243 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1244 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1245 | --sha=* | --sh=*)
1246 sharedstatedir=$ac_optarg ;;
1247
1248 -site | --site | --sit)
1249 ac_prev=site ;;
1250 -site=* | --site=* | --sit=*)
1251 site=$ac_optarg ;;
1252
1253 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1254 ac_prev=srcdir ;;
1255 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1256 srcdir=$ac_optarg ;;
1257
1258 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1259 | --syscon | --sysco | --sysc | --sys | --sy)
1260 ac_prev=sysconfdir ;;
1261 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1262 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1263 sysconfdir=$ac_optarg ;;
1264
1265 -target | --target | --targe | --targ | --tar | --ta | --t)
1266 ac_prev=target_alias ;;
1267 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1268 target_alias=$ac_optarg ;;
1269
1270 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1271 verbose=yes ;;
1272
1273 -version | --version | --versio | --versi | --vers | -V)
1274 ac_init_version=: ;;
1275
1276 -with-* | --with-*)
1277 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1278 # Reject names that are not valid shell variable names.
1279 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1280 as_fn_error $? "invalid package name: $ac_useropt"
1281 ac_useropt_orig=$ac_useropt
1282 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1283 case $ac_user_opts in
1284 *"
1285 "with_$ac_useropt"
1286 "*) ;;
1287 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1288 ac_unrecognized_sep=', ';;
1289 esac
1290 eval with_$ac_useropt=\$ac_optarg ;;
1291
1292 -without-* | --without-*)
1293 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1294 # Reject names that are not valid shell variable names.
1295 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296 as_fn_error $? "invalid package name: $ac_useropt"
1297 ac_useropt_orig=$ac_useropt
1298 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1299 case $ac_user_opts in
1300 *"
1301 "with_$ac_useropt"
1302 "*) ;;
1303 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1304 ac_unrecognized_sep=', ';;
1305 esac
1306 eval with_$ac_useropt=no ;;
1307
1308 --x)
1309 # Obsolete; use --with-x.
1310 with_x=yes ;;
1311
1312 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1313 | --x-incl | --x-inc | --x-in | --x-i)
1314 ac_prev=x_includes ;;
1315 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1316 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1317 x_includes=$ac_optarg ;;
1318
1319 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1320 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1321 ac_prev=x_libraries ;;
1322 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1323 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1324 x_libraries=$ac_optarg ;;
1325
1326 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1327 Try \`$0 --help' for more information"
1328 ;;
1329
1330 *=*)
1331 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1332 # Reject names that are not valid shell variable names.
1333 case $ac_envvar in #(
1334 '' | [0-9]* | *[!_$as_cr_alnum]* )
1335 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1336 esac
1337 eval $ac_envvar=\$ac_optarg
1338 export $ac_envvar ;;
1339
1340 *)
1341 # FIXME: should be removed in autoconf 3.0.
1342 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1343 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1344 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1345 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1346 ;;
1347
1348 esac
1349 done
1350
1351 if test -n "$ac_prev"; then
1352 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1353 as_fn_error $? "missing argument to $ac_option"
1354 fi
1355
1356 if test -n "$ac_unrecognized_opts"; then
1357 case $enable_option_checking in
1358 no) ;;
1359 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1360 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1361 esac
1362 fi
1363
1364 # Check all directory arguments for consistency.
1365 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1366 datadir sysconfdir sharedstatedir localstatedir includedir \
1367 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1368 libdir localedir mandir
1369 do
1370 eval ac_val=\$$ac_var
1371 # Remove trailing slashes.
1372 case $ac_val in
1373 */ )
1374 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1375 eval $ac_var=\$ac_val;;
1376 esac
1377 # Be sure to have absolute directory names.
1378 case $ac_val in
1379 [\\/$]* | ?:[\\/]* ) continue;;
1380 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1381 esac
1382 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1383 done
1384
1385 # There might be people who depend on the old broken behavior: `$host'
1386 # used to hold the argument of --host etc.
1387 # FIXME: To remove some day.
1388 build=$build_alias
1389 host=$host_alias
1390 target=$target_alias
1391
1392 # FIXME: To remove some day.
1393 if test "x$host_alias" != x; then
1394 if test "x$build_alias" = x; then
1395 cross_compiling=maybe
1396 elif test "x$build_alias" != "x$host_alias"; then
1397 cross_compiling=yes
1398 fi
1399 fi
1400
1401 ac_tool_prefix=
1402 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1403
1404 test "$silent" = yes && exec 6>/dev/null
1405
1406
1407 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1408 ac_ls_di=`ls -di .` &&
1409 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1410 as_fn_error $? "working directory cannot be determined"
1411 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1412 as_fn_error $? "pwd does not report name of working directory"
1413
1414
1415 # Find the source files, if location was not specified.
1416 if test -z "$srcdir"; then
1417 ac_srcdir_defaulted=yes
1418 # Try the directory containing this script, then the parent directory.
1419 ac_confdir=`$as_dirname -- "$as_myself" ||
1420 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1421 X"$as_myself" : 'X\(//\)[^/]' \| \
1422 X"$as_myself" : 'X\(//\)$' \| \
1423 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1424 $as_echo X"$as_myself" |
1425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1426 s//\1/
1427 q
1428 }
1429 /^X\(\/\/\)[^/].*/{
1430 s//\1/
1431 q
1432 }
1433 /^X\(\/\/\)$/{
1434 s//\1/
1435 q
1436 }
1437 /^X\(\/\).*/{
1438 s//\1/
1439 q
1440 }
1441 s/.*/./; q'`
1442 srcdir=$ac_confdir
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1444 srcdir=..
1445 fi
1446 else
1447 ac_srcdir_defaulted=no
1448 fi
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1450 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1451 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1452 fi
1453 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1454 ac_abs_confdir=`(
1455 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1456 pwd)`
1457 # When building in place, set srcdir=.
1458 if test "$ac_abs_confdir" = "$ac_pwd"; then
1459 srcdir=.
1460 fi
1461 # Remove unnecessary trailing slashes from srcdir.
1462 # Double slashes in file names in object file debugging info
1463 # mess up M-x gdb in Emacs.
1464 case $srcdir in
1465 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1466 esac
1467 for ac_var in $ac_precious_vars; do
1468 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1469 eval ac_env_${ac_var}_value=\$${ac_var}
1470 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1471 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1472 done
1473
1474 #
1475 # Report the --help message.
1476 #
1477 if test "$ac_init_help" = "long"; then
1478 # Omit some internal or obsolete options to make the list less imposing.
1479 # This message is too long to be a string in the A/UX 3.1 sh.
1480 cat <<_ACEOF
1481 \`configure' configures ibdm 1.5.7 to adapt to many kinds of systems.
1482
1483 Usage: $0 [OPTION]... [VAR=VALUE]...
1484
1485 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1486 VAR=VALUE. See below for descriptions of some of the useful variables.
1487
1488 Defaults for the options are specified in brackets.
1489
1490 Configuration:
1491 -h, --help display this help and exit
1492 --help=short display options specific to this package
1493 --help=recursive display the short help of all the included packages
1494 -V, --version display version information and exit
1495 -q, --quiet, --silent do not print \`checking ...' messages
1496 --cache-file=FILE cache test results in FILE [disabled]
1497 -C, --config-cache alias for \`--cache-file=config.cache'
1498 -n, --no-create do not create output files
1499 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1500
1501 Installation directories:
1502 --prefix=PREFIX install architecture-independent files in PREFIX
1503 @<:@@S|@ac_default_prefix@:>@
1504 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1505 @<:@PREFIX@:>@
1506
1507 By default, \`make install' will install all the files in
1508 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1509 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1510 for instance \`--prefix=\$HOME'.
1511
1512 For better control, use the options below.
1513
1514 Fine tuning of the installation directories:
1515 --bindir=DIR user executables [EPREFIX/bin]
1516 --sbindir=DIR system admin executables [EPREFIX/sbin]
1517 --libexecdir=DIR program executables [EPREFIX/libexec]
1518 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1519 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1520 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1521 --libdir=DIR object code libraries [EPREFIX/lib]
1522 --includedir=DIR C header files [PREFIX/include]
1523 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1524 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1525 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1526 --infodir=DIR info documentation [DATAROOTDIR/info]
1527 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1528 --mandir=DIR man documentation [DATAROOTDIR/man]
1529 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ibdm@:>@
1530 --htmldir=DIR html documentation [DOCDIR]
1531 --dvidir=DIR dvi documentation [DOCDIR]
1532 --pdfdir=DIR pdf documentation [DOCDIR]
1533 --psdir=DIR ps documentation [DOCDIR]
1534 _ACEOF
1535
1536 cat <<\_ACEOF
1537
1538 Program names:
1539 --program-prefix=PREFIX prepend PREFIX to installed program names
1540 --program-suffix=SUFFIX append SUFFIX to installed program names
1541 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1542
1543 System types:
1544 --build=BUILD configure for building on BUILD [guessed]
1545 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1546 _ACEOF
1547 fi
1548
1549 if test -n "$ac_init_help"; then
1550 case $ac_init_help in
1551 short | recursive ) echo "Configuration of ibdm 1.5.7:";;
1552 esac
1553 cat <<\_ACEOF
1554
1555 Optional Features:
1556 --disable-option-checking ignore unrecognized --enable/--with options
1557 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1558 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1559 --enable-maintainer-mode enable make rules and dependencies not useful
1560 (and sometimes confusing) to the casual installer
1561 --disable-dependency-tracking speeds up one-time build
1562 --enable-dependency-tracking do not reject slow dependency extractors
1563 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1564 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1565 --enable-fast-install@<:@=PKGS@:>@
1566 optimize for fast installation @<:@default=yes@:>@
1567 --disable-libtool-lock avoid locking (might break parallel builds)
1568 --enable-libcheck Enable Dependency Checking
1569 --enable-debug Turn on debugging
1570
1571 Optional Packages:
1572 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1573 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1574 --with-pic try to use only PIC/non-PIC objects @<:@default=use
1575 both@:>@
1576 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1577 --with-tclconfig=PATH use tclConfig.sh from PATH
1578 (configure gets Tcl configuration from here)
1579 --with-tcl=PATH use Tcl from PATH
1580 --with-tclsh=TCLSH use TCLSH as the tclsh program
1581 (let configure find Tcl using this program)
1582 --with-final-prefix=<dir> Let IBDM know it will eventually be moved there
1583
1584 Some influential environment variables:
1585 CXX C++ compiler command
1586 CXXFLAGS C++ compiler flags
1587 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1588 nonstandard directory <lib dir>
1589 LIBS libraries to pass to the linker, e.g. -l<library>
1590 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1591 you have headers in a nonstandard directory <include dir>
1592 CC C compiler command
1593 CFLAGS C compiler flags
1594 CPP C preprocessor
1595 YACC The `Yet Another Compiler Compiler' implementation to use.
1596 Defaults to the first program found out of: `bison -y', `byacc',
1597 `yacc'.
1598 YFLAGS The list of arguments that will be passed by default to @S|@YACC.
1599 This script will default YFLAGS to the empty string to avoid a
1600 default value of `-d' given by some make applications.
1601 CXXCPP C++ preprocessor
1602
1603 Use these variables to override the choices made by `configure' or to help
1604 it to find libraries and programs with nonstandard names/locations.
1605
1606 Report bugs to the package provider.
1607 _ACEOF
1608 ac_status=$?
1609 fi
1610
1611 if test "$ac_init_help" = "recursive"; then
1612 # If there are subdirs, report their specific --help.
1613 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1614 test -d "$ac_dir" ||
1615 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1616 continue
1617 ac_builddir=.
1618
1619 case "$ac_dir" in
1620 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 *)
1622 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1623 # A ".." for each directory in $ac_dir_suffix.
1624 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1625 case $ac_top_builddir_sub in
1626 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1627 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1628 esac ;;
1629 esac
1630 ac_abs_top_builddir=$ac_pwd
1631 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1632 # for backward compatibility:
1633 ac_top_builddir=$ac_top_build_prefix
1634
1635 case $srcdir in
1636 .) # We are building in place.
1637 ac_srcdir=.
1638 ac_top_srcdir=$ac_top_builddir_sub
1639 ac_abs_top_srcdir=$ac_pwd ;;
1640 [\\/]* | ?:[\\/]* ) # Absolute name.
1641 ac_srcdir=$srcdir$ac_dir_suffix;
1642 ac_top_srcdir=$srcdir
1643 ac_abs_top_srcdir=$srcdir ;;
1644 *) # Relative name.
1645 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1646 ac_top_srcdir=$ac_top_build_prefix$srcdir
1647 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1648 esac
1649 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1650
1651 cd "$ac_dir" || { ac_status=$?; continue; }
1652 # Check for guested configure.
1653 if test -f "$ac_srcdir/configure.gnu"; then
1654 echo &&
1655 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1656 elif test -f "$ac_srcdir/configure"; then
1657 echo &&
1658 $SHELL "$ac_srcdir/configure" --help=recursive
1659 else
1660 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1661 fi || ac_status=$?
1662 cd "$ac_pwd" || { ac_status=$?; break; }
1663 done
1664 fi
1665
1666 test -n "$ac_init_help" && exit $ac_status
1667 if $ac_init_version; then
1668 cat <<\_ACEOF
1669 ibdm configure 1.5.7
1670 generated by GNU Autoconf 2.69
1671
1672 Copyright (C) 2012 Free Software Foundation, Inc.
1673 This configure script is free software; the Free Software Foundation
1674 gives unlimited permission to copy, distribute and modify it.
1675 _ACEOF
1676 exit
1677 fi
1678
1679 ## ------------------------ ##
1680 ## Autoconf initialization. ##
1681 ## ------------------------ ##
1682
1683 @%:@ ac_fn_cxx_try_compile LINENO
1684 @%:@ ----------------------------
1685 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1686 ac_fn_cxx_try_compile ()
1687 {
1688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689 rm -f conftest.$ac_objext
1690 if { { ac_try="$ac_compile"
1691 case "(($ac_try" in
1692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1694 esac
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_compile") 2>conftest.err
1698 ac_status=$?
1699 if test -s conftest.err; then
1700 grep -v '^ *+' conftest.err >conftest.er1
1701 cat conftest.er1 >&5
1702 mv -f conftest.er1 conftest.err
1703 fi
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; } && {
1706 test -z "$ac_cxx_werror_flag" ||
1707 test ! -s conftest.err
1708 } && test -s conftest.$ac_objext; then :
1709 ac_retval=0
1710 else
1711 $as_echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1713
1714 ac_retval=1
1715 fi
1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 as_fn_set_status $ac_retval
1718
1719 } @%:@ ac_fn_cxx_try_compile
1720
1721 @%:@ ac_fn_c_try_compile LINENO
1722 @%:@ --------------------------
1723 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1724 ac_fn_c_try_compile ()
1725 {
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727 rm -f conftest.$ac_objext
1728 if { { ac_try="$ac_compile"
1729 case "(($ac_try" in
1730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1731 *) ac_try_echo=$ac_try;;
1732 esac
1733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734 $as_echo "$ac_try_echo"; } >&5
1735 (eval "$ac_compile") 2>conftest.err
1736 ac_status=$?
1737 if test -s conftest.err; then
1738 grep -v '^ *+' conftest.err >conftest.er1
1739 cat conftest.er1 >&5
1740 mv -f conftest.er1 conftest.err
1741 fi
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } && {
1744 test -z "$ac_c_werror_flag" ||
1745 test ! -s conftest.err
1746 } && test -s conftest.$ac_objext; then :
1747 ac_retval=0
1748 else
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.$ac_ext >&5
1751
1752 ac_retval=1
1753 fi
1754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 as_fn_set_status $ac_retval
1756
1757 } @%:@ ac_fn_c_try_compile
1758
1759 @%:@ ac_fn_c_try_cpp LINENO
1760 @%:@ ----------------------
1761 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1762 ac_fn_c_try_cpp ()
1763 {
1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765 if { { ac_try="$ac_cpp conftest.$ac_ext"
1766 case "(($ac_try" in
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1769 esac
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1773 ac_status=$?
1774 if test -s conftest.err; then
1775 grep -v '^ *+' conftest.err >conftest.er1
1776 cat conftest.er1 >&5
1777 mv -f conftest.er1 conftest.err
1778 fi
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } > conftest.i && {
1781 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1782 test ! -s conftest.err
1783 }; then :
1784 ac_retval=0
1785 else
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1788
1789 ac_retval=1
1790 fi
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 as_fn_set_status $ac_retval
1793
1794 } @%:@ ac_fn_c_try_cpp
1795
1796 @%:@ ac_fn_cxx_try_link LINENO
1797 @%:@ -------------------------
1798 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1799 ac_fn_cxx_try_link ()
1800 {
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 rm -f conftest.$ac_objext conftest$ac_exeext
1803 if { { ac_try="$ac_link"
1804 case "(($ac_try" in
1805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1806 *) ac_try_echo=$ac_try;;
1807 esac
1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_link") 2>conftest.err
1811 ac_status=$?
1812 if test -s conftest.err; then
1813 grep -v '^ *+' conftest.err >conftest.er1
1814 cat conftest.er1 >&5
1815 mv -f conftest.er1 conftest.err
1816 fi
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } && {
1819 test -z "$ac_cxx_werror_flag" ||
1820 test ! -s conftest.err
1821 } && test -s conftest$ac_exeext && {
1822 test "$cross_compiling" = yes ||
1823 test -x conftest$ac_exeext
1824 }; then :
1825 ac_retval=0
1826 else
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1829
1830 ac_retval=1
1831 fi
1832 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1833 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1834 # interfere with the next link command; also delete a directory that is
1835 # left behind by Apple's compiler. We do this before executing the actions.
1836 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838 as_fn_set_status $ac_retval
1839
1840 } @%:@ ac_fn_cxx_try_link
1841
1842 @%:@ ac_fn_c_try_link LINENO
1843 @%:@ -----------------------
1844 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1845 ac_fn_c_try_link ()
1846 {
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 rm -f conftest.$ac_objext conftest$ac_exeext
1849 if { { ac_try="$ac_link"
1850 case "(($ac_try" in
1851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1852 *) ac_try_echo=$ac_try;;
1853 esac
1854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855 $as_echo "$ac_try_echo"; } >&5
1856 (eval "$ac_link") 2>conftest.err
1857 ac_status=$?
1858 if test -s conftest.err; then
1859 grep -v '^ *+' conftest.err >conftest.er1
1860 cat conftest.er1 >&5
1861 mv -f conftest.er1 conftest.err
1862 fi
1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 test $ac_status = 0; } && {
1865 test -z "$ac_c_werror_flag" ||
1866 test ! -s conftest.err
1867 } && test -s conftest$ac_exeext && {
1868 test "$cross_compiling" = yes ||
1869 test -x conftest$ac_exeext
1870 }; then :
1871 ac_retval=0
1872 else
1873 $as_echo "$as_me: failed program was:" >&5
1874 sed 's/^/| /' conftest.$ac_ext >&5
1875
1876 ac_retval=1
1877 fi
1878 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1879 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1880 # interfere with the next link command; also delete a directory that is
1881 # left behind by Apple's compiler. We do this before executing the actions.
1882 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 as_fn_set_status $ac_retval
1885
1886 } @%:@ ac_fn_c_try_link
1887
1888 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1889 @%:@ -------------------------------------------------------
1890 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1891 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1892 ac_fn_c_check_header_compile ()
1893 {
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896 $as_echo_n "checking for $2... " >&6; }
1897 if eval \${$3+:} false; then :
1898 $as_echo_n "(cached) " >&6
1899 else
1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1902 $4
1903 @%:@include <$2>
1904 _ACEOF
1905 if ac_fn_c_try_compile "$LINENO"; then :
1906 eval "$3=yes"
1907 else
1908 eval "$3=no"
1909 fi
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 fi
1912 eval ac_res=\$$3
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916
1917 } @%:@ ac_fn_c_check_header_compile
1918
1919 @%:@ ac_fn_c_try_run LINENO
1920 @%:@ ----------------------
1921 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1922 @%:@ that executables *can* be run.
1923 ac_fn_c_try_run ()
1924 {
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 if { { ac_try="$ac_link"
1927 case "(($ac_try" in
1928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1929 *) ac_try_echo=$ac_try;;
1930 esac
1931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1932 $as_echo "$ac_try_echo"; } >&5
1933 (eval "$ac_link") 2>&5
1934 ac_status=$?
1935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1936 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1937 { { case "(($ac_try" in
1938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1939 *) ac_try_echo=$ac_try;;
1940 esac
1941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1942 $as_echo "$ac_try_echo"; } >&5
1943 (eval "$ac_try") 2>&5
1944 ac_status=$?
1945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1946 test $ac_status = 0; }; }; then :
1947 ac_retval=0
1948 else
1949 $as_echo "$as_me: program exited with status $ac_status" >&5
1950 $as_echo "$as_me: failed program was:" >&5
1951 sed 's/^/| /' conftest.$ac_ext >&5
1952
1953 ac_retval=$ac_status
1954 fi
1955 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957 as_fn_set_status $ac_retval
1958
1959 } @%:@ ac_fn_c_try_run
1960
1961 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1962 @%:@ ----------------------------------
1963 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1964 ac_fn_c_check_func ()
1965 {
1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1968 $as_echo_n "checking for $2... " >&6; }
1969 if eval \${$3+:} false; then :
1970 $as_echo_n "(cached) " >&6
1971 else
1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h. */
1974 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1976 #define $2 innocuous_$2
1977
1978 /* System header to define __stub macros and hopefully few prototypes,
1979 which can conflict with char $2 (); below.
1980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1981 <limits.h> exists even on freestanding compilers. */
1982
1983 #ifdef __STDC__
1984 # include <limits.h>
1985 #else
1986 # include <assert.h>
1987 #endif
1988
1989 #undef $2
1990
1991 /* Override any GCC internal prototype to avoid an error.
1992 Use char because int might match the return type of a GCC
1993 builtin and then its argument prototype would still apply. */
1994 #ifdef __cplusplus
1995 extern "C"
1996 #endif
1997 char $2 ();
1998 /* The GNU C library defines this for functions which it implements
1999 to always fail with ENOSYS. Some functions are actually named
2000 something starting with __ and the normal name is an alias. */
2001 #if defined __stub_$2 || defined __stub___$2
2002 choke me
2003 #endif
2004
2005 int
2006 main ()
2007 {
2008 return $2 ();
2009 ;
2010 return 0;
2011 }
2012 _ACEOF
2013 if ac_fn_c_try_link "$LINENO"; then :
2014 eval "$3=yes"
2015 else
2016 eval "$3=no"
2017 fi
2018 rm -f core conftest.err conftest.$ac_objext \
2019 conftest$ac_exeext conftest.$ac_ext
2020 fi
2021 eval ac_res=\$$3
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2025
2026 } @%:@ ac_fn_c_check_func
2027
2028 @%:@ ac_fn_cxx_try_cpp LINENO
2029 @%:@ ------------------------
2030 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2031 ac_fn_cxx_try_cpp ()
2032 {
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 if { { ac_try="$ac_cpp conftest.$ac_ext"
2035 case "(($ac_try" in
2036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2037 *) ac_try_echo=$ac_try;;
2038 esac
2039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2040 $as_echo "$ac_try_echo"; } >&5
2041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2042 ac_status=$?
2043 if test -s conftest.err; then
2044 grep -v '^ *+' conftest.err >conftest.er1
2045 cat conftest.er1 >&5
2046 mv -f conftest.er1 conftest.err
2047 fi
2048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2049 test $ac_status = 0; } > conftest.i && {
2050 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2051 test ! -s conftest.err
2052 }; then :
2053 ac_retval=0
2054 else
2055 $as_echo "$as_me: failed program was:" >&5
2056 sed 's/^/| /' conftest.$ac_ext >&5
2057
2058 ac_retval=1
2059 fi
2060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2061 as_fn_set_status $ac_retval
2062
2063 } @%:@ ac_fn_cxx_try_cpp
2064
2065 @%:@ ac_fn_cxx_try_run LINENO
2066 @%:@ ------------------------
2067 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2068 @%:@ that executables *can* be run.
2069 ac_fn_cxx_try_run ()
2070 {
2071 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2072 if { { ac_try="$ac_link"
2073 case "(($ac_try" in
2074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2075 *) ac_try_echo=$ac_try;;
2076 esac
2077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2078 $as_echo "$ac_try_echo"; } >&5
2079 (eval "$ac_link") 2>&5
2080 ac_status=$?
2081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2082 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2083 { { case "(($ac_try" in
2084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2085 *) ac_try_echo=$ac_try;;
2086 esac
2087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2088 $as_echo "$ac_try_echo"; } >&5
2089 (eval "$ac_try") 2>&5
2090 ac_status=$?
2091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2092 test $ac_status = 0; }; }; then :
2093 ac_retval=0
2094 else
2095 $as_echo "$as_me: program exited with status $ac_status" >&5
2096 $as_echo "$as_me: failed program was:" >&5
2097 sed 's/^/| /' conftest.$ac_ext >&5
2098
2099 ac_retval=$ac_status
2100 fi
2101 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2103 as_fn_set_status $ac_retval
2104
2105 } @%:@ ac_fn_cxx_try_run
2106
2107 @%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2108 @%:@ ---------------------------------------------------------
2109 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2110 @%:@ the include files in INCLUDES and setting the cache variable VAR
2111 @%:@ accordingly.
2112 ac_fn_cxx_check_header_mongrel ()
2113 {
2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115 if eval \${$3+:} false; then :
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2117 $as_echo_n "checking for $2... " >&6; }
2118 if eval \${$3+:} false; then :
2119 $as_echo_n "(cached) " >&6
2120 fi
2121 eval ac_res=\$$3
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2123 $as_echo "$ac_res" >&6; }
2124 else
2125 # Is the header compilable?
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2127 $as_echo_n "checking $2 usability... " >&6; }
2128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2130 $4
2131 @%:@include <$2>
2132 _ACEOF
2133 if ac_fn_cxx_try_compile "$LINENO"; then :
2134 ac_header_compiler=yes
2135 else
2136 ac_header_compiler=no
2137 fi
2138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2140 $as_echo "$ac_header_compiler" >&6; }
2141
2142 # Is the header present?
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2144 $as_echo_n "checking $2 presence... " >&6; }
2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2147 @%:@include <$2>
2148 _ACEOF
2149 if ac_fn_cxx_try_cpp "$LINENO"; then :
2150 ac_header_preproc=yes
2151 else
2152 ac_header_preproc=no
2153 fi
2154 rm -f conftest.err conftest.i conftest.$ac_ext
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2156 $as_echo "$ac_header_preproc" >&6; }
2157
2158 # So? What about this header?
2159 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2160 yes:no: )
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2162 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2164 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2165 ;;
2166 no:yes:* )
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2168 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2170 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2172 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2174 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2176 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2177 ;;
2178 esac
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if eval \${$3+:} false; then :
2182 $as_echo_n "(cached) " >&6
2183 else
2184 eval "$3=\$ac_header_compiler"
2185 fi
2186 eval ac_res=\$$3
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2188 $as_echo "$ac_res" >&6; }
2189 fi
2190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2191
2192 } @%:@ ac_fn_cxx_check_header_mongrel
2193
2194 @%:@ ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2195 @%:@ ---------------------------------------------
2196 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2197 @%:@ variable VAR accordingly.
2198 ac_fn_cxx_check_type ()
2199 {
2200 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2202 $as_echo_n "checking for $2... " >&6; }
2203 if eval \${$3+:} false; then :
2204 $as_echo_n "(cached) " >&6
2205 else
2206 eval "$3=no"
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2209 $4
2210 int
2211 main ()
2212 {
2213 if (sizeof ($2))
2214 return 0;
2215 ;
2216 return 0;
2217 }
2218 _ACEOF
2219 if ac_fn_cxx_try_compile "$LINENO"; then :
2220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2221 /* end confdefs.h. */
2222 $4
2223 int
2224 main ()
2225 {
2226 if (sizeof (($2)))
2227 return 0;
2228 ;
2229 return 0;
2230 }
2231 _ACEOF
2232 if ac_fn_cxx_try_compile "$LINENO"; then :
2233
2234 else
2235 eval "$3=yes"
2236 fi
2237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2238 fi
2239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2240 fi
2241 eval ac_res=\$$3
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243 $as_echo "$ac_res" >&6; }
2244 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2245
2246 } @%:@ ac_fn_cxx_check_type
2247
2248 @%:@ ac_fn_cxx_check_func LINENO FUNC VAR
2249 @%:@ ------------------------------------
2250 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2251 ac_fn_cxx_check_func ()
2252 {
2253 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2255 $as_echo_n "checking for $2... " >&6; }
2256 if eval \${$3+:} false; then :
2257 $as_echo_n "(cached) " >&6
2258 else
2259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h. */
2261 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2263 #define $2 innocuous_$2
2264
2265 /* System header to define __stub macros and hopefully few prototypes,
2266 which can conflict with char $2 (); below.
2267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2268 <limits.h> exists even on freestanding compilers. */
2269
2270 #ifdef __STDC__
2271 # include <limits.h>
2272 #else
2273 # include <assert.h>
2274 #endif
2275
2276 #undef $2
2277
2278 /* Override any GCC internal prototype to avoid an error.
2279 Use char because int might match the return type of a GCC
2280 builtin and then its argument prototype would still apply. */
2281 #ifdef __cplusplus
2282 extern "C"
2283 #endif
2284 char $2 ();
2285 /* The GNU C library defines this for functions which it implements
2286 to always fail with ENOSYS. Some functions are actually named
2287 something starting with __ and the normal name is an alias. */
2288 #if defined __stub_$2 || defined __stub___$2
2289 choke me
2290 #endif
2291
2292 int
2293 main ()
2294 {
2295 return $2 ();
2296 ;
2297 return 0;
2298 }
2299 _ACEOF
2300 if ac_fn_cxx_try_link "$LINENO"; then :
2301 eval "$3=yes"
2302 else
2303 eval "$3=no"
2304 fi
2305 rm -f core conftest.err conftest.$ac_objext \
2306 conftest$ac_exeext conftest.$ac_ext
2307 fi
2308 eval ac_res=\$$3
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2310 $as_echo "$ac_res" >&6; }
2311 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2312
2313 } @%:@ ac_fn_cxx_check_func
2314 cat >config.log <<_ACEOF
2315 This file contains any messages produced by compilers while
2316 running configure, to aid debugging if configure makes a mistake.
2317
2318 It was created by ibdm $as_me 1.5.7, which was
2319 generated by GNU Autoconf 2.69. Invocation command line was
2320
2321 $ $0 $@
2322
2323 _ACEOF
2324 exec 5>>config.log
2325 {
2326 cat <<_ASUNAME
2327 ## --------- ##
2328 ## Platform. ##
2329 ## --------- ##
2330
2331 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2332 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2333 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2334 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2335 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2336
2337 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2338 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2339
2340 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2341 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2342 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2343 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2344 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2345 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2346 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2347
2348 _ASUNAME
2349
2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 for as_dir in $PATH
2352 do
2353 IFS=$as_save_IFS
2354 test -z "$as_dir" && as_dir=.
2355 $as_echo "PATH: $as_dir"
2356 done
2357 IFS=$as_save_IFS
2358
2359 } >&5
2360
2361 cat >&5 <<_ACEOF
2362
2363
2364 ## ----------- ##
2365 ## Core tests. ##
2366 ## ----------- ##
2367
2368 _ACEOF
2369
2370
2371 # Keep a trace of the command line.
2372 # Strip out --no-create and --no-recursion so they do not pile up.
2373 # Strip out --silent because we don't want to record it for future runs.
2374 # Also quote any args containing shell meta-characters.
2375 # Make two passes to allow for proper duplicate-argument suppression.
2376 ac_configure_args=
2377 ac_configure_args0=
2378 ac_configure_args1=
2379 ac_must_keep_next=false
2380 for ac_pass in 1 2
2381 do
2382 for ac_arg
2383 do
2384 case $ac_arg in
2385 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2386 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2387 | -silent | --silent | --silen | --sile | --sil)
2388 continue ;;
2389 *\'*)
2390 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2391 esac
2392 case $ac_pass in
2393 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2394 2)
2395 as_fn_append ac_configure_args1 " '$ac_arg'"
2396 if test $ac_must_keep_next = true; then
2397 ac_must_keep_next=false # Got value, back to normal.
2398 else
2399 case $ac_arg in
2400 *=* | --config-cache | -C | -disable-* | --disable-* \
2401 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2402 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2403 | -with-* | --with-* | -without-* | --without-* | --x)
2404 case "$ac_configure_args0 " in
2405 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2406 esac
2407 ;;
2408 -* ) ac_must_keep_next=true ;;
2409 esac
2410 fi
2411 as_fn_append ac_configure_args " '$ac_arg'"
2412 ;;
2413 esac
2414 done
2415 done
2416 { ac_configure_args0=; unset ac_configure_args0;}
2417 { ac_configure_args1=; unset ac_configure_args1;}
2418
2419 # When interrupted or exit'd, cleanup temporary files, and complete
2420 # config.log. We remove comments because anyway the quotes in there
2421 # would cause problems or look ugly.
2422 # WARNING: Use '\'' to represent an apostrophe within the trap.
2423 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2424 trap 'exit_status=$?
2425 # Save into config.log some information that might help in debugging.
2426 {
2427 echo
2428
2429 $as_echo "## ---------------- ##
2430 ## Cache variables. ##
2431 ## ---------------- ##"
2432 echo
2433 # The following way of writing the cache mishandles newlines in values,
2434 (
2435 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2436 eval ac_val=\$$ac_var
2437 case $ac_val in #(
2438 *${as_nl}*)
2439 case $ac_var in #(
2440 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2441 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2442 esac
2443 case $ac_var in #(
2444 _ | IFS | as_nl) ;; #(
2445 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2446 *) { eval $ac_var=; unset $ac_var;} ;;
2447 esac ;;
2448 esac
2449 done
2450 (set) 2>&1 |
2451 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2452 *${as_nl}ac_space=\ *)
2453 sed -n \
2454 "s/'\''/'\''\\\\'\'''\''/g;
2455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2456 ;; #(
2457 *)
2458 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2459 ;;
2460 esac |
2461 sort
2462 )
2463 echo
2464
2465 $as_echo "## ----------------- ##
2466 ## Output variables. ##
2467 ## ----------------- ##"
2468 echo
2469 for ac_var in $ac_subst_vars
2470 do
2471 eval ac_val=\$$ac_var
2472 case $ac_val in
2473 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2474 esac
2475 $as_echo "$ac_var='\''$ac_val'\''"
2476 done | sort
2477 echo
2478
2479 if test -n "$ac_subst_files"; then
2480 $as_echo "## ------------------- ##
2481 ## File substitutions. ##
2482 ## ------------------- ##"
2483 echo
2484 for ac_var in $ac_subst_files
2485 do
2486 eval ac_val=\$$ac_var
2487 case $ac_val in
2488 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2489 esac
2490 $as_echo "$ac_var='\''$ac_val'\''"
2491 done | sort
2492 echo
2493 fi
2494
2495 if test -s confdefs.h; then
2496 $as_echo "## ----------- ##
2497 ## confdefs.h. ##
2498 ## ----------- ##"
2499 echo
2500 cat confdefs.h
2501 echo
2502 fi
2503 test "$ac_signal" != 0 &&
2504 $as_echo "$as_me: caught signal $ac_signal"
2505 $as_echo "$as_me: exit $exit_status"
2506 } >&5
2507 rm -f core *.core core.conftest.* &&
2508 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2509 exit $exit_status
2510 ' 0
2511 for ac_signal in 1 2 13 15; do
2512 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2513 done
2514 ac_signal=0
2515
2516 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2517 rm -f -r conftest* confdefs.h
2518
2519 $as_echo "/* confdefs.h */" > confdefs.h
2520
2521 # Predefined preprocessor variables.
2522
2523 cat >>confdefs.h <<_ACEOF
2524 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2525 _ACEOF
2526
2527 cat >>confdefs.h <<_ACEOF
2528 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2529 _ACEOF
2530
2531 cat >>confdefs.h <<_ACEOF
2532 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2533 _ACEOF
2534
2535 cat >>confdefs.h <<_ACEOF
2536 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2537 _ACEOF
2538
2539 cat >>confdefs.h <<_ACEOF
2540 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2541 _ACEOF
2542
2543 cat >>confdefs.h <<_ACEOF
2544 @%:@define PACKAGE_URL "$PACKAGE_URL"
2545 _ACEOF
2546
2547
2548 # Let the site file select an alternate cache file if it wants to.
2549 # Prefer an explicitly selected file to automatically selected ones.
2550 ac_site_file1=NONE
2551 ac_site_file2=NONE
2552 if test -n "$CONFIG_SITE"; then
2553 # We do not want a PATH search for config.site.
2554 case $CONFIG_SITE in @%:@((
2555 -*) ac_site_file1=./$CONFIG_SITE;;
2556 */*) ac_site_file1=$CONFIG_SITE;;
2557 *) ac_site_file1=./$CONFIG_SITE;;
2558 esac
2559 elif test "x$prefix" != xNONE; then
2560 ac_site_file1=$prefix/share/config.site
2561 ac_site_file2=$prefix/etc/config.site
2562 else
2563 ac_site_file1=$ac_default_prefix/share/config.site
2564 ac_site_file2=$ac_default_prefix/etc/config.site
2565 fi
2566 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2567 do
2568 test "x$ac_site_file" = xNONE && continue
2569 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2571 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2572 sed 's/^/| /' "$ac_site_file" >&5
2573 . "$ac_site_file" \
2574 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2576 as_fn_error $? "failed to load site script $ac_site_file
2577 See \`config.log' for more details" "$LINENO" 5; }
2578 fi
2579 done
2580
2581 if test -r "$cache_file"; then
2582 # Some versions of bash will fail to source /dev/null (special files
2583 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2584 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2586 $as_echo "$as_me: loading cache $cache_file" >&6;}
2587 case $cache_file in
2588 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2589 *) . "./$cache_file";;
2590 esac
2591 fi
2592 else
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2594 $as_echo "$as_me: creating cache $cache_file" >&6;}
2595 >$cache_file
2596 fi
2597
2598 # Check that the precious variables saved in the cache have kept the same
2599 # value.
2600 ac_cache_corrupted=false
2601 for ac_var in $ac_precious_vars; do
2602 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2603 eval ac_new_set=\$ac_env_${ac_var}_set
2604 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2605 eval ac_new_val=\$ac_env_${ac_var}_value
2606 case $ac_old_set,$ac_new_set in
2607 set,)
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2609 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2610 ac_cache_corrupted=: ;;
2611 ,set)
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2613 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2614 ac_cache_corrupted=: ;;
2615 ,);;
2616 *)
2617 if test "x$ac_old_val" != "x$ac_new_val"; then
2618 # differences in whitespace do not lead to failure.
2619 ac_old_val_w=`echo x $ac_old_val`
2620 ac_new_val_w=`echo x $ac_new_val`
2621 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2623 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2624 ac_cache_corrupted=:
2625 else
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2627 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2628 eval $ac_var=\$ac_old_val
2629 fi
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2631 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2633 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2634 fi;;
2635 esac
2636 # Pass precious variables to config.status.
2637 if test "$ac_new_set" = set; then
2638 case $ac_new_val in
2639 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2640 *) ac_arg=$ac_var=$ac_new_val ;;
2641 esac
2642 case " $ac_configure_args " in
2643 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2644 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2645 esac
2646 fi
2647 done
2648 if $ac_cache_corrupted; then
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2652 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2653 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2654 fi
2655 ## -------------------- ##
2656 ## Main body of script. ##
2657 ## -------------------- ##
2658
2659 ac_ext=c
2660 ac_cpp='$CPP $CPPFLAGS'
2661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2664
2665
2666
2667
2668 ac_aux_dir=
2669 for ac_dir in config "$srcdir"/config; do
2670 if test -f "$ac_dir/install-sh"; then
2671 ac_aux_dir=$ac_dir
2672 ac_install_sh="$ac_aux_dir/install-sh -c"
2673 break
2674 elif test -f "$ac_dir/install.sh"; then
2675 ac_aux_dir=$ac_dir
2676 ac_install_sh="$ac_aux_dir/install.sh -c"
2677 break
2678 elif test -f "$ac_dir/shtool"; then
2679 ac_aux_dir=$ac_dir
2680 ac_install_sh="$ac_aux_dir/shtool install -c"
2681 break
2682 fi
2683 done
2684 if test -z "$ac_aux_dir"; then
2685 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2686 fi
2687
2688 # These three variables are undocumented and unsupported,
2689 # and are intended to be withdrawn in a future Autoconf release.
2690 # They can cause serious problems if a builder's source tree is in a directory
2691 # whose full name contains unusual characters.
2692 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2693 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2694 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2695
2696
2697
2698 ac_ext=cpp
2699 ac_cpp='$CXXCPP $CPPFLAGS'
2700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2703
2704
2705 ac_config_headers="$ac_config_headers config.h"
2706
2707
2708 am__api_version='1.11'
2709
2710 # Find a good install program. We prefer a C program (faster),
2711 # so one script is as good as another. But avoid the broken or
2712 # incompatible versions:
2713 # SysV /etc/install, /usr/sbin/install
2714 # SunOS /usr/etc/install
2715 # IRIX /sbin/install
2716 # AIX /bin/install
2717 # AmigaOS /C/install, which installs bootblocks on floppy discs
2718 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2719 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2720 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2721 # OS/2's system install, which has a completely different semantic
2722 # ./install, which can be erroneously created by make from ./install.sh.
2723 # Reject install programs that cannot install multiple files.
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2725 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2726 if test -z "$INSTALL"; then
2727 if ${ac_cv_path_install+:} false; then :
2728 $as_echo_n "(cached) " >&6
2729 else
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 for as_dir in $PATH
2732 do
2733 IFS=$as_save_IFS
2734 test -z "$as_dir" && as_dir=.
2735 # Account for people who put trailing slashes in PATH elements.
2736 case $as_dir/ in @%:@((
2737 ./ | .// | /[cC]/* | \
2738 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2739 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2740 /usr/ucb/* ) ;;
2741 *)
2742 # OSF1 and SCO ODT 3.0 have their own names for install.
2743 # Don't use installbsd from OSF since it installs stuff as root
2744 # by default.
2745 for ac_prog in ginstall scoinst install; do
2746 for ac_exec_ext in '' $ac_executable_extensions; do
2747 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2748 if test $ac_prog = install &&
2749 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2750 # AIX install. It has an incompatible calling convention.
2751 :
2752 elif test $ac_prog = install &&
2753 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2754 # program-specific install script used by HP pwplus--don't use.
2755 :
2756 else
2757 rm -rf conftest.one conftest.two conftest.dir
2758 echo one > conftest.one
2759 echo two > conftest.two
2760 mkdir conftest.dir
2761 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2762 test -s conftest.one && test -s conftest.two &&
2763 test -s conftest.dir/conftest.one &&
2764 test -s conftest.dir/conftest.two
2765 then
2766 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2767 break 3
2768 fi
2769 fi
2770 fi
2771 done
2772 done
2773 ;;
2774 esac
2775
2776 done
2777 IFS=$as_save_IFS
2778
2779 rm -rf conftest.one conftest.two conftest.dir
2780
2781 fi
2782 if test "${ac_cv_path_install+set}" = set; then
2783 INSTALL=$ac_cv_path_install
2784 else
2785 # As a last resort, use the slow shell script. Don't cache a
2786 # value for INSTALL within a source directory, because that will
2787 # break other packages using the cache if that directory is
2788 # removed, or if the value is a relative name.
2789 INSTALL=$ac_install_sh
2790 fi
2791 fi
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2793 $as_echo "$INSTALL" >&6; }
2794
2795 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2796 # It thinks the first close brace ends the variable substitution.
2797 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2798
2799 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2800
2801 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2802
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2804 $as_echo_n "checking whether build environment is sane... " >&6; }
2805 # Just in case
2806 sleep 1
2807 echo timestamp > conftest.file
2808 # Reject unsafe characters in $srcdir or the absolute working directory
2809 # name. Accept space and tab only in the latter.
2810 am_lf='
2811 '
2812 case `pwd` in
2813 *[\\\"\#\$\&\'\`$am_lf]*)
2814 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2815 esac
2816 case $srcdir in
2817 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2818 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2819 esac
2820
2821 # Do `set' in a subshell so we don't clobber the current shell's
2822 # arguments. Must try -L first in case configure is actually a
2823 # symlink; some systems play weird games with the mod time of symlinks
2824 # (eg FreeBSD returns the mod time of the symlink's containing
2825 # directory).
2826 if (
2827 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2828 if test "$*" = "X"; then
2829 # -L didn't work.
2830 set X `ls -t "$srcdir/configure" conftest.file`
2831 fi
2832 rm -f conftest.file
2833 if test "$*" != "X $srcdir/configure conftest.file" \
2834 && test "$*" != "X conftest.file $srcdir/configure"; then
2835
2836 # If neither matched, then we have a broken ls. This can happen
2837 # if, for instance, CONFIG_SHELL is bash and it inherits a
2838 # broken ls alias from the environment. This has actually
2839 # happened. Such a system could not be considered "sane".
2840 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2841 alias in your environment" "$LINENO" 5
2842 fi
2843
2844 test "$2" = conftest.file
2845 )
2846 then
2847 # Ok.
2848 :
2849 else
2850 as_fn_error $? "newly created file is older than distributed files!
2851 Check your system clock" "$LINENO" 5
2852 fi
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2854 $as_echo "yes" >&6; }
2855 test "$program_prefix" != NONE &&
2856 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2857 # Use a double $ so make ignores it.
2858 test "$program_suffix" != NONE &&
2859 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2860 # Double any \ or $.
2861 # By default was `s,x,x', remove it if useless.
2862 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2863 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2864
2865 # expand $ac_aux_dir to an absolute path
2866 am_aux_dir=`cd $ac_aux_dir && pwd`
2867
2868 if test x"${MISSING+set}" != xset; then
2869 case $am_aux_dir in
2870 *\ * | *\ *)
2871 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2872 *)
2873 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2874 esac
2875 fi
2876 # Use eval to expand $SHELL
2877 if eval "$MISSING --run true"; then
2878 am_missing_run="$MISSING --run "
2879 else
2880 am_missing_run=
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2882 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2883 fi
2884
2885 if test x"${install_sh}" != xset; then
2886 case $am_aux_dir in
2887 *\ * | *\ *)
2888 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2889 *)
2890 install_sh="\${SHELL} $am_aux_dir/install-sh"
2891 esac
2892 fi
2893
2894 # Installed binaries are usually stripped using `strip' when the user
2895 # run `make install-strip'. However `strip' might not be the right
2896 # tool to use in cross-compilation environments, therefore Automake
2897 # will honor the `STRIP' environment variable to overrule this program.
2898 if test "$cross_compiling" != no; then
2899 if test -n "$ac_tool_prefix"; then
2900 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2901 set dummy ${ac_tool_prefix}strip; ac_word=$2
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2903 $as_echo_n "checking for $ac_word... " >&6; }
2904 if ${ac_cv_prog_STRIP+:} false; then :
2905 $as_echo_n "(cached) " >&6
2906 else
2907 if test -n "$STRIP"; then
2908 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2909 else
2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 for as_dir in $PATH
2912 do
2913 IFS=$as_save_IFS
2914 test -z "$as_dir" && as_dir=.
2915 for ac_exec_ext in '' $ac_executable_extensions; do
2916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2917 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 break 2
2920 fi
2921 done
2922 done
2923 IFS=$as_save_IFS
2924
2925 fi
2926 fi
2927 STRIP=$ac_cv_prog_STRIP
2928 if test -n "$STRIP"; then
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2930 $as_echo "$STRIP" >&6; }
2931 else
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933 $as_echo "no" >&6; }
2934 fi
2935
2936
2937 fi
2938 if test -z "$ac_cv_prog_STRIP"; then
2939 ac_ct_STRIP=$STRIP
2940 # Extract the first word of "strip", so it can be a program name with args.
2941 set dummy strip; ac_word=$2
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943 $as_echo_n "checking for $ac_word... " >&6; }
2944 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 if test -n "$ac_ct_STRIP"; then
2948 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2949 else
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 for as_dir in $PATH
2952 do
2953 IFS=$as_save_IFS
2954 test -z "$as_dir" && as_dir=.
2955 for ac_exec_ext in '' $ac_executable_extensions; do
2956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2957 ac_cv_prog_ac_ct_STRIP="strip"
2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 break 2
2960 fi
2961 done
2962 done
2963 IFS=$as_save_IFS
2964
2965 fi
2966 fi
2967 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2968 if test -n "$ac_ct_STRIP"; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2970 $as_echo "$ac_ct_STRIP" >&6; }
2971 else
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2974 fi
2975
2976 if test "x$ac_ct_STRIP" = x; then
2977 STRIP=":"
2978 else
2979 case $cross_compiling:$ac_tool_warned in
2980 yes:)
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2983 ac_tool_warned=yes ;;
2984 esac
2985 STRIP=$ac_ct_STRIP
2986 fi
2987 else
2988 STRIP="$ac_cv_prog_STRIP"
2989 fi
2990
2991 fi
2992 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2993
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2995 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2996 if test -z "$MKDIR_P"; then
2997 if ${ac_cv_path_mkdir+:} false; then :
2998 $as_echo_n "(cached) " >&6
2999 else
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3002 do
3003 IFS=$as_save_IFS
3004 test -z "$as_dir" && as_dir=.
3005 for ac_prog in mkdir gmkdir; do
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3008 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3009 'mkdir (GNU coreutils) '* | \
3010 'mkdir (coreutils) '* | \
3011 'mkdir (fileutils) '4.1*)
3012 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3013 break 3;;
3014 esac
3015 done
3016 done
3017 done
3018 IFS=$as_save_IFS
3019
3020 fi
3021
3022 test -d ./--version && rmdir ./--version
3023 if test "${ac_cv_path_mkdir+set}" = set; then
3024 MKDIR_P="$ac_cv_path_mkdir -p"
3025 else
3026 # As a last resort, use the slow shell script. Don't cache a
3027 # value for MKDIR_P within a source directory, because that will
3028 # break other packages using the cache if that directory is
3029 # removed, or if the value is a relative name.
3030 MKDIR_P="$ac_install_sh -d"
3031 fi
3032 fi
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3034 $as_echo "$MKDIR_P" >&6; }
3035
3036 mkdir_p="$MKDIR_P"
3037 case $mkdir_p in
3038 [\\/$]* | ?:[\\/]*) ;;
3039 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3040 esac
3041
3042 for ac_prog in gawk mawk nawk awk
3043 do
3044 # Extract the first word of "$ac_prog", so it can be a program name with args.
3045 set dummy $ac_prog; ac_word=$2
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if ${ac_cv_prog_AWK+:} false; then :
3049 $as_echo_n "(cached) " >&6
3050 else
3051 if test -n "$AWK"; then
3052 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3053 else
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055 for as_dir in $PATH
3056 do
3057 IFS=$as_save_IFS
3058 test -z "$as_dir" && as_dir=.
3059 for ac_exec_ext in '' $ac_executable_extensions; do
3060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3061 ac_cv_prog_AWK="$ac_prog"
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 break 2
3064 fi
3065 done
3066 done
3067 IFS=$as_save_IFS
3068
3069 fi
3070 fi
3071 AWK=$ac_cv_prog_AWK
3072 if test -n "$AWK"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3074 $as_echo "$AWK" >&6; }
3075 else
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3078 fi
3079
3080
3081 test -n "$AWK" && break
3082 done
3083
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3085 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3086 set x ${MAKE-make}
3087 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3088 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3089 $as_echo_n "(cached) " >&6
3090 else
3091 cat >conftest.make <<\_ACEOF
3092 SHELL = /bin/sh
3093 all:
3094 @echo '@@@%%%=$(MAKE)=@@@%%%'
3095 _ACEOF
3096 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3097 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3098 *@@@%%%=?*=@@@%%%*)
3099 eval ac_cv_prog_make_${ac_make}_set=yes;;
3100 *)
3101 eval ac_cv_prog_make_${ac_make}_set=no;;
3102 esac
3103 rm -f conftest.make
3104 fi
3105 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3107 $as_echo "yes" >&6; }
3108 SET_MAKE=
3109 else
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3112 SET_MAKE="MAKE=${MAKE-make}"
3113 fi
3114
3115 rm -rf .tst 2>/dev/null
3116 mkdir .tst 2>/dev/null
3117 if test -d .tst; then
3118 am__leading_dot=.
3119 else
3120 am__leading_dot=_
3121 fi
3122 rmdir .tst 2>/dev/null
3123
3124 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3125 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3126 # is not polluted with repeated "-I."
3127 am__isrc=' -I$(srcdir)'
3128 # test to see if srcdir already configured
3129 if test -f $srcdir/config.status; then
3130 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3131 fi
3132 fi
3133
3134 # test whether we have cygpath
3135 if test -z "$CYGPATH_W"; then
3136 if (cygpath --version) >/dev/null 2>/dev/null; then
3137 CYGPATH_W='cygpath -w'
3138 else
3139 CYGPATH_W=echo
3140 fi
3141 fi
3142
3143
3144 # Define the identity of the package.
3145 PACKAGE='ibdm'
3146 VERSION='1.5.7'
3147
3148
3149 cat >>confdefs.h <<_ACEOF
3150 @%:@define PACKAGE "$PACKAGE"
3151 _ACEOF
3152
3153
3154 cat >>confdefs.h <<_ACEOF
3155 @%:@define VERSION "$VERSION"
3156 _ACEOF
3157
3158 # Some tools Automake needs.
3159
3160 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3161
3162
3163 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3164
3165
3166 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3167
3168
3169 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3170
3171
3172 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3173
3174 # We need awk for the "check" target. The system "awk" is bad on
3175 # some platforms.
3176 # Always define AMTAR for backward compatibility.
3177
3178 AMTAR=${AMTAR-"${am_missing_run}tar"}
3179
3180 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3181
3182
3183
3184
3185
3186
3187
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3189 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3190 @%:@ Check whether --enable-maintainer-mode was given.
3191 if test "${enable_maintainer_mode+set}" = set; then :
3192 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3193 else
3194 USE_MAINTAINER_MODE=no
3195 fi
3196
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3198 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3199 if test $USE_MAINTAINER_MODE = yes; then
3200 MAINTAINER_MODE_TRUE=
3201 MAINTAINER_MODE_FALSE='#'
3202 else
3203 MAINTAINER_MODE_TRUE='#'
3204 MAINTAINER_MODE_FALSE=
3205 fi
3206
3207 MAINT=$MAINTAINER_MODE_TRUE
3208
3209
3210
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3212 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3213 set x ${MAKE-make}
3214 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3215 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3216 $as_echo_n "(cached) " >&6
3217 else
3218 cat >conftest.make <<\_ACEOF
3219 SHELL = /bin/sh
3220 all:
3221 @echo '@@@%%%=$(MAKE)=@@@%%%'
3222 _ACEOF
3223 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3224 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3225 *@@@%%%=?*=@@@%%%*)
3226 eval ac_cv_prog_make_${ac_make}_set=yes;;
3227 *)
3228 eval ac_cv_prog_make_${ac_make}_set=no;;
3229 esac
3230 rm -f conftest.make
3231 fi
3232 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3234 $as_echo "yes" >&6; }
3235 SET_MAKE=
3236 else
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3239 SET_MAKE="MAKE=${MAKE-make}"
3240 fi
3241
3242
3243 ac_ext=cpp
3244 ac_cpp='$CXXCPP $CPPFLAGS'
3245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3248 if test -z "$CXX"; then
3249 if test -n "$CCC"; then
3250 CXX=$CCC
3251 else
3252 if test -n "$ac_tool_prefix"; then
3253 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3254 do
3255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3258 $as_echo_n "checking for $ac_word... " >&6; }
3259 if ${ac_cv_prog_CXX+:} false; then :
3260 $as_echo_n "(cached) " >&6
3261 else
3262 if test -n "$CXX"; then
3263 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3264 else
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 for as_dir in $PATH
3267 do
3268 IFS=$as_save_IFS
3269 test -z "$as_dir" && as_dir=.
3270 for ac_exec_ext in '' $ac_executable_extensions; do
3271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3272 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274 break 2
3275 fi
3276 done
3277 done
3278 IFS=$as_save_IFS
3279
3280 fi
3281 fi
3282 CXX=$ac_cv_prog_CXX
3283 if test -n "$CXX"; then
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3285 $as_echo "$CXX" >&6; }
3286 else
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288 $as_echo "no" >&6; }
3289 fi
3290
3291
3292 test -n "$CXX" && break
3293 done
3294 fi
3295 if test -z "$CXX"; then
3296 ac_ct_CXX=$CXX
3297 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3298 do
3299 # Extract the first word of "$ac_prog", so it can be a program name with args.
3300 set dummy $ac_prog; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3304 $as_echo_n "(cached) " >&6
3305 else
3306 if test -n "$ac_ct_CXX"; then
3307 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3308 else
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH
3311 do
3312 IFS=$as_save_IFS
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3316 ac_cv_prog_ac_ct_CXX="$ac_prog"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 break 2
3319 fi
3320 done
3321 done
3322 IFS=$as_save_IFS
3323
3324 fi
3325 fi
3326 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3327 if test -n "$ac_ct_CXX"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3329 $as_echo "$ac_ct_CXX" >&6; }
3330 else
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3333 fi
3334
3335
3336 test -n "$ac_ct_CXX" && break
3337 done
3338
3339 if test "x$ac_ct_CXX" = x; then
3340 CXX="g++"
3341 else
3342 case $cross_compiling:$ac_tool_warned in
3343 yes:)
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3346 ac_tool_warned=yes ;;
3347 esac
3348 CXX=$ac_ct_CXX
3349 fi
3350 fi
3351
3352 fi
3353 fi
3354 # Provide some information about the compiler.
3355 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3356 set X $ac_compile
3357 ac_compiler=$2
3358 for ac_option in --version -v -V -qversion; do
3359 { { ac_try="$ac_compiler $ac_option >&5"
3360 case "(($ac_try" in
3361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362 *) ac_try_echo=$ac_try;;
3363 esac
3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3365 $as_echo "$ac_try_echo"; } >&5
3366 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3367 ac_status=$?
3368 if test -s conftest.err; then
3369 sed '10a\
3370 ... rest of stderr output deleted ...
3371 10q' conftest.err >conftest.er1
3372 cat conftest.er1 >&5
3373 fi
3374 rm -f conftest.er1 conftest.err
3375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3376 test $ac_status = 0; }
3377 done
3378
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3381
3382 int
3383 main ()
3384 {
3385
3386 ;
3387 return 0;
3388 }
3389 _ACEOF
3390 ac_clean_files_save=$ac_clean_files
3391 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3392 # Try to create an executable without -o first, disregard a.out.
3393 # It will help us diagnose broken compilers, and finding out an intuition
3394 # of exeext.
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3396 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3397 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3398
3399 # The possible output files:
3400 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3401
3402 ac_rmfiles=
3403 for ac_file in $ac_files
3404 do
3405 case $ac_file in
3406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3407 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3408 esac
3409 done
3410 rm -f $ac_rmfiles
3411
3412 if { { ac_try="$ac_link_default"
3413 case "(($ac_try" in
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3416 esac
3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418 $as_echo "$ac_try_echo"; } >&5
3419 (eval "$ac_link_default") 2>&5
3420 ac_status=$?
3421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422 test $ac_status = 0; }; then :
3423 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3424 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3425 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3426 # so that the user can short-circuit this test for compilers unknown to
3427 # Autoconf.
3428 for ac_file in $ac_files ''
3429 do
3430 test -f "$ac_file" || continue
3431 case $ac_file in
3432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3433 ;;
3434 [ab].out )
3435 # We found the default executable, but exeext='' is most
3436 # certainly right.
3437 break;;
3438 *.* )
3439 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3440 then :; else
3441 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3442 fi
3443 # We set ac_cv_exeext here because the later test for it is not
3444 # safe: cross compilers may not add the suffix if given an `-o'
3445 # argument, so we may need to know it at that point already.
3446 # Even if this section looks crufty: it has the advantage of
3447 # actually working.
3448 break;;
3449 * )
3450 break;;
3451 esac
3452 done
3453 test "$ac_cv_exeext" = no && ac_cv_exeext=
3454
3455 else
3456 ac_file=''
3457 fi
3458 if test -z "$ac_file"; then :
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3461 $as_echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3463
3464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466 as_fn_error 77 "C++ compiler cannot create executables
3467 See \`config.log' for more details" "$LINENO" 5; }
3468 else
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3470 $as_echo "yes" >&6; }
3471 fi
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3473 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3475 $as_echo "$ac_file" >&6; }
3476 ac_exeext=$ac_cv_exeext
3477
3478 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3479 ac_clean_files=$ac_clean_files_save
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3481 $as_echo_n "checking for suffix of executables... " >&6; }
3482 if { { ac_try="$ac_link"
3483 case "(($ac_try" in
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3486 esac
3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 $as_echo "$ac_try_echo"; } >&5
3489 (eval "$ac_link") 2>&5
3490 ac_status=$?
3491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492 test $ac_status = 0; }; then :
3493 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3494 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3495 # work properly (i.e., refer to `conftest.exe'), while it won't with
3496 # `rm'.
3497 for ac_file in conftest.exe conftest conftest.*; do
3498 test -f "$ac_file" || continue
3499 case $ac_file in
3500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3501 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3502 break;;
3503 * ) break;;
3504 esac
3505 done
3506 else
3507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3510 See \`config.log' for more details" "$LINENO" 5; }
3511 fi
3512 rm -f conftest conftest$ac_cv_exeext
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3514 $as_echo "$ac_cv_exeext" >&6; }
3515
3516 rm -f conftest.$ac_ext
3517 EXEEXT=$ac_cv_exeext
3518 ac_exeext=$EXEEXT
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3521 @%:@include <stdio.h>
3522 int
3523 main ()
3524 {
3525 FILE *f = fopen ("conftest.out", "w");
3526 return ferror (f) || fclose (f) != 0;
3527
3528 ;
3529 return 0;
3530 }
3531 _ACEOF
3532 ac_clean_files="$ac_clean_files conftest.out"
3533 # Check that the compiler produces executables we can run. If not, either
3534 # the compiler is broken, or we cross compile.
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3536 $as_echo_n "checking whether we are cross compiling... " >&6; }
3537 if test "$cross_compiling" != yes; then
3538 { { ac_try="$ac_link"
3539 case "(($ac_try" in
3540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541 *) ac_try_echo=$ac_try;;
3542 esac
3543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3544 $as_echo "$ac_try_echo"; } >&5
3545 (eval "$ac_link") 2>&5
3546 ac_status=$?
3547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3548 test $ac_status = 0; }
3549 if { ac_try='./conftest$ac_cv_exeext'
3550 { { case "(($ac_try" in
3551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552 *) ac_try_echo=$ac_try;;
3553 esac
3554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555 $as_echo "$ac_try_echo"; } >&5
3556 (eval "$ac_try") 2>&5
3557 ac_status=$?
3558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559 test $ac_status = 0; }; }; then
3560 cross_compiling=no
3561 else
3562 if test "$cross_compiling" = maybe; then
3563 cross_compiling=yes
3564 else
3565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error $? "cannot run C++ compiled programs.
3568 If you meant to cross compile, use \`--host'.
3569 See \`config.log' for more details" "$LINENO" 5; }
3570 fi
3571 fi
3572 fi
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3574 $as_echo "$cross_compiling" >&6; }
3575
3576 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3577 ac_clean_files=$ac_clean_files_save
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3579 $as_echo_n "checking for suffix of object files... " >&6; }
3580 if ${ac_cv_objext+:} false; then :
3581 $as_echo_n "(cached) " >&6
3582 else
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3585
3586 int
3587 main ()
3588 {
3589
3590 ;
3591 return 0;
3592 }
3593 _ACEOF
3594 rm -f conftest.o conftest.obj
3595 if { { ac_try="$ac_compile"
3596 case "(($ac_try" in
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3599 esac
3600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601 $as_echo "$ac_try_echo"; } >&5
3602 (eval "$ac_compile") 2>&5
3603 ac_status=$?
3604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605 test $ac_status = 0; }; then :
3606 for ac_file in conftest.o conftest.obj conftest.*; do
3607 test -f "$ac_file" || continue;
3608 case $ac_file in
3609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3610 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3611 break;;
3612 esac
3613 done
3614 else
3615 $as_echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3617
3618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620 as_fn_error $? "cannot compute suffix of object files: cannot compile
3621 See \`config.log' for more details" "$LINENO" 5; }
3622 fi
3623 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3624 fi
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3626 $as_echo "$ac_cv_objext" >&6; }
3627 OBJEXT=$ac_cv_objext
3628 ac_objext=$OBJEXT
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3630 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3631 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3632 $as_echo_n "(cached) " >&6
3633 else
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3636
3637 int
3638 main ()
3639 {
3640 #ifndef __GNUC__
3641 choke me
3642 #endif
3643
3644 ;
3645 return 0;
3646 }
3647 _ACEOF
3648 if ac_fn_cxx_try_compile "$LINENO"; then :
3649 ac_compiler_gnu=yes
3650 else
3651 ac_compiler_gnu=no
3652 fi
3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3655
3656 fi
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3658 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3659 if test $ac_compiler_gnu = yes; then
3660 GXX=yes
3661 else
3662 GXX=
3663 fi
3664 ac_test_CXXFLAGS=${CXXFLAGS+set}
3665 ac_save_CXXFLAGS=$CXXFLAGS
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3667 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3668 if ${ac_cv_prog_cxx_g+:} false; then :
3669 $as_echo_n "(cached) " >&6
3670 else
3671 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3672 ac_cxx_werror_flag=yes
3673 ac_cv_prog_cxx_g=no
3674 CXXFLAGS="-g"
3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676 /* end confdefs.h. */
3677
3678 int
3679 main ()
3680 {
3681
3682 ;
3683 return 0;
3684 }
3685 _ACEOF
3686 if ac_fn_cxx_try_compile "$LINENO"; then :
3687 ac_cv_prog_cxx_g=yes
3688 else
3689 CXXFLAGS=""
3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h. */
3692
3693 int
3694 main ()
3695 {
3696
3697 ;
3698 return 0;
3699 }
3700 _ACEOF
3701 if ac_fn_cxx_try_compile "$LINENO"; then :
3702
3703 else
3704 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3705 CXXFLAGS="-g"
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3708
3709 int
3710 main ()
3711 {
3712
3713 ;
3714 return 0;
3715 }
3716 _ACEOF
3717 if ac_fn_cxx_try_compile "$LINENO"; then :
3718 ac_cv_prog_cxx_g=yes
3719 fi
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721 fi
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 fi
3724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3726 fi
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3728 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3729 if test "$ac_test_CXXFLAGS" = set; then
3730 CXXFLAGS=$ac_save_CXXFLAGS
3731 elif test $ac_cv_prog_cxx_g = yes; then
3732 if test "$GXX" = yes; then
3733 CXXFLAGS="-g -O2"
3734 else
3735 CXXFLAGS="-g"
3736 fi
3737 else
3738 if test "$GXX" = yes; then
3739 CXXFLAGS="-O2"
3740 else
3741 CXXFLAGS=
3742 fi
3743 fi
3744 ac_ext=cpp
3745 ac_cpp='$CXXCPP $CPPFLAGS'
3746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3749 DEPDIR="${am__leading_dot}deps"
3750
3751 ac_config_commands="$ac_config_commands depfiles"
3752
3753
3754 am_make=${MAKE-make}
3755 cat > confinc << 'END'
3756 am__doit:
3757 @echo this is the am__doit target
3758 .PHONY: am__doit
3759 END
3760 # If we don't find an include directive, just comment out the code.
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3762 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3763 am__include="#"
3764 am__quote=
3765 _am_result=none
3766 # First try GNU make style include.
3767 echo "include confinc" > confmf
3768 # Ignore all kinds of additional output from `make'.
3769 case `$am_make -s -f confmf 2> /dev/null` in #(
3770 *the\ am__doit\ target*)
3771 am__include=include
3772 am__quote=
3773 _am_result=GNU
3774 ;;
3775 esac
3776 # Now try BSD make style include.
3777 if test "$am__include" = "#"; then
3778 echo '.include "confinc"' > confmf
3779 case `$am_make -s -f confmf 2> /dev/null` in #(
3780 *the\ am__doit\ target*)
3781 am__include=.include
3782 am__quote="\""
3783 _am_result=BSD
3784 ;;
3785 esac
3786 fi
3787
3788
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3790 $as_echo "$_am_result" >&6; }
3791 rm -f confinc confmf
3792
3793 @%:@ Check whether --enable-dependency-tracking was given.
3794 if test "${enable_dependency_tracking+set}" = set; then :
3795 enableval=$enable_dependency_tracking;
3796 fi
3797
3798 if test "x$enable_dependency_tracking" != xno; then
3799 am_depcomp="$ac_aux_dir/depcomp"
3800 AMDEPBACKSLASH='\'
3801 fi
3802 if test "x$enable_dependency_tracking" != xno; then
3803 AMDEP_TRUE=
3804 AMDEP_FALSE='#'
3805 else
3806 AMDEP_TRUE='#'
3807 AMDEP_FALSE=
3808 fi
3809
3810
3811
3812 depcc="$CXX" am_compiler_list=
3813
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3815 $as_echo_n "checking dependency style of $depcc... " >&6; }
3816 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3817 $as_echo_n "(cached) " >&6
3818 else
3819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3820 # We make a subdir and do the tests there. Otherwise we can end up
3821 # making bogus files that we don't know about and never remove. For
3822 # instance it was reported that on HP-UX the gcc test will end up
3823 # making a dummy file named `D' -- because `-MD' means `put the output
3824 # in D'.
3825 mkdir conftest.dir
3826 # Copy depcomp to subdir because otherwise we won't find it if we're
3827 # using a relative directory.
3828 cp "$am_depcomp" conftest.dir
3829 cd conftest.dir
3830 # We will build objects and dependencies in a subdirectory because
3831 # it helps to detect inapplicable dependency modes. For instance
3832 # both Tru64's cc and ICC support -MD to output dependencies as a
3833 # side effect of compilation, but ICC will put the dependencies in
3834 # the current directory while Tru64 will put them in the object
3835 # directory.
3836 mkdir sub
3837
3838 am_cv_CXX_dependencies_compiler_type=none
3839 if test "$am_compiler_list" = ""; then
3840 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3841 fi
3842 am__universal=false
3843 case " $depcc " in #(
3844 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3845 esac
3846
3847 for depmode in $am_compiler_list; do
3848 # Setup a source with many dependencies, because some compilers
3849 # like to wrap large dependency lists on column 80 (with \), and
3850 # we should not choose a depcomp mode which is confused by this.
3851 #
3852 # We need to recreate these files for each test, as the compiler may
3853 # overwrite some of them when testing with obscure command lines.
3854 # This happens at least with the AIX C compiler.
3855 : > sub/conftest.c
3856 for i in 1 2 3 4 5 6; do
3857 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3858 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3859 # Solaris 8's {/usr,}/bin/sh.
3860 touch sub/conftst$i.h
3861 done
3862 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3863
3864 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3865 # mode. It turns out that the SunPro C++ compiler does not properly
3866 # handle `-M -o', and we need to detect this. Also, some Intel
3867 # versions had trouble with output in subdirs
3868 am__obj=sub/conftest.${OBJEXT-o}
3869 am__minus_obj="-o $am__obj"
3870 case $depmode in
3871 gcc)
3872 # This depmode causes a compiler race in universal mode.
3873 test "$am__universal" = false || continue
3874 ;;
3875 nosideeffect)
3876 # after this tag, mechanisms are not by side-effect, so they'll
3877 # only be used when explicitly requested
3878 if test "x$enable_dependency_tracking" = xyes; then
3879 continue
3880 else
3881 break
3882 fi
3883 ;;
3884 msvisualcpp | msvcmsys)
3885 # This compiler won't grok `-c -o', but also, the minuso test has
3886 # not run yet. These depmodes are late enough in the game, and
3887 # so weak that their functioning should not be impacted.
3888 am__obj=conftest.${OBJEXT-o}
3889 am__minus_obj=
3890 ;;
3891 none) break ;;
3892 esac
3893 if depmode=$depmode \
3894 source=sub/conftest.c object=$am__obj \
3895 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3896 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3897 >/dev/null 2>conftest.err &&
3898 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3899 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3900 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3901 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3902 # icc doesn't choke on unknown options, it will just issue warnings
3903 # or remarks (even with -Werror). So we grep stderr for any message
3904 # that says an option was ignored or not supported.
3905 # When given -MP, icc 7.0 and 7.1 complain thusly:
3906 # icc: Command line warning: ignoring option '-M'; no argument required
3907 # The diagnosis changed in icc 8.0:
3908 # icc: Command line remark: option '-MP' not supported
3909 if (grep 'ignoring option' conftest.err ||
3910 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3911 am_cv_CXX_dependencies_compiler_type=$depmode
3912 break
3913 fi
3914 fi
3915 done
3916
3917 cd ..
3918 rm -rf conftest.dir
3919 else
3920 am_cv_CXX_dependencies_compiler_type=none
3921 fi
3922
3923 fi
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3925 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3926 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3927
3928 if
3929 test "x$enable_dependency_tracking" != xno \
3930 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3931 am__fastdepCXX_TRUE=
3932 am__fastdepCXX_FALSE='#'
3933 else
3934 am__fastdepCXX_TRUE='#'
3935 am__fastdepCXX_FALSE=
3936 fi
3937
3938
3939 ac_ext=c
3940 ac_cpp='$CPP $CPPFLAGS'
3941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944 if test -n "$ac_tool_prefix"; then
3945 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3946 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if ${ac_cv_prog_CC+:} false; then :
3950 $as_echo_n "(cached) " >&6
3951 else
3952 if test -n "$CC"; then
3953 ac_cv_prog_CC="$CC" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3957 do
3958 IFS=$as_save_IFS
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 break 2
3965 fi
3966 done
3967 done
3968 IFS=$as_save_IFS
3969
3970 fi
3971 fi
3972 CC=$ac_cv_prog_CC
3973 if test -n "$CC"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3975 $as_echo "$CC" >&6; }
3976 else
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3979 fi
3980
3981
3982 fi
3983 if test -z "$ac_cv_prog_CC"; then
3984 ac_ct_CC=$CC
3985 # Extract the first word of "gcc", so it can be a program name with args.
3986 set dummy gcc; ac_word=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3990 $as_echo_n "(cached) " >&6
3991 else
3992 if test -n "$ac_ct_CC"; then
3993 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3994 else
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996 for as_dir in $PATH
3997 do
3998 IFS=$as_save_IFS
3999 test -z "$as_dir" && as_dir=.
4000 for ac_exec_ext in '' $ac_executable_extensions; do
4001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_ac_ct_CC="gcc"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 break 2
4005 fi
4006 done
4007 done
4008 IFS=$as_save_IFS
4009
4010 fi
4011 fi
4012 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4013 if test -n "$ac_ct_CC"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4015 $as_echo "$ac_ct_CC" >&6; }
4016 else
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4019 fi
4020
4021 if test "x$ac_ct_CC" = x; then
4022 CC=""
4023 else
4024 case $cross_compiling:$ac_tool_warned in
4025 yes:)
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4028 ac_tool_warned=yes ;;
4029 esac
4030 CC=$ac_ct_CC
4031 fi
4032 else
4033 CC="$ac_cv_prog_CC"
4034 fi
4035
4036 if test -z "$CC"; then
4037 if test -n "$ac_tool_prefix"; then
4038 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4039 set dummy ${ac_tool_prefix}cc; ac_word=$2
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041 $as_echo_n "checking for $ac_word... " >&6; }
4042 if ${ac_cv_prog_CC+:} false; then :
4043 $as_echo_n "(cached) " >&6
4044 else
4045 if test -n "$CC"; then
4046 ac_cv_prog_CC="$CC" # Let the user override the test.
4047 else
4048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049 for as_dir in $PATH
4050 do
4051 IFS=$as_save_IFS
4052 test -z "$as_dir" && as_dir=.
4053 for ac_exec_ext in '' $ac_executable_extensions; do
4054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4055 ac_cv_prog_CC="${ac_tool_prefix}cc"
4056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057 break 2
4058 fi
4059 done
4060 done
4061 IFS=$as_save_IFS
4062
4063 fi
4064 fi
4065 CC=$ac_cv_prog_CC
4066 if test -n "$CC"; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4068 $as_echo "$CC" >&6; }
4069 else
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4072 fi
4073
4074
4075 fi
4076 fi
4077 if test -z "$CC"; then
4078 # Extract the first word of "cc", so it can be a program name with args.
4079 set dummy cc; ac_word=$2
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081 $as_echo_n "checking for $ac_word... " >&6; }
4082 if ${ac_cv_prog_CC+:} false; then :
4083 $as_echo_n "(cached) " >&6
4084 else
4085 if test -n "$CC"; then
4086 ac_cv_prog_CC="$CC" # Let the user override the test.
4087 else
4088 ac_prog_rejected=no
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090 for as_dir in $PATH
4091 do
4092 IFS=$as_save_IFS
4093 test -z "$as_dir" && as_dir=.
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4096 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4097 ac_prog_rejected=yes
4098 continue
4099 fi
4100 ac_cv_prog_CC="cc"
4101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4102 break 2
4103 fi
4104 done
4105 done
4106 IFS=$as_save_IFS
4107
4108 if test $ac_prog_rejected = yes; then
4109 # We found a bogon in the path, so make sure we never use it.
4110 set dummy $ac_cv_prog_CC
4111 shift
4112 if test $@%:@ != 0; then
4113 # We chose a different compiler from the bogus one.
4114 # However, it has the same basename, so the bogon will be chosen
4115 # first if we set CC to just the basename; use the full file name.
4116 shift
4117 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4118 fi
4119 fi
4120 fi
4121 fi
4122 CC=$ac_cv_prog_CC
4123 if test -n "$CC"; then
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4125 $as_echo "$CC" >&6; }
4126 else
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128 $as_echo "no" >&6; }
4129 fi
4130
4131
4132 fi
4133 if test -z "$CC"; then
4134 if test -n "$ac_tool_prefix"; then
4135 for ac_prog in cl.exe
4136 do
4137 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4138 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140 $as_echo_n "checking for $ac_word... " >&6; }
4141 if ${ac_cv_prog_CC+:} false; then :
4142 $as_echo_n "(cached) " >&6
4143 else
4144 if test -n "$CC"; then
4145 ac_cv_prog_CC="$CC" # Let the user override the test.
4146 else
4147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4148 for as_dir in $PATH
4149 do
4150 IFS=$as_save_IFS
4151 test -z "$as_dir" && as_dir=.
4152 for ac_exec_ext in '' $ac_executable_extensions; do
4153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4154 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156 break 2
4157 fi
4158 done
4159 done
4160 IFS=$as_save_IFS
4161
4162 fi
4163 fi
4164 CC=$ac_cv_prog_CC
4165 if test -n "$CC"; then
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4167 $as_echo "$CC" >&6; }
4168 else
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170 $as_echo "no" >&6; }
4171 fi
4172
4173
4174 test -n "$CC" && break
4175 done
4176 fi
4177 if test -z "$CC"; then
4178 ac_ct_CC=$CC
4179 for ac_prog in cl.exe
4180 do
4181 # Extract the first word of "$ac_prog", so it can be a program name with args.
4182 set dummy $ac_prog; ac_word=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4186 $as_echo_n "(cached) " >&6
4187 else
4188 if test -n "$ac_ct_CC"; then
4189 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4190 else
4191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192 for as_dir in $PATH
4193 do
4194 IFS=$as_save_IFS
4195 test -z "$as_dir" && as_dir=.
4196 for ac_exec_ext in '' $ac_executable_extensions; do
4197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4198 ac_cv_prog_ac_ct_CC="$ac_prog"
4199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4200 break 2
4201 fi
4202 done
4203 done
4204 IFS=$as_save_IFS
4205
4206 fi
4207 fi
4208 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4209 if test -n "$ac_ct_CC"; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4211 $as_echo "$ac_ct_CC" >&6; }
4212 else
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4215 fi
4216
4217
4218 test -n "$ac_ct_CC" && break
4219 done
4220
4221 if test "x$ac_ct_CC" = x; then
4222 CC=""
4223 else
4224 case $cross_compiling:$ac_tool_warned in
4225 yes:)
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4228 ac_tool_warned=yes ;;
4229 esac
4230 CC=$ac_ct_CC
4231 fi
4232 fi
4233
4234 fi
4235
4236
4237 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4239 as_fn_error $? "no acceptable C compiler found in \$PATH
4240 See \`config.log' for more details" "$LINENO" 5; }
4241
4242 # Provide some information about the compiler.
4243 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4244 set X $ac_compile
4245 ac_compiler=$2
4246 for ac_option in --version -v -V -qversion; do
4247 { { ac_try="$ac_compiler $ac_option >&5"
4248 case "(($ac_try" in
4249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4250 *) ac_try_echo=$ac_try;;
4251 esac
4252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253 $as_echo "$ac_try_echo"; } >&5
4254 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4255 ac_status=$?
4256 if test -s conftest.err; then
4257 sed '10a\
4258 ... rest of stderr output deleted ...
4259 10q' conftest.err >conftest.er1
4260 cat conftest.er1 >&5
4261 fi
4262 rm -f conftest.er1 conftest.err
4263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264 test $ac_status = 0; }
4265 done
4266
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4268 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4269 if ${ac_cv_c_compiler_gnu+:} false; then :
4270 $as_echo_n "(cached) " >&6
4271 else
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4274
4275 int
4276 main ()
4277 {
4278 #ifndef __GNUC__
4279 choke me
4280 #endif
4281
4282 ;
4283 return 0;
4284 }
4285 _ACEOF
4286 if ac_fn_c_try_compile "$LINENO"; then :
4287 ac_compiler_gnu=yes
4288 else
4289 ac_compiler_gnu=no
4290 fi
4291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4292 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4293
4294 fi
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4296 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4297 if test $ac_compiler_gnu = yes; then
4298 GCC=yes
4299 else
4300 GCC=
4301 fi
4302 ac_test_CFLAGS=${CFLAGS+set}
4303 ac_save_CFLAGS=$CFLAGS
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4305 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4306 if ${ac_cv_prog_cc_g+:} false; then :
4307 $as_echo_n "(cached) " >&6
4308 else
4309 ac_save_c_werror_flag=$ac_c_werror_flag
4310 ac_c_werror_flag=yes
4311 ac_cv_prog_cc_g=no
4312 CFLAGS="-g"
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4315
4316 int
4317 main ()
4318 {
4319
4320 ;
4321 return 0;
4322 }
4323 _ACEOF
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_cv_prog_cc_g=yes
4326 else
4327 CFLAGS=""
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4330
4331 int
4332 main ()
4333 {
4334
4335 ;
4336 return 0;
4337 }
4338 _ACEOF
4339 if ac_fn_c_try_compile "$LINENO"; then :
4340
4341 else
4342 ac_c_werror_flag=$ac_save_c_werror_flag
4343 CFLAGS="-g"
4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4346
4347 int
4348 main ()
4349 {
4350
4351 ;
4352 return 0;
4353 }
4354 _ACEOF
4355 if ac_fn_c_try_compile "$LINENO"; then :
4356 ac_cv_prog_cc_g=yes
4357 fi
4358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4359 fi
4360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4361 fi
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363 ac_c_werror_flag=$ac_save_c_werror_flag
4364 fi
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4366 $as_echo "$ac_cv_prog_cc_g" >&6; }
4367 if test "$ac_test_CFLAGS" = set; then
4368 CFLAGS=$ac_save_CFLAGS
4369 elif test $ac_cv_prog_cc_g = yes; then
4370 if test "$GCC" = yes; then
4371 CFLAGS="-g -O2"
4372 else
4373 CFLAGS="-g"
4374 fi
4375 else
4376 if test "$GCC" = yes; then
4377 CFLAGS="-O2"
4378 else
4379 CFLAGS=
4380 fi
4381 fi
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4383 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4384 if ${ac_cv_prog_cc_c89+:} false; then :
4385 $as_echo_n "(cached) " >&6
4386 else
4387 ac_cv_prog_cc_c89=no
4388 ac_save_CC=$CC
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4391 #include <stdarg.h>
4392 #include <stdio.h>
4393 struct stat;
4394 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4395 struct buf { int x; };
4396 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4397 static char *e (p, i)
4398 char **p;
4399 int i;
4400 {
4401 return p[i];
4402 }
4403 static char *f (char * (*g) (char **, int), char **p, ...)
4404 {
4405 char *s;
4406 va_list v;
4407 va_start (v,p);
4408 s = g (p, va_arg (v,int));
4409 va_end (v);
4410 return s;
4411 }
4412
4413 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4414 function prototypes and stuff, but not '\xHH' hex character constants.
4415 These don't provoke an error unfortunately, instead are silently treated
4416 as 'x'. The following induces an error, until -std is added to get
4417 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4418 array size at least. It's necessary to write '\x00'==0 to get something
4419 that's true only with -std. */
4420 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4421
4422 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4423 inside strings and character constants. */
4424 #define FOO(x) 'x'
4425 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4426
4427 int test (int i, double x);
4428 struct s1 {int (*f) (int a);};
4429 struct s2 {int (*f) (double a);};
4430 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4431 int argc;
4432 char **argv;
4433 int
4434 main ()
4435 {
4436 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4437 ;
4438 return 0;
4439 }
4440 _ACEOF
4441 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4442 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4443 do
4444 CC="$ac_save_CC $ac_arg"
4445 if ac_fn_c_try_compile "$LINENO"; then :
4446 ac_cv_prog_cc_c89=$ac_arg
4447 fi
4448 rm -f core conftest.err conftest.$ac_objext
4449 test "x$ac_cv_prog_cc_c89" != "xno" && break
4450 done
4451 rm -f conftest.$ac_ext
4452 CC=$ac_save_CC
4453
4454 fi
4455 # AC_CACHE_VAL
4456 case "x$ac_cv_prog_cc_c89" in
4457 x)
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4459 $as_echo "none needed" >&6; } ;;
4460 xno)
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4462 $as_echo "unsupported" >&6; } ;;
4463 *)
4464 CC="$CC $ac_cv_prog_cc_c89"
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4466 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4467 esac
4468 if test "x$ac_cv_prog_cc_c89" != xno; then :
4469
4470 fi
4471
4472 ac_ext=cpp
4473 ac_cpp='$CXXCPP $CPPFLAGS'
4474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4477
4478 depcc="$CC" am_compiler_list=
4479
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4481 $as_echo_n "checking dependency style of $depcc... " >&6; }
4482 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4486 # We make a subdir and do the tests there. Otherwise we can end up
4487 # making bogus files that we don't know about and never remove. For
4488 # instance it was reported that on HP-UX the gcc test will end up
4489 # making a dummy file named `D' -- because `-MD' means `put the output
4490 # in D'.
4491 mkdir conftest.dir
4492 # Copy depcomp to subdir because otherwise we won't find it if we're
4493 # using a relative directory.
4494 cp "$am_depcomp" conftest.dir
4495 cd conftest.dir
4496 # We will build objects and dependencies in a subdirectory because
4497 # it helps to detect inapplicable dependency modes. For instance
4498 # both Tru64's cc and ICC support -MD to output dependencies as a
4499 # side effect of compilation, but ICC will put the dependencies in
4500 # the current directory while Tru64 will put them in the object
4501 # directory.
4502 mkdir sub
4503
4504 am_cv_CC_dependencies_compiler_type=none
4505 if test "$am_compiler_list" = ""; then
4506 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4507 fi
4508 am__universal=false
4509 case " $depcc " in #(
4510 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4511 esac
4512
4513 for depmode in $am_compiler_list; do
4514 # Setup a source with many dependencies, because some compilers
4515 # like to wrap large dependency lists on column 80 (with \), and
4516 # we should not choose a depcomp mode which is confused by this.
4517 #
4518 # We need to recreate these files for each test, as the compiler may
4519 # overwrite some of them when testing with obscure command lines.
4520 # This happens at least with the AIX C compiler.
4521 : > sub/conftest.c
4522 for i in 1 2 3 4 5 6; do
4523 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4524 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4525 # Solaris 8's {/usr,}/bin/sh.
4526 touch sub/conftst$i.h
4527 done
4528 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4529
4530 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4531 # mode. It turns out that the SunPro C++ compiler does not properly
4532 # handle `-M -o', and we need to detect this. Also, some Intel
4533 # versions had trouble with output in subdirs
4534 am__obj=sub/conftest.${OBJEXT-o}
4535 am__minus_obj="-o $am__obj"
4536 case $depmode in
4537 gcc)
4538 # This depmode causes a compiler race in universal mode.
4539 test "$am__universal" = false || continue
4540 ;;
4541 nosideeffect)
4542 # after this tag, mechanisms are not by side-effect, so they'll
4543 # only be used when explicitly requested
4544 if test "x$enable_dependency_tracking" = xyes; then
4545 continue
4546 else
4547 break
4548 fi
4549 ;;
4550 msvisualcpp | msvcmsys)
4551 # This compiler won't grok `-c -o', but also, the minuso test has
4552 # not run yet. These depmodes are late enough in the game, and
4553 # so weak that their functioning should not be impacted.
4554 am__obj=conftest.${OBJEXT-o}
4555 am__minus_obj=
4556 ;;
4557 none) break ;;
4558 esac
4559 if depmode=$depmode \
4560 source=sub/conftest.c object=$am__obj \
4561 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4562 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4563 >/dev/null 2>conftest.err &&
4564 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4565 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4566 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4567 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4568 # icc doesn't choke on unknown options, it will just issue warnings
4569 # or remarks (even with -Werror). So we grep stderr for any message
4570 # that says an option was ignored or not supported.
4571 # When given -MP, icc 7.0 and 7.1 complain thusly:
4572 # icc: Command line warning: ignoring option '-M'; no argument required
4573 # The diagnosis changed in icc 8.0:
4574 # icc: Command line remark: option '-MP' not supported
4575 if (grep 'ignoring option' conftest.err ||
4576 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4577 am_cv_CC_dependencies_compiler_type=$depmode
4578 break
4579 fi
4580 fi
4581 done
4582
4583 cd ..
4584 rm -rf conftest.dir
4585 else
4586 am_cv_CC_dependencies_compiler_type=none
4587 fi
4588
4589 fi
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4591 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4592 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4593
4594 if
4595 test "x$enable_dependency_tracking" != xno \
4596 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4597 am__fastdepCC_TRUE=
4598 am__fastdepCC_FALSE='#'
4599 else
4600 am__fastdepCC_TRUE='#'
4601 am__fastdepCC_FALSE=
4602 fi
4603
4604
4605 ac_ext=c
4606 ac_cpp='$CPP $CPPFLAGS'
4607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4611 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4612 # On Suns, sometimes $CPP names a directory.
4613 if test -n "$CPP" && test -d "$CPP"; then
4614 CPP=
4615 fi
4616 if test -z "$CPP"; then
4617 if ${ac_cv_prog_CPP+:} false; then :
4618 $as_echo_n "(cached) " >&6
4619 else
4620 # Double quotes because CPP needs to be expanded
4621 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4622 do
4623 ac_preproc_ok=false
4624 for ac_c_preproc_warn_flag in '' yes
4625 do
4626 # Use a header file that comes with gcc, so configuring glibc
4627 # with a fresh cross-compiler works.
4628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4629 # <limits.h> exists even on freestanding compilers.
4630 # On the NeXT, cc -E runs the code through the compiler's parser,
4631 # not just through cpp. "Syntax error" is here to catch this case.
4632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4634 @%:@ifdef __STDC__
4635 @%:@ include <limits.h>
4636 @%:@else
4637 @%:@ include <assert.h>
4638 @%:@endif
4639 Syntax error
4640 _ACEOF
4641 if ac_fn_c_try_cpp "$LINENO"; then :
4642
4643 else
4644 # Broken: fails on valid input.
4645 continue
4646 fi
4647 rm -f conftest.err conftest.i conftest.$ac_ext
4648
4649 # OK, works on sane cases. Now check whether nonexistent headers
4650 # can be detected and how.
4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h. */
4653 @%:@include <ac_nonexistent.h>
4654 _ACEOF
4655 if ac_fn_c_try_cpp "$LINENO"; then :
4656 # Broken: success on invalid input.
4657 continue
4658 else
4659 # Passes both tests.
4660 ac_preproc_ok=:
4661 break
4662 fi
4663 rm -f conftest.err conftest.i conftest.$ac_ext
4664
4665 done
4666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4667 rm -f conftest.i conftest.err conftest.$ac_ext
4668 if $ac_preproc_ok; then :
4669 break
4670 fi
4671
4672 done
4673 ac_cv_prog_CPP=$CPP
4674
4675 fi
4676 CPP=$ac_cv_prog_CPP
4677 else
4678 ac_cv_prog_CPP=$CPP
4679 fi
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4681 $as_echo "$CPP" >&6; }
4682 ac_preproc_ok=false
4683 for ac_c_preproc_warn_flag in '' yes
4684 do
4685 # Use a header file that comes with gcc, so configuring glibc
4686 # with a fresh cross-compiler works.
4687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4688 # <limits.h> exists even on freestanding compilers.
4689 # On the NeXT, cc -E runs the code through the compiler's parser,
4690 # not just through cpp. "Syntax error" is here to catch this case.
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4693 @%:@ifdef __STDC__
4694 @%:@ include <limits.h>
4695 @%:@else
4696 @%:@ include <assert.h>
4697 @%:@endif
4698 Syntax error
4699 _ACEOF
4700 if ac_fn_c_try_cpp "$LINENO"; then :
4701
4702 else
4703 # Broken: fails on valid input.
4704 continue
4705 fi
4706 rm -f conftest.err conftest.i conftest.$ac_ext
4707
4708 # OK, works on sane cases. Now check whether nonexistent headers
4709 # can be detected and how.
4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4712 @%:@include <ac_nonexistent.h>
4713 _ACEOF
4714 if ac_fn_c_try_cpp "$LINENO"; then :
4715 # Broken: success on invalid input.
4716 continue
4717 else
4718 # Passes both tests.
4719 ac_preproc_ok=:
4720 break
4721 fi
4722 rm -f conftest.err conftest.i conftest.$ac_ext
4723
4724 done
4725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4726 rm -f conftest.i conftest.err conftest.$ac_ext
4727 if $ac_preproc_ok; then :
4728
4729 else
4730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4732 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4733 See \`config.log' for more details" "$LINENO" 5; }
4734 fi
4735
4736 ac_ext=cpp
4737 ac_cpp='$CXXCPP $CPPFLAGS'
4738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4741
4742
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4744 $as_echo_n "checking whether ln -s works... " >&6; }
4745 LN_S=$as_ln_s
4746 if test "$LN_S" = "ln -s"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4748 $as_echo "yes" >&6; }
4749 else
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4751 $as_echo "no, using $LN_S" >&6; }
4752 fi
4753
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4755 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4756 set x ${MAKE-make}
4757 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4758 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4759 $as_echo_n "(cached) " >&6
4760 else
4761 cat >conftest.make <<\_ACEOF
4762 SHELL = /bin/sh
4763 all:
4764 @echo '@@@%%%=$(MAKE)=@@@%%%'
4765 _ACEOF
4766 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4767 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4768 *@@@%%%=?*=@@@%%%*)
4769 eval ac_cv_prog_make_${ac_make}_set=yes;;
4770 *)
4771 eval ac_cv_prog_make_${ac_make}_set=no;;
4772 esac
4773 rm -f conftest.make
4774 fi
4775 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4777 $as_echo "yes" >&6; }
4778 SET_MAKE=
4779 else
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4782 SET_MAKE="MAKE=${MAKE-make}"
4783 fi
4784
4785
4786 # Extract the first word of "swig", so it can be a program name with args.
4787 set dummy swig; ac_word=$2
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4789 $as_echo_n "checking for $ac_word... " >&6; }
4790 if ${ac_cv_path_SWIG+:} false; then :
4791 $as_echo_n "(cached) " >&6
4792 else
4793 case $SWIG in
4794 [\\/]* | ?:[\\/]*)
4795 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
4796 ;;
4797 *)
4798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4799 for as_dir in $PATH
4800 do
4801 IFS=$as_save_IFS
4802 test -z "$as_dir" && as_dir=.
4803 for ac_exec_ext in '' $ac_executable_extensions; do
4804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4805 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
4806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 break 2
4808 fi
4809 done
4810 done
4811 IFS=$as_save_IFS
4812
4813 ;;
4814 esac
4815 fi
4816 SWIG=$ac_cv_path_SWIG
4817 if test -n "$SWIG"; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
4819 $as_echo "$SWIG" >&6; }
4820 else
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822 $as_echo "no" >&6; }
4823 fi
4824
4825
4826 # we use this to track the existance of swig
4827 has_swig=0
4828 if test -z "$SWIG" ; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&5
4830 $as_echo "$as_me: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&2;}
4831 SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
4832 elif test -n "1.1.5" ; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWIG version" >&5
4834 $as_echo_n "checking for SWIG version... " >&6; }
4835 swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
4837 $as_echo "$swig_version" >&6; }
4838 if test -n "$swig_version" ; then
4839 # Calculate the required version number components
4840 required=1.1.5
4841 required_major=`echo $required | sed 's/[^0-9].*//'`
4842 if test -z "$required_major" ; then
4843 required_major=0
4844 fi
4845 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
4846 required_minor=`echo $required | sed 's/[^0-9].*//'`
4847 if test -z "$required_minor" ; then
4848 required_minor=0
4849 fi
4850 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
4851 required_patch=`echo $required | sed 's/[^0-9].*//'`
4852 if test -z "$required_patch" ; then
4853 required_patch=0
4854 fi
4855 # Calculate the available version number components
4856 available=`echo $swig_version | sed 's/[^0-9]*//'`
4857 available_major=`echo $available | sed 's/[^0-9].*//'`
4858 if test -z "$available_major" ; then
4859 available_major=0
4860 fi
4861 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
4862 available_minor=`echo $available | sed 's/[^0-9].*//'`
4863 if test -z "$available_minor" ; then
4864 available_minor=0
4865 fi
4866 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
4867 available_patch=`echo $available | sed -e 's/.*Patch[^0-9]*//' -e 's/[^0-9]*//g' `
4868 if test -z "$available_patch" ; then
4869 available_patch=0
4870 fi
4871 # we have two modes of comparison...
4872 if test x"eq" == xeq; then
4873 if test $available_major -ne $required_major \
4874 -o $available_minor -ne $required_minor \
4875 -o $available_patch -ne $required_patch ; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&5
4877 $as_echo "$as_me: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&2;}
4878 SWIG='echo "Error: SWIG version == 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
4879 else
4880 has_swig=1
4881 fi
4882 else
4883 if test $available_major -ne $required_major \
4884 -o $available_minor -ne $required_minor \
4885 -o $available_patch -lt $required_patch ; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&5
4887 $as_echo "$as_me: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
4888 SWIG='echo "Error: SWIG version >= 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
4889 else
4890 has_swig=1
4891 fi
4892 fi
4893 else
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
4895 $as_echo "$as_me: WARNING: cannot determine SWIG version" >&2;}
4896 SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
4897 fi
4898 fi
4899 if test ! -z "$has_swig"; then
4900 SWIG_LIB=`$SWIG -swiglib`
4901 if test 1; then
4902 HAS_SWIG_TRUE=
4903 HAS_SWIG_FALSE='#'
4904 else
4905 HAS_SWIG_TRUE='#'
4906 HAS_SWIG_FALSE=
4907 fi
4908
4909 else
4910 if test 0; then
4911 HAS_SWIG_TRUE=
4912 HAS_SWIG_FALSE='#'
4913 else
4914 HAS_SWIG_TRUE='#'
4915 HAS_SWIG_FALSE=
4916 fi
4917
4918 fi
4919
4920
4921
4922 for ac_prog in flex lex
4923 do
4924 # Extract the first word of "$ac_prog", so it can be a program name with args.
4925 set dummy $ac_prog; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if ${ac_cv_prog_LEX+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 if test -n "$LEX"; then
4932 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4936 do
4937 IFS=$as_save_IFS
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_prog_LEX="$ac_prog"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 break 2
4944 fi
4945 done
4946 done
4947 IFS=$as_save_IFS
4948
4949 fi
4950 fi
4951 LEX=$ac_cv_prog_LEX
4952 if test -n "$LEX"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4954 $as_echo "$LEX" >&6; }
4955 else
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4958 fi
4959
4960
4961 test -n "$LEX" && break
4962 done
4963 test -n "$LEX" || LEX=":"
4964
4965 if test "x$LEX" != "x:"; then
4966 cat >conftest.l <<_ACEOF
4967 %%
4968 a { ECHO; }
4969 b { REJECT; }
4970 c { yymore (); }
4971 d { yyless (1); }
4972 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
4973 yyless ((input () != 0)); }
4974 f { unput (yytext[0]); }
4975 . { BEGIN INITIAL; }
4976 %%
4977 #ifdef YYTEXT_POINTER
4978 extern char *yytext;
4979 #endif
4980 int
4981 main (void)
4982 {
4983 return ! yylex () + ! yywrap ();
4984 }
4985 _ACEOF
4986 { { ac_try="$LEX conftest.l"
4987 case "(($ac_try" in
4988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4989 *) ac_try_echo=$ac_try;;
4990 esac
4991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4992 $as_echo "$ac_try_echo"; } >&5
4993 (eval "$LEX conftest.l") 2>&5
4994 ac_status=$?
4995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4996 test $ac_status = 0; }
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4998 $as_echo_n "checking lex output file root... " >&6; }
4999 if ${ac_cv_prog_lex_root+:} false; then :
5000 $as_echo_n "(cached) " >&6
5001 else
5002
5003 if test -f lex.yy.c; then
5004 ac_cv_prog_lex_root=lex.yy
5005 elif test -f lexyy.c; then
5006 ac_cv_prog_lex_root=lexyy
5007 else
5008 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
5009 fi
5010 fi
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5012 $as_echo "$ac_cv_prog_lex_root" >&6; }
5013 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5014
5015 if test -z "${LEXLIB+set}"; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5017 $as_echo_n "checking lex library... " >&6; }
5018 if ${ac_cv_lib_lex+:} false; then :
5019 $as_echo_n "(cached) " >&6
5020 else
5021
5022 ac_save_LIBS=$LIBS
5023 ac_cv_lib_lex='none needed'
5024 for ac_lib in '' -lfl -ll; do
5025 LIBS="$ac_lib $ac_save_LIBS"
5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h. */
5028 `cat $LEX_OUTPUT_ROOT.c`
5029 _ACEOF
5030 if ac_fn_cxx_try_link "$LINENO"; then :
5031 ac_cv_lib_lex=$ac_lib
5032 fi
5033 rm -f core conftest.err conftest.$ac_objext \
5034 conftest$ac_exeext conftest.$ac_ext
5035 test "$ac_cv_lib_lex" != 'none needed' && break
5036 done
5037 LIBS=$ac_save_LIBS
5038
5039 fi
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5041 $as_echo "$ac_cv_lib_lex" >&6; }
5042 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5043 fi
5044
5045
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5047 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5048 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
5049 $as_echo_n "(cached) " >&6
5050 else
5051 # POSIX says lex can declare yytext either as a pointer or an array; the
5052 # default is implementation-dependent. Figure out which it is, since
5053 # not all implementations provide the %pointer and %array declarations.
5054 ac_cv_prog_lex_yytext_pointer=no
5055 ac_save_LIBS=$LIBS
5056 LIBS="$LEXLIB $ac_save_LIBS"
5057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5059
5060 #define YYTEXT_POINTER 1
5061 `cat $LEX_OUTPUT_ROOT.c`
5062 _ACEOF
5063 if ac_fn_cxx_try_link "$LINENO"; then :
5064 ac_cv_prog_lex_yytext_pointer=yes
5065 fi
5066 rm -f core conftest.err conftest.$ac_objext \
5067 conftest$ac_exeext conftest.$ac_ext
5068 LIBS=$ac_save_LIBS
5069
5070 fi
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5072 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5073 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5074
5075 $as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h
5076
5077 fi
5078 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5079
5080 fi
5081 if test "$LEX" = :; then
5082 LEX=${am_missing_run}flex
5083 fi
5084 for ac_prog in 'bison -y' byacc
5085 do
5086 # Extract the first word of "$ac_prog", so it can be a program name with args.
5087 set dummy $ac_prog; ac_word=$2
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5089 $as_echo_n "checking for $ac_word... " >&6; }
5090 if ${ac_cv_prog_YACC+:} false; then :
5091 $as_echo_n "(cached) " >&6
5092 else
5093 if test -n "$YACC"; then
5094 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5095 else
5096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5097 for as_dir in $PATH
5098 do
5099 IFS=$as_save_IFS
5100 test -z "$as_dir" && as_dir=.
5101 for ac_exec_ext in '' $ac_executable_extensions; do
5102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5103 ac_cv_prog_YACC="$ac_prog"
5104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 break 2
5106 fi
5107 done
5108 done
5109 IFS=$as_save_IFS
5110
5111 fi
5112 fi
5113 YACC=$ac_cv_prog_YACC
5114 if test -n "$YACC"; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5116 $as_echo "$YACC" >&6; }
5117 else
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5120 fi
5121
5122
5123 test -n "$YACC" && break
5124 done
5125 test -n "$YACC" || YACC="yacc"
5126
5127
5128 case `pwd` in
5129 *\ * | *\ *)
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5131 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5132 esac
5133
5134
5135
5136 macro_version='2.2.6b'
5137 macro_revision='1.3017'
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151 ltmain="$ac_aux_dir/ltmain.sh"
5152
5153 # Make sure we can run config.sub.
5154 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5155 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5156
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5158 $as_echo_n "checking build system type... " >&6; }
5159 if ${ac_cv_build+:} false; then :
5160 $as_echo_n "(cached) " >&6
5161 else
5162 ac_build_alias=$build_alias
5163 test "x$ac_build_alias" = x &&
5164 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5165 test "x$ac_build_alias" = x &&
5166 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5167 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5168 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5169
5170 fi
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5172 $as_echo "$ac_cv_build" >&6; }
5173 case $ac_cv_build in
5174 *-*-*) ;;
5175 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5176 esac
5177 build=$ac_cv_build
5178 ac_save_IFS=$IFS; IFS='-'
5179 set x $ac_cv_build
5180 shift
5181 build_cpu=$1
5182 build_vendor=$2
5183 shift; shift
5184 # Remember, the first character of IFS is used to create $*,
5185 # except with old shells:
5186 build_os=$*
5187 IFS=$ac_save_IFS
5188 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5189
5190
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5192 $as_echo_n "checking host system type... " >&6; }
5193 if ${ac_cv_host+:} false; then :
5194 $as_echo_n "(cached) " >&6
5195 else
5196 if test "x$host_alias" = x; then
5197 ac_cv_host=$ac_cv_build
5198 else
5199 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5200 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5201 fi
5202
5203 fi
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5205 $as_echo "$ac_cv_host" >&6; }
5206 case $ac_cv_host in
5207 *-*-*) ;;
5208 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5209 esac
5210 host=$ac_cv_host
5211 ac_save_IFS=$IFS; IFS='-'
5212 set x $ac_cv_host
5213 shift
5214 host_cpu=$1
5215 host_vendor=$2
5216 shift; shift
5217 # Remember, the first character of IFS is used to create $*,
5218 # except with old shells:
5219 host_os=$*
5220 IFS=$ac_save_IFS
5221 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5222
5223
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5225 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5226 if ${ac_cv_path_SED+:} false; then :
5227 $as_echo_n "(cached) " >&6
5228 else
5229 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5230 for ac_i in 1 2 3 4 5 6 7; do
5231 ac_script="$ac_script$as_nl$ac_script"
5232 done
5233 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5234 { ac_script=; unset ac_script;}
5235 if test -z "$SED"; then
5236 ac_path_SED_found=false
5237 # Loop through the user's path and test for each of PROGNAME-LIST
5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 for as_dir in $PATH
5240 do
5241 IFS=$as_save_IFS
5242 test -z "$as_dir" && as_dir=.
5243 for ac_prog in sed gsed; do
5244 for ac_exec_ext in '' $ac_executable_extensions; do
5245 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5246 as_fn_executable_p "$ac_path_SED" || continue
5247 # Check for GNU ac_path_SED and select it if it is found.
5248 # Check for GNU $ac_path_SED
5249 case `"$ac_path_SED" --version 2>&1` in
5250 *GNU*)
5251 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5252 *)
5253 ac_count=0
5254 $as_echo_n 0123456789 >"conftest.in"
5255 while :
5256 do
5257 cat "conftest.in" "conftest.in" >"conftest.tmp"
5258 mv "conftest.tmp" "conftest.in"
5259 cp "conftest.in" "conftest.nl"
5260 $as_echo '' >> "conftest.nl"
5261 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5262 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5263 as_fn_arith $ac_count + 1 && ac_count=$as_val
5264 if test $ac_count -gt ${ac_path_SED_max-0}; then
5265 # Best one so far, save it but keep looking for a better one
5266 ac_cv_path_SED="$ac_path_SED"
5267 ac_path_SED_max=$ac_count
5268 fi
5269 # 10*(2^10) chars as input seems more than enough
5270 test $ac_count -gt 10 && break
5271 done
5272 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5273 esac
5274
5275 $ac_path_SED_found && break 3
5276 done
5277 done
5278 done
5279 IFS=$as_save_IFS
5280 if test -z "$ac_cv_path_SED"; then
5281 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5282 fi
5283 else
5284 ac_cv_path_SED=$SED
5285 fi
5286
5287 fi
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5289 $as_echo "$ac_cv_path_SED" >&6; }
5290 SED="$ac_cv_path_SED"
5291 rm -f conftest.sed
5292
5293 test -z "$SED" && SED=sed
5294 Xsed="$SED -e 1s/^X//"
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5307 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5308 if ${ac_cv_path_GREP+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 if test -z "$GREP"; then
5312 ac_path_GREP_found=false
5313 # Loop through the user's path and test for each of PROGNAME-LIST
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5316 do
5317 IFS=$as_save_IFS
5318 test -z "$as_dir" && as_dir=.
5319 for ac_prog in grep ggrep; do
5320 for ac_exec_ext in '' $ac_executable_extensions; do
5321 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5322 as_fn_executable_p "$ac_path_GREP" || continue
5323 # Check for GNU ac_path_GREP and select it if it is found.
5324 # Check for GNU $ac_path_GREP
5325 case `"$ac_path_GREP" --version 2>&1` in
5326 *GNU*)
5327 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5328 *)
5329 ac_count=0
5330 $as_echo_n 0123456789 >"conftest.in"
5331 while :
5332 do
5333 cat "conftest.in" "conftest.in" >"conftest.tmp"
5334 mv "conftest.tmp" "conftest.in"
5335 cp "conftest.in" "conftest.nl"
5336 $as_echo 'GREP' >> "conftest.nl"
5337 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5338 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5339 as_fn_arith $ac_count + 1 && ac_count=$as_val
5340 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5341 # Best one so far, save it but keep looking for a better one
5342 ac_cv_path_GREP="$ac_path_GREP"
5343 ac_path_GREP_max=$ac_count
5344 fi
5345 # 10*(2^10) chars as input seems more than enough
5346 test $ac_count -gt 10 && break
5347 done
5348 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5349 esac
5350
5351 $ac_path_GREP_found && break 3
5352 done
5353 done
5354 done
5355 IFS=$as_save_IFS
5356 if test -z "$ac_cv_path_GREP"; then
5357 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5358 fi
5359 else
5360 ac_cv_path_GREP=$GREP
5361 fi
5362
5363 fi
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5365 $as_echo "$ac_cv_path_GREP" >&6; }
5366 GREP="$ac_cv_path_GREP"
5367
5368
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5370 $as_echo_n "checking for egrep... " >&6; }
5371 if ${ac_cv_path_EGREP+:} false; then :
5372 $as_echo_n "(cached) " >&6
5373 else
5374 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5375 then ac_cv_path_EGREP="$GREP -E"
5376 else
5377 if test -z "$EGREP"; then
5378 ac_path_EGREP_found=false
5379 # Loop through the user's path and test for each of PROGNAME-LIST
5380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5382 do
5383 IFS=$as_save_IFS
5384 test -z "$as_dir" && as_dir=.
5385 for ac_prog in egrep; do
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5388 as_fn_executable_p "$ac_path_EGREP" || continue
5389 # Check for GNU ac_path_EGREP and select it if it is found.
5390 # Check for GNU $ac_path_EGREP
5391 case `"$ac_path_EGREP" --version 2>&1` in
5392 *GNU*)
5393 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5394 *)
5395 ac_count=0
5396 $as_echo_n 0123456789 >"conftest.in"
5397 while :
5398 do
5399 cat "conftest.in" "conftest.in" >"conftest.tmp"
5400 mv "conftest.tmp" "conftest.in"
5401 cp "conftest.in" "conftest.nl"
5402 $as_echo 'EGREP' >> "conftest.nl"
5403 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5404 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5405 as_fn_arith $ac_count + 1 && ac_count=$as_val
5406 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5407 # Best one so far, save it but keep looking for a better one
5408 ac_cv_path_EGREP="$ac_path_EGREP"
5409 ac_path_EGREP_max=$ac_count
5410 fi
5411 # 10*(2^10) chars as input seems more than enough
5412 test $ac_count -gt 10 && break
5413 done
5414 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5415 esac
5416
5417 $ac_path_EGREP_found && break 3
5418 done
5419 done
5420 done
5421 IFS=$as_save_IFS
5422 if test -z "$ac_cv_path_EGREP"; then
5423 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5424 fi
5425 else
5426 ac_cv_path_EGREP=$EGREP
5427 fi
5428
5429 fi
5430 fi
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5432 $as_echo "$ac_cv_path_EGREP" >&6; }
5433 EGREP="$ac_cv_path_EGREP"
5434
5435
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5437 $as_echo_n "checking for fgrep... " >&6; }
5438 if ${ac_cv_path_FGREP+:} false; then :
5439 $as_echo_n "(cached) " >&6
5440 else
5441 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5442 then ac_cv_path_FGREP="$GREP -F"
5443 else
5444 if test -z "$FGREP"; then
5445 ac_path_FGREP_found=false
5446 # Loop through the user's path and test for each of PROGNAME-LIST
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5449 do
5450 IFS=$as_save_IFS
5451 test -z "$as_dir" && as_dir=.
5452 for ac_prog in fgrep; do
5453 for ac_exec_ext in '' $ac_executable_extensions; do
5454 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5455 as_fn_executable_p "$ac_path_FGREP" || continue
5456 # Check for GNU ac_path_FGREP and select it if it is found.
5457 # Check for GNU $ac_path_FGREP
5458 case `"$ac_path_FGREP" --version 2>&1` in
5459 *GNU*)
5460 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5461 *)
5462 ac_count=0
5463 $as_echo_n 0123456789 >"conftest.in"
5464 while :
5465 do
5466 cat "conftest.in" "conftest.in" >"conftest.tmp"
5467 mv "conftest.tmp" "conftest.in"
5468 cp "conftest.in" "conftest.nl"
5469 $as_echo 'FGREP' >> "conftest.nl"
5470 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5471 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5472 as_fn_arith $ac_count + 1 && ac_count=$as_val
5473 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5474 # Best one so far, save it but keep looking for a better one
5475 ac_cv_path_FGREP="$ac_path_FGREP"
5476 ac_path_FGREP_max=$ac_count
5477 fi
5478 # 10*(2^10) chars as input seems more than enough
5479 test $ac_count -gt 10 && break
5480 done
5481 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5482 esac
5483
5484 $ac_path_FGREP_found && break 3
5485 done
5486 done
5487 done
5488 IFS=$as_save_IFS
5489 if test -z "$ac_cv_path_FGREP"; then
5490 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5491 fi
5492 else
5493 ac_cv_path_FGREP=$FGREP
5494 fi
5495
5496 fi
5497 fi
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5499 $as_echo "$ac_cv_path_FGREP" >&6; }
5500 FGREP="$ac_cv_path_FGREP"
5501
5502
5503 test -z "$GREP" && GREP=grep
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523 @%:@ Check whether --with-gnu-ld was given.
5524 if test "${with_gnu_ld+set}" = set; then :
5525 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5526 else
5527 with_gnu_ld=no
5528 fi
5529
5530 ac_prog=ld
5531 if test "$GCC" = yes; then
5532 # Check if gcc -print-prog-name=ld gives a path.
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5534 $as_echo_n "checking for ld used by $CC... " >&6; }
5535 case $host in
5536 *-*-mingw*)
5537 # gcc leaves a trailing carriage return which upsets mingw
5538 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5539 *)
5540 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5541 esac
5542 case $ac_prog in
5543 # Accept absolute paths.
5544 [\\/]* | ?:[\\/]*)
5545 re_direlt='/[^/][^/]*/\.\./'
5546 # Canonicalize the pathname of ld
5547 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5548 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5549 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5550 done
5551 test -z "$LD" && LD="$ac_prog"
5552 ;;
5553 "")
5554 # If it fails, then pretend we aren't using GCC.
5555 ac_prog=ld
5556 ;;
5557 *)
5558 # If it is relative, then search for the first ld in PATH.
5559 with_gnu_ld=unknown
5560 ;;
5561 esac
5562 elif test "$with_gnu_ld" = yes; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5564 $as_echo_n "checking for GNU ld... " >&6; }
5565 else
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5567 $as_echo_n "checking for non-GNU ld... " >&6; }
5568 fi
5569 if ${lt_cv_path_LD+:} false; then :
5570 $as_echo_n "(cached) " >&6
5571 else
5572 if test -z "$LD"; then
5573 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5574 for ac_dir in $PATH; do
5575 IFS="$lt_save_ifs"
5576 test -z "$ac_dir" && ac_dir=.
5577 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5578 lt_cv_path_LD="$ac_dir/$ac_prog"
5579 # Check to see if the program is GNU ld. I'd rather use --version,
5580 # but apparently some variants of GNU ld only accept -v.
5581 # Break only if it was the GNU/non-GNU ld that we prefer.
5582 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5583 *GNU* | *'with BFD'*)
5584 test "$with_gnu_ld" != no && break
5585 ;;
5586 *)
5587 test "$with_gnu_ld" != yes && break
5588 ;;
5589 esac
5590 fi
5591 done
5592 IFS="$lt_save_ifs"
5593 else
5594 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5595 fi
5596 fi
5597
5598 LD="$lt_cv_path_LD"
5599 if test -n "$LD"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5601 $as_echo "$LD" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5605 fi
5606 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5608 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5609 if ${lt_cv_prog_gnu_ld+:} false; then :
5610 $as_echo_n "(cached) " >&6
5611 else
5612 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5613 case `$LD -v 2>&1 </dev/null` in
5614 *GNU* | *'with BFD'*)
5615 lt_cv_prog_gnu_ld=yes
5616 ;;
5617 *)
5618 lt_cv_prog_gnu_ld=no
5619 ;;
5620 esac
5621 fi
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5623 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5624 with_gnu_ld=$lt_cv_prog_gnu_ld
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5635 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5636 if ${lt_cv_path_NM+:} false; then :
5637 $as_echo_n "(cached) " >&6
5638 else
5639 if test -n "$NM"; then
5640 # Let the user override the test.
5641 lt_cv_path_NM="$NM"
5642 else
5643 lt_nm_to_check="${ac_tool_prefix}nm"
5644 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5645 lt_nm_to_check="$lt_nm_to_check nm"
5646 fi
5647 for lt_tmp_nm in $lt_nm_to_check; do
5648 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5649 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5650 IFS="$lt_save_ifs"
5651 test -z "$ac_dir" && ac_dir=.
5652 tmp_nm="$ac_dir/$lt_tmp_nm"
5653 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5654 # Check to see if the nm accepts a BSD-compat flag.
5655 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5656 # nm: unknown option "B" ignored
5657 # Tru64's nm complains that /dev/null is an invalid object file
5658 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5659 */dev/null* | *'Invalid file or object type'*)
5660 lt_cv_path_NM="$tmp_nm -B"
5661 break
5662 ;;
5663 *)
5664 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5665 */dev/null*)
5666 lt_cv_path_NM="$tmp_nm -p"
5667 break
5668 ;;
5669 *)
5670 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5671 continue # so that we can try to find one that supports BSD flags
5672 ;;
5673 esac
5674 ;;
5675 esac
5676 fi
5677 done
5678 IFS="$lt_save_ifs"
5679 done
5680 : ${lt_cv_path_NM=no}
5681 fi
5682 fi
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5684 $as_echo "$lt_cv_path_NM" >&6; }
5685 if test "$lt_cv_path_NM" != "no"; then
5686 NM="$lt_cv_path_NM"
5687 else
5688 # Didn't find any BSD compatible name lister, look for dumpbin.
5689 if test -n "$ac_tool_prefix"; then
5690 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5691 do
5692 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5693 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_prog_DUMPBIN+:} false; then :
5697 $as_echo_n "(cached) " >&6
5698 else
5699 if test -n "$DUMPBIN"; then
5700 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5701 else
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 for as_dir in $PATH
5704 do
5705 IFS=$as_save_IFS
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 break 2
5712 fi
5713 done
5714 done
5715 IFS=$as_save_IFS
5716
5717 fi
5718 fi
5719 DUMPBIN=$ac_cv_prog_DUMPBIN
5720 if test -n "$DUMPBIN"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5722 $as_echo "$DUMPBIN" >&6; }
5723 else
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5726 fi
5727
5728
5729 test -n "$DUMPBIN" && break
5730 done
5731 fi
5732 if test -z "$DUMPBIN"; then
5733 ac_ct_DUMPBIN=$DUMPBIN
5734 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5735 do
5736 # Extract the first word of "$ac_prog", so it can be a program name with args.
5737 set dummy $ac_prog; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5741 $as_echo_n "(cached) " >&6
5742 else
5743 if test -n "$ac_ct_DUMPBIN"; then
5744 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5745 else
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 for as_dir in $PATH
5748 do
5749 IFS=$as_save_IFS
5750 test -z "$as_dir" && as_dir=.
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 break 2
5756 fi
5757 done
5758 done
5759 IFS=$as_save_IFS
5760
5761 fi
5762 fi
5763 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5764 if test -n "$ac_ct_DUMPBIN"; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5766 $as_echo "$ac_ct_DUMPBIN" >&6; }
5767 else
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5770 fi
5771
5772
5773 test -n "$ac_ct_DUMPBIN" && break
5774 done
5775
5776 if test "x$ac_ct_DUMPBIN" = x; then
5777 DUMPBIN=":"
5778 else
5779 case $cross_compiling:$ac_tool_warned in
5780 yes:)
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5783 ac_tool_warned=yes ;;
5784 esac
5785 DUMPBIN=$ac_ct_DUMPBIN
5786 fi
5787 fi
5788
5789
5790 if test "$DUMPBIN" != ":"; then
5791 NM="$DUMPBIN"
5792 fi
5793 fi
5794 test -z "$NM" && NM=nm
5795
5796
5797
5798
5799
5800
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5802 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5803 if ${lt_cv_nm_interface+:} false; then :
5804 $as_echo_n "(cached) " >&6
5805 else
5806 lt_cv_nm_interface="BSD nm"
5807 echo "int some_variable = 0;" > conftest.$ac_ext
5808 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
5809 (eval "$ac_compile" 2>conftest.err)
5810 cat conftest.err >&5
5811 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5812 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5813 cat conftest.err >&5
5814 (eval echo "\"\$as_me:__oline__: output\"" >&5)
5815 cat conftest.out >&5
5816 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5817 lt_cv_nm_interface="MS dumpbin"
5818 fi
5819 rm -f conftest*
5820 fi
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5822 $as_echo "$lt_cv_nm_interface" >&6; }
5823
5824 # find the maximum length of command line arguments
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5826 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5827 if ${lt_cv_sys_max_cmd_len+:} false; then :
5828 $as_echo_n "(cached) " >&6
5829 else
5830 i=0
5831 teststring="ABCD"
5832
5833 case $build_os in
5834 msdosdjgpp*)
5835 # On DJGPP, this test can blow up pretty badly due to problems in libc
5836 # (any single argument exceeding 2000 bytes causes a buffer overrun
5837 # during glob expansion). Even if it were fixed, the result of this
5838 # check would be larger than it should be.
5839 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5840 ;;
5841
5842 gnu*)
5843 # Under GNU Hurd, this test is not required because there is
5844 # no limit to the length of command line arguments.
5845 # Libtool will interpret -1 as no limit whatsoever
5846 lt_cv_sys_max_cmd_len=-1;
5847 ;;
5848
5849 cygwin* | mingw* | cegcc*)
5850 # On Win9x/ME, this test blows up -- it succeeds, but takes
5851 # about 5 minutes as the teststring grows exponentially.
5852 # Worse, since 9x/ME are not pre-emptively multitasking,
5853 # you end up with a "frozen" computer, even though with patience
5854 # the test eventually succeeds (with a max line length of 256k).
5855 # Instead, let's just punt: use the minimum linelength reported by
5856 # all of the supported platforms: 8192 (on NT/2K/XP).
5857 lt_cv_sys_max_cmd_len=8192;
5858 ;;
5859
5860 amigaos*)
5861 # On AmigaOS with pdksh, this test takes hours, literally.
5862 # So we just punt and use a minimum line length of 8192.
5863 lt_cv_sys_max_cmd_len=8192;
5864 ;;
5865
5866 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5867 # This has been around since 386BSD, at least. Likely further.
5868 if test -x /sbin/sysctl; then
5869 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5870 elif test -x /usr/sbin/sysctl; then
5871 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5872 else
5873 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5874 fi
5875 # And add a safety zone
5876 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5877 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5878 ;;
5879
5880 interix*)
5881 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5882 lt_cv_sys_max_cmd_len=196608
5883 ;;
5884
5885 osf*)
5886 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5887 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5888 # nice to cause kernel panics so lets avoid the loop below.
5889 # First set a reasonable default.
5890 lt_cv_sys_max_cmd_len=16384
5891 #
5892 if test -x /sbin/sysconfig; then
5893 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5894 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5895 esac
5896 fi
5897 ;;
5898 sco3.2v5*)
5899 lt_cv_sys_max_cmd_len=102400
5900 ;;
5901 sysv5* | sco5v6* | sysv4.2uw2*)
5902 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5903 if test -n "$kargmax"; then
5904 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5905 else
5906 lt_cv_sys_max_cmd_len=32768
5907 fi
5908 ;;
5909 *)
5910 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5911 if test -n "$lt_cv_sys_max_cmd_len"; then
5912 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5914 else
5915 # Make teststring a little bigger before we do anything with it.
5916 # a 1K string should be a reasonable start.
5917 for i in 1 2 3 4 5 6 7 8 ; do
5918 teststring=$teststring$teststring
5919 done
5920 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5921 # If test is not a shell built-in, we'll probably end up computing a
5922 # maximum length that is only half of the actual maximum length, but
5923 # we can't tell.
5924 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5925 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5926 test $i != 17 # 1/2 MB should be enough
5927 do
5928 i=`expr $i + 1`
5929 teststring=$teststring$teststring
5930 done
5931 # Only check the string length outside the loop.
5932 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5933 teststring=
5934 # Add a significant safety factor because C++ compilers can tack on
5935 # massive amounts of additional arguments before passing them to the
5936 # linker. It appears as though 1/2 is a usable value.
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5938 fi
5939 ;;
5940 esac
5941
5942 fi
5943
5944 if test -n $lt_cv_sys_max_cmd_len ; then
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5946 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5947 else
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5949 $as_echo "none" >&6; }
5950 fi
5951 max_cmd_len=$lt_cv_sys_max_cmd_len
5952
5953
5954
5955
5956
5957
5958 : ${CP="cp -f"}
5959 : ${MV="mv -f"}
5960 : ${RM="rm -f"}
5961
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5963 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5964 # Try some XSI features
5965 xsi_shell=no
5966 ( _lt_dummy="a/b/c"
5967 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5968 = c,a/b,, \
5969 && eval 'test $(( 1 + 1 )) -eq 2 \
5970 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5971 && xsi_shell=yes
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5973 $as_echo "$xsi_shell" >&6; }
5974
5975
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5977 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5978 lt_shell_append=no
5979 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5980 >/dev/null 2>&1 \
5981 && lt_shell_append=yes
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5983 $as_echo "$lt_shell_append" >&6; }
5984
5985
5986 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5987 lt_unset=unset
5988 else
5989 lt_unset=false
5990 fi
5991
5992
5993
5994
5995
5996 # test EBCDIC or ASCII
5997 case `echo X|tr X '\101'` in
5998 A) # ASCII based system
5999 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6000 lt_SP2NL='tr \040 \012'
6001 lt_NL2SP='tr \015\012 \040\040'
6002 ;;
6003 *) # EBCDIC based system
6004 lt_SP2NL='tr \100 \n'
6005 lt_NL2SP='tr \r\n \100\100'
6006 ;;
6007 esac
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6018 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6019 if ${lt_cv_ld_reload_flag+:} false; then :
6020 $as_echo_n "(cached) " >&6
6021 else
6022 lt_cv_ld_reload_flag='-r'
6023 fi
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6025 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6026 reload_flag=$lt_cv_ld_reload_flag
6027 case $reload_flag in
6028 "" | " "*) ;;
6029 *) reload_flag=" $reload_flag" ;;
6030 esac
6031 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6032 case $host_os in
6033 darwin*)
6034 if test "$GCC" = yes; then
6035 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6036 else
6037 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6038 fi
6039 ;;
6040 esac
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050 if test -n "$ac_tool_prefix"; then
6051 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6052 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; }
6055 if ${ac_cv_prog_OBJDUMP+:} false; then :
6056 $as_echo_n "(cached) " >&6
6057 else
6058 if test -n "$OBJDUMP"; then
6059 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6060 else
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 for as_dir in $PATH
6063 do
6064 IFS=$as_save_IFS
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6070 break 2
6071 fi
6072 done
6073 done
6074 IFS=$as_save_IFS
6075
6076 fi
6077 fi
6078 OBJDUMP=$ac_cv_prog_OBJDUMP
6079 if test -n "$OBJDUMP"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6081 $as_echo "$OBJDUMP" >&6; }
6082 else
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 $as_echo "no" >&6; }
6085 fi
6086
6087
6088 fi
6089 if test -z "$ac_cv_prog_OBJDUMP"; then
6090 ac_ct_OBJDUMP=$OBJDUMP
6091 # Extract the first word of "objdump", so it can be a program name with args.
6092 set dummy objdump; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 $as_echo_n "checking for $ac_word... " >&6; }
6095 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6096 $as_echo_n "(cached) " >&6
6097 else
6098 if test -n "$ac_ct_OBJDUMP"; then
6099 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6100 else
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 for as_dir in $PATH
6103 do
6104 IFS=$as_save_IFS
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 break 2
6111 fi
6112 done
6113 done
6114 IFS=$as_save_IFS
6115
6116 fi
6117 fi
6118 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6119 if test -n "$ac_ct_OBJDUMP"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6121 $as_echo "$ac_ct_OBJDUMP" >&6; }
6122 else
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6125 fi
6126
6127 if test "x$ac_ct_OBJDUMP" = x; then
6128 OBJDUMP="false"
6129 else
6130 case $cross_compiling:$ac_tool_warned in
6131 yes:)
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6134 ac_tool_warned=yes ;;
6135 esac
6136 OBJDUMP=$ac_ct_OBJDUMP
6137 fi
6138 else
6139 OBJDUMP="$ac_cv_prog_OBJDUMP"
6140 fi
6141
6142 test -z "$OBJDUMP" && OBJDUMP=objdump
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6153 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6154 if ${lt_cv_deplibs_check_method+:} false; then :
6155 $as_echo_n "(cached) " >&6
6156 else
6157 lt_cv_file_magic_cmd='$MAGIC_CMD'
6158 lt_cv_file_magic_test_file=
6159 lt_cv_deplibs_check_method='unknown'
6160 # Need to set the preceding variable on all platforms that support
6161 # interlibrary dependencies.
6162 # 'none' -- dependencies not supported.
6163 # `unknown' -- same as none, but documents that we really don't know.
6164 # 'pass_all' -- all dependencies passed with no checks.
6165 # 'test_compile' -- check by making test program.
6166 # 'file_magic [[regex]]' -- check by looking for files in library path
6167 # which responds to the $file_magic_cmd with a given extended regex.
6168 # If you have `file' or equivalent on your system and you're not sure
6169 # whether `pass_all' will *always* work, you probably want this one.
6170
6171 case $host_os in
6172 aix[4-9]*)
6173 lt_cv_deplibs_check_method=pass_all
6174 ;;
6175
6176 beos*)
6177 lt_cv_deplibs_check_method=pass_all
6178 ;;
6179
6180 bsdi[45]*)
6181 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6182 lt_cv_file_magic_cmd='/usr/bin/file -L'
6183 lt_cv_file_magic_test_file=/shlib/libc.so
6184 ;;
6185
6186 cygwin*)
6187 # func_win32_libid is a shell function defined in ltmain.sh
6188 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6189 lt_cv_file_magic_cmd='func_win32_libid'
6190 ;;
6191
6192 mingw* | pw32*)
6193 # Base MSYS/MinGW do not provide the 'file' command needed by
6194 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6195 # unless we find 'file', for example because we are cross-compiling.
6196 if ( file / ) >/dev/null 2>&1; then
6197 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6198 lt_cv_file_magic_cmd='func_win32_libid'
6199 else
6200 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6201 lt_cv_file_magic_cmd='$OBJDUMP -f'
6202 fi
6203 ;;
6204
6205 cegcc)
6206 # use the weaker test based on 'objdump'. See mingw*.
6207 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6208 lt_cv_file_magic_cmd='$OBJDUMP -f'
6209 ;;
6210
6211 darwin* | rhapsody*)
6212 lt_cv_deplibs_check_method=pass_all
6213 ;;
6214
6215 freebsd* | dragonfly*)
6216 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6217 case $host_cpu in
6218 i*86 )
6219 # Not sure whether the presence of OpenBSD here was a mistake.
6220 # Let's accept both of them until this is cleared up.
6221 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6222 lt_cv_file_magic_cmd=/usr/bin/file
6223 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6224 ;;
6225 esac
6226 else
6227 lt_cv_deplibs_check_method=pass_all
6228 fi
6229 ;;
6230
6231 gnu*)
6232 lt_cv_deplibs_check_method=pass_all
6233 ;;
6234
6235 hpux10.20* | hpux11*)
6236 lt_cv_file_magic_cmd=/usr/bin/file
6237 case $host_cpu in
6238 ia64*)
6239 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6240 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6241 ;;
6242 hppa*64*)
6243 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6244 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6245 ;;
6246 *)
6247 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6248 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6249 ;;
6250 esac
6251 ;;
6252
6253 interix[3-9]*)
6254 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6255 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6256 ;;
6257
6258 irix5* | irix6* | nonstopux*)
6259 case $LD in
6260 *-32|*"-32 ") libmagic=32-bit;;
6261 *-n32|*"-n32 ") libmagic=N32;;
6262 *-64|*"-64 ") libmagic=64-bit;;
6263 *) libmagic=never-match;;
6264 esac
6265 lt_cv_deplibs_check_method=pass_all
6266 ;;
6267
6268 # This must be Linux ELF.
6269 linux* | k*bsd*-gnu)
6270 lt_cv_deplibs_check_method=pass_all
6271 ;;
6272
6273 netbsd*)
6274 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6275 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6276 else
6277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6278 fi
6279 ;;
6280
6281 newos6*)
6282 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6283 lt_cv_file_magic_cmd=/usr/bin/file
6284 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6285 ;;
6286
6287 *nto* | *qnx*)
6288 lt_cv_deplibs_check_method=pass_all
6289 ;;
6290
6291 openbsd*)
6292 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6294 else
6295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6296 fi
6297 ;;
6298
6299 osf3* | osf4* | osf5*)
6300 lt_cv_deplibs_check_method=pass_all
6301 ;;
6302
6303 rdos*)
6304 lt_cv_deplibs_check_method=pass_all
6305 ;;
6306
6307 solaris*)
6308 lt_cv_deplibs_check_method=pass_all
6309 ;;
6310
6311 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6312 lt_cv_deplibs_check_method=pass_all
6313 ;;
6314
6315 sysv4 | sysv4.3*)
6316 case $host_vendor in
6317 motorola)
6318 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]'
6319 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6320 ;;
6321 ncr)
6322 lt_cv_deplibs_check_method=pass_all
6323 ;;
6324 sequent)
6325 lt_cv_file_magic_cmd='/bin/file'
6326 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6327 ;;
6328 sni)
6329 lt_cv_file_magic_cmd='/bin/file'
6330 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6331 lt_cv_file_magic_test_file=/lib/libc.so
6332 ;;
6333 siemens)
6334 lt_cv_deplibs_check_method=pass_all
6335 ;;
6336 pc)
6337 lt_cv_deplibs_check_method=pass_all
6338 ;;
6339 esac
6340 ;;
6341
6342 tpf*)
6343 lt_cv_deplibs_check_method=pass_all
6344 ;;
6345 esac
6346
6347 fi
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6349 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6350 file_magic_cmd=$lt_cv_file_magic_cmd
6351 deplibs_check_method=$lt_cv_deplibs_check_method
6352 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365 if test -n "$ac_tool_prefix"; then
6366 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6367 set dummy ${ac_tool_prefix}ar; ac_word=$2
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6369 $as_echo_n "checking for $ac_word... " >&6; }
6370 if ${ac_cv_prog_AR+:} false; then :
6371 $as_echo_n "(cached) " >&6
6372 else
6373 if test -n "$AR"; then
6374 ac_cv_prog_AR="$AR" # Let the user override the test.
6375 else
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6377 for as_dir in $PATH
6378 do
6379 IFS=$as_save_IFS
6380 test -z "$as_dir" && as_dir=.
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6383 ac_cv_prog_AR="${ac_tool_prefix}ar"
6384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6385 break 2
6386 fi
6387 done
6388 done
6389 IFS=$as_save_IFS
6390
6391 fi
6392 fi
6393 AR=$ac_cv_prog_AR
6394 if test -n "$AR"; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6396 $as_echo "$AR" >&6; }
6397 else
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6399 $as_echo "no" >&6; }
6400 fi
6401
6402
6403 fi
6404 if test -z "$ac_cv_prog_AR"; then
6405 ac_ct_AR=$AR
6406 # Extract the first word of "ar", so it can be a program name with args.
6407 set dummy ar; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6411 $as_echo_n "(cached) " >&6
6412 else
6413 if test -n "$ac_ct_AR"; then
6414 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6415 else
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in $PATH
6418 do
6419 IFS=$as_save_IFS
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6423 ac_cv_prog_ac_ct_AR="ar"
6424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425 break 2
6426 fi
6427 done
6428 done
6429 IFS=$as_save_IFS
6430
6431 fi
6432 fi
6433 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6434 if test -n "$ac_ct_AR"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6436 $as_echo "$ac_ct_AR" >&6; }
6437 else
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6440 fi
6441
6442 if test "x$ac_ct_AR" = x; then
6443 AR="false"
6444 else
6445 case $cross_compiling:$ac_tool_warned in
6446 yes:)
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6449 ac_tool_warned=yes ;;
6450 esac
6451 AR=$ac_ct_AR
6452 fi
6453 else
6454 AR="$ac_cv_prog_AR"
6455 fi
6456
6457 test -z "$AR" && AR=ar
6458 test -z "$AR_FLAGS" && AR_FLAGS=cru
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470 if test -n "$ac_tool_prefix"; then
6471 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6472 set dummy ${ac_tool_prefix}strip; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_STRIP+:} false; then :
6476 $as_echo_n "(cached) " >&6
6477 else
6478 if test -n "$STRIP"; then
6479 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6480 else
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 for as_dir in $PATH
6483 do
6484 IFS=$as_save_IFS
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 break 2
6491 fi
6492 done
6493 done
6494 IFS=$as_save_IFS
6495
6496 fi
6497 fi
6498 STRIP=$ac_cv_prog_STRIP
6499 if test -n "$STRIP"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6501 $as_echo "$STRIP" >&6; }
6502 else
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6505 fi
6506
6507
6508 fi
6509 if test -z "$ac_cv_prog_STRIP"; then
6510 ac_ct_STRIP=$STRIP
6511 # Extract the first word of "strip", so it can be a program name with args.
6512 set dummy strip; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6516 $as_echo_n "(cached) " >&6
6517 else
6518 if test -n "$ac_ct_STRIP"; then
6519 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6523 do
6524 IFS=$as_save_IFS
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6528 ac_cv_prog_ac_ct_STRIP="strip"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 break 2
6531 fi
6532 done
6533 done
6534 IFS=$as_save_IFS
6535
6536 fi
6537 fi
6538 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6539 if test -n "$ac_ct_STRIP"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6541 $as_echo "$ac_ct_STRIP" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6545 fi
6546
6547 if test "x$ac_ct_STRIP" = x; then
6548 STRIP=":"
6549 else
6550 case $cross_compiling:$ac_tool_warned in
6551 yes:)
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6554 ac_tool_warned=yes ;;
6555 esac
6556 STRIP=$ac_ct_STRIP
6557 fi
6558 else
6559 STRIP="$ac_cv_prog_STRIP"
6560 fi
6561
6562 test -z "$STRIP" && STRIP=:
6563
6564
6565
6566
6567
6568
6569 if test -n "$ac_tool_prefix"; then
6570 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6571 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if ${ac_cv_prog_RANLIB+:} false; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$RANLIB"; then
6578 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6582 do
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6587 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6590 fi
6591 done
6592 done
6593 IFS=$as_save_IFS
6594
6595 fi
6596 fi
6597 RANLIB=$ac_cv_prog_RANLIB
6598 if test -n "$RANLIB"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6600 $as_echo "$RANLIB" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6604 fi
6605
6606
6607 fi
6608 if test -z "$ac_cv_prog_RANLIB"; then
6609 ac_ct_RANLIB=$RANLIB
6610 # Extract the first word of "ranlib", so it can be a program name with args.
6611 set dummy ranlib; ac_word=$2
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613 $as_echo_n "checking for $ac_word... " >&6; }
6614 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6617 if test -n "$ac_ct_RANLIB"; then
6618 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6619 else
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 for as_dir in $PATH
6622 do
6623 IFS=$as_save_IFS
6624 test -z "$as_dir" && as_dir=.
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6627 ac_cv_prog_ac_ct_RANLIB="ranlib"
6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 break 2
6630 fi
6631 done
6632 done
6633 IFS=$as_save_IFS
6634
6635 fi
6636 fi
6637 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6638 if test -n "$ac_ct_RANLIB"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6640 $as_echo "$ac_ct_RANLIB" >&6; }
6641 else
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6644 fi
6645
6646 if test "x$ac_ct_RANLIB" = x; then
6647 RANLIB=":"
6648 else
6649 case $cross_compiling:$ac_tool_warned in
6650 yes:)
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6653 ac_tool_warned=yes ;;
6654 esac
6655 RANLIB=$ac_ct_RANLIB
6656 fi
6657 else
6658 RANLIB="$ac_cv_prog_RANLIB"
6659 fi
6660
6661 test -z "$RANLIB" && RANLIB=:
6662
6663
6664
6665
6666
6667
6668 # Determine commands to create old-style static archives.
6669 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6670 old_postinstall_cmds='chmod 644 $oldlib'
6671 old_postuninstall_cmds=
6672
6673 if test -n "$RANLIB"; then
6674 case $host_os in
6675 openbsd*)
6676 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6677 ;;
6678 *)
6679 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6680 ;;
6681 esac
6682 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6683 fi
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718 # If no C compiler was specified, use CC.
6719 LTCC=${LTCC-"$CC"}
6720
6721 # If no C compiler flags were specified, use CFLAGS.
6722 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6723
6724 # Allow CC to be a program name with arguments.
6725 compiler=$CC
6726
6727
6728 # Check for command to grab the raw symbol name followed by C symbol from nm.
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6730 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6731 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6732 $as_echo_n "(cached) " >&6
6733 else
6734
6735 # These are sane defaults that work on at least a few old systems.
6736 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6737
6738 # Character class describing NM global symbol codes.
6739 symcode='[BCDEGRST]'
6740
6741 # Regexp to match symbols that can be accessed directly from C.
6742 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6743
6744 # Define system-specific variables.
6745 case $host_os in
6746 aix*)
6747 symcode='[BCDT]'
6748 ;;
6749 cygwin* | mingw* | pw32* | cegcc*)
6750 symcode='[ABCDGISTW]'
6751 ;;
6752 hpux*)
6753 if test "$host_cpu" = ia64; then
6754 symcode='[ABCDEGRST]'
6755 fi
6756 ;;
6757 irix* | nonstopux*)
6758 symcode='[BCDEGRST]'
6759 ;;
6760 osf*)
6761 symcode='[BCDEGQRST]'
6762 ;;
6763 solaris*)
6764 symcode='[BDRT]'
6765 ;;
6766 sco3.2v5*)
6767 symcode='[DT]'
6768 ;;
6769 sysv4.2uw2*)
6770 symcode='[DT]'
6771 ;;
6772 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6773 symcode='[ABDT]'
6774 ;;
6775 sysv4)
6776 symcode='[DFNSTU]'
6777 ;;
6778 esac
6779
6780 # If we're using GNU nm, then use its standard symbol codes.
6781 case `$NM -V 2>&1` in
6782 *GNU* | *'with BFD'*)
6783 symcode='[ABCDGIRSTW]' ;;
6784 esac
6785
6786 # Transform an extracted symbol line into a proper C declaration.
6787 # Some systems (esp. on ia64) link data and code symbols differently,
6788 # so use this general approach.
6789 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6790
6791 # Transform an extracted symbol line into symbol name and symbol address
6792 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6793 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'"
6794
6795 # Handle CRLF in mingw tool chain
6796 opt_cr=
6797 case $build_os in
6798 mingw*)
6799 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6800 ;;
6801 esac
6802
6803 # Try without a prefix underscore, then with it.
6804 for ac_symprfx in "" "_"; do
6805
6806 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6807 symxfrm="\\1 $ac_symprfx\\2 \\2"
6808
6809 # Write the raw and C identifiers.
6810 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6811 # Fake it for dumpbin and say T for any non-static function
6812 # and D for any global variable.
6813 # Also find C++ and __fastcall symbols from MSVC++,
6814 # which start with @ or ?.
6815 lt_cv_sys_global_symbol_pipe="$AWK '"\
6816 " {last_section=section; section=\$ 3};"\
6817 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6818 " \$ 0!~/External *\|/{next};"\
6819 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6820 " {if(hide[section]) next};"\
6821 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6822 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6823 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6824 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6825 " ' prfx=^$ac_symprfx"
6826 else
6827 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6828 fi
6829
6830 # Check to see that the pipe works correctly.
6831 pipe_works=no
6832
6833 rm -f conftest*
6834 cat > conftest.$ac_ext <<_LT_EOF
6835 #ifdef __cplusplus
6836 extern "C" {
6837 #endif
6838 char nm_test_var;
6839 void nm_test_func(void);
6840 void nm_test_func(void){}
6841 #ifdef __cplusplus
6842 }
6843 #endif
6844 int main(){nm_test_var='a';nm_test_func();return(0);}
6845 _LT_EOF
6846
6847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6848 (eval $ac_compile) 2>&5
6849 ac_status=$?
6850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6851 test $ac_status = 0; }; then
6852 # Now try to grab the symbols.
6853 nlist=conftest.nm
6854 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6855 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6856 ac_status=$?
6857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6858 test $ac_status = 0; } && test -s "$nlist"; then
6859 # Try sorting and uniquifying the output.
6860 if sort "$nlist" | uniq > "$nlist"T; then
6861 mv -f "$nlist"T "$nlist"
6862 else
6863 rm -f "$nlist"T
6864 fi
6865
6866 # Make sure that we snagged all the symbols we need.
6867 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6868 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6869 cat <<_LT_EOF > conftest.$ac_ext
6870 #ifdef __cplusplus
6871 extern "C" {
6872 #endif
6873
6874 _LT_EOF
6875 # Now generate the symbol file.
6876 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6877
6878 cat <<_LT_EOF >> conftest.$ac_ext
6879
6880 /* The mapping between symbol names and symbols. */
6881 const struct {
6882 const char *name;
6883 void *address;
6884 }
6885 lt__PROGRAM__LTX_preloaded_symbols[] =
6886 {
6887 { "@PROGRAM@", (void *) 0 },
6888 _LT_EOF
6889 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6890 cat <<\_LT_EOF >> conftest.$ac_ext
6891 {0, (void *) 0}
6892 };
6893
6894 /* This works around a problem in FreeBSD linker */
6895 #ifdef FREEBSD_WORKAROUND
6896 static const void *lt_preloaded_setup() {
6897 return lt__PROGRAM__LTX_preloaded_symbols;
6898 }
6899 #endif
6900
6901 #ifdef __cplusplus
6902 }
6903 #endif
6904 _LT_EOF
6905 # Now try linking the two files.
6906 mv conftest.$ac_objext conftstm.$ac_objext
6907 lt_save_LIBS="$LIBS"
6908 lt_save_CFLAGS="$CFLAGS"
6909 LIBS="conftstm.$ac_objext"
6910 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6912 (eval $ac_link) 2>&5
6913 ac_status=$?
6914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6915 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6916 pipe_works=yes
6917 fi
6918 LIBS="$lt_save_LIBS"
6919 CFLAGS="$lt_save_CFLAGS"
6920 else
6921 echo "cannot find nm_test_func in $nlist" >&5
6922 fi
6923 else
6924 echo "cannot find nm_test_var in $nlist" >&5
6925 fi
6926 else
6927 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6928 fi
6929 else
6930 echo "$progname: failed program was:" >&5
6931 cat conftest.$ac_ext >&5
6932 fi
6933 rm -rf conftest* conftst*
6934
6935 # Do not use the global_symbol_pipe unless it works.
6936 if test "$pipe_works" = yes; then
6937 break
6938 else
6939 lt_cv_sys_global_symbol_pipe=
6940 fi
6941 done
6942
6943 fi
6944
6945 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6946 lt_cv_sys_global_symbol_to_cdecl=
6947 fi
6948 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6950 $as_echo "failed" >&6; }
6951 else
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6953 $as_echo "ok" >&6; }
6954 fi
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978 @%:@ Check whether --enable-libtool-lock was given.
6979 if test "${enable_libtool_lock+set}" = set; then :
6980 enableval=$enable_libtool_lock;
6981 fi
6982
6983 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6984
6985 # Some flags need to be propagated to the compiler or linker for good
6986 # libtool support.
6987 case $host in
6988 ia64-*-hpux*)
6989 # Find out which ABI we are using.
6990 echo 'int i;' > conftest.$ac_ext
6991 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6992 (eval $ac_compile) 2>&5
6993 ac_status=$?
6994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6995 test $ac_status = 0; }; then
6996 case `/usr/bin/file conftest.$ac_objext` in
6997 *ELF-32*)
6998 HPUX_IA64_MODE="32"
6999 ;;
7000 *ELF-64*)
7001 HPUX_IA64_MODE="64"
7002 ;;
7003 esac
7004 fi
7005 rm -rf conftest*
7006 ;;
7007 *-*-irix6*)
7008 # Find out which ABI we are using.
7009 echo '#line __oline__ "configure"' > conftest.$ac_ext
7010 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7011 (eval $ac_compile) 2>&5
7012 ac_status=$?
7013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7014 test $ac_status = 0; }; then
7015 if test "$lt_cv_prog_gnu_ld" = yes; then
7016 case `/usr/bin/file conftest.$ac_objext` in
7017 *32-bit*)
7018 LD="${LD-ld} -melf32bsmip"
7019 ;;
7020 *N32*)
7021 LD="${LD-ld} -melf32bmipn32"
7022 ;;
7023 *64-bit*)
7024 LD="${LD-ld} -melf64bmip"
7025 ;;
7026 esac
7027 else
7028 case `/usr/bin/file conftest.$ac_objext` in
7029 *32-bit*)
7030 LD="${LD-ld} -32"
7031 ;;
7032 *N32*)
7033 LD="${LD-ld} -n32"
7034 ;;
7035 *64-bit*)
7036 LD="${LD-ld} -64"
7037 ;;
7038 esac
7039 fi
7040 fi
7041 rm -rf conftest*
7042 ;;
7043
7044 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7045 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7046 # Find out which ABI we are using.
7047 echo 'int i;' > conftest.$ac_ext
7048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7049 (eval $ac_compile) 2>&5
7050 ac_status=$?
7051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7052 test $ac_status = 0; }; then
7053 case `/usr/bin/file conftest.o` in
7054 *32-bit*)
7055 case $host in
7056 x86_64-*kfreebsd*-gnu)
7057 LD="${LD-ld} -m elf_i386_fbsd"
7058 ;;
7059 x86_64-*linux*)
7060 LD="${LD-ld} -m elf_i386"
7061 ;;
7062 ppc64-*linux*|powerpc64-*linux*)
7063 LD="${LD-ld} -m elf32ppclinux"
7064 ;;
7065 s390x-*linux*)
7066 LD="${LD-ld} -m elf_s390"
7067 ;;
7068 sparc64-*linux*)
7069 LD="${LD-ld} -m elf32_sparc"
7070 ;;
7071 esac
7072 ;;
7073 *64-bit*)
7074 case $host in
7075 x86_64-*kfreebsd*-gnu)
7076 LD="${LD-ld} -m elf_x86_64_fbsd"
7077 ;;
7078 x86_64-*linux*)
7079 LD="${LD-ld} -m elf_x86_64"
7080 ;;
7081 ppc*-*linux*|powerpc*-*linux*)
7082 LD="${LD-ld} -m elf64ppc"
7083 ;;
7084 s390*-*linux*|s390*-*tpf*)
7085 LD="${LD-ld} -m elf64_s390"
7086 ;;
7087 sparc*-*linux*)
7088 LD="${LD-ld} -m elf64_sparc"
7089 ;;
7090 esac
7091 ;;
7092 esac
7093 fi
7094 rm -rf conftest*
7095 ;;
7096
7097 *-*-sco3.2v5*)
7098 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7099 SAVE_CFLAGS="$CFLAGS"
7100 CFLAGS="$CFLAGS -belf"
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7102 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7103 if ${lt_cv_cc_needs_belf+:} false; then :
7104 $as_echo_n "(cached) " >&6
7105 else
7106 ac_ext=c
7107 ac_cpp='$CPP $CPPFLAGS'
7108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7111
7112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7113 /* end confdefs.h. */
7114
7115 int
7116 main ()
7117 {
7118
7119 ;
7120 return 0;
7121 }
7122 _ACEOF
7123 if ac_fn_c_try_link "$LINENO"; then :
7124 lt_cv_cc_needs_belf=yes
7125 else
7126 lt_cv_cc_needs_belf=no
7127 fi
7128 rm -f core conftest.err conftest.$ac_objext \
7129 conftest$ac_exeext conftest.$ac_ext
7130 ac_ext=c
7131 ac_cpp='$CPP $CPPFLAGS'
7132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7135
7136 fi
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7138 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7139 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7140 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7141 CFLAGS="$SAVE_CFLAGS"
7142 fi
7143 ;;
7144 sparc*-*solaris*)
7145 # Find out which ABI we are using.
7146 echo 'int i;' > conftest.$ac_ext
7147 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7148 (eval $ac_compile) 2>&5
7149 ac_status=$?
7150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7151 test $ac_status = 0; }; then
7152 case `/usr/bin/file conftest.o` in
7153 *64-bit*)
7154 case $lt_cv_prog_gnu_ld in
7155 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7156 *)
7157 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7158 LD="${LD-ld} -64"
7159 fi
7160 ;;
7161 esac
7162 ;;
7163 esac
7164 fi
7165 rm -rf conftest*
7166 ;;
7167 esac
7168
7169 need_locks="$enable_libtool_lock"
7170
7171
7172 case $host_os in
7173 rhapsody* | darwin*)
7174 if test -n "$ac_tool_prefix"; then
7175 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7176 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7178 $as_echo_n "checking for $ac_word... " >&6; }
7179 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7180 $as_echo_n "(cached) " >&6
7181 else
7182 if test -n "$DSYMUTIL"; then
7183 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7184 else
7185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7186 for as_dir in $PATH
7187 do
7188 IFS=$as_save_IFS
7189 test -z "$as_dir" && as_dir=.
7190 for ac_exec_ext in '' $ac_executable_extensions; do
7191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7192 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7194 break 2
7195 fi
7196 done
7197 done
7198 IFS=$as_save_IFS
7199
7200 fi
7201 fi
7202 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7203 if test -n "$DSYMUTIL"; then
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7205 $as_echo "$DSYMUTIL" >&6; }
7206 else
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 $as_echo "no" >&6; }
7209 fi
7210
7211
7212 fi
7213 if test -z "$ac_cv_prog_DSYMUTIL"; then
7214 ac_ct_DSYMUTIL=$DSYMUTIL
7215 # Extract the first word of "dsymutil", so it can be a program name with args.
7216 set dummy dsymutil; ac_word=$2
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7218 $as_echo_n "checking for $ac_word... " >&6; }
7219 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7220 $as_echo_n "(cached) " >&6
7221 else
7222 if test -n "$ac_ct_DSYMUTIL"; then
7223 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7224 else
7225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7226 for as_dir in $PATH
7227 do
7228 IFS=$as_save_IFS
7229 test -z "$as_dir" && as_dir=.
7230 for ac_exec_ext in '' $ac_executable_extensions; do
7231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7232 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 break 2
7235 fi
7236 done
7237 done
7238 IFS=$as_save_IFS
7239
7240 fi
7241 fi
7242 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7243 if test -n "$ac_ct_DSYMUTIL"; then
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7245 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7246 else
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7248 $as_echo "no" >&6; }
7249 fi
7250
7251 if test "x$ac_ct_DSYMUTIL" = x; then
7252 DSYMUTIL=":"
7253 else
7254 case $cross_compiling:$ac_tool_warned in
7255 yes:)
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7258 ac_tool_warned=yes ;;
7259 esac
7260 DSYMUTIL=$ac_ct_DSYMUTIL
7261 fi
7262 else
7263 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7264 fi
7265
7266 if test -n "$ac_tool_prefix"; then
7267 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7268 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7270 $as_echo_n "checking for $ac_word... " >&6; }
7271 if ${ac_cv_prog_NMEDIT+:} false; then :
7272 $as_echo_n "(cached) " >&6
7273 else
7274 if test -n "$NMEDIT"; then
7275 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7276 else
7277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7278 for as_dir in $PATH
7279 do
7280 IFS=$as_save_IFS
7281 test -z "$as_dir" && as_dir=.
7282 for ac_exec_ext in '' $ac_executable_extensions; do
7283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7284 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7286 break 2
7287 fi
7288 done
7289 done
7290 IFS=$as_save_IFS
7291
7292 fi
7293 fi
7294 NMEDIT=$ac_cv_prog_NMEDIT
7295 if test -n "$NMEDIT"; then
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7297 $as_echo "$NMEDIT" >&6; }
7298 else
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7300 $as_echo "no" >&6; }
7301 fi
7302
7303
7304 fi
7305 if test -z "$ac_cv_prog_NMEDIT"; then
7306 ac_ct_NMEDIT=$NMEDIT
7307 # Extract the first word of "nmedit", so it can be a program name with args.
7308 set dummy nmedit; ac_word=$2
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7310 $as_echo_n "checking for $ac_word... " >&6; }
7311 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7312 $as_echo_n "(cached) " >&6
7313 else
7314 if test -n "$ac_ct_NMEDIT"; then
7315 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7316 else
7317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7318 for as_dir in $PATH
7319 do
7320 IFS=$as_save_IFS
7321 test -z "$as_dir" && as_dir=.
7322 for ac_exec_ext in '' $ac_executable_extensions; do
7323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7324 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7326 break 2
7327 fi
7328 done
7329 done
7330 IFS=$as_save_IFS
7331
7332 fi
7333 fi
7334 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7335 if test -n "$ac_ct_NMEDIT"; then
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7337 $as_echo "$ac_ct_NMEDIT" >&6; }
7338 else
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340 $as_echo "no" >&6; }
7341 fi
7342
7343 if test "x$ac_ct_NMEDIT" = x; then
7344 NMEDIT=":"
7345 else
7346 case $cross_compiling:$ac_tool_warned in
7347 yes:)
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7350 ac_tool_warned=yes ;;
7351 esac
7352 NMEDIT=$ac_ct_NMEDIT
7353 fi
7354 else
7355 NMEDIT="$ac_cv_prog_NMEDIT"
7356 fi
7357
7358 if test -n "$ac_tool_prefix"; then
7359 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7360 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7362 $as_echo_n "checking for $ac_word... " >&6; }
7363 if ${ac_cv_prog_LIPO+:} false; then :
7364 $as_echo_n "(cached) " >&6
7365 else
7366 if test -n "$LIPO"; then
7367 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7368 else
7369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370 for as_dir in $PATH
7371 do
7372 IFS=$as_save_IFS
7373 test -z "$as_dir" && as_dir=.
7374 for ac_exec_ext in '' $ac_executable_extensions; do
7375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7376 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378 break 2
7379 fi
7380 done
7381 done
7382 IFS=$as_save_IFS
7383
7384 fi
7385 fi
7386 LIPO=$ac_cv_prog_LIPO
7387 if test -n "$LIPO"; then
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7389 $as_echo "$LIPO" >&6; }
7390 else
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392 $as_echo "no" >&6; }
7393 fi
7394
7395
7396 fi
7397 if test -z "$ac_cv_prog_LIPO"; then
7398 ac_ct_LIPO=$LIPO
7399 # Extract the first word of "lipo", so it can be a program name with args.
7400 set dummy lipo; ac_word=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 $as_echo_n "checking for $ac_word... " >&6; }
7403 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7404 $as_echo_n "(cached) " >&6
7405 else
7406 if test -n "$ac_ct_LIPO"; then
7407 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7408 else
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7410 for as_dir in $PATH
7411 do
7412 IFS=$as_save_IFS
7413 test -z "$as_dir" && as_dir=.
7414 for ac_exec_ext in '' $ac_executable_extensions; do
7415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7416 ac_cv_prog_ac_ct_LIPO="lipo"
7417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7418 break 2
7419 fi
7420 done
7421 done
7422 IFS=$as_save_IFS
7423
7424 fi
7425 fi
7426 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7427 if test -n "$ac_ct_LIPO"; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7429 $as_echo "$ac_ct_LIPO" >&6; }
7430 else
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7433 fi
7434
7435 if test "x$ac_ct_LIPO" = x; then
7436 LIPO=":"
7437 else
7438 case $cross_compiling:$ac_tool_warned in
7439 yes:)
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7442 ac_tool_warned=yes ;;
7443 esac
7444 LIPO=$ac_ct_LIPO
7445 fi
7446 else
7447 LIPO="$ac_cv_prog_LIPO"
7448 fi
7449
7450 if test -n "$ac_tool_prefix"; then
7451 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7452 set dummy ${ac_tool_prefix}otool; ac_word=$2
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7454 $as_echo_n "checking for $ac_word... " >&6; }
7455 if ${ac_cv_prog_OTOOL+:} false; then :
7456 $as_echo_n "(cached) " >&6
7457 else
7458 if test -n "$OTOOL"; then
7459 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7460 else
7461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7462 for as_dir in $PATH
7463 do
7464 IFS=$as_save_IFS
7465 test -z "$as_dir" && as_dir=.
7466 for ac_exec_ext in '' $ac_executable_extensions; do
7467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7468 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7470 break 2
7471 fi
7472 done
7473 done
7474 IFS=$as_save_IFS
7475
7476 fi
7477 fi
7478 OTOOL=$ac_cv_prog_OTOOL
7479 if test -n "$OTOOL"; then
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7481 $as_echo "$OTOOL" >&6; }
7482 else
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7484 $as_echo "no" >&6; }
7485 fi
7486
7487
7488 fi
7489 if test -z "$ac_cv_prog_OTOOL"; then
7490 ac_ct_OTOOL=$OTOOL
7491 # Extract the first word of "otool", so it can be a program name with args.
7492 set dummy otool; ac_word=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7494 $as_echo_n "checking for $ac_word... " >&6; }
7495 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7496 $as_echo_n "(cached) " >&6
7497 else
7498 if test -n "$ac_ct_OTOOL"; then
7499 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7500 else
7501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7502 for as_dir in $PATH
7503 do
7504 IFS=$as_save_IFS
7505 test -z "$as_dir" && as_dir=.
7506 for ac_exec_ext in '' $ac_executable_extensions; do
7507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7508 ac_cv_prog_ac_ct_OTOOL="otool"
7509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7510 break 2
7511 fi
7512 done
7513 done
7514 IFS=$as_save_IFS
7515
7516 fi
7517 fi
7518 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7519 if test -n "$ac_ct_OTOOL"; then
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7521 $as_echo "$ac_ct_OTOOL" >&6; }
7522 else
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 $as_echo "no" >&6; }
7525 fi
7526
7527 if test "x$ac_ct_OTOOL" = x; then
7528 OTOOL=":"
7529 else
7530 case $cross_compiling:$ac_tool_warned in
7531 yes:)
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7534 ac_tool_warned=yes ;;
7535 esac
7536 OTOOL=$ac_ct_OTOOL
7537 fi
7538 else
7539 OTOOL="$ac_cv_prog_OTOOL"
7540 fi
7541
7542 if test -n "$ac_tool_prefix"; then
7543 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7544 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7546 $as_echo_n "checking for $ac_word... " >&6; }
7547 if ${ac_cv_prog_OTOOL64+:} false; then :
7548 $as_echo_n "(cached) " >&6
7549 else
7550 if test -n "$OTOOL64"; then
7551 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7552 else
7553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7554 for as_dir in $PATH
7555 do
7556 IFS=$as_save_IFS
7557 test -z "$as_dir" && as_dir=.
7558 for ac_exec_ext in '' $ac_executable_extensions; do
7559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7560 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7562 break 2
7563 fi
7564 done
7565 done
7566 IFS=$as_save_IFS
7567
7568 fi
7569 fi
7570 OTOOL64=$ac_cv_prog_OTOOL64
7571 if test -n "$OTOOL64"; then
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7573 $as_echo "$OTOOL64" >&6; }
7574 else
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576 $as_echo "no" >&6; }
7577 fi
7578
7579
7580 fi
7581 if test -z "$ac_cv_prog_OTOOL64"; then
7582 ac_ct_OTOOL64=$OTOOL64
7583 # Extract the first word of "otool64", so it can be a program name with args.
7584 set dummy otool64; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7588 $as_echo_n "(cached) " >&6
7589 else
7590 if test -n "$ac_ct_OTOOL64"; then
7591 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7592 else
7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594 for as_dir in $PATH
7595 do
7596 IFS=$as_save_IFS
7597 test -z "$as_dir" && as_dir=.
7598 for ac_exec_ext in '' $ac_executable_extensions; do
7599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7600 ac_cv_prog_ac_ct_OTOOL64="otool64"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7602 break 2
7603 fi
7604 done
7605 done
7606 IFS=$as_save_IFS
7607
7608 fi
7609 fi
7610 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7611 if test -n "$ac_ct_OTOOL64"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7613 $as_echo "$ac_ct_OTOOL64" >&6; }
7614 else
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7617 fi
7618
7619 if test "x$ac_ct_OTOOL64" = x; then
7620 OTOOL64=":"
7621 else
7622 case $cross_compiling:$ac_tool_warned in
7623 yes:)
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7626 ac_tool_warned=yes ;;
7627 esac
7628 OTOOL64=$ac_ct_OTOOL64
7629 fi
7630 else
7631 OTOOL64="$ac_cv_prog_OTOOL64"
7632 fi
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7661 $as_echo_n "checking for -single_module linker flag... " >&6; }
7662 if ${lt_cv_apple_cc_single_mod+:} false; then :
7663 $as_echo_n "(cached) " >&6
7664 else
7665 lt_cv_apple_cc_single_mod=no
7666 if test -z "${LT_MULTI_MODULE}"; then
7667 # By default we will add the -single_module flag. You can override
7668 # by either setting the environment variable LT_MULTI_MODULE
7669 # non-empty at configure time, or by adding -multi_module to the
7670 # link flags.
7671 rm -rf libconftest.dylib*
7672 echo "int foo(void){return 1;}" > conftest.c
7673 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7674 -dynamiclib -Wl,-single_module conftest.c" >&5
7675 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7676 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7677 _lt_result=$?
7678 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7679 lt_cv_apple_cc_single_mod=yes
7680 else
7681 cat conftest.err >&5
7682 fi
7683 rm -rf libconftest.dylib*
7684 rm -f conftest.*
7685 fi
7686 fi
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7688 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7690 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7691 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7692 $as_echo_n "(cached) " >&6
7693 else
7694 lt_cv_ld_exported_symbols_list=no
7695 save_LDFLAGS=$LDFLAGS
7696 echo "_main" > conftest.sym
7697 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7699 /* end confdefs.h. */
7700
7701 int
7702 main ()
7703 {
7704
7705 ;
7706 return 0;
7707 }
7708 _ACEOF
7709 if ac_fn_c_try_link "$LINENO"; then :
7710 lt_cv_ld_exported_symbols_list=yes
7711 else
7712 lt_cv_ld_exported_symbols_list=no
7713 fi
7714 rm -f core conftest.err conftest.$ac_objext \
7715 conftest$ac_exeext conftest.$ac_ext
7716 LDFLAGS="$save_LDFLAGS"
7717
7718 fi
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7720 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7721 case $host_os in
7722 rhapsody* | darwin1.[012])
7723 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7724 darwin1.*)
7725 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7726 darwin*) # darwin 5.x on
7727 # if running on 10.5 or later, the deployment target defaults
7728 # to the OS version, if on x86, and 10.4, the deployment
7729 # target defaults to 10.4. Don't you love it?
7730 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7731 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7732 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7733 10.[012]*)
7734 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7735 10.*)
7736 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7737 esac
7738 ;;
7739 esac
7740 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7741 _lt_dar_single_mod='$single_module'
7742 fi
7743 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7744 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7745 else
7746 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7747 fi
7748 if test "$DSYMUTIL" != ":"; then
7749 _lt_dsymutil='~$DSYMUTIL $lib || :'
7750 else
7751 _lt_dsymutil=
7752 fi
7753 ;;
7754 esac
7755
7756
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7758 $as_echo_n "checking for ANSI C header files... " >&6; }
7759 if ${ac_cv_header_stdc+:} false; then :
7760 $as_echo_n "(cached) " >&6
7761 else
7762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7763 /* end confdefs.h. */
7764 #include <stdlib.h>
7765 #include <stdarg.h>
7766 #include <string.h>
7767 #include <float.h>
7768
7769 int
7770 main ()
7771 {
7772
7773 ;
7774 return 0;
7775 }
7776 _ACEOF
7777 if ac_fn_c_try_compile "$LINENO"; then :
7778 ac_cv_header_stdc=yes
7779 else
7780 ac_cv_header_stdc=no
7781 fi
7782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7783
7784 if test $ac_cv_header_stdc = yes; then
7785 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7787 /* end confdefs.h. */
7788 #include <string.h>
7789
7790 _ACEOF
7791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7792 $EGREP "memchr" >/dev/null 2>&1; then :
7793
7794 else
7795 ac_cv_header_stdc=no
7796 fi
7797 rm -f conftest*
7798
7799 fi
7800
7801 if test $ac_cv_header_stdc = yes; then
7802 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7804 /* end confdefs.h. */
7805 #include <stdlib.h>
7806
7807 _ACEOF
7808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7809 $EGREP "free" >/dev/null 2>&1; then :
7810
7811 else
7812 ac_cv_header_stdc=no
7813 fi
7814 rm -f conftest*
7815
7816 fi
7817
7818 if test $ac_cv_header_stdc = yes; then
7819 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7820 if test "$cross_compiling" = yes; then :
7821 :
7822 else
7823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7824 /* end confdefs.h. */
7825 #include <ctype.h>
7826 #include <stdlib.h>
7827 #if ((' ' & 0x0FF) == 0x020)
7828 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7829 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7830 #else
7831 # define ISLOWER(c) \
7832 (('a' <= (c) && (c) <= 'i') \
7833 || ('j' <= (c) && (c) <= 'r') \
7834 || ('s' <= (c) && (c) <= 'z'))
7835 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7836 #endif
7837
7838 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7839 int
7840 main ()
7841 {
7842 int i;
7843 for (i = 0; i < 256; i++)
7844 if (XOR (islower (i), ISLOWER (i))
7845 || toupper (i) != TOUPPER (i))
7846 return 2;
7847 return 0;
7848 }
7849 _ACEOF
7850 if ac_fn_c_try_run "$LINENO"; then :
7851
7852 else
7853 ac_cv_header_stdc=no
7854 fi
7855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7856 conftest.$ac_objext conftest.beam conftest.$ac_ext
7857 fi
7858
7859 fi
7860 fi
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7862 $as_echo "$ac_cv_header_stdc" >&6; }
7863 if test $ac_cv_header_stdc = yes; then
7864
7865 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7866
7867 fi
7868
7869 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7870 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7871 inttypes.h stdint.h unistd.h
7872 do :
7873 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7874 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7875 "
7876 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7877 cat >>confdefs.h <<_ACEOF
7878 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7879 _ACEOF
7880
7881 fi
7882
7883 done
7884
7885
7886 for ac_header in dlfcn.h
7887 do :
7888 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7889 "
7890 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7891 cat >>confdefs.h <<_ACEOF
7892 @%:@define HAVE_DLFCN_H 1
7893 _ACEOF
7894
7895 fi
7896
7897 done
7898
7899
7900
7901 ac_ext=cpp
7902 ac_cpp='$CXXCPP $CPPFLAGS'
7903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7906 if test -z "$CXX"; then
7907 if test -n "$CCC"; then
7908 CXX=$CCC
7909 else
7910 if test -n "$ac_tool_prefix"; then
7911 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7912 do
7913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if ${ac_cv_prog_CXX+:} false; then :
7918 $as_echo_n "(cached) " >&6
7919 else
7920 if test -n "$CXX"; then
7921 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7922 else
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 for as_dir in $PATH
7925 do
7926 IFS=$as_save_IFS
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 break 2
7933 fi
7934 done
7935 done
7936 IFS=$as_save_IFS
7937
7938 fi
7939 fi
7940 CXX=$ac_cv_prog_CXX
7941 if test -n "$CXX"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7943 $as_echo "$CXX" >&6; }
7944 else
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7947 fi
7948
7949
7950 test -n "$CXX" && break
7951 done
7952 fi
7953 if test -z "$CXX"; then
7954 ac_ct_CXX=$CXX
7955 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7956 do
7957 # Extract the first word of "$ac_prog", so it can be a program name with args.
7958 set dummy $ac_prog; ac_word=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7962 $as_echo_n "(cached) " >&6
7963 else
7964 if test -n "$ac_ct_CXX"; then
7965 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7966 else
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 for as_dir in $PATH
7969 do
7970 IFS=$as_save_IFS
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_prog_ac_ct_CXX="$ac_prog"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 break 2
7977 fi
7978 done
7979 done
7980 IFS=$as_save_IFS
7981
7982 fi
7983 fi
7984 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7985 if test -n "$ac_ct_CXX"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7987 $as_echo "$ac_ct_CXX" >&6; }
7988 else
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7991 fi
7992
7993
7994 test -n "$ac_ct_CXX" && break
7995 done
7996
7997 if test "x$ac_ct_CXX" = x; then
7998 CXX="g++"
7999 else
8000 case $cross_compiling:$ac_tool_warned in
8001 yes:)
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8004 ac_tool_warned=yes ;;
8005 esac
8006 CXX=$ac_ct_CXX
8007 fi
8008 fi
8009
8010 fi
8011 fi
8012 # Provide some information about the compiler.
8013 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
8014 set X $ac_compile
8015 ac_compiler=$2
8016 for ac_option in --version -v -V -qversion; do
8017 { { ac_try="$ac_compiler $ac_option >&5"
8018 case "(($ac_try" in
8019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8020 *) ac_try_echo=$ac_try;;
8021 esac
8022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8023 $as_echo "$ac_try_echo"; } >&5
8024 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8025 ac_status=$?
8026 if test -s conftest.err; then
8027 sed '10a\
8028 ... rest of stderr output deleted ...
8029 10q' conftest.err >conftest.er1
8030 cat conftest.er1 >&5
8031 fi
8032 rm -f conftest.er1 conftest.err
8033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8034 test $ac_status = 0; }
8035 done
8036
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
8038 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8039 if ${ac_cv_cxx_compiler_gnu+:} false; then :
8040 $as_echo_n "(cached) " >&6
8041 else
8042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8043 /* end confdefs.h. */
8044
8045 int
8046 main ()
8047 {
8048 #ifndef __GNUC__
8049 choke me
8050 #endif
8051
8052 ;
8053 return 0;
8054 }
8055 _ACEOF
8056 if ac_fn_cxx_try_compile "$LINENO"; then :
8057 ac_compiler_gnu=yes
8058 else
8059 ac_compiler_gnu=no
8060 fi
8061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8062 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8063
8064 fi
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
8066 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8067 if test $ac_compiler_gnu = yes; then
8068 GXX=yes
8069 else
8070 GXX=
8071 fi
8072 ac_test_CXXFLAGS=${CXXFLAGS+set}
8073 ac_save_CXXFLAGS=$CXXFLAGS
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
8075 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
8076 if ${ac_cv_prog_cxx_g+:} false; then :
8077 $as_echo_n "(cached) " >&6
8078 else
8079 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8080 ac_cxx_werror_flag=yes
8081 ac_cv_prog_cxx_g=no
8082 CXXFLAGS="-g"
8083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8084 /* end confdefs.h. */
8085
8086 int
8087 main ()
8088 {
8089
8090 ;
8091 return 0;
8092 }
8093 _ACEOF
8094 if ac_fn_cxx_try_compile "$LINENO"; then :
8095 ac_cv_prog_cxx_g=yes
8096 else
8097 CXXFLAGS=""
8098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h. */
8100
8101 int
8102 main ()
8103 {
8104
8105 ;
8106 return 0;
8107 }
8108 _ACEOF
8109 if ac_fn_cxx_try_compile "$LINENO"; then :
8110
8111 else
8112 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8113 CXXFLAGS="-g"
8114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8115 /* end confdefs.h. */
8116
8117 int
8118 main ()
8119 {
8120
8121 ;
8122 return 0;
8123 }
8124 _ACEOF
8125 if ac_fn_cxx_try_compile "$LINENO"; then :
8126 ac_cv_prog_cxx_g=yes
8127 fi
8128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8129 fi
8130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8131 fi
8132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8133 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8134 fi
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8136 $as_echo "$ac_cv_prog_cxx_g" >&6; }
8137 if test "$ac_test_CXXFLAGS" = set; then
8138 CXXFLAGS=$ac_save_CXXFLAGS
8139 elif test $ac_cv_prog_cxx_g = yes; then
8140 if test "$GXX" = yes; then
8141 CXXFLAGS="-g -O2"
8142 else
8143 CXXFLAGS="-g"
8144 fi
8145 else
8146 if test "$GXX" = yes; then
8147 CXXFLAGS="-O2"
8148 else
8149 CXXFLAGS=
8150 fi
8151 fi
8152 ac_ext=cpp
8153 ac_cpp='$CXXCPP $CPPFLAGS'
8154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8157
8158 depcc="$CXX" am_compiler_list=
8159
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8161 $as_echo_n "checking dependency style of $depcc... " >&6; }
8162 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
8163 $as_echo_n "(cached) " >&6
8164 else
8165 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8166 # We make a subdir and do the tests there. Otherwise we can end up
8167 # making bogus files that we don't know about and never remove. For
8168 # instance it was reported that on HP-UX the gcc test will end up
8169 # making a dummy file named `D' -- because `-MD' means `put the output
8170 # in D'.
8171 mkdir conftest.dir
8172 # Copy depcomp to subdir because otherwise we won't find it if we're
8173 # using a relative directory.
8174 cp "$am_depcomp" conftest.dir
8175 cd conftest.dir
8176 # We will build objects and dependencies in a subdirectory because
8177 # it helps to detect inapplicable dependency modes. For instance
8178 # both Tru64's cc and ICC support -MD to output dependencies as a
8179 # side effect of compilation, but ICC will put the dependencies in
8180 # the current directory while Tru64 will put them in the object
8181 # directory.
8182 mkdir sub
8183
8184 am_cv_CXX_dependencies_compiler_type=none
8185 if test "$am_compiler_list" = ""; then
8186 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8187 fi
8188 am__universal=false
8189 case " $depcc " in #(
8190 *\ -arch\ *\ -arch\ *) am__universal=true ;;
8191 esac
8192
8193 for depmode in $am_compiler_list; do
8194 # Setup a source with many dependencies, because some compilers
8195 # like to wrap large dependency lists on column 80 (with \), and
8196 # we should not choose a depcomp mode which is confused by this.
8197 #
8198 # We need to recreate these files for each test, as the compiler may
8199 # overwrite some of them when testing with obscure command lines.
8200 # This happens at least with the AIX C compiler.
8201 : > sub/conftest.c
8202 for i in 1 2 3 4 5 6; do
8203 echo '#include "conftst'$i'.h"' >> sub/conftest.c
8204 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8205 # Solaris 8's {/usr,}/bin/sh.
8206 touch sub/conftst$i.h
8207 done
8208 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8209
8210 # We check with `-c' and `-o' for the sake of the "dashmstdout"
8211 # mode. It turns out that the SunPro C++ compiler does not properly
8212 # handle `-M -o', and we need to detect this. Also, some Intel
8213 # versions had trouble with output in subdirs
8214 am__obj=sub/conftest.${OBJEXT-o}
8215 am__minus_obj="-o $am__obj"
8216 case $depmode in
8217 gcc)
8218 # This depmode causes a compiler race in universal mode.
8219 test "$am__universal" = false || continue
8220 ;;
8221 nosideeffect)
8222 # after this tag, mechanisms are not by side-effect, so they'll
8223 # only be used when explicitly requested
8224 if test "x$enable_dependency_tracking" = xyes; then
8225 continue
8226 else
8227 break
8228 fi
8229 ;;
8230 msvisualcpp | msvcmsys)
8231 # This compiler won't grok `-c -o', but also, the minuso test has
8232 # not run yet. These depmodes are late enough in the game, and
8233 # so weak that their functioning should not be impacted.
8234 am__obj=conftest.${OBJEXT-o}
8235 am__minus_obj=
8236 ;;
8237 none) break ;;
8238 esac
8239 if depmode=$depmode \
8240 source=sub/conftest.c object=$am__obj \
8241 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8242 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8243 >/dev/null 2>conftest.err &&
8244 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8245 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8246 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8247 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8248 # icc doesn't choke on unknown options, it will just issue warnings
8249 # or remarks (even with -Werror). So we grep stderr for any message
8250 # that says an option was ignored or not supported.
8251 # When given -MP, icc 7.0 and 7.1 complain thusly:
8252 # icc: Command line warning: ignoring option '-M'; no argument required
8253 # The diagnosis changed in icc 8.0:
8254 # icc: Command line remark: option '-MP' not supported
8255 if (grep 'ignoring option' conftest.err ||
8256 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8257 am_cv_CXX_dependencies_compiler_type=$depmode
8258 break
8259 fi
8260 fi
8261 done
8262
8263 cd ..
8264 rm -rf conftest.dir
8265 else
8266 am_cv_CXX_dependencies_compiler_type=none
8267 fi
8268
8269 fi
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8271 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8272 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8273
8274 if
8275 test "x$enable_dependency_tracking" != xno \
8276 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8277 am__fastdepCXX_TRUE=
8278 am__fastdepCXX_FALSE='#'
8279 else
8280 am__fastdepCXX_TRUE='#'
8281 am__fastdepCXX_FALSE=
8282 fi
8283
8284
8285 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8286 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8287 (test "X$CXX" != "Xg++"))) ; then
8288 ac_ext=cpp
8289 ac_cpp='$CXXCPP $CPPFLAGS'
8290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8294 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8295 if test -z "$CXXCPP"; then
8296 if ${ac_cv_prog_CXXCPP+:} false; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 # Double quotes because CXXCPP needs to be expanded
8300 for CXXCPP in "$CXX -E" "/lib/cpp"
8301 do
8302 ac_preproc_ok=false
8303 for ac_cxx_preproc_warn_flag in '' yes
8304 do
8305 # Use a header file that comes with gcc, so configuring glibc
8306 # with a fresh cross-compiler works.
8307 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8308 # <limits.h> exists even on freestanding compilers.
8309 # On the NeXT, cc -E runs the code through the compiler's parser,
8310 # not just through cpp. "Syntax error" is here to catch this case.
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 @%:@ifdef __STDC__
8314 @%:@ include <limits.h>
8315 @%:@else
8316 @%:@ include <assert.h>
8317 @%:@endif
8318 Syntax error
8319 _ACEOF
8320 if ac_fn_cxx_try_cpp "$LINENO"; then :
8321
8322 else
8323 # Broken: fails on valid input.
8324 continue
8325 fi
8326 rm -f conftest.err conftest.i conftest.$ac_ext
8327
8328 # OK, works on sane cases. Now check whether nonexistent headers
8329 # can be detected and how.
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8332 @%:@include <ac_nonexistent.h>
8333 _ACEOF
8334 if ac_fn_cxx_try_cpp "$LINENO"; then :
8335 # Broken: success on invalid input.
8336 continue
8337 else
8338 # Passes both tests.
8339 ac_preproc_ok=:
8340 break
8341 fi
8342 rm -f conftest.err conftest.i conftest.$ac_ext
8343
8344 done
8345 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8346 rm -f conftest.i conftest.err conftest.$ac_ext
8347 if $ac_preproc_ok; then :
8348 break
8349 fi
8350
8351 done
8352 ac_cv_prog_CXXCPP=$CXXCPP
8353
8354 fi
8355 CXXCPP=$ac_cv_prog_CXXCPP
8356 else
8357 ac_cv_prog_CXXCPP=$CXXCPP
8358 fi
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8360 $as_echo "$CXXCPP" >&6; }
8361 ac_preproc_ok=false
8362 for ac_cxx_preproc_warn_flag in '' yes
8363 do
8364 # Use a header file that comes with gcc, so configuring glibc
8365 # with a fresh cross-compiler works.
8366 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8367 # <limits.h> exists even on freestanding compilers.
8368 # On the NeXT, cc -E runs the code through the compiler's parser,
8369 # not just through cpp. "Syntax error" is here to catch this case.
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8372 @%:@ifdef __STDC__
8373 @%:@ include <limits.h>
8374 @%:@else
8375 @%:@ include <assert.h>
8376 @%:@endif
8377 Syntax error
8378 _ACEOF
8379 if ac_fn_cxx_try_cpp "$LINENO"; then :
8380
8381 else
8382 # Broken: fails on valid input.
8383 continue
8384 fi
8385 rm -f conftest.err conftest.i conftest.$ac_ext
8386
8387 # OK, works on sane cases. Now check whether nonexistent headers
8388 # can be detected and how.
8389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8391 @%:@include <ac_nonexistent.h>
8392 _ACEOF
8393 if ac_fn_cxx_try_cpp "$LINENO"; then :
8394 # Broken: success on invalid input.
8395 continue
8396 else
8397 # Passes both tests.
8398 ac_preproc_ok=:
8399 break
8400 fi
8401 rm -f conftest.err conftest.i conftest.$ac_ext
8402
8403 done
8404 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8405 rm -f conftest.i conftest.err conftest.$ac_ext
8406 if $ac_preproc_ok; then :
8407
8408 else
8409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8411 _lt_caught_CXX_error=yes; }
8412 fi
8413
8414 ac_ext=cpp
8415 ac_cpp='$CXXCPP $CPPFLAGS'
8416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8419
8420 else
8421 _lt_caught_CXX_error=yes
8422 fi
8423
8424
8425
8426
8427 # Set options
8428
8429
8430
8431 enable_dlopen=no
8432
8433
8434 enable_win32_dll=no
8435
8436
8437 @%:@ Check whether --enable-shared was given.
8438 if test "${enable_shared+set}" = set; then :
8439 enableval=$enable_shared; p=${PACKAGE-default}
8440 case $enableval in
8441 yes) enable_shared=yes ;;
8442 no) enable_shared=no ;;
8443 *)
8444 enable_shared=no
8445 # Look at the argument we got. We use all the common list separators.
8446 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8447 for pkg in $enableval; do
8448 IFS="$lt_save_ifs"
8449 if test "X$pkg" = "X$p"; then
8450 enable_shared=yes
8451 fi
8452 done
8453 IFS="$lt_save_ifs"
8454 ;;
8455 esac
8456 else
8457 enable_shared=yes
8458 fi
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468 @%:@ Check whether --enable-static was given.
8469 if test "${enable_static+set}" = set; then :
8470 enableval=$enable_static; p=${PACKAGE-default}
8471 case $enableval in
8472 yes) enable_static=yes ;;
8473 no) enable_static=no ;;
8474 *)
8475 enable_static=no
8476 # Look at the argument we got. We use all the common list separators.
8477 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8478 for pkg in $enableval; do
8479 IFS="$lt_save_ifs"
8480 if test "X$pkg" = "X$p"; then
8481 enable_static=yes
8482 fi
8483 done
8484 IFS="$lt_save_ifs"
8485 ;;
8486 esac
8487 else
8488 enable_static=yes
8489 fi
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500 @%:@ Check whether --with-pic was given.
8501 if test "${with_pic+set}" = set; then :
8502 withval=$with_pic; pic_mode="$withval"
8503 else
8504 pic_mode=default
8505 fi
8506
8507
8508 test -z "$pic_mode" && pic_mode=default
8509
8510
8511
8512
8513
8514
8515
8516 @%:@ Check whether --enable-fast-install was given.
8517 if test "${enable_fast_install+set}" = set; then :
8518 enableval=$enable_fast_install; p=${PACKAGE-default}
8519 case $enableval in
8520 yes) enable_fast_install=yes ;;
8521 no) enable_fast_install=no ;;
8522 *)
8523 enable_fast_install=no
8524 # Look at the argument we got. We use all the common list separators.
8525 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8526 for pkg in $enableval; do
8527 IFS="$lt_save_ifs"
8528 if test "X$pkg" = "X$p"; then
8529 enable_fast_install=yes
8530 fi
8531 done
8532 IFS="$lt_save_ifs"
8533 ;;
8534 esac
8535 else
8536 enable_fast_install=yes
8537 fi
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549 # This can be used to rebuild libtool when needed
8550 LIBTOOL_DEPS="$ltmain"
8551
8552 # Always use our own libtool.
8553 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579 test -z "$LN_S" && LN_S="ln -s"
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594 if test -n "${ZSH_VERSION+set}" ; then
8595 setopt NO_GLOB_SUBST
8596 fi
8597
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8599 $as_echo_n "checking for objdir... " >&6; }
8600 if ${lt_cv_objdir+:} false; then :
8601 $as_echo_n "(cached) " >&6
8602 else
8603 rm -f .libs 2>/dev/null
8604 mkdir .libs 2>/dev/null
8605 if test -d .libs; then
8606 lt_cv_objdir=.libs
8607 else
8608 # MS-DOS does not allow filenames that begin with a dot.
8609 lt_cv_objdir=_libs
8610 fi
8611 rmdir .libs 2>/dev/null
8612 fi
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8614 $as_echo "$lt_cv_objdir" >&6; }
8615 objdir=$lt_cv_objdir
8616
8617
8618
8619
8620
8621 cat >>confdefs.h <<_ACEOF
8622 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8623 _ACEOF
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641 case $host_os in
8642 aix3*)
8643 # AIX sometimes has problems with the GCC collect2 program. For some
8644 # reason, if we set the COLLECT_NAMES environment variable, the problems
8645 # vanish in a puff of smoke.
8646 if test "X${COLLECT_NAMES+set}" != Xset; then
8647 COLLECT_NAMES=
8648 export COLLECT_NAMES
8649 fi
8650 ;;
8651 esac
8652
8653 # Sed substitution that helps us do robust quoting. It backslashifies
8654 # metacharacters that are still active within double-quoted strings.
8655 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8656
8657 # Same as above, but do not quote variable references.
8658 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8659
8660 # Sed substitution to delay expansion of an escaped shell variable in a
8661 # double_quote_subst'ed string.
8662 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8663
8664 # Sed substitution to delay expansion of an escaped single quote.
8665 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8666
8667 # Sed substitution to avoid accidental globbing in evaled expressions
8668 no_glob_subst='s/\*/\\\*/g'
8669
8670 # Global variables:
8671 ofile=libtool
8672 can_build_shared=yes
8673
8674 # All known linkers require a `.a' archive for static linking (except MSVC,
8675 # which needs '.lib').
8676 libext=a
8677
8678 with_gnu_ld="$lt_cv_prog_gnu_ld"
8679
8680 old_CC="$CC"
8681 old_CFLAGS="$CFLAGS"
8682
8683 # Set sane defaults for various variables
8684 test -z "$CC" && CC=cc
8685 test -z "$LTCC" && LTCC=$CC
8686 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8687 test -z "$LD" && LD=ld
8688 test -z "$ac_objext" && ac_objext=o
8689
8690 for cc_temp in $compiler""; do
8691 case $cc_temp in
8692 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8693 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8694 \-*) ;;
8695 *) break;;
8696 esac
8697 done
8698 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8699
8700
8701 # Only perform the check for file, if the check method requires it
8702 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8703 case $deplibs_check_method in
8704 file_magic*)
8705 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8707 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8708 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8709 $as_echo_n "(cached) " >&6
8710 else
8711 case $MAGIC_CMD in
8712 [\\/*] | ?:[\\/]*)
8713 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8714 ;;
8715 *)
8716 lt_save_MAGIC_CMD="$MAGIC_CMD"
8717 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8718 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8719 for ac_dir in $ac_dummy; do
8720 IFS="$lt_save_ifs"
8721 test -z "$ac_dir" && ac_dir=.
8722 if test -f $ac_dir/${ac_tool_prefix}file; then
8723 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8724 if test -n "$file_magic_test_file"; then
8725 case $deplibs_check_method in
8726 "file_magic "*)
8727 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8728 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8729 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8730 $EGREP "$file_magic_regex" > /dev/null; then
8731 :
8732 else
8733 cat <<_LT_EOF 1>&2
8734
8735 *** Warning: the command libtool uses to detect shared libraries,
8736 *** $file_magic_cmd, produces output that libtool cannot recognize.
8737 *** The result is that libtool may fail to recognize shared libraries
8738 *** as such. This will affect the creation of libtool libraries that
8739 *** depend on shared libraries, but programs linked with such libtool
8740 *** libraries will work regardless of this problem. Nevertheless, you
8741 *** may want to report the problem to your system manager and/or to
8742 *** bug-libtool@gnu.org
8743
8744 _LT_EOF
8745 fi ;;
8746 esac
8747 fi
8748 break
8749 fi
8750 done
8751 IFS="$lt_save_ifs"
8752 MAGIC_CMD="$lt_save_MAGIC_CMD"
8753 ;;
8754 esac
8755 fi
8756
8757 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8758 if test -n "$MAGIC_CMD"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8760 $as_echo "$MAGIC_CMD" >&6; }
8761 else
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8763 $as_echo "no" >&6; }
8764 fi
8765
8766
8767
8768
8769
8770 if test -z "$lt_cv_path_MAGIC_CMD"; then
8771 if test -n "$ac_tool_prefix"; then
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8773 $as_echo_n "checking for file... " >&6; }
8774 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8775 $as_echo_n "(cached) " >&6
8776 else
8777 case $MAGIC_CMD in
8778 [\\/*] | ?:[\\/]*)
8779 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8780 ;;
8781 *)
8782 lt_save_MAGIC_CMD="$MAGIC_CMD"
8783 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8784 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8785 for ac_dir in $ac_dummy; do
8786 IFS="$lt_save_ifs"
8787 test -z "$ac_dir" && ac_dir=.
8788 if test -f $ac_dir/file; then
8789 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8790 if test -n "$file_magic_test_file"; then
8791 case $deplibs_check_method in
8792 "file_magic "*)
8793 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8794 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8795 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8796 $EGREP "$file_magic_regex" > /dev/null; then
8797 :
8798 else
8799 cat <<_LT_EOF 1>&2
8800
8801 *** Warning: the command libtool uses to detect shared libraries,
8802 *** $file_magic_cmd, produces output that libtool cannot recognize.
8803 *** The result is that libtool may fail to recognize shared libraries
8804 *** as such. This will affect the creation of libtool libraries that
8805 *** depend on shared libraries, but programs linked with such libtool
8806 *** libraries will work regardless of this problem. Nevertheless, you
8807 *** may want to report the problem to your system manager and/or to
8808 *** bug-libtool@gnu.org
8809
8810 _LT_EOF
8811 fi ;;
8812 esac
8813 fi
8814 break
8815 fi
8816 done
8817 IFS="$lt_save_ifs"
8818 MAGIC_CMD="$lt_save_MAGIC_CMD"
8819 ;;
8820 esac
8821 fi
8822
8823 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8824 if test -n "$MAGIC_CMD"; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8826 $as_echo "$MAGIC_CMD" >&6; }
8827 else
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8829 $as_echo "no" >&6; }
8830 fi
8831
8832
8833 else
8834 MAGIC_CMD=:
8835 fi
8836 fi
8837
8838 fi
8839 ;;
8840 esac
8841
8842 # Use C for the default configuration in the libtool script
8843
8844 lt_save_CC="$CC"
8845 ac_ext=c
8846 ac_cpp='$CPP $CPPFLAGS'
8847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8850
8851
8852 # Source file extension for C test sources.
8853 ac_ext=c
8854
8855 # Object file extension for compiled C test sources.
8856 objext=o
8857 objext=$objext
8858
8859 # Code to be used in simple compile tests
8860 lt_simple_compile_test_code="int some_variable = 0;"
8861
8862 # Code to be used in simple link tests
8863 lt_simple_link_test_code='int main(){return(0);}'
8864
8865
8866
8867
8868
8869
8870
8871 # If no C compiler was specified, use CC.
8872 LTCC=${LTCC-"$CC"}
8873
8874 # If no C compiler flags were specified, use CFLAGS.
8875 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8876
8877 # Allow CC to be a program name with arguments.
8878 compiler=$CC
8879
8880 # Save the default compiler, since it gets overwritten when the other
8881 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8882 compiler_DEFAULT=$CC
8883
8884 # save warnings/boilerplate of simple test code
8885 ac_outfile=conftest.$ac_objext
8886 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8887 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8888 _lt_compiler_boilerplate=`cat conftest.err`
8889 $RM conftest*
8890
8891 ac_outfile=conftest.$ac_objext
8892 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8893 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8894 _lt_linker_boilerplate=`cat conftest.err`
8895 $RM -r conftest*
8896
8897
8898 ## CAVEAT EMPTOR:
8899 ## There is no encapsulation within the following macros, do not change
8900 ## the running order or otherwise move them around unless you know exactly
8901 ## what you are doing...
8902 if test -n "$compiler"; then
8903
8904 lt_prog_compiler_no_builtin_flag=
8905
8906 if test "$GCC" = yes; then
8907 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8908
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8910 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8911 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8912 $as_echo_n "(cached) " >&6
8913 else
8914 lt_cv_prog_compiler_rtti_exceptions=no
8915 ac_outfile=conftest.$ac_objext
8916 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8917 lt_compiler_flag="-fno-rtti -fno-exceptions"
8918 # Insert the option either (1) after the last *FLAGS variable, or
8919 # (2) before a word containing "conftest.", or (3) at the end.
8920 # Note that $ac_compile itself does not contain backslashes and begins
8921 # with a dollar sign (not a hyphen), so the echo should work correctly.
8922 # The option is referenced via a variable to avoid confusing sed.
8923 lt_compile=`echo "$ac_compile" | $SED \
8924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8926 -e 's:$: $lt_compiler_flag:'`
8927 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8928 (eval "$lt_compile" 2>conftest.err)
8929 ac_status=$?
8930 cat conftest.err >&5
8931 echo "$as_me:__oline__: \$? = $ac_status" >&5
8932 if (exit $ac_status) && test -s "$ac_outfile"; then
8933 # The compiler can only warn and ignore the option if not recognized
8934 # So say no if there are warnings other than the usual output.
8935 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8936 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8937 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8938 lt_cv_prog_compiler_rtti_exceptions=yes
8939 fi
8940 fi
8941 $RM conftest*
8942
8943 fi
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8945 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8946
8947 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8948 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8949 else
8950 :
8951 fi
8952
8953 fi
8954
8955
8956
8957
8958
8959
8960 lt_prog_compiler_wl=
8961 lt_prog_compiler_pic=
8962 lt_prog_compiler_static=
8963
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8965 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8966
8967 if test "$GCC" = yes; then
8968 lt_prog_compiler_wl='-Wl,'
8969 lt_prog_compiler_static='-static'
8970
8971 case $host_os in
8972 aix*)
8973 # All AIX code is PIC.
8974 if test "$host_cpu" = ia64; then
8975 # AIX 5 now supports IA64 processor
8976 lt_prog_compiler_static='-Bstatic'
8977 fi
8978 ;;
8979
8980 amigaos*)
8981 case $host_cpu in
8982 powerpc)
8983 # see comment about AmigaOS4 .so support
8984 lt_prog_compiler_pic='-fPIC'
8985 ;;
8986 m68k)
8987 # FIXME: we need at least 68020 code to build shared libraries, but
8988 # adding the `-m68020' flag to GCC prevents building anything better,
8989 # like `-m68040'.
8990 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8991 ;;
8992 esac
8993 ;;
8994
8995 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8996 # PIC is the default for these OSes.
8997 ;;
8998
8999 mingw* | cygwin* | pw32* | os2* | cegcc*)
9000 # This hack is so that the source file can tell whether it is being
9001 # built for inclusion in a dll (and should export symbols for example).
9002 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9003 # (--disable-auto-import) libraries
9004 lt_prog_compiler_pic='-DDLL_EXPORT'
9005 ;;
9006
9007 darwin* | rhapsody*)
9008 # PIC is the default on this platform
9009 # Common symbols not allowed in MH_DYLIB files
9010 lt_prog_compiler_pic='-fno-common'
9011 ;;
9012
9013 hpux*)
9014 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9015 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9016 # sets the default TLS model and affects inlining.
9017 case $host_cpu in
9018 hppa*64*)
9019 # +Z the default
9020 ;;
9021 *)
9022 lt_prog_compiler_pic='-fPIC'
9023 ;;
9024 esac
9025 ;;
9026
9027 interix[3-9]*)
9028 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9029 # Instead, we relocate shared libraries at runtime.
9030 ;;
9031
9032 msdosdjgpp*)
9033 # Just because we use GCC doesn't mean we suddenly get shared libraries
9034 # on systems that don't support them.
9035 lt_prog_compiler_can_build_shared=no
9036 enable_shared=no
9037 ;;
9038
9039 *nto* | *qnx*)
9040 # QNX uses GNU C++, but need to define -shared option too, otherwise
9041 # it will coredump.
9042 lt_prog_compiler_pic='-fPIC -shared'
9043 ;;
9044
9045 sysv4*MP*)
9046 if test -d /usr/nec; then
9047 lt_prog_compiler_pic=-Kconform_pic
9048 fi
9049 ;;
9050
9051 *)
9052 lt_prog_compiler_pic='-fPIC'
9053 ;;
9054 esac
9055 else
9056 # PORTME Check for flag to pass linker flags through the system compiler.
9057 case $host_os in
9058 aix*)
9059 lt_prog_compiler_wl='-Wl,'
9060 if test "$host_cpu" = ia64; then
9061 # AIX 5 now supports IA64 processor
9062 lt_prog_compiler_static='-Bstatic'
9063 else
9064 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9065 fi
9066 ;;
9067
9068 mingw* | cygwin* | pw32* | os2* | cegcc*)
9069 # This hack is so that the source file can tell whether it is being
9070 # built for inclusion in a dll (and should export symbols for example).
9071 lt_prog_compiler_pic='-DDLL_EXPORT'
9072 ;;
9073
9074 hpux9* | hpux10* | hpux11*)
9075 lt_prog_compiler_wl='-Wl,'
9076 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9077 # not for PA HP-UX.
9078 case $host_cpu in
9079 hppa*64*|ia64*)
9080 # +Z the default
9081 ;;
9082 *)
9083 lt_prog_compiler_pic='+Z'
9084 ;;
9085 esac
9086 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9087 lt_prog_compiler_static='${wl}-a ${wl}archive'
9088 ;;
9089
9090 irix5* | irix6* | nonstopux*)
9091 lt_prog_compiler_wl='-Wl,'
9092 # PIC (with -KPIC) is the default.
9093 lt_prog_compiler_static='-non_shared'
9094 ;;
9095
9096 linux* | k*bsd*-gnu)
9097 case $cc_basename in
9098 # old Intel for x86_64 which still supported -KPIC.
9099 ecc*)
9100 lt_prog_compiler_wl='-Wl,'
9101 lt_prog_compiler_pic='-KPIC'
9102 lt_prog_compiler_static='-static'
9103 ;;
9104 # icc used to be incompatible with GCC.
9105 # ICC 10 doesn't accept -KPIC any more.
9106 icc* | ifort*)
9107 lt_prog_compiler_wl='-Wl,'
9108 lt_prog_compiler_pic='-fPIC'
9109 lt_prog_compiler_static='-static'
9110 ;;
9111 # Lahey Fortran 8.1.
9112 lf95*)
9113 lt_prog_compiler_wl='-Wl,'
9114 lt_prog_compiler_pic='--shared'
9115 lt_prog_compiler_static='--static'
9116 ;;
9117 pgcc* | pgf77* | pgf90* | pgf95*)
9118 # Portland Group compilers (*not* the Pentium gcc compiler,
9119 # which looks to be a dead project)
9120 lt_prog_compiler_wl='-Wl,'
9121 lt_prog_compiler_pic='-fpic'
9122 lt_prog_compiler_static='-Bstatic'
9123 ;;
9124 ccc*)
9125 lt_prog_compiler_wl='-Wl,'
9126 # All Alpha code is PIC.
9127 lt_prog_compiler_static='-non_shared'
9128 ;;
9129 xl*)
9130 # IBM XL C 8.0/Fortran 10.1 on PPC
9131 lt_prog_compiler_wl='-Wl,'
9132 lt_prog_compiler_pic='-qpic'
9133 lt_prog_compiler_static='-qstaticlink'
9134 ;;
9135 *)
9136 case `$CC -V 2>&1 | sed 5q` in
9137 *Sun\ C*)
9138 # Sun C 5.9
9139 lt_prog_compiler_pic='-KPIC'
9140 lt_prog_compiler_static='-Bstatic'
9141 lt_prog_compiler_wl='-Wl,'
9142 ;;
9143 *Sun\ F*)
9144 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9145 lt_prog_compiler_pic='-KPIC'
9146 lt_prog_compiler_static='-Bstatic'
9147 lt_prog_compiler_wl=''
9148 ;;
9149 esac
9150 ;;
9151 esac
9152 ;;
9153
9154 newsos6)
9155 lt_prog_compiler_pic='-KPIC'
9156 lt_prog_compiler_static='-Bstatic'
9157 ;;
9158
9159 *nto* | *qnx*)
9160 # QNX uses GNU C++, but need to define -shared option too, otherwise
9161 # it will coredump.
9162 lt_prog_compiler_pic='-fPIC -shared'
9163 ;;
9164
9165 osf3* | osf4* | osf5*)
9166 lt_prog_compiler_wl='-Wl,'
9167 # All OSF/1 code is PIC.
9168 lt_prog_compiler_static='-non_shared'
9169 ;;
9170
9171 rdos*)
9172 lt_prog_compiler_static='-non_shared'
9173 ;;
9174
9175 solaris*)
9176 lt_prog_compiler_pic='-KPIC'
9177 lt_prog_compiler_static='-Bstatic'
9178 case $cc_basename in
9179 f77* | f90* | f95*)
9180 lt_prog_compiler_wl='-Qoption ld ';;
9181 *)
9182 lt_prog_compiler_wl='-Wl,';;
9183 esac
9184 ;;
9185
9186 sunos4*)
9187 lt_prog_compiler_wl='-Qoption ld '
9188 lt_prog_compiler_pic='-PIC'
9189 lt_prog_compiler_static='-Bstatic'
9190 ;;
9191
9192 sysv4 | sysv4.2uw2* | sysv4.3*)
9193 lt_prog_compiler_wl='-Wl,'
9194 lt_prog_compiler_pic='-KPIC'
9195 lt_prog_compiler_static='-Bstatic'
9196 ;;
9197
9198 sysv4*MP*)
9199 if test -d /usr/nec ;then
9200 lt_prog_compiler_pic='-Kconform_pic'
9201 lt_prog_compiler_static='-Bstatic'
9202 fi
9203 ;;
9204
9205 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9206 lt_prog_compiler_wl='-Wl,'
9207 lt_prog_compiler_pic='-KPIC'
9208 lt_prog_compiler_static='-Bstatic'
9209 ;;
9210
9211 unicos*)
9212 lt_prog_compiler_wl='-Wl,'
9213 lt_prog_compiler_can_build_shared=no
9214 ;;
9215
9216 uts4*)
9217 lt_prog_compiler_pic='-pic'
9218 lt_prog_compiler_static='-Bstatic'
9219 ;;
9220
9221 *)
9222 lt_prog_compiler_can_build_shared=no
9223 ;;
9224 esac
9225 fi
9226
9227 case $host_os in
9228 # For platforms which do not support PIC, -DPIC is meaningless:
9229 *djgpp*)
9230 lt_prog_compiler_pic=
9231 ;;
9232 *)
9233 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
9234 ;;
9235 esac
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9237 $as_echo "$lt_prog_compiler_pic" >&6; }
9238
9239
9240
9241
9242
9243
9244 #
9245 # Check to make sure the PIC flag actually works.
9246 #
9247 if test -n "$lt_prog_compiler_pic"; then
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9249 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9250 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9251 $as_echo_n "(cached) " >&6
9252 else
9253 lt_cv_prog_compiler_pic_works=no
9254 ac_outfile=conftest.$ac_objext
9255 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9256 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
9257 # Insert the option either (1) after the last *FLAGS variable, or
9258 # (2) before a word containing "conftest.", or (3) at the end.
9259 # Note that $ac_compile itself does not contain backslashes and begins
9260 # with a dollar sign (not a hyphen), so the echo should work correctly.
9261 # The option is referenced via a variable to avoid confusing sed.
9262 lt_compile=`echo "$ac_compile" | $SED \
9263 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9264 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9265 -e 's:$: $lt_compiler_flag:'`
9266 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9267 (eval "$lt_compile" 2>conftest.err)
9268 ac_status=$?
9269 cat conftest.err >&5
9270 echo "$as_me:__oline__: \$? = $ac_status" >&5
9271 if (exit $ac_status) && test -s "$ac_outfile"; then
9272 # The compiler can only warn and ignore the option if not recognized
9273 # So say no if there are warnings other than the usual output.
9274 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9275 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9276 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9277 lt_cv_prog_compiler_pic_works=yes
9278 fi
9279 fi
9280 $RM conftest*
9281
9282 fi
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9284 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9285
9286 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9287 case $lt_prog_compiler_pic in
9288 "" | " "*) ;;
9289 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9290 esac
9291 else
9292 lt_prog_compiler_pic=
9293 lt_prog_compiler_can_build_shared=no
9294 fi
9295
9296 fi
9297
9298
9299
9300
9301
9302
9303 #
9304 # Check to make sure the static flag actually works.
9305 #
9306 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9308 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9309 if ${lt_cv_prog_compiler_static_works+:} false; then :
9310 $as_echo_n "(cached) " >&6
9311 else
9312 lt_cv_prog_compiler_static_works=no
9313 save_LDFLAGS="$LDFLAGS"
9314 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9315 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9316 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9317 # The linker can only warn and ignore the option if not recognized
9318 # So say no if there are warnings
9319 if test -s conftest.err; then
9320 # Append any errors to the config.log.
9321 cat conftest.err 1>&5
9322 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9323 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9324 if diff conftest.exp conftest.er2 >/dev/null; then
9325 lt_cv_prog_compiler_static_works=yes
9326 fi
9327 else
9328 lt_cv_prog_compiler_static_works=yes
9329 fi
9330 fi
9331 $RM -r conftest*
9332 LDFLAGS="$save_LDFLAGS"
9333
9334 fi
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9336 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9337
9338 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9339 :
9340 else
9341 lt_prog_compiler_static=
9342 fi
9343
9344
9345
9346
9347
9348
9349
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9351 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9352 if ${lt_cv_prog_compiler_c_o+:} false; then :
9353 $as_echo_n "(cached) " >&6
9354 else
9355 lt_cv_prog_compiler_c_o=no
9356 $RM -r conftest 2>/dev/null
9357 mkdir conftest
9358 cd conftest
9359 mkdir out
9360 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9361
9362 lt_compiler_flag="-o out/conftest2.$ac_objext"
9363 # Insert the option either (1) after the last *FLAGS variable, or
9364 # (2) before a word containing "conftest.", or (3) at the end.
9365 # Note that $ac_compile itself does not contain backslashes and begins
9366 # with a dollar sign (not a hyphen), so the echo should work correctly.
9367 lt_compile=`echo "$ac_compile" | $SED \
9368 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9369 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9370 -e 's:$: $lt_compiler_flag:'`
9371 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9372 (eval "$lt_compile" 2>out/conftest.err)
9373 ac_status=$?
9374 cat out/conftest.err >&5
9375 echo "$as_me:__oline__: \$? = $ac_status" >&5
9376 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9377 then
9378 # The compiler can only warn and ignore the option if not recognized
9379 # So say no if there are warnings
9380 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9381 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9382 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9383 lt_cv_prog_compiler_c_o=yes
9384 fi
9385 fi
9386 chmod u+w . 2>&5
9387 $RM conftest*
9388 # SGI C++ compiler will create directory out/ii_files/ for
9389 # template instantiation
9390 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9391 $RM out/* && rmdir out
9392 cd ..
9393 $RM -r conftest
9394 $RM conftest*
9395
9396 fi
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9398 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9399
9400
9401
9402
9403
9404
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9406 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9407 if ${lt_cv_prog_compiler_c_o+:} false; then :
9408 $as_echo_n "(cached) " >&6
9409 else
9410 lt_cv_prog_compiler_c_o=no
9411 $RM -r conftest 2>/dev/null
9412 mkdir conftest
9413 cd conftest
9414 mkdir out
9415 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9416
9417 lt_compiler_flag="-o out/conftest2.$ac_objext"
9418 # Insert the option either (1) after the last *FLAGS variable, or
9419 # (2) before a word containing "conftest.", or (3) at the end.
9420 # Note that $ac_compile itself does not contain backslashes and begins
9421 # with a dollar sign (not a hyphen), so the echo should work correctly.
9422 lt_compile=`echo "$ac_compile" | $SED \
9423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9425 -e 's:$: $lt_compiler_flag:'`
9426 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9427 (eval "$lt_compile" 2>out/conftest.err)
9428 ac_status=$?
9429 cat out/conftest.err >&5
9430 echo "$as_me:__oline__: \$? = $ac_status" >&5
9431 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9432 then
9433 # The compiler can only warn and ignore the option if not recognized
9434 # So say no if there are warnings
9435 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9436 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9437 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9438 lt_cv_prog_compiler_c_o=yes
9439 fi
9440 fi
9441 chmod u+w . 2>&5
9442 $RM conftest*
9443 # SGI C++ compiler will create directory out/ii_files/ for
9444 # template instantiation
9445 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9446 $RM out/* && rmdir out
9447 cd ..
9448 $RM -r conftest
9449 $RM conftest*
9450
9451 fi
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9453 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9454
9455
9456
9457
9458 hard_links="nottested"
9459 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9460 # do not overwrite the value of need_locks provided by the user
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9462 $as_echo_n "checking if we can lock with hard links... " >&6; }
9463 hard_links=yes
9464 $RM conftest*
9465 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9466 touch conftest.a
9467 ln conftest.a conftest.b 2>&5 || hard_links=no
9468 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9470 $as_echo "$hard_links" >&6; }
9471 if test "$hard_links" = no; then
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9473 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9474 need_locks=warn
9475 fi
9476 else
9477 need_locks=no
9478 fi
9479
9480
9481
9482
9483
9484
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9486 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9487
9488 runpath_var=
9489 allow_undefined_flag=
9490 always_export_symbols=no
9491 archive_cmds=
9492 archive_expsym_cmds=
9493 compiler_needs_object=no
9494 enable_shared_with_static_runtimes=no
9495 export_dynamic_flag_spec=
9496 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9497 hardcode_automatic=no
9498 hardcode_direct=no
9499 hardcode_direct_absolute=no
9500 hardcode_libdir_flag_spec=
9501 hardcode_libdir_flag_spec_ld=
9502 hardcode_libdir_separator=
9503 hardcode_minus_L=no
9504 hardcode_shlibpath_var=unsupported
9505 inherit_rpath=no
9506 link_all_deplibs=unknown
9507 module_cmds=
9508 module_expsym_cmds=
9509 old_archive_from_new_cmds=
9510 old_archive_from_expsyms_cmds=
9511 thread_safe_flag_spec=
9512 whole_archive_flag_spec=
9513 # include_expsyms should be a list of space-separated symbols to be *always*
9514 # included in the symbol list
9515 include_expsyms=
9516 # exclude_expsyms can be an extended regexp of symbols to exclude
9517 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9518 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9519 # as well as any symbol that contains `d'.
9520 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9521 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9522 # platforms (ab)use it in PIC code, but their linkers get confused if
9523 # the symbol is explicitly referenced. Since portable code cannot
9524 # rely on this symbol name, it's probably fine to never include it in
9525 # preloaded symbol tables.
9526 # Exclude shared library initialization/finalization symbols.
9527 extract_expsyms_cmds=
9528
9529 case $host_os in
9530 cygwin* | mingw* | pw32* | cegcc*)
9531 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9532 # When not using gcc, we currently assume that we are using
9533 # Microsoft Visual C++.
9534 if test "$GCC" != yes; then
9535 with_gnu_ld=no
9536 fi
9537 ;;
9538 interix*)
9539 # we just hope/assume this is gcc and not c89 (= MSVC++)
9540 with_gnu_ld=yes
9541 ;;
9542 openbsd*)
9543 with_gnu_ld=no
9544 ;;
9545 esac
9546
9547 ld_shlibs=yes
9548 if test "$with_gnu_ld" = yes; then
9549 # If archive_cmds runs LD, not CC, wlarc should be empty
9550 wlarc='${wl}'
9551
9552 # Set some defaults for GNU ld with shared library support. These
9553 # are reset later if shared libraries are not supported. Putting them
9554 # here allows them to be overridden if necessary.
9555 runpath_var=LD_RUN_PATH
9556 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9557 export_dynamic_flag_spec='${wl}--export-dynamic'
9558 # ancient GNU ld didn't support --whole-archive et. al.
9559 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9560 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9561 else
9562 whole_archive_flag_spec=
9563 fi
9564 supports_anon_versioning=no
9565 case `$LD -v 2>&1` in
9566 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9567 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9568 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9569 *\ 2.11.*) ;; # other 2.11 versions
9570 *) supports_anon_versioning=yes ;;
9571 esac
9572
9573 # See if GNU ld supports shared libraries.
9574 case $host_os in
9575 aix[3-9]*)
9576 # On AIX/PPC, the GNU linker is very broken
9577 if test "$host_cpu" != ia64; then
9578 ld_shlibs=no
9579 cat <<_LT_EOF 1>&2
9580
9581 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9582 *** to be unable to reliably create shared libraries on AIX.
9583 *** Therefore, libtool is disabling shared libraries support. If you
9584 *** really care for shared libraries, you may want to modify your PATH
9585 *** so that a non-GNU linker is found, and then restart.
9586
9587 _LT_EOF
9588 fi
9589 ;;
9590
9591 amigaos*)
9592 case $host_cpu in
9593 powerpc)
9594 # see comment about AmigaOS4 .so support
9595 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9596 archive_expsym_cmds=''
9597 ;;
9598 m68k)
9599 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)'
9600 hardcode_libdir_flag_spec='-L$libdir'
9601 hardcode_minus_L=yes
9602 ;;
9603 esac
9604 ;;
9605
9606 beos*)
9607 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9608 allow_undefined_flag=unsupported
9609 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9610 # support --undefined. This deserves some investigation. FIXME
9611 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9612 else
9613 ld_shlibs=no
9614 fi
9615 ;;
9616
9617 cygwin* | mingw* | pw32* | cegcc*)
9618 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9619 # as there is no search path for DLLs.
9620 hardcode_libdir_flag_spec='-L$libdir'
9621 allow_undefined_flag=unsupported
9622 always_export_symbols=no
9623 enable_shared_with_static_runtimes=yes
9624 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9625
9626 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9627 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9628 # If the export-symbols file already is a .def file (1st line
9629 # is EXPORTS), use it as is; otherwise, prepend...
9630 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9631 cp $export_symbols $output_objdir/$soname.def;
9632 else
9633 echo EXPORTS > $output_objdir/$soname.def;
9634 cat $export_symbols >> $output_objdir/$soname.def;
9635 fi~
9636 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9637 else
9638 ld_shlibs=no
9639 fi
9640 ;;
9641
9642 interix[3-9]*)
9643 hardcode_direct=no
9644 hardcode_shlibpath_var=no
9645 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9646 export_dynamic_flag_spec='${wl}-E'
9647 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9648 # Instead, shared libraries are loaded at an image base (0x10000000 by
9649 # default) and relocated if they conflict, which is a slow very memory
9650 # consuming and fragmenting process. To avoid this, we pick a random,
9651 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9652 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9653 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9654 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'
9655 ;;
9656
9657 gnu* | linux* | tpf* | k*bsd*-gnu)
9658 tmp_diet=no
9659 if test "$host_os" = linux-dietlibc; then
9660 case $cc_basename in
9661 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9662 esac
9663 fi
9664 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9665 && test "$tmp_diet" = no
9666 then
9667 tmp_addflag=
9668 tmp_sharedflag='-shared'
9669 case $cc_basename,$host_cpu in
9670 pgcc*) # Portland Group C compiler
9671 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9672 tmp_addflag=' $pic_flag'
9673 ;;
9674 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9675 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9676 tmp_addflag=' $pic_flag -Mnomain' ;;
9677 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9678 tmp_addflag=' -i_dynamic' ;;
9679 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9680 tmp_addflag=' -i_dynamic -nofor_main' ;;
9681 ifc* | ifort*) # Intel Fortran compiler
9682 tmp_addflag=' -nofor_main' ;;
9683 lf95*) # Lahey Fortran 8.1
9684 whole_archive_flag_spec=
9685 tmp_sharedflag='--shared' ;;
9686 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9687 tmp_sharedflag='-qmkshrobj'
9688 tmp_addflag= ;;
9689 esac
9690 case `$CC -V 2>&1 | sed 5q` in
9691 *Sun\ C*) # Sun C 5.9
9692 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9693 compiler_needs_object=yes
9694 tmp_sharedflag='-G' ;;
9695 *Sun\ F*) # Sun Fortran 8.3
9696 tmp_sharedflag='-G' ;;
9697 esac
9698 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9699
9700 if test "x$supports_anon_versioning" = xyes; then
9701 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9702 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9703 echo "local: *; };" >> $output_objdir/$libname.ver~
9704 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9705 fi
9706
9707 case $cc_basename in
9708 xlf*)
9709 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9710 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9711 hardcode_libdir_flag_spec=
9712 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9713 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9714 if test "x$supports_anon_versioning" = xyes; then
9715 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9716 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9717 echo "local: *; };" >> $output_objdir/$libname.ver~
9718 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9719 fi
9720 ;;
9721 esac
9722 else
9723 ld_shlibs=no
9724 fi
9725 ;;
9726
9727 netbsd*)
9728 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9729 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9730 wlarc=
9731 else
9732 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9733 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9734 fi
9735 ;;
9736
9737 solaris*)
9738 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9739 ld_shlibs=no
9740 cat <<_LT_EOF 1>&2
9741
9742 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9743 *** create shared libraries on Solaris systems. Therefore, libtool
9744 *** is disabling shared libraries support. We urge you to upgrade GNU
9745 *** binutils to release 2.9.1 or newer. Another option is to modify
9746 *** your PATH or compiler configuration so that the native linker is
9747 *** used, and then restart.
9748
9749 _LT_EOF
9750 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9751 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9752 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9753 else
9754 ld_shlibs=no
9755 fi
9756 ;;
9757
9758 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9759 case `$LD -v 2>&1` in
9760 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9761 ld_shlibs=no
9762 cat <<_LT_EOF 1>&2
9763
9764 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9765 *** reliably create shared libraries on SCO systems. Therefore, libtool
9766 *** is disabling shared libraries support. We urge you to upgrade GNU
9767 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9768 *** your PATH or compiler configuration so that the native linker is
9769 *** used, and then restart.
9770
9771 _LT_EOF
9772 ;;
9773 *)
9774 # For security reasons, it is highly recommended that you always
9775 # use absolute paths for naming shared libraries, and exclude the
9776 # DT_RUNPATH tag from executables and libraries. But doing so
9777 # requires that you compile everything twice, which is a pain.
9778 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9779 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9780 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9781 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9782 else
9783 ld_shlibs=no
9784 fi
9785 ;;
9786 esac
9787 ;;
9788
9789 sunos4*)
9790 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9791 wlarc=
9792 hardcode_direct=yes
9793 hardcode_shlibpath_var=no
9794 ;;
9795
9796 *)
9797 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9798 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9799 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9800 else
9801 ld_shlibs=no
9802 fi
9803 ;;
9804 esac
9805
9806 if test "$ld_shlibs" = no; then
9807 runpath_var=
9808 hardcode_libdir_flag_spec=
9809 export_dynamic_flag_spec=
9810 whole_archive_flag_spec=
9811 fi
9812 else
9813 # PORTME fill in a description of your system's linker (not GNU ld)
9814 case $host_os in
9815 aix3*)
9816 allow_undefined_flag=unsupported
9817 always_export_symbols=yes
9818 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'
9819 # Note: this linker hardcodes the directories in LIBPATH if there
9820 # are no directories specified by -L.
9821 hardcode_minus_L=yes
9822 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9823 # Neither direct hardcoding nor static linking is supported with a
9824 # broken collect2.
9825 hardcode_direct=unsupported
9826 fi
9827 ;;
9828
9829 aix[4-9]*)
9830 if test "$host_cpu" = ia64; then
9831 # On IA64, the linker does run time linking by default, so we don't
9832 # have to do anything special.
9833 aix_use_runtimelinking=no
9834 exp_sym_flag='-Bexport'
9835 no_entry_flag=""
9836 else
9837 # If we're using GNU nm, then we don't want the "-C" option.
9838 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9839 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9840 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9841 else
9842 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'
9843 fi
9844 aix_use_runtimelinking=no
9845
9846 # Test if we are trying to use run time linking or normal
9847 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9848 # need to do runtime linking.
9849 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9850 for ld_flag in $LDFLAGS; do
9851 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9852 aix_use_runtimelinking=yes
9853 break
9854 fi
9855 done
9856 ;;
9857 esac
9858
9859 exp_sym_flag='-bexport'
9860 no_entry_flag='-bnoentry'
9861 fi
9862
9863 # When large executables or shared objects are built, AIX ld can
9864 # have problems creating the table of contents. If linking a library
9865 # or program results in "error TOC overflow" add -mminimal-toc to
9866 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9867 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9868
9869 archive_cmds=''
9870 hardcode_direct=yes
9871 hardcode_direct_absolute=yes
9872 hardcode_libdir_separator=':'
9873 link_all_deplibs=yes
9874 file_list_spec='${wl}-f,'
9875
9876 if test "$GCC" = yes; then
9877 case $host_os in aix4.[012]|aix4.[012].*)
9878 # We only want to do this on AIX 4.2 and lower, the check
9879 # below for broken collect2 doesn't work under 4.3+
9880 collect2name=`${CC} -print-prog-name=collect2`
9881 if test -f "$collect2name" &&
9882 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9883 then
9884 # We have reworked collect2
9885 :
9886 else
9887 # We have old collect2
9888 hardcode_direct=unsupported
9889 # It fails to find uninstalled libraries when the uninstalled
9890 # path is not listed in the libpath. Setting hardcode_minus_L
9891 # to unsupported forces relinking
9892 hardcode_minus_L=yes
9893 hardcode_libdir_flag_spec='-L$libdir'
9894 hardcode_libdir_separator=
9895 fi
9896 ;;
9897 esac
9898 shared_flag='-shared'
9899 if test "$aix_use_runtimelinking" = yes; then
9900 shared_flag="$shared_flag "'${wl}-G'
9901 fi
9902 else
9903 # not using gcc
9904 if test "$host_cpu" = ia64; then
9905 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9906 # chokes on -Wl,-G. The following line is correct:
9907 shared_flag='-G'
9908 else
9909 if test "$aix_use_runtimelinking" = yes; then
9910 shared_flag='${wl}-G'
9911 else
9912 shared_flag='${wl}-bM:SRE'
9913 fi
9914 fi
9915 fi
9916
9917 export_dynamic_flag_spec='${wl}-bexpall'
9918 # It seems that -bexpall does not export symbols beginning with
9919 # underscore (_), so it is better to generate a list of symbols to export.
9920 always_export_symbols=yes
9921 if test "$aix_use_runtimelinking" = yes; then
9922 # Warning - without using the other runtime loading flags (-brtl),
9923 # -berok will link without error, but may produce a broken library.
9924 allow_undefined_flag='-berok'
9925 # Determine the default libpath from the value encoded in an
9926 # empty executable.
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9929
9930 int
9931 main ()
9932 {
9933
9934 ;
9935 return 0;
9936 }
9937 _ACEOF
9938 if ac_fn_c_try_link "$LINENO"; then :
9939
9940 lt_aix_libpath_sed='
9941 /Import File Strings/,/^$/ {
9942 /^0/ {
9943 s/^0 *\(.*\)$/\1/
9944 p
9945 }
9946 }'
9947 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9948 # Check for a 64-bit object if we didn't find anything.
9949 if test -z "$aix_libpath"; then
9950 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9951 fi
9952 fi
9953 rm -f core conftest.err conftest.$ac_objext \
9954 conftest$ac_exeext conftest.$ac_ext
9955 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9956
9957 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9958 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9959 else
9960 if test "$host_cpu" = ia64; then
9961 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9962 allow_undefined_flag="-z nodefs"
9963 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"
9964 else
9965 # Determine the default libpath from the value encoded in an
9966 # empty executable.
9967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9969
9970 int
9971 main ()
9972 {
9973
9974 ;
9975 return 0;
9976 }
9977 _ACEOF
9978 if ac_fn_c_try_link "$LINENO"; then :
9979
9980 lt_aix_libpath_sed='
9981 /Import File Strings/,/^$/ {
9982 /^0/ {
9983 s/^0 *\(.*\)$/\1/
9984 p
9985 }
9986 }'
9987 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9988 # Check for a 64-bit object if we didn't find anything.
9989 if test -z "$aix_libpath"; then
9990 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9991 fi
9992 fi
9993 rm -f core conftest.err conftest.$ac_objext \
9994 conftest$ac_exeext conftest.$ac_ext
9995 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9996
9997 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9998 # Warning - without using the other run time loading flags,
9999 # -berok will link without error, but may produce a broken library.
10000 no_undefined_flag=' ${wl}-bernotok'
10001 allow_undefined_flag=' ${wl}-berok'
10002 # Exported symbols can be pulled into shared objects from archives
10003 whole_archive_flag_spec='$convenience'
10004 archive_cmds_need_lc=yes
10005 # This is similar to how AIX traditionally builds its shared libraries.
10006 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'
10007 fi
10008 fi
10009 ;;
10010
10011 amigaos*)
10012 case $host_cpu in
10013 powerpc)
10014 # see comment about AmigaOS4 .so support
10015 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10016 archive_expsym_cmds=''
10017 ;;
10018 m68k)
10019 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)'
10020 hardcode_libdir_flag_spec='-L$libdir'
10021 hardcode_minus_L=yes
10022 ;;
10023 esac
10024 ;;
10025
10026 bsdi[45]*)
10027 export_dynamic_flag_spec=-rdynamic
10028 ;;
10029
10030 cygwin* | mingw* | pw32* | cegcc*)
10031 # When not using gcc, we currently assume that we are using
10032 # Microsoft Visual C++.
10033 # hardcode_libdir_flag_spec is actually meaningless, as there is
10034 # no search path for DLLs.
10035 hardcode_libdir_flag_spec=' '
10036 allow_undefined_flag=unsupported
10037 # Tell ltmain to make .lib files, not .a files.
10038 libext=lib
10039 # Tell ltmain to make .dll files, not .so files.
10040 shrext_cmds=".dll"
10041 # FIXME: Setting linknames here is a bad hack.
10042 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10043 # The linker will automatically build a .lib file if we build a DLL.
10044 old_archive_from_new_cmds='true'
10045 # FIXME: Should let the user specify the lib program.
10046 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10047 fix_srcfile_path='`cygpath -w "$srcfile"`'
10048 enable_shared_with_static_runtimes=yes
10049 ;;
10050
10051 darwin* | rhapsody*)
10052
10053
10054 archive_cmds_need_lc=no
10055 hardcode_direct=no
10056 hardcode_automatic=yes
10057 hardcode_shlibpath_var=unsupported
10058 whole_archive_flag_spec=''
10059 link_all_deplibs=yes
10060 allow_undefined_flag="$_lt_dar_allow_undefined"
10061 case $cc_basename in
10062 ifort*) _lt_dar_can_shared=yes ;;
10063 *) _lt_dar_can_shared=$GCC ;;
10064 esac
10065 if test "$_lt_dar_can_shared" = "yes"; then
10066 output_verbose_link_cmd=echo
10067 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10068 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10069 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}"
10070 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}"
10071
10072 else
10073 ld_shlibs=no
10074 fi
10075
10076 ;;
10077
10078 dgux*)
10079 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10080 hardcode_libdir_flag_spec='-L$libdir'
10081 hardcode_shlibpath_var=no
10082 ;;
10083
10084 freebsd1*)
10085 ld_shlibs=no
10086 ;;
10087
10088 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10089 # support. Future versions do this automatically, but an explicit c++rt0.o
10090 # does not break anything, and helps significantly (at the cost of a little
10091 # extra space).
10092 freebsd2.2*)
10093 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10094 hardcode_libdir_flag_spec='-R$libdir'
10095 hardcode_direct=yes
10096 hardcode_shlibpath_var=no
10097 ;;
10098
10099 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10100 freebsd2*)
10101 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10102 hardcode_direct=yes
10103 hardcode_minus_L=yes
10104 hardcode_shlibpath_var=no
10105 ;;
10106
10107 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10108 freebsd* | dragonfly*)
10109 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10110 hardcode_libdir_flag_spec='-R$libdir'
10111 hardcode_direct=yes
10112 hardcode_shlibpath_var=no
10113 ;;
10114
10115 hpux9*)
10116 if test "$GCC" = yes; then
10117 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10118 else
10119 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'
10120 fi
10121 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10122 hardcode_libdir_separator=:
10123 hardcode_direct=yes
10124
10125 # hardcode_minus_L: Not really in the search PATH,
10126 # but as the default location of the library.
10127 hardcode_minus_L=yes
10128 export_dynamic_flag_spec='${wl}-E'
10129 ;;
10130
10131 hpux10*)
10132 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10133 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10134 else
10135 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10136 fi
10137 if test "$with_gnu_ld" = no; then
10138 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10139 hardcode_libdir_flag_spec_ld='+b $libdir'
10140 hardcode_libdir_separator=:
10141 hardcode_direct=yes
10142 hardcode_direct_absolute=yes
10143 export_dynamic_flag_spec='${wl}-E'
10144 # hardcode_minus_L: Not really in the search PATH,
10145 # but as the default location of the library.
10146 hardcode_minus_L=yes
10147 fi
10148 ;;
10149
10150 hpux11*)
10151 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10152 case $host_cpu in
10153 hppa*64*)
10154 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10155 ;;
10156 ia64*)
10157 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10158 ;;
10159 *)
10160 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10161 ;;
10162 esac
10163 else
10164 case $host_cpu in
10165 hppa*64*)
10166 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10167 ;;
10168 ia64*)
10169 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10170 ;;
10171 *)
10172 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10173 ;;
10174 esac
10175 fi
10176 if test "$with_gnu_ld" = no; then
10177 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10178 hardcode_libdir_separator=:
10179
10180 case $host_cpu in
10181 hppa*64*|ia64*)
10182 hardcode_direct=no
10183 hardcode_shlibpath_var=no
10184 ;;
10185 *)
10186 hardcode_direct=yes
10187 hardcode_direct_absolute=yes
10188 export_dynamic_flag_spec='${wl}-E'
10189
10190 # hardcode_minus_L: Not really in the search PATH,
10191 # but as the default location of the library.
10192 hardcode_minus_L=yes
10193 ;;
10194 esac
10195 fi
10196 ;;
10197
10198 irix5* | irix6* | nonstopux*)
10199 if test "$GCC" = yes; then
10200 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10201 # Try to use the -exported_symbol ld option, if it does not
10202 # work, assume that -exports_file does not work either and
10203 # implicitly export all symbols.
10204 save_LDFLAGS="$LDFLAGS"
10205 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10207 /* end confdefs.h. */
10208 int foo(void) {}
10209 _ACEOF
10210 if ac_fn_c_try_link "$LINENO"; then :
10211 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10212
10213 fi
10214 rm -f core conftest.err conftest.$ac_objext \
10215 conftest$ac_exeext conftest.$ac_ext
10216 LDFLAGS="$save_LDFLAGS"
10217 else
10218 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10219 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10220 fi
10221 archive_cmds_need_lc='no'
10222 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10223 hardcode_libdir_separator=:
10224 inherit_rpath=yes
10225 link_all_deplibs=yes
10226 ;;
10227
10228 netbsd*)
10229 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10230 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10231 else
10232 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10233 fi
10234 hardcode_libdir_flag_spec='-R$libdir'
10235 hardcode_direct=yes
10236 hardcode_shlibpath_var=no
10237 ;;
10238
10239 newsos6)
10240 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10241 hardcode_direct=yes
10242 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10243 hardcode_libdir_separator=:
10244 hardcode_shlibpath_var=no
10245 ;;
10246
10247 *nto* | *qnx*)
10248 ;;
10249
10250 openbsd*)
10251 if test -f /usr/libexec/ld.so; then
10252 hardcode_direct=yes
10253 hardcode_shlibpath_var=no
10254 hardcode_direct_absolute=yes
10255 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10256 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10257 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10258 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10259 export_dynamic_flag_spec='${wl}-E'
10260 else
10261 case $host_os in
10262 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10263 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10264 hardcode_libdir_flag_spec='-R$libdir'
10265 ;;
10266 *)
10267 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10268 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10269 ;;
10270 esac
10271 fi
10272 else
10273 ld_shlibs=no
10274 fi
10275 ;;
10276
10277 os2*)
10278 hardcode_libdir_flag_spec='-L$libdir'
10279 hardcode_minus_L=yes
10280 allow_undefined_flag=unsupported
10281 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'
10282 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10283 ;;
10284
10285 osf3*)
10286 if test "$GCC" = yes; then
10287 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10288 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10289 else
10290 allow_undefined_flag=' -expect_unresolved \*'
10291 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10292 fi
10293 archive_cmds_need_lc='no'
10294 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10295 hardcode_libdir_separator=:
10296 ;;
10297
10298 osf4* | osf5*) # as osf3* with the addition of -msym flag
10299 if test "$GCC" = yes; then
10300 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10301 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10302 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10303 else
10304 allow_undefined_flag=' -expect_unresolved \*'
10305 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10306 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~
10307 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10308
10309 # Both c and cxx compiler support -rpath directly
10310 hardcode_libdir_flag_spec='-rpath $libdir'
10311 fi
10312 archive_cmds_need_lc='no'
10313 hardcode_libdir_separator=:
10314 ;;
10315
10316 solaris*)
10317 no_undefined_flag=' -z defs'
10318 if test "$GCC" = yes; then
10319 wlarc='${wl}'
10320 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10321 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10322 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10323 else
10324 case `$CC -V 2>&1` in
10325 *"Compilers 5.0"*)
10326 wlarc=''
10327 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10328 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10329 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10330 ;;
10331 *)
10332 wlarc='${wl}'
10333 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10334 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10335 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10336 ;;
10337 esac
10338 fi
10339 hardcode_libdir_flag_spec='-R$libdir'
10340 hardcode_shlibpath_var=no
10341 case $host_os in
10342 solaris2.[0-5] | solaris2.[0-5].*) ;;
10343 *)
10344 # The compiler driver will combine and reorder linker options,
10345 # but understands `-z linker_flag'. GCC discards it without `$wl',
10346 # but is careful enough not to reorder.
10347 # Supported since Solaris 2.6 (maybe 2.5.1?)
10348 if test "$GCC" = yes; then
10349 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10350 else
10351 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10352 fi
10353 ;;
10354 esac
10355 link_all_deplibs=yes
10356 ;;
10357
10358 sunos4*)
10359 if test "x$host_vendor" = xsequent; then
10360 # Use $CC to link under sequent, because it throws in some extra .o
10361 # files that make .init and .fini sections work.
10362 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10363 else
10364 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10365 fi
10366 hardcode_libdir_flag_spec='-L$libdir'
10367 hardcode_direct=yes
10368 hardcode_minus_L=yes
10369 hardcode_shlibpath_var=no
10370 ;;
10371
10372 sysv4)
10373 case $host_vendor in
10374 sni)
10375 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10376 hardcode_direct=yes # is this really true???
10377 ;;
10378 siemens)
10379 ## LD is ld it makes a PLAMLIB
10380 ## CC just makes a GrossModule.
10381 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10382 reload_cmds='$CC -r -o $output$reload_objs'
10383 hardcode_direct=no
10384 ;;
10385 motorola)
10386 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10387 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10388 ;;
10389 esac
10390 runpath_var='LD_RUN_PATH'
10391 hardcode_shlibpath_var=no
10392 ;;
10393
10394 sysv4.3*)
10395 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10396 hardcode_shlibpath_var=no
10397 export_dynamic_flag_spec='-Bexport'
10398 ;;
10399
10400 sysv4*MP*)
10401 if test -d /usr/nec; then
10402 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10403 hardcode_shlibpath_var=no
10404 runpath_var=LD_RUN_PATH
10405 hardcode_runpath_var=yes
10406 ld_shlibs=yes
10407 fi
10408 ;;
10409
10410 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10411 no_undefined_flag='${wl}-z,text'
10412 archive_cmds_need_lc=no
10413 hardcode_shlibpath_var=no
10414 runpath_var='LD_RUN_PATH'
10415
10416 if test "$GCC" = yes; then
10417 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10418 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10419 else
10420 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10421 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 fi
10423 ;;
10424
10425 sysv5* | sco3.2v5* | sco5v6*)
10426 # Note: We can NOT use -z defs as we might desire, because we do not
10427 # link with -lc, and that would cause any symbols used from libc to
10428 # always be unresolved, which means just about no library would
10429 # ever link correctly. If we're not using GNU ld we use -z text
10430 # though, which does catch some bad symbols but isn't as heavy-handed
10431 # as -z defs.
10432 no_undefined_flag='${wl}-z,text'
10433 allow_undefined_flag='${wl}-z,nodefs'
10434 archive_cmds_need_lc=no
10435 hardcode_shlibpath_var=no
10436 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10437 hardcode_libdir_separator=':'
10438 link_all_deplibs=yes
10439 export_dynamic_flag_spec='${wl}-Bexport'
10440 runpath_var='LD_RUN_PATH'
10441
10442 if test "$GCC" = yes; then
10443 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10444 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10445 else
10446 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10447 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10448 fi
10449 ;;
10450
10451 uts4*)
10452 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10453 hardcode_libdir_flag_spec='-L$libdir'
10454 hardcode_shlibpath_var=no
10455 ;;
10456
10457 *)
10458 ld_shlibs=no
10459 ;;
10460 esac
10461
10462 if test x$host_vendor = xsni; then
10463 case $host in
10464 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10465 export_dynamic_flag_spec='${wl}-Blargedynsym'
10466 ;;
10467 esac
10468 fi
10469 fi
10470
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10472 $as_echo "$ld_shlibs" >&6; }
10473 test "$ld_shlibs" = no && can_build_shared=no
10474
10475 with_gnu_ld=$with_gnu_ld
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491 #
10492 # Do we need to explicitly link libc?
10493 #
10494 case "x$archive_cmds_need_lc" in
10495 x|xyes)
10496 # Assume -lc should be added
10497 archive_cmds_need_lc=yes
10498
10499 if test "$enable_shared" = yes && test "$GCC" = yes; then
10500 case $archive_cmds in
10501 *'~'*)
10502 # FIXME: we may have to deal with multi-command sequences.
10503 ;;
10504 '$CC '*)
10505 # Test whether the compiler implicitly links with -lc since on some
10506 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10507 # to ld, don't add -lc before -lgcc.
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10509 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10510 $RM conftest*
10511 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10512
10513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10514 (eval $ac_compile) 2>&5
10515 ac_status=$?
10516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10517 test $ac_status = 0; } 2>conftest.err; then
10518 soname=conftest
10519 lib=conftest
10520 libobjs=conftest.$ac_objext
10521 deplibs=
10522 wl=$lt_prog_compiler_wl
10523 pic_flag=$lt_prog_compiler_pic
10524 compiler_flags=-v
10525 linker_flags=-v
10526 verstring=
10527 output_objdir=.
10528 libname=conftest
10529 lt_save_allow_undefined_flag=$allow_undefined_flag
10530 allow_undefined_flag=
10531 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10532 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10533 ac_status=$?
10534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10535 test $ac_status = 0; }
10536 then
10537 archive_cmds_need_lc=no
10538 else
10539 archive_cmds_need_lc=yes
10540 fi
10541 allow_undefined_flag=$lt_save_allow_undefined_flag
10542 else
10543 cat conftest.err 1>&5
10544 fi
10545 $RM conftest*
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10547 $as_echo "$archive_cmds_need_lc" >&6; }
10548 ;;
10549 esac
10550 fi
10551 ;;
10552 esac
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
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10711 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10712
10713 if test "$GCC" = yes; then
10714 case $host_os in
10715 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10716 *) lt_awk_arg="/^libraries:/" ;;
10717 esac
10718 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10719 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10720 # if the path contains ";" then we assume it to be the separator
10721 # otherwise default to the standard path separator (i.e. ":") - it is
10722 # assumed that no part of a normal pathname contains ";" but that should
10723 # okay in the real world where ";" in dirpaths is itself problematic.
10724 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10725 else
10726 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10727 fi
10728 # Ok, now we have the path, separated by spaces, we can step through it
10729 # and add multilib dir if necessary.
10730 lt_tmp_lt_search_path_spec=
10731 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10732 for lt_sys_path in $lt_search_path_spec; do
10733 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10734 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10735 else
10736 test -d "$lt_sys_path" && \
10737 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10738 fi
10739 done
10740 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10741 BEGIN {RS=" "; FS="/|\n";} {
10742 lt_foo="";
10743 lt_count=0;
10744 for (lt_i = NF; lt_i > 0; lt_i--) {
10745 if ($lt_i != "" && $lt_i != ".") {
10746 if ($lt_i == "..") {
10747 lt_count++;
10748 } else {
10749 if (lt_count == 0) {
10750 lt_foo="/" $lt_i lt_foo;
10751 } else {
10752 lt_count--;
10753 }
10754 }
10755 }
10756 }
10757 if (lt_foo != "") { lt_freq[lt_foo]++; }
10758 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10759 }'`
10760 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10761 else
10762 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10763 fi
10764 library_names_spec=
10765 libname_spec='lib$name'
10766 soname_spec=
10767 shrext_cmds=".so"
10768 postinstall_cmds=
10769 postuninstall_cmds=
10770 finish_cmds=
10771 finish_eval=
10772 shlibpath_var=
10773 shlibpath_overrides_runpath=unknown
10774 version_type=none
10775 dynamic_linker="$host_os ld.so"
10776 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10777 need_lib_prefix=unknown
10778 hardcode_into_libs=no
10779
10780 # when you set need_version to no, make sure it does not cause -set_version
10781 # flags to be left without arguments
10782 need_version=unknown
10783
10784 case $host_os in
10785 aix3*)
10786 version_type=linux
10787 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10788 shlibpath_var=LIBPATH
10789
10790 # AIX 3 has no versioning support, so we append a major version to the name.
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 ;;
10793
10794 aix[4-9]*)
10795 version_type=linux
10796 need_lib_prefix=no
10797 need_version=no
10798 hardcode_into_libs=yes
10799 if test "$host_cpu" = ia64; then
10800 # AIX 5 supports IA64
10801 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10802 shlibpath_var=LD_LIBRARY_PATH
10803 else
10804 # With GCC up to 2.95.x, collect2 would create an import file
10805 # for dependence libraries. The import file would start with
10806 # the line `#! .'. This would cause the generated library to
10807 # depend on `.', always an invalid library. This was fixed in
10808 # development snapshots of GCC prior to 3.0.
10809 case $host_os in
10810 aix4 | aix4.[01] | aix4.[01].*)
10811 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10812 echo ' yes '
10813 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10814 :
10815 else
10816 can_build_shared=no
10817 fi
10818 ;;
10819 esac
10820 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10821 # soname into executable. Probably we can add versioning support to
10822 # collect2, so additional links can be useful in future.
10823 if test "$aix_use_runtimelinking" = yes; then
10824 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10825 # instead of lib<name>.a to let people know that these are not
10826 # typical AIX shared libraries.
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 else
10829 # We preserve .a as extension for shared libraries through AIX4.2
10830 # and later when we are not doing run time linking.
10831 library_names_spec='${libname}${release}.a $libname.a'
10832 soname_spec='${libname}${release}${shared_ext}$major'
10833 fi
10834 shlibpath_var=LIBPATH
10835 fi
10836 ;;
10837
10838 amigaos*)
10839 case $host_cpu in
10840 powerpc)
10841 # Since July 2007 AmigaOS4 officially supports .so libraries.
10842 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10844 ;;
10845 m68k)
10846 library_names_spec='$libname.ixlibrary $libname.a'
10847 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10848 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10849 ;;
10850 esac
10851 ;;
10852
10853 beos*)
10854 library_names_spec='${libname}${shared_ext}'
10855 dynamic_linker="$host_os ld.so"
10856 shlibpath_var=LIBRARY_PATH
10857 ;;
10858
10859 bsdi[45]*)
10860 version_type=linux
10861 need_version=no
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10863 soname_spec='${libname}${release}${shared_ext}$major'
10864 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10865 shlibpath_var=LD_LIBRARY_PATH
10866 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10867 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10868 # the default ld.so.conf also contains /usr/contrib/lib and
10869 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10870 # libtool to hard-code these into programs
10871 ;;
10872
10873 cygwin* | mingw* | pw32* | cegcc*)
10874 version_type=windows
10875 shrext_cmds=".dll"
10876 need_version=no
10877 need_lib_prefix=no
10878
10879 case $GCC,$host_os in
10880 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10881 library_names_spec='$libname.dll.a'
10882 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10883 postinstall_cmds='base_file=`basename \${file}`~
10884 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10885 dldir=$destdir/`dirname \$dlpath`~
10886 test -d \$dldir || mkdir -p \$dldir~
10887 $install_prog $dir/$dlname \$dldir/$dlname~
10888 chmod a+x \$dldir/$dlname~
10889 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10890 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10891 fi'
10892 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10893 dlpath=$dir/\$dldll~
10894 $RM \$dlpath'
10895 shlibpath_overrides_runpath=yes
10896
10897 case $host_os in
10898 cygwin*)
10899 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10900 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10901 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10902 ;;
10903 mingw* | cegcc*)
10904 # MinGW DLLs use traditional 'lib' prefix
10905 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10906 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10907 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10908 # It is most probably a Windows format PATH printed by
10909 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10910 # path with ; separators, and with drive letters. We can handle the
10911 # drive letters (cygwin fileutils understands them), so leave them,
10912 # especially as we might pass files found there to a mingw objdump,
10913 # which wouldn't understand a cygwinified path. Ahh.
10914 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10915 else
10916 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10917 fi
10918 ;;
10919 pw32*)
10920 # pw32 DLLs use 'pw' prefix rather than 'lib'
10921 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10922 ;;
10923 esac
10924 ;;
10925
10926 *)
10927 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10928 ;;
10929 esac
10930 dynamic_linker='Win32 ld.exe'
10931 # FIXME: first we should search . and the directory the executable is in
10932 shlibpath_var=PATH
10933 ;;
10934
10935 darwin* | rhapsody*)
10936 dynamic_linker="$host_os dyld"
10937 version_type=darwin
10938 need_lib_prefix=no
10939 need_version=no
10940 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10941 soname_spec='${libname}${release}${major}$shared_ext'
10942 shlibpath_overrides_runpath=yes
10943 shlibpath_var=DYLD_LIBRARY_PATH
10944 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10945
10946 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10947 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10948 ;;
10949
10950 dgux*)
10951 version_type=linux
10952 need_lib_prefix=no
10953 need_version=no
10954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10955 soname_spec='${libname}${release}${shared_ext}$major'
10956 shlibpath_var=LD_LIBRARY_PATH
10957 ;;
10958
10959 freebsd1*)
10960 dynamic_linker=no
10961 ;;
10962
10963 freebsd* | dragonfly*)
10964 # DragonFly does not have aout. When/if they implement a new
10965 # versioning mechanism, adjust this.
10966 if test -x /usr/bin/objformat; then
10967 objformat=`/usr/bin/objformat`
10968 else
10969 case $host_os in
10970 freebsd[123]*) objformat=aout ;;
10971 *) objformat=elf ;;
10972 esac
10973 fi
10974 version_type=freebsd-$objformat
10975 case $version_type in
10976 freebsd-elf*)
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10978 need_version=no
10979 need_lib_prefix=no
10980 ;;
10981 freebsd-*)
10982 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10983 need_version=yes
10984 ;;
10985 esac
10986 shlibpath_var=LD_LIBRARY_PATH
10987 case $host_os in
10988 freebsd2*)
10989 shlibpath_overrides_runpath=yes
10990 ;;
10991 freebsd3.[01]* | freebsdelf3.[01]*)
10992 shlibpath_overrides_runpath=yes
10993 hardcode_into_libs=yes
10994 ;;
10995 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10996 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10997 shlibpath_overrides_runpath=no
10998 hardcode_into_libs=yes
10999 ;;
11000 *) # from 4.6 on, and DragonFly
11001 shlibpath_overrides_runpath=yes
11002 hardcode_into_libs=yes
11003 ;;
11004 esac
11005 ;;
11006
11007 gnu*)
11008 version_type=linux
11009 need_lib_prefix=no
11010 need_version=no
11011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11012 soname_spec='${libname}${release}${shared_ext}$major'
11013 shlibpath_var=LD_LIBRARY_PATH
11014 hardcode_into_libs=yes
11015 ;;
11016
11017 hpux9* | hpux10* | hpux11*)
11018 # Give a soname corresponding to the major version so that dld.sl refuses to
11019 # link against other versions.
11020 version_type=sunos
11021 need_lib_prefix=no
11022 need_version=no
11023 case $host_cpu in
11024 ia64*)
11025 shrext_cmds='.so'
11026 hardcode_into_libs=yes
11027 dynamic_linker="$host_os dld.so"
11028 shlibpath_var=LD_LIBRARY_PATH
11029 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11031 soname_spec='${libname}${release}${shared_ext}$major'
11032 if test "X$HPUX_IA64_MODE" = X32; then
11033 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11034 else
11035 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11036 fi
11037 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11038 ;;
11039 hppa*64*)
11040 shrext_cmds='.sl'
11041 hardcode_into_libs=yes
11042 dynamic_linker="$host_os dld.sl"
11043 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11044 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11046 soname_spec='${libname}${release}${shared_ext}$major'
11047 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11048 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11049 ;;
11050 *)
11051 shrext_cmds='.sl'
11052 dynamic_linker="$host_os dld.sl"
11053 shlibpath_var=SHLIB_PATH
11054 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec='${libname}${release}${shared_ext}$major'
11057 ;;
11058 esac
11059 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11060 postinstall_cmds='chmod 555 $lib'
11061 ;;
11062
11063 interix[3-9]*)
11064 version_type=linux
11065 need_lib_prefix=no
11066 need_version=no
11067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11068 soname_spec='${libname}${release}${shared_ext}$major'
11069 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11070 shlibpath_var=LD_LIBRARY_PATH
11071 shlibpath_overrides_runpath=no
11072 hardcode_into_libs=yes
11073 ;;
11074
11075 irix5* | irix6* | nonstopux*)
11076 case $host_os in
11077 nonstopux*) version_type=nonstopux ;;
11078 *)
11079 if test "$lt_cv_prog_gnu_ld" = yes; then
11080 version_type=linux
11081 else
11082 version_type=irix
11083 fi ;;
11084 esac
11085 need_lib_prefix=no
11086 need_version=no
11087 soname_spec='${libname}${release}${shared_ext}$major'
11088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11089 case $host_os in
11090 irix5* | nonstopux*)
11091 libsuff= shlibsuff=
11092 ;;
11093 *)
11094 case $LD in # libtool.m4 will add one of these switches to LD
11095 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11096 libsuff= shlibsuff= libmagic=32-bit;;
11097 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11098 libsuff=32 shlibsuff=N32 libmagic=N32;;
11099 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11100 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11101 *) libsuff= shlibsuff= libmagic=never-match;;
11102 esac
11103 ;;
11104 esac
11105 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11106 shlibpath_overrides_runpath=no
11107 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11108 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11109 hardcode_into_libs=yes
11110 ;;
11111
11112 # No shared lib support for Linux oldld, aout, or coff.
11113 linux*oldld* | linux*aout* | linux*coff*)
11114 dynamic_linker=no
11115 ;;
11116
11117 # This must be Linux ELF.
11118 linux* | k*bsd*-gnu)
11119 version_type=linux
11120 need_lib_prefix=no
11121 need_version=no
11122 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11123 soname_spec='${libname}${release}${shared_ext}$major'
11124 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11125 shlibpath_var=LD_LIBRARY_PATH
11126 shlibpath_overrides_runpath=no
11127 # Some binutils ld are patched to set DT_RUNPATH
11128 save_LDFLAGS=$LDFLAGS
11129 save_libdir=$libdir
11130 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11131 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11134
11135 int
11136 main ()
11137 {
11138
11139 ;
11140 return 0;
11141 }
11142 _ACEOF
11143 if ac_fn_c_try_link "$LINENO"; then :
11144 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11145 shlibpath_overrides_runpath=yes
11146 fi
11147 fi
11148 rm -f core conftest.err conftest.$ac_objext \
11149 conftest$ac_exeext conftest.$ac_ext
11150 LDFLAGS=$save_LDFLAGS
11151 libdir=$save_libdir
11152
11153 # This implies no fast_install, which is unacceptable.
11154 # Some rework will be needed to allow for fast_install
11155 # before this can be enabled.
11156 hardcode_into_libs=yes
11157
11158 # Add ABI-specific directories to the system library path.
11159 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11160
11161 # Append ld.so.conf contents to the search path
11162 if test -f /etc/ld.so.conf; then
11163 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11164 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11165 fi
11166
11167 # We used to test for /lib/ld.so.1 and disable shared libraries on
11168 # powerpc, because MkLinux only supported shared libraries with the
11169 # GNU dynamic linker. Since this was broken with cross compilers,
11170 # most powerpc-linux boxes support dynamic linking these days and
11171 # people can always --disable-shared, the test was removed, and we
11172 # assume the GNU/Linux dynamic linker is in use.
11173 dynamic_linker='GNU/Linux ld.so'
11174 ;;
11175
11176 netbsd*)
11177 version_type=sunos
11178 need_lib_prefix=no
11179 need_version=no
11180 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11182 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11183 dynamic_linker='NetBSD (a.out) ld.so'
11184 else
11185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11186 soname_spec='${libname}${release}${shared_ext}$major'
11187 dynamic_linker='NetBSD ld.elf_so'
11188 fi
11189 shlibpath_var=LD_LIBRARY_PATH
11190 shlibpath_overrides_runpath=yes
11191 hardcode_into_libs=yes
11192 ;;
11193
11194 newsos6)
11195 version_type=linux
11196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11197 shlibpath_var=LD_LIBRARY_PATH
11198 shlibpath_overrides_runpath=yes
11199 ;;
11200
11201 *nto* | *qnx*)
11202 version_type=qnx
11203 need_lib_prefix=no
11204 need_version=no
11205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11206 soname_spec='${libname}${release}${shared_ext}$major'
11207 shlibpath_var=LD_LIBRARY_PATH
11208 shlibpath_overrides_runpath=no
11209 hardcode_into_libs=yes
11210 dynamic_linker='ldqnx.so'
11211 ;;
11212
11213 openbsd*)
11214 version_type=sunos
11215 sys_lib_dlsearch_path_spec="/usr/lib"
11216 need_lib_prefix=no
11217 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11218 case $host_os in
11219 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11220 *) need_version=no ;;
11221 esac
11222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11223 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11224 shlibpath_var=LD_LIBRARY_PATH
11225 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11226 case $host_os in
11227 openbsd2.[89] | openbsd2.[89].*)
11228 shlibpath_overrides_runpath=no
11229 ;;
11230 *)
11231 shlibpath_overrides_runpath=yes
11232 ;;
11233 esac
11234 else
11235 shlibpath_overrides_runpath=yes
11236 fi
11237 ;;
11238
11239 os2*)
11240 libname_spec='$name'
11241 shrext_cmds=".dll"
11242 need_lib_prefix=no
11243 library_names_spec='$libname${shared_ext} $libname.a'
11244 dynamic_linker='OS/2 ld.exe'
11245 shlibpath_var=LIBPATH
11246 ;;
11247
11248 osf3* | osf4* | osf5*)
11249 version_type=osf
11250 need_lib_prefix=no
11251 need_version=no
11252 soname_spec='${libname}${release}${shared_ext}$major'
11253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11254 shlibpath_var=LD_LIBRARY_PATH
11255 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11256 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11257 ;;
11258
11259 rdos*)
11260 dynamic_linker=no
11261 ;;
11262
11263 solaris*)
11264 version_type=linux
11265 need_lib_prefix=no
11266 need_version=no
11267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11268 soname_spec='${libname}${release}${shared_ext}$major'
11269 shlibpath_var=LD_LIBRARY_PATH
11270 shlibpath_overrides_runpath=yes
11271 hardcode_into_libs=yes
11272 # ldd complains unless libraries are executable
11273 postinstall_cmds='chmod +x $lib'
11274 ;;
11275
11276 sunos4*)
11277 version_type=sunos
11278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11279 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11280 shlibpath_var=LD_LIBRARY_PATH
11281 shlibpath_overrides_runpath=yes
11282 if test "$with_gnu_ld" = yes; then
11283 need_lib_prefix=no
11284 fi
11285 need_version=yes
11286 ;;
11287
11288 sysv4 | sysv4.3*)
11289 version_type=linux
11290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11291 soname_spec='${libname}${release}${shared_ext}$major'
11292 shlibpath_var=LD_LIBRARY_PATH
11293 case $host_vendor in
11294 sni)
11295 shlibpath_overrides_runpath=no
11296 need_lib_prefix=no
11297 runpath_var=LD_RUN_PATH
11298 ;;
11299 siemens)
11300 need_lib_prefix=no
11301 ;;
11302 motorola)
11303 need_lib_prefix=no
11304 need_version=no
11305 shlibpath_overrides_runpath=no
11306 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11307 ;;
11308 esac
11309 ;;
11310
11311 sysv4*MP*)
11312 if test -d /usr/nec ;then
11313 version_type=linux
11314 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11315 soname_spec='$libname${shared_ext}.$major'
11316 shlibpath_var=LD_LIBRARY_PATH
11317 fi
11318 ;;
11319
11320 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11321 version_type=freebsd-elf
11322 need_lib_prefix=no
11323 need_version=no
11324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11325 soname_spec='${libname}${release}${shared_ext}$major'
11326 shlibpath_var=LD_LIBRARY_PATH
11327 shlibpath_overrides_runpath=yes
11328 hardcode_into_libs=yes
11329 if test "$with_gnu_ld" = yes; then
11330 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11331 else
11332 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11333 case $host_os in
11334 sco3.2v5*)
11335 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11336 ;;
11337 esac
11338 fi
11339 sys_lib_dlsearch_path_spec='/usr/lib'
11340 ;;
11341
11342 tpf*)
11343 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11344 version_type=linux
11345 need_lib_prefix=no
11346 need_version=no
11347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11348 shlibpath_var=LD_LIBRARY_PATH
11349 shlibpath_overrides_runpath=no
11350 hardcode_into_libs=yes
11351 ;;
11352
11353 uts4*)
11354 version_type=linux
11355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11356 soname_spec='${libname}${release}${shared_ext}$major'
11357 shlibpath_var=LD_LIBRARY_PATH
11358 ;;
11359
11360 *)
11361 dynamic_linker=no
11362 ;;
11363 esac
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11365 $as_echo "$dynamic_linker" >&6; }
11366 test "$dynamic_linker" = no && can_build_shared=no
11367
11368 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11369 if test "$GCC" = yes; then
11370 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11371 fi
11372
11373 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11374 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11375 fi
11376 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11377 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11378 fi
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11467 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11468 hardcode_action=
11469 if test -n "$hardcode_libdir_flag_spec" ||
11470 test -n "$runpath_var" ||
11471 test "X$hardcode_automatic" = "Xyes" ; then
11472
11473 # We can hardcode non-existent directories.
11474 if test "$hardcode_direct" != no &&
11475 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11476 # have to relink, otherwise we might link with an installed library
11477 # when we should be linking with a yet-to-be-installed one
11478 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11479 test "$hardcode_minus_L" != no; then
11480 # Linking always hardcodes the temporary library directory.
11481 hardcode_action=relink
11482 else
11483 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11484 hardcode_action=immediate
11485 fi
11486 else
11487 # We cannot hardcode anything, or else we can only hardcode existing
11488 # directories.
11489 hardcode_action=unsupported
11490 fi
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11492 $as_echo "$hardcode_action" >&6; }
11493
11494 if test "$hardcode_action" = relink ||
11495 test "$inherit_rpath" = yes; then
11496 # Fast installation is not supported
11497 enable_fast_install=no
11498 elif test "$shlibpath_overrides_runpath" = yes ||
11499 test "$enable_shared" = no; then
11500 # Fast installation is not necessary
11501 enable_fast_install=needless
11502 fi
11503
11504
11505
11506
11507
11508
11509 if test "x$enable_dlopen" != xyes; then
11510 enable_dlopen=unknown
11511 enable_dlopen_self=unknown
11512 enable_dlopen_self_static=unknown
11513 else
11514 lt_cv_dlopen=no
11515 lt_cv_dlopen_libs=
11516
11517 case $host_os in
11518 beos*)
11519 lt_cv_dlopen="load_add_on"
11520 lt_cv_dlopen_libs=
11521 lt_cv_dlopen_self=yes
11522 ;;
11523
11524 mingw* | pw32* | cegcc*)
11525 lt_cv_dlopen="LoadLibrary"
11526 lt_cv_dlopen_libs=
11527 ;;
11528
11529 cygwin*)
11530 lt_cv_dlopen="dlopen"
11531 lt_cv_dlopen_libs=
11532 ;;
11533
11534 darwin*)
11535 # if libdl is installed we need to link against it
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11537 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11538 if ${ac_cv_lib_dl_dlopen+:} false; then :
11539 $as_echo_n "(cached) " >&6
11540 else
11541 ac_check_lib_save_LIBS=$LIBS
11542 LIBS="-ldl $LIBS"
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11545
11546 /* Override any GCC internal prototype to avoid an error.
11547 Use char because int might match the return type of a GCC
11548 builtin and then its argument prototype would still apply. */
11549 #ifdef __cplusplus
11550 extern "C"
11551 #endif
11552 char dlopen ();
11553 int
11554 main ()
11555 {
11556 return dlopen ();
11557 ;
11558 return 0;
11559 }
11560 _ACEOF
11561 if ac_fn_c_try_link "$LINENO"; then :
11562 ac_cv_lib_dl_dlopen=yes
11563 else
11564 ac_cv_lib_dl_dlopen=no
11565 fi
11566 rm -f core conftest.err conftest.$ac_objext \
11567 conftest$ac_exeext conftest.$ac_ext
11568 LIBS=$ac_check_lib_save_LIBS
11569 fi
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11571 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11572 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11573 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11574 else
11575
11576 lt_cv_dlopen="dyld"
11577 lt_cv_dlopen_libs=
11578 lt_cv_dlopen_self=yes
11579
11580 fi
11581
11582 ;;
11583
11584 *)
11585 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11586 if test "x$ac_cv_func_shl_load" = xyes; then :
11587 lt_cv_dlopen="shl_load"
11588 else
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11590 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11591 if ${ac_cv_lib_dld_shl_load+:} false; then :
11592 $as_echo_n "(cached) " >&6
11593 else
11594 ac_check_lib_save_LIBS=$LIBS
11595 LIBS="-ldld $LIBS"
11596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11597 /* end confdefs.h. */
11598
11599 /* Override any GCC internal prototype to avoid an error.
11600 Use char because int might match the return type of a GCC
11601 builtin and then its argument prototype would still apply. */
11602 #ifdef __cplusplus
11603 extern "C"
11604 #endif
11605 char shl_load ();
11606 int
11607 main ()
11608 {
11609 return shl_load ();
11610 ;
11611 return 0;
11612 }
11613 _ACEOF
11614 if ac_fn_c_try_link "$LINENO"; then :
11615 ac_cv_lib_dld_shl_load=yes
11616 else
11617 ac_cv_lib_dld_shl_load=no
11618 fi
11619 rm -f core conftest.err conftest.$ac_objext \
11620 conftest$ac_exeext conftest.$ac_ext
11621 LIBS=$ac_check_lib_save_LIBS
11622 fi
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11624 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11625 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11626 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11627 else
11628 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11629 if test "x$ac_cv_func_dlopen" = xyes; then :
11630 lt_cv_dlopen="dlopen"
11631 else
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11633 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11634 if ${ac_cv_lib_dl_dlopen+:} false; then :
11635 $as_echo_n "(cached) " >&6
11636 else
11637 ac_check_lib_save_LIBS=$LIBS
11638 LIBS="-ldl $LIBS"
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11641
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11645 #ifdef __cplusplus
11646 extern "C"
11647 #endif
11648 char dlopen ();
11649 int
11650 main ()
11651 {
11652 return dlopen ();
11653 ;
11654 return 0;
11655 }
11656 _ACEOF
11657 if ac_fn_c_try_link "$LINENO"; then :
11658 ac_cv_lib_dl_dlopen=yes
11659 else
11660 ac_cv_lib_dl_dlopen=no
11661 fi
11662 rm -f core conftest.err conftest.$ac_objext \
11663 conftest$ac_exeext conftest.$ac_ext
11664 LIBS=$ac_check_lib_save_LIBS
11665 fi
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11667 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11668 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11669 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11670 else
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11672 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11673 if ${ac_cv_lib_svld_dlopen+:} false; then :
11674 $as_echo_n "(cached) " >&6
11675 else
11676 ac_check_lib_save_LIBS=$LIBS
11677 LIBS="-lsvld $LIBS"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11680
11681 /* Override any GCC internal prototype to avoid an error.
11682 Use char because int might match the return type of a GCC
11683 builtin and then its argument prototype would still apply. */
11684 #ifdef __cplusplus
11685 extern "C"
11686 #endif
11687 char dlopen ();
11688 int
11689 main ()
11690 {
11691 return dlopen ();
11692 ;
11693 return 0;
11694 }
11695 _ACEOF
11696 if ac_fn_c_try_link "$LINENO"; then :
11697 ac_cv_lib_svld_dlopen=yes
11698 else
11699 ac_cv_lib_svld_dlopen=no
11700 fi
11701 rm -f core conftest.err conftest.$ac_objext \
11702 conftest$ac_exeext conftest.$ac_ext
11703 LIBS=$ac_check_lib_save_LIBS
11704 fi
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11706 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11707 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11708 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11709 else
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11711 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11712 if ${ac_cv_lib_dld_dld_link+:} false; then :
11713 $as_echo_n "(cached) " >&6
11714 else
11715 ac_check_lib_save_LIBS=$LIBS
11716 LIBS="-ldld $LIBS"
11717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11719
11720 /* Override any GCC internal prototype to avoid an error.
11721 Use char because int might match the return type of a GCC
11722 builtin and then its argument prototype would still apply. */
11723 #ifdef __cplusplus
11724 extern "C"
11725 #endif
11726 char dld_link ();
11727 int
11728 main ()
11729 {
11730 return dld_link ();
11731 ;
11732 return 0;
11733 }
11734 _ACEOF
11735 if ac_fn_c_try_link "$LINENO"; then :
11736 ac_cv_lib_dld_dld_link=yes
11737 else
11738 ac_cv_lib_dld_dld_link=no
11739 fi
11740 rm -f core conftest.err conftest.$ac_objext \
11741 conftest$ac_exeext conftest.$ac_ext
11742 LIBS=$ac_check_lib_save_LIBS
11743 fi
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11745 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11746 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11747 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11748 fi
11749
11750
11751 fi
11752
11753
11754 fi
11755
11756
11757 fi
11758
11759
11760 fi
11761
11762
11763 fi
11764
11765 ;;
11766 esac
11767
11768 if test "x$lt_cv_dlopen" != xno; then
11769 enable_dlopen=yes
11770 else
11771 enable_dlopen=no
11772 fi
11773
11774 case $lt_cv_dlopen in
11775 dlopen)
11776 save_CPPFLAGS="$CPPFLAGS"
11777 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11778
11779 save_LDFLAGS="$LDFLAGS"
11780 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11781
11782 save_LIBS="$LIBS"
11783 LIBS="$lt_cv_dlopen_libs $LIBS"
11784
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11786 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11787 if ${lt_cv_dlopen_self+:} false; then :
11788 $as_echo_n "(cached) " >&6
11789 else
11790 if test "$cross_compiling" = yes; then :
11791 lt_cv_dlopen_self=cross
11792 else
11793 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11794 lt_status=$lt_dlunknown
11795 cat > conftest.$ac_ext <<_LT_EOF
11796 #line __oline__ "configure"
11797 #include "confdefs.h"
11798
11799 #if HAVE_DLFCN_H
11800 #include <dlfcn.h>
11801 #endif
11802
11803 #include <stdio.h>
11804
11805 #ifdef RTLD_GLOBAL
11806 # define LT_DLGLOBAL RTLD_GLOBAL
11807 #else
11808 # ifdef DL_GLOBAL
11809 # define LT_DLGLOBAL DL_GLOBAL
11810 # else
11811 # define LT_DLGLOBAL 0
11812 # endif
11813 #endif
11814
11815 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11816 find out it does not work in some platform. */
11817 #ifndef LT_DLLAZY_OR_NOW
11818 # ifdef RTLD_LAZY
11819 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11820 # else
11821 # ifdef DL_LAZY
11822 # define LT_DLLAZY_OR_NOW DL_LAZY
11823 # else
11824 # ifdef RTLD_NOW
11825 # define LT_DLLAZY_OR_NOW RTLD_NOW
11826 # else
11827 # ifdef DL_NOW
11828 # define LT_DLLAZY_OR_NOW DL_NOW
11829 # else
11830 # define LT_DLLAZY_OR_NOW 0
11831 # endif
11832 # endif
11833 # endif
11834 # endif
11835 #endif
11836
11837 void fnord() { int i=42;}
11838 int main ()
11839 {
11840 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11841 int status = $lt_dlunknown;
11842
11843 if (self)
11844 {
11845 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11846 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11847 /* dlclose (self); */
11848 }
11849 else
11850 puts (dlerror ());
11851
11852 return status;
11853 }
11854 _LT_EOF
11855 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11856 (eval $ac_link) 2>&5
11857 ac_status=$?
11858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11859 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11860 (./conftest; exit; ) >&5 2>/dev/null
11861 lt_status=$?
11862 case x$lt_status in
11863 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11864 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11865 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11866 esac
11867 else :
11868 # compilation failed
11869 lt_cv_dlopen_self=no
11870 fi
11871 fi
11872 rm -fr conftest*
11873
11874
11875 fi
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11877 $as_echo "$lt_cv_dlopen_self" >&6; }
11878
11879 if test "x$lt_cv_dlopen_self" = xyes; then
11880 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11882 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11883 if ${lt_cv_dlopen_self_static+:} false; then :
11884 $as_echo_n "(cached) " >&6
11885 else
11886 if test "$cross_compiling" = yes; then :
11887 lt_cv_dlopen_self_static=cross
11888 else
11889 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11890 lt_status=$lt_dlunknown
11891 cat > conftest.$ac_ext <<_LT_EOF
11892 #line __oline__ "configure"
11893 #include "confdefs.h"
11894
11895 #if HAVE_DLFCN_H
11896 #include <dlfcn.h>
11897 #endif
11898
11899 #include <stdio.h>
11900
11901 #ifdef RTLD_GLOBAL
11902 # define LT_DLGLOBAL RTLD_GLOBAL
11903 #else
11904 # ifdef DL_GLOBAL
11905 # define LT_DLGLOBAL DL_GLOBAL
11906 # else
11907 # define LT_DLGLOBAL 0
11908 # endif
11909 #endif
11910
11911 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11912 find out it does not work in some platform. */
11913 #ifndef LT_DLLAZY_OR_NOW
11914 # ifdef RTLD_LAZY
11915 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11916 # else
11917 # ifdef DL_LAZY
11918 # define LT_DLLAZY_OR_NOW DL_LAZY
11919 # else
11920 # ifdef RTLD_NOW
11921 # define LT_DLLAZY_OR_NOW RTLD_NOW
11922 # else
11923 # ifdef DL_NOW
11924 # define LT_DLLAZY_OR_NOW DL_NOW
11925 # else
11926 # define LT_DLLAZY_OR_NOW 0
11927 # endif
11928 # endif
11929 # endif
11930 # endif
11931 #endif
11932
11933 void fnord() { int i=42;}
11934 int main ()
11935 {
11936 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11937 int status = $lt_dlunknown;
11938
11939 if (self)
11940 {
11941 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11942 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11943 /* dlclose (self); */
11944 }
11945 else
11946 puts (dlerror ());
11947
11948 return status;
11949 }
11950 _LT_EOF
11951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11952 (eval $ac_link) 2>&5
11953 ac_status=$?
11954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11955 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11956 (./conftest; exit; ) >&5 2>/dev/null
11957 lt_status=$?
11958 case x$lt_status in
11959 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11960 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11961 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11962 esac
11963 else :
11964 # compilation failed
11965 lt_cv_dlopen_self_static=no
11966 fi
11967 fi
11968 rm -fr conftest*
11969
11970
11971 fi
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11973 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11974 fi
11975
11976 CPPFLAGS="$save_CPPFLAGS"
11977 LDFLAGS="$save_LDFLAGS"
11978 LIBS="$save_LIBS"
11979 ;;
11980 esac
11981
11982 case $lt_cv_dlopen_self in
11983 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11984 *) enable_dlopen_self=unknown ;;
11985 esac
11986
11987 case $lt_cv_dlopen_self_static in
11988 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11989 *) enable_dlopen_self_static=unknown ;;
11990 esac
11991 fi
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009 striplib=
12010 old_striplib=
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12012 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12013 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12014 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12015 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12017 $as_echo "yes" >&6; }
12018 else
12019 # FIXME - insert some real tests, host_os isn't really good enough
12020 case $host_os in
12021 darwin*)
12022 if test -n "$STRIP" ; then
12023 striplib="$STRIP -x"
12024 old_striplib="$STRIP -S"
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12026 $as_echo "yes" >&6; }
12027 else
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12029 $as_echo "no" >&6; }
12030 fi
12031 ;;
12032 *)
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12034 $as_echo "no" >&6; }
12035 ;;
12036 esac
12037 fi
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050 # Report which library types will actually be built
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12052 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12054 $as_echo "$can_build_shared" >&6; }
12055
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12057 $as_echo_n "checking whether to build shared libraries... " >&6; }
12058 test "$can_build_shared" = "no" && enable_shared=no
12059
12060 # On AIX, shared libraries and static libraries use the same namespace, and
12061 # are all built from PIC.
12062 case $host_os in
12063 aix3*)
12064 test "$enable_shared" = yes && enable_static=no
12065 if test -n "$RANLIB"; then
12066 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12067 postinstall_cmds='$RANLIB $lib'
12068 fi
12069 ;;
12070
12071 aix[4-9]*)
12072 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12073 test "$enable_shared" = yes && enable_static=no
12074 fi
12075 ;;
12076 esac
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12078 $as_echo "$enable_shared" >&6; }
12079
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12081 $as_echo_n "checking whether to build static libraries... " >&6; }
12082 # Make sure either enable_shared or enable_static is yes.
12083 test "$enable_shared" = yes || enable_static=yes
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12085 $as_echo "$enable_static" >&6; }
12086
12087
12088
12089
12090 fi
12091 ac_ext=cpp
12092 ac_cpp='$CXXCPP $CPPFLAGS'
12093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12096
12097 CC="$lt_save_CC"
12098
12099
12100 ac_ext=cpp
12101 ac_cpp='$CXXCPP $CPPFLAGS'
12102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12105
12106 archive_cmds_need_lc_CXX=no
12107 allow_undefined_flag_CXX=
12108 always_export_symbols_CXX=no
12109 archive_expsym_cmds_CXX=
12110 compiler_needs_object_CXX=no
12111 export_dynamic_flag_spec_CXX=
12112 hardcode_direct_CXX=no
12113 hardcode_direct_absolute_CXX=no
12114 hardcode_libdir_flag_spec_CXX=
12115 hardcode_libdir_flag_spec_ld_CXX=
12116 hardcode_libdir_separator_CXX=
12117 hardcode_minus_L_CXX=no
12118 hardcode_shlibpath_var_CXX=unsupported
12119 hardcode_automatic_CXX=no
12120 inherit_rpath_CXX=no
12121 module_cmds_CXX=
12122 module_expsym_cmds_CXX=
12123 link_all_deplibs_CXX=unknown
12124 old_archive_cmds_CXX=$old_archive_cmds
12125 no_undefined_flag_CXX=
12126 whole_archive_flag_spec_CXX=
12127 enable_shared_with_static_runtimes_CXX=no
12128
12129 # Source file extension for C++ test sources.
12130 ac_ext=cpp
12131
12132 # Object file extension for compiled C++ test sources.
12133 objext=o
12134 objext_CXX=$objext
12135
12136 # No sense in running all these tests if we already determined that
12137 # the CXX compiler isn't working. Some variables (like enable_shared)
12138 # are currently assumed to apply to all compilers on this platform,
12139 # and will be corrupted by setting them based on a non-working compiler.
12140 if test "$_lt_caught_CXX_error" != yes; then
12141 # Code to be used in simple compile tests
12142 lt_simple_compile_test_code="int some_variable = 0;"
12143
12144 # Code to be used in simple link tests
12145 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12146
12147 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12148
12149
12150
12151
12152
12153
12154 # If no C compiler was specified, use CC.
12155 LTCC=${LTCC-"$CC"}
12156
12157 # If no C compiler flags were specified, use CFLAGS.
12158 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12159
12160 # Allow CC to be a program name with arguments.
12161 compiler=$CC
12162
12163
12164 # save warnings/boilerplate of simple test code
12165 ac_outfile=conftest.$ac_objext
12166 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12167 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12168 _lt_compiler_boilerplate=`cat conftest.err`
12169 $RM conftest*
12170
12171 ac_outfile=conftest.$ac_objext
12172 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12173 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12174 _lt_linker_boilerplate=`cat conftest.err`
12175 $RM -r conftest*
12176
12177
12178 # Allow CC to be a program name with arguments.
12179 lt_save_CC=$CC
12180 lt_save_LD=$LD
12181 lt_save_GCC=$GCC
12182 GCC=$GXX
12183 lt_save_with_gnu_ld=$with_gnu_ld
12184 lt_save_path_LD=$lt_cv_path_LD
12185 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12186 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12187 else
12188 $as_unset lt_cv_prog_gnu_ld
12189 fi
12190 if test -n "${lt_cv_path_LDCXX+set}"; then
12191 lt_cv_path_LD=$lt_cv_path_LDCXX
12192 else
12193 $as_unset lt_cv_path_LD
12194 fi
12195 test -z "${LDCXX+set}" || LD=$LDCXX
12196 CC=${CXX-"c++"}
12197 compiler=$CC
12198 compiler_CXX=$CC
12199 for cc_temp in $compiler""; do
12200 case $cc_temp in
12201 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12202 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12203 \-*) ;;
12204 *) break;;
12205 esac
12206 done
12207 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12208
12209
12210 if test -n "$compiler"; then
12211 # We don't want -fno-exception when compiling C++ code, so set the
12212 # no_builtin_flag separately
12213 if test "$GXX" = yes; then
12214 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12215 else
12216 lt_prog_compiler_no_builtin_flag_CXX=
12217 fi
12218
12219 if test "$GXX" = yes; then
12220 # Set up default GNU C++ configuration
12221
12222
12223
12224 @%:@ Check whether --with-gnu-ld was given.
12225 if test "${with_gnu_ld+set}" = set; then :
12226 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12227 else
12228 with_gnu_ld=no
12229 fi
12230
12231 ac_prog=ld
12232 if test "$GCC" = yes; then
12233 # Check if gcc -print-prog-name=ld gives a path.
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12235 $as_echo_n "checking for ld used by $CC... " >&6; }
12236 case $host in
12237 *-*-mingw*)
12238 # gcc leaves a trailing carriage return which upsets mingw
12239 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12240 *)
12241 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12242 esac
12243 case $ac_prog in
12244 # Accept absolute paths.
12245 [\\/]* | ?:[\\/]*)
12246 re_direlt='/[^/][^/]*/\.\./'
12247 # Canonicalize the pathname of ld
12248 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12249 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12250 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12251 done
12252 test -z "$LD" && LD="$ac_prog"
12253 ;;
12254 "")
12255 # If it fails, then pretend we aren't using GCC.
12256 ac_prog=ld
12257 ;;
12258 *)
12259 # If it is relative, then search for the first ld in PATH.
12260 with_gnu_ld=unknown
12261 ;;
12262 esac
12263 elif test "$with_gnu_ld" = yes; then
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12265 $as_echo_n "checking for GNU ld... " >&6; }
12266 else
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12268 $as_echo_n "checking for non-GNU ld... " >&6; }
12269 fi
12270 if ${lt_cv_path_LD+:} false; then :
12271 $as_echo_n "(cached) " >&6
12272 else
12273 if test -z "$LD"; then
12274 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12275 for ac_dir in $PATH; do
12276 IFS="$lt_save_ifs"
12277 test -z "$ac_dir" && ac_dir=.
12278 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12279 lt_cv_path_LD="$ac_dir/$ac_prog"
12280 # Check to see if the program is GNU ld. I'd rather use --version,
12281 # but apparently some variants of GNU ld only accept -v.
12282 # Break only if it was the GNU/non-GNU ld that we prefer.
12283 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12284 *GNU* | *'with BFD'*)
12285 test "$with_gnu_ld" != no && break
12286 ;;
12287 *)
12288 test "$with_gnu_ld" != yes && break
12289 ;;
12290 esac
12291 fi
12292 done
12293 IFS="$lt_save_ifs"
12294 else
12295 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12296 fi
12297 fi
12298
12299 LD="$lt_cv_path_LD"
12300 if test -n "$LD"; then
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12302 $as_echo "$LD" >&6; }
12303 else
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12305 $as_echo "no" >&6; }
12306 fi
12307 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12309 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12310 if ${lt_cv_prog_gnu_ld+:} false; then :
12311 $as_echo_n "(cached) " >&6
12312 else
12313 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12314 case `$LD -v 2>&1 </dev/null` in
12315 *GNU* | *'with BFD'*)
12316 lt_cv_prog_gnu_ld=yes
12317 ;;
12318 *)
12319 lt_cv_prog_gnu_ld=no
12320 ;;
12321 esac
12322 fi
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12324 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12325 with_gnu_ld=$lt_cv_prog_gnu_ld
12326
12327
12328
12329
12330
12331
12332
12333 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12334 # archiving commands below assume that GNU ld is being used.
12335 if test "$with_gnu_ld" = yes; then
12336 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12337 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12338
12339 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12340 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12341
12342 # If archive_cmds runs LD, not CC, wlarc should be empty
12343 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12344 # investigate it a little bit more. (MM)
12345 wlarc='${wl}'
12346
12347 # ancient GNU ld didn't support --whole-archive et. al.
12348 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12349 $GREP 'no-whole-archive' > /dev/null; then
12350 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12351 else
12352 whole_archive_flag_spec_CXX=
12353 fi
12354 else
12355 with_gnu_ld=no
12356 wlarc=
12357
12358 # A generic and very simple default shared library creation
12359 # command for GNU C++ for the case where it uses the native
12360 # linker, instead of GNU ld. If possible, this setting should
12361 # overridden to take advantage of the native linker features on
12362 # the platform it is being used on.
12363 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12364 fi
12365
12366 # Commands to make compiler produce verbose output that lists
12367 # what "hidden" libraries, object files and flags are used when
12368 # linking a shared library.
12369 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12370
12371 else
12372 GXX=no
12373 with_gnu_ld=no
12374 wlarc=
12375 fi
12376
12377 # PORTME: fill in a description of your system's C++ link characteristics
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12379 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12380 ld_shlibs_CXX=yes
12381 case $host_os in
12382 aix3*)
12383 # FIXME: insert proper C++ library support
12384 ld_shlibs_CXX=no
12385 ;;
12386 aix[4-9]*)
12387 if test "$host_cpu" = ia64; then
12388 # On IA64, the linker does run time linking by default, so we don't
12389 # have to do anything special.
12390 aix_use_runtimelinking=no
12391 exp_sym_flag='-Bexport'
12392 no_entry_flag=""
12393 else
12394 aix_use_runtimelinking=no
12395
12396 # Test if we are trying to use run time linking or normal
12397 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12398 # need to do runtime linking.
12399 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12400 for ld_flag in $LDFLAGS; do
12401 case $ld_flag in
12402 *-brtl*)
12403 aix_use_runtimelinking=yes
12404 break
12405 ;;
12406 esac
12407 done
12408 ;;
12409 esac
12410
12411 exp_sym_flag='-bexport'
12412 no_entry_flag='-bnoentry'
12413 fi
12414
12415 # When large executables or shared objects are built, AIX ld can
12416 # have problems creating the table of contents. If linking a library
12417 # or program results in "error TOC overflow" add -mminimal-toc to
12418 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12419 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12420
12421 archive_cmds_CXX=''
12422 hardcode_direct_CXX=yes
12423 hardcode_direct_absolute_CXX=yes
12424 hardcode_libdir_separator_CXX=':'
12425 link_all_deplibs_CXX=yes
12426 file_list_spec_CXX='${wl}-f,'
12427
12428 if test "$GXX" = yes; then
12429 case $host_os in aix4.[012]|aix4.[012].*)
12430 # We only want to do this on AIX 4.2 and lower, the check
12431 # below for broken collect2 doesn't work under 4.3+
12432 collect2name=`${CC} -print-prog-name=collect2`
12433 if test -f "$collect2name" &&
12434 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12435 then
12436 # We have reworked collect2
12437 :
12438 else
12439 # We have old collect2
12440 hardcode_direct_CXX=unsupported
12441 # It fails to find uninstalled libraries when the uninstalled
12442 # path is not listed in the libpath. Setting hardcode_minus_L
12443 # to unsupported forces relinking
12444 hardcode_minus_L_CXX=yes
12445 hardcode_libdir_flag_spec_CXX='-L$libdir'
12446 hardcode_libdir_separator_CXX=
12447 fi
12448 esac
12449 shared_flag='-shared'
12450 if test "$aix_use_runtimelinking" = yes; then
12451 shared_flag="$shared_flag "'${wl}-G'
12452 fi
12453 else
12454 # not using gcc
12455 if test "$host_cpu" = ia64; then
12456 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12457 # chokes on -Wl,-G. The following line is correct:
12458 shared_flag='-G'
12459 else
12460 if test "$aix_use_runtimelinking" = yes; then
12461 shared_flag='${wl}-G'
12462 else
12463 shared_flag='${wl}-bM:SRE'
12464 fi
12465 fi
12466 fi
12467
12468 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12469 # It seems that -bexpall does not export symbols beginning with
12470 # underscore (_), so it is better to generate a list of symbols to
12471 # export.
12472 always_export_symbols_CXX=yes
12473 if test "$aix_use_runtimelinking" = yes; then
12474 # Warning - without using the other runtime loading flags (-brtl),
12475 # -berok will link without error, but may produce a broken library.
12476 allow_undefined_flag_CXX='-berok'
12477 # Determine the default libpath from the value encoded in an empty
12478 # executable.
12479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12481
12482 int
12483 main ()
12484 {
12485
12486 ;
12487 return 0;
12488 }
12489 _ACEOF
12490 if ac_fn_cxx_try_link "$LINENO"; then :
12491
12492 lt_aix_libpath_sed='
12493 /Import File Strings/,/^$/ {
12494 /^0/ {
12495 s/^0 *\(.*\)$/\1/
12496 p
12497 }
12498 }'
12499 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12500 # Check for a 64-bit object if we didn't find anything.
12501 if test -z "$aix_libpath"; then
12502 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12503 fi
12504 fi
12505 rm -f core conftest.err conftest.$ac_objext \
12506 conftest$ac_exeext conftest.$ac_ext
12507 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12508
12509 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12510
12511 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12512 else
12513 if test "$host_cpu" = ia64; then
12514 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12515 allow_undefined_flag_CXX="-z nodefs"
12516 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12517 else
12518 # Determine the default libpath from the value encoded in an
12519 # empty executable.
12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12522
12523 int
12524 main ()
12525 {
12526
12527 ;
12528 return 0;
12529 }
12530 _ACEOF
12531 if ac_fn_cxx_try_link "$LINENO"; then :
12532
12533 lt_aix_libpath_sed='
12534 /Import File Strings/,/^$/ {
12535 /^0/ {
12536 s/^0 *\(.*\)$/\1/
12537 p
12538 }
12539 }'
12540 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12541 # Check for a 64-bit object if we didn't find anything.
12542 if test -z "$aix_libpath"; then
12543 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12544 fi
12545 fi
12546 rm -f core conftest.err conftest.$ac_objext \
12547 conftest$ac_exeext conftest.$ac_ext
12548 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12549
12550 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12551 # Warning - without using the other run time loading flags,
12552 # -berok will link without error, but may produce a broken library.
12553 no_undefined_flag_CXX=' ${wl}-bernotok'
12554 allow_undefined_flag_CXX=' ${wl}-berok'
12555 # Exported symbols can be pulled into shared objects from archives
12556 whole_archive_flag_spec_CXX='$convenience'
12557 archive_cmds_need_lc_CXX=yes
12558 # This is similar to how AIX traditionally builds its shared
12559 # libraries.
12560 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12561 fi
12562 fi
12563 ;;
12564
12565 beos*)
12566 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12567 allow_undefined_flag_CXX=unsupported
12568 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12569 # support --undefined. This deserves some investigation. FIXME
12570 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12571 else
12572 ld_shlibs_CXX=no
12573 fi
12574 ;;
12575
12576 chorus*)
12577 case $cc_basename in
12578 *)
12579 # FIXME: insert proper C++ library support
12580 ld_shlibs_CXX=no
12581 ;;
12582 esac
12583 ;;
12584
12585 cygwin* | mingw* | pw32* | cegcc*)
12586 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12587 # as there is no search path for DLLs.
12588 hardcode_libdir_flag_spec_CXX='-L$libdir'
12589 allow_undefined_flag_CXX=unsupported
12590 always_export_symbols_CXX=no
12591 enable_shared_with_static_runtimes_CXX=yes
12592
12593 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12594 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12595 # If the export-symbols file already is a .def file (1st line
12596 # is EXPORTS), use it as is; otherwise, prepend...
12597 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12598 cp $export_symbols $output_objdir/$soname.def;
12599 else
12600 echo EXPORTS > $output_objdir/$soname.def;
12601 cat $export_symbols >> $output_objdir/$soname.def;
12602 fi~
12603 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12604 else
12605 ld_shlibs_CXX=no
12606 fi
12607 ;;
12608 darwin* | rhapsody*)
12609
12610
12611 archive_cmds_need_lc_CXX=no
12612 hardcode_direct_CXX=no
12613 hardcode_automatic_CXX=yes
12614 hardcode_shlibpath_var_CXX=unsupported
12615 whole_archive_flag_spec_CXX=''
12616 link_all_deplibs_CXX=yes
12617 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12618 case $cc_basename in
12619 ifort*) _lt_dar_can_shared=yes ;;
12620 *) _lt_dar_can_shared=$GCC ;;
12621 esac
12622 if test "$_lt_dar_can_shared" = "yes"; then
12623 output_verbose_link_cmd=echo
12624 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12625 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12626 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12627 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12628 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12629 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12630 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12631 fi
12632
12633 else
12634 ld_shlibs_CXX=no
12635 fi
12636
12637 ;;
12638
12639 dgux*)
12640 case $cc_basename in
12641 ec++*)
12642 # FIXME: insert proper C++ library support
12643 ld_shlibs_CXX=no
12644 ;;
12645 ghcx*)
12646 # Green Hills C++ Compiler
12647 # FIXME: insert proper C++ library support
12648 ld_shlibs_CXX=no
12649 ;;
12650 *)
12651 # FIXME: insert proper C++ library support
12652 ld_shlibs_CXX=no
12653 ;;
12654 esac
12655 ;;
12656
12657 freebsd[12]*)
12658 # C++ shared libraries reported to be fairly broken before
12659 # switch to ELF
12660 ld_shlibs_CXX=no
12661 ;;
12662
12663 freebsd-elf*)
12664 archive_cmds_need_lc_CXX=no
12665 ;;
12666
12667 freebsd* | dragonfly*)
12668 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12669 # conventions
12670 ld_shlibs_CXX=yes
12671 ;;
12672
12673 gnu*)
12674 ;;
12675
12676 hpux9*)
12677 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12678 hardcode_libdir_separator_CXX=:
12679 export_dynamic_flag_spec_CXX='${wl}-E'
12680 hardcode_direct_CXX=yes
12681 hardcode_minus_L_CXX=yes # Not in the search PATH,
12682 # but as the default
12683 # location of the library.
12684
12685 case $cc_basename in
12686 CC*)
12687 # FIXME: insert proper C++ library support
12688 ld_shlibs_CXX=no
12689 ;;
12690 aCC*)
12691 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12692 # Commands to make compiler produce verbose output that lists
12693 # what "hidden" libraries, object files and flags are used when
12694 # linking a shared library.
12695 #
12696 # There doesn't appear to be a way to prevent this compiler from
12697 # explicitly linking system object files so we need to strip them
12698 # from the output so that they don't get included in the library
12699 # dependencies.
12700 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12701 ;;
12702 *)
12703 if test "$GXX" = yes; then
12704 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12705 else
12706 # FIXME: insert proper C++ library support
12707 ld_shlibs_CXX=no
12708 fi
12709 ;;
12710 esac
12711 ;;
12712
12713 hpux10*|hpux11*)
12714 if test $with_gnu_ld = no; then
12715 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12716 hardcode_libdir_separator_CXX=:
12717
12718 case $host_cpu in
12719 hppa*64*|ia64*)
12720 ;;
12721 *)
12722 export_dynamic_flag_spec_CXX='${wl}-E'
12723 ;;
12724 esac
12725 fi
12726 case $host_cpu in
12727 hppa*64*|ia64*)
12728 hardcode_direct_CXX=no
12729 hardcode_shlibpath_var_CXX=no
12730 ;;
12731 *)
12732 hardcode_direct_CXX=yes
12733 hardcode_direct_absolute_CXX=yes
12734 hardcode_minus_L_CXX=yes # Not in the search PATH,
12735 # but as the default
12736 # location of the library.
12737 ;;
12738 esac
12739
12740 case $cc_basename in
12741 CC*)
12742 # FIXME: insert proper C++ library support
12743 ld_shlibs_CXX=no
12744 ;;
12745 aCC*)
12746 case $host_cpu in
12747 hppa*64*)
12748 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12749 ;;
12750 ia64*)
12751 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12752 ;;
12753 *)
12754 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12755 ;;
12756 esac
12757 # Commands to make compiler produce verbose output that lists
12758 # what "hidden" libraries, object files and flags are used when
12759 # linking a shared library.
12760 #
12761 # There doesn't appear to be a way to prevent this compiler from
12762 # explicitly linking system object files so we need to strip them
12763 # from the output so that they don't get included in the library
12764 # dependencies.
12765 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12766 ;;
12767 *)
12768 if test "$GXX" = yes; then
12769 if test $with_gnu_ld = no; then
12770 case $host_cpu in
12771 hppa*64*)
12772 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12773 ;;
12774 ia64*)
12775 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12776 ;;
12777 *)
12778 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12779 ;;
12780 esac
12781 fi
12782 else
12783 # FIXME: insert proper C++ library support
12784 ld_shlibs_CXX=no
12785 fi
12786 ;;
12787 esac
12788 ;;
12789
12790 interix[3-9]*)
12791 hardcode_direct_CXX=no
12792 hardcode_shlibpath_var_CXX=no
12793 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12794 export_dynamic_flag_spec_CXX='${wl}-E'
12795 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12796 # Instead, shared libraries are loaded at an image base (0x10000000 by
12797 # default) and relocated if they conflict, which is a slow very memory
12798 # consuming and fragmenting process. To avoid this, we pick a random,
12799 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12800 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12801 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12802 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12803 ;;
12804 irix5* | irix6*)
12805 case $cc_basename in
12806 CC*)
12807 # SGI C++
12808 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12809
12810 # Archives containing C++ object files must be created using
12811 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12812 # necessary to make sure instantiated templates are included
12813 # in the archive.
12814 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12815 ;;
12816 *)
12817 if test "$GXX" = yes; then
12818 if test "$with_gnu_ld" = no; then
12819 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12820 else
12821 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12822 fi
12823 fi
12824 link_all_deplibs_CXX=yes
12825 ;;
12826 esac
12827 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12828 hardcode_libdir_separator_CXX=:
12829 inherit_rpath_CXX=yes
12830 ;;
12831
12832 linux* | k*bsd*-gnu)
12833 case $cc_basename in
12834 KCC*)
12835 # Kuck and Associates, Inc. (KAI) C++ Compiler
12836
12837 # KCC will only create a shared library if the output file
12838 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12839 # to its proper name (with version) after linking.
12840 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12841 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12842 # Commands to make compiler produce verbose output that lists
12843 # what "hidden" libraries, object files and flags are used when
12844 # linking a shared library.
12845 #
12846 # There doesn't appear to be a way to prevent this compiler from
12847 # explicitly linking system object files so we need to strip them
12848 # from the output so that they don't get included in the library
12849 # dependencies.
12850 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12851
12852 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12853 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12854
12855 # Archives containing C++ object files must be created using
12856 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12857 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12858 ;;
12859 icpc* | ecpc* )
12860 # Intel C++
12861 with_gnu_ld=yes
12862 # version 8.0 and above of icpc choke on multiply defined symbols
12863 # if we add $predep_objects and $postdep_objects, however 7.1 and
12864 # earlier do not add the objects themselves.
12865 case `$CC -V 2>&1` in
12866 *"Version 7."*)
12867 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12868 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12869 ;;
12870 *) # Version 8.0 or newer
12871 tmp_idyn=
12872 case $host_cpu in
12873 ia64*) tmp_idyn=' -i_dynamic';;
12874 esac
12875 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12876 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12877 ;;
12878 esac
12879 archive_cmds_need_lc_CXX=no
12880 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12881 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12882 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12883 ;;
12884 pgCC* | pgcpp*)
12885 # Portland Group C++ compiler
12886 case `$CC -V` in
12887 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12888 prelink_cmds_CXX='tpldir=Template.dir~
12889 rm -rf $tpldir~
12890 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12891 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12892 old_archive_cmds_CXX='tpldir=Template.dir~
12893 rm -rf $tpldir~
12894 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12895 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12896 $RANLIB $oldlib'
12897 archive_cmds_CXX='tpldir=Template.dir~
12898 rm -rf $tpldir~
12899 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12900 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12901 archive_expsym_cmds_CXX='tpldir=Template.dir~
12902 rm -rf $tpldir~
12903 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12904 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12905 ;;
12906 *) # Version 6 will use weak symbols
12907 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12908 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12909 ;;
12910 esac
12911
12912 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12913 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12914 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12915 ;;
12916 cxx*)
12917 # Compaq C++
12918 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12919 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12920
12921 runpath_var=LD_RUN_PATH
12922 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12923 hardcode_libdir_separator_CXX=:
12924
12925 # Commands to make compiler produce verbose output that lists
12926 # what "hidden" libraries, object files and flags are used when
12927 # linking a shared library.
12928 #
12929 # There doesn't appear to be a way to prevent this compiler from
12930 # explicitly linking system object files so we need to strip them
12931 # from the output so that they don't get included in the library
12932 # dependencies.
12933 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12934 ;;
12935 xl*)
12936 # IBM XL 8.0 on PPC, with GNU ld
12937 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12938 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12939 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12940 if test "x$supports_anon_versioning" = xyes; then
12941 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12942 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12943 echo "local: *; };" >> $output_objdir/$libname.ver~
12944 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12945 fi
12946 ;;
12947 *)
12948 case `$CC -V 2>&1 | sed 5q` in
12949 *Sun\ C*)
12950 # Sun C++ 5.9
12951 no_undefined_flag_CXX=' -zdefs'
12952 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12953 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12954 hardcode_libdir_flag_spec_CXX='-R$libdir'
12955 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12956 compiler_needs_object_CXX=yes
12957
12958 # Not sure whether something based on
12959 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12960 # would be better.
12961 output_verbose_link_cmd='echo'
12962
12963 # Archives containing C++ object files must be created using
12964 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12965 # necessary to make sure instantiated templates are included
12966 # in the archive.
12967 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12968 ;;
12969 esac
12970 ;;
12971 esac
12972 ;;
12973
12974 lynxos*)
12975 # FIXME: insert proper C++ library support
12976 ld_shlibs_CXX=no
12977 ;;
12978
12979 m88k*)
12980 # FIXME: insert proper C++ library support
12981 ld_shlibs_CXX=no
12982 ;;
12983
12984 mvs*)
12985 case $cc_basename in
12986 cxx*)
12987 # FIXME: insert proper C++ library support
12988 ld_shlibs_CXX=no
12989 ;;
12990 *)
12991 # FIXME: insert proper C++ library support
12992 ld_shlibs_CXX=no
12993 ;;
12994 esac
12995 ;;
12996
12997 netbsd*)
12998 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12999 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13000 wlarc=
13001 hardcode_libdir_flag_spec_CXX='-R$libdir'
13002 hardcode_direct_CXX=yes
13003 hardcode_shlibpath_var_CXX=no
13004 fi
13005 # Workaround some broken pre-1.5 toolchains
13006 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13007 ;;
13008
13009 *nto* | *qnx*)
13010 ld_shlibs_CXX=yes
13011 ;;
13012
13013 openbsd2*)
13014 # C++ shared libraries are fairly broken
13015 ld_shlibs_CXX=no
13016 ;;
13017
13018 openbsd*)
13019 if test -f /usr/libexec/ld.so; then
13020 hardcode_direct_CXX=yes
13021 hardcode_shlibpath_var_CXX=no
13022 hardcode_direct_absolute_CXX=yes
13023 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13024 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13025 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13026 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13027 export_dynamic_flag_spec_CXX='${wl}-E'
13028 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13029 fi
13030 output_verbose_link_cmd=echo
13031 else
13032 ld_shlibs_CXX=no
13033 fi
13034 ;;
13035
13036 osf3* | osf4* | osf5*)
13037 case $cc_basename in
13038 KCC*)
13039 # Kuck and Associates, Inc. (KAI) C++ Compiler
13040
13041 # KCC will only create a shared library if the output file
13042 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13043 # to its proper name (with version) after linking.
13044 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13045
13046 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13047 hardcode_libdir_separator_CXX=:
13048
13049 # Archives containing C++ object files must be created using
13050 # the KAI C++ compiler.
13051 case $host in
13052 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13053 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13054 esac
13055 ;;
13056 RCC*)
13057 # Rational C++ 2.4.1
13058 # FIXME: insert proper C++ library support
13059 ld_shlibs_CXX=no
13060 ;;
13061 cxx*)
13062 case $host in
13063 osf3*)
13064 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13065 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13066 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13067 ;;
13068 *)
13069 allow_undefined_flag_CXX=' -expect_unresolved \*'
13070 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13071 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13072 echo "-hidden">> $lib.exp~
13073 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13074 $RM $lib.exp'
13075 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13076 ;;
13077 esac
13078
13079 hardcode_libdir_separator_CXX=:
13080
13081 # Commands to make compiler produce verbose output that lists
13082 # what "hidden" libraries, object files and flags are used when
13083 # linking a shared library.
13084 #
13085 # There doesn't appear to be a way to prevent this compiler from
13086 # explicitly linking system object files so we need to strip them
13087 # from the output so that they don't get included in the library
13088 # dependencies.
13089 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13090 ;;
13091 *)
13092 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13093 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13094 case $host in
13095 osf3*)
13096 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13097 ;;
13098 *)
13099 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13100 ;;
13101 esac
13102
13103 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13104 hardcode_libdir_separator_CXX=:
13105
13106 # Commands to make compiler produce verbose output that lists
13107 # what "hidden" libraries, object files and flags are used when
13108 # linking a shared library.
13109 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13110
13111 else
13112 # FIXME: insert proper C++ library support
13113 ld_shlibs_CXX=no
13114 fi
13115 ;;
13116 esac
13117 ;;
13118
13119 psos*)
13120 # FIXME: insert proper C++ library support
13121 ld_shlibs_CXX=no
13122 ;;
13123
13124 sunos4*)
13125 case $cc_basename in
13126 CC*)
13127 # Sun C++ 4.x
13128 # FIXME: insert proper C++ library support
13129 ld_shlibs_CXX=no
13130 ;;
13131 lcc*)
13132 # Lucid
13133 # FIXME: insert proper C++ library support
13134 ld_shlibs_CXX=no
13135 ;;
13136 *)
13137 # FIXME: insert proper C++ library support
13138 ld_shlibs_CXX=no
13139 ;;
13140 esac
13141 ;;
13142
13143 solaris*)
13144 case $cc_basename in
13145 CC*)
13146 # Sun C++ 4.2, 5.x and Centerline C++
13147 archive_cmds_need_lc_CXX=yes
13148 no_undefined_flag_CXX=' -zdefs'
13149 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13150 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13151 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13152
13153 hardcode_libdir_flag_spec_CXX='-R$libdir'
13154 hardcode_shlibpath_var_CXX=no
13155 case $host_os in
13156 solaris2.[0-5] | solaris2.[0-5].*) ;;
13157 *)
13158 # The compiler driver will combine and reorder linker options,
13159 # but understands `-z linker_flag'.
13160 # Supported since Solaris 2.6 (maybe 2.5.1?)
13161 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13162 ;;
13163 esac
13164 link_all_deplibs_CXX=yes
13165
13166 output_verbose_link_cmd='echo'
13167
13168 # Archives containing C++ object files must be created using
13169 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13170 # necessary to make sure instantiated templates are included
13171 # in the archive.
13172 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13173 ;;
13174 gcx*)
13175 # Green Hills C++ Compiler
13176 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13177
13178 # The C++ compiler must be used to create the archive.
13179 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13180 ;;
13181 *)
13182 # GNU C++ compiler with Solaris linker
13183 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13184 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13185 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13186 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13187 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13188 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13189
13190 # Commands to make compiler produce verbose output that lists
13191 # what "hidden" libraries, object files and flags are used when
13192 # linking a shared library.
13193 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13194 else
13195 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13196 # platform.
13197 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13198 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13199 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13200
13201 # Commands to make compiler produce verbose output that lists
13202 # what "hidden" libraries, object files and flags are used when
13203 # linking a shared library.
13204 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13205 fi
13206
13207 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13208 case $host_os in
13209 solaris2.[0-5] | solaris2.[0-5].*) ;;
13210 *)
13211 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13212 ;;
13213 esac
13214 fi
13215 ;;
13216 esac
13217 ;;
13218
13219 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13220 no_undefined_flag_CXX='${wl}-z,text'
13221 archive_cmds_need_lc_CXX=no
13222 hardcode_shlibpath_var_CXX=no
13223 runpath_var='LD_RUN_PATH'
13224
13225 case $cc_basename in
13226 CC*)
13227 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13228 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 ;;
13230 *)
13231 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13232 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13233 ;;
13234 esac
13235 ;;
13236
13237 sysv5* | sco3.2v5* | sco5v6*)
13238 # Note: We can NOT use -z defs as we might desire, because we do not
13239 # link with -lc, and that would cause any symbols used from libc to
13240 # always be unresolved, which means just about no library would
13241 # ever link correctly. If we're not using GNU ld we use -z text
13242 # though, which does catch some bad symbols but isn't as heavy-handed
13243 # as -z defs.
13244 no_undefined_flag_CXX='${wl}-z,text'
13245 allow_undefined_flag_CXX='${wl}-z,nodefs'
13246 archive_cmds_need_lc_CXX=no
13247 hardcode_shlibpath_var_CXX=no
13248 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13249 hardcode_libdir_separator_CXX=':'
13250 link_all_deplibs_CXX=yes
13251 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13252 runpath_var='LD_RUN_PATH'
13253
13254 case $cc_basename in
13255 CC*)
13256 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13257 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13258 ;;
13259 *)
13260 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13261 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13262 ;;
13263 esac
13264 ;;
13265
13266 tandem*)
13267 case $cc_basename in
13268 NCC*)
13269 # NonStop-UX NCC 3.20
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13272 ;;
13273 *)
13274 # FIXME: insert proper C++ library support
13275 ld_shlibs_CXX=no
13276 ;;
13277 esac
13278 ;;
13279
13280 vxworks*)
13281 # FIXME: insert proper C++ library support
13282 ld_shlibs_CXX=no
13283 ;;
13284
13285 *)
13286 # FIXME: insert proper C++ library support
13287 ld_shlibs_CXX=no
13288 ;;
13289 esac
13290
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13292 $as_echo "$ld_shlibs_CXX" >&6; }
13293 test "$ld_shlibs_CXX" = no && can_build_shared=no
13294
13295 GCC_CXX="$GXX"
13296 LD_CXX="$LD"
13297
13298 ## CAVEAT EMPTOR:
13299 ## There is no encapsulation within the following macros, do not change
13300 ## the running order or otherwise move them around unless you know exactly
13301 ## what you are doing...
13302 # Dependencies to place before and after the object being linked:
13303 predep_objects_CXX=
13304 postdep_objects_CXX=
13305 predeps_CXX=
13306 postdeps_CXX=
13307 compiler_lib_search_path_CXX=
13308
13309 cat > conftest.$ac_ext <<_LT_EOF
13310 class Foo
13311 {
13312 public:
13313 Foo (void) { a = 0; }
13314 private:
13315 int a;
13316 };
13317 _LT_EOF
13318
13319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13320 (eval $ac_compile) 2>&5
13321 ac_status=$?
13322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13323 test $ac_status = 0; }; then
13324 # Parse the compiler output and extract the necessary
13325 # objects, libraries and library flags.
13326
13327 # Sentinel used to keep track of whether or not we are before
13328 # the conftest object file.
13329 pre_test_object_deps_done=no
13330
13331 for p in `eval "$output_verbose_link_cmd"`; do
13332 case $p in
13333
13334 -L* | -R* | -l*)
13335 # Some compilers place space between "-{L,R}" and the path.
13336 # Remove the space.
13337 if test $p = "-L" ||
13338 test $p = "-R"; then
13339 prev=$p
13340 continue
13341 else
13342 prev=
13343 fi
13344
13345 if test "$pre_test_object_deps_done" = no; then
13346 case $p in
13347 -L* | -R*)
13348 # Internal compiler library paths should come after those
13349 # provided the user. The postdeps already come after the
13350 # user supplied libs so there is no need to process them.
13351 if test -z "$compiler_lib_search_path_CXX"; then
13352 compiler_lib_search_path_CXX="${prev}${p}"
13353 else
13354 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13355 fi
13356 ;;
13357 # The "-l" case would never come before the object being
13358 # linked, so don't bother handling this case.
13359 esac
13360 else
13361 if test -z "$postdeps_CXX"; then
13362 postdeps_CXX="${prev}${p}"
13363 else
13364 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13365 fi
13366 fi
13367 ;;
13368
13369 *.$objext)
13370 # This assumes that the test object file only shows up
13371 # once in the compiler output.
13372 if test "$p" = "conftest.$objext"; then
13373 pre_test_object_deps_done=yes
13374 continue
13375 fi
13376
13377 if test "$pre_test_object_deps_done" = no; then
13378 if test -z "$predep_objects_CXX"; then
13379 predep_objects_CXX="$p"
13380 else
13381 predep_objects_CXX="$predep_objects_CXX $p"
13382 fi
13383 else
13384 if test -z "$postdep_objects_CXX"; then
13385 postdep_objects_CXX="$p"
13386 else
13387 postdep_objects_CXX="$postdep_objects_CXX $p"
13388 fi
13389 fi
13390 ;;
13391
13392 *) ;; # Ignore the rest.
13393
13394 esac
13395 done
13396
13397 # Clean up.
13398 rm -f a.out a.exe
13399 else
13400 echo "libtool.m4: error: problem compiling CXX test program"
13401 fi
13402
13403 $RM -f confest.$objext
13404
13405 # PORTME: override above test on systems where it is broken
13406 case $host_os in
13407 interix[3-9]*)
13408 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13409 # hack all around it, let's just trust "g++" to DTRT.
13410 predep_objects_CXX=
13411 postdep_objects_CXX=
13412 postdeps_CXX=
13413 ;;
13414
13415 linux*)
13416 case `$CC -V 2>&1 | sed 5q` in
13417 *Sun\ C*)
13418 # Sun C++ 5.9
13419
13420 # The more standards-conforming stlport4 library is
13421 # incompatible with the Cstd library. Avoid specifying
13422 # it if it's in CXXFLAGS. Ignore libCrun as
13423 # -library=stlport4 depends on it.
13424 case " $CXX $CXXFLAGS " in
13425 *" -library=stlport4 "*)
13426 solaris_use_stlport4=yes
13427 ;;
13428 esac
13429
13430 if test "$solaris_use_stlport4" != yes; then
13431 postdeps_CXX='-library=Cstd -library=Crun'
13432 fi
13433 ;;
13434 esac
13435 ;;
13436
13437 solaris*)
13438 case $cc_basename in
13439 CC*)
13440 # The more standards-conforming stlport4 library is
13441 # incompatible with the Cstd library. Avoid specifying
13442 # it if it's in CXXFLAGS. Ignore libCrun as
13443 # -library=stlport4 depends on it.
13444 case " $CXX $CXXFLAGS " in
13445 *" -library=stlport4 "*)
13446 solaris_use_stlport4=yes
13447 ;;
13448 esac
13449
13450 # Adding this requires a known-good setup of shared libraries for
13451 # Sun compiler versions before 5.6, else PIC objects from an old
13452 # archive will be linked into the output, leading to subtle bugs.
13453 if test "$solaris_use_stlport4" != yes; then
13454 postdeps_CXX='-library=Cstd -library=Crun'
13455 fi
13456 ;;
13457 esac
13458 ;;
13459 esac
13460
13461
13462 case " $postdeps_CXX " in
13463 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13464 esac
13465 compiler_lib_search_dirs_CXX=
13466 if test -n "${compiler_lib_search_path_CXX}"; then
13467 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13468 fi
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500 lt_prog_compiler_wl_CXX=
13501 lt_prog_compiler_pic_CXX=
13502 lt_prog_compiler_static_CXX=
13503
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13506
13507 # C++ specific cases for pic, static, wl, etc.
13508 if test "$GXX" = yes; then
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_static_CXX='-static'
13511
13512 case $host_os in
13513 aix*)
13514 # All AIX code is PIC.
13515 if test "$host_cpu" = ia64; then
13516 # AIX 5 now supports IA64 processor
13517 lt_prog_compiler_static_CXX='-Bstatic'
13518 fi
13519 ;;
13520
13521 amigaos*)
13522 case $host_cpu in
13523 powerpc)
13524 # see comment about AmigaOS4 .so support
13525 lt_prog_compiler_pic_CXX='-fPIC'
13526 ;;
13527 m68k)
13528 # FIXME: we need at least 68020 code to build shared libraries, but
13529 # adding the `-m68020' flag to GCC prevents building anything better,
13530 # like `-m68040'.
13531 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13532 ;;
13533 esac
13534 ;;
13535
13536 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13537 # PIC is the default for these OSes.
13538 ;;
13539 mingw* | cygwin* | os2* | pw32* | cegcc*)
13540 # This hack is so that the source file can tell whether it is being
13541 # built for inclusion in a dll (and should export symbols for example).
13542 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13543 # (--disable-auto-import) libraries
13544 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13545 ;;
13546 darwin* | rhapsody*)
13547 # PIC is the default on this platform
13548 # Common symbols not allowed in MH_DYLIB files
13549 lt_prog_compiler_pic_CXX='-fno-common'
13550 ;;
13551 *djgpp*)
13552 # DJGPP does not support shared libraries at all
13553 lt_prog_compiler_pic_CXX=
13554 ;;
13555 interix[3-9]*)
13556 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13557 # Instead, we relocate shared libraries at runtime.
13558 ;;
13559 sysv4*MP*)
13560 if test -d /usr/nec; then
13561 lt_prog_compiler_pic_CXX=-Kconform_pic
13562 fi
13563 ;;
13564 hpux*)
13565 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13566 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13567 # sets the default TLS model and affects inlining.
13568 case $host_cpu in
13569 hppa*64*)
13570 ;;
13571 *)
13572 lt_prog_compiler_pic_CXX='-fPIC'
13573 ;;
13574 esac
13575 ;;
13576 *qnx* | *nto*)
13577 # QNX uses GNU C++, but need to define -shared option too, otherwise
13578 # it will coredump.
13579 lt_prog_compiler_pic_CXX='-fPIC -shared'
13580 ;;
13581 *)
13582 lt_prog_compiler_pic_CXX='-fPIC'
13583 ;;
13584 esac
13585 else
13586 case $host_os in
13587 aix[4-9]*)
13588 # All AIX code is PIC.
13589 if test "$host_cpu" = ia64; then
13590 # AIX 5 now supports IA64 processor
13591 lt_prog_compiler_static_CXX='-Bstatic'
13592 else
13593 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13594 fi
13595 ;;
13596 chorus*)
13597 case $cc_basename in
13598 cxch68*)
13599 # Green Hills C++ Compiler
13600 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13601 ;;
13602 esac
13603 ;;
13604 dgux*)
13605 case $cc_basename in
13606 ec++*)
13607 lt_prog_compiler_pic_CXX='-KPIC'
13608 ;;
13609 ghcx*)
13610 # Green Hills C++ Compiler
13611 lt_prog_compiler_pic_CXX='-pic'
13612 ;;
13613 *)
13614 ;;
13615 esac
13616 ;;
13617 freebsd* | dragonfly*)
13618 # FreeBSD uses GNU C++
13619 ;;
13620 hpux9* | hpux10* | hpux11*)
13621 case $cc_basename in
13622 CC*)
13623 lt_prog_compiler_wl_CXX='-Wl,'
13624 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13625 if test "$host_cpu" != ia64; then
13626 lt_prog_compiler_pic_CXX='+Z'
13627 fi
13628 ;;
13629 aCC*)
13630 lt_prog_compiler_wl_CXX='-Wl,'
13631 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13632 case $host_cpu in
13633 hppa*64*|ia64*)
13634 # +Z the default
13635 ;;
13636 *)
13637 lt_prog_compiler_pic_CXX='+Z'
13638 ;;
13639 esac
13640 ;;
13641 *)
13642 ;;
13643 esac
13644 ;;
13645 interix*)
13646 # This is c89, which is MS Visual C++ (no shared libs)
13647 # Anyone wants to do a port?
13648 ;;
13649 irix5* | irix6* | nonstopux*)
13650 case $cc_basename in
13651 CC*)
13652 lt_prog_compiler_wl_CXX='-Wl,'
13653 lt_prog_compiler_static_CXX='-non_shared'
13654 # CC pic flag -KPIC is the default.
13655 ;;
13656 *)
13657 ;;
13658 esac
13659 ;;
13660 linux* | k*bsd*-gnu)
13661 case $cc_basename in
13662 KCC*)
13663 # KAI C++ Compiler
13664 lt_prog_compiler_wl_CXX='--backend -Wl,'
13665 lt_prog_compiler_pic_CXX='-fPIC'
13666 ;;
13667 ecpc* )
13668 # old Intel C++ for x86_64 which still supported -KPIC.
13669 lt_prog_compiler_wl_CXX='-Wl,'
13670 lt_prog_compiler_pic_CXX='-KPIC'
13671 lt_prog_compiler_static_CXX='-static'
13672 ;;
13673 icpc* )
13674 # Intel C++, used to be incompatible with GCC.
13675 # ICC 10 doesn't accept -KPIC any more.
13676 lt_prog_compiler_wl_CXX='-Wl,'
13677 lt_prog_compiler_pic_CXX='-fPIC'
13678 lt_prog_compiler_static_CXX='-static'
13679 ;;
13680 pgCC* | pgcpp*)
13681 # Portland Group C++ compiler
13682 lt_prog_compiler_wl_CXX='-Wl,'
13683 lt_prog_compiler_pic_CXX='-fpic'
13684 lt_prog_compiler_static_CXX='-Bstatic'
13685 ;;
13686 cxx*)
13687 # Compaq C++
13688 # Make sure the PIC flag is empty. It appears that all Alpha
13689 # Linux and Compaq Tru64 Unix objects are PIC.
13690 lt_prog_compiler_pic_CXX=
13691 lt_prog_compiler_static_CXX='-non_shared'
13692 ;;
13693 xlc* | xlC*)
13694 # IBM XL 8.0 on PPC
13695 lt_prog_compiler_wl_CXX='-Wl,'
13696 lt_prog_compiler_pic_CXX='-qpic'
13697 lt_prog_compiler_static_CXX='-qstaticlink'
13698 ;;
13699 *)
13700 case `$CC -V 2>&1 | sed 5q` in
13701 *Sun\ C*)
13702 # Sun C++ 5.9
13703 lt_prog_compiler_pic_CXX='-KPIC'
13704 lt_prog_compiler_static_CXX='-Bstatic'
13705 lt_prog_compiler_wl_CXX='-Qoption ld '
13706 ;;
13707 esac
13708 ;;
13709 esac
13710 ;;
13711 lynxos*)
13712 ;;
13713 m88k*)
13714 ;;
13715 mvs*)
13716 case $cc_basename in
13717 cxx*)
13718 lt_prog_compiler_pic_CXX='-W c,exportall'
13719 ;;
13720 *)
13721 ;;
13722 esac
13723 ;;
13724 netbsd*)
13725 ;;
13726 *qnx* | *nto*)
13727 # QNX uses GNU C++, but need to define -shared option too, otherwise
13728 # it will coredump.
13729 lt_prog_compiler_pic_CXX='-fPIC -shared'
13730 ;;
13731 osf3* | osf4* | osf5*)
13732 case $cc_basename in
13733 KCC*)
13734 lt_prog_compiler_wl_CXX='--backend -Wl,'
13735 ;;
13736 RCC*)
13737 # Rational C++ 2.4.1
13738 lt_prog_compiler_pic_CXX='-pic'
13739 ;;
13740 cxx*)
13741 # Digital/Compaq C++
13742 lt_prog_compiler_wl_CXX='-Wl,'
13743 # Make sure the PIC flag is empty. It appears that all Alpha
13744 # Linux and Compaq Tru64 Unix objects are PIC.
13745 lt_prog_compiler_pic_CXX=
13746 lt_prog_compiler_static_CXX='-non_shared'
13747 ;;
13748 *)
13749 ;;
13750 esac
13751 ;;
13752 psos*)
13753 ;;
13754 solaris*)
13755 case $cc_basename in
13756 CC*)
13757 # Sun C++ 4.2, 5.x and Centerline C++
13758 lt_prog_compiler_pic_CXX='-KPIC'
13759 lt_prog_compiler_static_CXX='-Bstatic'
13760 lt_prog_compiler_wl_CXX='-Qoption ld '
13761 ;;
13762 gcx*)
13763 # Green Hills C++ Compiler
13764 lt_prog_compiler_pic_CXX='-PIC'
13765 ;;
13766 *)
13767 ;;
13768 esac
13769 ;;
13770 sunos4*)
13771 case $cc_basename in
13772 CC*)
13773 # Sun C++ 4.x
13774 lt_prog_compiler_pic_CXX='-pic'
13775 lt_prog_compiler_static_CXX='-Bstatic'
13776 ;;
13777 lcc*)
13778 # Lucid
13779 lt_prog_compiler_pic_CXX='-pic'
13780 ;;
13781 *)
13782 ;;
13783 esac
13784 ;;
13785 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13786 case $cc_basename in
13787 CC*)
13788 lt_prog_compiler_wl_CXX='-Wl,'
13789 lt_prog_compiler_pic_CXX='-KPIC'
13790 lt_prog_compiler_static_CXX='-Bstatic'
13791 ;;
13792 esac
13793 ;;
13794 tandem*)
13795 case $cc_basename in
13796 NCC*)
13797 # NonStop-UX NCC 3.20
13798 lt_prog_compiler_pic_CXX='-KPIC'
13799 ;;
13800 *)
13801 ;;
13802 esac
13803 ;;
13804 vxworks*)
13805 ;;
13806 *)
13807 lt_prog_compiler_can_build_shared_CXX=no
13808 ;;
13809 esac
13810 fi
13811
13812 case $host_os in
13813 # For platforms which do not support PIC, -DPIC is meaningless:
13814 *djgpp*)
13815 lt_prog_compiler_pic_CXX=
13816 ;;
13817 *)
13818 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13819 ;;
13820 esac
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13822 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13823
13824
13825
13826 #
13827 # Check to make sure the PIC flag actually works.
13828 #
13829 if test -n "$lt_prog_compiler_pic_CXX"; then
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13831 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13832 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 lt_cv_prog_compiler_pic_works_CXX=no
13836 ac_outfile=conftest.$ac_objext
13837 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13838 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13839 # Insert the option either (1) after the last *FLAGS variable, or
13840 # (2) before a word containing "conftest.", or (3) at the end.
13841 # Note that $ac_compile itself does not contain backslashes and begins
13842 # with a dollar sign (not a hyphen), so the echo should work correctly.
13843 # The option is referenced via a variable to avoid confusing sed.
13844 lt_compile=`echo "$ac_compile" | $SED \
13845 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13846 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13847 -e 's:$: $lt_compiler_flag:'`
13848 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13849 (eval "$lt_compile" 2>conftest.err)
13850 ac_status=$?
13851 cat conftest.err >&5
13852 echo "$as_me:__oline__: \$? = $ac_status" >&5
13853 if (exit $ac_status) && test -s "$ac_outfile"; then
13854 # The compiler can only warn and ignore the option if not recognized
13855 # So say no if there are warnings other than the usual output.
13856 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13857 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13858 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13859 lt_cv_prog_compiler_pic_works_CXX=yes
13860 fi
13861 fi
13862 $RM conftest*
13863
13864 fi
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13866 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13867
13868 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13869 case $lt_prog_compiler_pic_CXX in
13870 "" | " "*) ;;
13871 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13872 esac
13873 else
13874 lt_prog_compiler_pic_CXX=
13875 lt_prog_compiler_can_build_shared_CXX=no
13876 fi
13877
13878 fi
13879
13880
13881
13882 #
13883 # Check to make sure the static flag actually works.
13884 #
13885 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13887 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13888 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13889 $as_echo_n "(cached) " >&6
13890 else
13891 lt_cv_prog_compiler_static_works_CXX=no
13892 save_LDFLAGS="$LDFLAGS"
13893 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13894 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13895 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13896 # The linker can only warn and ignore the option if not recognized
13897 # So say no if there are warnings
13898 if test -s conftest.err; then
13899 # Append any errors to the config.log.
13900 cat conftest.err 1>&5
13901 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13903 if diff conftest.exp conftest.er2 >/dev/null; then
13904 lt_cv_prog_compiler_static_works_CXX=yes
13905 fi
13906 else
13907 lt_cv_prog_compiler_static_works_CXX=yes
13908 fi
13909 fi
13910 $RM -r conftest*
13911 LDFLAGS="$save_LDFLAGS"
13912
13913 fi
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13915 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13916
13917 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13918 :
13919 else
13920 lt_prog_compiler_static_CXX=
13921 fi
13922
13923
13924
13925
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13927 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13928 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13929 $as_echo_n "(cached) " >&6
13930 else
13931 lt_cv_prog_compiler_c_o_CXX=no
13932 $RM -r conftest 2>/dev/null
13933 mkdir conftest
13934 cd conftest
13935 mkdir out
13936 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13937
13938 lt_compiler_flag="-o out/conftest2.$ac_objext"
13939 # Insert the option either (1) after the last *FLAGS variable, or
13940 # (2) before a word containing "conftest.", or (3) at the end.
13941 # Note that $ac_compile itself does not contain backslashes and begins
13942 # with a dollar sign (not a hyphen), so the echo should work correctly.
13943 lt_compile=`echo "$ac_compile" | $SED \
13944 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13945 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13946 -e 's:$: $lt_compiler_flag:'`
13947 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13948 (eval "$lt_compile" 2>out/conftest.err)
13949 ac_status=$?
13950 cat out/conftest.err >&5
13951 echo "$as_me:__oline__: \$? = $ac_status" >&5
13952 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13953 then
13954 # The compiler can only warn and ignore the option if not recognized
13955 # So say no if there are warnings
13956 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13957 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13958 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13959 lt_cv_prog_compiler_c_o_CXX=yes
13960 fi
13961 fi
13962 chmod u+w . 2>&5
13963 $RM conftest*
13964 # SGI C++ compiler will create directory out/ii_files/ for
13965 # template instantiation
13966 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13967 $RM out/* && rmdir out
13968 cd ..
13969 $RM -r conftest
13970 $RM conftest*
13971
13972 fi
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13974 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13975
13976
13977
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13979 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13980 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13981 $as_echo_n "(cached) " >&6
13982 else
13983 lt_cv_prog_compiler_c_o_CXX=no
13984 $RM -r conftest 2>/dev/null
13985 mkdir conftest
13986 cd conftest
13987 mkdir out
13988 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13989
13990 lt_compiler_flag="-o out/conftest2.$ac_objext"
13991 # Insert the option either (1) after the last *FLAGS variable, or
13992 # (2) before a word containing "conftest.", or (3) at the end.
13993 # Note that $ac_compile itself does not contain backslashes and begins
13994 # with a dollar sign (not a hyphen), so the echo should work correctly.
13995 lt_compile=`echo "$ac_compile" | $SED \
13996 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13997 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13998 -e 's:$: $lt_compiler_flag:'`
13999 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14000 (eval "$lt_compile" 2>out/conftest.err)
14001 ac_status=$?
14002 cat out/conftest.err >&5
14003 echo "$as_me:__oline__: \$? = $ac_status" >&5
14004 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14005 then
14006 # The compiler can only warn and ignore the option if not recognized
14007 # So say no if there are warnings
14008 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14009 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14010 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14011 lt_cv_prog_compiler_c_o_CXX=yes
14012 fi
14013 fi
14014 chmod u+w . 2>&5
14015 $RM conftest*
14016 # SGI C++ compiler will create directory out/ii_files/ for
14017 # template instantiation
14018 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14019 $RM out/* && rmdir out
14020 cd ..
14021 $RM -r conftest
14022 $RM conftest*
14023
14024 fi
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14026 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14027
14028
14029
14030
14031 hard_links="nottested"
14032 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14033 # do not overwrite the value of need_locks provided by the user
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14035 $as_echo_n "checking if we can lock with hard links... " >&6; }
14036 hard_links=yes
14037 $RM conftest*
14038 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14039 touch conftest.a
14040 ln conftest.a conftest.b 2>&5 || hard_links=no
14041 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14043 $as_echo "$hard_links" >&6; }
14044 if test "$hard_links" = no; then
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14046 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14047 need_locks=warn
14048 fi
14049 else
14050 need_locks=no
14051 fi
14052
14053
14054
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14056 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14057
14058 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14059 case $host_os in
14060 aix[4-9]*)
14061 # If we're using GNU nm, then we don't want the "-C" option.
14062 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14063 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14064 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14065 else
14066 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14067 fi
14068 ;;
14069 pw32*)
14070 export_symbols_cmds_CXX="$ltdll_cmds"
14071 ;;
14072 cygwin* | mingw* | cegcc*)
14073 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14074 ;;
14075 *)
14076 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14077 ;;
14078 esac
14079 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14080
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14082 $as_echo "$ld_shlibs_CXX" >&6; }
14083 test "$ld_shlibs_CXX" = no && can_build_shared=no
14084
14085 with_gnu_ld_CXX=$with_gnu_ld
14086
14087
14088
14089
14090
14091
14092 #
14093 # Do we need to explicitly link libc?
14094 #
14095 case "x$archive_cmds_need_lc_CXX" in
14096 x|xyes)
14097 # Assume -lc should be added
14098 archive_cmds_need_lc_CXX=yes
14099
14100 if test "$enable_shared" = yes && test "$GCC" = yes; then
14101 case $archive_cmds_CXX in
14102 *'~'*)
14103 # FIXME: we may have to deal with multi-command sequences.
14104 ;;
14105 '$CC '*)
14106 # Test whether the compiler implicitly links with -lc since on some
14107 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14108 # to ld, don't add -lc before -lgcc.
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14110 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14111 $RM conftest*
14112 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14113
14114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14115 (eval $ac_compile) 2>&5
14116 ac_status=$?
14117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14118 test $ac_status = 0; } 2>conftest.err; then
14119 soname=conftest
14120 lib=conftest
14121 libobjs=conftest.$ac_objext
14122 deplibs=
14123 wl=$lt_prog_compiler_wl_CXX
14124 pic_flag=$lt_prog_compiler_pic_CXX
14125 compiler_flags=-v
14126 linker_flags=-v
14127 verstring=
14128 output_objdir=.
14129 libname=conftest
14130 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14131 allow_undefined_flag_CXX=
14132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14133 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14134 ac_status=$?
14135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136 test $ac_status = 0; }
14137 then
14138 archive_cmds_need_lc_CXX=no
14139 else
14140 archive_cmds_need_lc_CXX=yes
14141 fi
14142 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14143 else
14144 cat conftest.err 1>&5
14145 fi
14146 $RM conftest*
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14148 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14149 ;;
14150 esac
14151 fi
14152 ;;
14153 esac
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14219 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14220
14221 library_names_spec=
14222 libname_spec='lib$name'
14223 soname_spec=
14224 shrext_cmds=".so"
14225 postinstall_cmds=
14226 postuninstall_cmds=
14227 finish_cmds=
14228 finish_eval=
14229 shlibpath_var=
14230 shlibpath_overrides_runpath=unknown
14231 version_type=none
14232 dynamic_linker="$host_os ld.so"
14233 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14234 need_lib_prefix=unknown
14235 hardcode_into_libs=no
14236
14237 # when you set need_version to no, make sure it does not cause -set_version
14238 # flags to be left without arguments
14239 need_version=unknown
14240
14241 case $host_os in
14242 aix3*)
14243 version_type=linux
14244 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14245 shlibpath_var=LIBPATH
14246
14247 # AIX 3 has no versioning support, so we append a major version to the name.
14248 soname_spec='${libname}${release}${shared_ext}$major'
14249 ;;
14250
14251 aix[4-9]*)
14252 version_type=linux
14253 need_lib_prefix=no
14254 need_version=no
14255 hardcode_into_libs=yes
14256 if test "$host_cpu" = ia64; then
14257 # AIX 5 supports IA64
14258 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14259 shlibpath_var=LD_LIBRARY_PATH
14260 else
14261 # With GCC up to 2.95.x, collect2 would create an import file
14262 # for dependence libraries. The import file would start with
14263 # the line `#! .'. This would cause the generated library to
14264 # depend on `.', always an invalid library. This was fixed in
14265 # development snapshots of GCC prior to 3.0.
14266 case $host_os in
14267 aix4 | aix4.[01] | aix4.[01].*)
14268 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14269 echo ' yes '
14270 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14271 :
14272 else
14273 can_build_shared=no
14274 fi
14275 ;;
14276 esac
14277 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14278 # soname into executable. Probably we can add versioning support to
14279 # collect2, so additional links can be useful in future.
14280 if test "$aix_use_runtimelinking" = yes; then
14281 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14282 # instead of lib<name>.a to let people know that these are not
14283 # typical AIX shared libraries.
14284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14285 else
14286 # We preserve .a as extension for shared libraries through AIX4.2
14287 # and later when we are not doing run time linking.
14288 library_names_spec='${libname}${release}.a $libname.a'
14289 soname_spec='${libname}${release}${shared_ext}$major'
14290 fi
14291 shlibpath_var=LIBPATH
14292 fi
14293 ;;
14294
14295 amigaos*)
14296 case $host_cpu in
14297 powerpc)
14298 # Since July 2007 AmigaOS4 officially supports .so libraries.
14299 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14301 ;;
14302 m68k)
14303 library_names_spec='$libname.ixlibrary $libname.a'
14304 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14305 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14306 ;;
14307 esac
14308 ;;
14309
14310 beos*)
14311 library_names_spec='${libname}${shared_ext}'
14312 dynamic_linker="$host_os ld.so"
14313 shlibpath_var=LIBRARY_PATH
14314 ;;
14315
14316 bsdi[45]*)
14317 version_type=linux
14318 need_version=no
14319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14320 soname_spec='${libname}${release}${shared_ext}$major'
14321 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14322 shlibpath_var=LD_LIBRARY_PATH
14323 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14324 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14325 # the default ld.so.conf also contains /usr/contrib/lib and
14326 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14327 # libtool to hard-code these into programs
14328 ;;
14329
14330 cygwin* | mingw* | pw32* | cegcc*)
14331 version_type=windows
14332 shrext_cmds=".dll"
14333 need_version=no
14334 need_lib_prefix=no
14335
14336 case $GCC,$host_os in
14337 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14338 library_names_spec='$libname.dll.a'
14339 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14340 postinstall_cmds='base_file=`basename \${file}`~
14341 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14342 dldir=$destdir/`dirname \$dlpath`~
14343 test -d \$dldir || mkdir -p \$dldir~
14344 $install_prog $dir/$dlname \$dldir/$dlname~
14345 chmod a+x \$dldir/$dlname~
14346 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14347 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14348 fi'
14349 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14350 dlpath=$dir/\$dldll~
14351 $RM \$dlpath'
14352 shlibpath_overrides_runpath=yes
14353
14354 case $host_os in
14355 cygwin*)
14356 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14357 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14358 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14359 ;;
14360 mingw* | cegcc*)
14361 # MinGW DLLs use traditional 'lib' prefix
14362 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14363 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14364 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14365 # It is most probably a Windows format PATH printed by
14366 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14367 # path with ; separators, and with drive letters. We can handle the
14368 # drive letters (cygwin fileutils understands them), so leave them,
14369 # especially as we might pass files found there to a mingw objdump,
14370 # which wouldn't understand a cygwinified path. Ahh.
14371 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14372 else
14373 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14374 fi
14375 ;;
14376 pw32*)
14377 # pw32 DLLs use 'pw' prefix rather than 'lib'
14378 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14379 ;;
14380 esac
14381 ;;
14382
14383 *)
14384 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14385 ;;
14386 esac
14387 dynamic_linker='Win32 ld.exe'
14388 # FIXME: first we should search . and the directory the executable is in
14389 shlibpath_var=PATH
14390 ;;
14391
14392 darwin* | rhapsody*)
14393 dynamic_linker="$host_os dyld"
14394 version_type=darwin
14395 need_lib_prefix=no
14396 need_version=no
14397 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14398 soname_spec='${libname}${release}${major}$shared_ext'
14399 shlibpath_overrides_runpath=yes
14400 shlibpath_var=DYLD_LIBRARY_PATH
14401 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14402
14403 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14404 ;;
14405
14406 dgux*)
14407 version_type=linux
14408 need_lib_prefix=no
14409 need_version=no
14410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14411 soname_spec='${libname}${release}${shared_ext}$major'
14412 shlibpath_var=LD_LIBRARY_PATH
14413 ;;
14414
14415 freebsd1*)
14416 dynamic_linker=no
14417 ;;
14418
14419 freebsd* | dragonfly*)
14420 # DragonFly does not have aout. When/if they implement a new
14421 # versioning mechanism, adjust this.
14422 if test -x /usr/bin/objformat; then
14423 objformat=`/usr/bin/objformat`
14424 else
14425 case $host_os in
14426 freebsd[123]*) objformat=aout ;;
14427 *) objformat=elf ;;
14428 esac
14429 fi
14430 version_type=freebsd-$objformat
14431 case $version_type in
14432 freebsd-elf*)
14433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14434 need_version=no
14435 need_lib_prefix=no
14436 ;;
14437 freebsd-*)
14438 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14439 need_version=yes
14440 ;;
14441 esac
14442 shlibpath_var=LD_LIBRARY_PATH
14443 case $host_os in
14444 freebsd2*)
14445 shlibpath_overrides_runpath=yes
14446 ;;
14447 freebsd3.[01]* | freebsdelf3.[01]*)
14448 shlibpath_overrides_runpath=yes
14449 hardcode_into_libs=yes
14450 ;;
14451 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14452 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14453 shlibpath_overrides_runpath=no
14454 hardcode_into_libs=yes
14455 ;;
14456 *) # from 4.6 on, and DragonFly
14457 shlibpath_overrides_runpath=yes
14458 hardcode_into_libs=yes
14459 ;;
14460 esac
14461 ;;
14462
14463 gnu*)
14464 version_type=linux
14465 need_lib_prefix=no
14466 need_version=no
14467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14468 soname_spec='${libname}${release}${shared_ext}$major'
14469 shlibpath_var=LD_LIBRARY_PATH
14470 hardcode_into_libs=yes
14471 ;;
14472
14473 hpux9* | hpux10* | hpux11*)
14474 # Give a soname corresponding to the major version so that dld.sl refuses to
14475 # link against other versions.
14476 version_type=sunos
14477 need_lib_prefix=no
14478 need_version=no
14479 case $host_cpu in
14480 ia64*)
14481 shrext_cmds='.so'
14482 hardcode_into_libs=yes
14483 dynamic_linker="$host_os dld.so"
14484 shlibpath_var=LD_LIBRARY_PATH
14485 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14487 soname_spec='${libname}${release}${shared_ext}$major'
14488 if test "X$HPUX_IA64_MODE" = X32; then
14489 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14490 else
14491 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14492 fi
14493 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14494 ;;
14495 hppa*64*)
14496 shrext_cmds='.sl'
14497 hardcode_into_libs=yes
14498 dynamic_linker="$host_os dld.sl"
14499 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14500 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14502 soname_spec='${libname}${release}${shared_ext}$major'
14503 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14505 ;;
14506 *)
14507 shrext_cmds='.sl'
14508 dynamic_linker="$host_os dld.sl"
14509 shlibpath_var=SHLIB_PATH
14510 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14512 soname_spec='${libname}${release}${shared_ext}$major'
14513 ;;
14514 esac
14515 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14516 postinstall_cmds='chmod 555 $lib'
14517 ;;
14518
14519 interix[3-9]*)
14520 version_type=linux
14521 need_lib_prefix=no
14522 need_version=no
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14525 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=no
14528 hardcode_into_libs=yes
14529 ;;
14530
14531 irix5* | irix6* | nonstopux*)
14532 case $host_os in
14533 nonstopux*) version_type=nonstopux ;;
14534 *)
14535 if test "$lt_cv_prog_gnu_ld" = yes; then
14536 version_type=linux
14537 else
14538 version_type=irix
14539 fi ;;
14540 esac
14541 need_lib_prefix=no
14542 need_version=no
14543 soname_spec='${libname}${release}${shared_ext}$major'
14544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14545 case $host_os in
14546 irix5* | nonstopux*)
14547 libsuff= shlibsuff=
14548 ;;
14549 *)
14550 case $LD in # libtool.m4 will add one of these switches to LD
14551 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14552 libsuff= shlibsuff= libmagic=32-bit;;
14553 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14554 libsuff=32 shlibsuff=N32 libmagic=N32;;
14555 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14556 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14557 *) libsuff= shlibsuff= libmagic=never-match;;
14558 esac
14559 ;;
14560 esac
14561 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14562 shlibpath_overrides_runpath=no
14563 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14564 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14565 hardcode_into_libs=yes
14566 ;;
14567
14568 # No shared lib support for Linux oldld, aout, or coff.
14569 linux*oldld* | linux*aout* | linux*coff*)
14570 dynamic_linker=no
14571 ;;
14572
14573 # This must be Linux ELF.
14574 linux* | k*bsd*-gnu)
14575 version_type=linux
14576 need_lib_prefix=no
14577 need_version=no
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14579 soname_spec='${libname}${release}${shared_ext}$major'
14580 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=no
14583 # Some binutils ld are patched to set DT_RUNPATH
14584 save_LDFLAGS=$LDFLAGS
14585 save_libdir=$libdir
14586 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14587 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590
14591 int
14592 main ()
14593 {
14594
14595 ;
14596 return 0;
14597 }
14598 _ACEOF
14599 if ac_fn_cxx_try_link "$LINENO"; then :
14600 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14601 shlibpath_overrides_runpath=yes
14602 fi
14603 fi
14604 rm -f core conftest.err conftest.$ac_objext \
14605 conftest$ac_exeext conftest.$ac_ext
14606 LDFLAGS=$save_LDFLAGS
14607 libdir=$save_libdir
14608
14609 # This implies no fast_install, which is unacceptable.
14610 # Some rework will be needed to allow for fast_install
14611 # before this can be enabled.
14612 hardcode_into_libs=yes
14613
14614 # Add ABI-specific directories to the system library path.
14615 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
14616
14617 # Append ld.so.conf contents to the search path
14618 if test -f /etc/ld.so.conf; then
14619 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14620 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14621 fi
14622
14623 # We used to test for /lib/ld.so.1 and disable shared libraries on
14624 # powerpc, because MkLinux only supported shared libraries with the
14625 # GNU dynamic linker. Since this was broken with cross compilers,
14626 # most powerpc-linux boxes support dynamic linking these days and
14627 # people can always --disable-shared, the test was removed, and we
14628 # assume the GNU/Linux dynamic linker is in use.
14629 dynamic_linker='GNU/Linux ld.so'
14630 ;;
14631
14632 netbsd*)
14633 version_type=sunos
14634 need_lib_prefix=no
14635 need_version=no
14636 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14638 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14639 dynamic_linker='NetBSD (a.out) ld.so'
14640 else
14641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14642 soname_spec='${libname}${release}${shared_ext}$major'
14643 dynamic_linker='NetBSD ld.elf_so'
14644 fi
14645 shlibpath_var=LD_LIBRARY_PATH
14646 shlibpath_overrides_runpath=yes
14647 hardcode_into_libs=yes
14648 ;;
14649
14650 newsos6)
14651 version_type=linux
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14653 shlibpath_var=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath=yes
14655 ;;
14656
14657 *nto* | *qnx*)
14658 version_type=qnx
14659 need_lib_prefix=no
14660 need_version=no
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14662 soname_spec='${libname}${release}${shared_ext}$major'
14663 shlibpath_var=LD_LIBRARY_PATH
14664 shlibpath_overrides_runpath=no
14665 hardcode_into_libs=yes
14666 dynamic_linker='ldqnx.so'
14667 ;;
14668
14669 openbsd*)
14670 version_type=sunos
14671 sys_lib_dlsearch_path_spec="/usr/lib"
14672 need_lib_prefix=no
14673 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14674 case $host_os in
14675 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14676 *) need_version=no ;;
14677 esac
14678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14679 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14680 shlibpath_var=LD_LIBRARY_PATH
14681 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14682 case $host_os in
14683 openbsd2.[89] | openbsd2.[89].*)
14684 shlibpath_overrides_runpath=no
14685 ;;
14686 *)
14687 shlibpath_overrides_runpath=yes
14688 ;;
14689 esac
14690 else
14691 shlibpath_overrides_runpath=yes
14692 fi
14693 ;;
14694
14695 os2*)
14696 libname_spec='$name'
14697 shrext_cmds=".dll"
14698 need_lib_prefix=no
14699 library_names_spec='$libname${shared_ext} $libname.a'
14700 dynamic_linker='OS/2 ld.exe'
14701 shlibpath_var=LIBPATH
14702 ;;
14703
14704 osf3* | osf4* | osf5*)
14705 version_type=osf
14706 need_lib_prefix=no
14707 need_version=no
14708 soname_spec='${libname}${release}${shared_ext}$major'
14709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14710 shlibpath_var=LD_LIBRARY_PATH
14711 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14712 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14713 ;;
14714
14715 rdos*)
14716 dynamic_linker=no
14717 ;;
14718
14719 solaris*)
14720 version_type=linux
14721 need_lib_prefix=no
14722 need_version=no
14723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14724 soname_spec='${libname}${release}${shared_ext}$major'
14725 shlibpath_var=LD_LIBRARY_PATH
14726 shlibpath_overrides_runpath=yes
14727 hardcode_into_libs=yes
14728 # ldd complains unless libraries are executable
14729 postinstall_cmds='chmod +x $lib'
14730 ;;
14731
14732 sunos4*)
14733 version_type=sunos
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14735 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14736 shlibpath_var=LD_LIBRARY_PATH
14737 shlibpath_overrides_runpath=yes
14738 if test "$with_gnu_ld" = yes; then
14739 need_lib_prefix=no
14740 fi
14741 need_version=yes
14742 ;;
14743
14744 sysv4 | sysv4.3*)
14745 version_type=linux
14746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14747 soname_spec='${libname}${release}${shared_ext}$major'
14748 shlibpath_var=LD_LIBRARY_PATH
14749 case $host_vendor in
14750 sni)
14751 shlibpath_overrides_runpath=no
14752 need_lib_prefix=no
14753 runpath_var=LD_RUN_PATH
14754 ;;
14755 siemens)
14756 need_lib_prefix=no
14757 ;;
14758 motorola)
14759 need_lib_prefix=no
14760 need_version=no
14761 shlibpath_overrides_runpath=no
14762 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14763 ;;
14764 esac
14765 ;;
14766
14767 sysv4*MP*)
14768 if test -d /usr/nec ;then
14769 version_type=linux
14770 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14771 soname_spec='$libname${shared_ext}.$major'
14772 shlibpath_var=LD_LIBRARY_PATH
14773 fi
14774 ;;
14775
14776 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14777 version_type=freebsd-elf
14778 need_lib_prefix=no
14779 need_version=no
14780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14781 soname_spec='${libname}${release}${shared_ext}$major'
14782 shlibpath_var=LD_LIBRARY_PATH
14783 shlibpath_overrides_runpath=yes
14784 hardcode_into_libs=yes
14785 if test "$with_gnu_ld" = yes; then
14786 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14787 else
14788 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14789 case $host_os in
14790 sco3.2v5*)
14791 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14792 ;;
14793 esac
14794 fi
14795 sys_lib_dlsearch_path_spec='/usr/lib'
14796 ;;
14797
14798 tpf*)
14799 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14800 version_type=linux
14801 need_lib_prefix=no
14802 need_version=no
14803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14804 shlibpath_var=LD_LIBRARY_PATH
14805 shlibpath_overrides_runpath=no
14806 hardcode_into_libs=yes
14807 ;;
14808
14809 uts4*)
14810 version_type=linux
14811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14812 soname_spec='${libname}${release}${shared_ext}$major'
14813 shlibpath_var=LD_LIBRARY_PATH
14814 ;;
14815
14816 *)
14817 dynamic_linker=no
14818 ;;
14819 esac
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14821 $as_echo "$dynamic_linker" >&6; }
14822 test "$dynamic_linker" = no && can_build_shared=no
14823
14824 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14825 if test "$GCC" = yes; then
14826 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14827 fi
14828
14829 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14830 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14831 fi
14832 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14833 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14834 fi
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14872 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14873 hardcode_action_CXX=
14874 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14875 test -n "$runpath_var_CXX" ||
14876 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14877
14878 # We can hardcode non-existent directories.
14879 if test "$hardcode_direct_CXX" != no &&
14880 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14881 # have to relink, otherwise we might link with an installed library
14882 # when we should be linking with a yet-to-be-installed one
14883 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14884 test "$hardcode_minus_L_CXX" != no; then
14885 # Linking always hardcodes the temporary library directory.
14886 hardcode_action_CXX=relink
14887 else
14888 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14889 hardcode_action_CXX=immediate
14890 fi
14891 else
14892 # We cannot hardcode anything, or else we can only hardcode existing
14893 # directories.
14894 hardcode_action_CXX=unsupported
14895 fi
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14897 $as_echo "$hardcode_action_CXX" >&6; }
14898
14899 if test "$hardcode_action_CXX" = relink ||
14900 test "$inherit_rpath_CXX" = yes; then
14901 # Fast installation is not supported
14902 enable_fast_install=no
14903 elif test "$shlibpath_overrides_runpath" = yes ||
14904 test "$enable_shared" = no; then
14905 # Fast installation is not necessary
14906 enable_fast_install=needless
14907 fi
14908
14909
14910
14911
14912
14913
14914
14915 fi # test -n "$compiler"
14916
14917 CC=$lt_save_CC
14918 LDCXX=$LD
14919 LD=$lt_save_LD
14920 GCC=$lt_save_GCC
14921 with_gnu_ld=$lt_save_with_gnu_ld
14922 lt_cv_path_LDCXX=$lt_cv_path_LD
14923 lt_cv_path_LD=$lt_save_path_LD
14924 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14925 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14926 fi # test "$_lt_caught_CXX_error" != yes
14927
14928 ac_ext=cpp
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946 ac_config_commands="$ac_config_commands libtool"
14947
14948
14949
14950
14951 # Only expand once:
14952
14953
14954
14955 @%:@ Check whether --enable-libcheck was given.
14956 if test "${enable_libcheck+set}" = set; then :
14957 enableval=$enable_libcheck; case "${enableval}" in
14958 yes) libcheck=true ;;
14959 no) libcheck=false ;;
14960 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;; esac
14961 else
14962 libcheck=true
14963 fi
14964
14965
14966
14967 # --- BEGIN MLX_LANG_TCL ---
14968
14969 if test "x$libcheck" = "xtrue"; then
14970
14971
14972 @%:@ Check whether --with-tclconfig was given.
14973 if test "${with_tclconfig+set}" = set; then :
14974 withval=$with_tclconfig; TclLibBase=`echo ${withval} | sed s/tclConfig.sh\$//`
14975 fi
14976
14977
14978 @%:@ Check whether --with-tcl was given.
14979 if test "${with_tcl+set}" = set; then :
14980 withval=$with_tcl; TclLibBase="${withval}/lib"
14981 fi
14982
14983
14984 @%:@ Check whether --with-tclsh was given.
14985 if test "${with_tclsh+set}" = set; then :
14986 withval=$with_tclsh; TCLSH="${withval}"
14987 fi
14988
14989
14990 if test "x$TCLSH" = "xno" -o "x$with_tclconfig" = "xno" ; then
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&5
14992 $as_echo "$as_me: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&2;}
14993 with_tcl=no
14994 fi
14995
14996 if test "x$with_tcl" != xno; then
14997 if test \! -z "$with_tclconfig" -a \! -d "$with_tclconfig" ; then
14998 as_fn_error $? "--with-tclconfig requires a directory argument." "$LINENO" 5
14999 fi
15000
15001 if test \! -z "$TCLSH" -a \! -x "$TCLSH" ; then
15002 as_fn_error $? "--with-tclsh must specify an executable file." "$LINENO" 5
15003 fi
15004
15005 if test X"$TclLibBase" = X; then # do we already know?
15006 # No? Run tclsh and ask it where it lives.
15007
15008 # Do we know where a tclsh lives?
15009 if test X"$TCLSH" = X; then
15010 # Try and find tclsh. Any tclsh.
15011 # If a new version of tcl comes out and unfortunately adds another
15012 # filename, it should be safe to add it (to the front of the line --
15013 # somef vendors have older, badly installed tclshs that we want to avoid
15014 # if we can)
15015 for ac_prog in tclsh tclsh8.3 tclsh8.4
15016 do
15017 # Extract the first word of "$ac_prog", so it can be a program name with args.
15018 set dummy $ac_prog; ac_word=$2
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15020 $as_echo_n "checking for $ac_word... " >&6; }
15021 if ${ac_cv_path_TCLSH+:} false; then :
15022 $as_echo_n "(cached) " >&6
15023 else
15024 case $TCLSH in
15025 [\\/]* | ?:[\\/]*)
15026 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
15027 ;;
15028 *)
15029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15030 for as_dir in $PATH
15031 do
15032 IFS=$as_save_IFS
15033 test -z "$as_dir" && as_dir=.
15034 for ac_exec_ext in '' $ac_executable_extensions; do
15035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15036 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
15037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15038 break 2
15039 fi
15040 done
15041 done
15042 IFS=$as_save_IFS
15043
15044 ;;
15045 esac
15046 fi
15047 TCLSH=$ac_cv_path_TCLSH
15048 if test -n "$TCLSH"; then
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
15050 $as_echo "$TCLSH" >&6; }
15051 else
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15053 $as_echo "no" >&6; }
15054 fi
15055
15056
15057 test -n "$TCLSH" && break
15058 done
15059 test -n "$TCLSH" || TCLSH=""unknown""
15060
15061 fi
15062
15063 # Do we know where to get a tclsh?
15064 if test "X${TCLSH}" != "Xunknown"; then
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl says it lives" >&5
15066 $as_echo_n "checking where Tcl says it lives... " >&6; }
15067 echo "puts \$tcl_library" > /tmp/tcl.conf.$$
15068 TclLibBase=`${TCLSH} /tmp/tcl.conf.$$ | sed -e 's,^/*$,,'`
15069 rm /tmp/tcl.conf.$$
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TclLibBase" >&5
15071 $as_echo "$TclLibBase" >&6; }
15072 fi
15073 fi
15074
15075 if test -z "$TclLibBase" ; then
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find tclsh" >&5
15077 $as_echo "can't find tclsh" >&6; }
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl installtion; use of Tcl disabled." >&5
15079 $as_echo "$as_me: WARNING: can't find Tcl installtion; use of Tcl disabled." >&2;}
15080 with_tcl=no
15081 else
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5
15083 $as_echo_n "checking for tclConfig.sh... " >&6; }
15084 # Check a list of places where the tclConfig.sh file might be.
15085 # Note we prefer the 64 bit version if exists
15086 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}"
15087 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}/.."
15088 tclCondifSearchPath="$tclCondifSearchPath `echo ${TCLSH} | sed s/sh//`"
15089 tclCondifSearchPath="$tclCondifSearchPath /usr/lib64"
15090 tclCondifSearchPath="$tclCondifSearchPath /usr/lib"
15091 tclCondifSearchPath="$tclCondifSearchPath /usr/local/lib"
15092 for tcldir in $tclCondifSearchPath; do
15093 if test -f "${tcldir}/tclConfig.sh"; then
15094 TclLibBase="${tcldir}"
15095 break
15096 fi
15097 done
15098
15099 if test -z "${TclLibBase}" ; then
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"unknown\"" >&5
15101 $as_echo "\"unknown\"" >&6; }
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl configuration; use of Tcl disabled." >&5
15103 $as_echo "$as_me: WARNING: can't find Tcl configuration; use of Tcl disabled." >&2;}
15104 with_tcl=no
15105 else
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TclLibBase}/" >&5
15107 $as_echo "${TclLibBase}/" >&6; }
15108 fi
15109
15110 if test "X${with_tcl}" != Xno ; then
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl configuration on what Tcl needs to compile" >&5
15112 $as_echo_n "checking Tcl configuration on what Tcl needs to compile... " >&6; }
15113 . ${TclLibBase}/tclConfig.sh
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
15115 $as_echo "ok" >&6; }
15116 fi
15117
15118 if test -d /usr/lib64 ; then
15119 TCL_LIB_SPEC=`echo ${TCL_LIB_SPEC} | sed 's=/usr/lib =/usr/lib64 =g'`
15120 fi
15121
15122 if test "X${with_tcl}" != Xno ; then
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl includes are" >&5
15124 $as_echo_n "checking where Tcl includes are... " >&6; }
15125 for tclinclude in "${TCL_PREFIX}/include/tcl${TCL_VERSION}" \
15126 "${TCL_PREFIX}/include/tcl" \
15127 "${TCL_PREFIX}/include" ; do
15128 if test -r "${tclinclude}/tcl.h" ; then
15129 TCL_CPPFLAGS="-I${tclinclude}"
15130 break
15131 fi
15132 done
15133 if test X"${TCL_CPPFLAGS}" = X ; then
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl includes; use of Tcl disabled." >&5
15135 $as_echo "$as_me: WARNING: can't find Tcl includes; use of Tcl disabled." >&2;}
15136 with_tcl=no
15137 fi
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCL_CPPFLAGS}" >&5
15139 $as_echo "${TCL_CPPFLAGS}" >&6; }
15140 fi
15141
15142 # Finally, pick up the Tcl configuration if we haven't found an
15143 # excuse not to.
15144 if test "X${with_tcl}" != Xno; then
15145 TCL_SEARCH=`echo ${TCL_LD_SEARCH_FLAGS} | sed 's/-Wl,-rpath,/-rpath/'`
15146
15147 if test X"$TCL_LIBS" = X; then
15148 TCL_LIBS=`echo ${TCL_LIB_FILE} | sed 's/lib\([^ \t]*\)\.\(so\|a\)/-l\1/'`
15149 fi
15150
15151 if test X"$TCL_LIB_SPEC" = X; then
15152 TCL_LIB_SPEC='-L/usr/lib'
15153 fi
15154
15155 TCL_LIBS1="${TCL_LIB_SPEC} ${TCL_LIBS}"
15156 TCL_LIBS=`echo ${TCL_LIBS1} | sed 's/-lieee//'`
15157 fi
15158 fi
15159 fi
15160 else
15161 TCL_DEFS=disabled
15162 TCL_LIBS=disabled
15163 TCL_CPPFLAGS=disabled
15164 TCL_PREFIX=disabled
15165 fi
15166
15167
15168
15169
15170
15171
15172 # --- END MLX_LANG_TCL ---
15173
15174
15175
15176
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15178 $as_echo_n "checking for ANSI C header files... " >&6; }
15179 if ${ac_cv_header_stdc+:} false; then :
15180 $as_echo_n "(cached) " >&6
15181 else
15182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15183 /* end confdefs.h. */
15184 #include <stdlib.h>
15185 #include <stdarg.h>
15186 #include <string.h>
15187 #include <float.h>
15188
15189 int
15190 main ()
15191 {
15192
15193 ;
15194 return 0;
15195 }
15196 _ACEOF
15197 if ac_fn_cxx_try_compile "$LINENO"; then :
15198 ac_cv_header_stdc=yes
15199 else
15200 ac_cv_header_stdc=no
15201 fi
15202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15203
15204 if test $ac_cv_header_stdc = yes; then
15205 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15208 #include <string.h>
15209
15210 _ACEOF
15211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15212 $EGREP "memchr" >/dev/null 2>&1; then :
15213
15214 else
15215 ac_cv_header_stdc=no
15216 fi
15217 rm -f conftest*
15218
15219 fi
15220
15221 if test $ac_cv_header_stdc = yes; then
15222 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15225 #include <stdlib.h>
15226
15227 _ACEOF
15228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15229 $EGREP "free" >/dev/null 2>&1; then :
15230
15231 else
15232 ac_cv_header_stdc=no
15233 fi
15234 rm -f conftest*
15235
15236 fi
15237
15238 if test $ac_cv_header_stdc = yes; then
15239 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15240 if test "$cross_compiling" = yes; then :
15241 :
15242 else
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15245 #include <ctype.h>
15246 #include <stdlib.h>
15247 #if ((' ' & 0x0FF) == 0x020)
15248 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15249 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15250 #else
15251 # define ISLOWER(c) \
15252 (('a' <= (c) && (c) <= 'i') \
15253 || ('j' <= (c) && (c) <= 'r') \
15254 || ('s' <= (c) && (c) <= 'z'))
15255 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15256 #endif
15257
15258 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15259 int
15260 main ()
15261 {
15262 int i;
15263 for (i = 0; i < 256; i++)
15264 if (XOR (islower (i), ISLOWER (i))
15265 || toupper (i) != TOUPPER (i))
15266 return 2;
15267 return 0;
15268 }
15269 _ACEOF
15270 if ac_fn_cxx_try_run "$LINENO"; then :
15271
15272 else
15273 ac_cv_header_stdc=no
15274 fi
15275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15276 conftest.$ac_objext conftest.beam conftest.$ac_ext
15277 fi
15278
15279 fi
15280 fi
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15282 $as_echo "$ac_cv_header_stdc" >&6; }
15283 if test $ac_cv_header_stdc = yes; then
15284
15285 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
15286
15287 fi
15288
15289 for ac_header in inttypes.h stdlib.h string.h
15290 do :
15291 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15292 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15293 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15294 cat >>confdefs.h <<_ACEOF
15295 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15296 _ACEOF
15297
15298 fi
15299
15300 done
15301
15302
15303
15304 ac_ext=cpp
15305 ac_cpp='$CXXCPP $CPPFLAGS'
15306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15309
15310 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15311 if test "x$ac_cv_type_size_t" = xyes; then :
15312
15313 else
15314
15315 cat >>confdefs.h <<_ACEOF
15316 @%:@define size_t unsigned int
15317 _ACEOF
15318
15319 fi
15320
15321
15322 for ac_func in strchr strstr strtol strtoull index rindex
15323 do :
15324 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15325 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15326 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15327 cat >>confdefs.h <<_ACEOF
15328 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15329 _ACEOF
15330
15331 fi
15332 done
15333
15334 ac_fn_cxx_check_func "$LINENO" "memset" "ac_cv_func_memset"
15335 if test "x$ac_cv_func_memset" = xyes; then :
15336 $as_echo "@%:@define HAVE_MEMSET 1" >>confdefs.h
15337
15338 else
15339 case " $LIB@&t@OBJS " in
15340 *" memset.$ac_objext "* ) ;;
15341 *) LIB@&t@OBJS="$LIB@&t@OBJS memset.$ac_objext"
15342 ;;
15343 esac
15344
15345 fi
15346
15347
15348
15349
15350
15351 @%:@ Check whether --enable-debug was given.
15352 if test "${enable_debug+set}" = set; then :
15353 enableval=$enable_debug; case "${enableval}" in
15354 yes) debug=true ;;
15355 no) debug=false ;;
15356 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
15357 esac
15358 else
15359 debug=false
15360 fi
15361
15362 if test x$debug = xtrue; then
15363 DEBUG_TRUE=
15364 DEBUG_FALSE='#'
15365 else
15366 DEBUG_TRUE='#'
15367 DEBUG_FALSE=
15368 fi
15369
15370
15371
15372 @%:@ Check whether --with-final-prefix was given.
15373 if test "${with_final_prefix+set}" = set; then :
15374 withval=$with_final_prefix;
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: Using FINAL_PREFIX=$with_final_prefix" >&5
15376 $as_echo "$as_me: Using FINAL_PREFIX=$with_final_prefix" >&6;}
15377
15378 else
15379 final_prefix=""
15380 fi
15381
15382 if test x$with_final_prefix != x; then
15383 USE_FINAL_PREFIX_TRUE=
15384 USE_FINAL_PREFIX_FALSE='#'
15385 else
15386 USE_FINAL_PREFIX_TRUE='#'
15387 USE_FINAL_PREFIX_FALSE=
15388 fi
15389
15390
15391 ac_config_files="$ac_config_files Makefile ibnl/Makefile src/Makefile ibdm/Makefile Clusters/Makefile doc/Makefile scripts/Makefile"
15392
15393 cat >confcache <<\_ACEOF
15394 # This file is a shell script that caches the results of configure
15395 # tests run on this system so they can be shared between configure
15396 # scripts and configure runs, see configure's option --config-cache.
15397 # It is not useful on other systems. If it contains results you don't
15398 # want to keep, you may remove or edit it.
15399 #
15400 # config.status only pays attention to the cache file if you give it
15401 # the --recheck option to rerun configure.
15402 #
15403 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15404 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15405 # following values.
15406
15407 _ACEOF
15408
15409 # The following way of writing the cache mishandles newlines in values,
15410 # but we know of no workaround that is simple, portable, and efficient.
15411 # So, we kill variables containing newlines.
15412 # Ultrix sh set writes to stderr and can't be redirected directly,
15413 # and sets the high bit in the cache file unless we assign to the vars.
15414 (
15415 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15416 eval ac_val=\$$ac_var
15417 case $ac_val in #(
15418 *${as_nl}*)
15419 case $ac_var in #(
15420 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15421 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15422 esac
15423 case $ac_var in #(
15424 _ | IFS | as_nl) ;; #(
15425 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15426 *) { eval $ac_var=; unset $ac_var;} ;;
15427 esac ;;
15428 esac
15429 done
15430
15431 (set) 2>&1 |
15432 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15433 *${as_nl}ac_space=\ *)
15434 # `set' does not quote correctly, so add quotes: double-quote
15435 # substitution turns \\\\ into \\, and sed turns \\ into \.
15436 sed -n \
15437 "s/'/'\\\\''/g;
15438 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15439 ;; #(
15440 *)
15441 # `set' quotes correctly as required by POSIX, so do not add quotes.
15442 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15443 ;;
15444 esac |
15445 sort
15446 ) |
15447 sed '
15448 /^ac_cv_env_/b end
15449 t clear
15450 :clear
15451 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15452 t end
15453 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15454 :end' >>confcache
15455 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15456 if test -w "$cache_file"; then
15457 if test "x$cache_file" != "x/dev/null"; then
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15459 $as_echo "$as_me: updating cache $cache_file" >&6;}
15460 if test ! -f "$cache_file" || test -h "$cache_file"; then
15461 cat confcache >"$cache_file"
15462 else
15463 case $cache_file in #(
15464 */* | ?:*)
15465 mv -f confcache "$cache_file"$$ &&
15466 mv -f "$cache_file"$$ "$cache_file" ;; #(
15467 *)
15468 mv -f confcache "$cache_file" ;;
15469 esac
15470 fi
15471 fi
15472 else
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15474 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15475 fi
15476 fi
15477 rm -f confcache
15478
15479 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15480 # Let make expand exec_prefix.
15481 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15482
15483 DEFS=-DHAVE_CONFIG_H
15484
15485 ac_libobjs=
15486 ac_ltlibobjs=
15487 U=
15488 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15489 # 1. Remove the extension, and $U if already installed.
15490 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15491 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15492 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15493 # will be set to the directory where LIBOBJS objects are built.
15494 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15495 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15496 done
15497 LIB@&t@OBJS=$ac_libobjs
15498
15499 LTLIBOBJS=$ac_ltlibobjs
15500
15501
15502 if test -n "$EXEEXT"; then
15503 am__EXEEXT_TRUE=
15504 am__EXEEXT_FALSE='#'
15505 else
15506 am__EXEEXT_TRUE='#'
15507 am__EXEEXT_FALSE=
15508 fi
15509
15510 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15511 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15513 fi
15514 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15515 as_fn_error $? "conditional \"AMDEP\" was never defined.
15516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15517 fi
15518 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15519 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15521 fi
15522 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15523 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15525 fi
15526 if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15527 as_fn_error $? "conditional \"HAS_SWIG\" was never defined.
15528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15529 fi
15530 if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15531 as_fn_error $? "conditional \"HAS_SWIG\" was never defined.
15532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15533 fi
15534 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15535 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15537 fi
15538 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
15539 as_fn_error $? "conditional \"DEBUG\" was never defined.
15540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15541 fi
15542 if test -z "${USE_FINAL_PREFIX_TRUE}" && test -z "${USE_FINAL_PREFIX_FALSE}"; then
15543 as_fn_error $? "conditional \"USE_FINAL_PREFIX\" was never defined.
15544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15545 fi
15546
15547 : "${CONFIG_STATUS=./config.status}"
15548 ac_write_fail=0
15549 ac_clean_files_save=$ac_clean_files
15550 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15552 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15553 as_write_fail=0
15554 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15555 #! $SHELL
15556 # Generated by $as_me.
15557 # Run this file to recreate the current configuration.
15558 # Compiler output produced by configure, useful for debugging
15559 # configure, is in config.log if it exists.
15560
15561 debug=false
15562 ac_cs_recheck=false
15563 ac_cs_silent=false
15564
15565 SHELL=\${CONFIG_SHELL-$SHELL}
15566 export SHELL
15567 _ASEOF
15568 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15569 ## -------------------- ##
15570 ## M4sh Initialization. ##
15571 ## -------------------- ##
15572
15573 # Be more Bourne compatible
15574 DUALCASE=1; export DUALCASE # for MKS sh
15575 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15576 emulate sh
15577 NULLCMD=:
15578 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15579 # is contrary to our usage. Disable this feature.
15580 alias -g '${1+"$@"}'='"$@"'
15581 setopt NO_GLOB_SUBST
15582 else
15583 case `(set -o) 2>/dev/null` in @%:@(
15584 *posix*) :
15585 set -o posix ;; @%:@(
15586 *) :
15587 ;;
15588 esac
15589 fi
15590
15591
15592 as_nl='
15593 '
15594 export as_nl
15595 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15596 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15597 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15598 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15599 # Prefer a ksh shell builtin over an external printf program on Solaris,
15600 # but without wasting forks for bash or zsh.
15601 if test -z "$BASH_VERSION$ZSH_VERSION" \
15602 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15603 as_echo='print -r --'
15604 as_echo_n='print -rn --'
15605 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15606 as_echo='printf %s\n'
15607 as_echo_n='printf %s'
15608 else
15609 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15610 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15611 as_echo_n='/usr/ucb/echo -n'
15612 else
15613 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15614 as_echo_n_body='eval
15615 arg=$1;
15616 case $arg in @%:@(
15617 *"$as_nl"*)
15618 expr "X$arg" : "X\\(.*\\)$as_nl";
15619 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15620 esac;
15621 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15622 '
15623 export as_echo_n_body
15624 as_echo_n='sh -c $as_echo_n_body as_echo'
15625 fi
15626 export as_echo_body
15627 as_echo='sh -c $as_echo_body as_echo'
15628 fi
15629
15630 # The user is always right.
15631 if test "${PATH_SEPARATOR+set}" != set; then
15632 PATH_SEPARATOR=:
15633 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15634 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15635 PATH_SEPARATOR=';'
15636 }
15637 fi
15638
15639
15640 # IFS
15641 # We need space, tab and new line, in precisely that order. Quoting is
15642 # there to prevent editors from complaining about space-tab.
15643 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15644 # splitting by setting IFS to empty value.)
15645 IFS=" "" $as_nl"
15646
15647 # Find who we are. Look in the path if we contain no directory separator.
15648 as_myself=
15649 case $0 in @%:@((
15650 *[\\/]* ) as_myself=$0 ;;
15651 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15652 for as_dir in $PATH
15653 do
15654 IFS=$as_save_IFS
15655 test -z "$as_dir" && as_dir=.
15656 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15657 done
15658 IFS=$as_save_IFS
15659
15660 ;;
15661 esac
15662 # We did not find ourselves, most probably we were run as `sh COMMAND'
15663 # in which case we are not to be found in the path.
15664 if test "x$as_myself" = x; then
15665 as_myself=$0
15666 fi
15667 if test ! -f "$as_myself"; then
15668 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15669 exit 1
15670 fi
15671
15672 # Unset variables that we do not need and which cause bugs (e.g. in
15673 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15674 # suppresses any "Segmentation fault" message there. '((' could
15675 # trigger a bug in pdksh 5.2.14.
15676 for as_var in BASH_ENV ENV MAIL MAILPATH
15677 do eval test x\${$as_var+set} = xset \
15678 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15679 done
15680 PS1='$ '
15681 PS2='> '
15682 PS4='+ '
15683
15684 # NLS nuisances.
15685 LC_ALL=C
15686 export LC_ALL
15687 LANGUAGE=C
15688 export LANGUAGE
15689
15690 # CDPATH.
15691 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15692
15693
15694 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15695 @%:@ ----------------------------------------
15696 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15697 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15698 @%:@ script with STATUS, using 1 if that was 0.
15699 as_fn_error ()
15700 {
15701 as_status=$1; test $as_status -eq 0 && as_status=1
15702 if test "$4"; then
15703 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15704 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15705 fi
15706 $as_echo "$as_me: error: $2" >&2
15707 as_fn_exit $as_status
15708 } @%:@ as_fn_error
15709
15710
15711 @%:@ as_fn_set_status STATUS
15712 @%:@ -----------------------
15713 @%:@ Set @S|@? to STATUS, without forking.
15714 as_fn_set_status ()
15715 {
15716 return $1
15717 } @%:@ as_fn_set_status
15718
15719 @%:@ as_fn_exit STATUS
15720 @%:@ -----------------
15721 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15722 as_fn_exit ()
15723 {
15724 set +e
15725 as_fn_set_status $1
15726 exit $1
15727 } @%:@ as_fn_exit
15728
15729 @%:@ as_fn_unset VAR
15730 @%:@ ---------------
15731 @%:@ Portably unset VAR.
15732 as_fn_unset ()
15733 {
15734 { eval $1=; unset $1;}
15735 }
15736 as_unset=as_fn_unset
15737 @%:@ as_fn_append VAR VALUE
15738 @%:@ ----------------------
15739 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15740 @%:@ advantage of any shell optimizations that allow amortized linear growth over
15741 @%:@ repeated appends, instead of the typical quadratic growth present in naive
15742 @%:@ implementations.
15743 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15744 eval 'as_fn_append ()
15745 {
15746 eval $1+=\$2
15747 }'
15748 else
15749 as_fn_append ()
15750 {
15751 eval $1=\$$1\$2
15752 }
15753 fi # as_fn_append
15754
15755 @%:@ as_fn_arith ARG...
15756 @%:@ ------------------
15757 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15758 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15759 @%:@ must be portable across @S|@(()) and expr.
15760 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15761 eval 'as_fn_arith ()
15762 {
15763 as_val=$(( $* ))
15764 }'
15765 else
15766 as_fn_arith ()
15767 {
15768 as_val=`expr "$@" || test $? -eq 1`
15769 }
15770 fi # as_fn_arith
15771
15772
15773 if expr a : '\(a\)' >/dev/null 2>&1 &&
15774 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15775 as_expr=expr
15776 else
15777 as_expr=false
15778 fi
15779
15780 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15781 as_basename=basename
15782 else
15783 as_basename=false
15784 fi
15785
15786 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15787 as_dirname=dirname
15788 else
15789 as_dirname=false
15790 fi
15791
15792 as_me=`$as_basename -- "$0" ||
15793 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15794 X"$0" : 'X\(//\)$' \| \
15795 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15796 $as_echo X/"$0" |
15797 sed '/^.*\/\([^/][^/]*\)\/*$/{
15798 s//\1/
15799 q
15800 }
15801 /^X\/\(\/\/\)$/{
15802 s//\1/
15803 q
15804 }
15805 /^X\/\(\/\).*/{
15806 s//\1/
15807 q
15808 }
15809 s/.*/./; q'`
15810
15811 # Avoid depending upon Character Ranges.
15812 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15813 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15814 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15815 as_cr_digits='0123456789'
15816 as_cr_alnum=$as_cr_Letters$as_cr_digits
15817
15818 ECHO_C= ECHO_N= ECHO_T=
15819 case `echo -n x` in @%:@(((((
15820 -n*)
15821 case `echo 'xy\c'` in
15822 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15823 xy) ECHO_C='\c';;
15824 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15825 ECHO_T=' ';;
15826 esac;;
15827 *)
15828 ECHO_N='-n';;
15829 esac
15830
15831 rm -f conf$$ conf$$.exe conf$$.file
15832 if test -d conf$$.dir; then
15833 rm -f conf$$.dir/conf$$.file
15834 else
15835 rm -f conf$$.dir
15836 mkdir conf$$.dir 2>/dev/null
15837 fi
15838 if (echo >conf$$.file) 2>/dev/null; then
15839 if ln -s conf$$.file conf$$ 2>/dev/null; then
15840 as_ln_s='ln -s'
15841 # ... but there are two gotchas:
15842 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15843 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15844 # In both cases, we have to default to `cp -pR'.
15845 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15846 as_ln_s='cp -pR'
15847 elif ln conf$$.file conf$$ 2>/dev/null; then
15848 as_ln_s=ln
15849 else
15850 as_ln_s='cp -pR'
15851 fi
15852 else
15853 as_ln_s='cp -pR'
15854 fi
15855 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15856 rmdir conf$$.dir 2>/dev/null
15857
15858
15859 @%:@ as_fn_mkdir_p
15860 @%:@ -------------
15861 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15862 as_fn_mkdir_p ()
15863 {
15864
15865 case $as_dir in #(
15866 -*) as_dir=./$as_dir;;
15867 esac
15868 test -d "$as_dir" || eval $as_mkdir_p || {
15869 as_dirs=
15870 while :; do
15871 case $as_dir in #(
15872 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15873 *) as_qdir=$as_dir;;
15874 esac
15875 as_dirs="'$as_qdir' $as_dirs"
15876 as_dir=`$as_dirname -- "$as_dir" ||
15877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15878 X"$as_dir" : 'X\(//\)[^/]' \| \
15879 X"$as_dir" : 'X\(//\)$' \| \
15880 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15881 $as_echo X"$as_dir" |
15882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15883 s//\1/
15884 q
15885 }
15886 /^X\(\/\/\)[^/].*/{
15887 s//\1/
15888 q
15889 }
15890 /^X\(\/\/\)$/{
15891 s//\1/
15892 q
15893 }
15894 /^X\(\/\).*/{
15895 s//\1/
15896 q
15897 }
15898 s/.*/./; q'`
15899 test -d "$as_dir" && break
15900 done
15901 test -z "$as_dirs" || eval "mkdir $as_dirs"
15902 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15903
15904
15905 } @%:@ as_fn_mkdir_p
15906 if mkdir -p . 2>/dev/null; then
15907 as_mkdir_p='mkdir -p "$as_dir"'
15908 else
15909 test -d ./-p && rmdir ./-p
15910 as_mkdir_p=false
15911 fi
15912
15913
15914 @%:@ as_fn_executable_p FILE
15915 @%:@ -----------------------
15916 @%:@ Test if FILE is an executable regular file.
15917 as_fn_executable_p ()
15918 {
15919 test -f "$1" && test -x "$1"
15920 } @%:@ as_fn_executable_p
15921 as_test_x='test -x'
15922 as_executable_p=as_fn_executable_p
15923
15924 # Sed expression to map a string onto a valid CPP name.
15925 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15926
15927 # Sed expression to map a string onto a valid variable name.
15928 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15929
15930
15931 exec 6>&1
15932 ## ----------------------------------- ##
15933 ## Main body of $CONFIG_STATUS script. ##
15934 ## ----------------------------------- ##
15935 _ASEOF
15936 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15937
15938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15939 # Save the log message, to keep $0 and so on meaningful, and to
15940 # report actual input values of CONFIG_FILES etc. instead of their
15941 # values after options handling.
15942 ac_log="
15943 This file was extended by ibdm $as_me 1.5.7, which was
15944 generated by GNU Autoconf 2.69. Invocation command line was
15945
15946 CONFIG_FILES = $CONFIG_FILES
15947 CONFIG_HEADERS = $CONFIG_HEADERS
15948 CONFIG_LINKS = $CONFIG_LINKS
15949 CONFIG_COMMANDS = $CONFIG_COMMANDS
15950 $ $0 $@
15951
15952 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15953 "
15954
15955 _ACEOF
15956
15957 case $ac_config_files in *"
15958 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15959 esac
15960
15961 case $ac_config_headers in *"
15962 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15963 esac
15964
15965
15966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15967 # Files that config.status was made for.
15968 config_files="$ac_config_files"
15969 config_headers="$ac_config_headers"
15970 config_commands="$ac_config_commands"
15971
15972 _ACEOF
15973
15974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15975 ac_cs_usage="\
15976 \`$as_me' instantiates files and other configuration actions
15977 from templates according to the current configuration. Unless the files
15978 and actions are specified as TAGs, all are instantiated by default.
15979
15980 Usage: $0 [OPTION]... [TAG]...
15981
15982 -h, --help print this help, then exit
15983 -V, --version print version number and configuration settings, then exit
15984 --config print configuration, then exit
15985 -q, --quiet, --silent
15986 do not print progress messages
15987 -d, --debug don't remove temporary files
15988 --recheck update $as_me by reconfiguring in the same conditions
15989 --file=FILE[:TEMPLATE]
15990 instantiate the configuration file FILE
15991 --header=FILE[:TEMPLATE]
15992 instantiate the configuration header FILE
15993
15994 Configuration files:
15995 $config_files
15996
15997 Configuration headers:
15998 $config_headers
15999
16000 Configuration commands:
16001 $config_commands
16002
16003 Report bugs to the package provider."
16004
16005 _ACEOF
16006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16007 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16008 ac_cs_version="\\
16009 ibdm config.status 1.5.7
16010 configured by $0, generated by GNU Autoconf 2.69,
16011 with options \\"\$ac_cs_config\\"
16012
16013 Copyright (C) 2012 Free Software Foundation, Inc.
16014 This config.status script is free software; the Free Software Foundation
16015 gives unlimited permission to copy, distribute and modify it."
16016
16017 ac_pwd='$ac_pwd'
16018 srcdir='$srcdir'
16019 INSTALL='$INSTALL'
16020 MKDIR_P='$MKDIR_P'
16021 AWK='$AWK'
16022 test -n "\$AWK" || AWK=awk
16023 _ACEOF
16024
16025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16026 # The default lists apply if the user does not specify any file.
16027 ac_need_defaults=:
16028 while test $# != 0
16029 do
16030 case $1 in
16031 --*=?*)
16032 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16033 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16034 ac_shift=:
16035 ;;
16036 --*=)
16037 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16038 ac_optarg=
16039 ac_shift=:
16040 ;;
16041 *)
16042 ac_option=$1
16043 ac_optarg=$2
16044 ac_shift=shift
16045 ;;
16046 esac
16047
16048 case $ac_option in
16049 # Handling of the options.
16050 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16051 ac_cs_recheck=: ;;
16052 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16053 $as_echo "$ac_cs_version"; exit ;;
16054 --config | --confi | --conf | --con | --co | --c )
16055 $as_echo "$ac_cs_config"; exit ;;
16056 --debug | --debu | --deb | --de | --d | -d )
16057 debug=: ;;
16058 --file | --fil | --fi | --f )
16059 $ac_shift
16060 case $ac_optarg in
16061 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16062 '') as_fn_error $? "missing file argument" ;;
16063 esac
16064 as_fn_append CONFIG_FILES " '$ac_optarg'"
16065 ac_need_defaults=false;;
16066 --header | --heade | --head | --hea )
16067 $ac_shift
16068 case $ac_optarg in
16069 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16070 esac
16071 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16072 ac_need_defaults=false;;
16073 --he | --h)
16074 # Conflict between --help and --header
16075 as_fn_error $? "ambiguous option: \`$1'
16076 Try \`$0 --help' for more information.";;
16077 --help | --hel | -h )
16078 $as_echo "$ac_cs_usage"; exit ;;
16079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16080 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16081 ac_cs_silent=: ;;
16082
16083 # This is an error.
16084 -*) as_fn_error $? "unrecognized option: \`$1'
16085 Try \`$0 --help' for more information." ;;
16086
16087 *) as_fn_append ac_config_targets " $1"
16088 ac_need_defaults=false ;;
16089
16090 esac
16091 shift
16092 done
16093
16094 ac_configure_extra_args=
16095
16096 if $ac_cs_silent; then
16097 exec 6>/dev/null
16098 ac_configure_extra_args="$ac_configure_extra_args --silent"
16099 fi
16100
16101 _ACEOF
16102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16103 if \$ac_cs_recheck; then
16104 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16105 shift
16106 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16107 CONFIG_SHELL='$SHELL'
16108 export CONFIG_SHELL
16109 exec "\$@"
16110 fi
16111
16112 _ACEOF
16113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16114 exec 5>>config.log
16115 {
16116 echo
16117 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16118 @%:@@%:@ Running $as_me. @%:@@%:@
16119 _ASBOX
16120 $as_echo "$ac_log"
16121 } >&5
16122
16123 _ACEOF
16124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16125 #
16126 # INIT-COMMANDS
16127 #
16128 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16129
16130
16131 # The HP-UX ksh and POSIX shell print the target directory to stdout
16132 # if CDPATH is set.
16133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16134
16135 sed_quote_subst='$sed_quote_subst'
16136 double_quote_subst='$double_quote_subst'
16137 delay_variable_subst='$delay_variable_subst'
16138 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16139 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16140 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16141 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16142 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16143 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16144 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16145 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16146 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16147 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16148 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16149 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16150 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16151 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16152 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16153 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16154 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16155 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16156 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16157 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16158 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16159 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16160 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16161 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16162 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16163 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16164 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16165 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16166 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16167 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16168 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16169 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16170 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16171 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16172 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16173 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16174 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16175 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16176 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16177 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16178 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16179 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16180 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16181 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16182 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16183 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16184 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16185 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16186 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16187 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16188 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16189 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16190 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16191 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16192 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16193 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16194 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16195 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16196 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16197 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16198 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16199 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16200 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16201 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16202 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16203 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16204 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16205 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16206 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16207 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16208 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16209 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16210 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16211 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16212 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16213 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16214 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16215 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16216 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16217 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16218 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16219 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16220 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16221 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16222 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16223 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16224 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16225 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16226 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16227 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16228 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16229 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16230 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16231 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16232 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16233 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16234 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16235 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16236 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16237 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16238 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16239 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16240 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16241 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16242 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16243 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16244 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16245 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16246 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16247 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16248 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16249 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16250 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16251 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16252 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16253 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16254 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16255 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16256 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16257 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16258 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16259 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16260 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16261 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16262 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16263 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16264 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16265 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16266 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16267 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16268 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16269 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16270 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16271 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16272 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16273 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16274 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16275 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16276 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16277 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16278 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16279 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16280 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16281 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16282 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16283 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16284 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16285 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16286 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16287 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16288 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16289 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16290 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16291 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16292 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16293 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16294 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16295 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16296 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16297 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16298 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16299 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16300 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16301 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16302 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16303 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16304 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16305 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16306 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16307 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16308 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16309
16310 LTCC='$LTCC'
16311 LTCFLAGS='$LTCFLAGS'
16312 compiler='$compiler_DEFAULT'
16313
16314 # Quote evaled strings.
16315 for var in SED \
16316 GREP \
16317 EGREP \
16318 FGREP \
16319 LD \
16320 NM \
16321 LN_S \
16322 lt_SP2NL \
16323 lt_NL2SP \
16324 reload_flag \
16325 OBJDUMP \
16326 deplibs_check_method \
16327 file_magic_cmd \
16328 AR \
16329 AR_FLAGS \
16330 STRIP \
16331 RANLIB \
16332 CC \
16333 CFLAGS \
16334 compiler \
16335 lt_cv_sys_global_symbol_pipe \
16336 lt_cv_sys_global_symbol_to_cdecl \
16337 lt_cv_sys_global_symbol_to_c_name_address \
16338 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16339 SHELL \
16340 ECHO \
16341 lt_prog_compiler_no_builtin_flag \
16342 lt_prog_compiler_wl \
16343 lt_prog_compiler_pic \
16344 lt_prog_compiler_static \
16345 lt_cv_prog_compiler_c_o \
16346 need_locks \
16347 DSYMUTIL \
16348 NMEDIT \
16349 LIPO \
16350 OTOOL \
16351 OTOOL64 \
16352 shrext_cmds \
16353 export_dynamic_flag_spec \
16354 whole_archive_flag_spec \
16355 compiler_needs_object \
16356 with_gnu_ld \
16357 allow_undefined_flag \
16358 no_undefined_flag \
16359 hardcode_libdir_flag_spec \
16360 hardcode_libdir_flag_spec_ld \
16361 hardcode_libdir_separator \
16362 fix_srcfile_path \
16363 exclude_expsyms \
16364 include_expsyms \
16365 file_list_spec \
16366 variables_saved_for_relink \
16367 libname_spec \
16368 library_names_spec \
16369 soname_spec \
16370 finish_eval \
16371 old_striplib \
16372 striplib \
16373 compiler_lib_search_dirs \
16374 predep_objects \
16375 postdep_objects \
16376 predeps \
16377 postdeps \
16378 compiler_lib_search_path \
16379 LD_CXX \
16380 compiler_CXX \
16381 lt_prog_compiler_no_builtin_flag_CXX \
16382 lt_prog_compiler_wl_CXX \
16383 lt_prog_compiler_pic_CXX \
16384 lt_prog_compiler_static_CXX \
16385 lt_cv_prog_compiler_c_o_CXX \
16386 export_dynamic_flag_spec_CXX \
16387 whole_archive_flag_spec_CXX \
16388 compiler_needs_object_CXX \
16389 with_gnu_ld_CXX \
16390 allow_undefined_flag_CXX \
16391 no_undefined_flag_CXX \
16392 hardcode_libdir_flag_spec_CXX \
16393 hardcode_libdir_flag_spec_ld_CXX \
16394 hardcode_libdir_separator_CXX \
16395 fix_srcfile_path_CXX \
16396 exclude_expsyms_CXX \
16397 include_expsyms_CXX \
16398 file_list_spec_CXX \
16399 compiler_lib_search_dirs_CXX \
16400 predep_objects_CXX \
16401 postdep_objects_CXX \
16402 predeps_CXX \
16403 postdeps_CXX \
16404 compiler_lib_search_path_CXX; do
16405 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16406 *[\\\\\\\`\\"\\\$]*)
16407 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16408 ;;
16409 *)
16410 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16411 ;;
16412 esac
16413 done
16414
16415 # Double-quote double-evaled strings.
16416 for var in reload_cmds \
16417 old_postinstall_cmds \
16418 old_postuninstall_cmds \
16419 old_archive_cmds \
16420 extract_expsyms_cmds \
16421 old_archive_from_new_cmds \
16422 old_archive_from_expsyms_cmds \
16423 archive_cmds \
16424 archive_expsym_cmds \
16425 module_cmds \
16426 module_expsym_cmds \
16427 export_symbols_cmds \
16428 prelink_cmds \
16429 postinstall_cmds \
16430 postuninstall_cmds \
16431 finish_cmds \
16432 sys_lib_search_path_spec \
16433 sys_lib_dlsearch_path_spec \
16434 old_archive_cmds_CXX \
16435 old_archive_from_new_cmds_CXX \
16436 old_archive_from_expsyms_cmds_CXX \
16437 archive_cmds_CXX \
16438 archive_expsym_cmds_CXX \
16439 module_cmds_CXX \
16440 module_expsym_cmds_CXX \
16441 export_symbols_cmds_CXX \
16442 prelink_cmds_CXX; do
16443 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16444 *[\\\\\\\`\\"\\\$]*)
16445 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16446 ;;
16447 *)
16448 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16449 ;;
16450 esac
16451 done
16452
16453 # Fix-up fallback echo if it was mangled by the above quoting rules.
16454 case \$lt_ECHO in
16455 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16456 ;;
16457 esac
16458
16459 ac_aux_dir='$ac_aux_dir'
16460 xsi_shell='$xsi_shell'
16461 lt_shell_append='$lt_shell_append'
16462
16463 # See if we are running on zsh, and set the options which allow our
16464 # commands through without removal of \ escapes INIT.
16465 if test -n "\${ZSH_VERSION+set}" ; then
16466 setopt NO_GLOB_SUBST
16467 fi
16468
16469
16470 PACKAGE='$PACKAGE'
16471 VERSION='$VERSION'
16472 TIMESTAMP='$TIMESTAMP'
16473 RM='$RM'
16474 ofile='$ofile'
16475
16476
16477
16478
16479
16480
16481 _ACEOF
16482
16483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16484
16485 # Handling of arguments.
16486 for ac_config_target in $ac_config_targets
16487 do
16488 case $ac_config_target in
16489 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16490 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16491 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16492 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16493 "ibnl/Makefile") CONFIG_FILES="$CONFIG_FILES ibnl/Makefile" ;;
16494 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16495 "ibdm/Makefile") CONFIG_FILES="$CONFIG_FILES ibdm/Makefile" ;;
16496 "Clusters/Makefile") CONFIG_FILES="$CONFIG_FILES Clusters/Makefile" ;;
16497 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16498 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
16499
16500 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16501 esac
16502 done
16503
16504
16505 # If the user did not use the arguments to specify the items to instantiate,
16506 # then the envvar interface is used. Set only those that are not.
16507 # We use the long form for the default assignment because of an extremely
16508 # bizarre bug on SunOS 4.1.3.
16509 if $ac_need_defaults; then
16510 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16511 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16512 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16513 fi
16514
16515 # Have a temporary directory for convenience. Make it in the build tree
16516 # simply because there is no reason against having it here, and in addition,
16517 # creating and moving files from /tmp can sometimes cause problems.
16518 # Hook for its removal unless debugging.
16519 # Note that there is a small window in which the directory will not be cleaned:
16520 # after its creation but before its name has been assigned to `$tmp'.
16521 $debug ||
16522 {
16523 tmp= ac_tmp=
16524 trap 'exit_status=$?
16525 : "${ac_tmp:=$tmp}"
16526 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16527 ' 0
16528 trap 'as_fn_exit 1' 1 2 13 15
16529 }
16530 # Create a (secure) tmp directory for tmp files.
16531
16532 {
16533 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16534 test -d "$tmp"
16535 } ||
16536 {
16537 tmp=./conf$$-$RANDOM
16538 (umask 077 && mkdir "$tmp")
16539 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16540 ac_tmp=$tmp
16541
16542 # Set up the scripts for CONFIG_FILES section.
16543 # No need to generate them if there are no CONFIG_FILES.
16544 # This happens for instance with `./config.status config.h'.
16545 if test -n "$CONFIG_FILES"; then
16546
16547
16548 ac_cr=`echo X | tr X '\015'`
16549 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16550 # But we know of no other shell where ac_cr would be empty at this
16551 # point, so we can use a bashism as a fallback.
16552 if test "x$ac_cr" = x; then
16553 eval ac_cr=\$\'\\r\'
16554 fi
16555 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16556 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16557 ac_cs_awk_cr='\\r'
16558 else
16559 ac_cs_awk_cr=$ac_cr
16560 fi
16561
16562 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16563 _ACEOF
16564
16565
16566 {
16567 echo "cat >conf$$subs.awk <<_ACEOF" &&
16568 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16569 echo "_ACEOF"
16570 } >conf$$subs.sh ||
16571 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16572 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16573 ac_delim='%!_!# '
16574 for ac_last_try in false false false false false :; do
16575 . ./conf$$subs.sh ||
16576 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16577
16578 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16579 if test $ac_delim_n = $ac_delim_num; then
16580 break
16581 elif $ac_last_try; then
16582 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16583 else
16584 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16585 fi
16586 done
16587 rm -f conf$$subs.sh
16588
16589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16590 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16591 _ACEOF
16592 sed -n '
16593 h
16594 s/^/S["/; s/!.*/"]=/
16595 p
16596 g
16597 s/^[^!]*!//
16598 :repl
16599 t repl
16600 s/'"$ac_delim"'$//
16601 t delim
16602 :nl
16603 h
16604 s/\(.\{148\}\)..*/\1/
16605 t more1
16606 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16607 p
16608 n
16609 b repl
16610 :more1
16611 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16612 p
16613 g
16614 s/.\{148\}//
16615 t nl
16616 :delim
16617 h
16618 s/\(.\{148\}\)..*/\1/
16619 t more2
16620 s/["\\]/\\&/g; s/^/"/; s/$/"/
16621 p
16622 b
16623 :more2
16624 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16625 p
16626 g
16627 s/.\{148\}//
16628 t delim
16629 ' <conf$$subs.awk | sed '
16630 /^[^""]/{
16631 N
16632 s/\n//
16633 }
16634 ' >>$CONFIG_STATUS || ac_write_fail=1
16635 rm -f conf$$subs.awk
16636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16637 _ACAWK
16638 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16639 for (key in S) S_is_set[key] = 1
16640 FS = ""
16641
16642 }
16643 {
16644 line = $ 0
16645 nfields = split(line, field, "@")
16646 substed = 0
16647 len = length(field[1])
16648 for (i = 2; i < nfields; i++) {
16649 key = field[i]
16650 keylen = length(key)
16651 if (S_is_set[key]) {
16652 value = S[key]
16653 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16654 len += length(value) + length(field[++i])
16655 substed = 1
16656 } else
16657 len += 1 + keylen
16658 }
16659
16660 print line
16661 }
16662
16663 _ACAWK
16664 _ACEOF
16665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16666 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16667 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16668 else
16669 cat
16670 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16671 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16672 _ACEOF
16673
16674 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16675 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16676 # trailing colons and then remove the whole line if VPATH becomes empty
16677 # (actually we leave an empty line to preserve line numbers).
16678 if test "x$srcdir" = x.; then
16679 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16680 h
16681 s///
16682 s/^/:/
16683 s/[ ]*$/:/
16684 s/:\$(srcdir):/:/g
16685 s/:\${srcdir}:/:/g
16686 s/:@srcdir@:/:/g
16687 s/^:*//
16688 s/:*$//
16689 x
16690 s/\(=[ ]*\).*/\1/
16691 G
16692 s/\n//
16693 s/^[^=]*=[ ]*$//
16694 }'
16695 fi
16696
16697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16698 fi # test -n "$CONFIG_FILES"
16699
16700 # Set up the scripts for CONFIG_HEADERS section.
16701 # No need to generate them if there are no CONFIG_HEADERS.
16702 # This happens for instance with `./config.status Makefile'.
16703 if test -n "$CONFIG_HEADERS"; then
16704 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16705 BEGIN {
16706 _ACEOF
16707
16708 # Transform confdefs.h into an awk script `defines.awk', embedded as
16709 # here-document in config.status, that substitutes the proper values into
16710 # config.h.in to produce config.h.
16711
16712 # Create a delimiter string that does not exist in confdefs.h, to ease
16713 # handling of long lines.
16714 ac_delim='%!_!# '
16715 for ac_last_try in false false :; do
16716 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16717 if test -z "$ac_tt"; then
16718 break
16719 elif $ac_last_try; then
16720 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16721 else
16722 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16723 fi
16724 done
16725
16726 # For the awk script, D is an array of macro values keyed by name,
16727 # likewise P contains macro parameters if any. Preserve backslash
16728 # newline sequences.
16729
16730 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16731 sed -n '
16732 s/.\{148\}/&'"$ac_delim"'/g
16733 t rset
16734 :rset
16735 s/^[ ]*#[ ]*define[ ][ ]*/ /
16736 t def
16737 d
16738 :def
16739 s/\\$//
16740 t bsnl
16741 s/["\\]/\\&/g
16742 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16743 D["\1"]=" \3"/p
16744 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16745 d
16746 :bsnl
16747 s/["\\]/\\&/g
16748 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16749 D["\1"]=" \3\\\\\\n"\\/p
16750 t cont
16751 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16752 t cont
16753 d
16754 :cont
16755 n
16756 s/.\{148\}/&'"$ac_delim"'/g
16757 t clear
16758 :clear
16759 s/\\$//
16760 t bsnlc
16761 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16762 d
16763 :bsnlc
16764 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16765 b cont
16766 ' <confdefs.h | sed '
16767 s/'"$ac_delim"'/"\\\
16768 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16769
16770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16771 for (key in D) D_is_set[key] = 1
16772 FS = ""
16773 }
16774 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16775 line = \$ 0
16776 split(line, arg, " ")
16777 if (arg[1] == "#") {
16778 defundef = arg[2]
16779 mac1 = arg[3]
16780 } else {
16781 defundef = substr(arg[1], 2)
16782 mac1 = arg[2]
16783 }
16784 split(mac1, mac2, "(") #)
16785 macro = mac2[1]
16786 prefix = substr(line, 1, index(line, defundef) - 1)
16787 if (D_is_set[macro]) {
16788 # Preserve the white space surrounding the "#".
16789 print prefix "define", macro P[macro] D[macro]
16790 next
16791 } else {
16792 # Replace #undef with comments. This is necessary, for example,
16793 # in the case of _POSIX_SOURCE, which is predefined and required
16794 # on some systems where configure will not decide to define it.
16795 if (defundef == "undef") {
16796 print "/*", prefix defundef, macro, "*/"
16797 next
16798 }
16799 }
16800 }
16801 { print }
16802 _ACAWK
16803 _ACEOF
16804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16805 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16806 fi # test -n "$CONFIG_HEADERS"
16807
16808
16809 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16810 shift
16811 for ac_tag
16812 do
16813 case $ac_tag in
16814 :[FHLC]) ac_mode=$ac_tag; continue;;
16815 esac
16816 case $ac_mode$ac_tag in
16817 :[FHL]*:*);;
16818 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16819 :[FH]-) ac_tag=-:-;;
16820 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16821 esac
16822 ac_save_IFS=$IFS
16823 IFS=:
16824 set x $ac_tag
16825 IFS=$ac_save_IFS
16826 shift
16827 ac_file=$1
16828 shift
16829
16830 case $ac_mode in
16831 :L) ac_source=$1;;
16832 :[FH])
16833 ac_file_inputs=
16834 for ac_f
16835 do
16836 case $ac_f in
16837 -) ac_f="$ac_tmp/stdin";;
16838 *) # Look for the file first in the build tree, then in the source tree
16839 # (if the path is not absolute). The absolute path cannot be DOS-style,
16840 # because $ac_f cannot contain `:'.
16841 test -f "$ac_f" ||
16842 case $ac_f in
16843 [\\/$]*) false;;
16844 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16845 esac ||
16846 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16847 esac
16848 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16849 as_fn_append ac_file_inputs " '$ac_f'"
16850 done
16851
16852 # Let's still pretend it is `configure' which instantiates (i.e., don't
16853 # use $as_me), people would be surprised to read:
16854 # /* config.h. Generated by config.status. */
16855 configure_input='Generated from '`
16856 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16857 `' by configure.'
16858 if test x"$ac_file" != x-; then
16859 configure_input="$ac_file. $configure_input"
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16861 $as_echo "$as_me: creating $ac_file" >&6;}
16862 fi
16863 # Neutralize special characters interpreted by sed in replacement strings.
16864 case $configure_input in #(
16865 *\&* | *\|* | *\\* )
16866 ac_sed_conf_input=`$as_echo "$configure_input" |
16867 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16868 *) ac_sed_conf_input=$configure_input;;
16869 esac
16870
16871 case $ac_tag in
16872 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16873 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16874 esac
16875 ;;
16876 esac
16877
16878 ac_dir=`$as_dirname -- "$ac_file" ||
16879 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16880 X"$ac_file" : 'X\(//\)[^/]' \| \
16881 X"$ac_file" : 'X\(//\)$' \| \
16882 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16883 $as_echo X"$ac_file" |
16884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16885 s//\1/
16886 q
16887 }
16888 /^X\(\/\/\)[^/].*/{
16889 s//\1/
16890 q
16891 }
16892 /^X\(\/\/\)$/{
16893 s//\1/
16894 q
16895 }
16896 /^X\(\/\).*/{
16897 s//\1/
16898 q
16899 }
16900 s/.*/./; q'`
16901 as_dir="$ac_dir"; as_fn_mkdir_p
16902 ac_builddir=.
16903
16904 case "$ac_dir" in
16905 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16906 *)
16907 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16908 # A ".." for each directory in $ac_dir_suffix.
16909 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16910 case $ac_top_builddir_sub in
16911 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16912 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16913 esac ;;
16914 esac
16915 ac_abs_top_builddir=$ac_pwd
16916 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16917 # for backward compatibility:
16918 ac_top_builddir=$ac_top_build_prefix
16919
16920 case $srcdir in
16921 .) # We are building in place.
16922 ac_srcdir=.
16923 ac_top_srcdir=$ac_top_builddir_sub
16924 ac_abs_top_srcdir=$ac_pwd ;;
16925 [\\/]* | ?:[\\/]* ) # Absolute name.
16926 ac_srcdir=$srcdir$ac_dir_suffix;
16927 ac_top_srcdir=$srcdir
16928 ac_abs_top_srcdir=$srcdir ;;
16929 *) # Relative name.
16930 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16931 ac_top_srcdir=$ac_top_build_prefix$srcdir
16932 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16933 esac
16934 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16935
16936
16937 case $ac_mode in
16938 :F)
16939 #
16940 # CONFIG_FILE
16941 #
16942
16943 case $INSTALL in
16944 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16945 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16946 esac
16947 ac_MKDIR_P=$MKDIR_P
16948 case $MKDIR_P in
16949 [\\/$]* | ?:[\\/]* ) ;;
16950 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16951 esac
16952 _ACEOF
16953
16954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16955 # If the template does not know about datarootdir, expand it.
16956 # FIXME: This hack should be removed a few years after 2.60.
16957 ac_datarootdir_hack=; ac_datarootdir_seen=
16958 ac_sed_dataroot='
16959 /datarootdir/ {
16960 p
16961 q
16962 }
16963 /@datadir@/p
16964 /@docdir@/p
16965 /@infodir@/p
16966 /@localedir@/p
16967 /@mandir@/p'
16968 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16969 *datarootdir*) ac_datarootdir_seen=yes;;
16970 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16972 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16973 _ACEOF
16974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16975 ac_datarootdir_hack='
16976 s&@datadir@&$datadir&g
16977 s&@docdir@&$docdir&g
16978 s&@infodir@&$infodir&g
16979 s&@localedir@&$localedir&g
16980 s&@mandir@&$mandir&g
16981 s&\\\${datarootdir}&$datarootdir&g' ;;
16982 esac
16983 _ACEOF
16984
16985 # Neutralize VPATH when `$srcdir' = `.'.
16986 # Shell code in configure.ac might set extrasub.
16987 # FIXME: do we really want to maintain this feature?
16988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16989 ac_sed_extra="$ac_vpsub
16990 $extrasub
16991 _ACEOF
16992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16993 :t
16994 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16995 s|@configure_input@|$ac_sed_conf_input|;t t
16996 s&@top_builddir@&$ac_top_builddir_sub&;t t
16997 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16998 s&@srcdir@&$ac_srcdir&;t t
16999 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17000 s&@top_srcdir@&$ac_top_srcdir&;t t
17001 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17002 s&@builddir@&$ac_builddir&;t t
17003 s&@abs_builddir@&$ac_abs_builddir&;t t
17004 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17005 s&@INSTALL@&$ac_INSTALL&;t t
17006 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17007 $ac_datarootdir_hack
17008 "
17009 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17010 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17011
17012 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17013 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17014 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17015 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17017 which seems to be undefined. Please make sure it is defined" >&5
17018 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17019 which seems to be undefined. Please make sure it is defined" >&2;}
17020
17021 rm -f "$ac_tmp/stdin"
17022 case $ac_file in
17023 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17024 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17025 esac \
17026 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17027 ;;
17028 :H)
17029 #
17030 # CONFIG_HEADER
17031 #
17032 if test x"$ac_file" != x-; then
17033 {
17034 $as_echo "/* $configure_input */" \
17035 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17036 } >"$ac_tmp/config.h" \
17037 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17038 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17040 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17041 else
17042 rm -f "$ac_file"
17043 mv "$ac_tmp/config.h" "$ac_file" \
17044 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17045 fi
17046 else
17047 $as_echo "/* $configure_input */" \
17048 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17049 || as_fn_error $? "could not create -" "$LINENO" 5
17050 fi
17051 # Compute "$ac_file"'s index in $config_headers.
17052 _am_arg="$ac_file"
17053 _am_stamp_count=1
17054 for _am_header in $config_headers :; do
17055 case $_am_header in
17056 $_am_arg | $_am_arg:* )
17057 break ;;
17058 * )
17059 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17060 esac
17061 done
17062 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17063 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17064 X"$_am_arg" : 'X\(//\)[^/]' \| \
17065 X"$_am_arg" : 'X\(//\)$' \| \
17066 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17067 $as_echo X"$_am_arg" |
17068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17069 s//\1/
17070 q
17071 }
17072 /^X\(\/\/\)[^/].*/{
17073 s//\1/
17074 q
17075 }
17076 /^X\(\/\/\)$/{
17077 s//\1/
17078 q
17079 }
17080 /^X\(\/\).*/{
17081 s//\1/
17082 q
17083 }
17084 s/.*/./; q'`/stamp-h$_am_stamp_count
17085 ;;
17086
17087 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17088 $as_echo "$as_me: executing $ac_file commands" >&6;}
17089 ;;
17090 esac
17091
17092
17093 case $ac_file$ac_mode in
17094 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17095 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17096 # are listed without --file. Let's play safe and only enable the eval
17097 # if we detect the quoting.
17098 case $CONFIG_FILES in
17099 *\'*) eval set x "$CONFIG_FILES" ;;
17100 *) set x $CONFIG_FILES ;;
17101 esac
17102 shift
17103 for mf
17104 do
17105 # Strip MF so we end up with the name of the file.
17106 mf=`echo "$mf" | sed -e 's/:.*$//'`
17107 # Check whether this is an Automake generated Makefile or not.
17108 # We used to match only the files named `Makefile.in', but
17109 # some people rename them; so instead we look at the file content.
17110 # Grep'ing the first line is not enough: some people post-process
17111 # each Makefile.in and add a new line on top of each file to say so.
17112 # Grep'ing the whole file is not good either: AIX grep has a line
17113 # limit of 2048, but all sed's we know have understand at least 4000.
17114 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17115 dirpart=`$as_dirname -- "$mf" ||
17116 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17117 X"$mf" : 'X\(//\)[^/]' \| \
17118 X"$mf" : 'X\(//\)$' \| \
17119 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17120 $as_echo X"$mf" |
17121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17122 s//\1/
17123 q
17124 }
17125 /^X\(\/\/\)[^/].*/{
17126 s//\1/
17127 q
17128 }
17129 /^X\(\/\/\)$/{
17130 s//\1/
17131 q
17132 }
17133 /^X\(\/\).*/{
17134 s//\1/
17135 q
17136 }
17137 s/.*/./; q'`
17138 else
17139 continue
17140 fi
17141 # Extract the definition of DEPDIR, am__include, and am__quote
17142 # from the Makefile without running `make'.
17143 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17144 test -z "$DEPDIR" && continue
17145 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17146 test -z "am__include" && continue
17147 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17148 # When using ansi2knr, U may be empty or an underscore; expand it
17149 U=`sed -n 's/^U = //p' < "$mf"`
17150 # Find all dependency output files, they are included files with
17151 # $(DEPDIR) in their names. We invoke sed twice because it is the
17152 # simplest approach to changing $(DEPDIR) to its actual value in the
17153 # expansion.
17154 for file in `sed -n "
17155 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17156 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17157 # Make sure the directory exists.
17158 test -f "$dirpart/$file" && continue
17159 fdir=`$as_dirname -- "$file" ||
17160 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17161 X"$file" : 'X\(//\)[^/]' \| \
17162 X"$file" : 'X\(//\)$' \| \
17163 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17164 $as_echo X"$file" |
17165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17166 s//\1/
17167 q
17168 }
17169 /^X\(\/\/\)[^/].*/{
17170 s//\1/
17171 q
17172 }
17173 /^X\(\/\/\)$/{
17174 s//\1/
17175 q
17176 }
17177 /^X\(\/\).*/{
17178 s//\1/
17179 q
17180 }
17181 s/.*/./; q'`
17182 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17183 # echo "creating $dirpart/$file"
17184 echo '# dummy' > "$dirpart/$file"
17185 done
17186 done
17187 }
17188 ;;
17189 "libtool":C)
17190
17191 # See if we are running on zsh, and set the options which allow our
17192 # commands through without removal of \ escapes.
17193 if test -n "${ZSH_VERSION+set}" ; then
17194 setopt NO_GLOB_SUBST
17195 fi
17196
17197 cfgfile="${ofile}T"
17198 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17199 $RM "$cfgfile"
17200
17201 cat <<_LT_EOF >> "$cfgfile"
17202 #! $SHELL
17203
17204 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17205 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17206 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17207 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17208 #
17209 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17210 # 2006, 2007, 2008 Free Software Foundation, Inc.
17211 # Written by Gordon Matzigkeit, 1996
17212 #
17213 # This file is part of GNU Libtool.
17214 #
17215 # GNU Libtool is free software; you can redistribute it and/or
17216 # modify it under the terms of the GNU General Public License as
17217 # published by the Free Software Foundation; either version 2 of
17218 # the License, or (at your option) any later version.
17219 #
17220 # As a special exception to the GNU General Public License,
17221 # if you distribute this file as part of a program or library that
17222 # is built using GNU Libtool, you may include this file under the
17223 # same distribution terms that you use for the rest of that program.
17224 #
17225 # GNU Libtool is distributed in the hope that it will be useful,
17226 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17227 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17228 # GNU General Public License for more details.
17229 #
17230 # You should have received a copy of the GNU General Public License
17231 # along with GNU Libtool; see the file COPYING. If not, a copy
17232 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17233 # obtained by writing to the Free Software Foundation, Inc.,
17234 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17235
17236
17237 # The names of the tagged configurations supported by this script.
17238 available_tags="CXX "
17239
17240 # ### BEGIN LIBTOOL CONFIG
17241
17242 # Which release of libtool.m4 was used?
17243 macro_version=$macro_version
17244 macro_revision=$macro_revision
17245
17246 # Whether or not to build shared libraries.
17247 build_libtool_libs=$enable_shared
17248
17249 # Whether or not to build static libraries.
17250 build_old_libs=$enable_static
17251
17252 # What type of objects to build.
17253 pic_mode=$pic_mode
17254
17255 # Whether or not to optimize for fast installation.
17256 fast_install=$enable_fast_install
17257
17258 # The host system.
17259 host_alias=$host_alias
17260 host=$host
17261 host_os=$host_os
17262
17263 # The build system.
17264 build_alias=$build_alias
17265 build=$build
17266 build_os=$build_os
17267
17268 # A sed program that does not truncate output.
17269 SED=$lt_SED
17270
17271 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17272 Xsed="\$SED -e 1s/^X//"
17273
17274 # A grep program that handles long lines.
17275 GREP=$lt_GREP
17276
17277 # An ERE matcher.
17278 EGREP=$lt_EGREP
17279
17280 # A literal string matcher.
17281 FGREP=$lt_FGREP
17282
17283 # A BSD- or MS-compatible name lister.
17284 NM=$lt_NM
17285
17286 # Whether we need soft or hard links.
17287 LN_S=$lt_LN_S
17288
17289 # What is the maximum length of a command?
17290 max_cmd_len=$max_cmd_len
17291
17292 # Object file suffix (normally "o").
17293 objext=$ac_objext
17294
17295 # Executable file suffix (normally "").
17296 exeext=$exeext
17297
17298 # whether the shell understands "unset".
17299 lt_unset=$lt_unset
17300
17301 # turn spaces into newlines.
17302 SP2NL=$lt_lt_SP2NL
17303
17304 # turn newlines into spaces.
17305 NL2SP=$lt_lt_NL2SP
17306
17307 # How to create reloadable object files.
17308 reload_flag=$lt_reload_flag
17309 reload_cmds=$lt_reload_cmds
17310
17311 # An object symbol dumper.
17312 OBJDUMP=$lt_OBJDUMP
17313
17314 # Method to check whether dependent libraries are shared objects.
17315 deplibs_check_method=$lt_deplibs_check_method
17316
17317 # Command to use when deplibs_check_method == "file_magic".
17318 file_magic_cmd=$lt_file_magic_cmd
17319
17320 # The archiver.
17321 AR=$lt_AR
17322 AR_FLAGS=$lt_AR_FLAGS
17323
17324 # A symbol stripping program.
17325 STRIP=$lt_STRIP
17326
17327 # Commands used to install an old-style archive.
17328 RANLIB=$lt_RANLIB
17329 old_postinstall_cmds=$lt_old_postinstall_cmds
17330 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17331
17332 # A C compiler.
17333 LTCC=$lt_CC
17334
17335 # LTCC compiler flags.
17336 LTCFLAGS=$lt_CFLAGS
17337
17338 # Take the output of nm and produce a listing of raw symbols and C names.
17339 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17340
17341 # Transform the output of nm in a proper C declaration.
17342 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17343
17344 # Transform the output of nm in a C name address pair.
17345 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17346
17347 # Transform the output of nm in a C name address pair when lib prefix is needed.
17348 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17349
17350 # The name of the directory that contains temporary libtool files.
17351 objdir=$objdir
17352
17353 # Shell to use when invoking shell scripts.
17354 SHELL=$lt_SHELL
17355
17356 # An echo program that does not interpret backslashes.
17357 ECHO=$lt_ECHO
17358
17359 # Used to examine libraries when file_magic_cmd begins with "file".
17360 MAGIC_CMD=$MAGIC_CMD
17361
17362 # Must we lock files when doing compilation?
17363 need_locks=$lt_need_locks
17364
17365 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17366 DSYMUTIL=$lt_DSYMUTIL
17367
17368 # Tool to change global to local symbols on Mac OS X.
17369 NMEDIT=$lt_NMEDIT
17370
17371 # Tool to manipulate fat objects and archives on Mac OS X.
17372 LIPO=$lt_LIPO
17373
17374 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17375 OTOOL=$lt_OTOOL
17376
17377 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17378 OTOOL64=$lt_OTOOL64
17379
17380 # Old archive suffix (normally "a").
17381 libext=$libext
17382
17383 # Shared library suffix (normally ".so").
17384 shrext_cmds=$lt_shrext_cmds
17385
17386 # The commands to extract the exported symbol list from a shared archive.
17387 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17388
17389 # Variables whose values should be saved in libtool wrapper scripts and
17390 # restored at link time.
17391 variables_saved_for_relink=$lt_variables_saved_for_relink
17392
17393 # Do we need the "lib" prefix for modules?
17394 need_lib_prefix=$need_lib_prefix
17395
17396 # Do we need a version for libraries?
17397 need_version=$need_version
17398
17399 # Library versioning type.
17400 version_type=$version_type
17401
17402 # Shared library runtime path variable.
17403 runpath_var=$runpath_var
17404
17405 # Shared library path variable.
17406 shlibpath_var=$shlibpath_var
17407
17408 # Is shlibpath searched before the hard-coded library search path?
17409 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17410
17411 # Format of library name prefix.
17412 libname_spec=$lt_libname_spec
17413
17414 # List of archive names. First name is the real one, the rest are links.
17415 # The last name is the one that the linker finds with -lNAME
17416 library_names_spec=$lt_library_names_spec
17417
17418 # The coded name of the library, if different from the real name.
17419 soname_spec=$lt_soname_spec
17420
17421 # Command to use after installation of a shared archive.
17422 postinstall_cmds=$lt_postinstall_cmds
17423
17424 # Command to use after uninstallation of a shared archive.
17425 postuninstall_cmds=$lt_postuninstall_cmds
17426
17427 # Commands used to finish a libtool library installation in a directory.
17428 finish_cmds=$lt_finish_cmds
17429
17430 # As "finish_cmds", except a single script fragment to be evaled but
17431 # not shown.
17432 finish_eval=$lt_finish_eval
17433
17434 # Whether we should hardcode library paths into libraries.
17435 hardcode_into_libs=$hardcode_into_libs
17436
17437 # Compile-time system search path for libraries.
17438 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17439
17440 # Run-time system search path for libraries.
17441 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17442
17443 # Whether dlopen is supported.
17444 dlopen_support=$enable_dlopen
17445
17446 # Whether dlopen of programs is supported.
17447 dlopen_self=$enable_dlopen_self
17448
17449 # Whether dlopen of statically linked programs is supported.
17450 dlopen_self_static=$enable_dlopen_self_static
17451
17452 # Commands to strip libraries.
17453 old_striplib=$lt_old_striplib
17454 striplib=$lt_striplib
17455
17456
17457 # The linker used to build libraries.
17458 LD=$lt_LD
17459
17460 # Commands used to build an old-style archive.
17461 old_archive_cmds=$lt_old_archive_cmds
17462
17463 # A language specific compiler.
17464 CC=$lt_compiler
17465
17466 # Is the compiler the GNU compiler?
17467 with_gcc=$GCC
17468
17469 # Compiler flag to turn off builtin functions.
17470 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17471
17472 # How to pass a linker flag through the compiler.
17473 wl=$lt_lt_prog_compiler_wl
17474
17475 # Additional compiler flags for building library objects.
17476 pic_flag=$lt_lt_prog_compiler_pic
17477
17478 # Compiler flag to prevent dynamic linking.
17479 link_static_flag=$lt_lt_prog_compiler_static
17480
17481 # Does compiler simultaneously support -c and -o options?
17482 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17483
17484 # Whether or not to add -lc for building shared libraries.
17485 build_libtool_need_lc=$archive_cmds_need_lc
17486
17487 # Whether or not to disallow shared libs when runtime libs are static.
17488 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17489
17490 # Compiler flag to allow reflexive dlopens.
17491 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17492
17493 # Compiler flag to generate shared objects directly from archives.
17494 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17495
17496 # Whether the compiler copes with passing no objects directly.
17497 compiler_needs_object=$lt_compiler_needs_object
17498
17499 # Create an old-style archive from a shared archive.
17500 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17501
17502 # Create a temporary old-style archive to link instead of a shared archive.
17503 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17504
17505 # Commands used to build a shared archive.
17506 archive_cmds=$lt_archive_cmds
17507 archive_expsym_cmds=$lt_archive_expsym_cmds
17508
17509 # Commands used to build a loadable module if different from building
17510 # a shared archive.
17511 module_cmds=$lt_module_cmds
17512 module_expsym_cmds=$lt_module_expsym_cmds
17513
17514 # Whether we are building with GNU ld or not.
17515 with_gnu_ld=$lt_with_gnu_ld
17516
17517 # Flag that allows shared libraries with undefined symbols to be built.
17518 allow_undefined_flag=$lt_allow_undefined_flag
17519
17520 # Flag that enforces no undefined symbols.
17521 no_undefined_flag=$lt_no_undefined_flag
17522
17523 # Flag to hardcode \$libdir into a binary during linking.
17524 # This must work even if \$libdir does not exist
17525 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17526
17527 # If ld is used when linking, flag to hardcode \$libdir into a binary
17528 # during linking. This must work even if \$libdir does not exist.
17529 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17530
17531 # Whether we need a single "-rpath" flag with a separated argument.
17532 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17533
17534 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17535 # DIR into the resulting binary.
17536 hardcode_direct=$hardcode_direct
17537
17538 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17539 # DIR into the resulting binary and the resulting library dependency is
17540 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17541 # library is relocated.
17542 hardcode_direct_absolute=$hardcode_direct_absolute
17543
17544 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17545 # into the resulting binary.
17546 hardcode_minus_L=$hardcode_minus_L
17547
17548 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17549 # into the resulting binary.
17550 hardcode_shlibpath_var=$hardcode_shlibpath_var
17551
17552 # Set to "yes" if building a shared library automatically hardcodes DIR
17553 # into the library and all subsequent libraries and executables linked
17554 # against it.
17555 hardcode_automatic=$hardcode_automatic
17556
17557 # Set to yes if linker adds runtime paths of dependent libraries
17558 # to runtime path list.
17559 inherit_rpath=$inherit_rpath
17560
17561 # Whether libtool must link a program against all its dependency libraries.
17562 link_all_deplibs=$link_all_deplibs
17563
17564 # Fix the shell variable \$srcfile for the compiler.
17565 fix_srcfile_path=$lt_fix_srcfile_path
17566
17567 # Set to "yes" if exported symbols are required.
17568 always_export_symbols=$always_export_symbols
17569
17570 # The commands to list exported symbols.
17571 export_symbols_cmds=$lt_export_symbols_cmds
17572
17573 # Symbols that should not be listed in the preloaded symbols.
17574 exclude_expsyms=$lt_exclude_expsyms
17575
17576 # Symbols that must always be exported.
17577 include_expsyms=$lt_include_expsyms
17578
17579 # Commands necessary for linking programs (against libraries) with templates.
17580 prelink_cmds=$lt_prelink_cmds
17581
17582 # Specify filename containing input files.
17583 file_list_spec=$lt_file_list_spec
17584
17585 # How to hardcode a shared library path into an executable.
17586 hardcode_action=$hardcode_action
17587
17588 # The directories searched by this compiler when creating a shared library.
17589 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17590
17591 # Dependencies to place before and after the objects being linked to
17592 # create a shared library.
17593 predep_objects=$lt_predep_objects
17594 postdep_objects=$lt_postdep_objects
17595 predeps=$lt_predeps
17596 postdeps=$lt_postdeps
17597
17598 # The library search path used internally by the compiler when linking
17599 # a shared library.
17600 compiler_lib_search_path=$lt_compiler_lib_search_path
17601
17602 # ### END LIBTOOL CONFIG
17603
17604 _LT_EOF
17605
17606 case $host_os in
17607 aix3*)
17608 cat <<\_LT_EOF >> "$cfgfile"
17609 # AIX sometimes has problems with the GCC collect2 program. For some
17610 # reason, if we set the COLLECT_NAMES environment variable, the problems
17611 # vanish in a puff of smoke.
17612 if test "X${COLLECT_NAMES+set}" != Xset; then
17613 COLLECT_NAMES=
17614 export COLLECT_NAMES
17615 fi
17616 _LT_EOF
17617 ;;
17618 esac
17619
17620
17621 ltmain="$ac_aux_dir/ltmain.sh"
17622
17623
17624 # We use sed instead of cat because bash on DJGPP gets confused if
17625 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17626 # text mode, it properly converts lines to CR/LF. This bash problem
17627 # is reportedly fixed, but why not run on old versions too?
17628 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17629 || (rm -f "$cfgfile"; exit 1)
17630
17631 case $xsi_shell in
17632 yes)
17633 cat << \_LT_EOF >> "$cfgfile"
17634
17635 # func_dirname file append nondir_replacement
17636 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17637 # otherwise set result to NONDIR_REPLACEMENT.
17638 func_dirname ()
17639 {
17640 case ${1} in
17641 */*) func_dirname_result="${1%/*}${2}" ;;
17642 * ) func_dirname_result="${3}" ;;
17643 esac
17644 }
17645
17646 # func_basename file
17647 func_basename ()
17648 {
17649 func_basename_result="${1##*/}"
17650 }
17651
17652 # func_dirname_and_basename file append nondir_replacement
17653 # perform func_basename and func_dirname in a single function
17654 # call:
17655 # dirname: Compute the dirname of FILE. If nonempty,
17656 # add APPEND to the result, otherwise set result
17657 # to NONDIR_REPLACEMENT.
17658 # value returned in "$func_dirname_result"
17659 # basename: Compute filename of FILE.
17660 # value retuned in "$func_basename_result"
17661 # Implementation must be kept synchronized with func_dirname
17662 # and func_basename. For efficiency, we do not delegate to
17663 # those functions but instead duplicate the functionality here.
17664 func_dirname_and_basename ()
17665 {
17666 case ${1} in
17667 */*) func_dirname_result="${1%/*}${2}" ;;
17668 * ) func_dirname_result="${3}" ;;
17669 esac
17670 func_basename_result="${1##*/}"
17671 }
17672
17673 # func_stripname prefix suffix name
17674 # strip PREFIX and SUFFIX off of NAME.
17675 # PREFIX and SUFFIX must not contain globbing or regex special
17676 # characters, hashes, percent signs, but SUFFIX may contain a leading
17677 # dot (in which case that matches only a dot).
17678 func_stripname ()
17679 {
17680 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17681 # positional parameters, so assign one to ordinary parameter first.
17682 func_stripname_result=${3}
17683 func_stripname_result=${func_stripname_result#"${1}"}
17684 func_stripname_result=${func_stripname_result%"${2}"}
17685 }
17686
17687 # func_opt_split
17688 func_opt_split ()
17689 {
17690 func_opt_split_opt=${1%%=*}
17691 func_opt_split_arg=${1#*=}
17692 }
17693
17694 # func_lo2o object
17695 func_lo2o ()
17696 {
17697 case ${1} in
17698 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17699 *) func_lo2o_result=${1} ;;
17700 esac
17701 }
17702
17703 # func_xform libobj-or-source
17704 func_xform ()
17705 {
17706 func_xform_result=${1%.*}.lo
17707 }
17708
17709 # func_arith arithmetic-term...
17710 func_arith ()
17711 {
17712 func_arith_result=$(( $* ))
17713 }
17714
17715 # func_len string
17716 # STRING may not start with a hyphen.
17717 func_len ()
17718 {
17719 func_len_result=${#1}
17720 }
17721
17722 _LT_EOF
17723 ;;
17724 *) # Bourne compatible functions.
17725 cat << \_LT_EOF >> "$cfgfile"
17726
17727 # func_dirname file append nondir_replacement
17728 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17729 # otherwise set result to NONDIR_REPLACEMENT.
17730 func_dirname ()
17731 {
17732 # Extract subdirectory from the argument.
17733 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17734 if test "X$func_dirname_result" = "X${1}"; then
17735 func_dirname_result="${3}"
17736 else
17737 func_dirname_result="$func_dirname_result${2}"
17738 fi
17739 }
17740
17741 # func_basename file
17742 func_basename ()
17743 {
17744 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17745 }
17746
17747
17748 # func_stripname prefix suffix name
17749 # strip PREFIX and SUFFIX off of NAME.
17750 # PREFIX and SUFFIX must not contain globbing or regex special
17751 # characters, hashes, percent signs, but SUFFIX may contain a leading
17752 # dot (in which case that matches only a dot).
17753 # func_strip_suffix prefix name
17754 func_stripname ()
17755 {
17756 case ${2} in
17757 .*) func_stripname_result=`$ECHO "X${3}" \
17758 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17759 *) func_stripname_result=`$ECHO "X${3}" \
17760 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17761 esac
17762 }
17763
17764 # sed scripts:
17765 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17766 my_sed_long_arg='1s/^-[^=]*=//'
17767
17768 # func_opt_split
17769 func_opt_split ()
17770 {
17771 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17772 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17773 }
17774
17775 # func_lo2o object
17776 func_lo2o ()
17777 {
17778 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17779 }
17780
17781 # func_xform libobj-or-source
17782 func_xform ()
17783 {
17784 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17785 }
17786
17787 # func_arith arithmetic-term...
17788 func_arith ()
17789 {
17790 func_arith_result=`expr "$@"`
17791 }
17792
17793 # func_len string
17794 # STRING may not start with a hyphen.
17795 func_len ()
17796 {
17797 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17798 }
17799
17800 _LT_EOF
17801 esac
17802
17803 case $lt_shell_append in
17804 yes)
17805 cat << \_LT_EOF >> "$cfgfile"
17806
17807 # func_append var value
17808 # Append VALUE to the end of shell variable VAR.
17809 func_append ()
17810 {
17811 eval "$1+=\$2"
17812 }
17813 _LT_EOF
17814 ;;
17815 *)
17816 cat << \_LT_EOF >> "$cfgfile"
17817
17818 # func_append var value
17819 # Append VALUE to the end of shell variable VAR.
17820 func_append ()
17821 {
17822 eval "$1=\$$1\$2"
17823 }
17824
17825 _LT_EOF
17826 ;;
17827 esac
17828
17829
17830 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17831 || (rm -f "$cfgfile"; exit 1)
17832
17833 mv -f "$cfgfile" "$ofile" ||
17834 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17835 chmod +x "$ofile"
17836
17837
17838 cat <<_LT_EOF >> "$ofile"
17839
17840 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17841
17842 # The linker used to build libraries.
17843 LD=$lt_LD_CXX
17844
17845 # Commands used to build an old-style archive.
17846 old_archive_cmds=$lt_old_archive_cmds_CXX
17847
17848 # A language specific compiler.
17849 CC=$lt_compiler_CXX
17850
17851 # Is the compiler the GNU compiler?
17852 with_gcc=$GCC_CXX
17853
17854 # Compiler flag to turn off builtin functions.
17855 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17856
17857 # How to pass a linker flag through the compiler.
17858 wl=$lt_lt_prog_compiler_wl_CXX
17859
17860 # Additional compiler flags for building library objects.
17861 pic_flag=$lt_lt_prog_compiler_pic_CXX
17862
17863 # Compiler flag to prevent dynamic linking.
17864 link_static_flag=$lt_lt_prog_compiler_static_CXX
17865
17866 # Does compiler simultaneously support -c and -o options?
17867 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17868
17869 # Whether or not to add -lc for building shared libraries.
17870 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17871
17872 # Whether or not to disallow shared libs when runtime libs are static.
17873 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17874
17875 # Compiler flag to allow reflexive dlopens.
17876 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17877
17878 # Compiler flag to generate shared objects directly from archives.
17879 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17880
17881 # Whether the compiler copes with passing no objects directly.
17882 compiler_needs_object=$lt_compiler_needs_object_CXX
17883
17884 # Create an old-style archive from a shared archive.
17885 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17886
17887 # Create a temporary old-style archive to link instead of a shared archive.
17888 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17889
17890 # Commands used to build a shared archive.
17891 archive_cmds=$lt_archive_cmds_CXX
17892 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17893
17894 # Commands used to build a loadable module if different from building
17895 # a shared archive.
17896 module_cmds=$lt_module_cmds_CXX
17897 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17898
17899 # Whether we are building with GNU ld or not.
17900 with_gnu_ld=$lt_with_gnu_ld_CXX
17901
17902 # Flag that allows shared libraries with undefined symbols to be built.
17903 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17904
17905 # Flag that enforces no undefined symbols.
17906 no_undefined_flag=$lt_no_undefined_flag_CXX
17907
17908 # Flag to hardcode \$libdir into a binary during linking.
17909 # This must work even if \$libdir does not exist
17910 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17911
17912 # If ld is used when linking, flag to hardcode \$libdir into a binary
17913 # during linking. This must work even if \$libdir does not exist.
17914 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17915
17916 # Whether we need a single "-rpath" flag with a separated argument.
17917 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17918
17919 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17920 # DIR into the resulting binary.
17921 hardcode_direct=$hardcode_direct_CXX
17922
17923 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17924 # DIR into the resulting binary and the resulting library dependency is
17925 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17926 # library is relocated.
17927 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17928
17929 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17930 # into the resulting binary.
17931 hardcode_minus_L=$hardcode_minus_L_CXX
17932
17933 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17934 # into the resulting binary.
17935 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17936
17937 # Set to "yes" if building a shared library automatically hardcodes DIR
17938 # into the library and all subsequent libraries and executables linked
17939 # against it.
17940 hardcode_automatic=$hardcode_automatic_CXX
17941
17942 # Set to yes if linker adds runtime paths of dependent libraries
17943 # to runtime path list.
17944 inherit_rpath=$inherit_rpath_CXX
17945
17946 # Whether libtool must link a program against all its dependency libraries.
17947 link_all_deplibs=$link_all_deplibs_CXX
17948
17949 # Fix the shell variable \$srcfile for the compiler.
17950 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17951
17952 # Set to "yes" if exported symbols are required.
17953 always_export_symbols=$always_export_symbols_CXX
17954
17955 # The commands to list exported symbols.
17956 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17957
17958 # Symbols that should not be listed in the preloaded symbols.
17959 exclude_expsyms=$lt_exclude_expsyms_CXX
17960
17961 # Symbols that must always be exported.
17962 include_expsyms=$lt_include_expsyms_CXX
17963
17964 # Commands necessary for linking programs (against libraries) with templates.
17965 prelink_cmds=$lt_prelink_cmds_CXX
17966
17967 # Specify filename containing input files.
17968 file_list_spec=$lt_file_list_spec_CXX
17969
17970 # How to hardcode a shared library path into an executable.
17971 hardcode_action=$hardcode_action_CXX
17972
17973 # The directories searched by this compiler when creating a shared library.
17974 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17975
17976 # Dependencies to place before and after the objects being linked to
17977 # create a shared library.
17978 predep_objects=$lt_predep_objects_CXX
17979 postdep_objects=$lt_postdep_objects_CXX
17980 predeps=$lt_predeps_CXX
17981 postdeps=$lt_postdeps_CXX
17982
17983 # The library search path used internally by the compiler when linking
17984 # a shared library.
17985 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17986
17987 # ### END LIBTOOL TAG CONFIG: CXX
17988 _LT_EOF
17989
17990 ;;
17991
17992 esac
17993 done # for ac_tag
17994
17995
17996 as_fn_exit 0
17997 _ACEOF
17998 ac_clean_files=$ac_clean_files_save
17999
18000 test $ac_write_fail = 0 ||
18001 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18002
18003
18004 # configure is writing to config.log, and then calls config.status.
18005 # config.status does its own redirection, appending to config.log.
18006 # Unfortunately, on DOS this fails, as config.log is still kept open
18007 # by configure, so config.status won't be able to write to it; its
18008 # output is simply discarded. So we exec the FD to /dev/null,
18009 # effectively closing config.log, so it can be properly (re)opened and
18010 # appended to by config.status. When coming back to configure, we
18011 # need to make the FD available again.
18012 if test "$no_create" != yes; then
18013 ac_cs_success=:
18014 ac_config_status_args=
18015 test "$silent" = yes &&
18016 ac_config_status_args="$ac_config_status_args --quiet"
18017 exec 5>/dev/null
18018 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18019 exec 5>>config.log
18020 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18021 # would make configure fail if this is the last instruction.
18022 $ac_cs_success || as_fn_exit 1
18023 fi
18024 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18026 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18027 fi
18028
18029
+0
-18026
ibdm/autom4te.cache/output.1 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.69 for ibdm 1.5.7.
3 @%:@
4 @%:@
5 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 @%:@
7 @%:@
8 @%:@ This configure script is free software; the Free Software Foundation
9 @%:@ gives unlimited permission to copy, distribute and modify it.
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 emulate sh
18 NULLCMD=:
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in @%:@(
25 *posix*) :
26 set -o posix ;; @%:@(
27 *) :
28 ;;
29 esac
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in @%:@(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
70
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
78 fi
79
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
87
88 # Find who we are. Look in the path if we contain no directory separator.
89 as_myself=
90 case $0 in @%:@((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in @%:@ ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in @%:@(
169 *posix*) :
170 set -o posix ;; @%:@(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198 test \$(( 1 + 1 )) = 2 || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in @%:@(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in @%:@ ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
270 fi
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 @%:@ as_fn_unset VAR
285 @%:@ ---------------
286 @%:@ Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 @%:@ as_fn_set_status STATUS
294 @%:@ -----------------------
295 @%:@ Set @S|@? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } @%:@ as_fn_set_status
300
301 @%:@ as_fn_exit STATUS
302 @%:@ -----------------
303 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } @%:@ as_fn_exit
310
311 @%:@ as_fn_mkdir_p
312 @%:@ -------------
313 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } @%:@ as_fn_mkdir_p
358
359 @%:@ as_fn_executable_p FILE
360 @%:@ -----------------------
361 @%:@ Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } @%:@ as_fn_executable_p
366 @%:@ as_fn_append VAR VALUE
367 @%:@ ----------------------
368 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
369 @%:@ advantage of any shell optimizations that allow amortized linear growth over
370 @%:@ repeated appends, instead of the typical quadratic growth present in naive
371 @%:@ implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 @%:@ as_fn_arith ARG...
385 @%:@ ------------------
386 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
387 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
388 @%:@ must be portable across @S|@(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
403 @%:@ ----------------------------------------
404 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 @%:@ script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } @%:@ as_fn_error
417
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
423 fi
424
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
429 fi
430
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
455
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
478 N
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
497 }
498
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in @%:@(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
508 *)
509 ECHO_N='-n';;
510 esac
511
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
538
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
544 fi
545
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
548
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556
557 # Check that we are running under the correct shell.
558 SHELL=${CONFIG_SHELL-/bin/sh}
559
560 case X$lt_ECHO in
561 X*--fallback-echo)
562 # Remove one level of quotation (which was required for Make).
563 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 ;;
565 esac
566
567 ECHO=${lt_ECHO-echo}
568 if test "X$1" = X--no-reexec; then
569 # Discard the --no-reexec flag, and continue.
570 shift
571 elif test "X$1" = X--fallback-echo; then
572 # Avoid inline document here, it may be left over
573 :
574 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
575 # Yippee, $ECHO works!
576 :
577 else
578 # Restart under the correct shell.
579 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 fi
581
582 if test "X$1" = X--fallback-echo; then
583 # used as fallback echo
584 shift
585 cat <<_LT_EOF
586 $*
587 _LT_EOF
588 exit 0
589 fi
590
591 # The HP-UX ksh and POSIX shell print the target directory to stdout
592 # if CDPATH is set.
593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
594
595 if test -z "$lt_ECHO"; then
596 if test "X${echo_test_string+set}" != Xset; then
597 # find a string as large as possible, as long as the shell can cope with it
598 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
599 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
600 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
601 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
602 then
603 break
604 fi
605 done
606 fi
607
608 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
609 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
611 :
612 else
613 # The Solaris, AIX, and Digital Unix default echo programs unquote
614 # backslashes. This makes it impossible to quote backslashes using
615 # echo "$something" | sed 's/\\/\\\\/g'
616 #
617 # So, first we look for a working echo in the user's PATH.
618
619 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
620 for dir in $PATH /usr/ucb; do
621 IFS="$lt_save_ifs"
622 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
623 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
626 ECHO="$dir/echo"
627 break
628 fi
629 done
630 IFS="$lt_save_ifs"
631
632 if test "X$ECHO" = Xecho; then
633 # We didn't find a better echo, so look for alternatives.
634 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
635 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 # This shell has a builtin print -r that does the trick.
638 ECHO='print -r'
639 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
640 test "X$CONFIG_SHELL" != X/bin/ksh; then
641 # If we have ksh, try running configure again with it.
642 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
643 export ORIGINAL_CONFIG_SHELL
644 CONFIG_SHELL=/bin/ksh
645 export CONFIG_SHELL
646 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 else
648 # Try using printf.
649 ECHO='printf %s\n'
650 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
651 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
653 # Cool, printf works
654 :
655 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
656 test "X$echo_testing_string" = 'X\t' &&
657 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
660 export CONFIG_SHELL
661 SHELL="$CONFIG_SHELL"
662 export SHELL
663 ECHO="$CONFIG_SHELL $0 --fallback-echo"
664 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
665 test "X$echo_testing_string" = 'X\t' &&
666 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
667 test "X$echo_testing_string" = "X$echo_test_string"; then
668 ECHO="$CONFIG_SHELL $0 --fallback-echo"
669 else
670 # maybe with a smaller string...
671 prev=:
672
673 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
674 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
675 then
676 break
677 fi
678 prev="$cmd"
679 done
680
681 if test "$prev" != 'sed 50q "$0"'; then
682 echo_test_string=`eval $prev`
683 export echo_test_string
684 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 else
686 # Oops. We lost completely, so just stick with echo.
687 ECHO=echo
688 fi
689 fi
690 fi
691 fi
692 fi
693 fi
694
695 # Copy echo and quote the copy suitably for passing to libtool from
696 # the Makefile, instead of quoting the original, which is used later.
697 lt_ECHO=$ECHO
698 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
699 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
700 fi
701
702
703
704
705 test -n "$DJDIR" || exec 7<&0 </dev/null
706 exec 6>&1
707
708 # Name of the host.
709 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
713 #
714 # Initializations.
715 #
716 ac_default_prefix=/usr/local
717 ac_clean_files=
718 ac_config_libobj_dir=.
719 LIB@&t@OBJS=
720 cross_compiling=no
721 subdirs=
722 MFLAGS=
723 MAKEFLAGS=
724
725 # Identity of this package.
726 PACKAGE_NAME='ibdm'
727 PACKAGE_TARNAME='ibdm'
728 PACKAGE_VERSION='1.5.7'
729 PACKAGE_STRING='ibdm 1.5.7'
730 PACKAGE_BUGREPORT=''
731 PACKAGE_URL=''
732
733 ac_unique_file="ibdm/Fabric.h"
734 # Factoring default headers for most tests.
735 ac_includes_default="\
736 #include <stdio.h>
737 #ifdef HAVE_SYS_TYPES_H
738 # include <sys/types.h>
739 #endif
740 #ifdef HAVE_SYS_STAT_H
741 # include <sys/stat.h>
742 #endif
743 #ifdef STDC_HEADERS
744 # include <stdlib.h>
745 # include <stddef.h>
746 #else
747 # ifdef HAVE_STDLIB_H
748 # include <stdlib.h>
749 # endif
750 #endif
751 #ifdef HAVE_STRING_H
752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753 # include <memory.h>
754 # endif
755 # include <string.h>
756 #endif
757 #ifdef HAVE_STRINGS_H
758 # include <strings.h>
759 #endif
760 #ifdef HAVE_INTTYPES_H
761 # include <inttypes.h>
762 #endif
763 #ifdef HAVE_STDINT_H
764 # include <stdint.h>
765 #endif
766 #ifdef HAVE_UNISTD_H
767 # include <unistd.h>
768 #endif"
769
770 ac_subst_vars='am__EXEEXT_FALSE
771 am__EXEEXT_TRUE
772 LTLIBOBJS
773 USE_FINAL_PREFIX_FALSE
774 USE_FINAL_PREFIX_TRUE
775 with_final_prefix
776 DEBUG_FALSE
777 DEBUG_TRUE
778 LIB@&t@OBJS
779 TCL_PREFIX
780 TCL_CPPFLAGS
781 TCL_LIBS
782 TCL_DEFS
783 TCLSH
784 CXXCPP
785 OTOOL64
786 OTOOL
787 LIPO
788 NMEDIT
789 DSYMUTIL
790 lt_ECHO
791 RANLIB
792 AR
793 OBJDUMP
794 NM
795 ac_ct_DUMPBIN
796 DUMPBIN
797 LD
798 FGREP
799 EGREP
800 GREP
801 SED
802 host_os
803 host_vendor
804 host_cpu
805 host
806 build_os
807 build_vendor
808 build_cpu
809 build
810 LIBTOOL
811 YFLAGS
812 YACC
813 LEXLIB
814 LEX_OUTPUT_ROOT
815 LEX
816 SWIG_LIB
817 HAS_SWIG_FALSE
818 HAS_SWIG_TRUE
819 SWIG
820 LN_S
821 CPP
822 am__fastdepCC_FALSE
823 am__fastdepCC_TRUE
824 CCDEPMODE
825 ac_ct_CC
826 CFLAGS
827 CC
828 am__fastdepCXX_FALSE
829 am__fastdepCXX_TRUE
830 CXXDEPMODE
831 AMDEPBACKSLASH
832 AMDEP_FALSE
833 AMDEP_TRUE
834 am__quote
835 am__include
836 DEPDIR
837 OBJEXT
838 EXEEXT
839 ac_ct_CXX
840 CPPFLAGS
841 LDFLAGS
842 CXXFLAGS
843 CXX
844 MAINT
845 MAINTAINER_MODE_FALSE
846 MAINTAINER_MODE_TRUE
847 am__untar
848 am__tar
849 AMTAR
850 am__leading_dot
851 SET_MAKE
852 AWK
853 mkdir_p
854 MKDIR_P
855 INSTALL_STRIP_PROGRAM
856 STRIP
857 install_sh
858 MAKEINFO
859 AUTOHEADER
860 AUTOMAKE
861 AUTOCONF
862 ACLOCAL
863 VERSION
864 PACKAGE
865 CYGPATH_W
866 am__isrc
867 INSTALL_DATA
868 INSTALL_SCRIPT
869 INSTALL_PROGRAM
870 target_alias
871 host_alias
872 build_alias
873 LIBS
874 ECHO_T
875 ECHO_N
876 ECHO_C
877 DEFS
878 mandir
879 localedir
880 libdir
881 psdir
882 pdfdir
883 dvidir
884 htmldir
885 infodir
886 docdir
887 oldincludedir
888 includedir
889 localstatedir
890 sharedstatedir
891 sysconfdir
892 datadir
893 datarootdir
894 libexecdir
895 sbindir
896 bindir
897 program_transform_name
898 prefix
899 exec_prefix
900 PACKAGE_URL
901 PACKAGE_BUGREPORT
902 PACKAGE_STRING
903 PACKAGE_VERSION
904 PACKAGE_TARNAME
905 PACKAGE_NAME
906 PATH_SEPARATOR
907 SHELL'
908 ac_subst_files=''
909 ac_user_opts='
910 enable_option_checking
911 enable_maintainer_mode
912 enable_dependency_tracking
913 enable_shared
914 enable_static
915 with_pic
916 enable_fast_install
917 with_gnu_ld
918 enable_libtool_lock
919 enable_libcheck
920 with_tclconfig
921 with_tcl
922 with_tclsh
923 enable_debug
924 with_final_prefix
925 '
926 ac_precious_vars='build_alias
927 host_alias
928 target_alias
929 CXX
930 CXXFLAGS
931 LDFLAGS
932 LIBS
933 CPPFLAGS
934 CCC
935 CC
936 CFLAGS
937 CPP
938 YACC
939 YFLAGS
940 CXXCPP'
941
942
943 # Initialize some variables set by options.
944 ac_init_help=
945 ac_init_version=false
946 ac_unrecognized_opts=
947 ac_unrecognized_sep=
948 # The variables have the same names as the options, with
949 # dashes changed to underlines.
950 cache_file=/dev/null
951 exec_prefix=NONE
952 no_create=
953 no_recursion=
954 prefix=NONE
955 program_prefix=NONE
956 program_suffix=NONE
957 program_transform_name=s,x,x,
958 silent=
959 site=
960 srcdir=
961 verbose=
962 x_includes=NONE
963 x_libraries=NONE
964
965 # Installation directory options.
966 # These are left unexpanded so users can "make install exec_prefix=/foo"
967 # and all the variables that are supposed to be based on exec_prefix
968 # by default will actually change.
969 # Use braces instead of parens because sh, perl, etc. also accept them.
970 # (The list follows the same order as the GNU Coding Standards.)
971 bindir='${exec_prefix}/bin'
972 sbindir='${exec_prefix}/sbin'
973 libexecdir='${exec_prefix}/libexec'
974 datarootdir='${prefix}/share'
975 datadir='${datarootdir}'
976 sysconfdir='${prefix}/etc'
977 sharedstatedir='${prefix}/com'
978 localstatedir='${prefix}/var'
979 includedir='${prefix}/include'
980 oldincludedir='/usr/include'
981 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
982 infodir='${datarootdir}/info'
983 htmldir='${docdir}'
984 dvidir='${docdir}'
985 pdfdir='${docdir}'
986 psdir='${docdir}'
987 libdir='${exec_prefix}/lib'
988 localedir='${datarootdir}/locale'
989 mandir='${datarootdir}/man'
990
991 ac_prev=
992 ac_dashdash=
993 for ac_option
994 do
995 # If the previous option needs an argument, assign it.
996 if test -n "$ac_prev"; then
997 eval $ac_prev=\$ac_option
998 ac_prev=
999 continue
1000 fi
1001
1002 case $ac_option in
1003 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1004 *=) ac_optarg= ;;
1005 *) ac_optarg=yes ;;
1006 esac
1007
1008 # Accept the important Cygnus configure options, so we can diagnose typos.
1009
1010 case $ac_dashdash$ac_option in
1011 --)
1012 ac_dashdash=yes ;;
1013
1014 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1015 ac_prev=bindir ;;
1016 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1017 bindir=$ac_optarg ;;
1018
1019 -build | --build | --buil | --bui | --bu)
1020 ac_prev=build_alias ;;
1021 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1022 build_alias=$ac_optarg ;;
1023
1024 -cache-file | --cache-file | --cache-fil | --cache-fi \
1025 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1026 ac_prev=cache_file ;;
1027 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1028 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1029 cache_file=$ac_optarg ;;
1030
1031 --config-cache | -C)
1032 cache_file=config.cache ;;
1033
1034 -datadir | --datadir | --datadi | --datad)
1035 ac_prev=datadir ;;
1036 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1037 datadir=$ac_optarg ;;
1038
1039 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1040 | --dataroo | --dataro | --datar)
1041 ac_prev=datarootdir ;;
1042 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1043 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1044 datarootdir=$ac_optarg ;;
1045
1046 -disable-* | --disable-*)
1047 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1048 # Reject names that are not valid shell variable names.
1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1050 as_fn_error $? "invalid feature name: $ac_useropt"
1051 ac_useropt_orig=$ac_useropt
1052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053 case $ac_user_opts in
1054 *"
1055 "enable_$ac_useropt"
1056 "*) ;;
1057 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1058 ac_unrecognized_sep=', ';;
1059 esac
1060 eval enable_$ac_useropt=no ;;
1061
1062 -docdir | --docdir | --docdi | --doc | --do)
1063 ac_prev=docdir ;;
1064 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1065 docdir=$ac_optarg ;;
1066
1067 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1068 ac_prev=dvidir ;;
1069 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1070 dvidir=$ac_optarg ;;
1071
1072 -enable-* | --enable-*)
1073 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1076 as_fn_error $? "invalid feature name: $ac_useropt"
1077 ac_useropt_orig=$ac_useropt
1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1080 *"
1081 "enable_$ac_useropt"
1082 "*) ;;
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1084 ac_unrecognized_sep=', ';;
1085 esac
1086 eval enable_$ac_useropt=\$ac_optarg ;;
1087
1088 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1089 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1090 | --exec | --exe | --ex)
1091 ac_prev=exec_prefix ;;
1092 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1093 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1094 | --exec=* | --exe=* | --ex=*)
1095 exec_prefix=$ac_optarg ;;
1096
1097 -gas | --gas | --ga | --g)
1098 # Obsolete; use --with-gas.
1099 with_gas=yes ;;
1100
1101 -help | --help | --hel | --he | -h)
1102 ac_init_help=long ;;
1103 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1104 ac_init_help=recursive ;;
1105 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1106 ac_init_help=short ;;
1107
1108 -host | --host | --hos | --ho)
1109 ac_prev=host_alias ;;
1110 -host=* | --host=* | --hos=* | --ho=*)
1111 host_alias=$ac_optarg ;;
1112
1113 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1114 ac_prev=htmldir ;;
1115 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1116 | --ht=*)
1117 htmldir=$ac_optarg ;;
1118
1119 -includedir | --includedir | --includedi | --included | --include \
1120 | --includ | --inclu | --incl | --inc)
1121 ac_prev=includedir ;;
1122 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1123 | --includ=* | --inclu=* | --incl=* | --inc=*)
1124 includedir=$ac_optarg ;;
1125
1126 -infodir | --infodir | --infodi | --infod | --info | --inf)
1127 ac_prev=infodir ;;
1128 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1129 infodir=$ac_optarg ;;
1130
1131 -libdir | --libdir | --libdi | --libd)
1132 ac_prev=libdir ;;
1133 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1134 libdir=$ac_optarg ;;
1135
1136 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1137 | --libexe | --libex | --libe)
1138 ac_prev=libexecdir ;;
1139 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1140 | --libexe=* | --libex=* | --libe=*)
1141 libexecdir=$ac_optarg ;;
1142
1143 -localedir | --localedir | --localedi | --localed | --locale)
1144 ac_prev=localedir ;;
1145 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1146 localedir=$ac_optarg ;;
1147
1148 -localstatedir | --localstatedir | --localstatedi | --localstated \
1149 | --localstate | --localstat | --localsta | --localst | --locals)
1150 ac_prev=localstatedir ;;
1151 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1152 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1153 localstatedir=$ac_optarg ;;
1154
1155 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1156 ac_prev=mandir ;;
1157 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1158 mandir=$ac_optarg ;;
1159
1160 -nfp | --nfp | --nf)
1161 # Obsolete; use --without-fp.
1162 with_fp=no ;;
1163
1164 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1165 | --no-cr | --no-c | -n)
1166 no_create=yes ;;
1167
1168 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1169 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1170 no_recursion=yes ;;
1171
1172 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1173 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1174 | --oldin | --oldi | --old | --ol | --o)
1175 ac_prev=oldincludedir ;;
1176 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1177 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1178 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1179 oldincludedir=$ac_optarg ;;
1180
1181 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1182 ac_prev=prefix ;;
1183 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1184 prefix=$ac_optarg ;;
1185
1186 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1187 | --program-pre | --program-pr | --program-p)
1188 ac_prev=program_prefix ;;
1189 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1190 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1191 program_prefix=$ac_optarg ;;
1192
1193 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1194 | --program-suf | --program-su | --program-s)
1195 ac_prev=program_suffix ;;
1196 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1197 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1198 program_suffix=$ac_optarg ;;
1199
1200 -program-transform-name | --program-transform-name \
1201 | --program-transform-nam | --program-transform-na \
1202 | --program-transform-n | --program-transform- \
1203 | --program-transform | --program-transfor \
1204 | --program-transfo | --program-transf \
1205 | --program-trans | --program-tran \
1206 | --progr-tra | --program-tr | --program-t)
1207 ac_prev=program_transform_name ;;
1208 -program-transform-name=* | --program-transform-name=* \
1209 | --program-transform-nam=* | --program-transform-na=* \
1210 | --program-transform-n=* | --program-transform-=* \
1211 | --program-transform=* | --program-transfor=* \
1212 | --program-transfo=* | --program-transf=* \
1213 | --program-trans=* | --program-tran=* \
1214 | --progr-tra=* | --program-tr=* | --program-t=*)
1215 program_transform_name=$ac_optarg ;;
1216
1217 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1218 ac_prev=pdfdir ;;
1219 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1220 pdfdir=$ac_optarg ;;
1221
1222 -psdir | --psdir | --psdi | --psd | --ps)
1223 ac_prev=psdir ;;
1224 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1225 psdir=$ac_optarg ;;
1226
1227 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1228 | -silent | --silent | --silen | --sile | --sil)
1229 silent=yes ;;
1230
1231 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1232 ac_prev=sbindir ;;
1233 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1234 | --sbi=* | --sb=*)
1235 sbindir=$ac_optarg ;;
1236
1237 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1238 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1239 | --sharedst | --shareds | --shared | --share | --shar \
1240 | --sha | --sh)
1241 ac_prev=sharedstatedir ;;
1242 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1243 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1244 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1245 | --sha=* | --sh=*)
1246 sharedstatedir=$ac_optarg ;;
1247
1248 -site | --site | --sit)
1249 ac_prev=site ;;
1250 -site=* | --site=* | --sit=*)
1251 site=$ac_optarg ;;
1252
1253 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1254 ac_prev=srcdir ;;
1255 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1256 srcdir=$ac_optarg ;;
1257
1258 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1259 | --syscon | --sysco | --sysc | --sys | --sy)
1260 ac_prev=sysconfdir ;;
1261 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1262 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1263 sysconfdir=$ac_optarg ;;
1264
1265 -target | --target | --targe | --targ | --tar | --ta | --t)
1266 ac_prev=target_alias ;;
1267 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1268 target_alias=$ac_optarg ;;
1269
1270 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1271 verbose=yes ;;
1272
1273 -version | --version | --versio | --versi | --vers | -V)
1274 ac_init_version=: ;;
1275
1276 -with-* | --with-*)
1277 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1278 # Reject names that are not valid shell variable names.
1279 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1280 as_fn_error $? "invalid package name: $ac_useropt"
1281 ac_useropt_orig=$ac_useropt
1282 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1283 case $ac_user_opts in
1284 *"
1285 "with_$ac_useropt"
1286 "*) ;;
1287 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1288 ac_unrecognized_sep=', ';;
1289 esac
1290 eval with_$ac_useropt=\$ac_optarg ;;
1291
1292 -without-* | --without-*)
1293 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1294 # Reject names that are not valid shell variable names.
1295 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296 as_fn_error $? "invalid package name: $ac_useropt"
1297 ac_useropt_orig=$ac_useropt
1298 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1299 case $ac_user_opts in
1300 *"
1301 "with_$ac_useropt"
1302 "*) ;;
1303 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1304 ac_unrecognized_sep=', ';;
1305 esac
1306 eval with_$ac_useropt=no ;;
1307
1308 --x)
1309 # Obsolete; use --with-x.
1310 with_x=yes ;;
1311
1312 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1313 | --x-incl | --x-inc | --x-in | --x-i)
1314 ac_prev=x_includes ;;
1315 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1316 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1317 x_includes=$ac_optarg ;;
1318
1319 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1320 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1321 ac_prev=x_libraries ;;
1322 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1323 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1324 x_libraries=$ac_optarg ;;
1325
1326 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1327 Try \`$0 --help' for more information"
1328 ;;
1329
1330 *=*)
1331 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1332 # Reject names that are not valid shell variable names.
1333 case $ac_envvar in #(
1334 '' | [0-9]* | *[!_$as_cr_alnum]* )
1335 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1336 esac
1337 eval $ac_envvar=\$ac_optarg
1338 export $ac_envvar ;;
1339
1340 *)
1341 # FIXME: should be removed in autoconf 3.0.
1342 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1343 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1344 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1345 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1346 ;;
1347
1348 esac
1349 done
1350
1351 if test -n "$ac_prev"; then
1352 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1353 as_fn_error $? "missing argument to $ac_option"
1354 fi
1355
1356 if test -n "$ac_unrecognized_opts"; then
1357 case $enable_option_checking in
1358 no) ;;
1359 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1360 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1361 esac
1362 fi
1363
1364 # Check all directory arguments for consistency.
1365 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1366 datadir sysconfdir sharedstatedir localstatedir includedir \
1367 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1368 libdir localedir mandir
1369 do
1370 eval ac_val=\$$ac_var
1371 # Remove trailing slashes.
1372 case $ac_val in
1373 */ )
1374 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1375 eval $ac_var=\$ac_val;;
1376 esac
1377 # Be sure to have absolute directory names.
1378 case $ac_val in
1379 [\\/$]* | ?:[\\/]* ) continue;;
1380 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1381 esac
1382 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1383 done
1384
1385 # There might be people who depend on the old broken behavior: `$host'
1386 # used to hold the argument of --host etc.
1387 # FIXME: To remove some day.
1388 build=$build_alias
1389 host=$host_alias
1390 target=$target_alias
1391
1392 # FIXME: To remove some day.
1393 if test "x$host_alias" != x; then
1394 if test "x$build_alias" = x; then
1395 cross_compiling=maybe
1396 elif test "x$build_alias" != "x$host_alias"; then
1397 cross_compiling=yes
1398 fi
1399 fi
1400
1401 ac_tool_prefix=
1402 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1403
1404 test "$silent" = yes && exec 6>/dev/null
1405
1406
1407 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1408 ac_ls_di=`ls -di .` &&
1409 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1410 as_fn_error $? "working directory cannot be determined"
1411 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1412 as_fn_error $? "pwd does not report name of working directory"
1413
1414
1415 # Find the source files, if location was not specified.
1416 if test -z "$srcdir"; then
1417 ac_srcdir_defaulted=yes
1418 # Try the directory containing this script, then the parent directory.
1419 ac_confdir=`$as_dirname -- "$as_myself" ||
1420 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1421 X"$as_myself" : 'X\(//\)[^/]' \| \
1422 X"$as_myself" : 'X\(//\)$' \| \
1423 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1424 $as_echo X"$as_myself" |
1425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1426 s//\1/
1427 q
1428 }
1429 /^X\(\/\/\)[^/].*/{
1430 s//\1/
1431 q
1432 }
1433 /^X\(\/\/\)$/{
1434 s//\1/
1435 q
1436 }
1437 /^X\(\/\).*/{
1438 s//\1/
1439 q
1440 }
1441 s/.*/./; q'`
1442 srcdir=$ac_confdir
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1444 srcdir=..
1445 fi
1446 else
1447 ac_srcdir_defaulted=no
1448 fi
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1450 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1451 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1452 fi
1453 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1454 ac_abs_confdir=`(
1455 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1456 pwd)`
1457 # When building in place, set srcdir=.
1458 if test "$ac_abs_confdir" = "$ac_pwd"; then
1459 srcdir=.
1460 fi
1461 # Remove unnecessary trailing slashes from srcdir.
1462 # Double slashes in file names in object file debugging info
1463 # mess up M-x gdb in Emacs.
1464 case $srcdir in
1465 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1466 esac
1467 for ac_var in $ac_precious_vars; do
1468 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1469 eval ac_env_${ac_var}_value=\$${ac_var}
1470 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1471 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1472 done
1473
1474 #
1475 # Report the --help message.
1476 #
1477 if test "$ac_init_help" = "long"; then
1478 # Omit some internal or obsolete options to make the list less imposing.
1479 # This message is too long to be a string in the A/UX 3.1 sh.
1480 cat <<_ACEOF
1481 \`configure' configures ibdm 1.5.7 to adapt to many kinds of systems.
1482
1483 Usage: $0 [OPTION]... [VAR=VALUE]...
1484
1485 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1486 VAR=VALUE. See below for descriptions of some of the useful variables.
1487
1488 Defaults for the options are specified in brackets.
1489
1490 Configuration:
1491 -h, --help display this help and exit
1492 --help=short display options specific to this package
1493 --help=recursive display the short help of all the included packages
1494 -V, --version display version information and exit
1495 -q, --quiet, --silent do not print \`checking ...' messages
1496 --cache-file=FILE cache test results in FILE [disabled]
1497 -C, --config-cache alias for \`--cache-file=config.cache'
1498 -n, --no-create do not create output files
1499 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1500
1501 Installation directories:
1502 --prefix=PREFIX install architecture-independent files in PREFIX
1503 @<:@@S|@ac_default_prefix@:>@
1504 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1505 @<:@PREFIX@:>@
1506
1507 By default, \`make install' will install all the files in
1508 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1509 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1510 for instance \`--prefix=\$HOME'.
1511
1512 For better control, use the options below.
1513
1514 Fine tuning of the installation directories:
1515 --bindir=DIR user executables [EPREFIX/bin]
1516 --sbindir=DIR system admin executables [EPREFIX/sbin]
1517 --libexecdir=DIR program executables [EPREFIX/libexec]
1518 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1519 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1520 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1521 --libdir=DIR object code libraries [EPREFIX/lib]
1522 --includedir=DIR C header files [PREFIX/include]
1523 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1524 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1525 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1526 --infodir=DIR info documentation [DATAROOTDIR/info]
1527 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1528 --mandir=DIR man documentation [DATAROOTDIR/man]
1529 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ibdm@:>@
1530 --htmldir=DIR html documentation [DOCDIR]
1531 --dvidir=DIR dvi documentation [DOCDIR]
1532 --pdfdir=DIR pdf documentation [DOCDIR]
1533 --psdir=DIR ps documentation [DOCDIR]
1534 _ACEOF
1535
1536 cat <<\_ACEOF
1537
1538 Program names:
1539 --program-prefix=PREFIX prepend PREFIX to installed program names
1540 --program-suffix=SUFFIX append SUFFIX to installed program names
1541 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1542
1543 System types:
1544 --build=BUILD configure for building on BUILD [guessed]
1545 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1546 _ACEOF
1547 fi
1548
1549 if test -n "$ac_init_help"; then
1550 case $ac_init_help in
1551 short | recursive ) echo "Configuration of ibdm 1.5.7:";;
1552 esac
1553 cat <<\_ACEOF
1554
1555 Optional Features:
1556 --disable-option-checking ignore unrecognized --enable/--with options
1557 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1558 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1559 --enable-maintainer-mode enable make rules and dependencies not useful
1560 (and sometimes confusing) to the casual installer
1561 --disable-dependency-tracking speeds up one-time build
1562 --enable-dependency-tracking do not reject slow dependency extractors
1563 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1564 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1565 --enable-fast-install@<:@=PKGS@:>@
1566 optimize for fast installation @<:@default=yes@:>@
1567 --disable-libtool-lock avoid locking (might break parallel builds)
1568 --enable-libcheck Enable Dependency Checking
1569 --enable-debug Turn on debugging
1570
1571 Optional Packages:
1572 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1573 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1574 --with-pic try to use only PIC/non-PIC objects @<:@default=use
1575 both@:>@
1576 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1577 --with-tclconfig=PATH use tclConfig.sh from PATH
1578 (configure gets Tcl configuration from here)
1579 --with-tcl=PATH use Tcl from PATH
1580 --with-tclsh=TCLSH use TCLSH as the tclsh program
1581 (let configure find Tcl using this program)
1582 --with-final-prefix=<dir> Let IBDM know it will eventually be moved there
1583
1584 Some influential environment variables:
1585 CXX C++ compiler command
1586 CXXFLAGS C++ compiler flags
1587 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1588 nonstandard directory <lib dir>
1589 LIBS libraries to pass to the linker, e.g. -l<library>
1590 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1591 you have headers in a nonstandard directory <include dir>
1592 CC C compiler command
1593 CFLAGS C compiler flags
1594 CPP C preprocessor
1595 YACC The `Yet Another Compiler Compiler' implementation to use.
1596 Defaults to the first program found out of: `bison -y', `byacc',
1597 `yacc'.
1598 YFLAGS The list of arguments that will be passed by default to @S|@YACC.
1599 This script will default YFLAGS to the empty string to avoid a
1600 default value of `-d' given by some make applications.
1601 CXXCPP C++ preprocessor
1602
1603 Use these variables to override the choices made by `configure' or to help
1604 it to find libraries and programs with nonstandard names/locations.
1605
1606 Report bugs to the package provider.
1607 _ACEOF
1608 ac_status=$?
1609 fi
1610
1611 if test "$ac_init_help" = "recursive"; then
1612 # If there are subdirs, report their specific --help.
1613 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1614 test -d "$ac_dir" ||
1615 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1616 continue
1617 ac_builddir=.
1618
1619 case "$ac_dir" in
1620 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 *)
1622 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1623 # A ".." for each directory in $ac_dir_suffix.
1624 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1625 case $ac_top_builddir_sub in
1626 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1627 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1628 esac ;;
1629 esac
1630 ac_abs_top_builddir=$ac_pwd
1631 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1632 # for backward compatibility:
1633 ac_top_builddir=$ac_top_build_prefix
1634
1635 case $srcdir in
1636 .) # We are building in place.
1637 ac_srcdir=.
1638 ac_top_srcdir=$ac_top_builddir_sub
1639 ac_abs_top_srcdir=$ac_pwd ;;
1640 [\\/]* | ?:[\\/]* ) # Absolute name.
1641 ac_srcdir=$srcdir$ac_dir_suffix;
1642 ac_top_srcdir=$srcdir
1643 ac_abs_top_srcdir=$srcdir ;;
1644 *) # Relative name.
1645 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1646 ac_top_srcdir=$ac_top_build_prefix$srcdir
1647 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1648 esac
1649 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1650
1651 cd "$ac_dir" || { ac_status=$?; continue; }
1652 # Check for guested configure.
1653 if test -f "$ac_srcdir/configure.gnu"; then
1654 echo &&
1655 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1656 elif test -f "$ac_srcdir/configure"; then
1657 echo &&
1658 $SHELL "$ac_srcdir/configure" --help=recursive
1659 else
1660 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1661 fi || ac_status=$?
1662 cd "$ac_pwd" || { ac_status=$?; break; }
1663 done
1664 fi
1665
1666 test -n "$ac_init_help" && exit $ac_status
1667 if $ac_init_version; then
1668 cat <<\_ACEOF
1669 ibdm configure 1.5.7
1670 generated by GNU Autoconf 2.69
1671
1672 Copyright (C) 2012 Free Software Foundation, Inc.
1673 This configure script is free software; the Free Software Foundation
1674 gives unlimited permission to copy, distribute and modify it.
1675 _ACEOF
1676 exit
1677 fi
1678
1679 ## ------------------------ ##
1680 ## Autoconf initialization. ##
1681 ## ------------------------ ##
1682
1683 @%:@ ac_fn_cxx_try_compile LINENO
1684 @%:@ ----------------------------
1685 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1686 ac_fn_cxx_try_compile ()
1687 {
1688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689 rm -f conftest.$ac_objext
1690 if { { ac_try="$ac_compile"
1691 case "(($ac_try" in
1692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1694 esac
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_compile") 2>conftest.err
1698 ac_status=$?
1699 if test -s conftest.err; then
1700 grep -v '^ *+' conftest.err >conftest.er1
1701 cat conftest.er1 >&5
1702 mv -f conftest.er1 conftest.err
1703 fi
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; } && {
1706 test -z "$ac_cxx_werror_flag" ||
1707 test ! -s conftest.err
1708 } && test -s conftest.$ac_objext; then :
1709 ac_retval=0
1710 else
1711 $as_echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1713
1714 ac_retval=1
1715 fi
1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 as_fn_set_status $ac_retval
1718
1719 } @%:@ ac_fn_cxx_try_compile
1720
1721 @%:@ ac_fn_c_try_compile LINENO
1722 @%:@ --------------------------
1723 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1724 ac_fn_c_try_compile ()
1725 {
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727 rm -f conftest.$ac_objext
1728 if { { ac_try="$ac_compile"
1729 case "(($ac_try" in
1730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1731 *) ac_try_echo=$ac_try;;
1732 esac
1733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734 $as_echo "$ac_try_echo"; } >&5
1735 (eval "$ac_compile") 2>conftest.err
1736 ac_status=$?
1737 if test -s conftest.err; then
1738 grep -v '^ *+' conftest.err >conftest.er1
1739 cat conftest.er1 >&5
1740 mv -f conftest.er1 conftest.err
1741 fi
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } && {
1744 test -z "$ac_c_werror_flag" ||
1745 test ! -s conftest.err
1746 } && test -s conftest.$ac_objext; then :
1747 ac_retval=0
1748 else
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.$ac_ext >&5
1751
1752 ac_retval=1
1753 fi
1754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 as_fn_set_status $ac_retval
1756
1757 } @%:@ ac_fn_c_try_compile
1758
1759 @%:@ ac_fn_c_try_cpp LINENO
1760 @%:@ ----------------------
1761 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1762 ac_fn_c_try_cpp ()
1763 {
1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765 if { { ac_try="$ac_cpp conftest.$ac_ext"
1766 case "(($ac_try" in
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1769 esac
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1773 ac_status=$?
1774 if test -s conftest.err; then
1775 grep -v '^ *+' conftest.err >conftest.er1
1776 cat conftest.er1 >&5
1777 mv -f conftest.er1 conftest.err
1778 fi
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } > conftest.i && {
1781 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1782 test ! -s conftest.err
1783 }; then :
1784 ac_retval=0
1785 else
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1788
1789 ac_retval=1
1790 fi
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 as_fn_set_status $ac_retval
1793
1794 } @%:@ ac_fn_c_try_cpp
1795
1796 @%:@ ac_fn_cxx_try_link LINENO
1797 @%:@ -------------------------
1798 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1799 ac_fn_cxx_try_link ()
1800 {
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 rm -f conftest.$ac_objext conftest$ac_exeext
1803 if { { ac_try="$ac_link"
1804 case "(($ac_try" in
1805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1806 *) ac_try_echo=$ac_try;;
1807 esac
1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_link") 2>conftest.err
1811 ac_status=$?
1812 if test -s conftest.err; then
1813 grep -v '^ *+' conftest.err >conftest.er1
1814 cat conftest.er1 >&5
1815 mv -f conftest.er1 conftest.err
1816 fi
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } && {
1819 test -z "$ac_cxx_werror_flag" ||
1820 test ! -s conftest.err
1821 } && test -s conftest$ac_exeext && {
1822 test "$cross_compiling" = yes ||
1823 test -x conftest$ac_exeext
1824 }; then :
1825 ac_retval=0
1826 else
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1829
1830 ac_retval=1
1831 fi
1832 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1833 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1834 # interfere with the next link command; also delete a directory that is
1835 # left behind by Apple's compiler. We do this before executing the actions.
1836 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838 as_fn_set_status $ac_retval
1839
1840 } @%:@ ac_fn_cxx_try_link
1841
1842 @%:@ ac_fn_c_try_link LINENO
1843 @%:@ -----------------------
1844 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1845 ac_fn_c_try_link ()
1846 {
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 rm -f conftest.$ac_objext conftest$ac_exeext
1849 if { { ac_try="$ac_link"
1850 case "(($ac_try" in
1851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1852 *) ac_try_echo=$ac_try;;
1853 esac
1854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855 $as_echo "$ac_try_echo"; } >&5
1856 (eval "$ac_link") 2>conftest.err
1857 ac_status=$?
1858 if test -s conftest.err; then
1859 grep -v '^ *+' conftest.err >conftest.er1
1860 cat conftest.er1 >&5
1861 mv -f conftest.er1 conftest.err
1862 fi
1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 test $ac_status = 0; } && {
1865 test -z "$ac_c_werror_flag" ||
1866 test ! -s conftest.err
1867 } && test -s conftest$ac_exeext && {
1868 test "$cross_compiling" = yes ||
1869 test -x conftest$ac_exeext
1870 }; then :
1871 ac_retval=0
1872 else
1873 $as_echo "$as_me: failed program was:" >&5
1874 sed 's/^/| /' conftest.$ac_ext >&5
1875
1876 ac_retval=1
1877 fi
1878 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1879 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1880 # interfere with the next link command; also delete a directory that is
1881 # left behind by Apple's compiler. We do this before executing the actions.
1882 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 as_fn_set_status $ac_retval
1885
1886 } @%:@ ac_fn_c_try_link
1887
1888 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1889 @%:@ -------------------------------------------------------
1890 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1891 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1892 ac_fn_c_check_header_compile ()
1893 {
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896 $as_echo_n "checking for $2... " >&6; }
1897 if eval \${$3+:} false; then :
1898 $as_echo_n "(cached) " >&6
1899 else
1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1902 $4
1903 @%:@include <$2>
1904 _ACEOF
1905 if ac_fn_c_try_compile "$LINENO"; then :
1906 eval "$3=yes"
1907 else
1908 eval "$3=no"
1909 fi
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 fi
1912 eval ac_res=\$$3
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916
1917 } @%:@ ac_fn_c_check_header_compile
1918
1919 @%:@ ac_fn_c_try_run LINENO
1920 @%:@ ----------------------
1921 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1922 @%:@ that executables *can* be run.
1923 ac_fn_c_try_run ()
1924 {
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 if { { ac_try="$ac_link"
1927 case "(($ac_try" in
1928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1929 *) ac_try_echo=$ac_try;;
1930 esac
1931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1932 $as_echo "$ac_try_echo"; } >&5
1933 (eval "$ac_link") 2>&5
1934 ac_status=$?
1935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1936 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1937 { { case "(($ac_try" in
1938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1939 *) ac_try_echo=$ac_try;;
1940 esac
1941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1942 $as_echo "$ac_try_echo"; } >&5
1943 (eval "$ac_try") 2>&5
1944 ac_status=$?
1945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1946 test $ac_status = 0; }; }; then :
1947 ac_retval=0
1948 else
1949 $as_echo "$as_me: program exited with status $ac_status" >&5
1950 $as_echo "$as_me: failed program was:" >&5
1951 sed 's/^/| /' conftest.$ac_ext >&5
1952
1953 ac_retval=$ac_status
1954 fi
1955 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957 as_fn_set_status $ac_retval
1958
1959 } @%:@ ac_fn_c_try_run
1960
1961 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1962 @%:@ ----------------------------------
1963 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1964 ac_fn_c_check_func ()
1965 {
1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1968 $as_echo_n "checking for $2... " >&6; }
1969 if eval \${$3+:} false; then :
1970 $as_echo_n "(cached) " >&6
1971 else
1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h. */
1974 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1976 #define $2 innocuous_$2
1977
1978 /* System header to define __stub macros and hopefully few prototypes,
1979 which can conflict with char $2 (); below.
1980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1981 <limits.h> exists even on freestanding compilers. */
1982
1983 #ifdef __STDC__
1984 # include <limits.h>
1985 #else
1986 # include <assert.h>
1987 #endif
1988
1989 #undef $2
1990
1991 /* Override any GCC internal prototype to avoid an error.
1992 Use char because int might match the return type of a GCC
1993 builtin and then its argument prototype would still apply. */
1994 #ifdef __cplusplus
1995 extern "C"
1996 #endif
1997 char $2 ();
1998 /* The GNU C library defines this for functions which it implements
1999 to always fail with ENOSYS. Some functions are actually named
2000 something starting with __ and the normal name is an alias. */
2001 #if defined __stub_$2 || defined __stub___$2
2002 choke me
2003 #endif
2004
2005 int
2006 main ()
2007 {
2008 return $2 ();
2009 ;
2010 return 0;
2011 }
2012 _ACEOF
2013 if ac_fn_c_try_link "$LINENO"; then :
2014 eval "$3=yes"
2015 else
2016 eval "$3=no"
2017 fi
2018 rm -f core conftest.err conftest.$ac_objext \
2019 conftest$ac_exeext conftest.$ac_ext
2020 fi
2021 eval ac_res=\$$3
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2025
2026 } @%:@ ac_fn_c_check_func
2027
2028 @%:@ ac_fn_cxx_try_cpp LINENO
2029 @%:@ ------------------------
2030 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2031 ac_fn_cxx_try_cpp ()
2032 {
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 if { { ac_try="$ac_cpp conftest.$ac_ext"
2035 case "(($ac_try" in
2036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2037 *) ac_try_echo=$ac_try;;
2038 esac
2039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2040 $as_echo "$ac_try_echo"; } >&5
2041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2042 ac_status=$?
2043 if test -s conftest.err; then
2044 grep -v '^ *+' conftest.err >conftest.er1
2045 cat conftest.er1 >&5
2046 mv -f conftest.er1 conftest.err
2047 fi
2048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2049 test $ac_status = 0; } > conftest.i && {
2050 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2051 test ! -s conftest.err
2052 }; then :
2053 ac_retval=0
2054 else
2055 $as_echo "$as_me: failed program was:" >&5
2056 sed 's/^/| /' conftest.$ac_ext >&5
2057
2058 ac_retval=1
2059 fi
2060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2061 as_fn_set_status $ac_retval
2062
2063 } @%:@ ac_fn_cxx_try_cpp
2064
2065 @%:@ ac_fn_cxx_try_run LINENO
2066 @%:@ ------------------------
2067 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2068 @%:@ that executables *can* be run.
2069 ac_fn_cxx_try_run ()
2070 {
2071 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2072 if { { ac_try="$ac_link"
2073 case "(($ac_try" in
2074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2075 *) ac_try_echo=$ac_try;;
2076 esac
2077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2078 $as_echo "$ac_try_echo"; } >&5
2079 (eval "$ac_link") 2>&5
2080 ac_status=$?
2081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2082 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2083 { { case "(($ac_try" in
2084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2085 *) ac_try_echo=$ac_try;;
2086 esac
2087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2088 $as_echo "$ac_try_echo"; } >&5
2089 (eval "$ac_try") 2>&5
2090 ac_status=$?
2091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2092 test $ac_status = 0; }; }; then :
2093 ac_retval=0
2094 else
2095 $as_echo "$as_me: program exited with status $ac_status" >&5
2096 $as_echo "$as_me: failed program was:" >&5
2097 sed 's/^/| /' conftest.$ac_ext >&5
2098
2099 ac_retval=$ac_status
2100 fi
2101 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2103 as_fn_set_status $ac_retval
2104
2105 } @%:@ ac_fn_cxx_try_run
2106
2107 @%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2108 @%:@ ---------------------------------------------------------
2109 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2110 @%:@ the include files in INCLUDES and setting the cache variable VAR
2111 @%:@ accordingly.
2112 ac_fn_cxx_check_header_mongrel ()
2113 {
2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115 if eval \${$3+:} false; then :
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2117 $as_echo_n "checking for $2... " >&6; }
2118 if eval \${$3+:} false; then :
2119 $as_echo_n "(cached) " >&6
2120 fi
2121 eval ac_res=\$$3
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2123 $as_echo "$ac_res" >&6; }
2124 else
2125 # Is the header compilable?
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2127 $as_echo_n "checking $2 usability... " >&6; }
2128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2130 $4
2131 @%:@include <$2>
2132 _ACEOF
2133 if ac_fn_cxx_try_compile "$LINENO"; then :
2134 ac_header_compiler=yes
2135 else
2136 ac_header_compiler=no
2137 fi
2138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2140 $as_echo "$ac_header_compiler" >&6; }
2141
2142 # Is the header present?
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2144 $as_echo_n "checking $2 presence... " >&6; }
2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2147 @%:@include <$2>
2148 _ACEOF
2149 if ac_fn_cxx_try_cpp "$LINENO"; then :
2150 ac_header_preproc=yes
2151 else
2152 ac_header_preproc=no
2153 fi
2154 rm -f conftest.err conftest.i conftest.$ac_ext
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2156 $as_echo "$ac_header_preproc" >&6; }
2157
2158 # So? What about this header?
2159 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2160 yes:no: )
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2162 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2164 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2165 ;;
2166 no:yes:* )
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2168 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2170 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2172 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2174 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2176 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2177 ;;
2178 esac
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if eval \${$3+:} false; then :
2182 $as_echo_n "(cached) " >&6
2183 else
2184 eval "$3=\$ac_header_compiler"
2185 fi
2186 eval ac_res=\$$3
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2188 $as_echo "$ac_res" >&6; }
2189 fi
2190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2191
2192 } @%:@ ac_fn_cxx_check_header_mongrel
2193
2194 @%:@ ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2195 @%:@ ---------------------------------------------
2196 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2197 @%:@ variable VAR accordingly.
2198 ac_fn_cxx_check_type ()
2199 {
2200 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2202 $as_echo_n "checking for $2... " >&6; }
2203 if eval \${$3+:} false; then :
2204 $as_echo_n "(cached) " >&6
2205 else
2206 eval "$3=no"
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2209 $4
2210 int
2211 main ()
2212 {
2213 if (sizeof ($2))
2214 return 0;
2215 ;
2216 return 0;
2217 }
2218 _ACEOF
2219 if ac_fn_cxx_try_compile "$LINENO"; then :
2220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2221 /* end confdefs.h. */
2222 $4
2223 int
2224 main ()
2225 {
2226 if (sizeof (($2)))
2227 return 0;
2228 ;
2229 return 0;
2230 }
2231 _ACEOF
2232 if ac_fn_cxx_try_compile "$LINENO"; then :
2233
2234 else
2235 eval "$3=yes"
2236 fi
2237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2238 fi
2239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2240 fi
2241 eval ac_res=\$$3
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243 $as_echo "$ac_res" >&6; }
2244 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2245
2246 } @%:@ ac_fn_cxx_check_type
2247
2248 @%:@ ac_fn_cxx_check_func LINENO FUNC VAR
2249 @%:@ ------------------------------------
2250 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2251 ac_fn_cxx_check_func ()
2252 {
2253 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2255 $as_echo_n "checking for $2... " >&6; }
2256 if eval \${$3+:} false; then :
2257 $as_echo_n "(cached) " >&6
2258 else
2259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h. */
2261 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2263 #define $2 innocuous_$2
2264
2265 /* System header to define __stub macros and hopefully few prototypes,
2266 which can conflict with char $2 (); below.
2267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2268 <limits.h> exists even on freestanding compilers. */
2269
2270 #ifdef __STDC__
2271 # include <limits.h>
2272 #else
2273 # include <assert.h>
2274 #endif
2275
2276 #undef $2
2277
2278 /* Override any GCC internal prototype to avoid an error.
2279 Use char because int might match the return type of a GCC
2280 builtin and then its argument prototype would still apply. */
2281 #ifdef __cplusplus
2282 extern "C"
2283 #endif
2284 char $2 ();
2285 /* The GNU C library defines this for functions which it implements
2286 to always fail with ENOSYS. Some functions are actually named
2287 something starting with __ and the normal name is an alias. */
2288 #if defined __stub_$2 || defined __stub___$2
2289 choke me
2290 #endif
2291
2292 int
2293 main ()
2294 {
2295 return $2 ();
2296 ;
2297 return 0;
2298 }
2299 _ACEOF
2300 if ac_fn_cxx_try_link "$LINENO"; then :
2301 eval "$3=yes"
2302 else
2303 eval "$3=no"
2304 fi
2305 rm -f core conftest.err conftest.$ac_objext \
2306 conftest$ac_exeext conftest.$ac_ext
2307 fi
2308 eval ac_res=\$$3
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2310 $as_echo "$ac_res" >&6; }
2311 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2312
2313 } @%:@ ac_fn_cxx_check_func
2314 cat >config.log <<_ACEOF
2315 This file contains any messages produced by compilers while
2316 running configure, to aid debugging if configure makes a mistake.
2317
2318 It was created by ibdm $as_me 1.5.7, which was
2319 generated by GNU Autoconf 2.69. Invocation command line was
2320
2321 $ $0 $@
2322
2323 _ACEOF
2324 exec 5>>config.log
2325 {
2326 cat <<_ASUNAME
2327 ## --------- ##
2328 ## Platform. ##
2329 ## --------- ##
2330
2331 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2332 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2333 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2334 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2335 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2336
2337 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2338 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2339
2340 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2341 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2342 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2343 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2344 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2345 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2346 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2347
2348 _ASUNAME
2349
2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 for as_dir in $PATH
2352 do
2353 IFS=$as_save_IFS
2354 test -z "$as_dir" && as_dir=.
2355 $as_echo "PATH: $as_dir"
2356 done
2357 IFS=$as_save_IFS
2358
2359 } >&5
2360
2361 cat >&5 <<_ACEOF
2362
2363
2364 ## ----------- ##
2365 ## Core tests. ##
2366 ## ----------- ##
2367
2368 _ACEOF
2369
2370
2371 # Keep a trace of the command line.
2372 # Strip out --no-create and --no-recursion so they do not pile up.
2373 # Strip out --silent because we don't want to record it for future runs.
2374 # Also quote any args containing shell meta-characters.
2375 # Make two passes to allow for proper duplicate-argument suppression.
2376 ac_configure_args=
2377 ac_configure_args0=
2378 ac_configure_args1=
2379 ac_must_keep_next=false
2380 for ac_pass in 1 2
2381 do
2382 for ac_arg
2383 do
2384 case $ac_arg in
2385 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2386 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2387 | -silent | --silent | --silen | --sile | --sil)
2388 continue ;;
2389 *\'*)
2390 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2391 esac
2392 case $ac_pass in
2393 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2394 2)
2395 as_fn_append ac_configure_args1 " '$ac_arg'"
2396 if test $ac_must_keep_next = true; then
2397 ac_must_keep_next=false # Got value, back to normal.
2398 else
2399 case $ac_arg in
2400 *=* | --config-cache | -C | -disable-* | --disable-* \
2401 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2402 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2403 | -with-* | --with-* | -without-* | --without-* | --x)
2404 case "$ac_configure_args0 " in
2405 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2406 esac
2407 ;;
2408 -* ) ac_must_keep_next=true ;;
2409 esac
2410 fi
2411 as_fn_append ac_configure_args " '$ac_arg'"
2412 ;;
2413 esac
2414 done
2415 done
2416 { ac_configure_args0=; unset ac_configure_args0;}
2417 { ac_configure_args1=; unset ac_configure_args1;}
2418
2419 # When interrupted or exit'd, cleanup temporary files, and complete
2420 # config.log. We remove comments because anyway the quotes in there
2421 # would cause problems or look ugly.
2422 # WARNING: Use '\'' to represent an apostrophe within the trap.
2423 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2424 trap 'exit_status=$?
2425 # Save into config.log some information that might help in debugging.
2426 {
2427 echo
2428
2429 $as_echo "## ---------------- ##
2430 ## Cache variables. ##
2431 ## ---------------- ##"
2432 echo
2433 # The following way of writing the cache mishandles newlines in values,
2434 (
2435 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2436 eval ac_val=\$$ac_var
2437 case $ac_val in #(
2438 *${as_nl}*)
2439 case $ac_var in #(
2440 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2441 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2442 esac
2443 case $ac_var in #(
2444 _ | IFS | as_nl) ;; #(
2445 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2446 *) { eval $ac_var=; unset $ac_var;} ;;
2447 esac ;;
2448 esac
2449 done
2450 (set) 2>&1 |
2451 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2452 *${as_nl}ac_space=\ *)
2453 sed -n \
2454 "s/'\''/'\''\\\\'\'''\''/g;
2455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2456 ;; #(
2457 *)
2458 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2459 ;;
2460 esac |
2461 sort
2462 )
2463 echo
2464
2465 $as_echo "## ----------------- ##
2466 ## Output variables. ##
2467 ## ----------------- ##"
2468 echo
2469 for ac_var in $ac_subst_vars
2470 do
2471 eval ac_val=\$$ac_var
2472 case $ac_val in
2473 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2474 esac
2475 $as_echo "$ac_var='\''$ac_val'\''"
2476 done | sort
2477 echo
2478
2479 if test -n "$ac_subst_files"; then
2480 $as_echo "## ------------------- ##
2481 ## File substitutions. ##
2482 ## ------------------- ##"
2483 echo
2484 for ac_var in $ac_subst_files
2485 do
2486 eval ac_val=\$$ac_var
2487 case $ac_val in
2488 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2489 esac
2490 $as_echo "$ac_var='\''$ac_val'\''"
2491 done | sort
2492 echo
2493 fi
2494
2495 if test -s confdefs.h; then
2496 $as_echo "## ----------- ##
2497 ## confdefs.h. ##
2498 ## ----------- ##"
2499 echo
2500 cat confdefs.h
2501 echo
2502 fi
2503 test "$ac_signal" != 0 &&
2504 $as_echo "$as_me: caught signal $ac_signal"
2505 $as_echo "$as_me: exit $exit_status"
2506 } >&5
2507 rm -f core *.core core.conftest.* &&
2508 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2509 exit $exit_status
2510 ' 0
2511 for ac_signal in 1 2 13 15; do
2512 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2513 done
2514 ac_signal=0
2515
2516 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2517 rm -f -r conftest* confdefs.h
2518
2519 $as_echo "/* confdefs.h */" > confdefs.h
2520
2521 # Predefined preprocessor variables.
2522
2523 cat >>confdefs.h <<_ACEOF
2524 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2525 _ACEOF
2526
2527 cat >>confdefs.h <<_ACEOF
2528 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2529 _ACEOF
2530
2531 cat >>confdefs.h <<_ACEOF
2532 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2533 _ACEOF
2534
2535 cat >>confdefs.h <<_ACEOF
2536 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2537 _ACEOF
2538
2539 cat >>confdefs.h <<_ACEOF
2540 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2541 _ACEOF
2542
2543 cat >>confdefs.h <<_ACEOF
2544 @%:@define PACKAGE_URL "$PACKAGE_URL"
2545 _ACEOF
2546
2547
2548 # Let the site file select an alternate cache file if it wants to.
2549 # Prefer an explicitly selected file to automatically selected ones.
2550 ac_site_file1=NONE
2551 ac_site_file2=NONE
2552 if test -n "$CONFIG_SITE"; then
2553 # We do not want a PATH search for config.site.
2554 case $CONFIG_SITE in @%:@((
2555 -*) ac_site_file1=./$CONFIG_SITE;;
2556 */*) ac_site_file1=$CONFIG_SITE;;
2557 *) ac_site_file1=./$CONFIG_SITE;;
2558 esac
2559 elif test "x$prefix" != xNONE; then
2560 ac_site_file1=$prefix/share/config.site
2561 ac_site_file2=$prefix/etc/config.site
2562 else
2563 ac_site_file1=$ac_default_prefix/share/config.site
2564 ac_site_file2=$ac_default_prefix/etc/config.site
2565 fi
2566 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2567 do
2568 test "x$ac_site_file" = xNONE && continue
2569 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2571 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2572 sed 's/^/| /' "$ac_site_file" >&5
2573 . "$ac_site_file" \
2574 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2576 as_fn_error $? "failed to load site script $ac_site_file
2577 See \`config.log' for more details" "$LINENO" 5; }
2578 fi
2579 done
2580
2581 if test -r "$cache_file"; then
2582 # Some versions of bash will fail to source /dev/null (special files
2583 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2584 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2586 $as_echo "$as_me: loading cache $cache_file" >&6;}
2587 case $cache_file in
2588 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2589 *) . "./$cache_file";;
2590 esac
2591 fi
2592 else
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2594 $as_echo "$as_me: creating cache $cache_file" >&6;}
2595 >$cache_file
2596 fi
2597
2598 # Check that the precious variables saved in the cache have kept the same
2599 # value.
2600 ac_cache_corrupted=false
2601 for ac_var in $ac_precious_vars; do
2602 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2603 eval ac_new_set=\$ac_env_${ac_var}_set
2604 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2605 eval ac_new_val=\$ac_env_${ac_var}_value
2606 case $ac_old_set,$ac_new_set in
2607 set,)
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2609 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2610 ac_cache_corrupted=: ;;
2611 ,set)
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2613 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2614 ac_cache_corrupted=: ;;
2615 ,);;
2616 *)
2617 if test "x$ac_old_val" != "x$ac_new_val"; then
2618 # differences in whitespace do not lead to failure.
2619 ac_old_val_w=`echo x $ac_old_val`
2620 ac_new_val_w=`echo x $ac_new_val`
2621 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2623 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2624 ac_cache_corrupted=:
2625 else
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2627 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2628 eval $ac_var=\$ac_old_val
2629 fi
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2631 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2633 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2634 fi;;
2635 esac
2636 # Pass precious variables to config.status.
2637 if test "$ac_new_set" = set; then
2638 case $ac_new_val in
2639 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2640 *) ac_arg=$ac_var=$ac_new_val ;;
2641 esac
2642 case " $ac_configure_args " in
2643 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2644 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2645 esac
2646 fi
2647 done
2648 if $ac_cache_corrupted; then
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2652 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2653 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2654 fi
2655 ## -------------------- ##
2656 ## Main body of script. ##
2657 ## -------------------- ##
2658
2659 ac_ext=c
2660 ac_cpp='$CPP $CPPFLAGS'
2661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2664
2665
2666
2667
2668 ac_aux_dir=
2669 for ac_dir in config "$srcdir"/config; do
2670 if test -f "$ac_dir/install-sh"; then
2671 ac_aux_dir=$ac_dir
2672 ac_install_sh="$ac_aux_dir/install-sh -c"
2673 break
2674 elif test -f "$ac_dir/install.sh"; then
2675 ac_aux_dir=$ac_dir
2676 ac_install_sh="$ac_aux_dir/install.sh -c"
2677 break
2678 elif test -f "$ac_dir/shtool"; then
2679 ac_aux_dir=$ac_dir
2680 ac_install_sh="$ac_aux_dir/shtool install -c"
2681 break
2682 fi
2683 done
2684 if test -z "$ac_aux_dir"; then
2685 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2686 fi
2687
2688 # These three variables are undocumented and unsupported,
2689 # and are intended to be withdrawn in a future Autoconf release.
2690 # They can cause serious problems if a builder's source tree is in a directory
2691 # whose full name contains unusual characters.
2692 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2693 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2694 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2695
2696
2697
2698 ac_ext=cpp
2699 ac_cpp='$CXXCPP $CPPFLAGS'
2700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2703
2704
2705 ac_config_headers="$ac_config_headers config.h"
2706
2707
2708 am__api_version='1.11'
2709
2710 # Find a good install program. We prefer a C program (faster),
2711 # so one script is as good as another. But avoid the broken or
2712 # incompatible versions:
2713 # SysV /etc/install, /usr/sbin/install
2714 # SunOS /usr/etc/install
2715 # IRIX /sbin/install
2716 # AIX /bin/install
2717 # AmigaOS /C/install, which installs bootblocks on floppy discs
2718 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2719 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2720 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2721 # OS/2's system install, which has a completely different semantic
2722 # ./install, which can be erroneously created by make from ./install.sh.
2723 # Reject install programs that cannot install multiple files.
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2725 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2726 if test -z "$INSTALL"; then
2727 if ${ac_cv_path_install+:} false; then :
2728 $as_echo_n "(cached) " >&6
2729 else
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 for as_dir in $PATH
2732 do
2733 IFS=$as_save_IFS
2734 test -z "$as_dir" && as_dir=.
2735 # Account for people who put trailing slashes in PATH elements.
2736 case $as_dir/ in @%:@((
2737 ./ | .// | /[cC]/* | \
2738 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2739 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2740 /usr/ucb/* ) ;;
2741 *)
2742 # OSF1 and SCO ODT 3.0 have their own names for install.
2743 # Don't use installbsd from OSF since it installs stuff as root
2744 # by default.
2745 for ac_prog in ginstall scoinst install; do
2746 for ac_exec_ext in '' $ac_executable_extensions; do
2747 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2748 if test $ac_prog = install &&
2749 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2750 # AIX install. It has an incompatible calling convention.
2751 :
2752 elif test $ac_prog = install &&
2753 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2754 # program-specific install script used by HP pwplus--don't use.
2755 :
2756 else
2757 rm -rf conftest.one conftest.two conftest.dir
2758 echo one > conftest.one
2759 echo two > conftest.two
2760 mkdir conftest.dir
2761 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2762 test -s conftest.one && test -s conftest.two &&
2763 test -s conftest.dir/conftest.one &&
2764 test -s conftest.dir/conftest.two
2765 then
2766 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2767 break 3
2768 fi
2769 fi
2770 fi
2771 done
2772 done
2773 ;;
2774 esac
2775
2776 done
2777 IFS=$as_save_IFS
2778
2779 rm -rf conftest.one conftest.two conftest.dir
2780
2781 fi
2782 if test "${ac_cv_path_install+set}" = set; then
2783 INSTALL=$ac_cv_path_install
2784 else
2785 # As a last resort, use the slow shell script. Don't cache a
2786 # value for INSTALL within a source directory, because that will
2787 # break other packages using the cache if that directory is
2788 # removed, or if the value is a relative name.
2789 INSTALL=$ac_install_sh
2790 fi
2791 fi
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2793 $as_echo "$INSTALL" >&6; }
2794
2795 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2796 # It thinks the first close brace ends the variable substitution.
2797 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2798
2799 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2800
2801 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2802
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2804 $as_echo_n "checking whether build environment is sane... " >&6; }
2805 # Just in case
2806 sleep 1
2807 echo timestamp > conftest.file
2808 # Reject unsafe characters in $srcdir or the absolute working directory
2809 # name. Accept space and tab only in the latter.
2810 am_lf='
2811 '
2812 case `pwd` in
2813 *[\\\"\#\$\&\'\`$am_lf]*)
2814 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2815 esac
2816 case $srcdir in
2817 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2818 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2819 esac
2820
2821 # Do `set' in a subshell so we don't clobber the current shell's
2822 # arguments. Must try -L first in case configure is actually a
2823 # symlink; some systems play weird games with the mod time of symlinks
2824 # (eg FreeBSD returns the mod time of the symlink's containing
2825 # directory).
2826 if (
2827 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2828 if test "$*" = "X"; then
2829 # -L didn't work.
2830 set X `ls -t "$srcdir/configure" conftest.file`
2831 fi
2832 rm -f conftest.file
2833 if test "$*" != "X $srcdir/configure conftest.file" \
2834 && test "$*" != "X conftest.file $srcdir/configure"; then
2835
2836 # If neither matched, then we have a broken ls. This can happen
2837 # if, for instance, CONFIG_SHELL is bash and it inherits a
2838 # broken ls alias from the environment. This has actually
2839 # happened. Such a system could not be considered "sane".
2840 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2841 alias in your environment" "$LINENO" 5
2842 fi
2843
2844 test "$2" = conftest.file
2845 )
2846 then
2847 # Ok.
2848 :
2849 else
2850 as_fn_error $? "newly created file is older than distributed files!
2851 Check your system clock" "$LINENO" 5
2852 fi
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2854 $as_echo "yes" >&6; }
2855 test "$program_prefix" != NONE &&
2856 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2857 # Use a double $ so make ignores it.
2858 test "$program_suffix" != NONE &&
2859 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2860 # Double any \ or $.
2861 # By default was `s,x,x', remove it if useless.
2862 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2863 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2864
2865 # expand $ac_aux_dir to an absolute path
2866 am_aux_dir=`cd $ac_aux_dir && pwd`
2867
2868 if test x"${MISSING+set}" != xset; then
2869 case $am_aux_dir in
2870 *\ * | *\ *)
2871 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2872 *)
2873 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2874 esac
2875 fi
2876 # Use eval to expand $SHELL
2877 if eval "$MISSING --run true"; then
2878 am_missing_run="$MISSING --run "
2879 else
2880 am_missing_run=
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2882 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2883 fi
2884
2885 if test x"${install_sh}" != xset; then
2886 case $am_aux_dir in
2887 *\ * | *\ *)
2888 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2889 *)
2890 install_sh="\${SHELL} $am_aux_dir/install-sh"
2891 esac
2892 fi
2893
2894 # Installed binaries are usually stripped using `strip' when the user
2895 # run `make install-strip'. However `strip' might not be the right
2896 # tool to use in cross-compilation environments, therefore Automake
2897 # will honor the `STRIP' environment variable to overrule this program.
2898 if test "$cross_compiling" != no; then
2899 if test -n "$ac_tool_prefix"; then
2900 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2901 set dummy ${ac_tool_prefix}strip; ac_word=$2
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2903 $as_echo_n "checking for $ac_word... " >&6; }
2904 if ${ac_cv_prog_STRIP+:} false; then :
2905 $as_echo_n "(cached) " >&6
2906 else
2907 if test -n "$STRIP"; then
2908 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2909 else
2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 for as_dir in $PATH
2912 do
2913 IFS=$as_save_IFS
2914 test -z "$as_dir" && as_dir=.
2915 for ac_exec_ext in '' $ac_executable_extensions; do
2916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2917 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 break 2
2920 fi
2921 done
2922 done
2923 IFS=$as_save_IFS
2924
2925 fi
2926 fi
2927 STRIP=$ac_cv_prog_STRIP
2928 if test -n "$STRIP"; then
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2930 $as_echo "$STRIP" >&6; }
2931 else
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933 $as_echo "no" >&6; }
2934 fi
2935
2936
2937 fi
2938 if test -z "$ac_cv_prog_STRIP"; then
2939 ac_ct_STRIP=$STRIP
2940 # Extract the first word of "strip", so it can be a program name with args.
2941 set dummy strip; ac_word=$2
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943 $as_echo_n "checking for $ac_word... " >&6; }
2944 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 if test -n "$ac_ct_STRIP"; then
2948 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2949 else
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 for as_dir in $PATH
2952 do
2953 IFS=$as_save_IFS
2954 test -z "$as_dir" && as_dir=.
2955 for ac_exec_ext in '' $ac_executable_extensions; do
2956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2957 ac_cv_prog_ac_ct_STRIP="strip"
2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 break 2
2960 fi
2961 done
2962 done
2963 IFS=$as_save_IFS
2964
2965 fi
2966 fi
2967 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2968 if test -n "$ac_ct_STRIP"; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2970 $as_echo "$ac_ct_STRIP" >&6; }
2971 else
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2974 fi
2975
2976 if test "x$ac_ct_STRIP" = x; then
2977 STRIP=":"
2978 else
2979 case $cross_compiling:$ac_tool_warned in
2980 yes:)
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2983 ac_tool_warned=yes ;;
2984 esac
2985 STRIP=$ac_ct_STRIP
2986 fi
2987 else
2988 STRIP="$ac_cv_prog_STRIP"
2989 fi
2990
2991 fi
2992 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2993
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2995 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2996 if test -z "$MKDIR_P"; then
2997 if ${ac_cv_path_mkdir+:} false; then :
2998 $as_echo_n "(cached) " >&6
2999 else
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3002 do
3003 IFS=$as_save_IFS
3004 test -z "$as_dir" && as_dir=.
3005 for ac_prog in mkdir gmkdir; do
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3008 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3009 'mkdir (GNU coreutils) '* | \
3010 'mkdir (coreutils) '* | \
3011 'mkdir (fileutils) '4.1*)
3012 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3013 break 3;;
3014 esac
3015 done
3016 done
3017 done
3018 IFS=$as_save_IFS
3019
3020 fi
3021
3022 test -d ./--version && rmdir ./--version
3023 if test "${ac_cv_path_mkdir+set}" = set; then
3024 MKDIR_P="$ac_cv_path_mkdir -p"
3025 else
3026 # As a last resort, use the slow shell script. Don't cache a
3027 # value for MKDIR_P within a source directory, because that will
3028 # break other packages using the cache if that directory is
3029 # removed, or if the value is a relative name.
3030 MKDIR_P="$ac_install_sh -d"
3031 fi
3032 fi
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3034 $as_echo "$MKDIR_P" >&6; }
3035
3036 mkdir_p="$MKDIR_P"
3037 case $mkdir_p in
3038 [\\/$]* | ?:[\\/]*) ;;
3039 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3040 esac
3041
3042 for ac_prog in gawk mawk nawk awk
3043 do
3044 # Extract the first word of "$ac_prog", so it can be a program name with args.
3045 set dummy $ac_prog; ac_word=$2
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if ${ac_cv_prog_AWK+:} false; then :
3049 $as_echo_n "(cached) " >&6
3050 else
3051 if test -n "$AWK"; then
3052 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3053 else
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055 for as_dir in $PATH
3056 do
3057 IFS=$as_save_IFS
3058 test -z "$as_dir" && as_dir=.
3059 for ac_exec_ext in '' $ac_executable_extensions; do
3060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3061 ac_cv_prog_AWK="$ac_prog"
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 break 2
3064 fi
3065 done
3066 done
3067 IFS=$as_save_IFS
3068
3069 fi
3070 fi
3071 AWK=$ac_cv_prog_AWK
3072 if test -n "$AWK"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3074 $as_echo "$AWK" >&6; }
3075 else
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3078 fi
3079
3080
3081 test -n "$AWK" && break
3082 done
3083
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3085 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3086 set x ${MAKE-make}
3087 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3088 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3089 $as_echo_n "(cached) " >&6
3090 else
3091 cat >conftest.make <<\_ACEOF
3092 SHELL = /bin/sh
3093 all:
3094 @echo '@@@%%%=$(MAKE)=@@@%%%'
3095 _ACEOF
3096 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3097 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3098 *@@@%%%=?*=@@@%%%*)
3099 eval ac_cv_prog_make_${ac_make}_set=yes;;
3100 *)
3101 eval ac_cv_prog_make_${ac_make}_set=no;;
3102 esac
3103 rm -f conftest.make
3104 fi
3105 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3107 $as_echo "yes" >&6; }
3108 SET_MAKE=
3109 else
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3112 SET_MAKE="MAKE=${MAKE-make}"
3113 fi
3114
3115 rm -rf .tst 2>/dev/null
3116 mkdir .tst 2>/dev/null
3117 if test -d .tst; then
3118 am__leading_dot=.
3119 else
3120 am__leading_dot=_
3121 fi
3122 rmdir .tst 2>/dev/null
3123
3124 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3125 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3126 # is not polluted with repeated "-I."
3127 am__isrc=' -I$(srcdir)'
3128 # test to see if srcdir already configured
3129 if test -f $srcdir/config.status; then
3130 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3131 fi
3132 fi
3133
3134 # test whether we have cygpath
3135 if test -z "$CYGPATH_W"; then
3136 if (cygpath --version) >/dev/null 2>/dev/null; then
3137 CYGPATH_W='cygpath -w'
3138 else
3139 CYGPATH_W=echo
3140 fi
3141 fi
3142
3143
3144 # Define the identity of the package.
3145 PACKAGE='ibdm'
3146 VERSION='1.5.7'
3147
3148
3149 cat >>confdefs.h <<_ACEOF
3150 @%:@define PACKAGE "$PACKAGE"
3151 _ACEOF
3152
3153
3154 cat >>confdefs.h <<_ACEOF
3155 @%:@define VERSION "$VERSION"
3156 _ACEOF
3157
3158 # Some tools Automake needs.
3159
3160 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3161
3162
3163 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3164
3165
3166 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3167
3168
3169 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3170
3171
3172 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3173
3174 # We need awk for the "check" target. The system "awk" is bad on
3175 # some platforms.
3176 # Always define AMTAR for backward compatibility.
3177
3178 AMTAR=${AMTAR-"${am_missing_run}tar"}
3179
3180 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3181
3182
3183
3184
3185
3186
3187
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3189 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3190 @%:@ Check whether --enable-maintainer-mode was given.
3191 if test "${enable_maintainer_mode+set}" = set; then :
3192 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3193 else
3194 USE_MAINTAINER_MODE=no
3195 fi
3196
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3198 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3199 if test $USE_MAINTAINER_MODE = yes; then
3200 MAINTAINER_MODE_TRUE=
3201 MAINTAINER_MODE_FALSE='#'
3202 else
3203 MAINTAINER_MODE_TRUE='#'
3204 MAINTAINER_MODE_FALSE=
3205 fi
3206
3207 MAINT=$MAINTAINER_MODE_TRUE
3208
3209
3210
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3212 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3213 set x ${MAKE-make}
3214 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3215 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3216 $as_echo_n "(cached) " >&6
3217 else
3218 cat >conftest.make <<\_ACEOF
3219 SHELL = /bin/sh
3220 all:
3221 @echo '@@@%%%=$(MAKE)=@@@%%%'
3222 _ACEOF
3223 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3224 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3225 *@@@%%%=?*=@@@%%%*)
3226 eval ac_cv_prog_make_${ac_make}_set=yes;;
3227 *)
3228 eval ac_cv_prog_make_${ac_make}_set=no;;
3229 esac
3230 rm -f conftest.make
3231 fi
3232 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3234 $as_echo "yes" >&6; }
3235 SET_MAKE=
3236 else
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3239 SET_MAKE="MAKE=${MAKE-make}"
3240 fi
3241
3242
3243 ac_ext=cpp
3244 ac_cpp='$CXXCPP $CPPFLAGS'
3245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3248 if test -z "$CXX"; then
3249 if test -n "$CCC"; then
3250 CXX=$CCC
3251 else
3252 if test -n "$ac_tool_prefix"; then
3253 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3254 do
3255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3258 $as_echo_n "checking for $ac_word... " >&6; }
3259 if ${ac_cv_prog_CXX+:} false; then :
3260 $as_echo_n "(cached) " >&6
3261 else
3262 if test -n "$CXX"; then
3263 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3264 else
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 for as_dir in $PATH
3267 do
3268 IFS=$as_save_IFS
3269 test -z "$as_dir" && as_dir=.
3270 for ac_exec_ext in '' $ac_executable_extensions; do
3271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3272 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274 break 2
3275 fi
3276 done
3277 done
3278 IFS=$as_save_IFS
3279
3280 fi
3281 fi
3282 CXX=$ac_cv_prog_CXX
3283 if test -n "$CXX"; then
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3285 $as_echo "$CXX" >&6; }
3286 else
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288 $as_echo "no" >&6; }
3289 fi
3290
3291
3292 test -n "$CXX" && break
3293 done
3294 fi
3295 if test -z "$CXX"; then
3296 ac_ct_CXX=$CXX
3297 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3298 do
3299 # Extract the first word of "$ac_prog", so it can be a program name with args.
3300 set dummy $ac_prog; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3304 $as_echo_n "(cached) " >&6
3305 else
3306 if test -n "$ac_ct_CXX"; then
3307 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3308 else
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH
3311 do
3312 IFS=$as_save_IFS
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3316 ac_cv_prog_ac_ct_CXX="$ac_prog"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 break 2
3319 fi
3320 done
3321 done
3322 IFS=$as_save_IFS
3323
3324 fi
3325 fi
3326 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3327 if test -n "$ac_ct_CXX"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3329 $as_echo "$ac_ct_CXX" >&6; }
3330 else
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3333 fi
3334
3335
3336 test -n "$ac_ct_CXX" && break
3337 done
3338
3339 if test "x$ac_ct_CXX" = x; then
3340 CXX="g++"
3341 else
3342 case $cross_compiling:$ac_tool_warned in
3343 yes:)
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3346 ac_tool_warned=yes ;;
3347 esac
3348 CXX=$ac_ct_CXX
3349 fi
3350 fi
3351
3352 fi
3353 fi
3354 # Provide some information about the compiler.
3355 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3356 set X $ac_compile
3357 ac_compiler=$2
3358 for ac_option in --version -v -V -qversion; do
3359 { { ac_try="$ac_compiler $ac_option >&5"
3360 case "(($ac_try" in
3361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362 *) ac_try_echo=$ac_try;;
3363 esac
3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3365 $as_echo "$ac_try_echo"; } >&5
3366 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3367 ac_status=$?
3368 if test -s conftest.err; then
3369 sed '10a\
3370 ... rest of stderr output deleted ...
3371 10q' conftest.err >conftest.er1
3372 cat conftest.er1 >&5
3373 fi
3374 rm -f conftest.er1 conftest.err
3375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3376 test $ac_status = 0; }
3377 done
3378
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3381
3382 int
3383 main ()
3384 {
3385
3386 ;
3387 return 0;
3388 }
3389 _ACEOF
3390 ac_clean_files_save=$ac_clean_files
3391 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3392 # Try to create an executable without -o first, disregard a.out.
3393 # It will help us diagnose broken compilers, and finding out an intuition
3394 # of exeext.
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3396 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3397 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3398
3399 # The possible output files:
3400 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3401
3402 ac_rmfiles=
3403 for ac_file in $ac_files
3404 do
3405 case $ac_file in
3406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3407 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3408 esac
3409 done
3410 rm -f $ac_rmfiles
3411
3412 if { { ac_try="$ac_link_default"
3413 case "(($ac_try" in
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3416 esac
3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418 $as_echo "$ac_try_echo"; } >&5
3419 (eval "$ac_link_default") 2>&5
3420 ac_status=$?
3421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422 test $ac_status = 0; }; then :
3423 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3424 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3425 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3426 # so that the user can short-circuit this test for compilers unknown to
3427 # Autoconf.
3428 for ac_file in $ac_files ''
3429 do
3430 test -f "$ac_file" || continue
3431 case $ac_file in
3432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3433 ;;
3434 [ab].out )
3435 # We found the default executable, but exeext='' is most
3436 # certainly right.
3437 break;;
3438 *.* )
3439 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3440 then :; else
3441 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3442 fi
3443 # We set ac_cv_exeext here because the later test for it is not
3444 # safe: cross compilers may not add the suffix if given an `-o'
3445 # argument, so we may need to know it at that point already.
3446 # Even if this section looks crufty: it has the advantage of
3447 # actually working.
3448 break;;
3449 * )
3450 break;;
3451 esac
3452 done
3453 test "$ac_cv_exeext" = no && ac_cv_exeext=
3454
3455 else
3456 ac_file=''
3457 fi
3458 if test -z "$ac_file"; then :
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3461 $as_echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3463
3464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466 as_fn_error 77 "C++ compiler cannot create executables
3467 See \`config.log' for more details" "$LINENO" 5; }
3468 else
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3470 $as_echo "yes" >&6; }
3471 fi
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3473 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3475 $as_echo "$ac_file" >&6; }
3476 ac_exeext=$ac_cv_exeext
3477
3478 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3479 ac_clean_files=$ac_clean_files_save
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3481 $as_echo_n "checking for suffix of executables... " >&6; }
3482 if { { ac_try="$ac_link"
3483 case "(($ac_try" in
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3486 esac
3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 $as_echo "$ac_try_echo"; } >&5
3489 (eval "$ac_link") 2>&5
3490 ac_status=$?
3491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492 test $ac_status = 0; }; then :
3493 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3494 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3495 # work properly (i.e., refer to `conftest.exe'), while it won't with
3496 # `rm'.
3497 for ac_file in conftest.exe conftest conftest.*; do
3498 test -f "$ac_file" || continue
3499 case $ac_file in
3500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3501 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3502 break;;
3503 * ) break;;
3504 esac
3505 done
3506 else
3507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3510 See \`config.log' for more details" "$LINENO" 5; }
3511 fi
3512 rm -f conftest conftest$ac_cv_exeext
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3514 $as_echo "$ac_cv_exeext" >&6; }
3515
3516 rm -f conftest.$ac_ext
3517 EXEEXT=$ac_cv_exeext
3518 ac_exeext=$EXEEXT
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3521 @%:@include <stdio.h>
3522 int
3523 main ()
3524 {
3525 FILE *f = fopen ("conftest.out", "w");
3526 return ferror (f) || fclose (f) != 0;
3527
3528 ;
3529 return 0;
3530 }
3531 _ACEOF
3532 ac_clean_files="$ac_clean_files conftest.out"
3533 # Check that the compiler produces executables we can run. If not, either
3534 # the compiler is broken, or we cross compile.
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3536 $as_echo_n "checking whether we are cross compiling... " >&6; }
3537 if test "$cross_compiling" != yes; then
3538 { { ac_try="$ac_link"
3539 case "(($ac_try" in
3540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541 *) ac_try_echo=$ac_try;;
3542 esac
3543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3544 $as_echo "$ac_try_echo"; } >&5
3545 (eval "$ac_link") 2>&5
3546 ac_status=$?
3547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3548 test $ac_status = 0; }
3549 if { ac_try='./conftest$ac_cv_exeext'
3550 { { case "(($ac_try" in
3551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552 *) ac_try_echo=$ac_try;;
3553 esac
3554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555 $as_echo "$ac_try_echo"; } >&5
3556 (eval "$ac_try") 2>&5
3557 ac_status=$?
3558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559 test $ac_status = 0; }; }; then
3560 cross_compiling=no
3561 else
3562 if test "$cross_compiling" = maybe; then
3563 cross_compiling=yes
3564 else
3565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error $? "cannot run C++ compiled programs.
3568 If you meant to cross compile, use \`--host'.
3569 See \`config.log' for more details" "$LINENO" 5; }
3570 fi
3571 fi
3572 fi
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3574 $as_echo "$cross_compiling" >&6; }
3575
3576 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3577 ac_clean_files=$ac_clean_files_save
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3579 $as_echo_n "checking for suffix of object files... " >&6; }
3580 if ${ac_cv_objext+:} false; then :
3581 $as_echo_n "(cached) " >&6
3582 else
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3585
3586 int
3587 main ()
3588 {
3589
3590 ;
3591 return 0;
3592 }
3593 _ACEOF
3594 rm -f conftest.o conftest.obj
3595 if { { ac_try="$ac_compile"
3596 case "(($ac_try" in
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3599 esac
3600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601 $as_echo "$ac_try_echo"; } >&5
3602 (eval "$ac_compile") 2>&5
3603 ac_status=$?
3604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605 test $ac_status = 0; }; then :
3606 for ac_file in conftest.o conftest.obj conftest.*; do
3607 test -f "$ac_file" || continue;
3608 case $ac_file in
3609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3610 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3611 break;;
3612 esac
3613 done
3614 else
3615 $as_echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3617
3618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620 as_fn_error $? "cannot compute suffix of object files: cannot compile
3621 See \`config.log' for more details" "$LINENO" 5; }
3622 fi
3623 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3624 fi
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3626 $as_echo "$ac_cv_objext" >&6; }
3627 OBJEXT=$ac_cv_objext
3628 ac_objext=$OBJEXT
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3630 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3631 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3632 $as_echo_n "(cached) " >&6
3633 else
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3636
3637 int
3638 main ()
3639 {
3640 #ifndef __GNUC__
3641 choke me
3642 #endif
3643
3644 ;
3645 return 0;
3646 }
3647 _ACEOF
3648 if ac_fn_cxx_try_compile "$LINENO"; then :
3649 ac_compiler_gnu=yes
3650 else
3651 ac_compiler_gnu=no
3652 fi
3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3655
3656 fi
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3658 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3659 if test $ac_compiler_gnu = yes; then
3660 GXX=yes
3661 else
3662 GXX=
3663 fi
3664 ac_test_CXXFLAGS=${CXXFLAGS+set}
3665 ac_save_CXXFLAGS=$CXXFLAGS
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3667 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3668 if ${ac_cv_prog_cxx_g+:} false; then :
3669 $as_echo_n "(cached) " >&6
3670 else
3671 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3672 ac_cxx_werror_flag=yes
3673 ac_cv_prog_cxx_g=no
3674 CXXFLAGS="-g"
3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676 /* end confdefs.h. */
3677
3678 int
3679 main ()
3680 {
3681
3682 ;
3683 return 0;
3684 }
3685 _ACEOF
3686 if ac_fn_cxx_try_compile "$LINENO"; then :
3687 ac_cv_prog_cxx_g=yes
3688 else
3689 CXXFLAGS=""
3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h. */
3692
3693 int
3694 main ()
3695 {
3696
3697 ;
3698 return 0;
3699 }
3700 _ACEOF
3701 if ac_fn_cxx_try_compile "$LINENO"; then :
3702
3703 else
3704 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3705 CXXFLAGS="-g"
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3708
3709 int
3710 main ()
3711 {
3712
3713 ;
3714 return 0;
3715 }
3716 _ACEOF
3717 if ac_fn_cxx_try_compile "$LINENO"; then :
3718 ac_cv_prog_cxx_g=yes
3719 fi
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721 fi
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 fi
3724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3726 fi
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3728 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3729 if test "$ac_test_CXXFLAGS" = set; then
3730 CXXFLAGS=$ac_save_CXXFLAGS
3731 elif test $ac_cv_prog_cxx_g = yes; then
3732 if test "$GXX" = yes; then
3733 CXXFLAGS="-g -O2"
3734 else
3735 CXXFLAGS="-g"
3736 fi
3737 else
3738 if test "$GXX" = yes; then
3739 CXXFLAGS="-O2"
3740 else
3741 CXXFLAGS=
3742 fi
3743 fi
3744 ac_ext=cpp
3745 ac_cpp='$CXXCPP $CPPFLAGS'
3746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3749 DEPDIR="${am__leading_dot}deps"
3750
3751 ac_config_commands="$ac_config_commands depfiles"
3752
3753
3754 am_make=${MAKE-make}
3755 cat > confinc << 'END'
3756 am__doit:
3757 @echo this is the am__doit target
3758 .PHONY: am__doit
3759 END
3760 # If we don't find an include directive, just comment out the code.
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3762 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3763 am__include="#"
3764 am__quote=
3765 _am_result=none
3766 # First try GNU make style include.
3767 echo "include confinc" > confmf
3768 # Ignore all kinds of additional output from `make'.
3769 case `$am_make -s -f confmf 2> /dev/null` in #(
3770 *the\ am__doit\ target*)
3771 am__include=include
3772 am__quote=
3773 _am_result=GNU
3774 ;;
3775 esac
3776 # Now try BSD make style include.
3777 if test "$am__include" = "#"; then
3778 echo '.include "confinc"' > confmf
3779 case `$am_make -s -f confmf 2> /dev/null` in #(
3780 *the\ am__doit\ target*)
3781 am__include=.include
3782 am__quote="\""
3783 _am_result=BSD
3784 ;;
3785 esac
3786 fi
3787
3788
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3790 $as_echo "$_am_result" >&6; }
3791 rm -f confinc confmf
3792
3793 @%:@ Check whether --enable-dependency-tracking was given.
3794 if test "${enable_dependency_tracking+set}" = set; then :
3795 enableval=$enable_dependency_tracking;
3796 fi
3797
3798 if test "x$enable_dependency_tracking" != xno; then
3799 am_depcomp="$ac_aux_dir/depcomp"
3800 AMDEPBACKSLASH='\'
3801 fi
3802 if test "x$enable_dependency_tracking" != xno; then
3803 AMDEP_TRUE=
3804 AMDEP_FALSE='#'
3805 else
3806 AMDEP_TRUE='#'
3807 AMDEP_FALSE=
3808 fi
3809
3810
3811
3812 depcc="$CXX" am_compiler_list=
3813
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3815 $as_echo_n "checking dependency style of $depcc... " >&6; }
3816 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3817 $as_echo_n "(cached) " >&6
3818 else
3819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3820 # We make a subdir and do the tests there. Otherwise we can end up
3821 # making bogus files that we don't know about and never remove. For
3822 # instance it was reported that on HP-UX the gcc test will end up
3823 # making a dummy file named `D' -- because `-MD' means `put the output
3824 # in D'.
3825 mkdir conftest.dir
3826 # Copy depcomp to subdir because otherwise we won't find it if we're
3827 # using a relative directory.
3828 cp "$am_depcomp" conftest.dir
3829 cd conftest.dir
3830 # We will build objects and dependencies in a subdirectory because
3831 # it helps to detect inapplicable dependency modes. For instance
3832 # both Tru64's cc and ICC support -MD to output dependencies as a
3833 # side effect of compilation, but ICC will put the dependencies in
3834 # the current directory while Tru64 will put them in the object
3835 # directory.
3836 mkdir sub
3837
3838 am_cv_CXX_dependencies_compiler_type=none
3839 if test "$am_compiler_list" = ""; then
3840 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3841 fi
3842 am__universal=false
3843 case " $depcc " in #(
3844 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3845 esac
3846
3847 for depmode in $am_compiler_list; do
3848 # Setup a source with many dependencies, because some compilers
3849 # like to wrap large dependency lists on column 80 (with \), and
3850 # we should not choose a depcomp mode which is confused by this.
3851 #
3852 # We need to recreate these files for each test, as the compiler may
3853 # overwrite some of them when testing with obscure command lines.
3854 # This happens at least with the AIX C compiler.
3855 : > sub/conftest.c
3856 for i in 1 2 3 4 5 6; do
3857 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3858 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3859 # Solaris 8's {/usr,}/bin/sh.
3860 touch sub/conftst$i.h
3861 done
3862 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3863
3864 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3865 # mode. It turns out that the SunPro C++ compiler does not properly
3866 # handle `-M -o', and we need to detect this. Also, some Intel
3867 # versions had trouble with output in subdirs
3868 am__obj=sub/conftest.${OBJEXT-o}
3869 am__minus_obj="-o $am__obj"
3870 case $depmode in
3871 gcc)
3872 # This depmode causes a compiler race in universal mode.
3873 test "$am__universal" = false || continue
3874 ;;
3875 nosideeffect)
3876 # after this tag, mechanisms are not by side-effect, so they'll
3877 # only be used when explicitly requested
3878 if test "x$enable_dependency_tracking" = xyes; then
3879 continue
3880 else
3881 break
3882 fi
3883 ;;
3884 msvisualcpp | msvcmsys)
3885 # This compiler won't grok `-c -o', but also, the minuso test has
3886 # not run yet. These depmodes are late enough in the game, and
3887 # so weak that their functioning should not be impacted.
3888 am__obj=conftest.${OBJEXT-o}
3889 am__minus_obj=
3890 ;;
3891 none) break ;;
3892 esac
3893 if depmode=$depmode \
3894 source=sub/conftest.c object=$am__obj \
3895 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3896 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3897 >/dev/null 2>conftest.err &&
3898 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3899 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3900 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3901 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3902 # icc doesn't choke on unknown options, it will just issue warnings
3903 # or remarks (even with -Werror). So we grep stderr for any message
3904 # that says an option was ignored or not supported.
3905 # When given -MP, icc 7.0 and 7.1 complain thusly:
3906 # icc: Command line warning: ignoring option '-M'; no argument required
3907 # The diagnosis changed in icc 8.0:
3908 # icc: Command line remark: option '-MP' not supported
3909 if (grep 'ignoring option' conftest.err ||
3910 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3911 am_cv_CXX_dependencies_compiler_type=$depmode
3912 break
3913 fi
3914 fi
3915 done
3916
3917 cd ..
3918 rm -rf conftest.dir
3919 else
3920 am_cv_CXX_dependencies_compiler_type=none
3921 fi
3922
3923 fi
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3925 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3926 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3927
3928 if
3929 test "x$enable_dependency_tracking" != xno \
3930 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3931 am__fastdepCXX_TRUE=
3932 am__fastdepCXX_FALSE='#'
3933 else
3934 am__fastdepCXX_TRUE='#'
3935 am__fastdepCXX_FALSE=
3936 fi
3937
3938
3939 ac_ext=c
3940 ac_cpp='$CPP $CPPFLAGS'
3941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944 if test -n "$ac_tool_prefix"; then
3945 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3946 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if ${ac_cv_prog_CC+:} false; then :
3950 $as_echo_n "(cached) " >&6
3951 else
3952 if test -n "$CC"; then
3953 ac_cv_prog_CC="$CC" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3957 do
3958 IFS=$as_save_IFS
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 break 2
3965 fi
3966 done
3967 done
3968 IFS=$as_save_IFS
3969
3970 fi
3971 fi
3972 CC=$ac_cv_prog_CC
3973 if test -n "$CC"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3975 $as_echo "$CC" >&6; }
3976 else
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3979 fi
3980
3981
3982 fi
3983 if test -z "$ac_cv_prog_CC"; then
3984 ac_ct_CC=$CC
3985 # Extract the first word of "gcc", so it can be a program name with args.
3986 set dummy gcc; ac_word=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3990 $as_echo_n "(cached) " >&6
3991 else
3992 if test -n "$ac_ct_CC"; then
3993 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3994 else
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996 for as_dir in $PATH
3997 do
3998 IFS=$as_save_IFS
3999 test -z "$as_dir" && as_dir=.
4000 for ac_exec_ext in '' $ac_executable_extensions; do
4001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_ac_ct_CC="gcc"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 break 2
4005 fi
4006 done
4007 done
4008 IFS=$as_save_IFS
4009
4010 fi
4011 fi
4012 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4013 if test -n "$ac_ct_CC"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4015 $as_echo "$ac_ct_CC" >&6; }
4016 else
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4019 fi
4020
4021 if test "x$ac_ct_CC" = x; then
4022 CC=""
4023 else
4024 case $cross_compiling:$ac_tool_warned in
4025 yes:)
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4028 ac_tool_warned=yes ;;
4029 esac
4030 CC=$ac_ct_CC
4031 fi
4032 else
4033 CC="$ac_cv_prog_CC"
4034 fi
4035
4036 if test -z "$CC"; then
4037 if test -n "$ac_tool_prefix"; then
4038 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4039 set dummy ${ac_tool_prefix}cc; ac_word=$2
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041 $as_echo_n "checking for $ac_word... " >&6; }
4042 if ${ac_cv_prog_CC+:} false; then :
4043 $as_echo_n "(cached) " >&6
4044 else
4045 if test -n "$CC"; then
4046 ac_cv_prog_CC="$CC" # Let the user override the test.
4047 else
4048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049 for as_dir in $PATH
4050 do
4051 IFS=$as_save_IFS
4052 test -z "$as_dir" && as_dir=.
4053 for ac_exec_ext in '' $ac_executable_extensions; do
4054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4055 ac_cv_prog_CC="${ac_tool_prefix}cc"
4056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057 break 2
4058 fi
4059 done
4060 done
4061 IFS=$as_save_IFS
4062
4063 fi
4064 fi
4065 CC=$ac_cv_prog_CC
4066 if test -n "$CC"; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4068 $as_echo "$CC" >&6; }
4069 else
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4072 fi
4073
4074
4075 fi
4076 fi
4077 if test -z "$CC"; then
4078 # Extract the first word of "cc", so it can be a program name with args.
4079 set dummy cc; ac_word=$2
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081 $as_echo_n "checking for $ac_word... " >&6; }
4082 if ${ac_cv_prog_CC+:} false; then :
4083 $as_echo_n "(cached) " >&6
4084 else
4085 if test -n "$CC"; then
4086 ac_cv_prog_CC="$CC" # Let the user override the test.
4087 else
4088 ac_prog_rejected=no
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090 for as_dir in $PATH
4091 do
4092 IFS=$as_save_IFS
4093 test -z "$as_dir" && as_dir=.
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4096 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4097 ac_prog_rejected=yes
4098 continue
4099 fi
4100 ac_cv_prog_CC="cc"
4101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4102 break 2
4103 fi
4104 done
4105 done
4106 IFS=$as_save_IFS
4107
4108 if test $ac_prog_rejected = yes; then
4109 # We found a bogon in the path, so make sure we never use it.
4110 set dummy $ac_cv_prog_CC
4111 shift
4112 if test $@%:@ != 0; then
4113 # We chose a different compiler from the bogus one.
4114 # However, it has the same basename, so the bogon will be chosen
4115 # first if we set CC to just the basename; use the full file name.
4116 shift
4117 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4118 fi
4119 fi
4120 fi
4121 fi
4122 CC=$ac_cv_prog_CC
4123 if test -n "$CC"; then
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4125 $as_echo "$CC" >&6; }
4126 else
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128 $as_echo "no" >&6; }
4129 fi
4130
4131
4132 fi
4133 if test -z "$CC"; then
4134 if test -n "$ac_tool_prefix"; then
4135 for ac_prog in cl.exe
4136 do
4137 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4138 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140 $as_echo_n "checking for $ac_word... " >&6; }
4141 if ${ac_cv_prog_CC+:} false; then :
4142 $as_echo_n "(cached) " >&6
4143 else
4144 if test -n "$CC"; then
4145 ac_cv_prog_CC="$CC" # Let the user override the test.
4146 else
4147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4148 for as_dir in $PATH
4149 do
4150 IFS=$as_save_IFS
4151 test -z "$as_dir" && as_dir=.
4152 for ac_exec_ext in '' $ac_executable_extensions; do
4153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4154 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156 break 2
4157 fi
4158 done
4159 done
4160 IFS=$as_save_IFS
4161
4162 fi
4163 fi
4164 CC=$ac_cv_prog_CC
4165 if test -n "$CC"; then
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4167 $as_echo "$CC" >&6; }
4168 else
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170 $as_echo "no" >&6; }
4171 fi
4172
4173
4174 test -n "$CC" && break
4175 done
4176 fi
4177 if test -z "$CC"; then
4178 ac_ct_CC=$CC
4179 for ac_prog in cl.exe
4180 do
4181 # Extract the first word of "$ac_prog", so it can be a program name with args.
4182 set dummy $ac_prog; ac_word=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4186 $as_echo_n "(cached) " >&6
4187 else
4188 if test -n "$ac_ct_CC"; then
4189 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4190 else
4191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192 for as_dir in $PATH
4193 do
4194 IFS=$as_save_IFS
4195 test -z "$as_dir" && as_dir=.
4196 for ac_exec_ext in '' $ac_executable_extensions; do
4197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4198 ac_cv_prog_ac_ct_CC="$ac_prog"
4199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4200 break 2
4201 fi
4202 done
4203 done
4204 IFS=$as_save_IFS
4205
4206 fi
4207 fi
4208 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4209 if test -n "$ac_ct_CC"; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4211 $as_echo "$ac_ct_CC" >&6; }
4212 else
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4215 fi
4216
4217
4218 test -n "$ac_ct_CC" && break
4219 done
4220
4221 if test "x$ac_ct_CC" = x; then
4222 CC=""
4223 else
4224 case $cross_compiling:$ac_tool_warned in
4225 yes:)
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4228 ac_tool_warned=yes ;;
4229 esac
4230 CC=$ac_ct_CC
4231 fi
4232 fi
4233
4234 fi
4235
4236
4237 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4239 as_fn_error $? "no acceptable C compiler found in \$PATH
4240 See \`config.log' for more details" "$LINENO" 5; }
4241
4242 # Provide some information about the compiler.
4243 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4244 set X $ac_compile
4245 ac_compiler=$2
4246 for ac_option in --version -v -V -qversion; do
4247 { { ac_try="$ac_compiler $ac_option >&5"
4248 case "(($ac_try" in
4249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4250 *) ac_try_echo=$ac_try;;
4251 esac
4252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253 $as_echo "$ac_try_echo"; } >&5
4254 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4255 ac_status=$?
4256 if test -s conftest.err; then
4257 sed '10a\
4258 ... rest of stderr output deleted ...
4259 10q' conftest.err >conftest.er1
4260 cat conftest.er1 >&5
4261 fi
4262 rm -f conftest.er1 conftest.err
4263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264 test $ac_status = 0; }
4265 done
4266
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4268 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4269 if ${ac_cv_c_compiler_gnu+:} false; then :
4270 $as_echo_n "(cached) " >&6
4271 else
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4274
4275 int
4276 main ()
4277 {
4278 #ifndef __GNUC__
4279 choke me
4280 #endif
4281
4282 ;
4283 return 0;
4284 }
4285 _ACEOF
4286 if ac_fn_c_try_compile "$LINENO"; then :
4287 ac_compiler_gnu=yes
4288 else
4289 ac_compiler_gnu=no
4290 fi
4291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4292 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4293
4294 fi
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4296 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4297 if test $ac_compiler_gnu = yes; then
4298 GCC=yes
4299 else
4300 GCC=
4301 fi
4302 ac_test_CFLAGS=${CFLAGS+set}
4303 ac_save_CFLAGS=$CFLAGS
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4305 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4306 if ${ac_cv_prog_cc_g+:} false; then :
4307 $as_echo_n "(cached) " >&6
4308 else
4309 ac_save_c_werror_flag=$ac_c_werror_flag
4310 ac_c_werror_flag=yes
4311 ac_cv_prog_cc_g=no
4312 CFLAGS="-g"
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4315
4316 int
4317 main ()
4318 {
4319
4320 ;
4321 return 0;
4322 }
4323 _ACEOF
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_cv_prog_cc_g=yes
4326 else
4327 CFLAGS=""
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4330
4331 int
4332 main ()
4333 {
4334
4335 ;
4336 return 0;
4337 }
4338 _ACEOF
4339 if ac_fn_c_try_compile "$LINENO"; then :
4340
4341 else
4342 ac_c_werror_flag=$ac_save_c_werror_flag
4343 CFLAGS="-g"
4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4346
4347 int
4348 main ()
4349 {
4350
4351 ;
4352 return 0;
4353 }
4354 _ACEOF
4355 if ac_fn_c_try_compile "$LINENO"; then :
4356 ac_cv_prog_cc_g=yes
4357 fi
4358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4359 fi
4360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4361 fi
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363 ac_c_werror_flag=$ac_save_c_werror_flag
4364 fi
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4366 $as_echo "$ac_cv_prog_cc_g" >&6; }
4367 if test "$ac_test_CFLAGS" = set; then
4368 CFLAGS=$ac_save_CFLAGS
4369 elif test $ac_cv_prog_cc_g = yes; then
4370 if test "$GCC" = yes; then
4371 CFLAGS="-g -O2"
4372 else
4373 CFLAGS="-g"
4374 fi
4375 else
4376 if test "$GCC" = yes; then
4377 CFLAGS="-O2"
4378 else
4379 CFLAGS=
4380 fi
4381 fi
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4383 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4384 if ${ac_cv_prog_cc_c89+:} false; then :
4385 $as_echo_n "(cached) " >&6
4386 else
4387 ac_cv_prog_cc_c89=no
4388 ac_save_CC=$CC
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4391 #include <stdarg.h>
4392 #include <stdio.h>
4393 struct stat;
4394 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4395 struct buf { int x; };
4396 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4397 static char *e (p, i)
4398 char **p;
4399 int i;
4400 {
4401 return p[i];
4402 }
4403 static char *f (char * (*g) (char **, int), char **p, ...)
4404 {
4405 char *s;
4406 va_list v;
4407 va_start (v,p);
4408 s = g (p, va_arg (v,int));
4409 va_end (v);
4410 return s;
4411 }
4412
4413 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4414 function prototypes and stuff, but not '\xHH' hex character constants.
4415 These don't provoke an error unfortunately, instead are silently treated
4416 as 'x'. The following induces an error, until -std is added to get
4417 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4418 array size at least. It's necessary to write '\x00'==0 to get something
4419 that's true only with -std. */
4420 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4421
4422 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4423 inside strings and character constants. */
4424 #define FOO(x) 'x'
4425 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4426
4427 int test (int i, double x);
4428 struct s1 {int (*f) (int a);};
4429 struct s2 {int (*f) (double a);};
4430 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4431 int argc;
4432 char **argv;
4433 int
4434 main ()
4435 {
4436 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4437 ;
4438 return 0;
4439 }
4440 _ACEOF
4441 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4442 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4443 do
4444 CC="$ac_save_CC $ac_arg"
4445 if ac_fn_c_try_compile "$LINENO"; then :
4446 ac_cv_prog_cc_c89=$ac_arg
4447 fi
4448 rm -f core conftest.err conftest.$ac_objext
4449 test "x$ac_cv_prog_cc_c89" != "xno" && break
4450 done
4451 rm -f conftest.$ac_ext
4452 CC=$ac_save_CC
4453
4454 fi
4455 # AC_CACHE_VAL
4456 case "x$ac_cv_prog_cc_c89" in
4457 x)
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4459 $as_echo "none needed" >&6; } ;;
4460 xno)
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4462 $as_echo "unsupported" >&6; } ;;
4463 *)
4464 CC="$CC $ac_cv_prog_cc_c89"
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4466 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4467 esac
4468 if test "x$ac_cv_prog_cc_c89" != xno; then :
4469
4470 fi
4471
4472 ac_ext=cpp
4473 ac_cpp='$CXXCPP $CPPFLAGS'
4474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4477
4478 depcc="$CC" am_compiler_list=
4479
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4481 $as_echo_n "checking dependency style of $depcc... " >&6; }
4482 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4486 # We make a subdir and do the tests there. Otherwise we can end up
4487 # making bogus files that we don't know about and never remove. For
4488 # instance it was reported that on HP-UX the gcc test will end up
4489 # making a dummy file named `D' -- because `-MD' means `put the output
4490 # in D'.
4491 mkdir conftest.dir
4492 # Copy depcomp to subdir because otherwise we won't find it if we're
4493 # using a relative directory.
4494 cp "$am_depcomp" conftest.dir
4495 cd conftest.dir
4496 # We will build objects and dependencies in a subdirectory because
4497 # it helps to detect inapplicable dependency modes. For instance
4498 # both Tru64's cc and ICC support -MD to output dependencies as a
4499 # side effect of compilation, but ICC will put the dependencies in
4500 # the current directory while Tru64 will put them in the object
4501 # directory.
4502 mkdir sub
4503
4504 am_cv_CC_dependencies_compiler_type=none
4505 if test "$am_compiler_list" = ""; then
4506 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4507 fi
4508 am__universal=false
4509 case " $depcc " in #(
4510 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4511 esac
4512
4513 for depmode in $am_compiler_list; do
4514 # Setup a source with many dependencies, because some compilers
4515 # like to wrap large dependency lists on column 80 (with \), and
4516 # we should not choose a depcomp mode which is confused by this.
4517 #
4518 # We need to recreate these files for each test, as the compiler may
4519 # overwrite some of them when testing with obscure command lines.
4520 # This happens at least with the AIX C compiler.
4521 : > sub/conftest.c
4522 for i in 1 2 3 4 5 6; do
4523 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4524 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4525 # Solaris 8's {/usr,}/bin/sh.
4526 touch sub/conftst$i.h
4527 done
4528 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4529
4530 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4531 # mode. It turns out that the SunPro C++ compiler does not properly
4532 # handle `-M -o', and we need to detect this. Also, some Intel
4533 # versions had trouble with output in subdirs
4534 am__obj=sub/conftest.${OBJEXT-o}
4535 am__minus_obj="-o $am__obj"
4536 case $depmode in
4537 gcc)
4538 # This depmode causes a compiler race in universal mode.
4539 test "$am__universal" = false || continue
4540 ;;
4541 nosideeffect)
4542 # after this tag, mechanisms are not by side-effect, so they'll
4543 # only be used when explicitly requested
4544 if test "x$enable_dependency_tracking" = xyes; then
4545 continue
4546 else
4547 break
4548 fi
4549 ;;
4550 msvisualcpp | msvcmsys)
4551 # This compiler won't grok `-c -o', but also, the minuso test has
4552 # not run yet. These depmodes are late enough in the game, and
4553 # so weak that their functioning should not be impacted.
4554 am__obj=conftest.${OBJEXT-o}
4555 am__minus_obj=
4556 ;;
4557 none) break ;;
4558 esac
4559 if depmode=$depmode \
4560 source=sub/conftest.c object=$am__obj \
4561 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4562 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4563 >/dev/null 2>conftest.err &&
4564 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4565 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4566 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4567 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4568 # icc doesn't choke on unknown options, it will just issue warnings
4569 # or remarks (even with -Werror). So we grep stderr for any message
4570 # that says an option was ignored or not supported.
4571 # When given -MP, icc 7.0 and 7.1 complain thusly:
4572 # icc: Command line warning: ignoring option '-M'; no argument required
4573 # The diagnosis changed in icc 8.0:
4574 # icc: Command line remark: option '-MP' not supported
4575 if (grep 'ignoring option' conftest.err ||
4576 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4577 am_cv_CC_dependencies_compiler_type=$depmode
4578 break
4579 fi
4580 fi
4581 done
4582
4583 cd ..
4584 rm -rf conftest.dir
4585 else
4586 am_cv_CC_dependencies_compiler_type=none
4587 fi
4588
4589 fi
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4591 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4592 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4593
4594 if
4595 test "x$enable_dependency_tracking" != xno \
4596 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4597 am__fastdepCC_TRUE=
4598 am__fastdepCC_FALSE='#'
4599 else
4600 am__fastdepCC_TRUE='#'
4601 am__fastdepCC_FALSE=
4602 fi
4603
4604
4605 ac_ext=c
4606 ac_cpp='$CPP $CPPFLAGS'
4607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4611 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4612 # On Suns, sometimes $CPP names a directory.
4613 if test -n "$CPP" && test -d "$CPP"; then
4614 CPP=
4615 fi
4616 if test -z "$CPP"; then
4617 if ${ac_cv_prog_CPP+:} false; then :
4618 $as_echo_n "(cached) " >&6
4619 else
4620 # Double quotes because CPP needs to be expanded
4621 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4622 do
4623 ac_preproc_ok=false
4624 for ac_c_preproc_warn_flag in '' yes
4625 do
4626 # Use a header file that comes with gcc, so configuring glibc
4627 # with a fresh cross-compiler works.
4628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4629 # <limits.h> exists even on freestanding compilers.
4630 # On the NeXT, cc -E runs the code through the compiler's parser,
4631 # not just through cpp. "Syntax error" is here to catch this case.
4632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4634 @%:@ifdef __STDC__
4635 @%:@ include <limits.h>
4636 @%:@else
4637 @%:@ include <assert.h>
4638 @%:@endif
4639 Syntax error
4640 _ACEOF
4641 if ac_fn_c_try_cpp "$LINENO"; then :
4642
4643 else
4644 # Broken: fails on valid input.
4645 continue
4646 fi
4647 rm -f conftest.err conftest.i conftest.$ac_ext
4648
4649 # OK, works on sane cases. Now check whether nonexistent headers
4650 # can be detected and how.
4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h. */
4653 @%:@include <ac_nonexistent.h>
4654 _ACEOF
4655 if ac_fn_c_try_cpp "$LINENO"; then :
4656 # Broken: success on invalid input.
4657 continue
4658 else
4659 # Passes both tests.
4660 ac_preproc_ok=:
4661 break
4662 fi
4663 rm -f conftest.err conftest.i conftest.$ac_ext
4664
4665 done
4666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4667 rm -f conftest.i conftest.err conftest.$ac_ext
4668 if $ac_preproc_ok; then :
4669 break
4670 fi
4671
4672 done
4673 ac_cv_prog_CPP=$CPP
4674
4675 fi
4676 CPP=$ac_cv_prog_CPP
4677 else
4678 ac_cv_prog_CPP=$CPP
4679 fi
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4681 $as_echo "$CPP" >&6; }
4682 ac_preproc_ok=false
4683 for ac_c_preproc_warn_flag in '' yes
4684 do
4685 # Use a header file that comes with gcc, so configuring glibc
4686 # with a fresh cross-compiler works.
4687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4688 # <limits.h> exists even on freestanding compilers.
4689 # On the NeXT, cc -E runs the code through the compiler's parser,
4690 # not just through cpp. "Syntax error" is here to catch this case.
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4693 @%:@ifdef __STDC__
4694 @%:@ include <limits.h>
4695 @%:@else
4696 @%:@ include <assert.h>
4697 @%:@endif
4698 Syntax error
4699 _ACEOF
4700 if ac_fn_c_try_cpp "$LINENO"; then :
4701
4702 else
4703 # Broken: fails on valid input.
4704 continue
4705 fi
4706 rm -f conftest.err conftest.i conftest.$ac_ext
4707
4708 # OK, works on sane cases. Now check whether nonexistent headers
4709 # can be detected and how.
4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4712 @%:@include <ac_nonexistent.h>
4713 _ACEOF
4714 if ac_fn_c_try_cpp "$LINENO"; then :
4715 # Broken: success on invalid input.
4716 continue
4717 else
4718 # Passes both tests.
4719 ac_preproc_ok=:
4720 break
4721 fi
4722 rm -f conftest.err conftest.i conftest.$ac_ext
4723
4724 done
4725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4726 rm -f conftest.i conftest.err conftest.$ac_ext
4727 if $ac_preproc_ok; then :
4728
4729 else
4730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4732 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4733 See \`config.log' for more details" "$LINENO" 5; }
4734 fi
4735
4736 ac_ext=cpp
4737 ac_cpp='$CXXCPP $CPPFLAGS'
4738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4741
4742
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4744 $as_echo_n "checking whether ln -s works... " >&6; }
4745 LN_S=$as_ln_s
4746 if test "$LN_S" = "ln -s"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4748 $as_echo "yes" >&6; }
4749 else
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4751 $as_echo "no, using $LN_S" >&6; }
4752 fi
4753
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4755 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4756 set x ${MAKE-make}
4757 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4758 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4759 $as_echo_n "(cached) " >&6
4760 else
4761 cat >conftest.make <<\_ACEOF
4762 SHELL = /bin/sh
4763 all:
4764 @echo '@@@%%%=$(MAKE)=@@@%%%'
4765 _ACEOF
4766 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4767 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4768 *@@@%%%=?*=@@@%%%*)
4769 eval ac_cv_prog_make_${ac_make}_set=yes;;
4770 *)
4771 eval ac_cv_prog_make_${ac_make}_set=no;;
4772 esac
4773 rm -f conftest.make
4774 fi
4775 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4777 $as_echo "yes" >&6; }
4778 SET_MAKE=
4779 else
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4782 SET_MAKE="MAKE=${MAKE-make}"
4783 fi
4784
4785
4786 # Extract the first word of "swig", so it can be a program name with args.
4787 set dummy swig; ac_word=$2
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4789 $as_echo_n "checking for $ac_word... " >&6; }
4790 if ${ac_cv_path_SWIG+:} false; then :
4791 $as_echo_n "(cached) " >&6
4792 else
4793 case $SWIG in
4794 [\\/]* | ?:[\\/]*)
4795 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
4796 ;;
4797 *)
4798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4799 for as_dir in $PATH
4800 do
4801 IFS=$as_save_IFS
4802 test -z "$as_dir" && as_dir=.
4803 for ac_exec_ext in '' $ac_executable_extensions; do
4804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4805 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
4806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 break 2
4808 fi
4809 done
4810 done
4811 IFS=$as_save_IFS
4812
4813 ;;
4814 esac
4815 fi
4816 SWIG=$ac_cv_path_SWIG
4817 if test -n "$SWIG"; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
4819 $as_echo "$SWIG" >&6; }
4820 else
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822 $as_echo "no" >&6; }
4823 fi
4824
4825
4826 # we use this to track the existance of swig
4827 has_swig=0
4828 if test -z "$SWIG" ; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&5
4830 $as_echo "$as_me: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&2;}
4831 SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
4832 elif test -n "1.1.5" ; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWIG version" >&5
4834 $as_echo_n "checking for SWIG version... " >&6; }
4835 swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
4837 $as_echo "$swig_version" >&6; }
4838 if test -n "$swig_version" ; then
4839 # Calculate the required version number components
4840 required=1.1.5
4841 required_major=`echo $required | sed 's/[^0-9].*//'`
4842 if test -z "$required_major" ; then
4843 required_major=0
4844 fi
4845 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
4846 required_minor=`echo $required | sed 's/[^0-9].*//'`
4847 if test -z "$required_minor" ; then
4848 required_minor=0
4849 fi
4850 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
4851 required_patch=`echo $required | sed 's/[^0-9].*//'`
4852 if test -z "$required_patch" ; then
4853 required_patch=0
4854 fi
4855 # Calculate the available version number components
4856 available=`echo $swig_version | sed 's/[^0-9]*//'`
4857 available_major=`echo $available | sed 's/[^0-9].*//'`
4858 if test -z "$available_major" ; then
4859 available_major=0
4860 fi
4861 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
4862 available_minor=`echo $available | sed 's/[^0-9].*//'`
4863 if test -z "$available_minor" ; then
4864 available_minor=0
4865 fi
4866 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
4867 available_patch=`echo $available | sed -e 's/.*Patch[^0-9]*//' -e 's/[^0-9]*//g' `
4868 if test -z "$available_patch" ; then
4869 available_patch=0
4870 fi
4871 # we have two modes of comparison...
4872 if test x"eq" == xeq; then
4873 if test $available_major -ne $required_major \
4874 -o $available_minor -ne $required_minor \
4875 -o $available_patch -ne $required_patch ; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&5
4877 $as_echo "$as_me: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&2;}
4878 SWIG='echo "Error: SWIG version == 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
4879 else
4880 has_swig=1
4881 fi
4882 else
4883 if test $available_major -ne $required_major \
4884 -o $available_minor -ne $required_minor \
4885 -o $available_patch -lt $required_patch ; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&5
4887 $as_echo "$as_me: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
4888 SWIG='echo "Error: SWIG version >= 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
4889 else
4890 has_swig=1
4891 fi
4892 fi
4893 else
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
4895 $as_echo "$as_me: WARNING: cannot determine SWIG version" >&2;}
4896 SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
4897 fi
4898 fi
4899 if test ! -z "$has_swig"; then
4900 SWIG_LIB=`$SWIG -swiglib`
4901 if test 1; then
4902 HAS_SWIG_TRUE=
4903 HAS_SWIG_FALSE='#'
4904 else
4905 HAS_SWIG_TRUE='#'
4906 HAS_SWIG_FALSE=
4907 fi
4908
4909 else
4910 if test 0; then
4911 HAS_SWIG_TRUE=
4912 HAS_SWIG_FALSE='#'
4913 else
4914 HAS_SWIG_TRUE='#'
4915 HAS_SWIG_FALSE=
4916 fi
4917
4918 fi
4919
4920
4921
4922 for ac_prog in flex lex
4923 do
4924 # Extract the first word of "$ac_prog", so it can be a program name with args.
4925 set dummy $ac_prog; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if ${ac_cv_prog_LEX+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 if test -n "$LEX"; then
4932 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4936 do
4937 IFS=$as_save_IFS
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_prog_LEX="$ac_prog"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 break 2
4944 fi
4945 done
4946 done
4947 IFS=$as_save_IFS
4948
4949 fi
4950 fi
4951 LEX=$ac_cv_prog_LEX
4952 if test -n "$LEX"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4954 $as_echo "$LEX" >&6; }
4955 else
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4958 fi
4959
4960
4961 test -n "$LEX" && break
4962 done
4963 test -n "$LEX" || LEX=":"
4964
4965 if test "x$LEX" != "x:"; then
4966 cat >conftest.l <<_ACEOF
4967 %%
4968 a { ECHO; }
4969 b { REJECT; }
4970 c { yymore (); }
4971 d { yyless (1); }
4972 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
4973 yyless ((input () != 0)); }
4974 f { unput (yytext[0]); }
4975 . { BEGIN INITIAL; }
4976 %%
4977 #ifdef YYTEXT_POINTER
4978 extern char *yytext;
4979 #endif
4980 int
4981 main (void)
4982 {
4983 return ! yylex () + ! yywrap ();
4984 }
4985 _ACEOF
4986 { { ac_try="$LEX conftest.l"
4987 case "(($ac_try" in
4988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4989 *) ac_try_echo=$ac_try;;
4990 esac
4991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4992 $as_echo "$ac_try_echo"; } >&5
4993 (eval "$LEX conftest.l") 2>&5
4994 ac_status=$?
4995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4996 test $ac_status = 0; }
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4998 $as_echo_n "checking lex output file root... " >&6; }
4999 if ${ac_cv_prog_lex_root+:} false; then :
5000 $as_echo_n "(cached) " >&6
5001 else
5002
5003 if test -f lex.yy.c; then
5004 ac_cv_prog_lex_root=lex.yy
5005 elif test -f lexyy.c; then
5006 ac_cv_prog_lex_root=lexyy
5007 else
5008 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
5009 fi
5010 fi
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5012 $as_echo "$ac_cv_prog_lex_root" >&6; }
5013 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5014
5015 if test -z "${LEXLIB+set}"; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5017 $as_echo_n "checking lex library... " >&6; }
5018 if ${ac_cv_lib_lex+:} false; then :
5019 $as_echo_n "(cached) " >&6
5020 else
5021
5022 ac_save_LIBS=$LIBS
5023 ac_cv_lib_lex='none needed'
5024 for ac_lib in '' -lfl -ll; do
5025 LIBS="$ac_lib $ac_save_LIBS"
5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h. */
5028 `cat $LEX_OUTPUT_ROOT.c`
5029 _ACEOF
5030 if ac_fn_cxx_try_link "$LINENO"; then :
5031 ac_cv_lib_lex=$ac_lib
5032 fi
5033 rm -f core conftest.err conftest.$ac_objext \
5034 conftest$ac_exeext conftest.$ac_ext
5035 test "$ac_cv_lib_lex" != 'none needed' && break
5036 done
5037 LIBS=$ac_save_LIBS
5038
5039 fi
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5041 $as_echo "$ac_cv_lib_lex" >&6; }
5042 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5043 fi
5044
5045
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5047 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5048 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
5049 $as_echo_n "(cached) " >&6
5050 else
5051 # POSIX says lex can declare yytext either as a pointer or an array; the
5052 # default is implementation-dependent. Figure out which it is, since
5053 # not all implementations provide the %pointer and %array declarations.
5054 ac_cv_prog_lex_yytext_pointer=no
5055 ac_save_LIBS=$LIBS
5056 LIBS="$LEXLIB $ac_save_LIBS"
5057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5059
5060 #define YYTEXT_POINTER 1
5061 `cat $LEX_OUTPUT_ROOT.c`
5062 _ACEOF
5063 if ac_fn_cxx_try_link "$LINENO"; then :
5064 ac_cv_prog_lex_yytext_pointer=yes
5065 fi
5066 rm -f core conftest.err conftest.$ac_objext \
5067 conftest$ac_exeext conftest.$ac_ext
5068 LIBS=$ac_save_LIBS
5069
5070 fi
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5072 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5073 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5074
5075 $as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h
5076
5077 fi
5078 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5079
5080 fi
5081 if test "$LEX" = :; then
5082 LEX=${am_missing_run}flex
5083 fi
5084 for ac_prog in 'bison -y' byacc
5085 do
5086 # Extract the first word of "$ac_prog", so it can be a program name with args.
5087 set dummy $ac_prog; ac_word=$2
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5089 $as_echo_n "checking for $ac_word... " >&6; }
5090 if ${ac_cv_prog_YACC+:} false; then :
5091 $as_echo_n "(cached) " >&6
5092 else
5093 if test -n "$YACC"; then
5094 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5095 else
5096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5097 for as_dir in $PATH
5098 do
5099 IFS=$as_save_IFS
5100 test -z "$as_dir" && as_dir=.
5101 for ac_exec_ext in '' $ac_executable_extensions; do
5102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5103 ac_cv_prog_YACC="$ac_prog"
5104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 break 2
5106 fi
5107 done
5108 done
5109 IFS=$as_save_IFS
5110
5111 fi
5112 fi
5113 YACC=$ac_cv_prog_YACC
5114 if test -n "$YACC"; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5116 $as_echo "$YACC" >&6; }
5117 else
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5120 fi
5121
5122
5123 test -n "$YACC" && break
5124 done
5125 test -n "$YACC" || YACC="yacc"
5126
5127
5128 case `pwd` in
5129 *\ * | *\ *)
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5131 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5132 esac
5133
5134
5135
5136 macro_version='2.2.6b'
5137 macro_revision='1.3017'
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151 ltmain="$ac_aux_dir/ltmain.sh"
5152
5153 # Make sure we can run config.sub.
5154 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5155 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5156
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5158 $as_echo_n "checking build system type... " >&6; }
5159 if ${ac_cv_build+:} false; then :
5160 $as_echo_n "(cached) " >&6
5161 else
5162 ac_build_alias=$build_alias
5163 test "x$ac_build_alias" = x &&
5164 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5165 test "x$ac_build_alias" = x &&
5166 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5167 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5168 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5169
5170 fi
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5172 $as_echo "$ac_cv_build" >&6; }
5173 case $ac_cv_build in
5174 *-*-*) ;;
5175 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5176 esac
5177 build=$ac_cv_build
5178 ac_save_IFS=$IFS; IFS='-'
5179 set x $ac_cv_build
5180 shift
5181 build_cpu=$1
5182 build_vendor=$2
5183 shift; shift
5184 # Remember, the first character of IFS is used to create $*,
5185 # except with old shells:
5186 build_os=$*
5187 IFS=$ac_save_IFS
5188 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5189
5190
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5192 $as_echo_n "checking host system type... " >&6; }
5193 if ${ac_cv_host+:} false; then :
5194 $as_echo_n "(cached) " >&6
5195 else
5196 if test "x$host_alias" = x; then
5197 ac_cv_host=$ac_cv_build
5198 else
5199 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5200 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5201 fi
5202
5203 fi
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5205 $as_echo "$ac_cv_host" >&6; }
5206 case $ac_cv_host in
5207 *-*-*) ;;
5208 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5209 esac
5210 host=$ac_cv_host
5211 ac_save_IFS=$IFS; IFS='-'
5212 set x $ac_cv_host
5213 shift
5214 host_cpu=$1
5215 host_vendor=$2
5216 shift; shift
5217 # Remember, the first character of IFS is used to create $*,
5218 # except with old shells:
5219 host_os=$*
5220 IFS=$ac_save_IFS
5221 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5222
5223
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5225 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5226 if ${ac_cv_path_SED+:} false; then :
5227 $as_echo_n "(cached) " >&6
5228 else
5229 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5230 for ac_i in 1 2 3 4 5 6 7; do
5231 ac_script="$ac_script$as_nl$ac_script"
5232 done
5233 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5234 { ac_script=; unset ac_script;}
5235 if test -z "$SED"; then
5236 ac_path_SED_found=false
5237 # Loop through the user's path and test for each of PROGNAME-LIST
5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 for as_dir in $PATH
5240 do
5241 IFS=$as_save_IFS
5242 test -z "$as_dir" && as_dir=.
5243 for ac_prog in sed gsed; do
5244 for ac_exec_ext in '' $ac_executable_extensions; do
5245 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5246 as_fn_executable_p "$ac_path_SED" || continue
5247 # Check for GNU ac_path_SED and select it if it is found.
5248 # Check for GNU $ac_path_SED
5249 case `"$ac_path_SED" --version 2>&1` in
5250 *GNU*)
5251 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5252 *)
5253 ac_count=0
5254 $as_echo_n 0123456789 >"conftest.in"
5255 while :
5256 do
5257 cat "conftest.in" "conftest.in" >"conftest.tmp"
5258 mv "conftest.tmp" "conftest.in"
5259 cp "conftest.in" "conftest.nl"
5260 $as_echo '' >> "conftest.nl"
5261 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5262 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5263 as_fn_arith $ac_count + 1 && ac_count=$as_val
5264 if test $ac_count -gt ${ac_path_SED_max-0}; then
5265 # Best one so far, save it but keep looking for a better one
5266 ac_cv_path_SED="$ac_path_SED"
5267 ac_path_SED_max=$ac_count
5268 fi
5269 # 10*(2^10) chars as input seems more than enough
5270 test $ac_count -gt 10 && break
5271 done
5272 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5273 esac
5274
5275 $ac_path_SED_found && break 3
5276 done
5277 done
5278 done
5279 IFS=$as_save_IFS
5280 if test -z "$ac_cv_path_SED"; then
5281 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5282 fi
5283 else
5284 ac_cv_path_SED=$SED
5285 fi
5286
5287 fi
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5289 $as_echo "$ac_cv_path_SED" >&6; }
5290 SED="$ac_cv_path_SED"
5291 rm -f conftest.sed
5292
5293 test -z "$SED" && SED=sed
5294 Xsed="$SED -e 1s/^X//"
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5307 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5308 if ${ac_cv_path_GREP+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 if test -z "$GREP"; then
5312 ac_path_GREP_found=false
5313 # Loop through the user's path and test for each of PROGNAME-LIST
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5316 do
5317 IFS=$as_save_IFS
5318 test -z "$as_dir" && as_dir=.
5319 for ac_prog in grep ggrep; do
5320 for ac_exec_ext in '' $ac_executable_extensions; do
5321 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5322 as_fn_executable_p "$ac_path_GREP" || continue
5323 # Check for GNU ac_path_GREP and select it if it is found.
5324 # Check for GNU $ac_path_GREP
5325 case `"$ac_path_GREP" --version 2>&1` in
5326 *GNU*)
5327 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5328 *)
5329 ac_count=0
5330 $as_echo_n 0123456789 >"conftest.in"
5331 while :
5332 do
5333 cat "conftest.in" "conftest.in" >"conftest.tmp"
5334 mv "conftest.tmp" "conftest.in"
5335 cp "conftest.in" "conftest.nl"
5336 $as_echo 'GREP' >> "conftest.nl"
5337 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5338 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5339 as_fn_arith $ac_count + 1 && ac_count=$as_val
5340 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5341 # Best one so far, save it but keep looking for a better one
5342 ac_cv_path_GREP="$ac_path_GREP"
5343 ac_path_GREP_max=$ac_count
5344 fi
5345 # 10*(2^10) chars as input seems more than enough
5346 test $ac_count -gt 10 && break
5347 done
5348 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5349 esac
5350
5351 $ac_path_GREP_found && break 3
5352 done
5353 done
5354 done
5355 IFS=$as_save_IFS
5356 if test -z "$ac_cv_path_GREP"; then
5357 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5358 fi
5359 else
5360 ac_cv_path_GREP=$GREP
5361 fi
5362
5363 fi
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5365 $as_echo "$ac_cv_path_GREP" >&6; }
5366 GREP="$ac_cv_path_GREP"
5367
5368
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5370 $as_echo_n "checking for egrep... " >&6; }
5371 if ${ac_cv_path_EGREP+:} false; then :
5372 $as_echo_n "(cached) " >&6
5373 else
5374 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5375 then ac_cv_path_EGREP="$GREP -E"
5376 else
5377 if test -z "$EGREP"; then
5378 ac_path_EGREP_found=false
5379 # Loop through the user's path and test for each of PROGNAME-LIST
5380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5382 do
5383 IFS=$as_save_IFS
5384 test -z "$as_dir" && as_dir=.
5385 for ac_prog in egrep; do
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5388 as_fn_executable_p "$ac_path_EGREP" || continue
5389 # Check for GNU ac_path_EGREP and select it if it is found.
5390 # Check for GNU $ac_path_EGREP
5391 case `"$ac_path_EGREP" --version 2>&1` in
5392 *GNU*)
5393 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5394 *)
5395 ac_count=0
5396 $as_echo_n 0123456789 >"conftest.in"
5397 while :
5398 do
5399 cat "conftest.in" "conftest.in" >"conftest.tmp"
5400 mv "conftest.tmp" "conftest.in"
5401 cp "conftest.in" "conftest.nl"
5402 $as_echo 'EGREP' >> "conftest.nl"
5403 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5404 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5405 as_fn_arith $ac_count + 1 && ac_count=$as_val
5406 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5407 # Best one so far, save it but keep looking for a better one
5408 ac_cv_path_EGREP="$ac_path_EGREP"
5409 ac_path_EGREP_max=$ac_count
5410 fi
5411 # 10*(2^10) chars as input seems more than enough
5412 test $ac_count -gt 10 && break
5413 done
5414 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5415 esac
5416
5417 $ac_path_EGREP_found && break 3
5418 done
5419 done
5420 done
5421 IFS=$as_save_IFS
5422 if test -z "$ac_cv_path_EGREP"; then
5423 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5424 fi
5425 else
5426 ac_cv_path_EGREP=$EGREP
5427 fi
5428
5429 fi
5430 fi
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5432 $as_echo "$ac_cv_path_EGREP" >&6; }
5433 EGREP="$ac_cv_path_EGREP"
5434
5435
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5437 $as_echo_n "checking for fgrep... " >&6; }
5438 if ${ac_cv_path_FGREP+:} false; then :
5439 $as_echo_n "(cached) " >&6
5440 else
5441 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5442 then ac_cv_path_FGREP="$GREP -F"
5443 else
5444 if test -z "$FGREP"; then
5445 ac_path_FGREP_found=false
5446 # Loop through the user's path and test for each of PROGNAME-LIST
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5449 do
5450 IFS=$as_save_IFS
5451 test -z "$as_dir" && as_dir=.
5452 for ac_prog in fgrep; do
5453 for ac_exec_ext in '' $ac_executable_extensions; do
5454 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5455 as_fn_executable_p "$ac_path_FGREP" || continue
5456 # Check for GNU ac_path_FGREP and select it if it is found.
5457 # Check for GNU $ac_path_FGREP
5458 case `"$ac_path_FGREP" --version 2>&1` in
5459 *GNU*)
5460 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5461 *)
5462 ac_count=0
5463 $as_echo_n 0123456789 >"conftest.in"
5464 while :
5465 do
5466 cat "conftest.in" "conftest.in" >"conftest.tmp"
5467 mv "conftest.tmp" "conftest.in"
5468 cp "conftest.in" "conftest.nl"
5469 $as_echo 'FGREP' >> "conftest.nl"
5470 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5471 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5472 as_fn_arith $ac_count + 1 && ac_count=$as_val
5473 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5474 # Best one so far, save it but keep looking for a better one
5475 ac_cv_path_FGREP="$ac_path_FGREP"
5476 ac_path_FGREP_max=$ac_count
5477 fi
5478 # 10*(2^10) chars as input seems more than enough
5479 test $ac_count -gt 10 && break
5480 done
5481 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5482 esac
5483
5484 $ac_path_FGREP_found && break 3
5485 done
5486 done
5487 done
5488 IFS=$as_save_IFS
5489 if test -z "$ac_cv_path_FGREP"; then
5490 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5491 fi
5492 else
5493 ac_cv_path_FGREP=$FGREP
5494 fi
5495
5496 fi
5497 fi
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5499 $as_echo "$ac_cv_path_FGREP" >&6; }
5500 FGREP="$ac_cv_path_FGREP"
5501
5502
5503 test -z "$GREP" && GREP=grep
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523 @%:@ Check whether --with-gnu-ld was given.
5524 if test "${with_gnu_ld+set}" = set; then :
5525 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5526 else
5527 with_gnu_ld=no
5528 fi
5529
5530 ac_prog=ld
5531 if test "$GCC" = yes; then
5532 # Check if gcc -print-prog-name=ld gives a path.
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5534 $as_echo_n "checking for ld used by $CC... " >&6; }
5535 case $host in
5536 *-*-mingw*)
5537 # gcc leaves a trailing carriage return which upsets mingw
5538 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5539 *)
5540 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5541 esac
5542 case $ac_prog in
5543 # Accept absolute paths.
5544 [\\/]* | ?:[\\/]*)
5545 re_direlt='/[^/][^/]*/\.\./'
5546 # Canonicalize the pathname of ld
5547 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5548 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5549 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5550 done
5551 test -z "$LD" && LD="$ac_prog"
5552 ;;
5553 "")
5554 # If it fails, then pretend we aren't using GCC.
5555 ac_prog=ld
5556 ;;
5557 *)
5558 # If it is relative, then search for the first ld in PATH.
5559 with_gnu_ld=unknown
5560 ;;
5561 esac
5562 elif test "$with_gnu_ld" = yes; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5564 $as_echo_n "checking for GNU ld... " >&6; }
5565 else
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5567 $as_echo_n "checking for non-GNU ld... " >&6; }
5568 fi
5569 if ${lt_cv_path_LD+:} false; then :
5570 $as_echo_n "(cached) " >&6
5571 else
5572 if test -z "$LD"; then
5573 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5574 for ac_dir in $PATH; do
5575 IFS="$lt_save_ifs"
5576 test -z "$ac_dir" && ac_dir=.
5577 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5578 lt_cv_path_LD="$ac_dir/$ac_prog"
5579 # Check to see if the program is GNU ld. I'd rather use --version,
5580 # but apparently some variants of GNU ld only accept -v.
5581 # Break only if it was the GNU/non-GNU ld that we prefer.
5582 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5583 *GNU* | *'with BFD'*)
5584 test "$with_gnu_ld" != no && break
5585 ;;
5586 *)
5587 test "$with_gnu_ld" != yes && break
5588 ;;
5589 esac
5590 fi
5591 done
5592 IFS="$lt_save_ifs"
5593 else
5594 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5595 fi
5596 fi
5597
5598 LD="$lt_cv_path_LD"
5599 if test -n "$LD"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5601 $as_echo "$LD" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5605 fi
5606 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5608 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5609 if ${lt_cv_prog_gnu_ld+:} false; then :
5610 $as_echo_n "(cached) " >&6
5611 else
5612 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5613 case `$LD -v 2>&1 </dev/null` in
5614 *GNU* | *'with BFD'*)
5615 lt_cv_prog_gnu_ld=yes
5616 ;;
5617 *)
5618 lt_cv_prog_gnu_ld=no
5619 ;;
5620 esac
5621 fi
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5623 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5624 with_gnu_ld=$lt_cv_prog_gnu_ld
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5635 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5636 if ${lt_cv_path_NM+:} false; then :
5637 $as_echo_n "(cached) " >&6
5638 else
5639 if test -n "$NM"; then
5640 # Let the user override the test.
5641 lt_cv_path_NM="$NM"
5642 else
5643 lt_nm_to_check="${ac_tool_prefix}nm"
5644 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5645 lt_nm_to_check="$lt_nm_to_check nm"
5646 fi
5647 for lt_tmp_nm in $lt_nm_to_check; do
5648 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5649 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5650 IFS="$lt_save_ifs"
5651 test -z "$ac_dir" && ac_dir=.
5652 tmp_nm="$ac_dir/$lt_tmp_nm"
5653 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5654 # Check to see if the nm accepts a BSD-compat flag.
5655 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5656 # nm: unknown option "B" ignored
5657 # Tru64's nm complains that /dev/null is an invalid object file
5658 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5659 */dev/null* | *'Invalid file or object type'*)
5660 lt_cv_path_NM="$tmp_nm -B"
5661 break
5662 ;;
5663 *)
5664 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5665 */dev/null*)
5666 lt_cv_path_NM="$tmp_nm -p"
5667 break
5668 ;;
5669 *)
5670 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5671 continue # so that we can try to find one that supports BSD flags
5672 ;;
5673 esac
5674 ;;
5675 esac
5676 fi
5677 done
5678 IFS="$lt_save_ifs"
5679 done
5680 : ${lt_cv_path_NM=no}
5681 fi
5682 fi
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5684 $as_echo "$lt_cv_path_NM" >&6; }
5685 if test "$lt_cv_path_NM" != "no"; then
5686 NM="$lt_cv_path_NM"
5687 else
5688 # Didn't find any BSD compatible name lister, look for dumpbin.
5689 if test -n "$ac_tool_prefix"; then
5690 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5691 do
5692 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5693 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_prog_DUMPBIN+:} false; then :
5697 $as_echo_n "(cached) " >&6
5698 else
5699 if test -n "$DUMPBIN"; then
5700 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5701 else
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 for as_dir in $PATH
5704 do
5705 IFS=$as_save_IFS
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 break 2
5712 fi
5713 done
5714 done
5715 IFS=$as_save_IFS
5716
5717 fi
5718 fi
5719 DUMPBIN=$ac_cv_prog_DUMPBIN
5720 if test -n "$DUMPBIN"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5722 $as_echo "$DUMPBIN" >&6; }
5723 else
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5726 fi
5727
5728
5729 test -n "$DUMPBIN" && break
5730 done
5731 fi
5732 if test -z "$DUMPBIN"; then
5733 ac_ct_DUMPBIN=$DUMPBIN
5734 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5735 do
5736 # Extract the first word of "$ac_prog", so it can be a program name with args.
5737 set dummy $ac_prog; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5741 $as_echo_n "(cached) " >&6
5742 else
5743 if test -n "$ac_ct_DUMPBIN"; then
5744 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5745 else
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 for as_dir in $PATH
5748 do
5749 IFS=$as_save_IFS
5750 test -z "$as_dir" && as_dir=.
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 break 2
5756 fi
5757 done
5758 done
5759 IFS=$as_save_IFS
5760
5761 fi
5762 fi
5763 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5764 if test -n "$ac_ct_DUMPBIN"; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5766 $as_echo "$ac_ct_DUMPBIN" >&6; }
5767 else
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5770 fi
5771
5772
5773 test -n "$ac_ct_DUMPBIN" && break
5774 done
5775
5776 if test "x$ac_ct_DUMPBIN" = x; then
5777 DUMPBIN=":"
5778 else
5779 case $cross_compiling:$ac_tool_warned in
5780 yes:)
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5783 ac_tool_warned=yes ;;
5784 esac
5785 DUMPBIN=$ac_ct_DUMPBIN
5786 fi
5787 fi
5788
5789
5790 if test "$DUMPBIN" != ":"; then
5791 NM="$DUMPBIN"
5792 fi
5793 fi
5794 test -z "$NM" && NM=nm
5795
5796
5797
5798
5799
5800
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5802 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5803 if ${lt_cv_nm_interface+:} false; then :
5804 $as_echo_n "(cached) " >&6
5805 else
5806 lt_cv_nm_interface="BSD nm"
5807 echo "int some_variable = 0;" > conftest.$ac_ext
5808 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
5809 (eval "$ac_compile" 2>conftest.err)
5810 cat conftest.err >&5
5811 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5812 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5813 cat conftest.err >&5
5814 (eval echo "\"\$as_me:__oline__: output\"" >&5)
5815 cat conftest.out >&5
5816 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5817 lt_cv_nm_interface="MS dumpbin"
5818 fi
5819 rm -f conftest*
5820 fi
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5822 $as_echo "$lt_cv_nm_interface" >&6; }
5823
5824 # find the maximum length of command line arguments
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5826 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5827 if ${lt_cv_sys_max_cmd_len+:} false; then :
5828 $as_echo_n "(cached) " >&6
5829 else
5830 i=0
5831 teststring="ABCD"
5832
5833 case $build_os in
5834 msdosdjgpp*)
5835 # On DJGPP, this test can blow up pretty badly due to problems in libc
5836 # (any single argument exceeding 2000 bytes causes a buffer overrun
5837 # during glob expansion). Even if it were fixed, the result of this
5838 # check would be larger than it should be.
5839 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5840 ;;
5841
5842 gnu*)
5843 # Under GNU Hurd, this test is not required because there is
5844 # no limit to the length of command line arguments.
5845 # Libtool will interpret -1 as no limit whatsoever
5846 lt_cv_sys_max_cmd_len=-1;
5847 ;;
5848
5849 cygwin* | mingw* | cegcc*)
5850 # On Win9x/ME, this test blows up -- it succeeds, but takes
5851 # about 5 minutes as the teststring grows exponentially.
5852 # Worse, since 9x/ME are not pre-emptively multitasking,
5853 # you end up with a "frozen" computer, even though with patience
5854 # the test eventually succeeds (with a max line length of 256k).
5855 # Instead, let's just punt: use the minimum linelength reported by
5856 # all of the supported platforms: 8192 (on NT/2K/XP).
5857 lt_cv_sys_max_cmd_len=8192;
5858 ;;
5859
5860 amigaos*)
5861 # On AmigaOS with pdksh, this test takes hours, literally.
5862 # So we just punt and use a minimum line length of 8192.
5863 lt_cv_sys_max_cmd_len=8192;
5864 ;;
5865
5866 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5867 # This has been around since 386BSD, at least. Likely further.
5868 if test -x /sbin/sysctl; then
5869 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5870 elif test -x /usr/sbin/sysctl; then
5871 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5872 else
5873 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5874 fi
5875 # And add a safety zone
5876 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5877 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5878 ;;
5879
5880 interix*)
5881 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5882 lt_cv_sys_max_cmd_len=196608
5883 ;;
5884
5885 osf*)
5886 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5887 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5888 # nice to cause kernel panics so lets avoid the loop below.
5889 # First set a reasonable default.
5890 lt_cv_sys_max_cmd_len=16384
5891 #
5892 if test -x /sbin/sysconfig; then
5893 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5894 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5895 esac
5896 fi
5897 ;;
5898 sco3.2v5*)
5899 lt_cv_sys_max_cmd_len=102400
5900 ;;
5901 sysv5* | sco5v6* | sysv4.2uw2*)
5902 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5903 if test -n "$kargmax"; then
5904 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5905 else
5906 lt_cv_sys_max_cmd_len=32768
5907 fi
5908 ;;
5909 *)
5910 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5911 if test -n "$lt_cv_sys_max_cmd_len"; then
5912 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5914 else
5915 # Make teststring a little bigger before we do anything with it.
5916 # a 1K string should be a reasonable start.
5917 for i in 1 2 3 4 5 6 7 8 ; do
5918 teststring=$teststring$teststring
5919 done
5920 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5921 # If test is not a shell built-in, we'll probably end up computing a
5922 # maximum length that is only half of the actual maximum length, but
5923 # we can't tell.
5924 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5925 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5926 test $i != 17 # 1/2 MB should be enough
5927 do
5928 i=`expr $i + 1`
5929 teststring=$teststring$teststring
5930 done
5931 # Only check the string length outside the loop.
5932 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5933 teststring=
5934 # Add a significant safety factor because C++ compilers can tack on
5935 # massive amounts of additional arguments before passing them to the
5936 # linker. It appears as though 1/2 is a usable value.
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5938 fi
5939 ;;
5940 esac
5941
5942 fi
5943
5944 if test -n $lt_cv_sys_max_cmd_len ; then
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5946 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5947 else
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5949 $as_echo "none" >&6; }
5950 fi
5951 max_cmd_len=$lt_cv_sys_max_cmd_len
5952
5953
5954
5955
5956
5957
5958 : ${CP="cp -f"}
5959 : ${MV="mv -f"}
5960 : ${RM="rm -f"}
5961
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5963 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5964 # Try some XSI features
5965 xsi_shell=no
5966 ( _lt_dummy="a/b/c"
5967 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5968 = c,a/b,, \
5969 && eval 'test $(( 1 + 1 )) -eq 2 \
5970 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5971 && xsi_shell=yes
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5973 $as_echo "$xsi_shell" >&6; }
5974
5975
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5977 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5978 lt_shell_append=no
5979 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5980 >/dev/null 2>&1 \
5981 && lt_shell_append=yes
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5983 $as_echo "$lt_shell_append" >&6; }
5984
5985
5986 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5987 lt_unset=unset
5988 else
5989 lt_unset=false
5990 fi
5991
5992
5993
5994
5995
5996 # test EBCDIC or ASCII
5997 case `echo X|tr X '\101'` in
5998 A) # ASCII based system
5999 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6000 lt_SP2NL='tr \040 \012'
6001 lt_NL2SP='tr \015\012 \040\040'
6002 ;;
6003 *) # EBCDIC based system
6004 lt_SP2NL='tr \100 \n'
6005 lt_NL2SP='tr \r\n \100\100'
6006 ;;
6007 esac
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6018 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6019 if ${lt_cv_ld_reload_flag+:} false; then :
6020 $as_echo_n "(cached) " >&6
6021 else
6022 lt_cv_ld_reload_flag='-r'
6023 fi
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6025 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6026 reload_flag=$lt_cv_ld_reload_flag
6027 case $reload_flag in
6028 "" | " "*) ;;
6029 *) reload_flag=" $reload_flag" ;;
6030 esac
6031 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6032 case $host_os in
6033 darwin*)
6034 if test "$GCC" = yes; then
6035 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6036 else
6037 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6038 fi
6039 ;;
6040 esac
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050 if test -n "$ac_tool_prefix"; then
6051 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6052 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; }
6055 if ${ac_cv_prog_OBJDUMP+:} false; then :
6056 $as_echo_n "(cached) " >&6
6057 else
6058 if test -n "$OBJDUMP"; then
6059 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6060 else
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 for as_dir in $PATH
6063 do
6064 IFS=$as_save_IFS
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6070 break 2
6071 fi
6072 done
6073 done
6074 IFS=$as_save_IFS
6075
6076 fi
6077 fi
6078 OBJDUMP=$ac_cv_prog_OBJDUMP
6079 if test -n "$OBJDUMP"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6081 $as_echo "$OBJDUMP" >&6; }
6082 else
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 $as_echo "no" >&6; }
6085 fi
6086
6087
6088 fi
6089 if test -z "$ac_cv_prog_OBJDUMP"; then
6090 ac_ct_OBJDUMP=$OBJDUMP
6091 # Extract the first word of "objdump", so it can be a program name with args.
6092 set dummy objdump; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 $as_echo_n "checking for $ac_word... " >&6; }
6095 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6096 $as_echo_n "(cached) " >&6
6097 else
6098 if test -n "$ac_ct_OBJDUMP"; then
6099 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6100 else
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 for as_dir in $PATH
6103 do
6104 IFS=$as_save_IFS
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 break 2
6111 fi
6112 done
6113 done
6114 IFS=$as_save_IFS
6115
6116 fi
6117 fi
6118 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6119 if test -n "$ac_ct_OBJDUMP"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6121 $as_echo "$ac_ct_OBJDUMP" >&6; }
6122 else
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6125 fi
6126
6127 if test "x$ac_ct_OBJDUMP" = x; then
6128 OBJDUMP="false"
6129 else
6130 case $cross_compiling:$ac_tool_warned in
6131 yes:)
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6134 ac_tool_warned=yes ;;
6135 esac
6136 OBJDUMP=$ac_ct_OBJDUMP
6137 fi
6138 else
6139 OBJDUMP="$ac_cv_prog_OBJDUMP"
6140 fi
6141
6142 test -z "$OBJDUMP" && OBJDUMP=objdump
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6153 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6154 if ${lt_cv_deplibs_check_method+:} false; then :
6155 $as_echo_n "(cached) " >&6
6156 else
6157 lt_cv_file_magic_cmd='$MAGIC_CMD'
6158 lt_cv_file_magic_test_file=
6159 lt_cv_deplibs_check_method='unknown'
6160 # Need to set the preceding variable on all platforms that support
6161 # interlibrary dependencies.
6162 # 'none' -- dependencies not supported.
6163 # `unknown' -- same as none, but documents that we really don't know.
6164 # 'pass_all' -- all dependencies passed with no checks.
6165 # 'test_compile' -- check by making test program.
6166 # 'file_magic [[regex]]' -- check by looking for files in library path
6167 # which responds to the $file_magic_cmd with a given extended regex.
6168 # If you have `file' or equivalent on your system and you're not sure
6169 # whether `pass_all' will *always* work, you probably want this one.
6170
6171 case $host_os in
6172 aix[4-9]*)
6173 lt_cv_deplibs_check_method=pass_all
6174 ;;
6175
6176 beos*)
6177 lt_cv_deplibs_check_method=pass_all
6178 ;;
6179
6180 bsdi[45]*)
6181 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6182 lt_cv_file_magic_cmd='/usr/bin/file -L'
6183 lt_cv_file_magic_test_file=/shlib/libc.so
6184 ;;
6185
6186 cygwin*)
6187 # func_win32_libid is a shell function defined in ltmain.sh
6188 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6189 lt_cv_file_magic_cmd='func_win32_libid'
6190 ;;
6191
6192 mingw* | pw32*)
6193 # Base MSYS/MinGW do not provide the 'file' command needed by
6194 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6195 # unless we find 'file', for example because we are cross-compiling.
6196 if ( file / ) >/dev/null 2>&1; then
6197 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6198 lt_cv_file_magic_cmd='func_win32_libid'
6199 else
6200 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6201 lt_cv_file_magic_cmd='$OBJDUMP -f'
6202 fi
6203 ;;
6204
6205 cegcc)
6206 # use the weaker test based on 'objdump'. See mingw*.
6207 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6208 lt_cv_file_magic_cmd='$OBJDUMP -f'
6209 ;;
6210
6211 darwin* | rhapsody*)
6212 lt_cv_deplibs_check_method=pass_all
6213 ;;
6214
6215 freebsd* | dragonfly*)
6216 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6217 case $host_cpu in
6218 i*86 )
6219 # Not sure whether the presence of OpenBSD here was a mistake.
6220 # Let's accept both of them until this is cleared up.
6221 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6222 lt_cv_file_magic_cmd=/usr/bin/file
6223 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6224 ;;
6225 esac
6226 else
6227 lt_cv_deplibs_check_method=pass_all
6228 fi
6229 ;;
6230
6231 gnu*)
6232 lt_cv_deplibs_check_method=pass_all
6233 ;;
6234
6235 hpux10.20* | hpux11*)
6236 lt_cv_file_magic_cmd=/usr/bin/file
6237 case $host_cpu in
6238 ia64*)
6239 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6240 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6241 ;;
6242 hppa*64*)
6243 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6244 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6245 ;;
6246 *)
6247 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6248 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6249 ;;
6250 esac
6251 ;;
6252
6253 interix[3-9]*)
6254 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6255 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6256 ;;
6257
6258 irix5* | irix6* | nonstopux*)
6259 case $LD in
6260 *-32|*"-32 ") libmagic=32-bit;;
6261 *-n32|*"-n32 ") libmagic=N32;;
6262 *-64|*"-64 ") libmagic=64-bit;;
6263 *) libmagic=never-match;;
6264 esac
6265 lt_cv_deplibs_check_method=pass_all
6266 ;;
6267
6268 # This must be Linux ELF.
6269 linux* | k*bsd*-gnu)
6270 lt_cv_deplibs_check_method=pass_all
6271 ;;
6272
6273 netbsd*)
6274 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6275 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6276 else
6277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6278 fi
6279 ;;
6280
6281 newos6*)
6282 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6283 lt_cv_file_magic_cmd=/usr/bin/file
6284 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6285 ;;
6286
6287 *nto* | *qnx*)
6288 lt_cv_deplibs_check_method=pass_all
6289 ;;
6290
6291 openbsd*)
6292 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6294 else
6295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6296 fi
6297 ;;
6298
6299 osf3* | osf4* | osf5*)
6300 lt_cv_deplibs_check_method=pass_all
6301 ;;
6302
6303 rdos*)
6304 lt_cv_deplibs_check_method=pass_all
6305 ;;
6306
6307 solaris*)
6308 lt_cv_deplibs_check_method=pass_all
6309 ;;
6310
6311 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6312 lt_cv_deplibs_check_method=pass_all
6313 ;;
6314
6315 sysv4 | sysv4.3*)
6316 case $host_vendor in
6317 motorola)
6318 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]'
6319 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6320 ;;
6321 ncr)
6322 lt_cv_deplibs_check_method=pass_all
6323 ;;
6324 sequent)
6325 lt_cv_file_magic_cmd='/bin/file'
6326 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6327 ;;
6328 sni)
6329 lt_cv_file_magic_cmd='/bin/file'
6330 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6331 lt_cv_file_magic_test_file=/lib/libc.so
6332 ;;
6333 siemens)
6334 lt_cv_deplibs_check_method=pass_all
6335 ;;
6336 pc)
6337 lt_cv_deplibs_check_method=pass_all
6338 ;;
6339 esac
6340 ;;
6341
6342 tpf*)
6343 lt_cv_deplibs_check_method=pass_all
6344 ;;
6345 esac
6346
6347 fi
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6349 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6350 file_magic_cmd=$lt_cv_file_magic_cmd
6351 deplibs_check_method=$lt_cv_deplibs_check_method
6352 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365 if test -n "$ac_tool_prefix"; then
6366 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6367 set dummy ${ac_tool_prefix}ar; ac_word=$2
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6369 $as_echo_n "checking for $ac_word... " >&6; }
6370 if ${ac_cv_prog_AR+:} false; then :
6371 $as_echo_n "(cached) " >&6
6372 else
6373 if test -n "$AR"; then
6374 ac_cv_prog_AR="$AR" # Let the user override the test.
6375 else
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6377 for as_dir in $PATH
6378 do
6379 IFS=$as_save_IFS
6380 test -z "$as_dir" && as_dir=.
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6383 ac_cv_prog_AR="${ac_tool_prefix}ar"
6384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6385 break 2
6386 fi
6387 done
6388 done
6389 IFS=$as_save_IFS
6390
6391 fi
6392 fi
6393 AR=$ac_cv_prog_AR
6394 if test -n "$AR"; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6396 $as_echo "$AR" >&6; }
6397 else
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6399 $as_echo "no" >&6; }
6400 fi
6401
6402
6403 fi
6404 if test -z "$ac_cv_prog_AR"; then
6405 ac_ct_AR=$AR
6406 # Extract the first word of "ar", so it can be a program name with args.
6407 set dummy ar; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6411 $as_echo_n "(cached) " >&6
6412 else
6413 if test -n "$ac_ct_AR"; then
6414 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6415 else
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in $PATH
6418 do
6419 IFS=$as_save_IFS
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6423 ac_cv_prog_ac_ct_AR="ar"
6424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425 break 2
6426 fi
6427 done
6428 done
6429 IFS=$as_save_IFS
6430
6431 fi
6432 fi
6433 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6434 if test -n "$ac_ct_AR"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6436 $as_echo "$ac_ct_AR" >&6; }
6437 else
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6440 fi
6441
6442 if test "x$ac_ct_AR" = x; then
6443 AR="false"
6444 else
6445 case $cross_compiling:$ac_tool_warned in
6446 yes:)
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6449 ac_tool_warned=yes ;;
6450 esac
6451 AR=$ac_ct_AR
6452 fi
6453 else
6454 AR="$ac_cv_prog_AR"
6455 fi
6456
6457 test -z "$AR" && AR=ar
6458 test -z "$AR_FLAGS" && AR_FLAGS=cru
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470 if test -n "$ac_tool_prefix"; then
6471 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6472 set dummy ${ac_tool_prefix}strip; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_STRIP+:} false; then :
6476 $as_echo_n "(cached) " >&6
6477 else
6478 if test -n "$STRIP"; then
6479 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6480 else
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 for as_dir in $PATH
6483 do
6484 IFS=$as_save_IFS
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 break 2
6491 fi
6492 done
6493 done
6494 IFS=$as_save_IFS
6495
6496 fi
6497 fi
6498 STRIP=$ac_cv_prog_STRIP
6499 if test -n "$STRIP"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6501 $as_echo "$STRIP" >&6; }
6502 else
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6505 fi
6506
6507
6508 fi
6509 if test -z "$ac_cv_prog_STRIP"; then
6510 ac_ct_STRIP=$STRIP
6511 # Extract the first word of "strip", so it can be a program name with args.
6512 set dummy strip; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6516 $as_echo_n "(cached) " >&6
6517 else
6518 if test -n "$ac_ct_STRIP"; then
6519 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6523 do
6524 IFS=$as_save_IFS
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6528 ac_cv_prog_ac_ct_STRIP="strip"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 break 2
6531 fi
6532 done
6533 done
6534 IFS=$as_save_IFS
6535
6536 fi
6537 fi
6538 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6539 if test -n "$ac_ct_STRIP"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6541 $as_echo "$ac_ct_STRIP" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6545 fi
6546
6547 if test "x$ac_ct_STRIP" = x; then
6548 STRIP=":"
6549 else
6550 case $cross_compiling:$ac_tool_warned in
6551 yes:)
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6554 ac_tool_warned=yes ;;
6555 esac
6556 STRIP=$ac_ct_STRIP
6557 fi
6558 else
6559 STRIP="$ac_cv_prog_STRIP"
6560 fi
6561
6562 test -z "$STRIP" && STRIP=:
6563
6564
6565
6566
6567
6568
6569 if test -n "$ac_tool_prefix"; then
6570 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6571 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if ${ac_cv_prog_RANLIB+:} false; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$RANLIB"; then
6578 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6582 do
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6587 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6590 fi
6591 done
6592 done
6593 IFS=$as_save_IFS
6594
6595 fi
6596 fi
6597 RANLIB=$ac_cv_prog_RANLIB
6598 if test -n "$RANLIB"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6600 $as_echo "$RANLIB" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6604 fi
6605
6606
6607 fi
6608 if test -z "$ac_cv_prog_RANLIB"; then
6609 ac_ct_RANLIB=$RANLIB
6610 # Extract the first word of "ranlib", so it can be a program name with args.
6611 set dummy ranlib; ac_word=$2
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613 $as_echo_n "checking for $ac_word... " >&6; }
6614 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6617 if test -n "$ac_ct_RANLIB"; then
6618 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6619 else
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 for as_dir in $PATH
6622 do
6623 IFS=$as_save_IFS
6624 test -z "$as_dir" && as_dir=.
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6627 ac_cv_prog_ac_ct_RANLIB="ranlib"
6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 break 2
6630 fi
6631 done
6632 done
6633 IFS=$as_save_IFS
6634
6635 fi
6636 fi
6637 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6638 if test -n "$ac_ct_RANLIB"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6640 $as_echo "$ac_ct_RANLIB" >&6; }
6641 else
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6644 fi
6645
6646 if test "x$ac_ct_RANLIB" = x; then
6647 RANLIB=":"
6648 else
6649 case $cross_compiling:$ac_tool_warned in
6650 yes:)
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6653 ac_tool_warned=yes ;;
6654 esac
6655 RANLIB=$ac_ct_RANLIB
6656 fi
6657 else
6658 RANLIB="$ac_cv_prog_RANLIB"
6659 fi
6660
6661 test -z "$RANLIB" && RANLIB=:
6662
6663
6664
6665
6666
6667
6668 # Determine commands to create old-style static archives.
6669 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6670 old_postinstall_cmds='chmod 644 $oldlib'
6671 old_postuninstall_cmds=
6672
6673 if test -n "$RANLIB"; then
6674 case $host_os in
6675 openbsd*)
6676 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6677 ;;
6678 *)
6679 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6680 ;;
6681 esac
6682 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6683 fi
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718 # If no C compiler was specified, use CC.
6719 LTCC=${LTCC-"$CC"}
6720
6721 # If no C compiler flags were specified, use CFLAGS.
6722 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6723
6724 # Allow CC to be a program name with arguments.
6725 compiler=$CC
6726
6727
6728 # Check for command to grab the raw symbol name followed by C symbol from nm.
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6730 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6731 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6732 $as_echo_n "(cached) " >&6
6733 else
6734
6735 # These are sane defaults that work on at least a few old systems.
6736 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6737
6738 # Character class describing NM global symbol codes.
6739 symcode='[BCDEGRST]'
6740
6741 # Regexp to match symbols that can be accessed directly from C.
6742 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6743
6744 # Define system-specific variables.
6745 case $host_os in
6746 aix*)
6747 symcode='[BCDT]'
6748 ;;
6749 cygwin* | mingw* | pw32* | cegcc*)
6750 symcode='[ABCDGISTW]'
6751 ;;
6752 hpux*)
6753 if test "$host_cpu" = ia64; then
6754 symcode='[ABCDEGRST]'
6755 fi
6756 ;;
6757 irix* | nonstopux*)
6758 symcode='[BCDEGRST]'
6759 ;;
6760 osf*)
6761 symcode='[BCDEGQRST]'
6762 ;;
6763 solaris*)
6764 symcode='[BDRT]'
6765 ;;
6766 sco3.2v5*)
6767 symcode='[DT]'
6768 ;;
6769 sysv4.2uw2*)
6770 symcode='[DT]'
6771 ;;
6772 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6773 symcode='[ABDT]'
6774 ;;
6775 sysv4)
6776 symcode='[DFNSTU]'
6777 ;;
6778 esac
6779
6780 # If we're using GNU nm, then use its standard symbol codes.
6781 case `$NM -V 2>&1` in
6782 *GNU* | *'with BFD'*)
6783 symcode='[ABCDGIRSTW]' ;;
6784 esac
6785
6786 # Transform an extracted symbol line into a proper C declaration.
6787 # Some systems (esp. on ia64) link data and code symbols differently,
6788 # so use this general approach.
6789 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6790
6791 # Transform an extracted symbol line into symbol name and symbol address
6792 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6793 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'"
6794
6795 # Handle CRLF in mingw tool chain
6796 opt_cr=
6797 case $build_os in
6798 mingw*)
6799 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6800 ;;
6801 esac
6802
6803 # Try without a prefix underscore, then with it.
6804 for ac_symprfx in "" "_"; do
6805
6806 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6807 symxfrm="\\1 $ac_symprfx\\2 \\2"
6808
6809 # Write the raw and C identifiers.
6810 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6811 # Fake it for dumpbin and say T for any non-static function
6812 # and D for any global variable.
6813 # Also find C++ and __fastcall symbols from MSVC++,
6814 # which start with @ or ?.
6815 lt_cv_sys_global_symbol_pipe="$AWK '"\
6816 " {last_section=section; section=\$ 3};"\
6817 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6818 " \$ 0!~/External *\|/{next};"\
6819 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6820 " {if(hide[section]) next};"\
6821 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6822 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6823 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6824 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6825 " ' prfx=^$ac_symprfx"
6826 else
6827 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6828 fi
6829
6830 # Check to see that the pipe works correctly.
6831 pipe_works=no
6832
6833 rm -f conftest*
6834 cat > conftest.$ac_ext <<_LT_EOF
6835 #ifdef __cplusplus
6836 extern "C" {
6837 #endif
6838 char nm_test_var;
6839 void nm_test_func(void);
6840 void nm_test_func(void){}
6841 #ifdef __cplusplus
6842 }
6843 #endif
6844 int main(){nm_test_var='a';nm_test_func();return(0);}
6845 _LT_EOF
6846
6847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6848 (eval $ac_compile) 2>&5
6849 ac_status=$?
6850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6851 test $ac_status = 0; }; then
6852 # Now try to grab the symbols.
6853 nlist=conftest.nm
6854 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6855 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6856 ac_status=$?
6857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6858 test $ac_status = 0; } && test -s "$nlist"; then
6859 # Try sorting and uniquifying the output.
6860 if sort "$nlist" | uniq > "$nlist"T; then
6861 mv -f "$nlist"T "$nlist"
6862 else
6863 rm -f "$nlist"T
6864 fi
6865
6866 # Make sure that we snagged all the symbols we need.
6867 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6868 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6869 cat <<_LT_EOF > conftest.$ac_ext
6870 #ifdef __cplusplus
6871 extern "C" {
6872 #endif
6873
6874 _LT_EOF
6875 # Now generate the symbol file.
6876 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6877
6878 cat <<_LT_EOF >> conftest.$ac_ext
6879
6880 /* The mapping between symbol names and symbols. */
6881 const struct {
6882 const char *name;
6883 void *address;
6884 }
6885 lt__PROGRAM__LTX_preloaded_symbols[] =
6886 {
6887 { "@PROGRAM@", (void *) 0 },
6888 _LT_EOF
6889 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6890 cat <<\_LT_EOF >> conftest.$ac_ext
6891 {0, (void *) 0}
6892 };
6893
6894 /* This works around a problem in FreeBSD linker */
6895 #ifdef FREEBSD_WORKAROUND
6896 static const void *lt_preloaded_setup() {
6897 return lt__PROGRAM__LTX_preloaded_symbols;
6898 }
6899 #endif
6900
6901 #ifdef __cplusplus
6902 }
6903 #endif
6904 _LT_EOF
6905 # Now try linking the two files.
6906 mv conftest.$ac_objext conftstm.$ac_objext
6907 lt_save_LIBS="$LIBS"
6908 lt_save_CFLAGS="$CFLAGS"
6909 LIBS="conftstm.$ac_objext"
6910 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6912 (eval $ac_link) 2>&5
6913 ac_status=$?
6914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6915 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6916 pipe_works=yes
6917 fi
6918 LIBS="$lt_save_LIBS"
6919 CFLAGS="$lt_save_CFLAGS"
6920 else
6921 echo "cannot find nm_test_func in $nlist" >&5
6922 fi
6923 else
6924 echo "cannot find nm_test_var in $nlist" >&5
6925 fi
6926 else
6927 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6928 fi
6929 else
6930 echo "$progname: failed program was:" >&5
6931 cat conftest.$ac_ext >&5
6932 fi
6933 rm -rf conftest* conftst*
6934
6935 # Do not use the global_symbol_pipe unless it works.
6936 if test "$pipe_works" = yes; then
6937 break
6938 else
6939 lt_cv_sys_global_symbol_pipe=
6940 fi
6941 done
6942
6943 fi
6944
6945 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6946 lt_cv_sys_global_symbol_to_cdecl=
6947 fi
6948 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6950 $as_echo "failed" >&6; }
6951 else
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6953 $as_echo "ok" >&6; }
6954 fi
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978 @%:@ Check whether --enable-libtool-lock was given.
6979 if test "${enable_libtool_lock+set}" = set; then :
6980 enableval=$enable_libtool_lock;
6981 fi
6982
6983 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6984
6985 # Some flags need to be propagated to the compiler or linker for good
6986 # libtool support.
6987 case $host in
6988 ia64-*-hpux*)
6989 # Find out which ABI we are using.
6990 echo 'int i;' > conftest.$ac_ext
6991 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6992 (eval $ac_compile) 2>&5
6993 ac_status=$?
6994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6995 test $ac_status = 0; }; then
6996 case `/usr/bin/file conftest.$ac_objext` in
6997 *ELF-32*)
6998 HPUX_IA64_MODE="32"
6999 ;;
7000 *ELF-64*)
7001 HPUX_IA64_MODE="64"
7002 ;;
7003 esac
7004 fi
7005 rm -rf conftest*
7006 ;;
7007 *-*-irix6*)
7008 # Find out which ABI we are using.
7009 echo '#line __oline__ "configure"' > conftest.$ac_ext
7010 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7011 (eval $ac_compile) 2>&5
7012 ac_status=$?
7013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7014 test $ac_status = 0; }; then
7015 if test "$lt_cv_prog_gnu_ld" = yes; then
7016 case `/usr/bin/file conftest.$ac_objext` in
7017 *32-bit*)
7018 LD="${LD-ld} -melf32bsmip"
7019 ;;
7020 *N32*)
7021 LD="${LD-ld} -melf32bmipn32"
7022 ;;
7023 *64-bit*)
7024 LD="${LD-ld} -melf64bmip"
7025 ;;
7026 esac
7027 else
7028 case `/usr/bin/file conftest.$ac_objext` in
7029 *32-bit*)
7030 LD="${LD-ld} -32"
7031 ;;
7032 *N32*)
7033 LD="${LD-ld} -n32"
7034 ;;
7035 *64-bit*)
7036 LD="${LD-ld} -64"
7037 ;;
7038 esac
7039 fi
7040 fi
7041 rm -rf conftest*
7042 ;;
7043
7044 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7045 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7046 # Find out which ABI we are using.
7047 echo 'int i;' > conftest.$ac_ext
7048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7049 (eval $ac_compile) 2>&5
7050 ac_status=$?
7051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7052 test $ac_status = 0; }; then
7053 case `/usr/bin/file conftest.o` in
7054 *32-bit*)
7055 case $host in
7056 x86_64-*kfreebsd*-gnu)
7057 LD="${LD-ld} -m elf_i386_fbsd"
7058 ;;
7059 x86_64-*linux*)
7060 LD="${LD-ld} -m elf_i386"
7061 ;;
7062 ppc64-*linux*|powerpc64-*linux*)
7063 LD="${LD-ld} -m elf32ppclinux"
7064 ;;
7065 s390x-*linux*)
7066 LD="${LD-ld} -m elf_s390"
7067 ;;
7068 sparc64-*linux*)
7069 LD="${LD-ld} -m elf32_sparc"
7070 ;;
7071 esac
7072 ;;
7073 *64-bit*)
7074 case $host in
7075 x86_64-*kfreebsd*-gnu)
7076 LD="${LD-ld} -m elf_x86_64_fbsd"
7077 ;;
7078 x86_64-*linux*)
7079 LD="${LD-ld} -m elf_x86_64"
7080 ;;
7081 ppc*-*linux*|powerpc*-*linux*)
7082 LD="${LD-ld} -m elf64ppc"
7083 ;;
7084 s390*-*linux*|s390*-*tpf*)
7085 LD="${LD-ld} -m elf64_s390"
7086 ;;
7087 sparc*-*linux*)
7088 LD="${LD-ld} -m elf64_sparc"
7089 ;;
7090 esac
7091 ;;
7092 esac
7093 fi
7094 rm -rf conftest*
7095 ;;
7096
7097 *-*-sco3.2v5*)
7098 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7099 SAVE_CFLAGS="$CFLAGS"
7100 CFLAGS="$CFLAGS -belf"
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7102 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7103 if ${lt_cv_cc_needs_belf+:} false; then :
7104 $as_echo_n "(cached) " >&6
7105 else
7106 ac_ext=c
7107 ac_cpp='$CPP $CPPFLAGS'
7108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7111
7112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7113 /* end confdefs.h. */
7114
7115 int
7116 main ()
7117 {
7118
7119 ;
7120 return 0;
7121 }
7122 _ACEOF
7123 if ac_fn_c_try_link "$LINENO"; then :
7124 lt_cv_cc_needs_belf=yes
7125 else
7126 lt_cv_cc_needs_belf=no
7127 fi
7128 rm -f core conftest.err conftest.$ac_objext \
7129 conftest$ac_exeext conftest.$ac_ext
7130 ac_ext=c
7131 ac_cpp='$CPP $CPPFLAGS'
7132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7135
7136 fi
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7138 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7139 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7140 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7141 CFLAGS="$SAVE_CFLAGS"
7142 fi
7143 ;;
7144 sparc*-*solaris*)
7145 # Find out which ABI we are using.
7146 echo 'int i;' > conftest.$ac_ext
7147 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7148 (eval $ac_compile) 2>&5
7149 ac_status=$?
7150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7151 test $ac_status = 0; }; then
7152 case `/usr/bin/file conftest.o` in
7153 *64-bit*)
7154 case $lt_cv_prog_gnu_ld in
7155 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7156 *)
7157 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7158 LD="${LD-ld} -64"
7159 fi
7160 ;;
7161 esac
7162 ;;
7163 esac
7164 fi
7165 rm -rf conftest*
7166 ;;
7167 esac
7168
7169 need_locks="$enable_libtool_lock"
7170
7171
7172 case $host_os in
7173 rhapsody* | darwin*)
7174 if test -n "$ac_tool_prefix"; then
7175 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7176 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7178 $as_echo_n "checking for $ac_word... " >&6; }
7179 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7180 $as_echo_n "(cached) " >&6
7181 else
7182 if test -n "$DSYMUTIL"; then
7183 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7184 else
7185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7186 for as_dir in $PATH
7187 do
7188 IFS=$as_save_IFS
7189 test -z "$as_dir" && as_dir=.
7190 for ac_exec_ext in '' $ac_executable_extensions; do
7191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7192 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7194 break 2
7195 fi
7196 done
7197 done
7198 IFS=$as_save_IFS
7199
7200 fi
7201 fi
7202 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7203 if test -n "$DSYMUTIL"; then
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7205 $as_echo "$DSYMUTIL" >&6; }
7206 else
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 $as_echo "no" >&6; }
7209 fi
7210
7211
7212 fi
7213 if test -z "$ac_cv_prog_DSYMUTIL"; then
7214 ac_ct_DSYMUTIL=$DSYMUTIL
7215 # Extract the first word of "dsymutil", so it can be a program name with args.
7216 set dummy dsymutil; ac_word=$2
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7218 $as_echo_n "checking for $ac_word... " >&6; }
7219 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7220 $as_echo_n "(cached) " >&6
7221 else
7222 if test -n "$ac_ct_DSYMUTIL"; then
7223 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7224 else
7225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7226 for as_dir in $PATH
7227 do
7228 IFS=$as_save_IFS
7229 test -z "$as_dir" && as_dir=.
7230 for ac_exec_ext in '' $ac_executable_extensions; do
7231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7232 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 break 2
7235 fi
7236 done
7237 done
7238 IFS=$as_save_IFS
7239
7240 fi
7241 fi
7242 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7243 if test -n "$ac_ct_DSYMUTIL"; then
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7245 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7246 else
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7248 $as_echo "no" >&6; }
7249 fi
7250
7251 if test "x$ac_ct_DSYMUTIL" = x; then
7252 DSYMUTIL=":"
7253 else
7254 case $cross_compiling:$ac_tool_warned in
7255 yes:)
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7258 ac_tool_warned=yes ;;
7259 esac
7260 DSYMUTIL=$ac_ct_DSYMUTIL
7261 fi
7262 else
7263 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7264 fi
7265
7266 if test -n "$ac_tool_prefix"; then
7267 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7268 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7270 $as_echo_n "checking for $ac_word... " >&6; }
7271 if ${ac_cv_prog_NMEDIT+:} false; then :
7272 $as_echo_n "(cached) " >&6
7273 else
7274 if test -n "$NMEDIT"; then
7275 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7276 else
7277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7278 for as_dir in $PATH
7279 do
7280 IFS=$as_save_IFS
7281 test -z "$as_dir" && as_dir=.
7282 for ac_exec_ext in '' $ac_executable_extensions; do
7283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7284 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7286 break 2
7287 fi
7288 done
7289 done
7290 IFS=$as_save_IFS
7291
7292 fi
7293 fi
7294 NMEDIT=$ac_cv_prog_NMEDIT
7295 if test -n "$NMEDIT"; then
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7297 $as_echo "$NMEDIT" >&6; }
7298 else
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7300 $as_echo "no" >&6; }
7301 fi
7302
7303
7304 fi
7305 if test -z "$ac_cv_prog_NMEDIT"; then
7306 ac_ct_NMEDIT=$NMEDIT
7307 # Extract the first word of "nmedit", so it can be a program name with args.
7308 set dummy nmedit; ac_word=$2
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7310 $as_echo_n "checking for $ac_word... " >&6; }
7311 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7312 $as_echo_n "(cached) " >&6
7313 else
7314 if test -n "$ac_ct_NMEDIT"; then
7315 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7316 else
7317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7318 for as_dir in $PATH
7319 do
7320 IFS=$as_save_IFS
7321 test -z "$as_dir" && as_dir=.
7322 for ac_exec_ext in '' $ac_executable_extensions; do
7323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7324 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7326 break 2
7327 fi
7328 done
7329 done
7330 IFS=$as_save_IFS
7331
7332 fi
7333 fi
7334 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7335 if test -n "$ac_ct_NMEDIT"; then
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7337 $as_echo "$ac_ct_NMEDIT" >&6; }
7338 else
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340 $as_echo "no" >&6; }
7341 fi
7342
7343 if test "x$ac_ct_NMEDIT" = x; then
7344 NMEDIT=":"
7345 else
7346 case $cross_compiling:$ac_tool_warned in
7347 yes:)
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7350 ac_tool_warned=yes ;;
7351 esac
7352 NMEDIT=$ac_ct_NMEDIT
7353 fi
7354 else
7355 NMEDIT="$ac_cv_prog_NMEDIT"
7356 fi
7357
7358 if test -n "$ac_tool_prefix"; then
7359 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7360 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7362 $as_echo_n "checking for $ac_word... " >&6; }
7363 if ${ac_cv_prog_LIPO+:} false; then :
7364 $as_echo_n "(cached) " >&6
7365 else
7366 if test -n "$LIPO"; then
7367 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7368 else
7369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370 for as_dir in $PATH
7371 do
7372 IFS=$as_save_IFS
7373 test -z "$as_dir" && as_dir=.
7374 for ac_exec_ext in '' $ac_executable_extensions; do
7375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7376 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378 break 2
7379 fi
7380 done
7381 done
7382 IFS=$as_save_IFS
7383
7384 fi
7385 fi
7386 LIPO=$ac_cv_prog_LIPO
7387 if test -n "$LIPO"; then
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7389 $as_echo "$LIPO" >&6; }
7390 else
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392 $as_echo "no" >&6; }
7393 fi
7394
7395
7396 fi
7397 if test -z "$ac_cv_prog_LIPO"; then
7398 ac_ct_LIPO=$LIPO
7399 # Extract the first word of "lipo", so it can be a program name with args.
7400 set dummy lipo; ac_word=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 $as_echo_n "checking for $ac_word... " >&6; }
7403 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7404 $as_echo_n "(cached) " >&6
7405 else
7406 if test -n "$ac_ct_LIPO"; then
7407 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7408 else
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7410 for as_dir in $PATH
7411 do
7412 IFS=$as_save_IFS
7413 test -z "$as_dir" && as_dir=.
7414 for ac_exec_ext in '' $ac_executable_extensions; do
7415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7416 ac_cv_prog_ac_ct_LIPO="lipo"
7417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7418 break 2
7419 fi
7420 done
7421 done
7422 IFS=$as_save_IFS
7423
7424 fi
7425 fi
7426 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7427 if test -n "$ac_ct_LIPO"; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7429 $as_echo "$ac_ct_LIPO" >&6; }
7430 else
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7433 fi
7434
7435 if test "x$ac_ct_LIPO" = x; then
7436 LIPO=":"
7437 else
7438 case $cross_compiling:$ac_tool_warned in
7439 yes:)
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7442 ac_tool_warned=yes ;;
7443 esac
7444 LIPO=$ac_ct_LIPO
7445 fi
7446 else
7447 LIPO="$ac_cv_prog_LIPO"
7448 fi
7449
7450 if test -n "$ac_tool_prefix"; then
7451 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7452 set dummy ${ac_tool_prefix}otool; ac_word=$2
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7454 $as_echo_n "checking for $ac_word... " >&6; }
7455 if ${ac_cv_prog_OTOOL+:} false; then :
7456 $as_echo_n "(cached) " >&6
7457 else
7458 if test -n "$OTOOL"; then
7459 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7460 else
7461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7462 for as_dir in $PATH
7463 do
7464 IFS=$as_save_IFS
7465 test -z "$as_dir" && as_dir=.
7466 for ac_exec_ext in '' $ac_executable_extensions; do
7467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7468 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7470 break 2
7471 fi
7472 done
7473 done
7474 IFS=$as_save_IFS
7475
7476 fi
7477 fi
7478 OTOOL=$ac_cv_prog_OTOOL
7479 if test -n "$OTOOL"; then
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7481 $as_echo "$OTOOL" >&6; }
7482 else
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7484 $as_echo "no" >&6; }
7485 fi
7486
7487
7488 fi
7489 if test -z "$ac_cv_prog_OTOOL"; then
7490 ac_ct_OTOOL=$OTOOL
7491 # Extract the first word of "otool", so it can be a program name with args.
7492 set dummy otool; ac_word=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7494 $as_echo_n "checking for $ac_word... " >&6; }
7495 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7496 $as_echo_n "(cached) " >&6
7497 else
7498 if test -n "$ac_ct_OTOOL"; then
7499 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7500 else
7501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7502 for as_dir in $PATH
7503 do
7504 IFS=$as_save_IFS
7505 test -z "$as_dir" && as_dir=.
7506 for ac_exec_ext in '' $ac_executable_extensions; do
7507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7508 ac_cv_prog_ac_ct_OTOOL="otool"
7509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7510 break 2
7511 fi
7512 done
7513 done
7514 IFS=$as_save_IFS
7515
7516 fi
7517 fi
7518 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7519 if test -n "$ac_ct_OTOOL"; then
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7521 $as_echo "$ac_ct_OTOOL" >&6; }
7522 else
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 $as_echo "no" >&6; }
7525 fi
7526
7527 if test "x$ac_ct_OTOOL" = x; then
7528 OTOOL=":"
7529 else
7530 case $cross_compiling:$ac_tool_warned in
7531 yes:)
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7534 ac_tool_warned=yes ;;
7535 esac
7536 OTOOL=$ac_ct_OTOOL
7537 fi
7538 else
7539 OTOOL="$ac_cv_prog_OTOOL"
7540 fi
7541
7542 if test -n "$ac_tool_prefix"; then
7543 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7544 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7546 $as_echo_n "checking for $ac_word... " >&6; }
7547 if ${ac_cv_prog_OTOOL64+:} false; then :
7548 $as_echo_n "(cached) " >&6
7549 else
7550 if test -n "$OTOOL64"; then
7551 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7552 else
7553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7554 for as_dir in $PATH
7555 do
7556 IFS=$as_save_IFS
7557 test -z "$as_dir" && as_dir=.
7558 for ac_exec_ext in '' $ac_executable_extensions; do
7559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7560 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7562 break 2
7563 fi
7564 done
7565 done
7566 IFS=$as_save_IFS
7567
7568 fi
7569 fi
7570 OTOOL64=$ac_cv_prog_OTOOL64
7571 if test -n "$OTOOL64"; then
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7573 $as_echo "$OTOOL64" >&6; }
7574 else
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576 $as_echo "no" >&6; }
7577 fi
7578
7579
7580 fi
7581 if test -z "$ac_cv_prog_OTOOL64"; then
7582 ac_ct_OTOOL64=$OTOOL64
7583 # Extract the first word of "otool64", so it can be a program name with args.
7584 set dummy otool64; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7588 $as_echo_n "(cached) " >&6
7589 else
7590 if test -n "$ac_ct_OTOOL64"; then
7591 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7592 else
7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594 for as_dir in $PATH
7595 do
7596 IFS=$as_save_IFS
7597 test -z "$as_dir" && as_dir=.
7598 for ac_exec_ext in '' $ac_executable_extensions; do
7599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7600 ac_cv_prog_ac_ct_OTOOL64="otool64"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7602 break 2
7603 fi
7604 done
7605 done
7606 IFS=$as_save_IFS
7607
7608 fi
7609 fi
7610 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7611 if test -n "$ac_ct_OTOOL64"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7613 $as_echo "$ac_ct_OTOOL64" >&6; }
7614 else
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7617 fi
7618
7619 if test "x$ac_ct_OTOOL64" = x; then
7620 OTOOL64=":"
7621 else
7622 case $cross_compiling:$ac_tool_warned in
7623 yes:)
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7626 ac_tool_warned=yes ;;
7627 esac
7628 OTOOL64=$ac_ct_OTOOL64
7629 fi
7630 else
7631 OTOOL64="$ac_cv_prog_OTOOL64"
7632 fi
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7661 $as_echo_n "checking for -single_module linker flag... " >&6; }
7662 if ${lt_cv_apple_cc_single_mod+:} false; then :
7663 $as_echo_n "(cached) " >&6
7664 else
7665 lt_cv_apple_cc_single_mod=no
7666 if test -z "${LT_MULTI_MODULE}"; then
7667 # By default we will add the -single_module flag. You can override
7668 # by either setting the environment variable LT_MULTI_MODULE
7669 # non-empty at configure time, or by adding -multi_module to the
7670 # link flags.
7671 rm -rf libconftest.dylib*
7672 echo "int foo(void){return 1;}" > conftest.c
7673 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7674 -dynamiclib -Wl,-single_module conftest.c" >&5
7675 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7676 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7677 _lt_result=$?
7678 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7679 lt_cv_apple_cc_single_mod=yes
7680 else
7681 cat conftest.err >&5
7682 fi
7683 rm -rf libconftest.dylib*
7684 rm -f conftest.*
7685 fi
7686 fi
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7688 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7690 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7691 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7692 $as_echo_n "(cached) " >&6
7693 else
7694 lt_cv_ld_exported_symbols_list=no
7695 save_LDFLAGS=$LDFLAGS
7696 echo "_main" > conftest.sym
7697 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7699 /* end confdefs.h. */
7700
7701 int
7702 main ()
7703 {
7704
7705 ;
7706 return 0;
7707 }
7708 _ACEOF
7709 if ac_fn_c_try_link "$LINENO"; then :
7710 lt_cv_ld_exported_symbols_list=yes
7711 else
7712 lt_cv_ld_exported_symbols_list=no
7713 fi
7714 rm -f core conftest.err conftest.$ac_objext \
7715 conftest$ac_exeext conftest.$ac_ext
7716 LDFLAGS="$save_LDFLAGS"
7717
7718 fi
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7720 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7721 case $host_os in
7722 rhapsody* | darwin1.[012])
7723 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7724 darwin1.*)
7725 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7726 darwin*) # darwin 5.x on
7727 # if running on 10.5 or later, the deployment target defaults
7728 # to the OS version, if on x86, and 10.4, the deployment
7729 # target defaults to 10.4. Don't you love it?
7730 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7731 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7732 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7733 10.[012]*)
7734 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7735 10.*)
7736 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7737 esac
7738 ;;
7739 esac
7740 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7741 _lt_dar_single_mod='$single_module'
7742 fi
7743 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7744 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7745 else
7746 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7747 fi
7748 if test "$DSYMUTIL" != ":"; then
7749 _lt_dsymutil='~$DSYMUTIL $lib || :'
7750 else
7751 _lt_dsymutil=
7752 fi
7753 ;;
7754 esac
7755
7756
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7758 $as_echo_n "checking for ANSI C header files... " >&6; }
7759 if ${ac_cv_header_stdc+:} false; then :
7760 $as_echo_n "(cached) " >&6
7761 else
7762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7763 /* end confdefs.h. */
7764 #include <stdlib.h>
7765 #include <stdarg.h>
7766 #include <string.h>
7767 #include <float.h>
7768
7769 int
7770 main ()
7771 {
7772
7773 ;
7774 return 0;
7775 }
7776 _ACEOF
7777 if ac_fn_c_try_compile "$LINENO"; then :
7778 ac_cv_header_stdc=yes
7779 else
7780 ac_cv_header_stdc=no
7781 fi
7782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7783
7784 if test $ac_cv_header_stdc = yes; then
7785 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7787 /* end confdefs.h. */
7788 #include <string.h>
7789
7790 _ACEOF
7791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7792 $EGREP "memchr" >/dev/null 2>&1; then :
7793
7794 else
7795 ac_cv_header_stdc=no
7796 fi
7797 rm -f conftest*
7798
7799 fi
7800
7801 if test $ac_cv_header_stdc = yes; then
7802 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7804 /* end confdefs.h. */
7805 #include <stdlib.h>
7806
7807 _ACEOF
7808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7809 $EGREP "free" >/dev/null 2>&1; then :
7810
7811 else
7812 ac_cv_header_stdc=no
7813 fi
7814 rm -f conftest*
7815
7816 fi
7817
7818 if test $ac_cv_header_stdc = yes; then
7819 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7820 if test "$cross_compiling" = yes; then :
7821 :
7822 else
7823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7824 /* end confdefs.h. */
7825 #include <ctype.h>
7826 #include <stdlib.h>
7827 #if ((' ' & 0x0FF) == 0x020)
7828 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7829 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7830 #else
7831 # define ISLOWER(c) \
7832 (('a' <= (c) && (c) <= 'i') \
7833 || ('j' <= (c) && (c) <= 'r') \
7834 || ('s' <= (c) && (c) <= 'z'))
7835 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7836 #endif
7837
7838 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7839 int
7840 main ()
7841 {
7842 int i;
7843 for (i = 0; i < 256; i++)
7844 if (XOR (islower (i), ISLOWER (i))
7845 || toupper (i) != TOUPPER (i))
7846 return 2;
7847 return 0;
7848 }
7849 _ACEOF
7850 if ac_fn_c_try_run "$LINENO"; then :
7851
7852 else
7853 ac_cv_header_stdc=no
7854 fi
7855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7856 conftest.$ac_objext conftest.beam conftest.$ac_ext
7857 fi
7858
7859 fi
7860 fi
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7862 $as_echo "$ac_cv_header_stdc" >&6; }
7863 if test $ac_cv_header_stdc = yes; then
7864
7865 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7866
7867 fi
7868
7869 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7870 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7871 inttypes.h stdint.h unistd.h
7872 do :
7873 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7874 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7875 "
7876 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7877 cat >>confdefs.h <<_ACEOF
7878 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7879 _ACEOF
7880
7881 fi
7882
7883 done
7884
7885
7886 for ac_header in dlfcn.h
7887 do :
7888 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7889 "
7890 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7891 cat >>confdefs.h <<_ACEOF
7892 @%:@define HAVE_DLFCN_H 1
7893 _ACEOF
7894
7895 fi
7896
7897 done
7898
7899
7900
7901 ac_ext=cpp
7902 ac_cpp='$CXXCPP $CPPFLAGS'
7903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7906 if test -z "$CXX"; then
7907 if test -n "$CCC"; then
7908 CXX=$CCC
7909 else
7910 if test -n "$ac_tool_prefix"; then
7911 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7912 do
7913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if ${ac_cv_prog_CXX+:} false; then :
7918 $as_echo_n "(cached) " >&6
7919 else
7920 if test -n "$CXX"; then
7921 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7922 else
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 for as_dir in $PATH
7925 do
7926 IFS=$as_save_IFS
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 break 2
7933 fi
7934 done
7935 done
7936 IFS=$as_save_IFS
7937
7938 fi
7939 fi
7940 CXX=$ac_cv_prog_CXX
7941 if test -n "$CXX"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7943 $as_echo "$CXX" >&6; }
7944 else
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7947 fi
7948
7949
7950 test -n "$CXX" && break
7951 done
7952 fi
7953 if test -z "$CXX"; then
7954 ac_ct_CXX=$CXX
7955 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7956 do
7957 # Extract the first word of "$ac_prog", so it can be a program name with args.
7958 set dummy $ac_prog; ac_word=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7962 $as_echo_n "(cached) " >&6
7963 else
7964 if test -n "$ac_ct_CXX"; then
7965 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7966 else
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 for as_dir in $PATH
7969 do
7970 IFS=$as_save_IFS
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_prog_ac_ct_CXX="$ac_prog"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 break 2
7977 fi
7978 done
7979 done
7980 IFS=$as_save_IFS
7981
7982 fi
7983 fi
7984 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7985 if test -n "$ac_ct_CXX"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7987 $as_echo "$ac_ct_CXX" >&6; }
7988 else
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7991 fi
7992
7993
7994 test -n "$ac_ct_CXX" && break
7995 done
7996
7997 if test "x$ac_ct_CXX" = x; then
7998 CXX="g++"
7999 else
8000 case $cross_compiling:$ac_tool_warned in
8001 yes:)
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8004 ac_tool_warned=yes ;;
8005 esac
8006 CXX=$ac_ct_CXX
8007 fi
8008 fi
8009
8010 fi
8011 fi
8012 # Provide some information about the compiler.
8013 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
8014 set X $ac_compile
8015 ac_compiler=$2
8016 for ac_option in --version -v -V -qversion; do
8017 { { ac_try="$ac_compiler $ac_option >&5"
8018 case "(($ac_try" in
8019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8020 *) ac_try_echo=$ac_try;;
8021 esac
8022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8023 $as_echo "$ac_try_echo"; } >&5
8024 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8025 ac_status=$?
8026 if test -s conftest.err; then
8027 sed '10a\
8028 ... rest of stderr output deleted ...
8029 10q' conftest.err >conftest.er1
8030 cat conftest.er1 >&5
8031 fi
8032 rm -f conftest.er1 conftest.err
8033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8034 test $ac_status = 0; }
8035 done
8036
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
8038 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8039 if ${ac_cv_cxx_compiler_gnu+:} false; then :
8040 $as_echo_n "(cached) " >&6
8041 else
8042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8043 /* end confdefs.h. */
8044
8045 int
8046 main ()
8047 {
8048 #ifndef __GNUC__
8049 choke me
8050 #endif
8051
8052 ;
8053 return 0;
8054 }
8055 _ACEOF
8056 if ac_fn_cxx_try_compile "$LINENO"; then :
8057 ac_compiler_gnu=yes
8058 else
8059 ac_compiler_gnu=no
8060 fi
8061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8062 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8063
8064 fi
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
8066 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8067 if test $ac_compiler_gnu = yes; then
8068 GXX=yes
8069 else
8070 GXX=
8071 fi
8072 ac_test_CXXFLAGS=${CXXFLAGS+set}
8073 ac_save_CXXFLAGS=$CXXFLAGS
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
8075 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
8076 if ${ac_cv_prog_cxx_g+:} false; then :
8077 $as_echo_n "(cached) " >&6
8078 else
8079 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8080 ac_cxx_werror_flag=yes
8081 ac_cv_prog_cxx_g=no
8082 CXXFLAGS="-g"
8083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8084 /* end confdefs.h. */
8085
8086 int
8087 main ()
8088 {
8089
8090 ;
8091 return 0;
8092 }
8093 _ACEOF
8094 if ac_fn_cxx_try_compile "$LINENO"; then :
8095 ac_cv_prog_cxx_g=yes
8096 else
8097 CXXFLAGS=""
8098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h. */
8100
8101 int
8102 main ()
8103 {
8104
8105 ;
8106 return 0;
8107 }
8108 _ACEOF
8109 if ac_fn_cxx_try_compile "$LINENO"; then :
8110
8111 else
8112 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8113 CXXFLAGS="-g"
8114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8115 /* end confdefs.h. */
8116
8117 int
8118 main ()
8119 {
8120
8121 ;
8122 return 0;
8123 }
8124 _ACEOF
8125 if ac_fn_cxx_try_compile "$LINENO"; then :
8126 ac_cv_prog_cxx_g=yes
8127 fi
8128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8129 fi
8130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8131 fi
8132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8133 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8134 fi
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8136 $as_echo "$ac_cv_prog_cxx_g" >&6; }
8137 if test "$ac_test_CXXFLAGS" = set; then
8138 CXXFLAGS=$ac_save_CXXFLAGS
8139 elif test $ac_cv_prog_cxx_g = yes; then
8140 if test "$GXX" = yes; then
8141 CXXFLAGS="-g -O2"
8142 else
8143 CXXFLAGS="-g"
8144 fi
8145 else
8146 if test "$GXX" = yes; then
8147 CXXFLAGS="-O2"
8148 else
8149 CXXFLAGS=
8150 fi
8151 fi
8152 ac_ext=cpp
8153 ac_cpp='$CXXCPP $CPPFLAGS'
8154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8157
8158 depcc="$CXX" am_compiler_list=
8159
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8161 $as_echo_n "checking dependency style of $depcc... " >&6; }
8162 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
8163 $as_echo_n "(cached) " >&6
8164 else
8165 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8166 # We make a subdir and do the tests there. Otherwise we can end up
8167 # making bogus files that we don't know about and never remove. For
8168 # instance it was reported that on HP-UX the gcc test will end up
8169 # making a dummy file named `D' -- because `-MD' means `put the output
8170 # in D'.
8171 mkdir conftest.dir
8172 # Copy depcomp to subdir because otherwise we won't find it if we're
8173 # using a relative directory.
8174 cp "$am_depcomp" conftest.dir
8175 cd conftest.dir
8176 # We will build objects and dependencies in a subdirectory because
8177 # it helps to detect inapplicable dependency modes. For instance
8178 # both Tru64's cc and ICC support -MD to output dependencies as a
8179 # side effect of compilation, but ICC will put the dependencies in
8180 # the current directory while Tru64 will put them in the object
8181 # directory.
8182 mkdir sub
8183
8184 am_cv_CXX_dependencies_compiler_type=none
8185 if test "$am_compiler_list" = ""; then
8186 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8187 fi
8188 am__universal=false
8189 case " $depcc " in #(
8190 *\ -arch\ *\ -arch\ *) am__universal=true ;;
8191 esac
8192
8193 for depmode in $am_compiler_list; do
8194 # Setup a source with many dependencies, because some compilers
8195 # like to wrap large dependency lists on column 80 (with \), and
8196 # we should not choose a depcomp mode which is confused by this.
8197 #
8198 # We need to recreate these files for each test, as the compiler may
8199 # overwrite some of them when testing with obscure command lines.
8200 # This happens at least with the AIX C compiler.
8201 : > sub/conftest.c
8202 for i in 1 2 3 4 5 6; do
8203 echo '#include "conftst'$i'.h"' >> sub/conftest.c
8204 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8205 # Solaris 8's {/usr,}/bin/sh.
8206 touch sub/conftst$i.h
8207 done
8208 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8209
8210 # We check with `-c' and `-o' for the sake of the "dashmstdout"
8211 # mode. It turns out that the SunPro C++ compiler does not properly
8212 # handle `-M -o', and we need to detect this. Also, some Intel
8213 # versions had trouble with output in subdirs
8214 am__obj=sub/conftest.${OBJEXT-o}
8215 am__minus_obj="-o $am__obj"
8216 case $depmode in
8217 gcc)
8218 # This depmode causes a compiler race in universal mode.
8219 test "$am__universal" = false || continue
8220 ;;
8221 nosideeffect)
8222 # after this tag, mechanisms are not by side-effect, so they'll
8223 # only be used when explicitly requested
8224 if test "x$enable_dependency_tracking" = xyes; then
8225 continue
8226 else
8227 break
8228 fi
8229 ;;
8230 msvisualcpp | msvcmsys)
8231 # This compiler won't grok `-c -o', but also, the minuso test has
8232 # not run yet. These depmodes are late enough in the game, and
8233 # so weak that their functioning should not be impacted.
8234 am__obj=conftest.${OBJEXT-o}
8235 am__minus_obj=
8236 ;;
8237 none) break ;;
8238 esac
8239 if depmode=$depmode \
8240 source=sub/conftest.c object=$am__obj \
8241 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8242 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8243 >/dev/null 2>conftest.err &&
8244 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8245 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8246 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8247 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8248 # icc doesn't choke on unknown options, it will just issue warnings
8249 # or remarks (even with -Werror). So we grep stderr for any message
8250 # that says an option was ignored or not supported.
8251 # When given -MP, icc 7.0 and 7.1 complain thusly:
8252 # icc: Command line warning: ignoring option '-M'; no argument required
8253 # The diagnosis changed in icc 8.0:
8254 # icc: Command line remark: option '-MP' not supported
8255 if (grep 'ignoring option' conftest.err ||
8256 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8257 am_cv_CXX_dependencies_compiler_type=$depmode
8258 break
8259 fi
8260 fi
8261 done
8262
8263 cd ..
8264 rm -rf conftest.dir
8265 else
8266 am_cv_CXX_dependencies_compiler_type=none
8267 fi
8268
8269 fi
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8271 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8272 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8273
8274 if
8275 test "x$enable_dependency_tracking" != xno \
8276 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8277 am__fastdepCXX_TRUE=
8278 am__fastdepCXX_FALSE='#'
8279 else
8280 am__fastdepCXX_TRUE='#'
8281 am__fastdepCXX_FALSE=
8282 fi
8283
8284
8285 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8286 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8287 (test "X$CXX" != "Xg++"))) ; then
8288 ac_ext=cpp
8289 ac_cpp='$CXXCPP $CPPFLAGS'
8290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8294 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8295 if test -z "$CXXCPP"; then
8296 if ${ac_cv_prog_CXXCPP+:} false; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 # Double quotes because CXXCPP needs to be expanded
8300 for CXXCPP in "$CXX -E" "/lib/cpp"
8301 do
8302 ac_preproc_ok=false
8303 for ac_cxx_preproc_warn_flag in '' yes
8304 do
8305 # Use a header file that comes with gcc, so configuring glibc
8306 # with a fresh cross-compiler works.
8307 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8308 # <limits.h> exists even on freestanding compilers.
8309 # On the NeXT, cc -E runs the code through the compiler's parser,
8310 # not just through cpp. "Syntax error" is here to catch this case.
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 @%:@ifdef __STDC__
8314 @%:@ include <limits.h>
8315 @%:@else
8316 @%:@ include <assert.h>
8317 @%:@endif
8318 Syntax error
8319 _ACEOF
8320 if ac_fn_cxx_try_cpp "$LINENO"; then :
8321
8322 else
8323 # Broken: fails on valid input.
8324 continue
8325 fi
8326 rm -f conftest.err conftest.i conftest.$ac_ext
8327
8328 # OK, works on sane cases. Now check whether nonexistent headers
8329 # can be detected and how.
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8332 @%:@include <ac_nonexistent.h>
8333 _ACEOF
8334 if ac_fn_cxx_try_cpp "$LINENO"; then :
8335 # Broken: success on invalid input.
8336 continue
8337 else
8338 # Passes both tests.
8339 ac_preproc_ok=:
8340 break
8341 fi
8342 rm -f conftest.err conftest.i conftest.$ac_ext
8343
8344 done
8345 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8346 rm -f conftest.i conftest.err conftest.$ac_ext
8347 if $ac_preproc_ok; then :
8348 break
8349 fi
8350
8351 done
8352 ac_cv_prog_CXXCPP=$CXXCPP
8353
8354 fi
8355 CXXCPP=$ac_cv_prog_CXXCPP
8356 else
8357 ac_cv_prog_CXXCPP=$CXXCPP
8358 fi
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8360 $as_echo "$CXXCPP" >&6; }
8361 ac_preproc_ok=false
8362 for ac_cxx_preproc_warn_flag in '' yes
8363 do
8364 # Use a header file that comes with gcc, so configuring glibc
8365 # with a fresh cross-compiler works.
8366 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8367 # <limits.h> exists even on freestanding compilers.
8368 # On the NeXT, cc -E runs the code through the compiler's parser,
8369 # not just through cpp. "Syntax error" is here to catch this case.
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8372 @%:@ifdef __STDC__
8373 @%:@ include <limits.h>
8374 @%:@else
8375 @%:@ include <assert.h>
8376 @%:@endif
8377 Syntax error
8378 _ACEOF
8379 if ac_fn_cxx_try_cpp "$LINENO"; then :
8380
8381 else
8382 # Broken: fails on valid input.
8383 continue
8384 fi
8385 rm -f conftest.err conftest.i conftest.$ac_ext
8386
8387 # OK, works on sane cases. Now check whether nonexistent headers
8388 # can be detected and how.
8389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8391 @%:@include <ac_nonexistent.h>
8392 _ACEOF
8393 if ac_fn_cxx_try_cpp "$LINENO"; then :
8394 # Broken: success on invalid input.
8395 continue
8396 else
8397 # Passes both tests.
8398 ac_preproc_ok=:
8399 break
8400 fi
8401 rm -f conftest.err conftest.i conftest.$ac_ext
8402
8403 done
8404 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8405 rm -f conftest.i conftest.err conftest.$ac_ext
8406 if $ac_preproc_ok; then :
8407
8408 else
8409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8411 _lt_caught_CXX_error=yes; }
8412 fi
8413
8414 ac_ext=cpp
8415 ac_cpp='$CXXCPP $CPPFLAGS'
8416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8419
8420 else
8421 _lt_caught_CXX_error=yes
8422 fi
8423
8424
8425
8426
8427 # Set options
8428
8429
8430
8431 enable_dlopen=no
8432
8433
8434 enable_win32_dll=no
8435
8436
8437 @%:@ Check whether --enable-shared was given.
8438 if test "${enable_shared+set}" = set; then :
8439 enableval=$enable_shared; p=${PACKAGE-default}
8440 case $enableval in
8441 yes) enable_shared=yes ;;
8442 no) enable_shared=no ;;
8443 *)
8444 enable_shared=no
8445 # Look at the argument we got. We use all the common list separators.
8446 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8447 for pkg in $enableval; do
8448 IFS="$lt_save_ifs"
8449 if test "X$pkg" = "X$p"; then
8450 enable_shared=yes
8451 fi
8452 done
8453 IFS="$lt_save_ifs"
8454 ;;
8455 esac
8456 else
8457 enable_shared=yes
8458 fi
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468 @%:@ Check whether --enable-static was given.
8469 if test "${enable_static+set}" = set; then :
8470 enableval=$enable_static; p=${PACKAGE-default}
8471 case $enableval in
8472 yes) enable_static=yes ;;
8473 no) enable_static=no ;;
8474 *)
8475 enable_static=no
8476 # Look at the argument we got. We use all the common list separators.
8477 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8478 for pkg in $enableval; do
8479 IFS="$lt_save_ifs"
8480 if test "X$pkg" = "X$p"; then
8481 enable_static=yes
8482 fi
8483 done
8484 IFS="$lt_save_ifs"
8485 ;;
8486 esac
8487 else
8488 enable_static=yes
8489 fi
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500 @%:@ Check whether --with-pic was given.
8501 if test "${with_pic+set}" = set; then :
8502 withval=$with_pic; pic_mode="$withval"
8503 else
8504 pic_mode=default
8505 fi
8506
8507
8508 test -z "$pic_mode" && pic_mode=default
8509
8510
8511
8512
8513
8514
8515
8516 @%:@ Check whether --enable-fast-install was given.
8517 if test "${enable_fast_install+set}" = set; then :
8518 enableval=$enable_fast_install; p=${PACKAGE-default}
8519 case $enableval in
8520 yes) enable_fast_install=yes ;;
8521 no) enable_fast_install=no ;;
8522 *)
8523 enable_fast_install=no
8524 # Look at the argument we got. We use all the common list separators.
8525 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8526 for pkg in $enableval; do
8527 IFS="$lt_save_ifs"
8528 if test "X$pkg" = "X$p"; then
8529 enable_fast_install=yes
8530 fi
8531 done
8532 IFS="$lt_save_ifs"
8533 ;;
8534 esac
8535 else
8536 enable_fast_install=yes
8537 fi
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549 # This can be used to rebuild libtool when needed
8550 LIBTOOL_DEPS="$ltmain"
8551
8552 # Always use our own libtool.
8553 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579 test -z "$LN_S" && LN_S="ln -s"
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594 if test -n "${ZSH_VERSION+set}" ; then
8595 setopt NO_GLOB_SUBST
8596 fi
8597
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8599 $as_echo_n "checking for objdir... " >&6; }
8600 if ${lt_cv_objdir+:} false; then :
8601 $as_echo_n "(cached) " >&6
8602 else
8603 rm -f .libs 2>/dev/null
8604 mkdir .libs 2>/dev/null
8605 if test -d .libs; then
8606 lt_cv_objdir=.libs
8607 else
8608 # MS-DOS does not allow filenames that begin with a dot.
8609 lt_cv_objdir=_libs
8610 fi
8611 rmdir .libs 2>/dev/null
8612 fi
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8614 $as_echo "$lt_cv_objdir" >&6; }
8615 objdir=$lt_cv_objdir
8616
8617
8618
8619
8620
8621 cat >>confdefs.h <<_ACEOF
8622 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8623 _ACEOF
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641 case $host_os in
8642 aix3*)
8643 # AIX sometimes has problems with the GCC collect2 program. For some
8644 # reason, if we set the COLLECT_NAMES environment variable, the problems
8645 # vanish in a puff of smoke.
8646 if test "X${COLLECT_NAMES+set}" != Xset; then
8647 COLLECT_NAMES=
8648 export COLLECT_NAMES
8649 fi
8650 ;;
8651 esac
8652
8653 # Sed substitution that helps us do robust quoting. It backslashifies
8654 # metacharacters that are still active within double-quoted strings.
8655 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8656
8657 # Same as above, but do not quote variable references.
8658 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8659
8660 # Sed substitution to delay expansion of an escaped shell variable in a
8661 # double_quote_subst'ed string.
8662 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8663
8664 # Sed substitution to delay expansion of an escaped single quote.
8665 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8666
8667 # Sed substitution to avoid accidental globbing in evaled expressions
8668 no_glob_subst='s/\*/\\\*/g'
8669
8670 # Global variables:
8671 ofile=libtool
8672 can_build_shared=yes
8673
8674 # All known linkers require a `.a' archive for static linking (except MSVC,
8675 # which needs '.lib').
8676 libext=a
8677
8678 with_gnu_ld="$lt_cv_prog_gnu_ld"
8679
8680 old_CC="$CC"
8681 old_CFLAGS="$CFLAGS"
8682
8683 # Set sane defaults for various variables
8684 test -z "$CC" && CC=cc
8685 test -z "$LTCC" && LTCC=$CC
8686 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8687 test -z "$LD" && LD=ld
8688 test -z "$ac_objext" && ac_objext=o
8689
8690 for cc_temp in $compiler""; do
8691 case $cc_temp in
8692 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8693 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8694 \-*) ;;
8695 *) break;;
8696 esac
8697 done
8698 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8699
8700
8701 # Only perform the check for file, if the check method requires it
8702 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8703 case $deplibs_check_method in
8704 file_magic*)
8705 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8707 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8708 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8709 $as_echo_n "(cached) " >&6
8710 else
8711 case $MAGIC_CMD in
8712 [\\/*] | ?:[\\/]*)
8713 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8714 ;;
8715 *)
8716 lt_save_MAGIC_CMD="$MAGIC_CMD"
8717 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8718 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8719 for ac_dir in $ac_dummy; do
8720 IFS="$lt_save_ifs"
8721 test -z "$ac_dir" && ac_dir=.
8722 if test -f $ac_dir/${ac_tool_prefix}file; then
8723 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8724 if test -n "$file_magic_test_file"; then
8725 case $deplibs_check_method in
8726 "file_magic "*)
8727 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8728 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8729 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8730 $EGREP "$file_magic_regex" > /dev/null; then
8731 :
8732 else
8733 cat <<_LT_EOF 1>&2
8734
8735 *** Warning: the command libtool uses to detect shared libraries,
8736 *** $file_magic_cmd, produces output that libtool cannot recognize.
8737 *** The result is that libtool may fail to recognize shared libraries
8738 *** as such. This will affect the creation of libtool libraries that
8739 *** depend on shared libraries, but programs linked with such libtool
8740 *** libraries will work regardless of this problem. Nevertheless, you
8741 *** may want to report the problem to your system manager and/or to
8742 *** bug-libtool@gnu.org
8743
8744 _LT_EOF
8745 fi ;;
8746 esac
8747 fi
8748 break
8749 fi
8750 done
8751 IFS="$lt_save_ifs"
8752 MAGIC_CMD="$lt_save_MAGIC_CMD"
8753 ;;
8754 esac
8755 fi
8756
8757 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8758 if test -n "$MAGIC_CMD"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8760 $as_echo "$MAGIC_CMD" >&6; }
8761 else
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8763 $as_echo "no" >&6; }
8764 fi
8765
8766
8767
8768
8769
8770 if test -z "$lt_cv_path_MAGIC_CMD"; then
8771 if test -n "$ac_tool_prefix"; then
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8773 $as_echo_n "checking for file... " >&6; }
8774 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8775 $as_echo_n "(cached) " >&6
8776 else
8777 case $MAGIC_CMD in
8778 [\\/*] | ?:[\\/]*)
8779 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8780 ;;
8781 *)
8782 lt_save_MAGIC_CMD="$MAGIC_CMD"
8783 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8784 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8785 for ac_dir in $ac_dummy; do
8786 IFS="$lt_save_ifs"
8787 test -z "$ac_dir" && ac_dir=.
8788 if test -f $ac_dir/file; then
8789 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8790 if test -n "$file_magic_test_file"; then
8791 case $deplibs_check_method in
8792 "file_magic "*)
8793 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8794 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8795 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8796 $EGREP "$file_magic_regex" > /dev/null; then
8797 :
8798 else
8799 cat <<_LT_EOF 1>&2
8800
8801 *** Warning: the command libtool uses to detect shared libraries,
8802 *** $file_magic_cmd, produces output that libtool cannot recognize.
8803 *** The result is that libtool may fail to recognize shared libraries
8804 *** as such. This will affect the creation of libtool libraries that
8805 *** depend on shared libraries, but programs linked with such libtool
8806 *** libraries will work regardless of this problem. Nevertheless, you
8807 *** may want to report the problem to your system manager and/or to
8808 *** bug-libtool@gnu.org
8809
8810 _LT_EOF
8811 fi ;;
8812 esac
8813 fi
8814 break
8815 fi
8816 done
8817 IFS="$lt_save_ifs"
8818 MAGIC_CMD="$lt_save_MAGIC_CMD"
8819 ;;
8820 esac
8821 fi
8822
8823 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8824 if test -n "$MAGIC_CMD"; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8826 $as_echo "$MAGIC_CMD" >&6; }
8827 else
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8829 $as_echo "no" >&6; }
8830 fi
8831
8832
8833 else
8834 MAGIC_CMD=:
8835 fi
8836 fi
8837
8838 fi
8839 ;;
8840 esac
8841
8842 # Use C for the default configuration in the libtool script
8843
8844 lt_save_CC="$CC"
8845 ac_ext=c
8846 ac_cpp='$CPP $CPPFLAGS'
8847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8850
8851
8852 # Source file extension for C test sources.
8853 ac_ext=c
8854
8855 # Object file extension for compiled C test sources.
8856 objext=o
8857 objext=$objext
8858
8859 # Code to be used in simple compile tests
8860 lt_simple_compile_test_code="int some_variable = 0;"
8861
8862 # Code to be used in simple link tests
8863 lt_simple_link_test_code='int main(){return(0);}'
8864
8865
8866
8867
8868
8869
8870
8871 # If no C compiler was specified, use CC.
8872 LTCC=${LTCC-"$CC"}
8873
8874 # If no C compiler flags were specified, use CFLAGS.
8875 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8876
8877 # Allow CC to be a program name with arguments.
8878 compiler=$CC
8879
8880 # Save the default compiler, since it gets overwritten when the other
8881 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8882 compiler_DEFAULT=$CC
8883
8884 # save warnings/boilerplate of simple test code
8885 ac_outfile=conftest.$ac_objext
8886 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8887 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8888 _lt_compiler_boilerplate=`cat conftest.err`
8889 $RM conftest*
8890
8891 ac_outfile=conftest.$ac_objext
8892 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8893 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8894 _lt_linker_boilerplate=`cat conftest.err`
8895 $RM -r conftest*
8896
8897
8898 if test -n "$compiler"; then
8899
8900 lt_prog_compiler_no_builtin_flag=
8901
8902 if test "$GCC" = yes; then
8903 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8904
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8906 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8907 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8908 $as_echo_n "(cached) " >&6
8909 else
8910 lt_cv_prog_compiler_rtti_exceptions=no
8911 ac_outfile=conftest.$ac_objext
8912 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8913 lt_compiler_flag="-fno-rtti -fno-exceptions"
8914 # Insert the option either (1) after the last *FLAGS variable, or
8915 # (2) before a word containing "conftest.", or (3) at the end.
8916 # Note that $ac_compile itself does not contain backslashes and begins
8917 # with a dollar sign (not a hyphen), so the echo should work correctly.
8918 # The option is referenced via a variable to avoid confusing sed.
8919 lt_compile=`echo "$ac_compile" | $SED \
8920 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8921 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8922 -e 's:$: $lt_compiler_flag:'`
8923 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8924 (eval "$lt_compile" 2>conftest.err)
8925 ac_status=$?
8926 cat conftest.err >&5
8927 echo "$as_me:__oline__: \$? = $ac_status" >&5
8928 if (exit $ac_status) && test -s "$ac_outfile"; then
8929 # The compiler can only warn and ignore the option if not recognized
8930 # So say no if there are warnings other than the usual output.
8931 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8932 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8933 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8934 lt_cv_prog_compiler_rtti_exceptions=yes
8935 fi
8936 fi
8937 $RM conftest*
8938
8939 fi
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8941 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8942
8943 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8944 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8945 else
8946 :
8947 fi
8948
8949 fi
8950
8951
8952
8953
8954
8955
8956 lt_prog_compiler_wl=
8957 lt_prog_compiler_pic=
8958 lt_prog_compiler_static=
8959
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8961 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8962
8963 if test "$GCC" = yes; then
8964 lt_prog_compiler_wl='-Wl,'
8965 lt_prog_compiler_static='-static'
8966
8967 case $host_os in
8968 aix*)
8969 # All AIX code is PIC.
8970 if test "$host_cpu" = ia64; then
8971 # AIX 5 now supports IA64 processor
8972 lt_prog_compiler_static='-Bstatic'
8973 fi
8974 ;;
8975
8976 amigaos*)
8977 case $host_cpu in
8978 powerpc)
8979 # see comment about AmigaOS4 .so support
8980 lt_prog_compiler_pic='-fPIC'
8981 ;;
8982 m68k)
8983 # FIXME: we need at least 68020 code to build shared libraries, but
8984 # adding the `-m68020' flag to GCC prevents building anything better,
8985 # like `-m68040'.
8986 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8987 ;;
8988 esac
8989 ;;
8990
8991 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8992 # PIC is the default for these OSes.
8993 ;;
8994
8995 mingw* | cygwin* | pw32* | os2* | cegcc*)
8996 # This hack is so that the source file can tell whether it is being
8997 # built for inclusion in a dll (and should export symbols for example).
8998 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8999 # (--disable-auto-import) libraries
9000 lt_prog_compiler_pic='-DDLL_EXPORT'
9001 ;;
9002
9003 darwin* | rhapsody*)
9004 # PIC is the default on this platform
9005 # Common symbols not allowed in MH_DYLIB files
9006 lt_prog_compiler_pic='-fno-common'
9007 ;;
9008
9009 hpux*)
9010 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9011 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9012 # sets the default TLS model and affects inlining.
9013 case $host_cpu in
9014 hppa*64*)
9015 # +Z the default
9016 ;;
9017 *)
9018 lt_prog_compiler_pic='-fPIC'
9019 ;;
9020 esac
9021 ;;
9022
9023 interix[3-9]*)
9024 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9025 # Instead, we relocate shared libraries at runtime.
9026 ;;
9027
9028 msdosdjgpp*)
9029 # Just because we use GCC doesn't mean we suddenly get shared libraries
9030 # on systems that don't support them.
9031 lt_prog_compiler_can_build_shared=no
9032 enable_shared=no
9033 ;;
9034
9035 *nto* | *qnx*)
9036 # QNX uses GNU C++, but need to define -shared option too, otherwise
9037 # it will coredump.
9038 lt_prog_compiler_pic='-fPIC -shared'
9039 ;;
9040
9041 sysv4*MP*)
9042 if test -d /usr/nec; then
9043 lt_prog_compiler_pic=-Kconform_pic
9044 fi
9045 ;;
9046
9047 *)
9048 lt_prog_compiler_pic='-fPIC'
9049 ;;
9050 esac
9051 else
9052 # PORTME Check for flag to pass linker flags through the system compiler.
9053 case $host_os in
9054 aix*)
9055 lt_prog_compiler_wl='-Wl,'
9056 if test "$host_cpu" = ia64; then
9057 # AIX 5 now supports IA64 processor
9058 lt_prog_compiler_static='-Bstatic'
9059 else
9060 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9061 fi
9062 ;;
9063
9064 mingw* | cygwin* | pw32* | os2* | cegcc*)
9065 # This hack is so that the source file can tell whether it is being
9066 # built for inclusion in a dll (and should export symbols for example).
9067 lt_prog_compiler_pic='-DDLL_EXPORT'
9068 ;;
9069
9070 hpux9* | hpux10* | hpux11*)
9071 lt_prog_compiler_wl='-Wl,'
9072 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9073 # not for PA HP-UX.
9074 case $host_cpu in
9075 hppa*64*|ia64*)
9076 # +Z the default
9077 ;;
9078 *)
9079 lt_prog_compiler_pic='+Z'
9080 ;;
9081 esac
9082 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9083 lt_prog_compiler_static='${wl}-a ${wl}archive'
9084 ;;
9085
9086 irix5* | irix6* | nonstopux*)
9087 lt_prog_compiler_wl='-Wl,'
9088 # PIC (with -KPIC) is the default.
9089 lt_prog_compiler_static='-non_shared'
9090 ;;
9091
9092 linux* | k*bsd*-gnu)
9093 case $cc_basename in
9094 # old Intel for x86_64 which still supported -KPIC.
9095 ecc*)
9096 lt_prog_compiler_wl='-Wl,'
9097 lt_prog_compiler_pic='-KPIC'
9098 lt_prog_compiler_static='-static'
9099 ;;
9100 # icc used to be incompatible with GCC.
9101 # ICC 10 doesn't accept -KPIC any more.
9102 icc* | ifort*)
9103 lt_prog_compiler_wl='-Wl,'
9104 lt_prog_compiler_pic='-fPIC'
9105 lt_prog_compiler_static='-static'
9106 ;;
9107 # Lahey Fortran 8.1.
9108 lf95*)
9109 lt_prog_compiler_wl='-Wl,'
9110 lt_prog_compiler_pic='--shared'
9111 lt_prog_compiler_static='--static'
9112 ;;
9113 pgcc* | pgf77* | pgf90* | pgf95*)
9114 # Portland Group compilers (*not* the Pentium gcc compiler,
9115 # which looks to be a dead project)
9116 lt_prog_compiler_wl='-Wl,'
9117 lt_prog_compiler_pic='-fpic'
9118 lt_prog_compiler_static='-Bstatic'
9119 ;;
9120 ccc*)
9121 lt_prog_compiler_wl='-Wl,'
9122 # All Alpha code is PIC.
9123 lt_prog_compiler_static='-non_shared'
9124 ;;
9125 xl*)
9126 # IBM XL C 8.0/Fortran 10.1 on PPC
9127 lt_prog_compiler_wl='-Wl,'
9128 lt_prog_compiler_pic='-qpic'
9129 lt_prog_compiler_static='-qstaticlink'
9130 ;;
9131 *)
9132 case `$CC -V 2>&1 | sed 5q` in
9133 *Sun\ C*)
9134 # Sun C 5.9
9135 lt_prog_compiler_pic='-KPIC'
9136 lt_prog_compiler_static='-Bstatic'
9137 lt_prog_compiler_wl='-Wl,'
9138 ;;
9139 *Sun\ F*)
9140 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9141 lt_prog_compiler_pic='-KPIC'
9142 lt_prog_compiler_static='-Bstatic'
9143 lt_prog_compiler_wl=''
9144 ;;
9145 esac
9146 ;;
9147 esac
9148 ;;
9149
9150 newsos6)
9151 lt_prog_compiler_pic='-KPIC'
9152 lt_prog_compiler_static='-Bstatic'
9153 ;;
9154
9155 *nto* | *qnx*)
9156 # QNX uses GNU C++, but need to define -shared option too, otherwise
9157 # it will coredump.
9158 lt_prog_compiler_pic='-fPIC -shared'
9159 ;;
9160
9161 osf3* | osf4* | osf5*)
9162 lt_prog_compiler_wl='-Wl,'
9163 # All OSF/1 code is PIC.
9164 lt_prog_compiler_static='-non_shared'
9165 ;;
9166
9167 rdos*)
9168 lt_prog_compiler_static='-non_shared'
9169 ;;
9170
9171 solaris*)
9172 lt_prog_compiler_pic='-KPIC'
9173 lt_prog_compiler_static='-Bstatic'
9174 case $cc_basename in
9175 f77* | f90* | f95*)
9176 lt_prog_compiler_wl='-Qoption ld ';;
9177 *)
9178 lt_prog_compiler_wl='-Wl,';;
9179 esac
9180 ;;
9181
9182 sunos4*)
9183 lt_prog_compiler_wl='-Qoption ld '
9184 lt_prog_compiler_pic='-PIC'
9185 lt_prog_compiler_static='-Bstatic'
9186 ;;
9187
9188 sysv4 | sysv4.2uw2* | sysv4.3*)
9189 lt_prog_compiler_wl='-Wl,'
9190 lt_prog_compiler_pic='-KPIC'
9191 lt_prog_compiler_static='-Bstatic'
9192 ;;
9193
9194 sysv4*MP*)
9195 if test -d /usr/nec ;then
9196 lt_prog_compiler_pic='-Kconform_pic'
9197 lt_prog_compiler_static='-Bstatic'
9198 fi
9199 ;;
9200
9201 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9202 lt_prog_compiler_wl='-Wl,'
9203 lt_prog_compiler_pic='-KPIC'
9204 lt_prog_compiler_static='-Bstatic'
9205 ;;
9206
9207 unicos*)
9208 lt_prog_compiler_wl='-Wl,'
9209 lt_prog_compiler_can_build_shared=no
9210 ;;
9211
9212 uts4*)
9213 lt_prog_compiler_pic='-pic'
9214 lt_prog_compiler_static='-Bstatic'
9215 ;;
9216
9217 *)
9218 lt_prog_compiler_can_build_shared=no
9219 ;;
9220 esac
9221 fi
9222
9223 case $host_os in
9224 # For platforms which do not support PIC, -DPIC is meaningless:
9225 *djgpp*)
9226 lt_prog_compiler_pic=
9227 ;;
9228 *)
9229 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
9230 ;;
9231 esac
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9233 $as_echo "$lt_prog_compiler_pic" >&6; }
9234
9235
9236
9237
9238
9239
9240 #
9241 # Check to make sure the PIC flag actually works.
9242 #
9243 if test -n "$lt_prog_compiler_pic"; then
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9245 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9246 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9247 $as_echo_n "(cached) " >&6
9248 else
9249 lt_cv_prog_compiler_pic_works=no
9250 ac_outfile=conftest.$ac_objext
9251 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9252 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
9253 # Insert the option either (1) after the last *FLAGS variable, or
9254 # (2) before a word containing "conftest.", or (3) at the end.
9255 # Note that $ac_compile itself does not contain backslashes and begins
9256 # with a dollar sign (not a hyphen), so the echo should work correctly.
9257 # The option is referenced via a variable to avoid confusing sed.
9258 lt_compile=`echo "$ac_compile" | $SED \
9259 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9260 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9261 -e 's:$: $lt_compiler_flag:'`
9262 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9263 (eval "$lt_compile" 2>conftest.err)
9264 ac_status=$?
9265 cat conftest.err >&5
9266 echo "$as_me:__oline__: \$? = $ac_status" >&5
9267 if (exit $ac_status) && test -s "$ac_outfile"; then
9268 # The compiler can only warn and ignore the option if not recognized
9269 # So say no if there are warnings other than the usual output.
9270 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9271 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9272 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9273 lt_cv_prog_compiler_pic_works=yes
9274 fi
9275 fi
9276 $RM conftest*
9277
9278 fi
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9280 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9281
9282 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9283 case $lt_prog_compiler_pic in
9284 "" | " "*) ;;
9285 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9286 esac
9287 else
9288 lt_prog_compiler_pic=
9289 lt_prog_compiler_can_build_shared=no
9290 fi
9291
9292 fi
9293
9294
9295
9296
9297
9298
9299 #
9300 # Check to make sure the static flag actually works.
9301 #
9302 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9304 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9305 if ${lt_cv_prog_compiler_static_works+:} false; then :
9306 $as_echo_n "(cached) " >&6
9307 else
9308 lt_cv_prog_compiler_static_works=no
9309 save_LDFLAGS="$LDFLAGS"
9310 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9311 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9312 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9313 # The linker can only warn and ignore the option if not recognized
9314 # So say no if there are warnings
9315 if test -s conftest.err; then
9316 # Append any errors to the config.log.
9317 cat conftest.err 1>&5
9318 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9319 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9320 if diff conftest.exp conftest.er2 >/dev/null; then
9321 lt_cv_prog_compiler_static_works=yes
9322 fi
9323 else
9324 lt_cv_prog_compiler_static_works=yes
9325 fi
9326 fi
9327 $RM -r conftest*
9328 LDFLAGS="$save_LDFLAGS"
9329
9330 fi
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9332 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9333
9334 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9335 :
9336 else
9337 lt_prog_compiler_static=
9338 fi
9339
9340
9341
9342
9343
9344
9345
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9347 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9348 if ${lt_cv_prog_compiler_c_o+:} false; then :
9349 $as_echo_n "(cached) " >&6
9350 else
9351 lt_cv_prog_compiler_c_o=no
9352 $RM -r conftest 2>/dev/null
9353 mkdir conftest
9354 cd conftest
9355 mkdir out
9356 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9357
9358 lt_compiler_flag="-o out/conftest2.$ac_objext"
9359 # Insert the option either (1) after the last *FLAGS variable, or
9360 # (2) before a word containing "conftest.", or (3) at the end.
9361 # Note that $ac_compile itself does not contain backslashes and begins
9362 # with a dollar sign (not a hyphen), so the echo should work correctly.
9363 lt_compile=`echo "$ac_compile" | $SED \
9364 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9366 -e 's:$: $lt_compiler_flag:'`
9367 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9368 (eval "$lt_compile" 2>out/conftest.err)
9369 ac_status=$?
9370 cat out/conftest.err >&5
9371 echo "$as_me:__oline__: \$? = $ac_status" >&5
9372 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9373 then
9374 # The compiler can only warn and ignore the option if not recognized
9375 # So say no if there are warnings
9376 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9377 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9378 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9379 lt_cv_prog_compiler_c_o=yes
9380 fi
9381 fi
9382 chmod u+w . 2>&5
9383 $RM conftest*
9384 # SGI C++ compiler will create directory out/ii_files/ for
9385 # template instantiation
9386 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9387 $RM out/* && rmdir out
9388 cd ..
9389 $RM -r conftest
9390 $RM conftest*
9391
9392 fi
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9394 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9395
9396
9397
9398
9399
9400
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9402 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9403 if ${lt_cv_prog_compiler_c_o+:} false; then :
9404 $as_echo_n "(cached) " >&6
9405 else
9406 lt_cv_prog_compiler_c_o=no
9407 $RM -r conftest 2>/dev/null
9408 mkdir conftest
9409 cd conftest
9410 mkdir out
9411 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9412
9413 lt_compiler_flag="-o out/conftest2.$ac_objext"
9414 # Insert the option either (1) after the last *FLAGS variable, or
9415 # (2) before a word containing "conftest.", or (3) at the end.
9416 # Note that $ac_compile itself does not contain backslashes and begins
9417 # with a dollar sign (not a hyphen), so the echo should work correctly.
9418 lt_compile=`echo "$ac_compile" | $SED \
9419 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9420 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9421 -e 's:$: $lt_compiler_flag:'`
9422 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9423 (eval "$lt_compile" 2>out/conftest.err)
9424 ac_status=$?
9425 cat out/conftest.err >&5
9426 echo "$as_me:__oline__: \$? = $ac_status" >&5
9427 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9428 then
9429 # The compiler can only warn and ignore the option if not recognized
9430 # So say no if there are warnings
9431 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9432 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9433 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9434 lt_cv_prog_compiler_c_o=yes
9435 fi
9436 fi
9437 chmod u+w . 2>&5
9438 $RM conftest*
9439 # SGI C++ compiler will create directory out/ii_files/ for
9440 # template instantiation
9441 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9442 $RM out/* && rmdir out
9443 cd ..
9444 $RM -r conftest
9445 $RM conftest*
9446
9447 fi
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9449 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9450
9451
9452
9453
9454 hard_links="nottested"
9455 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9456 # do not overwrite the value of need_locks provided by the user
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9458 $as_echo_n "checking if we can lock with hard links... " >&6; }
9459 hard_links=yes
9460 $RM conftest*
9461 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9462 touch conftest.a
9463 ln conftest.a conftest.b 2>&5 || hard_links=no
9464 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9466 $as_echo "$hard_links" >&6; }
9467 if test "$hard_links" = no; then
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9469 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9470 need_locks=warn
9471 fi
9472 else
9473 need_locks=no
9474 fi
9475
9476
9477
9478
9479
9480
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9482 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9483
9484 runpath_var=
9485 allow_undefined_flag=
9486 always_export_symbols=no
9487 archive_cmds=
9488 archive_expsym_cmds=
9489 compiler_needs_object=no
9490 enable_shared_with_static_runtimes=no
9491 export_dynamic_flag_spec=
9492 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9493 hardcode_automatic=no
9494 hardcode_direct=no
9495 hardcode_direct_absolute=no
9496 hardcode_libdir_flag_spec=
9497 hardcode_libdir_flag_spec_ld=
9498 hardcode_libdir_separator=
9499 hardcode_minus_L=no
9500 hardcode_shlibpath_var=unsupported
9501 inherit_rpath=no
9502 link_all_deplibs=unknown
9503 module_cmds=
9504 module_expsym_cmds=
9505 old_archive_from_new_cmds=
9506 old_archive_from_expsyms_cmds=
9507 thread_safe_flag_spec=
9508 whole_archive_flag_spec=
9509 # include_expsyms should be a list of space-separated symbols to be *always*
9510 # included in the symbol list
9511 include_expsyms=
9512 # exclude_expsyms can be an extended regexp of symbols to exclude
9513 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9514 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9515 # as well as any symbol that contains `d'.
9516 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9517 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9518 # platforms (ab)use it in PIC code, but their linkers get confused if
9519 # the symbol is explicitly referenced. Since portable code cannot
9520 # rely on this symbol name, it's probably fine to never include it in
9521 # preloaded symbol tables.
9522 # Exclude shared library initialization/finalization symbols.
9523 extract_expsyms_cmds=
9524
9525 case $host_os in
9526 cygwin* | mingw* | pw32* | cegcc*)
9527 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9528 # When not using gcc, we currently assume that we are using
9529 # Microsoft Visual C++.
9530 if test "$GCC" != yes; then
9531 with_gnu_ld=no
9532 fi
9533 ;;
9534 interix*)
9535 # we just hope/assume this is gcc and not c89 (= MSVC++)
9536 with_gnu_ld=yes
9537 ;;
9538 openbsd*)
9539 with_gnu_ld=no
9540 ;;
9541 esac
9542
9543 ld_shlibs=yes
9544 if test "$with_gnu_ld" = yes; then
9545 # If archive_cmds runs LD, not CC, wlarc should be empty
9546 wlarc='${wl}'
9547
9548 # Set some defaults for GNU ld with shared library support. These
9549 # are reset later if shared libraries are not supported. Putting them
9550 # here allows them to be overridden if necessary.
9551 runpath_var=LD_RUN_PATH
9552 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9553 export_dynamic_flag_spec='${wl}--export-dynamic'
9554 # ancient GNU ld didn't support --whole-archive et. al.
9555 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9556 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9557 else
9558 whole_archive_flag_spec=
9559 fi
9560 supports_anon_versioning=no
9561 case `$LD -v 2>&1` in
9562 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9563 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9564 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9565 *\ 2.11.*) ;; # other 2.11 versions
9566 *) supports_anon_versioning=yes ;;
9567 esac
9568
9569 # See if GNU ld supports shared libraries.
9570 case $host_os in
9571 aix[3-9]*)
9572 # On AIX/PPC, the GNU linker is very broken
9573 if test "$host_cpu" != ia64; then
9574 ld_shlibs=no
9575 cat <<_LT_EOF 1>&2
9576
9577 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9578 *** to be unable to reliably create shared libraries on AIX.
9579 *** Therefore, libtool is disabling shared libraries support. If you
9580 *** really care for shared libraries, you may want to modify your PATH
9581 *** so that a non-GNU linker is found, and then restart.
9582
9583 _LT_EOF
9584 fi
9585 ;;
9586
9587 amigaos*)
9588 case $host_cpu in
9589 powerpc)
9590 # see comment about AmigaOS4 .so support
9591 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9592 archive_expsym_cmds=''
9593 ;;
9594 m68k)
9595 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)'
9596 hardcode_libdir_flag_spec='-L$libdir'
9597 hardcode_minus_L=yes
9598 ;;
9599 esac
9600 ;;
9601
9602 beos*)
9603 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9604 allow_undefined_flag=unsupported
9605 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9606 # support --undefined. This deserves some investigation. FIXME
9607 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9608 else
9609 ld_shlibs=no
9610 fi
9611 ;;
9612
9613 cygwin* | mingw* | pw32* | cegcc*)
9614 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9615 # as there is no search path for DLLs.
9616 hardcode_libdir_flag_spec='-L$libdir'
9617 allow_undefined_flag=unsupported
9618 always_export_symbols=no
9619 enable_shared_with_static_runtimes=yes
9620 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9621
9622 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9623 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9624 # If the export-symbols file already is a .def file (1st line
9625 # is EXPORTS), use it as is; otherwise, prepend...
9626 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9627 cp $export_symbols $output_objdir/$soname.def;
9628 else
9629 echo EXPORTS > $output_objdir/$soname.def;
9630 cat $export_symbols >> $output_objdir/$soname.def;
9631 fi~
9632 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9633 else
9634 ld_shlibs=no
9635 fi
9636 ;;
9637
9638 interix[3-9]*)
9639 hardcode_direct=no
9640 hardcode_shlibpath_var=no
9641 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9642 export_dynamic_flag_spec='${wl}-E'
9643 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9644 # Instead, shared libraries are loaded at an image base (0x10000000 by
9645 # default) and relocated if they conflict, which is a slow very memory
9646 # consuming and fragmenting process. To avoid this, we pick a random,
9647 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9648 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9649 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9650 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'
9651 ;;
9652
9653 gnu* | linux* | tpf* | k*bsd*-gnu)
9654 tmp_diet=no
9655 if test "$host_os" = linux-dietlibc; then
9656 case $cc_basename in
9657 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9658 esac
9659 fi
9660 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9661 && test "$tmp_diet" = no
9662 then
9663 tmp_addflag=
9664 tmp_sharedflag='-shared'
9665 case $cc_basename,$host_cpu in
9666 pgcc*) # Portland Group C compiler
9667 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9668 tmp_addflag=' $pic_flag'
9669 ;;
9670 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9671 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9672 tmp_addflag=' $pic_flag -Mnomain' ;;
9673 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9674 tmp_addflag=' -i_dynamic' ;;
9675 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9676 tmp_addflag=' -i_dynamic -nofor_main' ;;
9677 ifc* | ifort*) # Intel Fortran compiler
9678 tmp_addflag=' -nofor_main' ;;
9679 lf95*) # Lahey Fortran 8.1
9680 whole_archive_flag_spec=
9681 tmp_sharedflag='--shared' ;;
9682 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9683 tmp_sharedflag='-qmkshrobj'
9684 tmp_addflag= ;;
9685 esac
9686 case `$CC -V 2>&1 | sed 5q` in
9687 *Sun\ C*) # Sun C 5.9
9688 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9689 compiler_needs_object=yes
9690 tmp_sharedflag='-G' ;;
9691 *Sun\ F*) # Sun Fortran 8.3
9692 tmp_sharedflag='-G' ;;
9693 esac
9694 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9695
9696 if test "x$supports_anon_versioning" = xyes; then
9697 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9698 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9699 echo "local: *; };" >> $output_objdir/$libname.ver~
9700 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9701 fi
9702
9703 case $cc_basename in
9704 xlf*)
9705 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9706 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9707 hardcode_libdir_flag_spec=
9708 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9709 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9710 if test "x$supports_anon_versioning" = xyes; then
9711 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9712 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9713 echo "local: *; };" >> $output_objdir/$libname.ver~
9714 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9715 fi
9716 ;;
9717 esac
9718 else
9719 ld_shlibs=no
9720 fi
9721 ;;
9722
9723 netbsd*)
9724 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9725 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9726 wlarc=
9727 else
9728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9730 fi
9731 ;;
9732
9733 solaris*)
9734 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9735 ld_shlibs=no
9736 cat <<_LT_EOF 1>&2
9737
9738 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9739 *** create shared libraries on Solaris systems. Therefore, libtool
9740 *** is disabling shared libraries support. We urge you to upgrade GNU
9741 *** binutils to release 2.9.1 or newer. Another option is to modify
9742 *** your PATH or compiler configuration so that the native linker is
9743 *** used, and then restart.
9744
9745 _LT_EOF
9746 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9747 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9748 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9749 else
9750 ld_shlibs=no
9751 fi
9752 ;;
9753
9754 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9755 case `$LD -v 2>&1` in
9756 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9757 ld_shlibs=no
9758 cat <<_LT_EOF 1>&2
9759
9760 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9761 *** reliably create shared libraries on SCO systems. Therefore, libtool
9762 *** is disabling shared libraries support. We urge you to upgrade GNU
9763 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9764 *** your PATH or compiler configuration so that the native linker is
9765 *** used, and then restart.
9766
9767 _LT_EOF
9768 ;;
9769 *)
9770 # For security reasons, it is highly recommended that you always
9771 # use absolute paths for naming shared libraries, and exclude the
9772 # DT_RUNPATH tag from executables and libraries. But doing so
9773 # requires that you compile everything twice, which is a pain.
9774 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9775 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9776 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9777 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9778 else
9779 ld_shlibs=no
9780 fi
9781 ;;
9782 esac
9783 ;;
9784
9785 sunos4*)
9786 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9787 wlarc=
9788 hardcode_direct=yes
9789 hardcode_shlibpath_var=no
9790 ;;
9791
9792 *)
9793 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9794 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9795 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9796 else
9797 ld_shlibs=no
9798 fi
9799 ;;
9800 esac
9801
9802 if test "$ld_shlibs" = no; then
9803 runpath_var=
9804 hardcode_libdir_flag_spec=
9805 export_dynamic_flag_spec=
9806 whole_archive_flag_spec=
9807 fi
9808 else
9809 # PORTME fill in a description of your system's linker (not GNU ld)
9810 case $host_os in
9811 aix3*)
9812 allow_undefined_flag=unsupported
9813 always_export_symbols=yes
9814 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'
9815 # Note: this linker hardcodes the directories in LIBPATH if there
9816 # are no directories specified by -L.
9817 hardcode_minus_L=yes
9818 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9819 # Neither direct hardcoding nor static linking is supported with a
9820 # broken collect2.
9821 hardcode_direct=unsupported
9822 fi
9823 ;;
9824
9825 aix[4-9]*)
9826 if test "$host_cpu" = ia64; then
9827 # On IA64, the linker does run time linking by default, so we don't
9828 # have to do anything special.
9829 aix_use_runtimelinking=no
9830 exp_sym_flag='-Bexport'
9831 no_entry_flag=""
9832 else
9833 # If we're using GNU nm, then we don't want the "-C" option.
9834 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9835 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9836 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9837 else
9838 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'
9839 fi
9840 aix_use_runtimelinking=no
9841
9842 # Test if we are trying to use run time linking or normal
9843 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9844 # need to do runtime linking.
9845 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9846 for ld_flag in $LDFLAGS; do
9847 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9848 aix_use_runtimelinking=yes
9849 break
9850 fi
9851 done
9852 ;;
9853 esac
9854
9855 exp_sym_flag='-bexport'
9856 no_entry_flag='-bnoentry'
9857 fi
9858
9859 # When large executables or shared objects are built, AIX ld can
9860 # have problems creating the table of contents. If linking a library
9861 # or program results in "error TOC overflow" add -mminimal-toc to
9862 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9863 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9864
9865 archive_cmds=''
9866 hardcode_direct=yes
9867 hardcode_direct_absolute=yes
9868 hardcode_libdir_separator=':'
9869 link_all_deplibs=yes
9870 file_list_spec='${wl}-f,'
9871
9872 if test "$GCC" = yes; then
9873 case $host_os in aix4.[012]|aix4.[012].*)
9874 # We only want to do this on AIX 4.2 and lower, the check
9875 # below for broken collect2 doesn't work under 4.3+
9876 collect2name=`${CC} -print-prog-name=collect2`
9877 if test -f "$collect2name" &&
9878 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9879 then
9880 # We have reworked collect2
9881 :
9882 else
9883 # We have old collect2
9884 hardcode_direct=unsupported
9885 # It fails to find uninstalled libraries when the uninstalled
9886 # path is not listed in the libpath. Setting hardcode_minus_L
9887 # to unsupported forces relinking
9888 hardcode_minus_L=yes
9889 hardcode_libdir_flag_spec='-L$libdir'
9890 hardcode_libdir_separator=
9891 fi
9892 ;;
9893 esac
9894 shared_flag='-shared'
9895 if test "$aix_use_runtimelinking" = yes; then
9896 shared_flag="$shared_flag "'${wl}-G'
9897 fi
9898 else
9899 # not using gcc
9900 if test "$host_cpu" = ia64; then
9901 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9902 # chokes on -Wl,-G. The following line is correct:
9903 shared_flag='-G'
9904 else
9905 if test "$aix_use_runtimelinking" = yes; then
9906 shared_flag='${wl}-G'
9907 else
9908 shared_flag='${wl}-bM:SRE'
9909 fi
9910 fi
9911 fi
9912
9913 export_dynamic_flag_spec='${wl}-bexpall'
9914 # It seems that -bexpall does not export symbols beginning with
9915 # underscore (_), so it is better to generate a list of symbols to export.
9916 always_export_symbols=yes
9917 if test "$aix_use_runtimelinking" = yes; then
9918 # Warning - without using the other runtime loading flags (-brtl),
9919 # -berok will link without error, but may produce a broken library.
9920 allow_undefined_flag='-berok'
9921 # Determine the default libpath from the value encoded in an
9922 # empty executable.
9923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9925
9926 int
9927 main ()
9928 {
9929
9930 ;
9931 return 0;
9932 }
9933 _ACEOF
9934 if ac_fn_c_try_link "$LINENO"; then :
9935
9936 lt_aix_libpath_sed='
9937 /Import File Strings/,/^$/ {
9938 /^0/ {
9939 s/^0 *\(.*\)$/\1/
9940 p
9941 }
9942 }'
9943 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9944 # Check for a 64-bit object if we didn't find anything.
9945 if test -z "$aix_libpath"; then
9946 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9947 fi
9948 fi
9949 rm -f core conftest.err conftest.$ac_objext \
9950 conftest$ac_exeext conftest.$ac_ext
9951 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9952
9953 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9954 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9955 else
9956 if test "$host_cpu" = ia64; then
9957 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9958 allow_undefined_flag="-z nodefs"
9959 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"
9960 else
9961 # Determine the default libpath from the value encoded in an
9962 # empty executable.
9963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9964 /* end confdefs.h. */
9965
9966 int
9967 main ()
9968 {
9969
9970 ;
9971 return 0;
9972 }
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975
9976 lt_aix_libpath_sed='
9977 /Import File Strings/,/^$/ {
9978 /^0/ {
9979 s/^0 *\(.*\)$/\1/
9980 p
9981 }
9982 }'
9983 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9984 # Check for a 64-bit object if we didn't find anything.
9985 if test -z "$aix_libpath"; then
9986 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9987 fi
9988 fi
9989 rm -f core conftest.err conftest.$ac_objext \
9990 conftest$ac_exeext conftest.$ac_ext
9991 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9992
9993 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9994 # Warning - without using the other run time loading flags,
9995 # -berok will link without error, but may produce a broken library.
9996 no_undefined_flag=' ${wl}-bernotok'
9997 allow_undefined_flag=' ${wl}-berok'
9998 # Exported symbols can be pulled into shared objects from archives
9999 whole_archive_flag_spec='$convenience'
10000 archive_cmds_need_lc=yes
10001 # This is similar to how AIX traditionally builds its shared libraries.
10002 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'
10003 fi
10004 fi
10005 ;;
10006
10007 amigaos*)
10008 case $host_cpu in
10009 powerpc)
10010 # see comment about AmigaOS4 .so support
10011 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10012 archive_expsym_cmds=''
10013 ;;
10014 m68k)
10015 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)'
10016 hardcode_libdir_flag_spec='-L$libdir'
10017 hardcode_minus_L=yes
10018 ;;
10019 esac
10020 ;;
10021
10022 bsdi[45]*)
10023 export_dynamic_flag_spec=-rdynamic
10024 ;;
10025
10026 cygwin* | mingw* | pw32* | cegcc*)
10027 # When not using gcc, we currently assume that we are using
10028 # Microsoft Visual C++.
10029 # hardcode_libdir_flag_spec is actually meaningless, as there is
10030 # no search path for DLLs.
10031 hardcode_libdir_flag_spec=' '
10032 allow_undefined_flag=unsupported
10033 # Tell ltmain to make .lib files, not .a files.
10034 libext=lib
10035 # Tell ltmain to make .dll files, not .so files.
10036 shrext_cmds=".dll"
10037 # FIXME: Setting linknames here is a bad hack.
10038 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10039 # The linker will automatically build a .lib file if we build a DLL.
10040 old_archive_from_new_cmds='true'
10041 # FIXME: Should let the user specify the lib program.
10042 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10043 fix_srcfile_path='`cygpath -w "$srcfile"`'
10044 enable_shared_with_static_runtimes=yes
10045 ;;
10046
10047 darwin* | rhapsody*)
10048
10049
10050 archive_cmds_need_lc=no
10051 hardcode_direct=no
10052 hardcode_automatic=yes
10053 hardcode_shlibpath_var=unsupported
10054 whole_archive_flag_spec=''
10055 link_all_deplibs=yes
10056 allow_undefined_flag="$_lt_dar_allow_undefined"
10057 case $cc_basename in
10058 ifort*) _lt_dar_can_shared=yes ;;
10059 *) _lt_dar_can_shared=$GCC ;;
10060 esac
10061 if test "$_lt_dar_can_shared" = "yes"; then
10062 output_verbose_link_cmd=echo
10063 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10064 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10065 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}"
10066 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}"
10067
10068 else
10069 ld_shlibs=no
10070 fi
10071
10072 ;;
10073
10074 dgux*)
10075 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10076 hardcode_libdir_flag_spec='-L$libdir'
10077 hardcode_shlibpath_var=no
10078 ;;
10079
10080 freebsd1*)
10081 ld_shlibs=no
10082 ;;
10083
10084 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10085 # support. Future versions do this automatically, but an explicit c++rt0.o
10086 # does not break anything, and helps significantly (at the cost of a little
10087 # extra space).
10088 freebsd2.2*)
10089 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10090 hardcode_libdir_flag_spec='-R$libdir'
10091 hardcode_direct=yes
10092 hardcode_shlibpath_var=no
10093 ;;
10094
10095 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10096 freebsd2*)
10097 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10098 hardcode_direct=yes
10099 hardcode_minus_L=yes
10100 hardcode_shlibpath_var=no
10101 ;;
10102
10103 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10104 freebsd* | dragonfly*)
10105 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10106 hardcode_libdir_flag_spec='-R$libdir'
10107 hardcode_direct=yes
10108 hardcode_shlibpath_var=no
10109 ;;
10110
10111 hpux9*)
10112 if test "$GCC" = yes; then
10113 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10114 else
10115 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'
10116 fi
10117 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10118 hardcode_libdir_separator=:
10119 hardcode_direct=yes
10120
10121 # hardcode_minus_L: Not really in the search PATH,
10122 # but as the default location of the library.
10123 hardcode_minus_L=yes
10124 export_dynamic_flag_spec='${wl}-E'
10125 ;;
10126
10127 hpux10*)
10128 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10129 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10130 else
10131 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10132 fi
10133 if test "$with_gnu_ld" = no; then
10134 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10135 hardcode_libdir_flag_spec_ld='+b $libdir'
10136 hardcode_libdir_separator=:
10137 hardcode_direct=yes
10138 hardcode_direct_absolute=yes
10139 export_dynamic_flag_spec='${wl}-E'
10140 # hardcode_minus_L: Not really in the search PATH,
10141 # but as the default location of the library.
10142 hardcode_minus_L=yes
10143 fi
10144 ;;
10145
10146 hpux11*)
10147 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10148 case $host_cpu in
10149 hppa*64*)
10150 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10151 ;;
10152 ia64*)
10153 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10154 ;;
10155 *)
10156 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10157 ;;
10158 esac
10159 else
10160 case $host_cpu in
10161 hppa*64*)
10162 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10163 ;;
10164 ia64*)
10165 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10166 ;;
10167 *)
10168 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10169 ;;
10170 esac
10171 fi
10172 if test "$with_gnu_ld" = no; then
10173 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10174 hardcode_libdir_separator=:
10175
10176 case $host_cpu in
10177 hppa*64*|ia64*)
10178 hardcode_direct=no
10179 hardcode_shlibpath_var=no
10180 ;;
10181 *)
10182 hardcode_direct=yes
10183 hardcode_direct_absolute=yes
10184 export_dynamic_flag_spec='${wl}-E'
10185
10186 # hardcode_minus_L: Not really in the search PATH,
10187 # but as the default location of the library.
10188 hardcode_minus_L=yes
10189 ;;
10190 esac
10191 fi
10192 ;;
10193
10194 irix5* | irix6* | nonstopux*)
10195 if test "$GCC" = yes; then
10196 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10197 # Try to use the -exported_symbol ld option, if it does not
10198 # work, assume that -exports_file does not work either and
10199 # implicitly export all symbols.
10200 save_LDFLAGS="$LDFLAGS"
10201 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10204 int foo(void) {}
10205 _ACEOF
10206 if ac_fn_c_try_link "$LINENO"; then :
10207 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10208
10209 fi
10210 rm -f core conftest.err conftest.$ac_objext \
10211 conftest$ac_exeext conftest.$ac_ext
10212 LDFLAGS="$save_LDFLAGS"
10213 else
10214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10215 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10216 fi
10217 archive_cmds_need_lc='no'
10218 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10219 hardcode_libdir_separator=:
10220 inherit_rpath=yes
10221 link_all_deplibs=yes
10222 ;;
10223
10224 netbsd*)
10225 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10226 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10227 else
10228 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10229 fi
10230 hardcode_libdir_flag_spec='-R$libdir'
10231 hardcode_direct=yes
10232 hardcode_shlibpath_var=no
10233 ;;
10234
10235 newsos6)
10236 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10237 hardcode_direct=yes
10238 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10239 hardcode_libdir_separator=:
10240 hardcode_shlibpath_var=no
10241 ;;
10242
10243 *nto* | *qnx*)
10244 ;;
10245
10246 openbsd*)
10247 if test -f /usr/libexec/ld.so; then
10248 hardcode_direct=yes
10249 hardcode_shlibpath_var=no
10250 hardcode_direct_absolute=yes
10251 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10252 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10253 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10254 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10255 export_dynamic_flag_spec='${wl}-E'
10256 else
10257 case $host_os in
10258 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10259 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10260 hardcode_libdir_flag_spec='-R$libdir'
10261 ;;
10262 *)
10263 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10264 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10265 ;;
10266 esac
10267 fi
10268 else
10269 ld_shlibs=no
10270 fi
10271 ;;
10272
10273 os2*)
10274 hardcode_libdir_flag_spec='-L$libdir'
10275 hardcode_minus_L=yes
10276 allow_undefined_flag=unsupported
10277 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'
10278 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10279 ;;
10280
10281 osf3*)
10282 if test "$GCC" = yes; then
10283 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10284 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10285 else
10286 allow_undefined_flag=' -expect_unresolved \*'
10287 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10288 fi
10289 archive_cmds_need_lc='no'
10290 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10291 hardcode_libdir_separator=:
10292 ;;
10293
10294 osf4* | osf5*) # as osf3* with the addition of -msym flag
10295 if test "$GCC" = yes; then
10296 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10297 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10298 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10299 else
10300 allow_undefined_flag=' -expect_unresolved \*'
10301 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10302 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~
10303 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10304
10305 # Both c and cxx compiler support -rpath directly
10306 hardcode_libdir_flag_spec='-rpath $libdir'
10307 fi
10308 archive_cmds_need_lc='no'
10309 hardcode_libdir_separator=:
10310 ;;
10311
10312 solaris*)
10313 no_undefined_flag=' -z defs'
10314 if test "$GCC" = yes; then
10315 wlarc='${wl}'
10316 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10317 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10318 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10319 else
10320 case `$CC -V 2>&1` in
10321 *"Compilers 5.0"*)
10322 wlarc=''
10323 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10324 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10325 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10326 ;;
10327 *)
10328 wlarc='${wl}'
10329 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10330 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10331 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10332 ;;
10333 esac
10334 fi
10335 hardcode_libdir_flag_spec='-R$libdir'
10336 hardcode_shlibpath_var=no
10337 case $host_os in
10338 solaris2.[0-5] | solaris2.[0-5].*) ;;
10339 *)
10340 # The compiler driver will combine and reorder linker options,
10341 # but understands `-z linker_flag'. GCC discards it without `$wl',
10342 # but is careful enough not to reorder.
10343 # Supported since Solaris 2.6 (maybe 2.5.1?)
10344 if test "$GCC" = yes; then
10345 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10346 else
10347 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10348 fi
10349 ;;
10350 esac
10351 link_all_deplibs=yes
10352 ;;
10353
10354 sunos4*)
10355 if test "x$host_vendor" = xsequent; then
10356 # Use $CC to link under sequent, because it throws in some extra .o
10357 # files that make .init and .fini sections work.
10358 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10359 else
10360 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10361 fi
10362 hardcode_libdir_flag_spec='-L$libdir'
10363 hardcode_direct=yes
10364 hardcode_minus_L=yes
10365 hardcode_shlibpath_var=no
10366 ;;
10367
10368 sysv4)
10369 case $host_vendor in
10370 sni)
10371 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10372 hardcode_direct=yes # is this really true???
10373 ;;
10374 siemens)
10375 ## LD is ld it makes a PLAMLIB
10376 ## CC just makes a GrossModule.
10377 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10378 reload_cmds='$CC -r -o $output$reload_objs'
10379 hardcode_direct=no
10380 ;;
10381 motorola)
10382 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10383 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10384 ;;
10385 esac
10386 runpath_var='LD_RUN_PATH'
10387 hardcode_shlibpath_var=no
10388 ;;
10389
10390 sysv4.3*)
10391 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10392 hardcode_shlibpath_var=no
10393 export_dynamic_flag_spec='-Bexport'
10394 ;;
10395
10396 sysv4*MP*)
10397 if test -d /usr/nec; then
10398 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10399 hardcode_shlibpath_var=no
10400 runpath_var=LD_RUN_PATH
10401 hardcode_runpath_var=yes
10402 ld_shlibs=yes
10403 fi
10404 ;;
10405
10406 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10407 no_undefined_flag='${wl}-z,text'
10408 archive_cmds_need_lc=no
10409 hardcode_shlibpath_var=no
10410 runpath_var='LD_RUN_PATH'
10411
10412 if test "$GCC" = yes; then
10413 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10414 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10415 else
10416 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10417 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10418 fi
10419 ;;
10420
10421 sysv5* | sco3.2v5* | sco5v6*)
10422 # Note: We can NOT use -z defs as we might desire, because we do not
10423 # link with -lc, and that would cause any symbols used from libc to
10424 # always be unresolved, which means just about no library would
10425 # ever link correctly. If we're not using GNU ld we use -z text
10426 # though, which does catch some bad symbols but isn't as heavy-handed
10427 # as -z defs.
10428 no_undefined_flag='${wl}-z,text'
10429 allow_undefined_flag='${wl}-z,nodefs'
10430 archive_cmds_need_lc=no
10431 hardcode_shlibpath_var=no
10432 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10433 hardcode_libdir_separator=':'
10434 link_all_deplibs=yes
10435 export_dynamic_flag_spec='${wl}-Bexport'
10436 runpath_var='LD_RUN_PATH'
10437
10438 if test "$GCC" = yes; then
10439 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10440 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10441 else
10442 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10443 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10444 fi
10445 ;;
10446
10447 uts4*)
10448 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10449 hardcode_libdir_flag_spec='-L$libdir'
10450 hardcode_shlibpath_var=no
10451 ;;
10452
10453 *)
10454 ld_shlibs=no
10455 ;;
10456 esac
10457
10458 if test x$host_vendor = xsni; then
10459 case $host in
10460 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10461 export_dynamic_flag_spec='${wl}-Blargedynsym'
10462 ;;
10463 esac
10464 fi
10465 fi
10466
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10468 $as_echo "$ld_shlibs" >&6; }
10469 test "$ld_shlibs" = no && can_build_shared=no
10470
10471 with_gnu_ld=$with_gnu_ld
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487 #
10488 # Do we need to explicitly link libc?
10489 #
10490 case "x$archive_cmds_need_lc" in
10491 x|xyes)
10492 # Assume -lc should be added
10493 archive_cmds_need_lc=yes
10494
10495 if test "$enable_shared" = yes && test "$GCC" = yes; then
10496 case $archive_cmds in
10497 *'~'*)
10498 # FIXME: we may have to deal with multi-command sequences.
10499 ;;
10500 '$CC '*)
10501 # Test whether the compiler implicitly links with -lc since on some
10502 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10503 # to ld, don't add -lc before -lgcc.
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10505 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10506 $RM conftest*
10507 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10508
10509 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10510 (eval $ac_compile) 2>&5
10511 ac_status=$?
10512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10513 test $ac_status = 0; } 2>conftest.err; then
10514 soname=conftest
10515 lib=conftest
10516 libobjs=conftest.$ac_objext
10517 deplibs=
10518 wl=$lt_prog_compiler_wl
10519 pic_flag=$lt_prog_compiler_pic
10520 compiler_flags=-v
10521 linker_flags=-v
10522 verstring=
10523 output_objdir=.
10524 libname=conftest
10525 lt_save_allow_undefined_flag=$allow_undefined_flag
10526 allow_undefined_flag=
10527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10528 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10529 ac_status=$?
10530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10531 test $ac_status = 0; }
10532 then
10533 archive_cmds_need_lc=no
10534 else
10535 archive_cmds_need_lc=yes
10536 fi
10537 allow_undefined_flag=$lt_save_allow_undefined_flag
10538 else
10539 cat conftest.err 1>&5
10540 fi
10541 $RM conftest*
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10543 $as_echo "$archive_cmds_need_lc" >&6; }
10544 ;;
10545 esac
10546 fi
10547 ;;
10548 esac
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
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10707 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10708
10709 if test "$GCC" = yes; then
10710 case $host_os in
10711 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10712 *) lt_awk_arg="/^libraries:/" ;;
10713 esac
10714 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10715 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10716 # if the path contains ";" then we assume it to be the separator
10717 # otherwise default to the standard path separator (i.e. ":") - it is
10718 # assumed that no part of a normal pathname contains ";" but that should
10719 # okay in the real world where ";" in dirpaths is itself problematic.
10720 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10721 else
10722 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10723 fi
10724 # Ok, now we have the path, separated by spaces, we can step through it
10725 # and add multilib dir if necessary.
10726 lt_tmp_lt_search_path_spec=
10727 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10728 for lt_sys_path in $lt_search_path_spec; do
10729 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10730 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10731 else
10732 test -d "$lt_sys_path" && \
10733 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10734 fi
10735 done
10736 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10737 BEGIN {RS=" "; FS="/|\n";} {
10738 lt_foo="";
10739 lt_count=0;
10740 for (lt_i = NF; lt_i > 0; lt_i--) {
10741 if ($lt_i != "" && $lt_i != ".") {
10742 if ($lt_i == "..") {
10743 lt_count++;
10744 } else {
10745 if (lt_count == 0) {
10746 lt_foo="/" $lt_i lt_foo;
10747 } else {
10748 lt_count--;
10749 }
10750 }
10751 }
10752 }
10753 if (lt_foo != "") { lt_freq[lt_foo]++; }
10754 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10755 }'`
10756 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10757 else
10758 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10759 fi
10760 library_names_spec=
10761 libname_spec='lib$name'
10762 soname_spec=
10763 shrext_cmds=".so"
10764 postinstall_cmds=
10765 postuninstall_cmds=
10766 finish_cmds=
10767 finish_eval=
10768 shlibpath_var=
10769 shlibpath_overrides_runpath=unknown
10770 version_type=none
10771 dynamic_linker="$host_os ld.so"
10772 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10773 need_lib_prefix=unknown
10774 hardcode_into_libs=no
10775
10776 # when you set need_version to no, make sure it does not cause -set_version
10777 # flags to be left without arguments
10778 need_version=unknown
10779
10780 case $host_os in
10781 aix3*)
10782 version_type=linux
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10784 shlibpath_var=LIBPATH
10785
10786 # AIX 3 has no versioning support, so we append a major version to the name.
10787 soname_spec='${libname}${release}${shared_ext}$major'
10788 ;;
10789
10790 aix[4-9]*)
10791 version_type=linux
10792 need_lib_prefix=no
10793 need_version=no
10794 hardcode_into_libs=yes
10795 if test "$host_cpu" = ia64; then
10796 # AIX 5 supports IA64
10797 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10798 shlibpath_var=LD_LIBRARY_PATH
10799 else
10800 # With GCC up to 2.95.x, collect2 would create an import file
10801 # for dependence libraries. The import file would start with
10802 # the line `#! .'. This would cause the generated library to
10803 # depend on `.', always an invalid library. This was fixed in
10804 # development snapshots of GCC prior to 3.0.
10805 case $host_os in
10806 aix4 | aix4.[01] | aix4.[01].*)
10807 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10808 echo ' yes '
10809 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10810 :
10811 else
10812 can_build_shared=no
10813 fi
10814 ;;
10815 esac
10816 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10817 # soname into executable. Probably we can add versioning support to
10818 # collect2, so additional links can be useful in future.
10819 if test "$aix_use_runtimelinking" = yes; then
10820 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10821 # instead of lib<name>.a to let people know that these are not
10822 # typical AIX shared libraries.
10823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10824 else
10825 # We preserve .a as extension for shared libraries through AIX4.2
10826 # and later when we are not doing run time linking.
10827 library_names_spec='${libname}${release}.a $libname.a'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10829 fi
10830 shlibpath_var=LIBPATH
10831 fi
10832 ;;
10833
10834 amigaos*)
10835 case $host_cpu in
10836 powerpc)
10837 # Since July 2007 AmigaOS4 officially supports .so libraries.
10838 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10840 ;;
10841 m68k)
10842 library_names_spec='$libname.ixlibrary $libname.a'
10843 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10844 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10845 ;;
10846 esac
10847 ;;
10848
10849 beos*)
10850 library_names_spec='${libname}${shared_ext}'
10851 dynamic_linker="$host_os ld.so"
10852 shlibpath_var=LIBRARY_PATH
10853 ;;
10854
10855 bsdi[45]*)
10856 version_type=linux
10857 need_version=no
10858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10859 soname_spec='${libname}${release}${shared_ext}$major'
10860 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10861 shlibpath_var=LD_LIBRARY_PATH
10862 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10863 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10864 # the default ld.so.conf also contains /usr/contrib/lib and
10865 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10866 # libtool to hard-code these into programs
10867 ;;
10868
10869 cygwin* | mingw* | pw32* | cegcc*)
10870 version_type=windows
10871 shrext_cmds=".dll"
10872 need_version=no
10873 need_lib_prefix=no
10874
10875 case $GCC,$host_os in
10876 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10877 library_names_spec='$libname.dll.a'
10878 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10879 postinstall_cmds='base_file=`basename \${file}`~
10880 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10881 dldir=$destdir/`dirname \$dlpath`~
10882 test -d \$dldir || mkdir -p \$dldir~
10883 $install_prog $dir/$dlname \$dldir/$dlname~
10884 chmod a+x \$dldir/$dlname~
10885 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10886 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10887 fi'
10888 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10889 dlpath=$dir/\$dldll~
10890 $RM \$dlpath'
10891 shlibpath_overrides_runpath=yes
10892
10893 case $host_os in
10894 cygwin*)
10895 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10896 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10897 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10898 ;;
10899 mingw* | cegcc*)
10900 # MinGW DLLs use traditional 'lib' prefix
10901 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10902 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10903 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10904 # It is most probably a Windows format PATH printed by
10905 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10906 # path with ; separators, and with drive letters. We can handle the
10907 # drive letters (cygwin fileutils understands them), so leave them,
10908 # especially as we might pass files found there to a mingw objdump,
10909 # which wouldn't understand a cygwinified path. Ahh.
10910 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10911 else
10912 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10913 fi
10914 ;;
10915 pw32*)
10916 # pw32 DLLs use 'pw' prefix rather than 'lib'
10917 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10918 ;;
10919 esac
10920 ;;
10921
10922 *)
10923 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10924 ;;
10925 esac
10926 dynamic_linker='Win32 ld.exe'
10927 # FIXME: first we should search . and the directory the executable is in
10928 shlibpath_var=PATH
10929 ;;
10930
10931 darwin* | rhapsody*)
10932 dynamic_linker="$host_os dyld"
10933 version_type=darwin
10934 need_lib_prefix=no
10935 need_version=no
10936 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10937 soname_spec='${libname}${release}${major}$shared_ext'
10938 shlibpath_overrides_runpath=yes
10939 shlibpath_var=DYLD_LIBRARY_PATH
10940 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10941
10942 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10943 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10944 ;;
10945
10946 dgux*)
10947 version_type=linux
10948 need_lib_prefix=no
10949 need_version=no
10950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10951 soname_spec='${libname}${release}${shared_ext}$major'
10952 shlibpath_var=LD_LIBRARY_PATH
10953 ;;
10954
10955 freebsd1*)
10956 dynamic_linker=no
10957 ;;
10958
10959 freebsd* | dragonfly*)
10960 # DragonFly does not have aout. When/if they implement a new
10961 # versioning mechanism, adjust this.
10962 if test -x /usr/bin/objformat; then
10963 objformat=`/usr/bin/objformat`
10964 else
10965 case $host_os in
10966 freebsd[123]*) objformat=aout ;;
10967 *) objformat=elf ;;
10968 esac
10969 fi
10970 version_type=freebsd-$objformat
10971 case $version_type in
10972 freebsd-elf*)
10973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10974 need_version=no
10975 need_lib_prefix=no
10976 ;;
10977 freebsd-*)
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10979 need_version=yes
10980 ;;
10981 esac
10982 shlibpath_var=LD_LIBRARY_PATH
10983 case $host_os in
10984 freebsd2*)
10985 shlibpath_overrides_runpath=yes
10986 ;;
10987 freebsd3.[01]* | freebsdelf3.[01]*)
10988 shlibpath_overrides_runpath=yes
10989 hardcode_into_libs=yes
10990 ;;
10991 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10992 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10993 shlibpath_overrides_runpath=no
10994 hardcode_into_libs=yes
10995 ;;
10996 *) # from 4.6 on, and DragonFly
10997 shlibpath_overrides_runpath=yes
10998 hardcode_into_libs=yes
10999 ;;
11000 esac
11001 ;;
11002
11003 gnu*)
11004 version_type=linux
11005 need_lib_prefix=no
11006 need_version=no
11007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11008 soname_spec='${libname}${release}${shared_ext}$major'
11009 shlibpath_var=LD_LIBRARY_PATH
11010 hardcode_into_libs=yes
11011 ;;
11012
11013 hpux9* | hpux10* | hpux11*)
11014 # Give a soname corresponding to the major version so that dld.sl refuses to
11015 # link against other versions.
11016 version_type=sunos
11017 need_lib_prefix=no
11018 need_version=no
11019 case $host_cpu in
11020 ia64*)
11021 shrext_cmds='.so'
11022 hardcode_into_libs=yes
11023 dynamic_linker="$host_os dld.so"
11024 shlibpath_var=LD_LIBRARY_PATH
11025 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11027 soname_spec='${libname}${release}${shared_ext}$major'
11028 if test "X$HPUX_IA64_MODE" = X32; then
11029 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11030 else
11031 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11032 fi
11033 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11034 ;;
11035 hppa*64*)
11036 shrext_cmds='.sl'
11037 hardcode_into_libs=yes
11038 dynamic_linker="$host_os dld.sl"
11039 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11040 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11042 soname_spec='${libname}${release}${shared_ext}$major'
11043 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11044 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11045 ;;
11046 *)
11047 shrext_cmds='.sl'
11048 dynamic_linker="$host_os dld.sl"
11049 shlibpath_var=SHLIB_PATH
11050 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11052 soname_spec='${libname}${release}${shared_ext}$major'
11053 ;;
11054 esac
11055 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11056 postinstall_cmds='chmod 555 $lib'
11057 ;;
11058
11059 interix[3-9]*)
11060 version_type=linux
11061 need_lib_prefix=no
11062 need_version=no
11063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11064 soname_spec='${libname}${release}${shared_ext}$major'
11065 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11066 shlibpath_var=LD_LIBRARY_PATH
11067 shlibpath_overrides_runpath=no
11068 hardcode_into_libs=yes
11069 ;;
11070
11071 irix5* | irix6* | nonstopux*)
11072 case $host_os in
11073 nonstopux*) version_type=nonstopux ;;
11074 *)
11075 if test "$lt_cv_prog_gnu_ld" = yes; then
11076 version_type=linux
11077 else
11078 version_type=irix
11079 fi ;;
11080 esac
11081 need_lib_prefix=no
11082 need_version=no
11083 soname_spec='${libname}${release}${shared_ext}$major'
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11085 case $host_os in
11086 irix5* | nonstopux*)
11087 libsuff= shlibsuff=
11088 ;;
11089 *)
11090 case $LD in # libtool.m4 will add one of these switches to LD
11091 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11092 libsuff= shlibsuff= libmagic=32-bit;;
11093 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11094 libsuff=32 shlibsuff=N32 libmagic=N32;;
11095 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11096 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11097 *) libsuff= shlibsuff= libmagic=never-match;;
11098 esac
11099 ;;
11100 esac
11101 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11102 shlibpath_overrides_runpath=no
11103 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11104 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11105 hardcode_into_libs=yes
11106 ;;
11107
11108 # No shared lib support for Linux oldld, aout, or coff.
11109 linux*oldld* | linux*aout* | linux*coff*)
11110 dynamic_linker=no
11111 ;;
11112
11113 # This must be Linux ELF.
11114 linux* | k*bsd*-gnu)
11115 version_type=linux
11116 need_lib_prefix=no
11117 need_version=no
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11119 soname_spec='${libname}${release}${shared_ext}$major'
11120 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11121 shlibpath_var=LD_LIBRARY_PATH
11122 shlibpath_overrides_runpath=no
11123 # Some binutils ld are patched to set DT_RUNPATH
11124 save_LDFLAGS=$LDFLAGS
11125 save_libdir=$libdir
11126 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11127 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11129 /* end confdefs.h. */
11130
11131 int
11132 main ()
11133 {
11134
11135 ;
11136 return 0;
11137 }
11138 _ACEOF
11139 if ac_fn_c_try_link "$LINENO"; then :
11140 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11141 shlibpath_overrides_runpath=yes
11142 fi
11143 fi
11144 rm -f core conftest.err conftest.$ac_objext \
11145 conftest$ac_exeext conftest.$ac_ext
11146 LDFLAGS=$save_LDFLAGS
11147 libdir=$save_libdir
11148
11149 # This implies no fast_install, which is unacceptable.
11150 # Some rework will be needed to allow for fast_install
11151 # before this can be enabled.
11152 hardcode_into_libs=yes
11153
11154 # Add ABI-specific directories to the system library path.
11155 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11156
11157 # Append ld.so.conf contents to the search path
11158 if test -f /etc/ld.so.conf; then
11159 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11160 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11161 fi
11162
11163 # We used to test for /lib/ld.so.1 and disable shared libraries on
11164 # powerpc, because MkLinux only supported shared libraries with the
11165 # GNU dynamic linker. Since this was broken with cross compilers,
11166 # most powerpc-linux boxes support dynamic linking these days and
11167 # people can always --disable-shared, the test was removed, and we
11168 # assume the GNU/Linux dynamic linker is in use.
11169 dynamic_linker='GNU/Linux ld.so'
11170 ;;
11171
11172 netbsd*)
11173 version_type=sunos
11174 need_lib_prefix=no
11175 need_version=no
11176 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11178 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11179 dynamic_linker='NetBSD (a.out) ld.so'
11180 else
11181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11182 soname_spec='${libname}${release}${shared_ext}$major'
11183 dynamic_linker='NetBSD ld.elf_so'
11184 fi
11185 shlibpath_var=LD_LIBRARY_PATH
11186 shlibpath_overrides_runpath=yes
11187 hardcode_into_libs=yes
11188 ;;
11189
11190 newsos6)
11191 version_type=linux
11192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11193 shlibpath_var=LD_LIBRARY_PATH
11194 shlibpath_overrides_runpath=yes
11195 ;;
11196
11197 *nto* | *qnx*)
11198 version_type=qnx
11199 need_lib_prefix=no
11200 need_version=no
11201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11202 soname_spec='${libname}${release}${shared_ext}$major'
11203 shlibpath_var=LD_LIBRARY_PATH
11204 shlibpath_overrides_runpath=no
11205 hardcode_into_libs=yes
11206 dynamic_linker='ldqnx.so'
11207 ;;
11208
11209 openbsd*)
11210 version_type=sunos
11211 sys_lib_dlsearch_path_spec="/usr/lib"
11212 need_lib_prefix=no
11213 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11214 case $host_os in
11215 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11216 *) need_version=no ;;
11217 esac
11218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11219 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11220 shlibpath_var=LD_LIBRARY_PATH
11221 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11222 case $host_os in
11223 openbsd2.[89] | openbsd2.[89].*)
11224 shlibpath_overrides_runpath=no
11225 ;;
11226 *)
11227 shlibpath_overrides_runpath=yes
11228 ;;
11229 esac
11230 else
11231 shlibpath_overrides_runpath=yes
11232 fi
11233 ;;
11234
11235 os2*)
11236 libname_spec='$name'
11237 shrext_cmds=".dll"
11238 need_lib_prefix=no
11239 library_names_spec='$libname${shared_ext} $libname.a'
11240 dynamic_linker='OS/2 ld.exe'
11241 shlibpath_var=LIBPATH
11242 ;;
11243
11244 osf3* | osf4* | osf5*)
11245 version_type=osf
11246 need_lib_prefix=no
11247 need_version=no
11248 soname_spec='${libname}${release}${shared_ext}$major'
11249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11250 shlibpath_var=LD_LIBRARY_PATH
11251 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11252 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11253 ;;
11254
11255 rdos*)
11256 dynamic_linker=no
11257 ;;
11258
11259 solaris*)
11260 version_type=linux
11261 need_lib_prefix=no
11262 need_version=no
11263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11264 soname_spec='${libname}${release}${shared_ext}$major'
11265 shlibpath_var=LD_LIBRARY_PATH
11266 shlibpath_overrides_runpath=yes
11267 hardcode_into_libs=yes
11268 # ldd complains unless libraries are executable
11269 postinstall_cmds='chmod +x $lib'
11270 ;;
11271
11272 sunos4*)
11273 version_type=sunos
11274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11275 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11276 shlibpath_var=LD_LIBRARY_PATH
11277 shlibpath_overrides_runpath=yes
11278 if test "$with_gnu_ld" = yes; then
11279 need_lib_prefix=no
11280 fi
11281 need_version=yes
11282 ;;
11283
11284 sysv4 | sysv4.3*)
11285 version_type=linux
11286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11287 soname_spec='${libname}${release}${shared_ext}$major'
11288 shlibpath_var=LD_LIBRARY_PATH
11289 case $host_vendor in
11290 sni)
11291 shlibpath_overrides_runpath=no
11292 need_lib_prefix=no
11293 runpath_var=LD_RUN_PATH
11294 ;;
11295 siemens)
11296 need_lib_prefix=no
11297 ;;
11298 motorola)
11299 need_lib_prefix=no
11300 need_version=no
11301 shlibpath_overrides_runpath=no
11302 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11303 ;;
11304 esac
11305 ;;
11306
11307 sysv4*MP*)
11308 if test -d /usr/nec ;then
11309 version_type=linux
11310 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11311 soname_spec='$libname${shared_ext}.$major'
11312 shlibpath_var=LD_LIBRARY_PATH
11313 fi
11314 ;;
11315
11316 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11317 version_type=freebsd-elf
11318 need_lib_prefix=no
11319 need_version=no
11320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11321 soname_spec='${libname}${release}${shared_ext}$major'
11322 shlibpath_var=LD_LIBRARY_PATH
11323 shlibpath_overrides_runpath=yes
11324 hardcode_into_libs=yes
11325 if test "$with_gnu_ld" = yes; then
11326 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11327 else
11328 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11329 case $host_os in
11330 sco3.2v5*)
11331 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11332 ;;
11333 esac
11334 fi
11335 sys_lib_dlsearch_path_spec='/usr/lib'
11336 ;;
11337
11338 tpf*)
11339 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11340 version_type=linux
11341 need_lib_prefix=no
11342 need_version=no
11343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11344 shlibpath_var=LD_LIBRARY_PATH
11345 shlibpath_overrides_runpath=no
11346 hardcode_into_libs=yes
11347 ;;
11348
11349 uts4*)
11350 version_type=linux
11351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11352 soname_spec='${libname}${release}${shared_ext}$major'
11353 shlibpath_var=LD_LIBRARY_PATH
11354 ;;
11355
11356 *)
11357 dynamic_linker=no
11358 ;;
11359 esac
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11361 $as_echo "$dynamic_linker" >&6; }
11362 test "$dynamic_linker" = no && can_build_shared=no
11363
11364 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11365 if test "$GCC" = yes; then
11366 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11367 fi
11368
11369 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11370 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11371 fi
11372 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11373 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11374 fi
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11463 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11464 hardcode_action=
11465 if test -n "$hardcode_libdir_flag_spec" ||
11466 test -n "$runpath_var" ||
11467 test "X$hardcode_automatic" = "Xyes" ; then
11468
11469 # We can hardcode non-existent directories.
11470 if test "$hardcode_direct" != no &&
11471 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11472 # have to relink, otherwise we might link with an installed library
11473 # when we should be linking with a yet-to-be-installed one
11474 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11475 test "$hardcode_minus_L" != no; then
11476 # Linking always hardcodes the temporary library directory.
11477 hardcode_action=relink
11478 else
11479 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11480 hardcode_action=immediate
11481 fi
11482 else
11483 # We cannot hardcode anything, or else we can only hardcode existing
11484 # directories.
11485 hardcode_action=unsupported
11486 fi
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11488 $as_echo "$hardcode_action" >&6; }
11489
11490 if test "$hardcode_action" = relink ||
11491 test "$inherit_rpath" = yes; then
11492 # Fast installation is not supported
11493 enable_fast_install=no
11494 elif test "$shlibpath_overrides_runpath" = yes ||
11495 test "$enable_shared" = no; then
11496 # Fast installation is not necessary
11497 enable_fast_install=needless
11498 fi
11499
11500
11501
11502
11503
11504
11505 if test "x$enable_dlopen" != xyes; then
11506 enable_dlopen=unknown
11507 enable_dlopen_self=unknown
11508 enable_dlopen_self_static=unknown
11509 else
11510 lt_cv_dlopen=no
11511 lt_cv_dlopen_libs=
11512
11513 case $host_os in
11514 beos*)
11515 lt_cv_dlopen="load_add_on"
11516 lt_cv_dlopen_libs=
11517 lt_cv_dlopen_self=yes
11518 ;;
11519
11520 mingw* | pw32* | cegcc*)
11521 lt_cv_dlopen="LoadLibrary"
11522 lt_cv_dlopen_libs=
11523 ;;
11524
11525 cygwin*)
11526 lt_cv_dlopen="dlopen"
11527 lt_cv_dlopen_libs=
11528 ;;
11529
11530 darwin*)
11531 # if libdl is installed we need to link against it
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11533 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11534 if ${ac_cv_lib_dl_dlopen+:} false; then :
11535 $as_echo_n "(cached) " >&6
11536 else
11537 ac_check_lib_save_LIBS=$LIBS
11538 LIBS="-ldl $LIBS"
11539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11541
11542 /* Override any GCC internal prototype to avoid an error.
11543 Use char because int might match the return type of a GCC
11544 builtin and then its argument prototype would still apply. */
11545 #ifdef __cplusplus
11546 extern "C"
11547 #endif
11548 char dlopen ();
11549 int
11550 main ()
11551 {
11552 return dlopen ();
11553 ;
11554 return 0;
11555 }
11556 _ACEOF
11557 if ac_fn_c_try_link "$LINENO"; then :
11558 ac_cv_lib_dl_dlopen=yes
11559 else
11560 ac_cv_lib_dl_dlopen=no
11561 fi
11562 rm -f core conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11564 LIBS=$ac_check_lib_save_LIBS
11565 fi
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11567 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11568 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11569 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11570 else
11571
11572 lt_cv_dlopen="dyld"
11573 lt_cv_dlopen_libs=
11574 lt_cv_dlopen_self=yes
11575
11576 fi
11577
11578 ;;
11579
11580 *)
11581 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11582 if test "x$ac_cv_func_shl_load" = xyes; then :
11583 lt_cv_dlopen="shl_load"
11584 else
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11586 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11587 if ${ac_cv_lib_dld_shl_load+:} false; then :
11588 $as_echo_n "(cached) " >&6
11589 else
11590 ac_check_lib_save_LIBS=$LIBS
11591 LIBS="-ldld $LIBS"
11592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11593 /* end confdefs.h. */
11594
11595 /* Override any GCC internal prototype to avoid an error.
11596 Use char because int might match the return type of a GCC
11597 builtin and then its argument prototype would still apply. */
11598 #ifdef __cplusplus
11599 extern "C"
11600 #endif
11601 char shl_load ();
11602 int
11603 main ()
11604 {
11605 return shl_load ();
11606 ;
11607 return 0;
11608 }
11609 _ACEOF
11610 if ac_fn_c_try_link "$LINENO"; then :
11611 ac_cv_lib_dld_shl_load=yes
11612 else
11613 ac_cv_lib_dld_shl_load=no
11614 fi
11615 rm -f core conftest.err conftest.$ac_objext \
11616 conftest$ac_exeext conftest.$ac_ext
11617 LIBS=$ac_check_lib_save_LIBS
11618 fi
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11620 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11621 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11622 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11623 else
11624 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11625 if test "x$ac_cv_func_dlopen" = xyes; then :
11626 lt_cv_dlopen="dlopen"
11627 else
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11629 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11630 if ${ac_cv_lib_dl_dlopen+:} false; then :
11631 $as_echo_n "(cached) " >&6
11632 else
11633 ac_check_lib_save_LIBS=$LIBS
11634 LIBS="-ldl $LIBS"
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h. */
11637
11638 /* Override any GCC internal prototype to avoid an error.
11639 Use char because int might match the return type of a GCC
11640 builtin and then its argument prototype would still apply. */
11641 #ifdef __cplusplus
11642 extern "C"
11643 #endif
11644 char dlopen ();
11645 int
11646 main ()
11647 {
11648 return dlopen ();
11649 ;
11650 return 0;
11651 }
11652 _ACEOF
11653 if ac_fn_c_try_link "$LINENO"; then :
11654 ac_cv_lib_dl_dlopen=yes
11655 else
11656 ac_cv_lib_dl_dlopen=no
11657 fi
11658 rm -f core conftest.err conftest.$ac_objext \
11659 conftest$ac_exeext conftest.$ac_ext
11660 LIBS=$ac_check_lib_save_LIBS
11661 fi
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11663 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11664 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11665 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11666 else
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11668 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11669 if ${ac_cv_lib_svld_dlopen+:} false; then :
11670 $as_echo_n "(cached) " >&6
11671 else
11672 ac_check_lib_save_LIBS=$LIBS
11673 LIBS="-lsvld $LIBS"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11676
11677 /* Override any GCC internal prototype to avoid an error.
11678 Use char because int might match the return type of a GCC
11679 builtin and then its argument prototype would still apply. */
11680 #ifdef __cplusplus
11681 extern "C"
11682 #endif
11683 char dlopen ();
11684 int
11685 main ()
11686 {
11687 return dlopen ();
11688 ;
11689 return 0;
11690 }
11691 _ACEOF
11692 if ac_fn_c_try_link "$LINENO"; then :
11693 ac_cv_lib_svld_dlopen=yes
11694 else
11695 ac_cv_lib_svld_dlopen=no
11696 fi
11697 rm -f core conftest.err conftest.$ac_objext \
11698 conftest$ac_exeext conftest.$ac_ext
11699 LIBS=$ac_check_lib_save_LIBS
11700 fi
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11702 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11703 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11704 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11705 else
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11707 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11708 if ${ac_cv_lib_dld_dld_link+:} false; then :
11709 $as_echo_n "(cached) " >&6
11710 else
11711 ac_check_lib_save_LIBS=$LIBS
11712 LIBS="-ldld $LIBS"
11713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11714 /* end confdefs.h. */
11715
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11719 #ifdef __cplusplus
11720 extern "C"
11721 #endif
11722 char dld_link ();
11723 int
11724 main ()
11725 {
11726 return dld_link ();
11727 ;
11728 return 0;
11729 }
11730 _ACEOF
11731 if ac_fn_c_try_link "$LINENO"; then :
11732 ac_cv_lib_dld_dld_link=yes
11733 else
11734 ac_cv_lib_dld_dld_link=no
11735 fi
11736 rm -f core conftest.err conftest.$ac_objext \
11737 conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_lib_save_LIBS
11739 fi
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11741 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11742 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11743 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11744 fi
11745
11746
11747 fi
11748
11749
11750 fi
11751
11752
11753 fi
11754
11755
11756 fi
11757
11758
11759 fi
11760
11761 ;;
11762 esac
11763
11764 if test "x$lt_cv_dlopen" != xno; then
11765 enable_dlopen=yes
11766 else
11767 enable_dlopen=no
11768 fi
11769
11770 case $lt_cv_dlopen in
11771 dlopen)
11772 save_CPPFLAGS="$CPPFLAGS"
11773 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11774
11775 save_LDFLAGS="$LDFLAGS"
11776 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11777
11778 save_LIBS="$LIBS"
11779 LIBS="$lt_cv_dlopen_libs $LIBS"
11780
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11782 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11783 if ${lt_cv_dlopen_self+:} false; then :
11784 $as_echo_n "(cached) " >&6
11785 else
11786 if test "$cross_compiling" = yes; then :
11787 lt_cv_dlopen_self=cross
11788 else
11789 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11790 lt_status=$lt_dlunknown
11791 cat > conftest.$ac_ext <<_LT_EOF
11792 #line __oline__ "configure"
11793 #include "confdefs.h"
11794
11795 #if HAVE_DLFCN_H
11796 #include <dlfcn.h>
11797 #endif
11798
11799 #include <stdio.h>
11800
11801 #ifdef RTLD_GLOBAL
11802 # define LT_DLGLOBAL RTLD_GLOBAL
11803 #else
11804 # ifdef DL_GLOBAL
11805 # define LT_DLGLOBAL DL_GLOBAL
11806 # else
11807 # define LT_DLGLOBAL 0
11808 # endif
11809 #endif
11810
11811 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11812 find out it does not work in some platform. */
11813 #ifndef LT_DLLAZY_OR_NOW
11814 # ifdef RTLD_LAZY
11815 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11816 # else
11817 # ifdef DL_LAZY
11818 # define LT_DLLAZY_OR_NOW DL_LAZY
11819 # else
11820 # ifdef RTLD_NOW
11821 # define LT_DLLAZY_OR_NOW RTLD_NOW
11822 # else
11823 # ifdef DL_NOW
11824 # define LT_DLLAZY_OR_NOW DL_NOW
11825 # else
11826 # define LT_DLLAZY_OR_NOW 0
11827 # endif
11828 # endif
11829 # endif
11830 # endif
11831 #endif
11832
11833 void fnord() { int i=42;}
11834 int main ()
11835 {
11836 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11837 int status = $lt_dlunknown;
11838
11839 if (self)
11840 {
11841 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11842 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11843 /* dlclose (self); */
11844 }
11845 else
11846 puts (dlerror ());
11847
11848 return status;
11849 }
11850 _LT_EOF
11851 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11852 (eval $ac_link) 2>&5
11853 ac_status=$?
11854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11855 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11856 (./conftest; exit; ) >&5 2>/dev/null
11857 lt_status=$?
11858 case x$lt_status in
11859 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11860 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11861 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11862 esac
11863 else :
11864 # compilation failed
11865 lt_cv_dlopen_self=no
11866 fi
11867 fi
11868 rm -fr conftest*
11869
11870
11871 fi
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11873 $as_echo "$lt_cv_dlopen_self" >&6; }
11874
11875 if test "x$lt_cv_dlopen_self" = xyes; then
11876 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11878 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11879 if ${lt_cv_dlopen_self_static+:} false; then :
11880 $as_echo_n "(cached) " >&6
11881 else
11882 if test "$cross_compiling" = yes; then :
11883 lt_cv_dlopen_self_static=cross
11884 else
11885 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11886 lt_status=$lt_dlunknown
11887 cat > conftest.$ac_ext <<_LT_EOF
11888 #line __oline__ "configure"
11889 #include "confdefs.h"
11890
11891 #if HAVE_DLFCN_H
11892 #include <dlfcn.h>
11893 #endif
11894
11895 #include <stdio.h>
11896
11897 #ifdef RTLD_GLOBAL
11898 # define LT_DLGLOBAL RTLD_GLOBAL
11899 #else
11900 # ifdef DL_GLOBAL
11901 # define LT_DLGLOBAL DL_GLOBAL
11902 # else
11903 # define LT_DLGLOBAL 0
11904 # endif
11905 #endif
11906
11907 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11908 find out it does not work in some platform. */
11909 #ifndef LT_DLLAZY_OR_NOW
11910 # ifdef RTLD_LAZY
11911 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11912 # else
11913 # ifdef DL_LAZY
11914 # define LT_DLLAZY_OR_NOW DL_LAZY
11915 # else
11916 # ifdef RTLD_NOW
11917 # define LT_DLLAZY_OR_NOW RTLD_NOW
11918 # else
11919 # ifdef DL_NOW
11920 # define LT_DLLAZY_OR_NOW DL_NOW
11921 # else
11922 # define LT_DLLAZY_OR_NOW 0
11923 # endif
11924 # endif
11925 # endif
11926 # endif
11927 #endif
11928
11929 void fnord() { int i=42;}
11930 int main ()
11931 {
11932 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11933 int status = $lt_dlunknown;
11934
11935 if (self)
11936 {
11937 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11938 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11939 /* dlclose (self); */
11940 }
11941 else
11942 puts (dlerror ());
11943
11944 return status;
11945 }
11946 _LT_EOF
11947 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11948 (eval $ac_link) 2>&5
11949 ac_status=$?
11950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11951 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11952 (./conftest; exit; ) >&5 2>/dev/null
11953 lt_status=$?
11954 case x$lt_status in
11955 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11956 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11957 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11958 esac
11959 else :
11960 # compilation failed
11961 lt_cv_dlopen_self_static=no
11962 fi
11963 fi
11964 rm -fr conftest*
11965
11966
11967 fi
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11969 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11970 fi
11971
11972 CPPFLAGS="$save_CPPFLAGS"
11973 LDFLAGS="$save_LDFLAGS"
11974 LIBS="$save_LIBS"
11975 ;;
11976 esac
11977
11978 case $lt_cv_dlopen_self in
11979 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11980 *) enable_dlopen_self=unknown ;;
11981 esac
11982
11983 case $lt_cv_dlopen_self_static in
11984 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11985 *) enable_dlopen_self_static=unknown ;;
11986 esac
11987 fi
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005 striplib=
12006 old_striplib=
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12008 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12009 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12010 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12011 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12013 $as_echo "yes" >&6; }
12014 else
12015 # FIXME - insert some real tests, host_os isn't really good enough
12016 case $host_os in
12017 darwin*)
12018 if test -n "$STRIP" ; then
12019 striplib="$STRIP -x"
12020 old_striplib="$STRIP -S"
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12022 $as_echo "yes" >&6; }
12023 else
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 $as_echo "no" >&6; }
12026 fi
12027 ;;
12028 *)
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12030 $as_echo "no" >&6; }
12031 ;;
12032 esac
12033 fi
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046 # Report which library types will actually be built
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12048 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12050 $as_echo "$can_build_shared" >&6; }
12051
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12053 $as_echo_n "checking whether to build shared libraries... " >&6; }
12054 test "$can_build_shared" = "no" && enable_shared=no
12055
12056 # On AIX, shared libraries and static libraries use the same namespace, and
12057 # are all built from PIC.
12058 case $host_os in
12059 aix3*)
12060 test "$enable_shared" = yes && enable_static=no
12061 if test -n "$RANLIB"; then
12062 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12063 postinstall_cmds='$RANLIB $lib'
12064 fi
12065 ;;
12066
12067 aix[4-9]*)
12068 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12069 test "$enable_shared" = yes && enable_static=no
12070 fi
12071 ;;
12072 esac
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12074 $as_echo "$enable_shared" >&6; }
12075
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12077 $as_echo_n "checking whether to build static libraries... " >&6; }
12078 # Make sure either enable_shared or enable_static is yes.
12079 test "$enable_shared" = yes || enable_static=yes
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12081 $as_echo "$enable_static" >&6; }
12082
12083
12084
12085
12086 fi
12087 ac_ext=cpp
12088 ac_cpp='$CXXCPP $CPPFLAGS'
12089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12092
12093 CC="$lt_save_CC"
12094
12095
12096 ac_ext=cpp
12097 ac_cpp='$CXXCPP $CPPFLAGS'
12098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12101
12102 archive_cmds_need_lc_CXX=no
12103 allow_undefined_flag_CXX=
12104 always_export_symbols_CXX=no
12105 archive_expsym_cmds_CXX=
12106 compiler_needs_object_CXX=no
12107 export_dynamic_flag_spec_CXX=
12108 hardcode_direct_CXX=no
12109 hardcode_direct_absolute_CXX=no
12110 hardcode_libdir_flag_spec_CXX=
12111 hardcode_libdir_flag_spec_ld_CXX=
12112 hardcode_libdir_separator_CXX=
12113 hardcode_minus_L_CXX=no
12114 hardcode_shlibpath_var_CXX=unsupported
12115 hardcode_automatic_CXX=no
12116 inherit_rpath_CXX=no
12117 module_cmds_CXX=
12118 module_expsym_cmds_CXX=
12119 link_all_deplibs_CXX=unknown
12120 old_archive_cmds_CXX=$old_archive_cmds
12121 no_undefined_flag_CXX=
12122 whole_archive_flag_spec_CXX=
12123 enable_shared_with_static_runtimes_CXX=no
12124
12125 # Source file extension for C++ test sources.
12126 ac_ext=cpp
12127
12128 # Object file extension for compiled C++ test sources.
12129 objext=o
12130 objext_CXX=$objext
12131
12132 # No sense in running all these tests if we already determined that
12133 # the CXX compiler isn't working. Some variables (like enable_shared)
12134 # are currently assumed to apply to all compilers on this platform,
12135 # and will be corrupted by setting them based on a non-working compiler.
12136 if test "$_lt_caught_CXX_error" != yes; then
12137 # Code to be used in simple compile tests
12138 lt_simple_compile_test_code="int some_variable = 0;"
12139
12140 # Code to be used in simple link tests
12141 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12142
12143 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12144
12145
12146
12147
12148
12149
12150 # If no C compiler was specified, use CC.
12151 LTCC=${LTCC-"$CC"}
12152
12153 # If no C compiler flags were specified, use CFLAGS.
12154 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12155
12156 # Allow CC to be a program name with arguments.
12157 compiler=$CC
12158
12159
12160 # save warnings/boilerplate of simple test code
12161 ac_outfile=conftest.$ac_objext
12162 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12163 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12164 _lt_compiler_boilerplate=`cat conftest.err`
12165 $RM conftest*
12166
12167 ac_outfile=conftest.$ac_objext
12168 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12169 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12170 _lt_linker_boilerplate=`cat conftest.err`
12171 $RM -r conftest*
12172
12173
12174 # Allow CC to be a program name with arguments.
12175 lt_save_CC=$CC
12176 lt_save_LD=$LD
12177 lt_save_GCC=$GCC
12178 GCC=$GXX
12179 lt_save_with_gnu_ld=$with_gnu_ld
12180 lt_save_path_LD=$lt_cv_path_LD
12181 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12182 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12183 else
12184 $as_unset lt_cv_prog_gnu_ld
12185 fi
12186 if test -n "${lt_cv_path_LDCXX+set}"; then
12187 lt_cv_path_LD=$lt_cv_path_LDCXX
12188 else
12189 $as_unset lt_cv_path_LD
12190 fi
12191 test -z "${LDCXX+set}" || LD=$LDCXX
12192 CC=${CXX-"c++"}
12193 compiler=$CC
12194 compiler_CXX=$CC
12195 for cc_temp in $compiler""; do
12196 case $cc_temp in
12197 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12198 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12199 \-*) ;;
12200 *) break;;
12201 esac
12202 done
12203 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12204
12205
12206 if test -n "$compiler"; then
12207 # We don't want -fno-exception when compiling C++ code, so set the
12208 # no_builtin_flag separately
12209 if test "$GXX" = yes; then
12210 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12211 else
12212 lt_prog_compiler_no_builtin_flag_CXX=
12213 fi
12214
12215 if test "$GXX" = yes; then
12216 # Set up default GNU C++ configuration
12217
12218
12219
12220 @%:@ Check whether --with-gnu-ld was given.
12221 if test "${with_gnu_ld+set}" = set; then :
12222 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12223 else
12224 with_gnu_ld=no
12225 fi
12226
12227 ac_prog=ld
12228 if test "$GCC" = yes; then
12229 # Check if gcc -print-prog-name=ld gives a path.
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12231 $as_echo_n "checking for ld used by $CC... " >&6; }
12232 case $host in
12233 *-*-mingw*)
12234 # gcc leaves a trailing carriage return which upsets mingw
12235 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12236 *)
12237 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12238 esac
12239 case $ac_prog in
12240 # Accept absolute paths.
12241 [\\/]* | ?:[\\/]*)
12242 re_direlt='/[^/][^/]*/\.\./'
12243 # Canonicalize the pathname of ld
12244 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12245 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12246 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12247 done
12248 test -z "$LD" && LD="$ac_prog"
12249 ;;
12250 "")
12251 # If it fails, then pretend we aren't using GCC.
12252 ac_prog=ld
12253 ;;
12254 *)
12255 # If it is relative, then search for the first ld in PATH.
12256 with_gnu_ld=unknown
12257 ;;
12258 esac
12259 elif test "$with_gnu_ld" = yes; then
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12261 $as_echo_n "checking for GNU ld... " >&6; }
12262 else
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12264 $as_echo_n "checking for non-GNU ld... " >&6; }
12265 fi
12266 if ${lt_cv_path_LD+:} false; then :
12267 $as_echo_n "(cached) " >&6
12268 else
12269 if test -z "$LD"; then
12270 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12271 for ac_dir in $PATH; do
12272 IFS="$lt_save_ifs"
12273 test -z "$ac_dir" && ac_dir=.
12274 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12275 lt_cv_path_LD="$ac_dir/$ac_prog"
12276 # Check to see if the program is GNU ld. I'd rather use --version,
12277 # but apparently some variants of GNU ld only accept -v.
12278 # Break only if it was the GNU/non-GNU ld that we prefer.
12279 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12280 *GNU* | *'with BFD'*)
12281 test "$with_gnu_ld" != no && break
12282 ;;
12283 *)
12284 test "$with_gnu_ld" != yes && break
12285 ;;
12286 esac
12287 fi
12288 done
12289 IFS="$lt_save_ifs"
12290 else
12291 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12292 fi
12293 fi
12294
12295 LD="$lt_cv_path_LD"
12296 if test -n "$LD"; then
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12298 $as_echo "$LD" >&6; }
12299 else
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12301 $as_echo "no" >&6; }
12302 fi
12303 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12305 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12306 if ${lt_cv_prog_gnu_ld+:} false; then :
12307 $as_echo_n "(cached) " >&6
12308 else
12309 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12310 case `$LD -v 2>&1 </dev/null` in
12311 *GNU* | *'with BFD'*)
12312 lt_cv_prog_gnu_ld=yes
12313 ;;
12314 *)
12315 lt_cv_prog_gnu_ld=no
12316 ;;
12317 esac
12318 fi
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12320 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12321 with_gnu_ld=$lt_cv_prog_gnu_ld
12322
12323
12324
12325
12326
12327
12328
12329 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12330 # archiving commands below assume that GNU ld is being used.
12331 if test "$with_gnu_ld" = yes; then
12332 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12333 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12334
12335 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12336 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12337
12338 # If archive_cmds runs LD, not CC, wlarc should be empty
12339 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12340 # investigate it a little bit more. (MM)
12341 wlarc='${wl}'
12342
12343 # ancient GNU ld didn't support --whole-archive et. al.
12344 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12345 $GREP 'no-whole-archive' > /dev/null; then
12346 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12347 else
12348 whole_archive_flag_spec_CXX=
12349 fi
12350 else
12351 with_gnu_ld=no
12352 wlarc=
12353
12354 # A generic and very simple default shared library creation
12355 # command for GNU C++ for the case where it uses the native
12356 # linker, instead of GNU ld. If possible, this setting should
12357 # overridden to take advantage of the native linker features on
12358 # the platform it is being used on.
12359 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12360 fi
12361
12362 # Commands to make compiler produce verbose output that lists
12363 # what "hidden" libraries, object files and flags are used when
12364 # linking a shared library.
12365 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12366
12367 else
12368 GXX=no
12369 with_gnu_ld=no
12370 wlarc=
12371 fi
12372
12373 # PORTME: fill in a description of your system's C++ link characteristics
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12375 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12376 ld_shlibs_CXX=yes
12377 case $host_os in
12378 aix3*)
12379 # FIXME: insert proper C++ library support
12380 ld_shlibs_CXX=no
12381 ;;
12382 aix[4-9]*)
12383 if test "$host_cpu" = ia64; then
12384 # On IA64, the linker does run time linking by default, so we don't
12385 # have to do anything special.
12386 aix_use_runtimelinking=no
12387 exp_sym_flag='-Bexport'
12388 no_entry_flag=""
12389 else
12390 aix_use_runtimelinking=no
12391
12392 # Test if we are trying to use run time linking or normal
12393 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12394 # need to do runtime linking.
12395 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12396 for ld_flag in $LDFLAGS; do
12397 case $ld_flag in
12398 *-brtl*)
12399 aix_use_runtimelinking=yes
12400 break
12401 ;;
12402 esac
12403 done
12404 ;;
12405 esac
12406
12407 exp_sym_flag='-bexport'
12408 no_entry_flag='-bnoentry'
12409 fi
12410
12411 # When large executables or shared objects are built, AIX ld can
12412 # have problems creating the table of contents. If linking a library
12413 # or program results in "error TOC overflow" add -mminimal-toc to
12414 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12415 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12416
12417 archive_cmds_CXX=''
12418 hardcode_direct_CXX=yes
12419 hardcode_direct_absolute_CXX=yes
12420 hardcode_libdir_separator_CXX=':'
12421 link_all_deplibs_CXX=yes
12422 file_list_spec_CXX='${wl}-f,'
12423
12424 if test "$GXX" = yes; then
12425 case $host_os in aix4.[012]|aix4.[012].*)
12426 # We only want to do this on AIX 4.2 and lower, the check
12427 # below for broken collect2 doesn't work under 4.3+
12428 collect2name=`${CC} -print-prog-name=collect2`
12429 if test -f "$collect2name" &&
12430 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12431 then
12432 # We have reworked collect2
12433 :
12434 else
12435 # We have old collect2
12436 hardcode_direct_CXX=unsupported
12437 # It fails to find uninstalled libraries when the uninstalled
12438 # path is not listed in the libpath. Setting hardcode_minus_L
12439 # to unsupported forces relinking
12440 hardcode_minus_L_CXX=yes
12441 hardcode_libdir_flag_spec_CXX='-L$libdir'
12442 hardcode_libdir_separator_CXX=
12443 fi
12444 esac
12445 shared_flag='-shared'
12446 if test "$aix_use_runtimelinking" = yes; then
12447 shared_flag="$shared_flag "'${wl}-G'
12448 fi
12449 else
12450 # not using gcc
12451 if test "$host_cpu" = ia64; then
12452 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12453 # chokes on -Wl,-G. The following line is correct:
12454 shared_flag='-G'
12455 else
12456 if test "$aix_use_runtimelinking" = yes; then
12457 shared_flag='${wl}-G'
12458 else
12459 shared_flag='${wl}-bM:SRE'
12460 fi
12461 fi
12462 fi
12463
12464 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12465 # It seems that -bexpall does not export symbols beginning with
12466 # underscore (_), so it is better to generate a list of symbols to
12467 # export.
12468 always_export_symbols_CXX=yes
12469 if test "$aix_use_runtimelinking" = yes; then
12470 # Warning - without using the other runtime loading flags (-brtl),
12471 # -berok will link without error, but may produce a broken library.
12472 allow_undefined_flag_CXX='-berok'
12473 # Determine the default libpath from the value encoded in an empty
12474 # executable.
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12477
12478 int
12479 main ()
12480 {
12481
12482 ;
12483 return 0;
12484 }
12485 _ACEOF
12486 if ac_fn_cxx_try_link "$LINENO"; then :
12487
12488 lt_aix_libpath_sed='
12489 /Import File Strings/,/^$/ {
12490 /^0/ {
12491 s/^0 *\(.*\)$/\1/
12492 p
12493 }
12494 }'
12495 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12496 # Check for a 64-bit object if we didn't find anything.
12497 if test -z "$aix_libpath"; then
12498 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12499 fi
12500 fi
12501 rm -f core conftest.err conftest.$ac_objext \
12502 conftest$ac_exeext conftest.$ac_ext
12503 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12504
12505 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12506
12507 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12508 else
12509 if test "$host_cpu" = ia64; then
12510 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12511 allow_undefined_flag_CXX="-z nodefs"
12512 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12513 else
12514 # Determine the default libpath from the value encoded in an
12515 # empty executable.
12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12518
12519 int
12520 main ()
12521 {
12522
12523 ;
12524 return 0;
12525 }
12526 _ACEOF
12527 if ac_fn_cxx_try_link "$LINENO"; then :
12528
12529 lt_aix_libpath_sed='
12530 /Import File Strings/,/^$/ {
12531 /^0/ {
12532 s/^0 *\(.*\)$/\1/
12533 p
12534 }
12535 }'
12536 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12537 # Check for a 64-bit object if we didn't find anything.
12538 if test -z "$aix_libpath"; then
12539 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12540 fi
12541 fi
12542 rm -f core conftest.err conftest.$ac_objext \
12543 conftest$ac_exeext conftest.$ac_ext
12544 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12545
12546 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12547 # Warning - without using the other run time loading flags,
12548 # -berok will link without error, but may produce a broken library.
12549 no_undefined_flag_CXX=' ${wl}-bernotok'
12550 allow_undefined_flag_CXX=' ${wl}-berok'
12551 # Exported symbols can be pulled into shared objects from archives
12552 whole_archive_flag_spec_CXX='$convenience'
12553 archive_cmds_need_lc_CXX=yes
12554 # This is similar to how AIX traditionally builds its shared
12555 # libraries.
12556 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12557 fi
12558 fi
12559 ;;
12560
12561 beos*)
12562 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12563 allow_undefined_flag_CXX=unsupported
12564 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12565 # support --undefined. This deserves some investigation. FIXME
12566 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12567 else
12568 ld_shlibs_CXX=no
12569 fi
12570 ;;
12571
12572 chorus*)
12573 case $cc_basename in
12574 *)
12575 # FIXME: insert proper C++ library support
12576 ld_shlibs_CXX=no
12577 ;;
12578 esac
12579 ;;
12580
12581 cygwin* | mingw* | pw32* | cegcc*)
12582 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12583 # as there is no search path for DLLs.
12584 hardcode_libdir_flag_spec_CXX='-L$libdir'
12585 allow_undefined_flag_CXX=unsupported
12586 always_export_symbols_CXX=no
12587 enable_shared_with_static_runtimes_CXX=yes
12588
12589 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12590 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12591 # If the export-symbols file already is a .def file (1st line
12592 # is EXPORTS), use it as is; otherwise, prepend...
12593 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12594 cp $export_symbols $output_objdir/$soname.def;
12595 else
12596 echo EXPORTS > $output_objdir/$soname.def;
12597 cat $export_symbols >> $output_objdir/$soname.def;
12598 fi~
12599 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12600 else
12601 ld_shlibs_CXX=no
12602 fi
12603 ;;
12604 darwin* | rhapsody*)
12605
12606
12607 archive_cmds_need_lc_CXX=no
12608 hardcode_direct_CXX=no
12609 hardcode_automatic_CXX=yes
12610 hardcode_shlibpath_var_CXX=unsupported
12611 whole_archive_flag_spec_CXX=''
12612 link_all_deplibs_CXX=yes
12613 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12614 case $cc_basename in
12615 ifort*) _lt_dar_can_shared=yes ;;
12616 *) _lt_dar_can_shared=$GCC ;;
12617 esac
12618 if test "$_lt_dar_can_shared" = "yes"; then
12619 output_verbose_link_cmd=echo
12620 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12621 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12622 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12623 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12624 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12625 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12626 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12627 fi
12628
12629 else
12630 ld_shlibs_CXX=no
12631 fi
12632
12633 ;;
12634
12635 dgux*)
12636 case $cc_basename in
12637 ec++*)
12638 # FIXME: insert proper C++ library support
12639 ld_shlibs_CXX=no
12640 ;;
12641 ghcx*)
12642 # Green Hills C++ Compiler
12643 # FIXME: insert proper C++ library support
12644 ld_shlibs_CXX=no
12645 ;;
12646 *)
12647 # FIXME: insert proper C++ library support
12648 ld_shlibs_CXX=no
12649 ;;
12650 esac
12651 ;;
12652
12653 freebsd[12]*)
12654 # C++ shared libraries reported to be fairly broken before
12655 # switch to ELF
12656 ld_shlibs_CXX=no
12657 ;;
12658
12659 freebsd-elf*)
12660 archive_cmds_need_lc_CXX=no
12661 ;;
12662
12663 freebsd* | dragonfly*)
12664 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12665 # conventions
12666 ld_shlibs_CXX=yes
12667 ;;
12668
12669 gnu*)
12670 ;;
12671
12672 hpux9*)
12673 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12674 hardcode_libdir_separator_CXX=:
12675 export_dynamic_flag_spec_CXX='${wl}-E'
12676 hardcode_direct_CXX=yes
12677 hardcode_minus_L_CXX=yes # Not in the search PATH,
12678 # but as the default
12679 # location of the library.
12680
12681 case $cc_basename in
12682 CC*)
12683 # FIXME: insert proper C++ library support
12684 ld_shlibs_CXX=no
12685 ;;
12686 aCC*)
12687 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12688 # Commands to make compiler produce verbose output that lists
12689 # what "hidden" libraries, object files and flags are used when
12690 # linking a shared library.
12691 #
12692 # There doesn't appear to be a way to prevent this compiler from
12693 # explicitly linking system object files so we need to strip them
12694 # from the output so that they don't get included in the library
12695 # dependencies.
12696 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12697 ;;
12698 *)
12699 if test "$GXX" = yes; then
12700 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12701 else
12702 # FIXME: insert proper C++ library support
12703 ld_shlibs_CXX=no
12704 fi
12705 ;;
12706 esac
12707 ;;
12708
12709 hpux10*|hpux11*)
12710 if test $with_gnu_ld = no; then
12711 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12712 hardcode_libdir_separator_CXX=:
12713
12714 case $host_cpu in
12715 hppa*64*|ia64*)
12716 ;;
12717 *)
12718 export_dynamic_flag_spec_CXX='${wl}-E'
12719 ;;
12720 esac
12721 fi
12722 case $host_cpu in
12723 hppa*64*|ia64*)
12724 hardcode_direct_CXX=no
12725 hardcode_shlibpath_var_CXX=no
12726 ;;
12727 *)
12728 hardcode_direct_CXX=yes
12729 hardcode_direct_absolute_CXX=yes
12730 hardcode_minus_L_CXX=yes # Not in the search PATH,
12731 # but as the default
12732 # location of the library.
12733 ;;
12734 esac
12735
12736 case $cc_basename in
12737 CC*)
12738 # FIXME: insert proper C++ library support
12739 ld_shlibs_CXX=no
12740 ;;
12741 aCC*)
12742 case $host_cpu in
12743 hppa*64*)
12744 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12745 ;;
12746 ia64*)
12747 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12748 ;;
12749 *)
12750 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12751 ;;
12752 esac
12753 # Commands to make compiler produce verbose output that lists
12754 # what "hidden" libraries, object files and flags are used when
12755 # linking a shared library.
12756 #
12757 # There doesn't appear to be a way to prevent this compiler from
12758 # explicitly linking system object files so we need to strip them
12759 # from the output so that they don't get included in the library
12760 # dependencies.
12761 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12762 ;;
12763 *)
12764 if test "$GXX" = yes; then
12765 if test $with_gnu_ld = no; then
12766 case $host_cpu in
12767 hppa*64*)
12768 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12769 ;;
12770 ia64*)
12771 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12772 ;;
12773 *)
12774 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12775 ;;
12776 esac
12777 fi
12778 else
12779 # FIXME: insert proper C++ library support
12780 ld_shlibs_CXX=no
12781 fi
12782 ;;
12783 esac
12784 ;;
12785
12786 interix[3-9]*)
12787 hardcode_direct_CXX=no
12788 hardcode_shlibpath_var_CXX=no
12789 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}-E'
12791 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12792 # Instead, shared libraries are loaded at an image base (0x10000000 by
12793 # default) and relocated if they conflict, which is a slow very memory
12794 # consuming and fragmenting process. To avoid this, we pick a random,
12795 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12796 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12797 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12798 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12799 ;;
12800 irix5* | irix6*)
12801 case $cc_basename in
12802 CC*)
12803 # SGI C++
12804 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12805
12806 # Archives containing C++ object files must be created using
12807 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12808 # necessary to make sure instantiated templates are included
12809 # in the archive.
12810 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12811 ;;
12812 *)
12813 if test "$GXX" = yes; then
12814 if test "$with_gnu_ld" = no; then
12815 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12816 else
12817 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12818 fi
12819 fi
12820 link_all_deplibs_CXX=yes
12821 ;;
12822 esac
12823 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12824 hardcode_libdir_separator_CXX=:
12825 inherit_rpath_CXX=yes
12826 ;;
12827
12828 linux* | k*bsd*-gnu)
12829 case $cc_basename in
12830 KCC*)
12831 # Kuck and Associates, Inc. (KAI) C++ Compiler
12832
12833 # KCC will only create a shared library if the output file
12834 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12835 # to its proper name (with version) after linking.
12836 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12837 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12838 # Commands to make compiler produce verbose output that lists
12839 # what "hidden" libraries, object files and flags are used when
12840 # linking a shared library.
12841 #
12842 # There doesn't appear to be a way to prevent this compiler from
12843 # explicitly linking system object files so we need to strip them
12844 # from the output so that they don't get included in the library
12845 # dependencies.
12846 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12847
12848 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12849 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12850
12851 # Archives containing C++ object files must be created using
12852 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12853 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12854 ;;
12855 icpc* | ecpc* )
12856 # Intel C++
12857 with_gnu_ld=yes
12858 # version 8.0 and above of icpc choke on multiply defined symbols
12859 # if we add $predep_objects and $postdep_objects, however 7.1 and
12860 # earlier do not add the objects themselves.
12861 case `$CC -V 2>&1` in
12862 *"Version 7."*)
12863 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12864 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12865 ;;
12866 *) # Version 8.0 or newer
12867 tmp_idyn=
12868 case $host_cpu in
12869 ia64*) tmp_idyn=' -i_dynamic';;
12870 esac
12871 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12872 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12873 ;;
12874 esac
12875 archive_cmds_need_lc_CXX=no
12876 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12877 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12878 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12879 ;;
12880 pgCC* | pgcpp*)
12881 # Portland Group C++ compiler
12882 case `$CC -V` in
12883 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12884 prelink_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12887 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12888 old_archive_cmds_CXX='tpldir=Template.dir~
12889 rm -rf $tpldir~
12890 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12891 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12892 $RANLIB $oldlib'
12893 archive_cmds_CXX='tpldir=Template.dir~
12894 rm -rf $tpldir~
12895 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12896 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12897 archive_expsym_cmds_CXX='tpldir=Template.dir~
12898 rm -rf $tpldir~
12899 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12900 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12901 ;;
12902 *) # Version 6 will use weak symbols
12903 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12904 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12905 ;;
12906 esac
12907
12908 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12909 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12910 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12911 ;;
12912 cxx*)
12913 # Compaq C++
12914 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12916
12917 runpath_var=LD_RUN_PATH
12918 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12919 hardcode_libdir_separator_CXX=:
12920
12921 # Commands to make compiler produce verbose output that lists
12922 # what "hidden" libraries, object files and flags are used when
12923 # linking a shared library.
12924 #
12925 # There doesn't appear to be a way to prevent this compiler from
12926 # explicitly linking system object files so we need to strip them
12927 # from the output so that they don't get included in the library
12928 # dependencies.
12929 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12930 ;;
12931 xl*)
12932 # IBM XL 8.0 on PPC, with GNU ld
12933 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12934 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12935 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12936 if test "x$supports_anon_versioning" = xyes; then
12937 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12939 echo "local: *; };" >> $output_objdir/$libname.ver~
12940 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12941 fi
12942 ;;
12943 *)
12944 case `$CC -V 2>&1 | sed 5q` in
12945 *Sun\ C*)
12946 # Sun C++ 5.9
12947 no_undefined_flag_CXX=' -zdefs'
12948 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12949 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12950 hardcode_libdir_flag_spec_CXX='-R$libdir'
12951 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12952 compiler_needs_object_CXX=yes
12953
12954 # Not sure whether something based on
12955 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12956 # would be better.
12957 output_verbose_link_cmd='echo'
12958
12959 # Archives containing C++ object files must be created using
12960 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12961 # necessary to make sure instantiated templates are included
12962 # in the archive.
12963 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12964 ;;
12965 esac
12966 ;;
12967 esac
12968 ;;
12969
12970 lynxos*)
12971 # FIXME: insert proper C++ library support
12972 ld_shlibs_CXX=no
12973 ;;
12974
12975 m88k*)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12978 ;;
12979
12980 mvs*)
12981 case $cc_basename in
12982 cxx*)
12983 # FIXME: insert proper C++ library support
12984 ld_shlibs_CXX=no
12985 ;;
12986 *)
12987 # FIXME: insert proper C++ library support
12988 ld_shlibs_CXX=no
12989 ;;
12990 esac
12991 ;;
12992
12993 netbsd*)
12994 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12995 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12996 wlarc=
12997 hardcode_libdir_flag_spec_CXX='-R$libdir'
12998 hardcode_direct_CXX=yes
12999 hardcode_shlibpath_var_CXX=no
13000 fi
13001 # Workaround some broken pre-1.5 toolchains
13002 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13003 ;;
13004
13005 *nto* | *qnx*)
13006 ld_shlibs_CXX=yes
13007 ;;
13008
13009 openbsd2*)
13010 # C++ shared libraries are fairly broken
13011 ld_shlibs_CXX=no
13012 ;;
13013
13014 openbsd*)
13015 if test -f /usr/libexec/ld.so; then
13016 hardcode_direct_CXX=yes
13017 hardcode_shlibpath_var_CXX=no
13018 hardcode_direct_absolute_CXX=yes
13019 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13020 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13021 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13022 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13023 export_dynamic_flag_spec_CXX='${wl}-E'
13024 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13025 fi
13026 output_verbose_link_cmd=echo
13027 else
13028 ld_shlibs_CXX=no
13029 fi
13030 ;;
13031
13032 osf3* | osf4* | osf5*)
13033 case $cc_basename in
13034 KCC*)
13035 # Kuck and Associates, Inc. (KAI) C++ Compiler
13036
13037 # KCC will only create a shared library if the output file
13038 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13039 # to its proper name (with version) after linking.
13040 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13041
13042 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13043 hardcode_libdir_separator_CXX=:
13044
13045 # Archives containing C++ object files must be created using
13046 # the KAI C++ compiler.
13047 case $host in
13048 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13049 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13050 esac
13051 ;;
13052 RCC*)
13053 # Rational C++ 2.4.1
13054 # FIXME: insert proper C++ library support
13055 ld_shlibs_CXX=no
13056 ;;
13057 cxx*)
13058 case $host in
13059 osf3*)
13060 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13061 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13062 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13063 ;;
13064 *)
13065 allow_undefined_flag_CXX=' -expect_unresolved \*'
13066 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13067 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13068 echo "-hidden">> $lib.exp~
13069 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13070 $RM $lib.exp'
13071 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13072 ;;
13073 esac
13074
13075 hardcode_libdir_separator_CXX=:
13076
13077 # Commands to make compiler produce verbose output that lists
13078 # what "hidden" libraries, object files and flags are used when
13079 # linking a shared library.
13080 #
13081 # There doesn't appear to be a way to prevent this compiler from
13082 # explicitly linking system object files so we need to strip them
13083 # from the output so that they don't get included in the library
13084 # dependencies.
13085 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13086 ;;
13087 *)
13088 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13089 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13090 case $host in
13091 osf3*)
13092 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13093 ;;
13094 *)
13095 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13096 ;;
13097 esac
13098
13099 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13100 hardcode_libdir_separator_CXX=:
13101
13102 # Commands to make compiler produce verbose output that lists
13103 # what "hidden" libraries, object files and flags are used when
13104 # linking a shared library.
13105 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13106
13107 else
13108 # FIXME: insert proper C++ library support
13109 ld_shlibs_CXX=no
13110 fi
13111 ;;
13112 esac
13113 ;;
13114
13115 psos*)
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13118 ;;
13119
13120 sunos4*)
13121 case $cc_basename in
13122 CC*)
13123 # Sun C++ 4.x
13124 # FIXME: insert proper C++ library support
13125 ld_shlibs_CXX=no
13126 ;;
13127 lcc*)
13128 # Lucid
13129 # FIXME: insert proper C++ library support
13130 ld_shlibs_CXX=no
13131 ;;
13132 *)
13133 # FIXME: insert proper C++ library support
13134 ld_shlibs_CXX=no
13135 ;;
13136 esac
13137 ;;
13138
13139 solaris*)
13140 case $cc_basename in
13141 CC*)
13142 # Sun C++ 4.2, 5.x and Centerline C++
13143 archive_cmds_need_lc_CXX=yes
13144 no_undefined_flag_CXX=' -zdefs'
13145 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13146 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13147 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13148
13149 hardcode_libdir_flag_spec_CXX='-R$libdir'
13150 hardcode_shlibpath_var_CXX=no
13151 case $host_os in
13152 solaris2.[0-5] | solaris2.[0-5].*) ;;
13153 *)
13154 # The compiler driver will combine and reorder linker options,
13155 # but understands `-z linker_flag'.
13156 # Supported since Solaris 2.6 (maybe 2.5.1?)
13157 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13158 ;;
13159 esac
13160 link_all_deplibs_CXX=yes
13161
13162 output_verbose_link_cmd='echo'
13163
13164 # Archives containing C++ object files must be created using
13165 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13166 # necessary to make sure instantiated templates are included
13167 # in the archive.
13168 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13169 ;;
13170 gcx*)
13171 # Green Hills C++ Compiler
13172 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13173
13174 # The C++ compiler must be used to create the archive.
13175 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13176 ;;
13177 *)
13178 # GNU C++ compiler with Solaris linker
13179 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13180 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13181 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13182 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13184 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13185
13186 # Commands to make compiler produce verbose output that lists
13187 # what "hidden" libraries, object files and flags are used when
13188 # linking a shared library.
13189 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13190 else
13191 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13192 # platform.
13193 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13194 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13195 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13196
13197 # Commands to make compiler produce verbose output that lists
13198 # what "hidden" libraries, object files and flags are used when
13199 # linking a shared library.
13200 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13201 fi
13202
13203 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13204 case $host_os in
13205 solaris2.[0-5] | solaris2.[0-5].*) ;;
13206 *)
13207 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13208 ;;
13209 esac
13210 fi
13211 ;;
13212 esac
13213 ;;
13214
13215 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13216 no_undefined_flag_CXX='${wl}-z,text'
13217 archive_cmds_need_lc_CXX=no
13218 hardcode_shlibpath_var_CXX=no
13219 runpath_var='LD_RUN_PATH'
13220
13221 case $cc_basename in
13222 CC*)
13223 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13225 ;;
13226 *)
13227 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13228 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 ;;
13230 esac
13231 ;;
13232
13233 sysv5* | sco3.2v5* | sco5v6*)
13234 # Note: We can NOT use -z defs as we might desire, because we do not
13235 # link with -lc, and that would cause any symbols used from libc to
13236 # always be unresolved, which means just about no library would
13237 # ever link correctly. If we're not using GNU ld we use -z text
13238 # though, which does catch some bad symbols but isn't as heavy-handed
13239 # as -z defs.
13240 no_undefined_flag_CXX='${wl}-z,text'
13241 allow_undefined_flag_CXX='${wl}-z,nodefs'
13242 archive_cmds_need_lc_CXX=no
13243 hardcode_shlibpath_var_CXX=no
13244 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13245 hardcode_libdir_separator_CXX=':'
13246 link_all_deplibs_CXX=yes
13247 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13248 runpath_var='LD_RUN_PATH'
13249
13250 case $cc_basename in
13251 CC*)
13252 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13254 ;;
13255 *)
13256 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13257 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13258 ;;
13259 esac
13260 ;;
13261
13262 tandem*)
13263 case $cc_basename in
13264 NCC*)
13265 # NonStop-UX NCC 3.20
13266 # FIXME: insert proper C++ library support
13267 ld_shlibs_CXX=no
13268 ;;
13269 *)
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13272 ;;
13273 esac
13274 ;;
13275
13276 vxworks*)
13277 # FIXME: insert proper C++ library support
13278 ld_shlibs_CXX=no
13279 ;;
13280
13281 *)
13282 # FIXME: insert proper C++ library support
13283 ld_shlibs_CXX=no
13284 ;;
13285 esac
13286
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13288 $as_echo "$ld_shlibs_CXX" >&6; }
13289 test "$ld_shlibs_CXX" = no && can_build_shared=no
13290
13291 GCC_CXX="$GXX"
13292 LD_CXX="$LD"
13293
13294 ## CAVEAT EMPTOR:
13295 ## There is no encapsulation within the following macros, do not change
13296 ## the running order or otherwise move them around unless you know exactly
13297 ## what you are doing...
13298 # Dependencies to place before and after the object being linked:
13299 predep_objects_CXX=
13300 postdep_objects_CXX=
13301 predeps_CXX=
13302 postdeps_CXX=
13303 compiler_lib_search_path_CXX=
13304
13305 cat > conftest.$ac_ext <<_LT_EOF
13306 class Foo
13307 {
13308 public:
13309 Foo (void) { a = 0; }
13310 private:
13311 int a;
13312 };
13313 _LT_EOF
13314
13315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13316 (eval $ac_compile) 2>&5
13317 ac_status=$?
13318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13319 test $ac_status = 0; }; then
13320 # Parse the compiler output and extract the necessary
13321 # objects, libraries and library flags.
13322
13323 # Sentinel used to keep track of whether or not we are before
13324 # the conftest object file.
13325 pre_test_object_deps_done=no
13326
13327 for p in `eval "$output_verbose_link_cmd"`; do
13328 case $p in
13329
13330 -L* | -R* | -l*)
13331 # Some compilers place space between "-{L,R}" and the path.
13332 # Remove the space.
13333 if test $p = "-L" ||
13334 test $p = "-R"; then
13335 prev=$p
13336 continue
13337 else
13338 prev=
13339 fi
13340
13341 if test "$pre_test_object_deps_done" = no; then
13342 case $p in
13343 -L* | -R*)
13344 # Internal compiler library paths should come after those
13345 # provided the user. The postdeps already come after the
13346 # user supplied libs so there is no need to process them.
13347 if test -z "$compiler_lib_search_path_CXX"; then
13348 compiler_lib_search_path_CXX="${prev}${p}"
13349 else
13350 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13351 fi
13352 ;;
13353 # The "-l" case would never come before the object being
13354 # linked, so don't bother handling this case.
13355 esac
13356 else
13357 if test -z "$postdeps_CXX"; then
13358 postdeps_CXX="${prev}${p}"
13359 else
13360 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13361 fi
13362 fi
13363 ;;
13364
13365 *.$objext)
13366 # This assumes that the test object file only shows up
13367 # once in the compiler output.
13368 if test "$p" = "conftest.$objext"; then
13369 pre_test_object_deps_done=yes
13370 continue
13371 fi
13372
13373 if test "$pre_test_object_deps_done" = no; then
13374 if test -z "$predep_objects_CXX"; then
13375 predep_objects_CXX="$p"
13376 else
13377 predep_objects_CXX="$predep_objects_CXX $p"
13378 fi
13379 else
13380 if test -z "$postdep_objects_CXX"; then
13381 postdep_objects_CXX="$p"
13382 else
13383 postdep_objects_CXX="$postdep_objects_CXX $p"
13384 fi
13385 fi
13386 ;;
13387
13388 *) ;; # Ignore the rest.
13389
13390 esac
13391 done
13392
13393 # Clean up.
13394 rm -f a.out a.exe
13395 else
13396 echo "libtool.m4: error: problem compiling CXX test program"
13397 fi
13398
13399 $RM -f confest.$objext
13400
13401 # PORTME: override above test on systems where it is broken
13402 case $host_os in
13403 interix[3-9]*)
13404 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13405 # hack all around it, let's just trust "g++" to DTRT.
13406 predep_objects_CXX=
13407 postdep_objects_CXX=
13408 postdeps_CXX=
13409 ;;
13410
13411 linux*)
13412 case `$CC -V 2>&1 | sed 5q` in
13413 *Sun\ C*)
13414 # Sun C++ 5.9
13415
13416 # The more standards-conforming stlport4 library is
13417 # incompatible with the Cstd library. Avoid specifying
13418 # it if it's in CXXFLAGS. Ignore libCrun as
13419 # -library=stlport4 depends on it.
13420 case " $CXX $CXXFLAGS " in
13421 *" -library=stlport4 "*)
13422 solaris_use_stlport4=yes
13423 ;;
13424 esac
13425
13426 if test "$solaris_use_stlport4" != yes; then
13427 postdeps_CXX='-library=Cstd -library=Crun'
13428 fi
13429 ;;
13430 esac
13431 ;;
13432
13433 solaris*)
13434 case $cc_basename in
13435 CC*)
13436 # The more standards-conforming stlport4 library is
13437 # incompatible with the Cstd library. Avoid specifying
13438 # it if it's in CXXFLAGS. Ignore libCrun as
13439 # -library=stlport4 depends on it.
13440 case " $CXX $CXXFLAGS " in
13441 *" -library=stlport4 "*)
13442 solaris_use_stlport4=yes
13443 ;;
13444 esac
13445
13446 # Adding this requires a known-good setup of shared libraries for
13447 # Sun compiler versions before 5.6, else PIC objects from an old
13448 # archive will be linked into the output, leading to subtle bugs.
13449 if test "$solaris_use_stlport4" != yes; then
13450 postdeps_CXX='-library=Cstd -library=Crun'
13451 fi
13452 ;;
13453 esac
13454 ;;
13455 esac
13456
13457
13458 case " $postdeps_CXX " in
13459 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13460 esac
13461 compiler_lib_search_dirs_CXX=
13462 if test -n "${compiler_lib_search_path_CXX}"; then
13463 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13464 fi
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496 lt_prog_compiler_wl_CXX=
13497 lt_prog_compiler_pic_CXX=
13498 lt_prog_compiler_static_CXX=
13499
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13501 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13502
13503 # C++ specific cases for pic, static, wl, etc.
13504 if test "$GXX" = yes; then
13505 lt_prog_compiler_wl_CXX='-Wl,'
13506 lt_prog_compiler_static_CXX='-static'
13507
13508 case $host_os in
13509 aix*)
13510 # All AIX code is PIC.
13511 if test "$host_cpu" = ia64; then
13512 # AIX 5 now supports IA64 processor
13513 lt_prog_compiler_static_CXX='-Bstatic'
13514 fi
13515 ;;
13516
13517 amigaos*)
13518 case $host_cpu in
13519 powerpc)
13520 # see comment about AmigaOS4 .so support
13521 lt_prog_compiler_pic_CXX='-fPIC'
13522 ;;
13523 m68k)
13524 # FIXME: we need at least 68020 code to build shared libraries, but
13525 # adding the `-m68020' flag to GCC prevents building anything better,
13526 # like `-m68040'.
13527 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13528 ;;
13529 esac
13530 ;;
13531
13532 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13533 # PIC is the default for these OSes.
13534 ;;
13535 mingw* | cygwin* | os2* | pw32* | cegcc*)
13536 # This hack is so that the source file can tell whether it is being
13537 # built for inclusion in a dll (and should export symbols for example).
13538 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13539 # (--disable-auto-import) libraries
13540 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13541 ;;
13542 darwin* | rhapsody*)
13543 # PIC is the default on this platform
13544 # Common symbols not allowed in MH_DYLIB files
13545 lt_prog_compiler_pic_CXX='-fno-common'
13546 ;;
13547 *djgpp*)
13548 # DJGPP does not support shared libraries at all
13549 lt_prog_compiler_pic_CXX=
13550 ;;
13551 interix[3-9]*)
13552 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13553 # Instead, we relocate shared libraries at runtime.
13554 ;;
13555 sysv4*MP*)
13556 if test -d /usr/nec; then
13557 lt_prog_compiler_pic_CXX=-Kconform_pic
13558 fi
13559 ;;
13560 hpux*)
13561 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13562 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13563 # sets the default TLS model and affects inlining.
13564 case $host_cpu in
13565 hppa*64*)
13566 ;;
13567 *)
13568 lt_prog_compiler_pic_CXX='-fPIC'
13569 ;;
13570 esac
13571 ;;
13572 *qnx* | *nto*)
13573 # QNX uses GNU C++, but need to define -shared option too, otherwise
13574 # it will coredump.
13575 lt_prog_compiler_pic_CXX='-fPIC -shared'
13576 ;;
13577 *)
13578 lt_prog_compiler_pic_CXX='-fPIC'
13579 ;;
13580 esac
13581 else
13582 case $host_os in
13583 aix[4-9]*)
13584 # All AIX code is PIC.
13585 if test "$host_cpu" = ia64; then
13586 # AIX 5 now supports IA64 processor
13587 lt_prog_compiler_static_CXX='-Bstatic'
13588 else
13589 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13590 fi
13591 ;;
13592 chorus*)
13593 case $cc_basename in
13594 cxch68*)
13595 # Green Hills C++ Compiler
13596 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13597 ;;
13598 esac
13599 ;;
13600 dgux*)
13601 case $cc_basename in
13602 ec++*)
13603 lt_prog_compiler_pic_CXX='-KPIC'
13604 ;;
13605 ghcx*)
13606 # Green Hills C++ Compiler
13607 lt_prog_compiler_pic_CXX='-pic'
13608 ;;
13609 *)
13610 ;;
13611 esac
13612 ;;
13613 freebsd* | dragonfly*)
13614 # FreeBSD uses GNU C++
13615 ;;
13616 hpux9* | hpux10* | hpux11*)
13617 case $cc_basename in
13618 CC*)
13619 lt_prog_compiler_wl_CXX='-Wl,'
13620 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13621 if test "$host_cpu" != ia64; then
13622 lt_prog_compiler_pic_CXX='+Z'
13623 fi
13624 ;;
13625 aCC*)
13626 lt_prog_compiler_wl_CXX='-Wl,'
13627 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13628 case $host_cpu in
13629 hppa*64*|ia64*)
13630 # +Z the default
13631 ;;
13632 *)
13633 lt_prog_compiler_pic_CXX='+Z'
13634 ;;
13635 esac
13636 ;;
13637 *)
13638 ;;
13639 esac
13640 ;;
13641 interix*)
13642 # This is c89, which is MS Visual C++ (no shared libs)
13643 # Anyone wants to do a port?
13644 ;;
13645 irix5* | irix6* | nonstopux*)
13646 case $cc_basename in
13647 CC*)
13648 lt_prog_compiler_wl_CXX='-Wl,'
13649 lt_prog_compiler_static_CXX='-non_shared'
13650 # CC pic flag -KPIC is the default.
13651 ;;
13652 *)
13653 ;;
13654 esac
13655 ;;
13656 linux* | k*bsd*-gnu)
13657 case $cc_basename in
13658 KCC*)
13659 # KAI C++ Compiler
13660 lt_prog_compiler_wl_CXX='--backend -Wl,'
13661 lt_prog_compiler_pic_CXX='-fPIC'
13662 ;;
13663 ecpc* )
13664 # old Intel C++ for x86_64 which still supported -KPIC.
13665 lt_prog_compiler_wl_CXX='-Wl,'
13666 lt_prog_compiler_pic_CXX='-KPIC'
13667 lt_prog_compiler_static_CXX='-static'
13668 ;;
13669 icpc* )
13670 # Intel C++, used to be incompatible with GCC.
13671 # ICC 10 doesn't accept -KPIC any more.
13672 lt_prog_compiler_wl_CXX='-Wl,'
13673 lt_prog_compiler_pic_CXX='-fPIC'
13674 lt_prog_compiler_static_CXX='-static'
13675 ;;
13676 pgCC* | pgcpp*)
13677 # Portland Group C++ compiler
13678 lt_prog_compiler_wl_CXX='-Wl,'
13679 lt_prog_compiler_pic_CXX='-fpic'
13680 lt_prog_compiler_static_CXX='-Bstatic'
13681 ;;
13682 cxx*)
13683 # Compaq C++
13684 # Make sure the PIC flag is empty. It appears that all Alpha
13685 # Linux and Compaq Tru64 Unix objects are PIC.
13686 lt_prog_compiler_pic_CXX=
13687 lt_prog_compiler_static_CXX='-non_shared'
13688 ;;
13689 xlc* | xlC*)
13690 # IBM XL 8.0 on PPC
13691 lt_prog_compiler_wl_CXX='-Wl,'
13692 lt_prog_compiler_pic_CXX='-qpic'
13693 lt_prog_compiler_static_CXX='-qstaticlink'
13694 ;;
13695 *)
13696 case `$CC -V 2>&1 | sed 5q` in
13697 *Sun\ C*)
13698 # Sun C++ 5.9
13699 lt_prog_compiler_pic_CXX='-KPIC'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13701 lt_prog_compiler_wl_CXX='-Qoption ld '
13702 ;;
13703 esac
13704 ;;
13705 esac
13706 ;;
13707 lynxos*)
13708 ;;
13709 m88k*)
13710 ;;
13711 mvs*)
13712 case $cc_basename in
13713 cxx*)
13714 lt_prog_compiler_pic_CXX='-W c,exportall'
13715 ;;
13716 *)
13717 ;;
13718 esac
13719 ;;
13720 netbsd*)
13721 ;;
13722 *qnx* | *nto*)
13723 # QNX uses GNU C++, but need to define -shared option too, otherwise
13724 # it will coredump.
13725 lt_prog_compiler_pic_CXX='-fPIC -shared'
13726 ;;
13727 osf3* | osf4* | osf5*)
13728 case $cc_basename in
13729 KCC*)
13730 lt_prog_compiler_wl_CXX='--backend -Wl,'
13731 ;;
13732 RCC*)
13733 # Rational C++ 2.4.1
13734 lt_prog_compiler_pic_CXX='-pic'
13735 ;;
13736 cxx*)
13737 # Digital/Compaq C++
13738 lt_prog_compiler_wl_CXX='-Wl,'
13739 # Make sure the PIC flag is empty. It appears that all Alpha
13740 # Linux and Compaq Tru64 Unix objects are PIC.
13741 lt_prog_compiler_pic_CXX=
13742 lt_prog_compiler_static_CXX='-non_shared'
13743 ;;
13744 *)
13745 ;;
13746 esac
13747 ;;
13748 psos*)
13749 ;;
13750 solaris*)
13751 case $cc_basename in
13752 CC*)
13753 # Sun C++ 4.2, 5.x and Centerline C++
13754 lt_prog_compiler_pic_CXX='-KPIC'
13755 lt_prog_compiler_static_CXX='-Bstatic'
13756 lt_prog_compiler_wl_CXX='-Qoption ld '
13757 ;;
13758 gcx*)
13759 # Green Hills C++ Compiler
13760 lt_prog_compiler_pic_CXX='-PIC'
13761 ;;
13762 *)
13763 ;;
13764 esac
13765 ;;
13766 sunos4*)
13767 case $cc_basename in
13768 CC*)
13769 # Sun C++ 4.x
13770 lt_prog_compiler_pic_CXX='-pic'
13771 lt_prog_compiler_static_CXX='-Bstatic'
13772 ;;
13773 lcc*)
13774 # Lucid
13775 lt_prog_compiler_pic_CXX='-pic'
13776 ;;
13777 *)
13778 ;;
13779 esac
13780 ;;
13781 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13782 case $cc_basename in
13783 CC*)
13784 lt_prog_compiler_wl_CXX='-Wl,'
13785 lt_prog_compiler_pic_CXX='-KPIC'
13786 lt_prog_compiler_static_CXX='-Bstatic'
13787 ;;
13788 esac
13789 ;;
13790 tandem*)
13791 case $cc_basename in
13792 NCC*)
13793 # NonStop-UX NCC 3.20
13794 lt_prog_compiler_pic_CXX='-KPIC'
13795 ;;
13796 *)
13797 ;;
13798 esac
13799 ;;
13800 vxworks*)
13801 ;;
13802 *)
13803 lt_prog_compiler_can_build_shared_CXX=no
13804 ;;
13805 esac
13806 fi
13807
13808 case $host_os in
13809 # For platforms which do not support PIC, -DPIC is meaningless:
13810 *djgpp*)
13811 lt_prog_compiler_pic_CXX=
13812 ;;
13813 *)
13814 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13815 ;;
13816 esac
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13818 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13819
13820
13821
13822 #
13823 # Check to make sure the PIC flag actually works.
13824 #
13825 if test -n "$lt_prog_compiler_pic_CXX"; then
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13828 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13829 $as_echo_n "(cached) " >&6
13830 else
13831 lt_cv_prog_compiler_pic_works_CXX=no
13832 ac_outfile=conftest.$ac_objext
13833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13834 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13835 # Insert the option either (1) after the last *FLAGS variable, or
13836 # (2) before a word containing "conftest.", or (3) at the end.
13837 # Note that $ac_compile itself does not contain backslashes and begins
13838 # with a dollar sign (not a hyphen), so the echo should work correctly.
13839 # The option is referenced via a variable to avoid confusing sed.
13840 lt_compile=`echo "$ac_compile" | $SED \
13841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13843 -e 's:$: $lt_compiler_flag:'`
13844 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13845 (eval "$lt_compile" 2>conftest.err)
13846 ac_status=$?
13847 cat conftest.err >&5
13848 echo "$as_me:__oline__: \$? = $ac_status" >&5
13849 if (exit $ac_status) && test -s "$ac_outfile"; then
13850 # The compiler can only warn and ignore the option if not recognized
13851 # So say no if there are warnings other than the usual output.
13852 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13855 lt_cv_prog_compiler_pic_works_CXX=yes
13856 fi
13857 fi
13858 $RM conftest*
13859
13860 fi
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13862 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13863
13864 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13865 case $lt_prog_compiler_pic_CXX in
13866 "" | " "*) ;;
13867 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13868 esac
13869 else
13870 lt_prog_compiler_pic_CXX=
13871 lt_prog_compiler_can_build_shared_CXX=no
13872 fi
13873
13874 fi
13875
13876
13877
13878 #
13879 # Check to make sure the static flag actually works.
13880 #
13881 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13883 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13884 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13885 $as_echo_n "(cached) " >&6
13886 else
13887 lt_cv_prog_compiler_static_works_CXX=no
13888 save_LDFLAGS="$LDFLAGS"
13889 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13890 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13891 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13892 # The linker can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 if test -s conftest.err; then
13895 # Append any errors to the config.log.
13896 cat conftest.err 1>&5
13897 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13898 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13899 if diff conftest.exp conftest.er2 >/dev/null; then
13900 lt_cv_prog_compiler_static_works_CXX=yes
13901 fi
13902 else
13903 lt_cv_prog_compiler_static_works_CXX=yes
13904 fi
13905 fi
13906 $RM -r conftest*
13907 LDFLAGS="$save_LDFLAGS"
13908
13909 fi
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13911 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13912
13913 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13914 :
13915 else
13916 lt_prog_compiler_static_CXX=
13917 fi
13918
13919
13920
13921
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13924 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 lt_cv_prog_compiler_c_o_CXX=no
13928 $RM -r conftest 2>/dev/null
13929 mkdir conftest
13930 cd conftest
13931 mkdir out
13932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13933
13934 lt_compiler_flag="-o out/conftest2.$ac_objext"
13935 # Insert the option either (1) after the last *FLAGS variable, or
13936 # (2) before a word containing "conftest.", or (3) at the end.
13937 # Note that $ac_compile itself does not contain backslashes and begins
13938 # with a dollar sign (not a hyphen), so the echo should work correctly.
13939 lt_compile=`echo "$ac_compile" | $SED \
13940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13942 -e 's:$: $lt_compiler_flag:'`
13943 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13944 (eval "$lt_compile" 2>out/conftest.err)
13945 ac_status=$?
13946 cat out/conftest.err >&5
13947 echo "$as_me:__oline__: \$? = $ac_status" >&5
13948 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13949 then
13950 # The compiler can only warn and ignore the option if not recognized
13951 # So say no if there are warnings
13952 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13953 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13954 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13955 lt_cv_prog_compiler_c_o_CXX=yes
13956 fi
13957 fi
13958 chmod u+w . 2>&5
13959 $RM conftest*
13960 # SGI C++ compiler will create directory out/ii_files/ for
13961 # template instantiation
13962 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13963 $RM out/* && rmdir out
13964 cd ..
13965 $RM -r conftest
13966 $RM conftest*
13967
13968 fi
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13970 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13971
13972
13973
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13975 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13976 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 lt_cv_prog_compiler_c_o_CXX=no
13980 $RM -r conftest 2>/dev/null
13981 mkdir conftest
13982 cd conftest
13983 mkdir out
13984 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13985
13986 lt_compiler_flag="-o out/conftest2.$ac_objext"
13987 # Insert the option either (1) after the last *FLAGS variable, or
13988 # (2) before a word containing "conftest.", or (3) at the end.
13989 # Note that $ac_compile itself does not contain backslashes and begins
13990 # with a dollar sign (not a hyphen), so the echo should work correctly.
13991 lt_compile=`echo "$ac_compile" | $SED \
13992 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13994 -e 's:$: $lt_compiler_flag:'`
13995 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13996 (eval "$lt_compile" 2>out/conftest.err)
13997 ac_status=$?
13998 cat out/conftest.err >&5
13999 echo "$as_me:__oline__: \$? = $ac_status" >&5
14000 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14001 then
14002 # The compiler can only warn and ignore the option if not recognized
14003 # So say no if there are warnings
14004 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14005 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14006 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14007 lt_cv_prog_compiler_c_o_CXX=yes
14008 fi
14009 fi
14010 chmod u+w . 2>&5
14011 $RM conftest*
14012 # SGI C++ compiler will create directory out/ii_files/ for
14013 # template instantiation
14014 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14015 $RM out/* && rmdir out
14016 cd ..
14017 $RM -r conftest
14018 $RM conftest*
14019
14020 fi
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14022 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14023
14024
14025
14026
14027 hard_links="nottested"
14028 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14029 # do not overwrite the value of need_locks provided by the user
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14031 $as_echo_n "checking if we can lock with hard links... " >&6; }
14032 hard_links=yes
14033 $RM conftest*
14034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035 touch conftest.a
14036 ln conftest.a conftest.b 2>&5 || hard_links=no
14037 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14039 $as_echo "$hard_links" >&6; }
14040 if test "$hard_links" = no; then
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14042 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14043 need_locks=warn
14044 fi
14045 else
14046 need_locks=no
14047 fi
14048
14049
14050
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14052 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14053
14054 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14055 case $host_os in
14056 aix[4-9]*)
14057 # If we're using GNU nm, then we don't want the "-C" option.
14058 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14059 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14060 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14061 else
14062 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14063 fi
14064 ;;
14065 pw32*)
14066 export_symbols_cmds_CXX="$ltdll_cmds"
14067 ;;
14068 cygwin* | mingw* | cegcc*)
14069 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14070 ;;
14071 *)
14072 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14073 ;;
14074 esac
14075 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14076
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14078 $as_echo "$ld_shlibs_CXX" >&6; }
14079 test "$ld_shlibs_CXX" = no && can_build_shared=no
14080
14081 with_gnu_ld_CXX=$with_gnu_ld
14082
14083
14084
14085
14086
14087
14088 #
14089 # Do we need to explicitly link libc?
14090 #
14091 case "x$archive_cmds_need_lc_CXX" in
14092 x|xyes)
14093 # Assume -lc should be added
14094 archive_cmds_need_lc_CXX=yes
14095
14096 if test "$enable_shared" = yes && test "$GCC" = yes; then
14097 case $archive_cmds_CXX in
14098 *'~'*)
14099 # FIXME: we may have to deal with multi-command sequences.
14100 ;;
14101 '$CC '*)
14102 # Test whether the compiler implicitly links with -lc since on some
14103 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14104 # to ld, don't add -lc before -lgcc.
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14106 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14107 $RM conftest*
14108 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14109
14110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14111 (eval $ac_compile) 2>&5
14112 ac_status=$?
14113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14114 test $ac_status = 0; } 2>conftest.err; then
14115 soname=conftest
14116 lib=conftest
14117 libobjs=conftest.$ac_objext
14118 deplibs=
14119 wl=$lt_prog_compiler_wl_CXX
14120 pic_flag=$lt_prog_compiler_pic_CXX
14121 compiler_flags=-v
14122 linker_flags=-v
14123 verstring=
14124 output_objdir=.
14125 libname=conftest
14126 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14127 allow_undefined_flag_CXX=
14128 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14129 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14130 ac_status=$?
14131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14132 test $ac_status = 0; }
14133 then
14134 archive_cmds_need_lc_CXX=no
14135 else
14136 archive_cmds_need_lc_CXX=yes
14137 fi
14138 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14139 else
14140 cat conftest.err 1>&5
14141 fi
14142 $RM conftest*
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14144 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14145 ;;
14146 esac
14147 fi
14148 ;;
14149 esac
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14215 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14216
14217 library_names_spec=
14218 libname_spec='lib$name'
14219 soname_spec=
14220 shrext_cmds=".so"
14221 postinstall_cmds=
14222 postuninstall_cmds=
14223 finish_cmds=
14224 finish_eval=
14225 shlibpath_var=
14226 shlibpath_overrides_runpath=unknown
14227 version_type=none
14228 dynamic_linker="$host_os ld.so"
14229 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14230 need_lib_prefix=unknown
14231 hardcode_into_libs=no
14232
14233 # when you set need_version to no, make sure it does not cause -set_version
14234 # flags to be left without arguments
14235 need_version=unknown
14236
14237 case $host_os in
14238 aix3*)
14239 version_type=linux
14240 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14241 shlibpath_var=LIBPATH
14242
14243 # AIX 3 has no versioning support, so we append a major version to the name.
14244 soname_spec='${libname}${release}${shared_ext}$major'
14245 ;;
14246
14247 aix[4-9]*)
14248 version_type=linux
14249 need_lib_prefix=no
14250 need_version=no
14251 hardcode_into_libs=yes
14252 if test "$host_cpu" = ia64; then
14253 # AIX 5 supports IA64
14254 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14255 shlibpath_var=LD_LIBRARY_PATH
14256 else
14257 # With GCC up to 2.95.x, collect2 would create an import file
14258 # for dependence libraries. The import file would start with
14259 # the line `#! .'. This would cause the generated library to
14260 # depend on `.', always an invalid library. This was fixed in
14261 # development snapshots of GCC prior to 3.0.
14262 case $host_os in
14263 aix4 | aix4.[01] | aix4.[01].*)
14264 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14265 echo ' yes '
14266 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14267 :
14268 else
14269 can_build_shared=no
14270 fi
14271 ;;
14272 esac
14273 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14274 # soname into executable. Probably we can add versioning support to
14275 # collect2, so additional links can be useful in future.
14276 if test "$aix_use_runtimelinking" = yes; then
14277 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14278 # instead of lib<name>.a to let people know that these are not
14279 # typical AIX shared libraries.
14280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14281 else
14282 # We preserve .a as extension for shared libraries through AIX4.2
14283 # and later when we are not doing run time linking.
14284 library_names_spec='${libname}${release}.a $libname.a'
14285 soname_spec='${libname}${release}${shared_ext}$major'
14286 fi
14287 shlibpath_var=LIBPATH
14288 fi
14289 ;;
14290
14291 amigaos*)
14292 case $host_cpu in
14293 powerpc)
14294 # Since July 2007 AmigaOS4 officially supports .so libraries.
14295 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14297 ;;
14298 m68k)
14299 library_names_spec='$libname.ixlibrary $libname.a'
14300 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14301 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14302 ;;
14303 esac
14304 ;;
14305
14306 beos*)
14307 library_names_spec='${libname}${shared_ext}'
14308 dynamic_linker="$host_os ld.so"
14309 shlibpath_var=LIBRARY_PATH
14310 ;;
14311
14312 bsdi[45]*)
14313 version_type=linux
14314 need_version=no
14315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14316 soname_spec='${libname}${release}${shared_ext}$major'
14317 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14318 shlibpath_var=LD_LIBRARY_PATH
14319 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14320 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14321 # the default ld.so.conf also contains /usr/contrib/lib and
14322 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14323 # libtool to hard-code these into programs
14324 ;;
14325
14326 cygwin* | mingw* | pw32* | cegcc*)
14327 version_type=windows
14328 shrext_cmds=".dll"
14329 need_version=no
14330 need_lib_prefix=no
14331
14332 case $GCC,$host_os in
14333 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14334 library_names_spec='$libname.dll.a'
14335 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14336 postinstall_cmds='base_file=`basename \${file}`~
14337 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14338 dldir=$destdir/`dirname \$dlpath`~
14339 test -d \$dldir || mkdir -p \$dldir~
14340 $install_prog $dir/$dlname \$dldir/$dlname~
14341 chmod a+x \$dldir/$dlname~
14342 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14343 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14344 fi'
14345 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14346 dlpath=$dir/\$dldll~
14347 $RM \$dlpath'
14348 shlibpath_overrides_runpath=yes
14349
14350 case $host_os in
14351 cygwin*)
14352 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14353 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14354 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14355 ;;
14356 mingw* | cegcc*)
14357 # MinGW DLLs use traditional 'lib' prefix
14358 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14359 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14360 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14361 # It is most probably a Windows format PATH printed by
14362 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14363 # path with ; separators, and with drive letters. We can handle the
14364 # drive letters (cygwin fileutils understands them), so leave them,
14365 # especially as we might pass files found there to a mingw objdump,
14366 # which wouldn't understand a cygwinified path. Ahh.
14367 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14368 else
14369 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14370 fi
14371 ;;
14372 pw32*)
14373 # pw32 DLLs use 'pw' prefix rather than 'lib'
14374 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14375 ;;
14376 esac
14377 ;;
14378
14379 *)
14380 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14381 ;;
14382 esac
14383 dynamic_linker='Win32 ld.exe'
14384 # FIXME: first we should search . and the directory the executable is in
14385 shlibpath_var=PATH
14386 ;;
14387
14388 darwin* | rhapsody*)
14389 dynamic_linker="$host_os dyld"
14390 version_type=darwin
14391 need_lib_prefix=no
14392 need_version=no
14393 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14394 soname_spec='${libname}${release}${major}$shared_ext'
14395 shlibpath_overrides_runpath=yes
14396 shlibpath_var=DYLD_LIBRARY_PATH
14397 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14398
14399 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14400 ;;
14401
14402 dgux*)
14403 version_type=linux
14404 need_lib_prefix=no
14405 need_version=no
14406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14407 soname_spec='${libname}${release}${shared_ext}$major'
14408 shlibpath_var=LD_LIBRARY_PATH
14409 ;;
14410
14411 freebsd1*)
14412 dynamic_linker=no
14413 ;;
14414
14415 freebsd* | dragonfly*)
14416 # DragonFly does not have aout. When/if they implement a new
14417 # versioning mechanism, adjust this.
14418 if test -x /usr/bin/objformat; then
14419 objformat=`/usr/bin/objformat`
14420 else
14421 case $host_os in
14422 freebsd[123]*) objformat=aout ;;
14423 *) objformat=elf ;;
14424 esac
14425 fi
14426 version_type=freebsd-$objformat
14427 case $version_type in
14428 freebsd-elf*)
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14430 need_version=no
14431 need_lib_prefix=no
14432 ;;
14433 freebsd-*)
14434 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14435 need_version=yes
14436 ;;
14437 esac
14438 shlibpath_var=LD_LIBRARY_PATH
14439 case $host_os in
14440 freebsd2*)
14441 shlibpath_overrides_runpath=yes
14442 ;;
14443 freebsd3.[01]* | freebsdelf3.[01]*)
14444 shlibpath_overrides_runpath=yes
14445 hardcode_into_libs=yes
14446 ;;
14447 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14448 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14449 shlibpath_overrides_runpath=no
14450 hardcode_into_libs=yes
14451 ;;
14452 *) # from 4.6 on, and DragonFly
14453 shlibpath_overrides_runpath=yes
14454 hardcode_into_libs=yes
14455 ;;
14456 esac
14457 ;;
14458
14459 gnu*)
14460 version_type=linux
14461 need_lib_prefix=no
14462 need_version=no
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14464 soname_spec='${libname}${release}${shared_ext}$major'
14465 shlibpath_var=LD_LIBRARY_PATH
14466 hardcode_into_libs=yes
14467 ;;
14468
14469 hpux9* | hpux10* | hpux11*)
14470 # Give a soname corresponding to the major version so that dld.sl refuses to
14471 # link against other versions.
14472 version_type=sunos
14473 need_lib_prefix=no
14474 need_version=no
14475 case $host_cpu in
14476 ia64*)
14477 shrext_cmds='.so'
14478 hardcode_into_libs=yes
14479 dynamic_linker="$host_os dld.so"
14480 shlibpath_var=LD_LIBRARY_PATH
14481 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14483 soname_spec='${libname}${release}${shared_ext}$major'
14484 if test "X$HPUX_IA64_MODE" = X32; then
14485 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14486 else
14487 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14488 fi
14489 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14490 ;;
14491 hppa*64*)
14492 shrext_cmds='.sl'
14493 hardcode_into_libs=yes
14494 dynamic_linker="$host_os dld.sl"
14495 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14496 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14500 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14501 ;;
14502 *)
14503 shrext_cmds='.sl'
14504 dynamic_linker="$host_os dld.sl"
14505 shlibpath_var=SHLIB_PATH
14506 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14508 soname_spec='${libname}${release}${shared_ext}$major'
14509 ;;
14510 esac
14511 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14512 postinstall_cmds='chmod 555 $lib'
14513 ;;
14514
14515 interix[3-9]*)
14516 version_type=linux
14517 need_lib_prefix=no
14518 need_version=no
14519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14520 soname_spec='${libname}${release}${shared_ext}$major'
14521 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14522 shlibpath_var=LD_LIBRARY_PATH
14523 shlibpath_overrides_runpath=no
14524 hardcode_into_libs=yes
14525 ;;
14526
14527 irix5* | irix6* | nonstopux*)
14528 case $host_os in
14529 nonstopux*) version_type=nonstopux ;;
14530 *)
14531 if test "$lt_cv_prog_gnu_ld" = yes; then
14532 version_type=linux
14533 else
14534 version_type=irix
14535 fi ;;
14536 esac
14537 need_lib_prefix=no
14538 need_version=no
14539 soname_spec='${libname}${release}${shared_ext}$major'
14540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14541 case $host_os in
14542 irix5* | nonstopux*)
14543 libsuff= shlibsuff=
14544 ;;
14545 *)
14546 case $LD in # libtool.m4 will add one of these switches to LD
14547 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14548 libsuff= shlibsuff= libmagic=32-bit;;
14549 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14550 libsuff=32 shlibsuff=N32 libmagic=N32;;
14551 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14552 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14553 *) libsuff= shlibsuff= libmagic=never-match;;
14554 esac
14555 ;;
14556 esac
14557 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14558 shlibpath_overrides_runpath=no
14559 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14560 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14561 hardcode_into_libs=yes
14562 ;;
14563
14564 # No shared lib support for Linux oldld, aout, or coff.
14565 linux*oldld* | linux*aout* | linux*coff*)
14566 dynamic_linker=no
14567 ;;
14568
14569 # This must be Linux ELF.
14570 linux* | k*bsd*-gnu)
14571 version_type=linux
14572 need_lib_prefix=no
14573 need_version=no
14574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14575 soname_spec='${libname}${release}${shared_ext}$major'
14576 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14577 shlibpath_var=LD_LIBRARY_PATH
14578 shlibpath_overrides_runpath=no
14579 # Some binutils ld are patched to set DT_RUNPATH
14580 save_LDFLAGS=$LDFLAGS
14581 save_libdir=$libdir
14582 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14583 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14586
14587 int
14588 main ()
14589 {
14590
14591 ;
14592 return 0;
14593 }
14594 _ACEOF
14595 if ac_fn_cxx_try_link "$LINENO"; then :
14596 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14597 shlibpath_overrides_runpath=yes
14598 fi
14599 fi
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14602 LDFLAGS=$save_LDFLAGS
14603 libdir=$save_libdir
14604
14605 # This implies no fast_install, which is unacceptable.
14606 # Some rework will be needed to allow for fast_install
14607 # before this can be enabled.
14608 hardcode_into_libs=yes
14609
14610 # Add ABI-specific directories to the system library path.
14611 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
14612
14613 # Append ld.so.conf contents to the search path
14614 if test -f /etc/ld.so.conf; then
14615 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14616 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14617 fi
14618
14619 # We used to test for /lib/ld.so.1 and disable shared libraries on
14620 # powerpc, because MkLinux only supported shared libraries with the
14621 # GNU dynamic linker. Since this was broken with cross compilers,
14622 # most powerpc-linux boxes support dynamic linking these days and
14623 # people can always --disable-shared, the test was removed, and we
14624 # assume the GNU/Linux dynamic linker is in use.
14625 dynamic_linker='GNU/Linux ld.so'
14626 ;;
14627
14628 netbsd*)
14629 version_type=sunos
14630 need_lib_prefix=no
14631 need_version=no
14632 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14634 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14635 dynamic_linker='NetBSD (a.out) ld.so'
14636 else
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14638 soname_spec='${libname}${release}${shared_ext}$major'
14639 dynamic_linker='NetBSD ld.elf_so'
14640 fi
14641 shlibpath_var=LD_LIBRARY_PATH
14642 shlibpath_overrides_runpath=yes
14643 hardcode_into_libs=yes
14644 ;;
14645
14646 newsos6)
14647 version_type=linux
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14649 shlibpath_var=LD_LIBRARY_PATH
14650 shlibpath_overrides_runpath=yes
14651 ;;
14652
14653 *nto* | *qnx*)
14654 version_type=qnx
14655 need_lib_prefix=no
14656 need_version=no
14657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14658 soname_spec='${libname}${release}${shared_ext}$major'
14659 shlibpath_var=LD_LIBRARY_PATH
14660 shlibpath_overrides_runpath=no
14661 hardcode_into_libs=yes
14662 dynamic_linker='ldqnx.so'
14663 ;;
14664
14665 openbsd*)
14666 version_type=sunos
14667 sys_lib_dlsearch_path_spec="/usr/lib"
14668 need_lib_prefix=no
14669 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14670 case $host_os in
14671 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14672 *) need_version=no ;;
14673 esac
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14675 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14678 case $host_os in
14679 openbsd2.[89] | openbsd2.[89].*)
14680 shlibpath_overrides_runpath=no
14681 ;;
14682 *)
14683 shlibpath_overrides_runpath=yes
14684 ;;
14685 esac
14686 else
14687 shlibpath_overrides_runpath=yes
14688 fi
14689 ;;
14690
14691 os2*)
14692 libname_spec='$name'
14693 shrext_cmds=".dll"
14694 need_lib_prefix=no
14695 library_names_spec='$libname${shared_ext} $libname.a'
14696 dynamic_linker='OS/2 ld.exe'
14697 shlibpath_var=LIBPATH
14698 ;;
14699
14700 osf3* | osf4* | osf5*)
14701 version_type=osf
14702 need_lib_prefix=no
14703 need_version=no
14704 soname_spec='${libname}${release}${shared_ext}$major'
14705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14706 shlibpath_var=LD_LIBRARY_PATH
14707 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14708 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14709 ;;
14710
14711 rdos*)
14712 dynamic_linker=no
14713 ;;
14714
14715 solaris*)
14716 version_type=linux
14717 need_lib_prefix=no
14718 need_version=no
14719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14720 soname_spec='${libname}${release}${shared_ext}$major'
14721 shlibpath_var=LD_LIBRARY_PATH
14722 shlibpath_overrides_runpath=yes
14723 hardcode_into_libs=yes
14724 # ldd complains unless libraries are executable
14725 postinstall_cmds='chmod +x $lib'
14726 ;;
14727
14728 sunos4*)
14729 version_type=sunos
14730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14731 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 shlibpath_overrides_runpath=yes
14734 if test "$with_gnu_ld" = yes; then
14735 need_lib_prefix=no
14736 fi
14737 need_version=yes
14738 ;;
14739
14740 sysv4 | sysv4.3*)
14741 version_type=linux
14742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14743 soname_spec='${libname}${release}${shared_ext}$major'
14744 shlibpath_var=LD_LIBRARY_PATH
14745 case $host_vendor in
14746 sni)
14747 shlibpath_overrides_runpath=no
14748 need_lib_prefix=no
14749 runpath_var=LD_RUN_PATH
14750 ;;
14751 siemens)
14752 need_lib_prefix=no
14753 ;;
14754 motorola)
14755 need_lib_prefix=no
14756 need_version=no
14757 shlibpath_overrides_runpath=no
14758 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14759 ;;
14760 esac
14761 ;;
14762
14763 sysv4*MP*)
14764 if test -d /usr/nec ;then
14765 version_type=linux
14766 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14767 soname_spec='$libname${shared_ext}.$major'
14768 shlibpath_var=LD_LIBRARY_PATH
14769 fi
14770 ;;
14771
14772 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14773 version_type=freebsd-elf
14774 need_lib_prefix=no
14775 need_version=no
14776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14777 soname_spec='${libname}${release}${shared_ext}$major'
14778 shlibpath_var=LD_LIBRARY_PATH
14779 shlibpath_overrides_runpath=yes
14780 hardcode_into_libs=yes
14781 if test "$with_gnu_ld" = yes; then
14782 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14783 else
14784 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14785 case $host_os in
14786 sco3.2v5*)
14787 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14788 ;;
14789 esac
14790 fi
14791 sys_lib_dlsearch_path_spec='/usr/lib'
14792 ;;
14793
14794 tpf*)
14795 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14796 version_type=linux
14797 need_lib_prefix=no
14798 need_version=no
14799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14800 shlibpath_var=LD_LIBRARY_PATH
14801 shlibpath_overrides_runpath=no
14802 hardcode_into_libs=yes
14803 ;;
14804
14805 uts4*)
14806 version_type=linux
14807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14808 soname_spec='${libname}${release}${shared_ext}$major'
14809 shlibpath_var=LD_LIBRARY_PATH
14810 ;;
14811
14812 *)
14813 dynamic_linker=no
14814 ;;
14815 esac
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14817 $as_echo "$dynamic_linker" >&6; }
14818 test "$dynamic_linker" = no && can_build_shared=no
14819
14820 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14821 if test "$GCC" = yes; then
14822 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14823 fi
14824
14825 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14826 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14827 fi
14828 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14829 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14830 fi
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14868 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14869 hardcode_action_CXX=
14870 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14871 test -n "$runpath_var_CXX" ||
14872 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14873
14874 # We can hardcode non-existent directories.
14875 if test "$hardcode_direct_CXX" != no &&
14876 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14877 # have to relink, otherwise we might link with an installed library
14878 # when we should be linking with a yet-to-be-installed one
14879 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14880 test "$hardcode_minus_L_CXX" != no; then
14881 # Linking always hardcodes the temporary library directory.
14882 hardcode_action_CXX=relink
14883 else
14884 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14885 hardcode_action_CXX=immediate
14886 fi
14887 else
14888 # We cannot hardcode anything, or else we can only hardcode existing
14889 # directories.
14890 hardcode_action_CXX=unsupported
14891 fi
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14893 $as_echo "$hardcode_action_CXX" >&6; }
14894
14895 if test "$hardcode_action_CXX" = relink ||
14896 test "$inherit_rpath_CXX" = yes; then
14897 # Fast installation is not supported
14898 enable_fast_install=no
14899 elif test "$shlibpath_overrides_runpath" = yes ||
14900 test "$enable_shared" = no; then
14901 # Fast installation is not necessary
14902 enable_fast_install=needless
14903 fi
14904
14905
14906
14907
14908
14909
14910
14911 fi # test -n "$compiler"
14912
14913 CC=$lt_save_CC
14914 LDCXX=$LD
14915 LD=$lt_save_LD
14916 GCC=$lt_save_GCC
14917 with_gnu_ld=$lt_save_with_gnu_ld
14918 lt_cv_path_LDCXX=$lt_cv_path_LD
14919 lt_cv_path_LD=$lt_save_path_LD
14920 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14921 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14922 fi # test "$_lt_caught_CXX_error" != yes
14923
14924 ac_ext=cpp
14925 ac_cpp='$CXXCPP $CPPFLAGS'
14926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942 ac_config_commands="$ac_config_commands libtool"
14943
14944
14945
14946
14947 # Only expand once:
14948
14949
14950
14951 @%:@ Check whether --enable-libcheck was given.
14952 if test "${enable_libcheck+set}" = set; then :
14953 enableval=$enable_libcheck; case "${enableval}" in
14954 yes) libcheck=true ;;
14955 no) libcheck=false ;;
14956 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;; esac
14957 else
14958 libcheck=true
14959 fi
14960
14961
14962
14963 # --- BEGIN MLX_LANG_TCL ---
14964
14965 if test "x$libcheck" = "xtrue"; then
14966
14967
14968 @%:@ Check whether --with-tclconfig was given.
14969 if test "${with_tclconfig+set}" = set; then :
14970 withval=$with_tclconfig; TclLibBase=`echo ${withval} | sed s/tclConfig.sh\$//`
14971 fi
14972
14973
14974 @%:@ Check whether --with-tcl was given.
14975 if test "${with_tcl+set}" = set; then :
14976 withval=$with_tcl; TclLibBase="${withval}/lib"
14977 fi
14978
14979
14980 @%:@ Check whether --with-tclsh was given.
14981 if test "${with_tclsh+set}" = set; then :
14982 withval=$with_tclsh; TCLSH="${withval}"
14983 fi
14984
14985
14986 if test "x$TCLSH" = "xno" -o "x$with_tclconfig" = "xno" ; then
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&5
14988 $as_echo "$as_me: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&2;}
14989 with_tcl=no
14990 fi
14991
14992 if test "x$with_tcl" != xno; then
14993 if test \! -z "$with_tclconfig" -a \! -d "$with_tclconfig" ; then
14994 as_fn_error $? "--with-tclconfig requires a directory argument." "$LINENO" 5
14995 fi
14996
14997 if test \! -z "$TCLSH" -a \! -x "$TCLSH" ; then
14998 as_fn_error $? "--with-tclsh must specify an executable file." "$LINENO" 5
14999 fi
15000
15001 if test X"$TclLibBase" = X; then # do we already know?
15002 # No? Run tclsh and ask it where it lives.
15003
15004 # Do we know where a tclsh lives?
15005 if test X"$TCLSH" = X; then
15006 # Try and find tclsh. Any tclsh.
15007 # If a new version of tcl comes out and unfortunately adds another
15008 # filename, it should be safe to add it (to the front of the line --
15009 # somef vendors have older, badly installed tclshs that we want to avoid
15010 # if we can)
15011 for ac_prog in tclsh tclsh8.3 tclsh8.4
15012 do
15013 # Extract the first word of "$ac_prog", so it can be a program name with args.
15014 set dummy $ac_prog; ac_word=$2
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15016 $as_echo_n "checking for $ac_word... " >&6; }
15017 if ${ac_cv_path_TCLSH+:} false; then :
15018 $as_echo_n "(cached) " >&6
15019 else
15020 case $TCLSH in
15021 [\\/]* | ?:[\\/]*)
15022 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
15023 ;;
15024 *)
15025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15026 for as_dir in $PATH
15027 do
15028 IFS=$as_save_IFS
15029 test -z "$as_dir" && as_dir=.
15030 for ac_exec_ext in '' $ac_executable_extensions; do
15031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15032 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
15033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15034 break 2
15035 fi
15036 done
15037 done
15038 IFS=$as_save_IFS
15039
15040 ;;
15041 esac
15042 fi
15043 TCLSH=$ac_cv_path_TCLSH
15044 if test -n "$TCLSH"; then
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
15046 $as_echo "$TCLSH" >&6; }
15047 else
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15049 $as_echo "no" >&6; }
15050 fi
15051
15052
15053 test -n "$TCLSH" && break
15054 done
15055 test -n "$TCLSH" || TCLSH=""unknown""
15056
15057 fi
15058
15059 # Do we know where to get a tclsh?
15060 if test "X${TCLSH}" != "Xunknown"; then
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl says it lives" >&5
15062 $as_echo_n "checking where Tcl says it lives... " >&6; }
15063 echo "puts \$tcl_library" > /tmp/tcl.conf.$$
15064 TclLibBase=`${TCLSH} /tmp/tcl.conf.$$ | sed -e 's,^/*$,,'`
15065 rm /tmp/tcl.conf.$$
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TclLibBase" >&5
15067 $as_echo "$TclLibBase" >&6; }
15068 fi
15069 fi
15070
15071 if test -z "$TclLibBase" ; then
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find tclsh" >&5
15073 $as_echo "can't find tclsh" >&6; }
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl installtion; use of Tcl disabled." >&5
15075 $as_echo "$as_me: WARNING: can't find Tcl installtion; use of Tcl disabled." >&2;}
15076 with_tcl=no
15077 else
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5
15079 $as_echo_n "checking for tclConfig.sh... " >&6; }
15080 # Check a list of places where the tclConfig.sh file might be.
15081 # Note we prefer the 64 bit version if exists
15082 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}"
15083 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}/.."
15084 tclCondifSearchPath="$tclCondifSearchPath `echo ${TCLSH} | sed s/sh//`"
15085 tclCondifSearchPath="$tclCondifSearchPath /usr/lib64"
15086 tclCondifSearchPath="$tclCondifSearchPath /usr/lib"
15087 tclCondifSearchPath="$tclCondifSearchPath /usr/local/lib"
15088 for tcldir in $tclCondifSearchPath; do
15089 if test -f "${tcldir}/tclConfig.sh"; then
15090 TclLibBase="${tcldir}"
15091 break
15092 fi
15093 done
15094
15095 if test -z "${TclLibBase}" ; then
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"unknown\"" >&5
15097 $as_echo "\"unknown\"" >&6; }
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl configuration; use of Tcl disabled." >&5
15099 $as_echo "$as_me: WARNING: can't find Tcl configuration; use of Tcl disabled." >&2;}
15100 with_tcl=no
15101 else
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TclLibBase}/" >&5
15103 $as_echo "${TclLibBase}/" >&6; }
15104 fi
15105
15106 if test "X${with_tcl}" != Xno ; then
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl configuration on what Tcl needs to compile" >&5
15108 $as_echo_n "checking Tcl configuration on what Tcl needs to compile... " >&6; }
15109 . ${TclLibBase}/tclConfig.sh
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
15111 $as_echo "ok" >&6; }
15112 fi
15113
15114 if test -d /usr/lib64 ; then
15115 TCL_LIB_SPEC=`echo ${TCL_LIB_SPEC} | sed 's=/usr/lib =/usr/lib64 =g'`
15116 fi
15117
15118 if test "X${with_tcl}" != Xno ; then
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl includes are" >&5
15120 $as_echo_n "checking where Tcl includes are... " >&6; }
15121 for tclinclude in "${TCL_PREFIX}/include/tcl${TCL_VERSION}" \
15122 "${TCL_PREFIX}/include/tcl" \
15123 "${TCL_PREFIX}/include" ; do
15124 if test -r "${tclinclude}/tcl.h" ; then
15125 TCL_CPPFLAGS="-I${tclinclude}"
15126 break
15127 fi
15128 done
15129 if test X"${TCL_CPPFLAGS}" = X ; then
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl includes; use of Tcl disabled." >&5
15131 $as_echo "$as_me: WARNING: can't find Tcl includes; use of Tcl disabled." >&2;}
15132 with_tcl=no
15133 fi
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCL_CPPFLAGS}" >&5
15135 $as_echo "${TCL_CPPFLAGS}" >&6; }
15136 fi
15137
15138 # Finally, pick up the Tcl configuration if we haven't found an
15139 # excuse not to.
15140 if test "X${with_tcl}" != Xno; then
15141 TCL_SEARCH=`echo ${TCL_LD_SEARCH_FLAGS} | sed 's/-Wl,-rpath,/-rpath/'`
15142
15143 if test X"$TCL_LIBS" = X; then
15144 TCL_LIBS=`echo ${TCL_LIB_FILE} | sed 's/lib\([^ \t]*\)\.\(so\|a\)/-l\1/'`
15145 fi
15146
15147 if test X"$TCL_LIB_SPEC" = X; then
15148 TCL_LIB_SPEC='-L/usr/lib'
15149 fi
15150
15151 TCL_LIBS1="${TCL_LIB_SPEC} ${TCL_LIBS}"
15152 TCL_LIBS=`echo ${TCL_LIBS1} | sed 's/-lieee//'`
15153 fi
15154 fi
15155 fi
15156 else
15157 TCL_DEFS=disabled
15158 TCL_LIBS=disabled
15159 TCL_CPPFLAGS=disabled
15160 TCL_PREFIX=disabled
15161 fi
15162
15163
15164
15165
15166
15167
15168 # --- END MLX_LANG_TCL ---
15169
15170
15171
15172
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15174 $as_echo_n "checking for ANSI C header files... " >&6; }
15175 if ${ac_cv_header_stdc+:} false; then :
15176 $as_echo_n "(cached) " >&6
15177 else
15178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15180 #include <stdlib.h>
15181 #include <stdarg.h>
15182 #include <string.h>
15183 #include <float.h>
15184
15185 int
15186 main ()
15187 {
15188
15189 ;
15190 return 0;
15191 }
15192 _ACEOF
15193 if ac_fn_cxx_try_compile "$LINENO"; then :
15194 ac_cv_header_stdc=yes
15195 else
15196 ac_cv_header_stdc=no
15197 fi
15198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15199
15200 if test $ac_cv_header_stdc = yes; then
15201 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h. */
15204 #include <string.h>
15205
15206 _ACEOF
15207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15208 $EGREP "memchr" >/dev/null 2>&1; then :
15209
15210 else
15211 ac_cv_header_stdc=no
15212 fi
15213 rm -f conftest*
15214
15215 fi
15216
15217 if test $ac_cv_header_stdc = yes; then
15218 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15220 /* end confdefs.h. */
15221 #include <stdlib.h>
15222
15223 _ACEOF
15224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15225 $EGREP "free" >/dev/null 2>&1; then :
15226
15227 else
15228 ac_cv_header_stdc=no
15229 fi
15230 rm -f conftest*
15231
15232 fi
15233
15234 if test $ac_cv_header_stdc = yes; then
15235 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15236 if test "$cross_compiling" = yes; then :
15237 :
15238 else
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15241 #include <ctype.h>
15242 #include <stdlib.h>
15243 #if ((' ' & 0x0FF) == 0x020)
15244 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15245 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15246 #else
15247 # define ISLOWER(c) \
15248 (('a' <= (c) && (c) <= 'i') \
15249 || ('j' <= (c) && (c) <= 'r') \
15250 || ('s' <= (c) && (c) <= 'z'))
15251 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15252 #endif
15253
15254 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15255 int
15256 main ()
15257 {
15258 int i;
15259 for (i = 0; i < 256; i++)
15260 if (XOR (islower (i), ISLOWER (i))
15261 || toupper (i) != TOUPPER (i))
15262 return 2;
15263 return 0;
15264 }
15265 _ACEOF
15266 if ac_fn_cxx_try_run "$LINENO"; then :
15267
15268 else
15269 ac_cv_header_stdc=no
15270 fi
15271 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15272 conftest.$ac_objext conftest.beam conftest.$ac_ext
15273 fi
15274
15275 fi
15276 fi
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15278 $as_echo "$ac_cv_header_stdc" >&6; }
15279 if test $ac_cv_header_stdc = yes; then
15280
15281 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
15282
15283 fi
15284
15285 for ac_header in inttypes.h stdlib.h string.h
15286 do :
15287 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15288 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15289 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15290 cat >>confdefs.h <<_ACEOF
15291 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15292 _ACEOF
15293
15294 fi
15295
15296 done
15297
15298
15299
15300 ac_ext=cpp
15301 ac_cpp='$CXXCPP $CPPFLAGS'
15302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15305
15306 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15307 if test "x$ac_cv_type_size_t" = xyes; then :
15308
15309 else
15310
15311 cat >>confdefs.h <<_ACEOF
15312 @%:@define size_t unsigned int
15313 _ACEOF
15314
15315 fi
15316
15317
15318 for ac_func in strchr strstr strtol strtoull index rindex
15319 do :
15320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15321 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15322 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15323 cat >>confdefs.h <<_ACEOF
15324 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15325 _ACEOF
15326
15327 fi
15328 done
15329
15330 ac_fn_cxx_check_func "$LINENO" "memset" "ac_cv_func_memset"
15331 if test "x$ac_cv_func_memset" = xyes; then :
15332 $as_echo "@%:@define HAVE_MEMSET 1" >>confdefs.h
15333
15334 else
15335 case " $LIB@&t@OBJS " in
15336 *" memset.$ac_objext "* ) ;;
15337 *) LIB@&t@OBJS="$LIB@&t@OBJS memset.$ac_objext"
15338 ;;
15339 esac
15340
15341 fi
15342
15343
15344
15345
15346
15347 @%:@ Check whether --enable-debug was given.
15348 if test "${enable_debug+set}" = set; then :
15349 enableval=$enable_debug; case "${enableval}" in
15350 yes) debug=true ;;
15351 no) debug=false ;;
15352 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
15353 esac
15354 else
15355 debug=false
15356 fi
15357
15358 if test x$debug = xtrue; then
15359 DEBUG_TRUE=
15360 DEBUG_FALSE='#'
15361 else
15362 DEBUG_TRUE='#'
15363 DEBUG_FALSE=
15364 fi
15365
15366
15367
15368 @%:@ Check whether --with-final-prefix was given.
15369 if test "${with_final_prefix+set}" = set; then :
15370 withval=$with_final_prefix;
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: Using FINAL_PREFIX=$with_final_prefix" >&5
15372 $as_echo "$as_me: Using FINAL_PREFIX=$with_final_prefix" >&6;}
15373
15374 else
15375 final_prefix=""
15376 fi
15377
15378 if test x$with_final_prefix != x; then
15379 USE_FINAL_PREFIX_TRUE=
15380 USE_FINAL_PREFIX_FALSE='#'
15381 else
15382 USE_FINAL_PREFIX_TRUE='#'
15383 USE_FINAL_PREFIX_FALSE=
15384 fi
15385
15386
15387 ac_config_files="$ac_config_files Makefile ibnl/Makefile src/Makefile ibdm/Makefile Clusters/Makefile doc/Makefile scripts/Makefile"
15388
15389 cat >confcache <<\_ACEOF
15390 # This file is a shell script that caches the results of configure
15391 # tests run on this system so they can be shared between configure
15392 # scripts and configure runs, see configure's option --config-cache.
15393 # It is not useful on other systems. If it contains results you don't
15394 # want to keep, you may remove or edit it.
15395 #
15396 # config.status only pays attention to the cache file if you give it
15397 # the --recheck option to rerun configure.
15398 #
15399 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15400 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15401 # following values.
15402
15403 _ACEOF
15404
15405 # The following way of writing the cache mishandles newlines in values,
15406 # but we know of no workaround that is simple, portable, and efficient.
15407 # So, we kill variables containing newlines.
15408 # Ultrix sh set writes to stderr and can't be redirected directly,
15409 # and sets the high bit in the cache file unless we assign to the vars.
15410 (
15411 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15412 eval ac_val=\$$ac_var
15413 case $ac_val in #(
15414 *${as_nl}*)
15415 case $ac_var in #(
15416 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15417 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15418 esac
15419 case $ac_var in #(
15420 _ | IFS | as_nl) ;; #(
15421 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15422 *) { eval $ac_var=; unset $ac_var;} ;;
15423 esac ;;
15424 esac
15425 done
15426
15427 (set) 2>&1 |
15428 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15429 *${as_nl}ac_space=\ *)
15430 # `set' does not quote correctly, so add quotes: double-quote
15431 # substitution turns \\\\ into \\, and sed turns \\ into \.
15432 sed -n \
15433 "s/'/'\\\\''/g;
15434 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15435 ;; #(
15436 *)
15437 # `set' quotes correctly as required by POSIX, so do not add quotes.
15438 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15439 ;;
15440 esac |
15441 sort
15442 ) |
15443 sed '
15444 /^ac_cv_env_/b end
15445 t clear
15446 :clear
15447 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15448 t end
15449 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15450 :end' >>confcache
15451 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15452 if test -w "$cache_file"; then
15453 if test "x$cache_file" != "x/dev/null"; then
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15455 $as_echo "$as_me: updating cache $cache_file" >&6;}
15456 if test ! -f "$cache_file" || test -h "$cache_file"; then
15457 cat confcache >"$cache_file"
15458 else
15459 case $cache_file in #(
15460 */* | ?:*)
15461 mv -f confcache "$cache_file"$$ &&
15462 mv -f "$cache_file"$$ "$cache_file" ;; #(
15463 *)
15464 mv -f confcache "$cache_file" ;;
15465 esac
15466 fi
15467 fi
15468 else
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15470 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15471 fi
15472 fi
15473 rm -f confcache
15474
15475 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15476 # Let make expand exec_prefix.
15477 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15478
15479 DEFS=-DHAVE_CONFIG_H
15480
15481 ac_libobjs=
15482 ac_ltlibobjs=
15483 U=
15484 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15485 # 1. Remove the extension, and $U if already installed.
15486 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15487 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15488 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15489 # will be set to the directory where LIBOBJS objects are built.
15490 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15491 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15492 done
15493 LIB@&t@OBJS=$ac_libobjs
15494
15495 LTLIBOBJS=$ac_ltlibobjs
15496
15497
15498 if test -n "$EXEEXT"; then
15499 am__EXEEXT_TRUE=
15500 am__EXEEXT_FALSE='#'
15501 else
15502 am__EXEEXT_TRUE='#'
15503 am__EXEEXT_FALSE=
15504 fi
15505
15506 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15507 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15509 fi
15510 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15511 as_fn_error $? "conditional \"AMDEP\" was never defined.
15512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15513 fi
15514 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15515 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15517 fi
15518 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15519 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15521 fi
15522 if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15523 as_fn_error $? "conditional \"HAS_SWIG\" was never defined.
15524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15525 fi
15526 if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15527 as_fn_error $? "conditional \"HAS_SWIG\" was never defined.
15528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15529 fi
15530 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15531 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15533 fi
15534 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
15535 as_fn_error $? "conditional \"DEBUG\" was never defined.
15536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15537 fi
15538 if test -z "${USE_FINAL_PREFIX_TRUE}" && test -z "${USE_FINAL_PREFIX_FALSE}"; then
15539 as_fn_error $? "conditional \"USE_FINAL_PREFIX\" was never defined.
15540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15541 fi
15542
15543 : "${CONFIG_STATUS=./config.status}"
15544 ac_write_fail=0
15545 ac_clean_files_save=$ac_clean_files
15546 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15548 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15549 as_write_fail=0
15550 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15551 #! $SHELL
15552 # Generated by $as_me.
15553 # Run this file to recreate the current configuration.
15554 # Compiler output produced by configure, useful for debugging
15555 # configure, is in config.log if it exists.
15556
15557 debug=false
15558 ac_cs_recheck=false
15559 ac_cs_silent=false
15560
15561 SHELL=\${CONFIG_SHELL-$SHELL}
15562 export SHELL
15563 _ASEOF
15564 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15565 ## -------------------- ##
15566 ## M4sh Initialization. ##
15567 ## -------------------- ##
15568
15569 # Be more Bourne compatible
15570 DUALCASE=1; export DUALCASE # for MKS sh
15571 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15572 emulate sh
15573 NULLCMD=:
15574 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15575 # is contrary to our usage. Disable this feature.
15576 alias -g '${1+"$@"}'='"$@"'
15577 setopt NO_GLOB_SUBST
15578 else
15579 case `(set -o) 2>/dev/null` in @%:@(
15580 *posix*) :
15581 set -o posix ;; @%:@(
15582 *) :
15583 ;;
15584 esac
15585 fi
15586
15587
15588 as_nl='
15589 '
15590 export as_nl
15591 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15592 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15593 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15594 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15595 # Prefer a ksh shell builtin over an external printf program on Solaris,
15596 # but without wasting forks for bash or zsh.
15597 if test -z "$BASH_VERSION$ZSH_VERSION" \
15598 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15599 as_echo='print -r --'
15600 as_echo_n='print -rn --'
15601 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15602 as_echo='printf %s\n'
15603 as_echo_n='printf %s'
15604 else
15605 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15606 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15607 as_echo_n='/usr/ucb/echo -n'
15608 else
15609 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15610 as_echo_n_body='eval
15611 arg=$1;
15612 case $arg in @%:@(
15613 *"$as_nl"*)
15614 expr "X$arg" : "X\\(.*\\)$as_nl";
15615 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15616 esac;
15617 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15618 '
15619 export as_echo_n_body
15620 as_echo_n='sh -c $as_echo_n_body as_echo'
15621 fi
15622 export as_echo_body
15623 as_echo='sh -c $as_echo_body as_echo'
15624 fi
15625
15626 # The user is always right.
15627 if test "${PATH_SEPARATOR+set}" != set; then
15628 PATH_SEPARATOR=:
15629 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15630 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15631 PATH_SEPARATOR=';'
15632 }
15633 fi
15634
15635
15636 # IFS
15637 # We need space, tab and new line, in precisely that order. Quoting is
15638 # there to prevent editors from complaining about space-tab.
15639 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15640 # splitting by setting IFS to empty value.)
15641 IFS=" "" $as_nl"
15642
15643 # Find who we are. Look in the path if we contain no directory separator.
15644 as_myself=
15645 case $0 in @%:@((
15646 *[\\/]* ) as_myself=$0 ;;
15647 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15648 for as_dir in $PATH
15649 do
15650 IFS=$as_save_IFS
15651 test -z "$as_dir" && as_dir=.
15652 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15653 done
15654 IFS=$as_save_IFS
15655
15656 ;;
15657 esac
15658 # We did not find ourselves, most probably we were run as `sh COMMAND'
15659 # in which case we are not to be found in the path.
15660 if test "x$as_myself" = x; then
15661 as_myself=$0
15662 fi
15663 if test ! -f "$as_myself"; then
15664 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15665 exit 1
15666 fi
15667
15668 # Unset variables that we do not need and which cause bugs (e.g. in
15669 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15670 # suppresses any "Segmentation fault" message there. '((' could
15671 # trigger a bug in pdksh 5.2.14.
15672 for as_var in BASH_ENV ENV MAIL MAILPATH
15673 do eval test x\${$as_var+set} = xset \
15674 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15675 done
15676 PS1='$ '
15677 PS2='> '
15678 PS4='+ '
15679
15680 # NLS nuisances.
15681 LC_ALL=C
15682 export LC_ALL
15683 LANGUAGE=C
15684 export LANGUAGE
15685
15686 # CDPATH.
15687 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15688
15689
15690 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15691 @%:@ ----------------------------------------
15692 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15693 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15694 @%:@ script with STATUS, using 1 if that was 0.
15695 as_fn_error ()
15696 {
15697 as_status=$1; test $as_status -eq 0 && as_status=1
15698 if test "$4"; then
15699 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15700 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15701 fi
15702 $as_echo "$as_me: error: $2" >&2
15703 as_fn_exit $as_status
15704 } @%:@ as_fn_error
15705
15706
15707 @%:@ as_fn_set_status STATUS
15708 @%:@ -----------------------
15709 @%:@ Set @S|@? to STATUS, without forking.
15710 as_fn_set_status ()
15711 {
15712 return $1
15713 } @%:@ as_fn_set_status
15714
15715 @%:@ as_fn_exit STATUS
15716 @%:@ -----------------
15717 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15718 as_fn_exit ()
15719 {
15720 set +e
15721 as_fn_set_status $1
15722 exit $1
15723 } @%:@ as_fn_exit
15724
15725 @%:@ as_fn_unset VAR
15726 @%:@ ---------------
15727 @%:@ Portably unset VAR.
15728 as_fn_unset ()
15729 {
15730 { eval $1=; unset $1;}
15731 }
15732 as_unset=as_fn_unset
15733 @%:@ as_fn_append VAR VALUE
15734 @%:@ ----------------------
15735 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15736 @%:@ advantage of any shell optimizations that allow amortized linear growth over
15737 @%:@ repeated appends, instead of the typical quadratic growth present in naive
15738 @%:@ implementations.
15739 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15740 eval 'as_fn_append ()
15741 {
15742 eval $1+=\$2
15743 }'
15744 else
15745 as_fn_append ()
15746 {
15747 eval $1=\$$1\$2
15748 }
15749 fi # as_fn_append
15750
15751 @%:@ as_fn_arith ARG...
15752 @%:@ ------------------
15753 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15754 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15755 @%:@ must be portable across @S|@(()) and expr.
15756 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15757 eval 'as_fn_arith ()
15758 {
15759 as_val=$(( $* ))
15760 }'
15761 else
15762 as_fn_arith ()
15763 {
15764 as_val=`expr "$@" || test $? -eq 1`
15765 }
15766 fi # as_fn_arith
15767
15768
15769 if expr a : '\(a\)' >/dev/null 2>&1 &&
15770 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15771 as_expr=expr
15772 else
15773 as_expr=false
15774 fi
15775
15776 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15777 as_basename=basename
15778 else
15779 as_basename=false
15780 fi
15781
15782 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15783 as_dirname=dirname
15784 else
15785 as_dirname=false
15786 fi
15787
15788 as_me=`$as_basename -- "$0" ||
15789 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15790 X"$0" : 'X\(//\)$' \| \
15791 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15792 $as_echo X/"$0" |
15793 sed '/^.*\/\([^/][^/]*\)\/*$/{
15794 s//\1/
15795 q
15796 }
15797 /^X\/\(\/\/\)$/{
15798 s//\1/
15799 q
15800 }
15801 /^X\/\(\/\).*/{
15802 s//\1/
15803 q
15804 }
15805 s/.*/./; q'`
15806
15807 # Avoid depending upon Character Ranges.
15808 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15809 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15810 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15811 as_cr_digits='0123456789'
15812 as_cr_alnum=$as_cr_Letters$as_cr_digits
15813
15814 ECHO_C= ECHO_N= ECHO_T=
15815 case `echo -n x` in @%:@(((((
15816 -n*)
15817 case `echo 'xy\c'` in
15818 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15819 xy) ECHO_C='\c';;
15820 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15821 ECHO_T=' ';;
15822 esac;;
15823 *)
15824 ECHO_N='-n';;
15825 esac
15826
15827 rm -f conf$$ conf$$.exe conf$$.file
15828 if test -d conf$$.dir; then
15829 rm -f conf$$.dir/conf$$.file
15830 else
15831 rm -f conf$$.dir
15832 mkdir conf$$.dir 2>/dev/null
15833 fi
15834 if (echo >conf$$.file) 2>/dev/null; then
15835 if ln -s conf$$.file conf$$ 2>/dev/null; then
15836 as_ln_s='ln -s'
15837 # ... but there are two gotchas:
15838 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15839 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15840 # In both cases, we have to default to `cp -pR'.
15841 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15842 as_ln_s='cp -pR'
15843 elif ln conf$$.file conf$$ 2>/dev/null; then
15844 as_ln_s=ln
15845 else
15846 as_ln_s='cp -pR'
15847 fi
15848 else
15849 as_ln_s='cp -pR'
15850 fi
15851 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15852 rmdir conf$$.dir 2>/dev/null
15853
15854
15855 @%:@ as_fn_mkdir_p
15856 @%:@ -------------
15857 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15858 as_fn_mkdir_p ()
15859 {
15860
15861 case $as_dir in #(
15862 -*) as_dir=./$as_dir;;
15863 esac
15864 test -d "$as_dir" || eval $as_mkdir_p || {
15865 as_dirs=
15866 while :; do
15867 case $as_dir in #(
15868 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15869 *) as_qdir=$as_dir;;
15870 esac
15871 as_dirs="'$as_qdir' $as_dirs"
15872 as_dir=`$as_dirname -- "$as_dir" ||
15873 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15874 X"$as_dir" : 'X\(//\)[^/]' \| \
15875 X"$as_dir" : 'X\(//\)$' \| \
15876 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15877 $as_echo X"$as_dir" |
15878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15879 s//\1/
15880 q
15881 }
15882 /^X\(\/\/\)[^/].*/{
15883 s//\1/
15884 q
15885 }
15886 /^X\(\/\/\)$/{
15887 s//\1/
15888 q
15889 }
15890 /^X\(\/\).*/{
15891 s//\1/
15892 q
15893 }
15894 s/.*/./; q'`
15895 test -d "$as_dir" && break
15896 done
15897 test -z "$as_dirs" || eval "mkdir $as_dirs"
15898 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15899
15900
15901 } @%:@ as_fn_mkdir_p
15902 if mkdir -p . 2>/dev/null; then
15903 as_mkdir_p='mkdir -p "$as_dir"'
15904 else
15905 test -d ./-p && rmdir ./-p
15906 as_mkdir_p=false
15907 fi
15908
15909
15910 @%:@ as_fn_executable_p FILE
15911 @%:@ -----------------------
15912 @%:@ Test if FILE is an executable regular file.
15913 as_fn_executable_p ()
15914 {
15915 test -f "$1" && test -x "$1"
15916 } @%:@ as_fn_executable_p
15917 as_test_x='test -x'
15918 as_executable_p=as_fn_executable_p
15919
15920 # Sed expression to map a string onto a valid CPP name.
15921 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15922
15923 # Sed expression to map a string onto a valid variable name.
15924 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15925
15926
15927 exec 6>&1
15928 ## ----------------------------------- ##
15929 ## Main body of $CONFIG_STATUS script. ##
15930 ## ----------------------------------- ##
15931 _ASEOF
15932 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15933
15934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15935 # Save the log message, to keep $0 and so on meaningful, and to
15936 # report actual input values of CONFIG_FILES etc. instead of their
15937 # values after options handling.
15938 ac_log="
15939 This file was extended by ibdm $as_me 1.5.7, which was
15940 generated by GNU Autoconf 2.69. Invocation command line was
15941
15942 CONFIG_FILES = $CONFIG_FILES
15943 CONFIG_HEADERS = $CONFIG_HEADERS
15944 CONFIG_LINKS = $CONFIG_LINKS
15945 CONFIG_COMMANDS = $CONFIG_COMMANDS
15946 $ $0 $@
15947
15948 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15949 "
15950
15951 _ACEOF
15952
15953 case $ac_config_files in *"
15954 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15955 esac
15956
15957 case $ac_config_headers in *"
15958 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15959 esac
15960
15961
15962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15963 # Files that config.status was made for.
15964 config_files="$ac_config_files"
15965 config_headers="$ac_config_headers"
15966 config_commands="$ac_config_commands"
15967
15968 _ACEOF
15969
15970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15971 ac_cs_usage="\
15972 \`$as_me' instantiates files and other configuration actions
15973 from templates according to the current configuration. Unless the files
15974 and actions are specified as TAGs, all are instantiated by default.
15975
15976 Usage: $0 [OPTION]... [TAG]...
15977
15978 -h, --help print this help, then exit
15979 -V, --version print version number and configuration settings, then exit
15980 --config print configuration, then exit
15981 -q, --quiet, --silent
15982 do not print progress messages
15983 -d, --debug don't remove temporary files
15984 --recheck update $as_me by reconfiguring in the same conditions
15985 --file=FILE[:TEMPLATE]
15986 instantiate the configuration file FILE
15987 --header=FILE[:TEMPLATE]
15988 instantiate the configuration header FILE
15989
15990 Configuration files:
15991 $config_files
15992
15993 Configuration headers:
15994 $config_headers
15995
15996 Configuration commands:
15997 $config_commands
15998
15999 Report bugs to the package provider."
16000
16001 _ACEOF
16002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16003 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16004 ac_cs_version="\\
16005 ibdm config.status 1.5.7
16006 configured by $0, generated by GNU Autoconf 2.69,
16007 with options \\"\$ac_cs_config\\"
16008
16009 Copyright (C) 2012 Free Software Foundation, Inc.
16010 This config.status script is free software; the Free Software Foundation
16011 gives unlimited permission to copy, distribute and modify it."
16012
16013 ac_pwd='$ac_pwd'
16014 srcdir='$srcdir'
16015 INSTALL='$INSTALL'
16016 MKDIR_P='$MKDIR_P'
16017 AWK='$AWK'
16018 test -n "\$AWK" || AWK=awk
16019 _ACEOF
16020
16021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16022 # The default lists apply if the user does not specify any file.
16023 ac_need_defaults=:
16024 while test $# != 0
16025 do
16026 case $1 in
16027 --*=?*)
16028 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16029 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16030 ac_shift=:
16031 ;;
16032 --*=)
16033 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16034 ac_optarg=
16035 ac_shift=:
16036 ;;
16037 *)
16038 ac_option=$1
16039 ac_optarg=$2
16040 ac_shift=shift
16041 ;;
16042 esac
16043
16044 case $ac_option in
16045 # Handling of the options.
16046 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16047 ac_cs_recheck=: ;;
16048 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16049 $as_echo "$ac_cs_version"; exit ;;
16050 --config | --confi | --conf | --con | --co | --c )
16051 $as_echo "$ac_cs_config"; exit ;;
16052 --debug | --debu | --deb | --de | --d | -d )
16053 debug=: ;;
16054 --file | --fil | --fi | --f )
16055 $ac_shift
16056 case $ac_optarg in
16057 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16058 '') as_fn_error $? "missing file argument" ;;
16059 esac
16060 as_fn_append CONFIG_FILES " '$ac_optarg'"
16061 ac_need_defaults=false;;
16062 --header | --heade | --head | --hea )
16063 $ac_shift
16064 case $ac_optarg in
16065 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16066 esac
16067 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16068 ac_need_defaults=false;;
16069 --he | --h)
16070 # Conflict between --help and --header
16071 as_fn_error $? "ambiguous option: \`$1'
16072 Try \`$0 --help' for more information.";;
16073 --help | --hel | -h )
16074 $as_echo "$ac_cs_usage"; exit ;;
16075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16076 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16077 ac_cs_silent=: ;;
16078
16079 # This is an error.
16080 -*) as_fn_error $? "unrecognized option: \`$1'
16081 Try \`$0 --help' for more information." ;;
16082
16083 *) as_fn_append ac_config_targets " $1"
16084 ac_need_defaults=false ;;
16085
16086 esac
16087 shift
16088 done
16089
16090 ac_configure_extra_args=
16091
16092 if $ac_cs_silent; then
16093 exec 6>/dev/null
16094 ac_configure_extra_args="$ac_configure_extra_args --silent"
16095 fi
16096
16097 _ACEOF
16098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16099 if \$ac_cs_recheck; then
16100 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16101 shift
16102 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16103 CONFIG_SHELL='$SHELL'
16104 export CONFIG_SHELL
16105 exec "\$@"
16106 fi
16107
16108 _ACEOF
16109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16110 exec 5>>config.log
16111 {
16112 echo
16113 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16114 @%:@@%:@ Running $as_me. @%:@@%:@
16115 _ASBOX
16116 $as_echo "$ac_log"
16117 } >&5
16118
16119 _ACEOF
16120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16121 #
16122 # INIT-COMMANDS
16123 #
16124 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16125
16126
16127 # The HP-UX ksh and POSIX shell print the target directory to stdout
16128 # if CDPATH is set.
16129 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16130
16131 sed_quote_subst='$sed_quote_subst'
16132 double_quote_subst='$double_quote_subst'
16133 delay_variable_subst='$delay_variable_subst'
16134 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16135 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16136 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16137 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16138 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16139 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16140 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16141 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16142 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16143 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16144 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16145 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16146 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16147 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16148 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16149 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16150 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16151 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16152 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16153 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16154 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16155 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16156 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16157 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16158 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16159 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16160 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16161 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16162 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16163 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16164 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16165 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16166 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16167 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16168 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16169 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16170 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16171 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16172 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16173 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16174 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16175 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16176 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16177 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16178 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16179 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16180 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16181 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16182 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16183 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16184 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16185 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16186 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16187 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16188 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16189 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16190 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16191 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16192 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16193 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16194 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16195 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16196 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16197 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16198 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16199 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16200 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16201 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16202 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16203 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16204 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16205 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16206 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16207 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16208 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16209 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16210 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16211 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16212 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16213 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16214 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16215 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16216 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16217 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16218 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16219 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16220 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16221 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16222 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16223 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16224 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16225 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16226 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16227 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16228 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16229 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16230 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16231 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16232 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16233 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16234 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16235 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16236 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16237 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16238 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16239 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16240 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16241 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16242 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16243 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16244 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16245 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16246 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16247 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16248 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16249 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16250 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16251 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16252 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16253 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16254 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16255 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16256 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16257 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16258 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16259 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16260 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16261 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16262 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16263 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16264 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16265 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16266 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16267 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16268 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16269 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16270 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16271 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16272 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16273 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16274 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16275 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16276 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16277 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16278 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16279 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16280 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16281 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16282 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16283 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16284 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16285 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16286 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16287 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16288 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16289 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16290 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16291 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16292 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16293 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16294 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16295 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16296 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16297 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16298 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16299 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16300 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16301 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16302 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16303 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16304 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16305
16306 LTCC='$LTCC'
16307 LTCFLAGS='$LTCFLAGS'
16308 compiler='$compiler_DEFAULT'
16309
16310 # Quote evaled strings.
16311 for var in SED \
16312 GREP \
16313 EGREP \
16314 FGREP \
16315 LD \
16316 NM \
16317 LN_S \
16318 lt_SP2NL \
16319 lt_NL2SP \
16320 reload_flag \
16321 OBJDUMP \
16322 deplibs_check_method \
16323 file_magic_cmd \
16324 AR \
16325 AR_FLAGS \
16326 STRIP \
16327 RANLIB \
16328 CC \
16329 CFLAGS \
16330 compiler \
16331 lt_cv_sys_global_symbol_pipe \
16332 lt_cv_sys_global_symbol_to_cdecl \
16333 lt_cv_sys_global_symbol_to_c_name_address \
16334 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16335 SHELL \
16336 ECHO \
16337 lt_prog_compiler_no_builtin_flag \
16338 lt_prog_compiler_wl \
16339 lt_prog_compiler_pic \
16340 lt_prog_compiler_static \
16341 lt_cv_prog_compiler_c_o \
16342 need_locks \
16343 DSYMUTIL \
16344 NMEDIT \
16345 LIPO \
16346 OTOOL \
16347 OTOOL64 \
16348 shrext_cmds \
16349 export_dynamic_flag_spec \
16350 whole_archive_flag_spec \
16351 compiler_needs_object \
16352 with_gnu_ld \
16353 allow_undefined_flag \
16354 no_undefined_flag \
16355 hardcode_libdir_flag_spec \
16356 hardcode_libdir_flag_spec_ld \
16357 hardcode_libdir_separator \
16358 fix_srcfile_path \
16359 exclude_expsyms \
16360 include_expsyms \
16361 file_list_spec \
16362 variables_saved_for_relink \
16363 libname_spec \
16364 library_names_spec \
16365 soname_spec \
16366 finish_eval \
16367 old_striplib \
16368 striplib \
16369 compiler_lib_search_dirs \
16370 predep_objects \
16371 postdep_objects \
16372 predeps \
16373 postdeps \
16374 compiler_lib_search_path \
16375 LD_CXX \
16376 compiler_CXX \
16377 lt_prog_compiler_no_builtin_flag_CXX \
16378 lt_prog_compiler_wl_CXX \
16379 lt_prog_compiler_pic_CXX \
16380 lt_prog_compiler_static_CXX \
16381 lt_cv_prog_compiler_c_o_CXX \
16382 export_dynamic_flag_spec_CXX \
16383 whole_archive_flag_spec_CXX \
16384 compiler_needs_object_CXX \
16385 with_gnu_ld_CXX \
16386 allow_undefined_flag_CXX \
16387 no_undefined_flag_CXX \
16388 hardcode_libdir_flag_spec_CXX \
16389 hardcode_libdir_flag_spec_ld_CXX \
16390 hardcode_libdir_separator_CXX \
16391 fix_srcfile_path_CXX \
16392 exclude_expsyms_CXX \
16393 include_expsyms_CXX \
16394 file_list_spec_CXX \
16395 compiler_lib_search_dirs_CXX \
16396 predep_objects_CXX \
16397 postdep_objects_CXX \
16398 predeps_CXX \
16399 postdeps_CXX \
16400 compiler_lib_search_path_CXX; do
16401 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16402 *[\\\\\\\`\\"\\\$]*)
16403 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16404 ;;
16405 *)
16406 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16407 ;;
16408 esac
16409 done
16410
16411 # Double-quote double-evaled strings.
16412 for var in reload_cmds \
16413 old_postinstall_cmds \
16414 old_postuninstall_cmds \
16415 old_archive_cmds \
16416 extract_expsyms_cmds \
16417 old_archive_from_new_cmds \
16418 old_archive_from_expsyms_cmds \
16419 archive_cmds \
16420 archive_expsym_cmds \
16421 module_cmds \
16422 module_expsym_cmds \
16423 export_symbols_cmds \
16424 prelink_cmds \
16425 postinstall_cmds \
16426 postuninstall_cmds \
16427 finish_cmds \
16428 sys_lib_search_path_spec \
16429 sys_lib_dlsearch_path_spec \
16430 old_archive_cmds_CXX \
16431 old_archive_from_new_cmds_CXX \
16432 old_archive_from_expsyms_cmds_CXX \
16433 archive_cmds_CXX \
16434 archive_expsym_cmds_CXX \
16435 module_cmds_CXX \
16436 module_expsym_cmds_CXX \
16437 export_symbols_cmds_CXX \
16438 prelink_cmds_CXX; do
16439 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16440 *[\\\\\\\`\\"\\\$]*)
16441 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16442 ;;
16443 *)
16444 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16445 ;;
16446 esac
16447 done
16448
16449 # Fix-up fallback echo if it was mangled by the above quoting rules.
16450 case \$lt_ECHO in
16451 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16452 ;;
16453 esac
16454
16455 ac_aux_dir='$ac_aux_dir'
16456 xsi_shell='$xsi_shell'
16457 lt_shell_append='$lt_shell_append'
16458
16459 # See if we are running on zsh, and set the options which allow our
16460 # commands through without removal of \ escapes INIT.
16461 if test -n "\${ZSH_VERSION+set}" ; then
16462 setopt NO_GLOB_SUBST
16463 fi
16464
16465
16466 PACKAGE='$PACKAGE'
16467 VERSION='$VERSION'
16468 TIMESTAMP='$TIMESTAMP'
16469 RM='$RM'
16470 ofile='$ofile'
16471
16472
16473
16474
16475
16476
16477 _ACEOF
16478
16479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16480
16481 # Handling of arguments.
16482 for ac_config_target in $ac_config_targets
16483 do
16484 case $ac_config_target in
16485 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16486 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16487 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16488 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16489 "ibnl/Makefile") CONFIG_FILES="$CONFIG_FILES ibnl/Makefile" ;;
16490 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16491 "ibdm/Makefile") CONFIG_FILES="$CONFIG_FILES ibdm/Makefile" ;;
16492 "Clusters/Makefile") CONFIG_FILES="$CONFIG_FILES Clusters/Makefile" ;;
16493 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16494 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
16495
16496 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16497 esac
16498 done
16499
16500
16501 # If the user did not use the arguments to specify the items to instantiate,
16502 # then the envvar interface is used. Set only those that are not.
16503 # We use the long form for the default assignment because of an extremely
16504 # bizarre bug on SunOS 4.1.3.
16505 if $ac_need_defaults; then
16506 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16507 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16508 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16509 fi
16510
16511 # Have a temporary directory for convenience. Make it in the build tree
16512 # simply because there is no reason against having it here, and in addition,
16513 # creating and moving files from /tmp can sometimes cause problems.
16514 # Hook for its removal unless debugging.
16515 # Note that there is a small window in which the directory will not be cleaned:
16516 # after its creation but before its name has been assigned to `$tmp'.
16517 $debug ||
16518 {
16519 tmp= ac_tmp=
16520 trap 'exit_status=$?
16521 : "${ac_tmp:=$tmp}"
16522 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16523 ' 0
16524 trap 'as_fn_exit 1' 1 2 13 15
16525 }
16526 # Create a (secure) tmp directory for tmp files.
16527
16528 {
16529 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16530 test -d "$tmp"
16531 } ||
16532 {
16533 tmp=./conf$$-$RANDOM
16534 (umask 077 && mkdir "$tmp")
16535 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16536 ac_tmp=$tmp
16537
16538 # Set up the scripts for CONFIG_FILES section.
16539 # No need to generate them if there are no CONFIG_FILES.
16540 # This happens for instance with `./config.status config.h'.
16541 if test -n "$CONFIG_FILES"; then
16542
16543
16544 ac_cr=`echo X | tr X '\015'`
16545 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16546 # But we know of no other shell where ac_cr would be empty at this
16547 # point, so we can use a bashism as a fallback.
16548 if test "x$ac_cr" = x; then
16549 eval ac_cr=\$\'\\r\'
16550 fi
16551 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16552 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16553 ac_cs_awk_cr='\\r'
16554 else
16555 ac_cs_awk_cr=$ac_cr
16556 fi
16557
16558 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16559 _ACEOF
16560
16561
16562 {
16563 echo "cat >conf$$subs.awk <<_ACEOF" &&
16564 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16565 echo "_ACEOF"
16566 } >conf$$subs.sh ||
16567 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16568 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16569 ac_delim='%!_!# '
16570 for ac_last_try in false false false false false :; do
16571 . ./conf$$subs.sh ||
16572 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16573
16574 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16575 if test $ac_delim_n = $ac_delim_num; then
16576 break
16577 elif $ac_last_try; then
16578 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16579 else
16580 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16581 fi
16582 done
16583 rm -f conf$$subs.sh
16584
16585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16586 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16587 _ACEOF
16588 sed -n '
16589 h
16590 s/^/S["/; s/!.*/"]=/
16591 p
16592 g
16593 s/^[^!]*!//
16594 :repl
16595 t repl
16596 s/'"$ac_delim"'$//
16597 t delim
16598 :nl
16599 h
16600 s/\(.\{148\}\)..*/\1/
16601 t more1
16602 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16603 p
16604 n
16605 b repl
16606 :more1
16607 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16608 p
16609 g
16610 s/.\{148\}//
16611 t nl
16612 :delim
16613 h
16614 s/\(.\{148\}\)..*/\1/
16615 t more2
16616 s/["\\]/\\&/g; s/^/"/; s/$/"/
16617 p
16618 b
16619 :more2
16620 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16621 p
16622 g
16623 s/.\{148\}//
16624 t delim
16625 ' <conf$$subs.awk | sed '
16626 /^[^""]/{
16627 N
16628 s/\n//
16629 }
16630 ' >>$CONFIG_STATUS || ac_write_fail=1
16631 rm -f conf$$subs.awk
16632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16633 _ACAWK
16634 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16635 for (key in S) S_is_set[key] = 1
16636 FS = ""
16637
16638 }
16639 {
16640 line = $ 0
16641 nfields = split(line, field, "@")
16642 substed = 0
16643 len = length(field[1])
16644 for (i = 2; i < nfields; i++) {
16645 key = field[i]
16646 keylen = length(key)
16647 if (S_is_set[key]) {
16648 value = S[key]
16649 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16650 len += length(value) + length(field[++i])
16651 substed = 1
16652 } else
16653 len += 1 + keylen
16654 }
16655
16656 print line
16657 }
16658
16659 _ACAWK
16660 _ACEOF
16661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16662 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16663 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16664 else
16665 cat
16666 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16667 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16668 _ACEOF
16669
16670 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16671 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16672 # trailing colons and then remove the whole line if VPATH becomes empty
16673 # (actually we leave an empty line to preserve line numbers).
16674 if test "x$srcdir" = x.; then
16675 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16676 h
16677 s///
16678 s/^/:/
16679 s/[ ]*$/:/
16680 s/:\$(srcdir):/:/g
16681 s/:\${srcdir}:/:/g
16682 s/:@srcdir@:/:/g
16683 s/^:*//
16684 s/:*$//
16685 x
16686 s/\(=[ ]*\).*/\1/
16687 G
16688 s/\n//
16689 s/^[^=]*=[ ]*$//
16690 }'
16691 fi
16692
16693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16694 fi # test -n "$CONFIG_FILES"
16695
16696 # Set up the scripts for CONFIG_HEADERS section.
16697 # No need to generate them if there are no CONFIG_HEADERS.
16698 # This happens for instance with `./config.status Makefile'.
16699 if test -n "$CONFIG_HEADERS"; then
16700 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16701 BEGIN {
16702 _ACEOF
16703
16704 # Transform confdefs.h into an awk script `defines.awk', embedded as
16705 # here-document in config.status, that substitutes the proper values into
16706 # config.h.in to produce config.h.
16707
16708 # Create a delimiter string that does not exist in confdefs.h, to ease
16709 # handling of long lines.
16710 ac_delim='%!_!# '
16711 for ac_last_try in false false :; do
16712 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16713 if test -z "$ac_tt"; then
16714 break
16715 elif $ac_last_try; then
16716 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16717 else
16718 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16719 fi
16720 done
16721
16722 # For the awk script, D is an array of macro values keyed by name,
16723 # likewise P contains macro parameters if any. Preserve backslash
16724 # newline sequences.
16725
16726 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16727 sed -n '
16728 s/.\{148\}/&'"$ac_delim"'/g
16729 t rset
16730 :rset
16731 s/^[ ]*#[ ]*define[ ][ ]*/ /
16732 t def
16733 d
16734 :def
16735 s/\\$//
16736 t bsnl
16737 s/["\\]/\\&/g
16738 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16739 D["\1"]=" \3"/p
16740 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16741 d
16742 :bsnl
16743 s/["\\]/\\&/g
16744 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16745 D["\1"]=" \3\\\\\\n"\\/p
16746 t cont
16747 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16748 t cont
16749 d
16750 :cont
16751 n
16752 s/.\{148\}/&'"$ac_delim"'/g
16753 t clear
16754 :clear
16755 s/\\$//
16756 t bsnlc
16757 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16758 d
16759 :bsnlc
16760 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16761 b cont
16762 ' <confdefs.h | sed '
16763 s/'"$ac_delim"'/"\\\
16764 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16765
16766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16767 for (key in D) D_is_set[key] = 1
16768 FS = ""
16769 }
16770 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16771 line = \$ 0
16772 split(line, arg, " ")
16773 if (arg[1] == "#") {
16774 defundef = arg[2]
16775 mac1 = arg[3]
16776 } else {
16777 defundef = substr(arg[1], 2)
16778 mac1 = arg[2]
16779 }
16780 split(mac1, mac2, "(") #)
16781 macro = mac2[1]
16782 prefix = substr(line, 1, index(line, defundef) - 1)
16783 if (D_is_set[macro]) {
16784 # Preserve the white space surrounding the "#".
16785 print prefix "define", macro P[macro] D[macro]
16786 next
16787 } else {
16788 # Replace #undef with comments. This is necessary, for example,
16789 # in the case of _POSIX_SOURCE, which is predefined and required
16790 # on some systems where configure will not decide to define it.
16791 if (defundef == "undef") {
16792 print "/*", prefix defundef, macro, "*/"
16793 next
16794 }
16795 }
16796 }
16797 { print }
16798 _ACAWK
16799 _ACEOF
16800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16801 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16802 fi # test -n "$CONFIG_HEADERS"
16803
16804
16805 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16806 shift
16807 for ac_tag
16808 do
16809 case $ac_tag in
16810 :[FHLC]) ac_mode=$ac_tag; continue;;
16811 esac
16812 case $ac_mode$ac_tag in
16813 :[FHL]*:*);;
16814 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16815 :[FH]-) ac_tag=-:-;;
16816 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16817 esac
16818 ac_save_IFS=$IFS
16819 IFS=:
16820 set x $ac_tag
16821 IFS=$ac_save_IFS
16822 shift
16823 ac_file=$1
16824 shift
16825
16826 case $ac_mode in
16827 :L) ac_source=$1;;
16828 :[FH])
16829 ac_file_inputs=
16830 for ac_f
16831 do
16832 case $ac_f in
16833 -) ac_f="$ac_tmp/stdin";;
16834 *) # Look for the file first in the build tree, then in the source tree
16835 # (if the path is not absolute). The absolute path cannot be DOS-style,
16836 # because $ac_f cannot contain `:'.
16837 test -f "$ac_f" ||
16838 case $ac_f in
16839 [\\/$]*) false;;
16840 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16841 esac ||
16842 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16843 esac
16844 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16845 as_fn_append ac_file_inputs " '$ac_f'"
16846 done
16847
16848 # Let's still pretend it is `configure' which instantiates (i.e., don't
16849 # use $as_me), people would be surprised to read:
16850 # /* config.h. Generated by config.status. */
16851 configure_input='Generated from '`
16852 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16853 `' by configure.'
16854 if test x"$ac_file" != x-; then
16855 configure_input="$ac_file. $configure_input"
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16857 $as_echo "$as_me: creating $ac_file" >&6;}
16858 fi
16859 # Neutralize special characters interpreted by sed in replacement strings.
16860 case $configure_input in #(
16861 *\&* | *\|* | *\\* )
16862 ac_sed_conf_input=`$as_echo "$configure_input" |
16863 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16864 *) ac_sed_conf_input=$configure_input;;
16865 esac
16866
16867 case $ac_tag in
16868 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16869 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16870 esac
16871 ;;
16872 esac
16873
16874 ac_dir=`$as_dirname -- "$ac_file" ||
16875 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16876 X"$ac_file" : 'X\(//\)[^/]' \| \
16877 X"$ac_file" : 'X\(//\)$' \| \
16878 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16879 $as_echo X"$ac_file" |
16880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16881 s//\1/
16882 q
16883 }
16884 /^X\(\/\/\)[^/].*/{
16885 s//\1/
16886 q
16887 }
16888 /^X\(\/\/\)$/{
16889 s//\1/
16890 q
16891 }
16892 /^X\(\/\).*/{
16893 s//\1/
16894 q
16895 }
16896 s/.*/./; q'`
16897 as_dir="$ac_dir"; as_fn_mkdir_p
16898 ac_builddir=.
16899
16900 case "$ac_dir" in
16901 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16902 *)
16903 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16904 # A ".." for each directory in $ac_dir_suffix.
16905 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16906 case $ac_top_builddir_sub in
16907 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16908 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16909 esac ;;
16910 esac
16911 ac_abs_top_builddir=$ac_pwd
16912 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16913 # for backward compatibility:
16914 ac_top_builddir=$ac_top_build_prefix
16915
16916 case $srcdir in
16917 .) # We are building in place.
16918 ac_srcdir=.
16919 ac_top_srcdir=$ac_top_builddir_sub
16920 ac_abs_top_srcdir=$ac_pwd ;;
16921 [\\/]* | ?:[\\/]* ) # Absolute name.
16922 ac_srcdir=$srcdir$ac_dir_suffix;
16923 ac_top_srcdir=$srcdir
16924 ac_abs_top_srcdir=$srcdir ;;
16925 *) # Relative name.
16926 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16927 ac_top_srcdir=$ac_top_build_prefix$srcdir
16928 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16929 esac
16930 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16931
16932
16933 case $ac_mode in
16934 :F)
16935 #
16936 # CONFIG_FILE
16937 #
16938
16939 case $INSTALL in
16940 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16941 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16942 esac
16943 ac_MKDIR_P=$MKDIR_P
16944 case $MKDIR_P in
16945 [\\/$]* | ?:[\\/]* ) ;;
16946 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16947 esac
16948 _ACEOF
16949
16950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16951 # If the template does not know about datarootdir, expand it.
16952 # FIXME: This hack should be removed a few years after 2.60.
16953 ac_datarootdir_hack=; ac_datarootdir_seen=
16954 ac_sed_dataroot='
16955 /datarootdir/ {
16956 p
16957 q
16958 }
16959 /@datadir@/p
16960 /@docdir@/p
16961 /@infodir@/p
16962 /@localedir@/p
16963 /@mandir@/p'
16964 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16965 *datarootdir*) ac_datarootdir_seen=yes;;
16966 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16968 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16969 _ACEOF
16970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16971 ac_datarootdir_hack='
16972 s&@datadir@&$datadir&g
16973 s&@docdir@&$docdir&g
16974 s&@infodir@&$infodir&g
16975 s&@localedir@&$localedir&g
16976 s&@mandir@&$mandir&g
16977 s&\\\${datarootdir}&$datarootdir&g' ;;
16978 esac
16979 _ACEOF
16980
16981 # Neutralize VPATH when `$srcdir' = `.'.
16982 # Shell code in configure.ac might set extrasub.
16983 # FIXME: do we really want to maintain this feature?
16984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16985 ac_sed_extra="$ac_vpsub
16986 $extrasub
16987 _ACEOF
16988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16989 :t
16990 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16991 s|@configure_input@|$ac_sed_conf_input|;t t
16992 s&@top_builddir@&$ac_top_builddir_sub&;t t
16993 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16994 s&@srcdir@&$ac_srcdir&;t t
16995 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16996 s&@top_srcdir@&$ac_top_srcdir&;t t
16997 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16998 s&@builddir@&$ac_builddir&;t t
16999 s&@abs_builddir@&$ac_abs_builddir&;t t
17000 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17001 s&@INSTALL@&$ac_INSTALL&;t t
17002 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17003 $ac_datarootdir_hack
17004 "
17005 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17006 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17007
17008 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17009 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17010 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17011 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17013 which seems to be undefined. Please make sure it is defined" >&5
17014 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17015 which seems to be undefined. Please make sure it is defined" >&2;}
17016
17017 rm -f "$ac_tmp/stdin"
17018 case $ac_file in
17019 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17020 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17021 esac \
17022 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17023 ;;
17024 :H)
17025 #
17026 # CONFIG_HEADER
17027 #
17028 if test x"$ac_file" != x-; then
17029 {
17030 $as_echo "/* $configure_input */" \
17031 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17032 } >"$ac_tmp/config.h" \
17033 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17034 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17036 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17037 else
17038 rm -f "$ac_file"
17039 mv "$ac_tmp/config.h" "$ac_file" \
17040 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17041 fi
17042 else
17043 $as_echo "/* $configure_input */" \
17044 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17045 || as_fn_error $? "could not create -" "$LINENO" 5
17046 fi
17047 # Compute "$ac_file"'s index in $config_headers.
17048 _am_arg="$ac_file"
17049 _am_stamp_count=1
17050 for _am_header in $config_headers :; do
17051 case $_am_header in
17052 $_am_arg | $_am_arg:* )
17053 break ;;
17054 * )
17055 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17056 esac
17057 done
17058 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17059 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17060 X"$_am_arg" : 'X\(//\)[^/]' \| \
17061 X"$_am_arg" : 'X\(//\)$' \| \
17062 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17063 $as_echo X"$_am_arg" |
17064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17065 s//\1/
17066 q
17067 }
17068 /^X\(\/\/\)[^/].*/{
17069 s//\1/
17070 q
17071 }
17072 /^X\(\/\/\)$/{
17073 s//\1/
17074 q
17075 }
17076 /^X\(\/\).*/{
17077 s//\1/
17078 q
17079 }
17080 s/.*/./; q'`/stamp-h$_am_stamp_count
17081 ;;
17082
17083 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17084 $as_echo "$as_me: executing $ac_file commands" >&6;}
17085 ;;
17086 esac
17087
17088
17089 case $ac_file$ac_mode in
17090 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17091 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17092 # are listed without --file. Let's play safe and only enable the eval
17093 # if we detect the quoting.
17094 case $CONFIG_FILES in
17095 *\'*) eval set x "$CONFIG_FILES" ;;
17096 *) set x $CONFIG_FILES ;;
17097 esac
17098 shift
17099 for mf
17100 do
17101 # Strip MF so we end up with the name of the file.
17102 mf=`echo "$mf" | sed -e 's/:.*$//'`
17103 # Check whether this is an Automake generated Makefile or not.
17104 # We used to match only the files named `Makefile.in', but
17105 # some people rename them; so instead we look at the file content.
17106 # Grep'ing the first line is not enough: some people post-process
17107 # each Makefile.in and add a new line on top of each file to say so.
17108 # Grep'ing the whole file is not good either: AIX grep has a line
17109 # limit of 2048, but all sed's we know have understand at least 4000.
17110 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17111 dirpart=`$as_dirname -- "$mf" ||
17112 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17113 X"$mf" : 'X\(//\)[^/]' \| \
17114 X"$mf" : 'X\(//\)$' \| \
17115 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17116 $as_echo X"$mf" |
17117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17118 s//\1/
17119 q
17120 }
17121 /^X\(\/\/\)[^/].*/{
17122 s//\1/
17123 q
17124 }
17125 /^X\(\/\/\)$/{
17126 s//\1/
17127 q
17128 }
17129 /^X\(\/\).*/{
17130 s//\1/
17131 q
17132 }
17133 s/.*/./; q'`
17134 else
17135 continue
17136 fi
17137 # Extract the definition of DEPDIR, am__include, and am__quote
17138 # from the Makefile without running `make'.
17139 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17140 test -z "$DEPDIR" && continue
17141 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17142 test -z "am__include" && continue
17143 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17144 # When using ansi2knr, U may be empty or an underscore; expand it
17145 U=`sed -n 's/^U = //p' < "$mf"`
17146 # Find all dependency output files, they are included files with
17147 # $(DEPDIR) in their names. We invoke sed twice because it is the
17148 # simplest approach to changing $(DEPDIR) to its actual value in the
17149 # expansion.
17150 for file in `sed -n "
17151 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17152 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17153 # Make sure the directory exists.
17154 test -f "$dirpart/$file" && continue
17155 fdir=`$as_dirname -- "$file" ||
17156 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17157 X"$file" : 'X\(//\)[^/]' \| \
17158 X"$file" : 'X\(//\)$' \| \
17159 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17160 $as_echo X"$file" |
17161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17162 s//\1/
17163 q
17164 }
17165 /^X\(\/\/\)[^/].*/{
17166 s//\1/
17167 q
17168 }
17169 /^X\(\/\/\)$/{
17170 s//\1/
17171 q
17172 }
17173 /^X\(\/\).*/{
17174 s//\1/
17175 q
17176 }
17177 s/.*/./; q'`
17178 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17179 # echo "creating $dirpart/$file"
17180 echo '# dummy' > "$dirpart/$file"
17181 done
17182 done
17183 }
17184 ;;
17185 "libtool":C)
17186
17187 # See if we are running on zsh, and set the options which allow our
17188 # commands through without removal of \ escapes.
17189 if test -n "${ZSH_VERSION+set}" ; then
17190 setopt NO_GLOB_SUBST
17191 fi
17192
17193 cfgfile="${ofile}T"
17194 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17195 $RM "$cfgfile"
17196
17197 cat <<_LT_EOF >> "$cfgfile"
17198 #! $SHELL
17199
17200 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17201 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17202 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17203 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17204 #
17205 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17206 # 2006, 2007, 2008 Free Software Foundation, Inc.
17207 # Written by Gordon Matzigkeit, 1996
17208 #
17209 # This file is part of GNU Libtool.
17210 #
17211 # GNU Libtool is free software; you can redistribute it and/or
17212 # modify it under the terms of the GNU General Public License as
17213 # published by the Free Software Foundation; either version 2 of
17214 # the License, or (at your option) any later version.
17215 #
17216 # As a special exception to the GNU General Public License,
17217 # if you distribute this file as part of a program or library that
17218 # is built using GNU Libtool, you may include this file under the
17219 # same distribution terms that you use for the rest of that program.
17220 #
17221 # GNU Libtool is distributed in the hope that it will be useful,
17222 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17223 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17224 # GNU General Public License for more details.
17225 #
17226 # You should have received a copy of the GNU General Public License
17227 # along with GNU Libtool; see the file COPYING. If not, a copy
17228 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17229 # obtained by writing to the Free Software Foundation, Inc.,
17230 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17231
17232
17233 # The names of the tagged configurations supported by this script.
17234 available_tags="CXX "
17235
17236 # ### BEGIN LIBTOOL CONFIG
17237
17238 # Which release of libtool.m4 was used?
17239 macro_version=$macro_version
17240 macro_revision=$macro_revision
17241
17242 # Whether or not to build shared libraries.
17243 build_libtool_libs=$enable_shared
17244
17245 # Whether or not to build static libraries.
17246 build_old_libs=$enable_static
17247
17248 # What type of objects to build.
17249 pic_mode=$pic_mode
17250
17251 # Whether or not to optimize for fast installation.
17252 fast_install=$enable_fast_install
17253
17254 # The host system.
17255 host_alias=$host_alias
17256 host=$host
17257 host_os=$host_os
17258
17259 # The build system.
17260 build_alias=$build_alias
17261 build=$build
17262 build_os=$build_os
17263
17264 # A sed program that does not truncate output.
17265 SED=$lt_SED
17266
17267 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17268 Xsed="\$SED -e 1s/^X//"
17269
17270 # A grep program that handles long lines.
17271 GREP=$lt_GREP
17272
17273 # An ERE matcher.
17274 EGREP=$lt_EGREP
17275
17276 # A literal string matcher.
17277 FGREP=$lt_FGREP
17278
17279 # A BSD- or MS-compatible name lister.
17280 NM=$lt_NM
17281
17282 # Whether we need soft or hard links.
17283 LN_S=$lt_LN_S
17284
17285 # What is the maximum length of a command?
17286 max_cmd_len=$max_cmd_len
17287
17288 # Object file suffix (normally "o").
17289 objext=$ac_objext
17290
17291 # Executable file suffix (normally "").
17292 exeext=$exeext
17293
17294 # whether the shell understands "unset".
17295 lt_unset=$lt_unset
17296
17297 # turn spaces into newlines.
17298 SP2NL=$lt_lt_SP2NL
17299
17300 # turn newlines into spaces.
17301 NL2SP=$lt_lt_NL2SP
17302
17303 # How to create reloadable object files.
17304 reload_flag=$lt_reload_flag
17305 reload_cmds=$lt_reload_cmds
17306
17307 # An object symbol dumper.
17308 OBJDUMP=$lt_OBJDUMP
17309
17310 # Method to check whether dependent libraries are shared objects.
17311 deplibs_check_method=$lt_deplibs_check_method
17312
17313 # Command to use when deplibs_check_method == "file_magic".
17314 file_magic_cmd=$lt_file_magic_cmd
17315
17316 # The archiver.
17317 AR=$lt_AR
17318 AR_FLAGS=$lt_AR_FLAGS
17319
17320 # A symbol stripping program.
17321 STRIP=$lt_STRIP
17322
17323 # Commands used to install an old-style archive.
17324 RANLIB=$lt_RANLIB
17325 old_postinstall_cmds=$lt_old_postinstall_cmds
17326 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17327
17328 # A C compiler.
17329 LTCC=$lt_CC
17330
17331 # LTCC compiler flags.
17332 LTCFLAGS=$lt_CFLAGS
17333
17334 # Take the output of nm and produce a listing of raw symbols and C names.
17335 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17336
17337 # Transform the output of nm in a proper C declaration.
17338 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17339
17340 # Transform the output of nm in a C name address pair.
17341 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17342
17343 # Transform the output of nm in a C name address pair when lib prefix is needed.
17344 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17345
17346 # The name of the directory that contains temporary libtool files.
17347 objdir=$objdir
17348
17349 # Shell to use when invoking shell scripts.
17350 SHELL=$lt_SHELL
17351
17352 # An echo program that does not interpret backslashes.
17353 ECHO=$lt_ECHO
17354
17355 # Used to examine libraries when file_magic_cmd begins with "file".
17356 MAGIC_CMD=$MAGIC_CMD
17357
17358 # Must we lock files when doing compilation?
17359 need_locks=$lt_need_locks
17360
17361 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17362 DSYMUTIL=$lt_DSYMUTIL
17363
17364 # Tool to change global to local symbols on Mac OS X.
17365 NMEDIT=$lt_NMEDIT
17366
17367 # Tool to manipulate fat objects and archives on Mac OS X.
17368 LIPO=$lt_LIPO
17369
17370 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17371 OTOOL=$lt_OTOOL
17372
17373 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17374 OTOOL64=$lt_OTOOL64
17375
17376 # Old archive suffix (normally "a").
17377 libext=$libext
17378
17379 # Shared library suffix (normally ".so").
17380 shrext_cmds=$lt_shrext_cmds
17381
17382 # The commands to extract the exported symbol list from a shared archive.
17383 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17384
17385 # Variables whose values should be saved in libtool wrapper scripts and
17386 # restored at link time.
17387 variables_saved_for_relink=$lt_variables_saved_for_relink
17388
17389 # Do we need the "lib" prefix for modules?
17390 need_lib_prefix=$need_lib_prefix
17391
17392 # Do we need a version for libraries?
17393 need_version=$need_version
17394
17395 # Library versioning type.
17396 version_type=$version_type
17397
17398 # Shared library runtime path variable.
17399 runpath_var=$runpath_var
17400
17401 # Shared library path variable.
17402 shlibpath_var=$shlibpath_var
17403
17404 # Is shlibpath searched before the hard-coded library search path?
17405 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17406
17407 # Format of library name prefix.
17408 libname_spec=$lt_libname_spec
17409
17410 # List of archive names. First name is the real one, the rest are links.
17411 # The last name is the one that the linker finds with -lNAME
17412 library_names_spec=$lt_library_names_spec
17413
17414 # The coded name of the library, if different from the real name.
17415 soname_spec=$lt_soname_spec
17416
17417 # Command to use after installation of a shared archive.
17418 postinstall_cmds=$lt_postinstall_cmds
17419
17420 # Command to use after uninstallation of a shared archive.
17421 postuninstall_cmds=$lt_postuninstall_cmds
17422
17423 # Commands used to finish a libtool library installation in a directory.
17424 finish_cmds=$lt_finish_cmds
17425
17426 # As "finish_cmds", except a single script fragment to be evaled but
17427 # not shown.
17428 finish_eval=$lt_finish_eval
17429
17430 # Whether we should hardcode library paths into libraries.
17431 hardcode_into_libs=$hardcode_into_libs
17432
17433 # Compile-time system search path for libraries.
17434 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17435
17436 # Run-time system search path for libraries.
17437 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17438
17439 # Whether dlopen is supported.
17440 dlopen_support=$enable_dlopen
17441
17442 # Whether dlopen of programs is supported.
17443 dlopen_self=$enable_dlopen_self
17444
17445 # Whether dlopen of statically linked programs is supported.
17446 dlopen_self_static=$enable_dlopen_self_static
17447
17448 # Commands to strip libraries.
17449 old_striplib=$lt_old_striplib
17450 striplib=$lt_striplib
17451
17452
17453 # The linker used to build libraries.
17454 LD=$lt_LD
17455
17456 # Commands used to build an old-style archive.
17457 old_archive_cmds=$lt_old_archive_cmds
17458
17459 # A language specific compiler.
17460 CC=$lt_compiler
17461
17462 # Is the compiler the GNU compiler?
17463 with_gcc=$GCC
17464
17465 # Compiler flag to turn off builtin functions.
17466 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17467
17468 # How to pass a linker flag through the compiler.
17469 wl=$lt_lt_prog_compiler_wl
17470
17471 # Additional compiler flags for building library objects.
17472 pic_flag=$lt_lt_prog_compiler_pic
17473
17474 # Compiler flag to prevent dynamic linking.
17475 link_static_flag=$lt_lt_prog_compiler_static
17476
17477 # Does compiler simultaneously support -c and -o options?
17478 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17479
17480 # Whether or not to add -lc for building shared libraries.
17481 build_libtool_need_lc=$archive_cmds_need_lc
17482
17483 # Whether or not to disallow shared libs when runtime libs are static.
17484 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17485
17486 # Compiler flag to allow reflexive dlopens.
17487 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17488
17489 # Compiler flag to generate shared objects directly from archives.
17490 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17491
17492 # Whether the compiler copes with passing no objects directly.
17493 compiler_needs_object=$lt_compiler_needs_object
17494
17495 # Create an old-style archive from a shared archive.
17496 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17497
17498 # Create a temporary old-style archive to link instead of a shared archive.
17499 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17500
17501 # Commands used to build a shared archive.
17502 archive_cmds=$lt_archive_cmds
17503 archive_expsym_cmds=$lt_archive_expsym_cmds
17504
17505 # Commands used to build a loadable module if different from building
17506 # a shared archive.
17507 module_cmds=$lt_module_cmds
17508 module_expsym_cmds=$lt_module_expsym_cmds
17509
17510 # Whether we are building with GNU ld or not.
17511 with_gnu_ld=$lt_with_gnu_ld
17512
17513 # Flag that allows shared libraries with undefined symbols to be built.
17514 allow_undefined_flag=$lt_allow_undefined_flag
17515
17516 # Flag that enforces no undefined symbols.
17517 no_undefined_flag=$lt_no_undefined_flag
17518
17519 # Flag to hardcode \$libdir into a binary during linking.
17520 # This must work even if \$libdir does not exist
17521 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17522
17523 # If ld is used when linking, flag to hardcode \$libdir into a binary
17524 # during linking. This must work even if \$libdir does not exist.
17525 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17526
17527 # Whether we need a single "-rpath" flag with a separated argument.
17528 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17529
17530 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17531 # DIR into the resulting binary.
17532 hardcode_direct=$hardcode_direct
17533
17534 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17535 # DIR into the resulting binary and the resulting library dependency is
17536 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17537 # library is relocated.
17538 hardcode_direct_absolute=$hardcode_direct_absolute
17539
17540 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17541 # into the resulting binary.
17542 hardcode_minus_L=$hardcode_minus_L
17543
17544 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17545 # into the resulting binary.
17546 hardcode_shlibpath_var=$hardcode_shlibpath_var
17547
17548 # Set to "yes" if building a shared library automatically hardcodes DIR
17549 # into the library and all subsequent libraries and executables linked
17550 # against it.
17551 hardcode_automatic=$hardcode_automatic
17552
17553 # Set to yes if linker adds runtime paths of dependent libraries
17554 # to runtime path list.
17555 inherit_rpath=$inherit_rpath
17556
17557 # Whether libtool must link a program against all its dependency libraries.
17558 link_all_deplibs=$link_all_deplibs
17559
17560 # Fix the shell variable \$srcfile for the compiler.
17561 fix_srcfile_path=$lt_fix_srcfile_path
17562
17563 # Set to "yes" if exported symbols are required.
17564 always_export_symbols=$always_export_symbols
17565
17566 # The commands to list exported symbols.
17567 export_symbols_cmds=$lt_export_symbols_cmds
17568
17569 # Symbols that should not be listed in the preloaded symbols.
17570 exclude_expsyms=$lt_exclude_expsyms
17571
17572 # Symbols that must always be exported.
17573 include_expsyms=$lt_include_expsyms
17574
17575 # Commands necessary for linking programs (against libraries) with templates.
17576 prelink_cmds=$lt_prelink_cmds
17577
17578 # Specify filename containing input files.
17579 file_list_spec=$lt_file_list_spec
17580
17581 # How to hardcode a shared library path into an executable.
17582 hardcode_action=$hardcode_action
17583
17584 # The directories searched by this compiler when creating a shared library.
17585 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17586
17587 # Dependencies to place before and after the objects being linked to
17588 # create a shared library.
17589 predep_objects=$lt_predep_objects
17590 postdep_objects=$lt_postdep_objects
17591 predeps=$lt_predeps
17592 postdeps=$lt_postdeps
17593
17594 # The library search path used internally by the compiler when linking
17595 # a shared library.
17596 compiler_lib_search_path=$lt_compiler_lib_search_path
17597
17598 # ### END LIBTOOL CONFIG
17599
17600 _LT_EOF
17601
17602 case $host_os in
17603 aix3*)
17604 cat <<\_LT_EOF >> "$cfgfile"
17605 # AIX sometimes has problems with the GCC collect2 program. For some
17606 # reason, if we set the COLLECT_NAMES environment variable, the problems
17607 # vanish in a puff of smoke.
17608 if test "X${COLLECT_NAMES+set}" != Xset; then
17609 COLLECT_NAMES=
17610 export COLLECT_NAMES
17611 fi
17612 _LT_EOF
17613 ;;
17614 esac
17615
17616
17617 ltmain="$ac_aux_dir/ltmain.sh"
17618
17619
17620 # We use sed instead of cat because bash on DJGPP gets confused if
17621 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17622 # text mode, it properly converts lines to CR/LF. This bash problem
17623 # is reportedly fixed, but why not run on old versions too?
17624 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17625 || (rm -f "$cfgfile"; exit 1)
17626
17627 case $xsi_shell in
17628 yes)
17629 cat << \_LT_EOF >> "$cfgfile"
17630
17631 # func_dirname file append nondir_replacement
17632 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17633 # otherwise set result to NONDIR_REPLACEMENT.
17634 func_dirname ()
17635 {
17636 case ${1} in
17637 */*) func_dirname_result="${1%/*}${2}" ;;
17638 * ) func_dirname_result="${3}" ;;
17639 esac
17640 }
17641
17642 # func_basename file
17643 func_basename ()
17644 {
17645 func_basename_result="${1##*/}"
17646 }
17647
17648 # func_dirname_and_basename file append nondir_replacement
17649 # perform func_basename and func_dirname in a single function
17650 # call:
17651 # dirname: Compute the dirname of FILE. If nonempty,
17652 # add APPEND to the result, otherwise set result
17653 # to NONDIR_REPLACEMENT.
17654 # value returned in "$func_dirname_result"
17655 # basename: Compute filename of FILE.
17656 # value retuned in "$func_basename_result"
17657 # Implementation must be kept synchronized with func_dirname
17658 # and func_basename. For efficiency, we do not delegate to
17659 # those functions but instead duplicate the functionality here.
17660 func_dirname_and_basename ()
17661 {
17662 case ${1} in
17663 */*) func_dirname_result="${1%/*}${2}" ;;
17664 * ) func_dirname_result="${3}" ;;
17665 esac
17666 func_basename_result="${1##*/}"
17667 }
17668
17669 # func_stripname prefix suffix name
17670 # strip PREFIX and SUFFIX off of NAME.
17671 # PREFIX and SUFFIX must not contain globbing or regex special
17672 # characters, hashes, percent signs, but SUFFIX may contain a leading
17673 # dot (in which case that matches only a dot).
17674 func_stripname ()
17675 {
17676 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17677 # positional parameters, so assign one to ordinary parameter first.
17678 func_stripname_result=${3}
17679 func_stripname_result=${func_stripname_result#"${1}"}
17680 func_stripname_result=${func_stripname_result%"${2}"}
17681 }
17682
17683 # func_opt_split
17684 func_opt_split ()
17685 {
17686 func_opt_split_opt=${1%%=*}
17687 func_opt_split_arg=${1#*=}
17688 }
17689
17690 # func_lo2o object
17691 func_lo2o ()
17692 {
17693 case ${1} in
17694 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17695 *) func_lo2o_result=${1} ;;
17696 esac
17697 }
17698
17699 # func_xform libobj-or-source
17700 func_xform ()
17701 {
17702 func_xform_result=${1%.*}.lo
17703 }
17704
17705 # func_arith arithmetic-term...
17706 func_arith ()
17707 {
17708 func_arith_result=$(( $* ))
17709 }
17710
17711 # func_len string
17712 # STRING may not start with a hyphen.
17713 func_len ()
17714 {
17715 func_len_result=${#1}
17716 }
17717
17718 _LT_EOF
17719 ;;
17720 *) # Bourne compatible functions.
17721 cat << \_LT_EOF >> "$cfgfile"
17722
17723 # func_dirname file append nondir_replacement
17724 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17725 # otherwise set result to NONDIR_REPLACEMENT.
17726 func_dirname ()
17727 {
17728 # Extract subdirectory from the argument.
17729 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17730 if test "X$func_dirname_result" = "X${1}"; then
17731 func_dirname_result="${3}"
17732 else
17733 func_dirname_result="$func_dirname_result${2}"
17734 fi
17735 }
17736
17737 # func_basename file
17738 func_basename ()
17739 {
17740 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17741 }
17742
17743
17744 # func_stripname prefix suffix name
17745 # strip PREFIX and SUFFIX off of NAME.
17746 # PREFIX and SUFFIX must not contain globbing or regex special
17747 # characters, hashes, percent signs, but SUFFIX may contain a leading
17748 # dot (in which case that matches only a dot).
17749 # func_strip_suffix prefix name
17750 func_stripname ()
17751 {
17752 case ${2} in
17753 .*) func_stripname_result=`$ECHO "X${3}" \
17754 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17755 *) func_stripname_result=`$ECHO "X${3}" \
17756 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17757 esac
17758 }
17759
17760 # sed scripts:
17761 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17762 my_sed_long_arg='1s/^-[^=]*=//'
17763
17764 # func_opt_split
17765 func_opt_split ()
17766 {
17767 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17768 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17769 }
17770
17771 # func_lo2o object
17772 func_lo2o ()
17773 {
17774 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17775 }
17776
17777 # func_xform libobj-or-source
17778 func_xform ()
17779 {
17780 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17781 }
17782
17783 # func_arith arithmetic-term...
17784 func_arith ()
17785 {
17786 func_arith_result=`expr "$@"`
17787 }
17788
17789 # func_len string
17790 # STRING may not start with a hyphen.
17791 func_len ()
17792 {
17793 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17794 }
17795
17796 _LT_EOF
17797 esac
17798
17799 case $lt_shell_append in
17800 yes)
17801 cat << \_LT_EOF >> "$cfgfile"
17802
17803 # func_append var value
17804 # Append VALUE to the end of shell variable VAR.
17805 func_append ()
17806 {
17807 eval "$1+=\$2"
17808 }
17809 _LT_EOF
17810 ;;
17811 *)
17812 cat << \_LT_EOF >> "$cfgfile"
17813
17814 # func_append var value
17815 # Append VALUE to the end of shell variable VAR.
17816 func_append ()
17817 {
17818 eval "$1=\$$1\$2"
17819 }
17820
17821 _LT_EOF
17822 ;;
17823 esac
17824
17825
17826 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17827 || (rm -f "$cfgfile"; exit 1)
17828
17829 mv -f "$cfgfile" "$ofile" ||
17830 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17831 chmod +x "$ofile"
17832
17833
17834 cat <<_LT_EOF >> "$ofile"
17835
17836 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17837
17838 # The linker used to build libraries.
17839 LD=$lt_LD_CXX
17840
17841 # Commands used to build an old-style archive.
17842 old_archive_cmds=$lt_old_archive_cmds_CXX
17843
17844 # A language specific compiler.
17845 CC=$lt_compiler_CXX
17846
17847 # Is the compiler the GNU compiler?
17848 with_gcc=$GCC_CXX
17849
17850 # Compiler flag to turn off builtin functions.
17851 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17852
17853 # How to pass a linker flag through the compiler.
17854 wl=$lt_lt_prog_compiler_wl_CXX
17855
17856 # Additional compiler flags for building library objects.
17857 pic_flag=$lt_lt_prog_compiler_pic_CXX
17858
17859 # Compiler flag to prevent dynamic linking.
17860 link_static_flag=$lt_lt_prog_compiler_static_CXX
17861
17862 # Does compiler simultaneously support -c and -o options?
17863 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17864
17865 # Whether or not to add -lc for building shared libraries.
17866 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17867
17868 # Whether or not to disallow shared libs when runtime libs are static.
17869 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17870
17871 # Compiler flag to allow reflexive dlopens.
17872 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17873
17874 # Compiler flag to generate shared objects directly from archives.
17875 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17876
17877 # Whether the compiler copes with passing no objects directly.
17878 compiler_needs_object=$lt_compiler_needs_object_CXX
17879
17880 # Create an old-style archive from a shared archive.
17881 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17882
17883 # Create a temporary old-style archive to link instead of a shared archive.
17884 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17885
17886 # Commands used to build a shared archive.
17887 archive_cmds=$lt_archive_cmds_CXX
17888 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17889
17890 # Commands used to build a loadable module if different from building
17891 # a shared archive.
17892 module_cmds=$lt_module_cmds_CXX
17893 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17894
17895 # Whether we are building with GNU ld or not.
17896 with_gnu_ld=$lt_with_gnu_ld_CXX
17897
17898 # Flag that allows shared libraries with undefined symbols to be built.
17899 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17900
17901 # Flag that enforces no undefined symbols.
17902 no_undefined_flag=$lt_no_undefined_flag_CXX
17903
17904 # Flag to hardcode \$libdir into a binary during linking.
17905 # This must work even if \$libdir does not exist
17906 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17907
17908 # If ld is used when linking, flag to hardcode \$libdir into a binary
17909 # during linking. This must work even if \$libdir does not exist.
17910 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17911
17912 # Whether we need a single "-rpath" flag with a separated argument.
17913 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17914
17915 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17916 # DIR into the resulting binary.
17917 hardcode_direct=$hardcode_direct_CXX
17918
17919 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17920 # DIR into the resulting binary and the resulting library dependency is
17921 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17922 # library is relocated.
17923 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17924
17925 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17926 # into the resulting binary.
17927 hardcode_minus_L=$hardcode_minus_L_CXX
17928
17929 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17930 # into the resulting binary.
17931 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17932
17933 # Set to "yes" if building a shared library automatically hardcodes DIR
17934 # into the library and all subsequent libraries and executables linked
17935 # against it.
17936 hardcode_automatic=$hardcode_automatic_CXX
17937
17938 # Set to yes if linker adds runtime paths of dependent libraries
17939 # to runtime path list.
17940 inherit_rpath=$inherit_rpath_CXX
17941
17942 # Whether libtool must link a program against all its dependency libraries.
17943 link_all_deplibs=$link_all_deplibs_CXX
17944
17945 # Fix the shell variable \$srcfile for the compiler.
17946 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17947
17948 # Set to "yes" if exported symbols are required.
17949 always_export_symbols=$always_export_symbols_CXX
17950
17951 # The commands to list exported symbols.
17952 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17953
17954 # Symbols that should not be listed in the preloaded symbols.
17955 exclude_expsyms=$lt_exclude_expsyms_CXX
17956
17957 # Symbols that must always be exported.
17958 include_expsyms=$lt_include_expsyms_CXX
17959
17960 # Commands necessary for linking programs (against libraries) with templates.
17961 prelink_cmds=$lt_prelink_cmds_CXX
17962
17963 # Specify filename containing input files.
17964 file_list_spec=$lt_file_list_spec_CXX
17965
17966 # How to hardcode a shared library path into an executable.
17967 hardcode_action=$hardcode_action_CXX
17968
17969 # The directories searched by this compiler when creating a shared library.
17970 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17971
17972 # Dependencies to place before and after the objects being linked to
17973 # create a shared library.
17974 predep_objects=$lt_predep_objects_CXX
17975 postdep_objects=$lt_postdep_objects_CXX
17976 predeps=$lt_predeps_CXX
17977 postdeps=$lt_postdeps_CXX
17978
17979 # The library search path used internally by the compiler when linking
17980 # a shared library.
17981 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17982
17983 # ### END LIBTOOL TAG CONFIG: CXX
17984 _LT_EOF
17985
17986 ;;
17987
17988 esac
17989 done # for ac_tag
17990
17991
17992 as_fn_exit 0
17993 _ACEOF
17994 ac_clean_files=$ac_clean_files_save
17995
17996 test $ac_write_fail = 0 ||
17997 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17998
17999
18000 # configure is writing to config.log, and then calls config.status.
18001 # config.status does its own redirection, appending to config.log.
18002 # Unfortunately, on DOS this fails, as config.log is still kept open
18003 # by configure, so config.status won't be able to write to it; its
18004 # output is simply discarded. So we exec the FD to /dev/null,
18005 # effectively closing config.log, so it can be properly (re)opened and
18006 # appended to by config.status. When coming back to configure, we
18007 # need to make the FD available again.
18008 if test "$no_create" != yes; then
18009 ac_cs_success=:
18010 ac_config_status_args=
18011 test "$silent" = yes &&
18012 ac_config_status_args="$ac_config_status_args --quiet"
18013 exec 5>/dev/null
18014 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18015 exec 5>>config.log
18016 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18017 # would make configure fail if this is the last instruction.
18018 $ac_cs_success || as_fn_exit 1
18019 fi
18020 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18022 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18023 fi
18024
18025
+0
-293
ibdm/autom4te.cache/requests less more
0 # This file was generated.
1 # It contains the lists of macros which have been traced.
2 # It can be safely removed.
3
4 @request = (
5 bless( [
6 '0',
7 1,
8 [
9 '/usr/share/autoconf'
10 ],
11 [
12 '/usr/share/autoconf/autoconf/autoconf.m4f',
13 '/usr/share/aclocal/argz.m4',
14 '/usr/share/aclocal/libtool.m4',
15 '/usr/share/aclocal/ltdl.m4',
16 '/usr/share/aclocal/ltoptions.m4',
17 '/usr/share/aclocal/ltsugar.m4',
18 '/usr/share/aclocal/ltversion.m4',
19 '/usr/share/aclocal/lt~obsolete.m4',
20 '/usr/share/aclocal-1.11/amversion.m4',
21 '/usr/share/aclocal-1.11/auxdir.m4',
22 '/usr/share/aclocal-1.11/cond.m4',
23 '/usr/share/aclocal-1.11/depend.m4',
24 '/usr/share/aclocal-1.11/depout.m4',
25 '/usr/share/aclocal-1.11/header.m4',
26 '/usr/share/aclocal-1.11/init.m4',
27 '/usr/share/aclocal-1.11/install-sh.m4',
28 '/usr/share/aclocal-1.11/lead-dot.m4',
29 '/usr/share/aclocal-1.11/lex.m4',
30 '/usr/share/aclocal-1.11/maintainer.m4',
31 '/usr/share/aclocal-1.11/make.m4',
32 '/usr/share/aclocal-1.11/missing.m4',
33 '/usr/share/aclocal-1.11/mkdirp.m4',
34 '/usr/share/aclocal-1.11/options.m4',
35 '/usr/share/aclocal-1.11/runlog.m4',
36 '/usr/share/aclocal-1.11/sanity.m4',
37 '/usr/share/aclocal-1.11/silent.m4',
38 '/usr/share/aclocal-1.11/strip.m4',
39 '/usr/share/aclocal-1.11/substnot.m4',
40 '/usr/share/aclocal-1.11/tar.m4',
41 'config/swig.m4',
42 'config/tcl.m4',
43 'configure.in'
44 ],
45 {
46 'AM_ENABLE_STATIC' => 1,
47 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
48 '_LT_AC_SHELL_INIT' => 1,
49 'AC_DEFUN' => 1,
50 'AC_PROG_LIBTOOL' => 1,
51 '_LT_AC_LANG_CXX_CONFIG' => 1,
52 'AM_PROG_MKDIR_P' => 1,
53 'AM_AUTOMAKE_VERSION' => 1,
54 'AM_SUBST_NOTMAKE' => 1,
55 'AM_MISSING_PROG' => 1,
56 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
57 '_LT_AC_LANG_C_CONFIG' => 1,
58 'AM_PROG_INSTALL_STRIP' => 1,
59 '_m4_warn' => 1,
60 'AC_LIBTOOL_OBJDIR' => 1,
61 'gl_FUNC_ARGZ' => 1,
62 'LTOBSOLETE_VERSION' => 1,
63 'AM_SANITY_CHECK' => 1,
64 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
65 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
66 'LT_LIB_M' => 1,
67 '_LT_AC_CHECK_DLFCN' => 1,
68 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
69 'LTSUGAR_VERSION' => 1,
70 '_LT_PROG_LTMAIN' => 1,
71 'LT_SYS_SYMBOL_USCORE' => 1,
72 '_AM_PROG_TAR' => 1,
73 'AC_LIBTOOL_GCJ' => 1,
74 'LT_SYS_DLOPEN_DEPLIBS' => 1,
75 'LT_FUNC_DLSYM_USCORE' => 1,
76 '_LT_AC_LANG_F77' => 1,
77 'AC_LIBTOOL_CONFIG' => 1,
78 '_AM_SUBST_NOTMAKE' => 1,
79 'AC_LTDL_DLLIB' => 1,
80 '_AM_AUTOCONF_VERSION' => 1,
81 'AM_DISABLE_SHARED' => 1,
82 '_LTDL_SETUP' => 1,
83 '_LT_AC_LANG_CXX' => 1,
84 'AM_PROG_LIBTOOL' => 1,
85 'AC_LIB_LTDL' => 1,
86 '_LT_AC_FILE_LTDLL_C' => 1,
87 'AM_PROG_LD' => 1,
88 'AU_DEFUN' => 1,
89 'AC_PROG_NM' => 1,
90 'AC_LIBTOOL_DLOPEN' => 1,
91 'AC_PROG_LD' => 1,
92 'AC_PROG_LD_GNU' => 1,
93 'AC_ENABLE_FAST_INSTALL' => 1,
94 'AC_LIBTOOL_FC' => 1,
95 'LTDL_CONVENIENCE' => 1,
96 'MLX_LANG_TCL' => 1,
97 '_AM_SET_OPTION' => 1,
98 'AC_LTDL_PREOPEN' => 1,
99 '_LT_LINKER_BOILERPLATE' => 1,
100 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
101 'AC_LIBTOOL_PROG_CC_C_O' => 1,
102 'gl_PREREQ_ARGZ' => 1,
103 'LT_SUPPORTED_TAG' => 1,
104 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
105 'LT_PROG_RC' => 1,
106 'LT_SYS_MODULE_EXT' => 1,
107 'AC_DEFUN_ONCE' => 1,
108 '_LT_AC_LANG_GCJ' => 1,
109 'AC_LTDL_OBJDIR' => 1,
110 '_LT_PATH_TOOL_PREFIX' => 1,
111 'AC_LIBTOOL_RC' => 1,
112 'AM_SILENT_RULES' => 1,
113 'AC_DISABLE_FAST_INSTALL' => 1,
114 '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
115 '_LT_AC_SYS_LIBPATH_AIX' => 1,
116 '_LT_AC_TRY_DLOPEN_SELF' => 1,
117 'include' => 1,
118 'LT_AC_PROG_SED' => 1,
119 'AM_ENABLE_SHARED' => 1,
120 'LTDL_INSTALLABLE' => 1,
121 '_LT_AC_LANG_GCJ_CONFIG' => 1,
122 'AC_ENABLE_SHARED' => 1,
123 'AC_ENABLE_STATIC' => 1,
124 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
125 '_LT_AC_TAGVAR' => 1,
126 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
127 'AM_CONDITIONAL' => 1,
128 'LT_LIB_DLLOAD' => 1,
129 'LTDL_INIT' => 1,
130 'LTVERSION_VERSION' => 1,
131 'AM_PROG_INSTALL_SH' => 1,
132 'm4_include' => 1,
133 'AC_PROG_EGREP' => 1,
134 '_AC_AM_CONFIG_HEADER_HOOK' => 1,
135 'AC_PATH_MAGIC' => 1,
136 'AC_LTDL_SYSSEARCHPATH' => 1,
137 'AM_MAKE_INCLUDE' => 1,
138 'LT_CMD_MAX_LEN' => 1,
139 '_LT_AC_TAGCONFIG' => 1,
140 'm4_pattern_forbid' => 1,
141 '_LT_LINKER_OPTION' => 1,
142 'AC_LIBTOOL_COMPILER_OPTION' => 1,
143 'AC_DISABLE_SHARED' => 1,
144 '_LT_COMPILER_BOILERPLATE' => 1,
145 'AC_LIBTOOL_WIN32_DLL' => 1,
146 'AC_LIBTOOL_SETUP' => 1,
147 'AC_PROG_LD_RELOAD_FLAG' => 1,
148 'AC_LTDL_DLSYM_USCORE' => 1,
149 'AM_MISSING_HAS_RUN' => 1,
150 'LT_LANG' => 1,
151 'LT_SYS_DLSEARCH_PATH' => 1,
152 'LT_CONFIG_LTDL_DIR' => 1,
153 'AC_LIBTOOL_DLOPEN_SELF' => 1,
154 'LT_OUTPUT' => 1,
155 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
156 'AC_WITH_LTDL' => 1,
157 'AC_LIBTOOL_LINKER_OPTION' => 1,
158 'LT_AC_PROG_RC' => 1,
159 'AC_LIBTOOL_CXX' => 1,
160 'LT_INIT' => 1,
161 'LT_AC_PROG_GCJ' => 1,
162 'LT_SYS_DLOPEN_SELF' => 1,
163 'AM_DEP_TRACK' => 1,
164 'AM_DISABLE_STATIC' => 1,
165 'AM_CONFIG_HEADER' => 1,
166 '_AC_PROG_LIBTOOL' => 1,
167 '_AM_IF_OPTION' => 1,
168 'AC_PATH_TOOL_PREFIX' => 1,
169 'm4_pattern_allow' => 1,
170 'AC_LIBTOOL_F77' => 1,
171 'AM_SET_LEADING_DOT' => 1,
172 'LT_AC_PROG_EGREP' => 1,
173 '_AM_DEPENDENCIES' => 1,
174 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
175 'LTOPTIONS_VERSION' => 1,
176 '_LT_AC_SYS_COMPILER' => 1,
177 'AM_PROG_NM' => 1,
178 'AC_LIBLTDL_CONVENIENCE' => 1,
179 'AC_DEPLIBS_CHECK_METHOD' => 1,
180 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
181 'jm_MAINTAINER_MODE' => 1,
182 'AC_LIBLTDL_INSTALLABLE' => 1,
183 'AC_LTDL_ENABLE_INSTALL' => 1,
184 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
185 'LT_PROG_GCJ' => 1,
186 'AM_INIT_AUTOMAKE' => 1,
187 'AC_DISABLE_STATIC' => 1,
188 'LT_PATH_NM' => 1,
189 'AM_MAINTAINER_MODE' => 1,
190 'AC_LTDL_SHLIBEXT' => 1,
191 '_LT_AC_LOCK' => 1,
192 '_LT_AC_LANG_RC_CONFIG' => 1,
193 'LT_SYS_MODULE_PATH' => 1,
194 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
195 'LT_WITH_LTDL' => 1,
196 'AC_LTDL_SHLIBPATH' => 1,
197 'AM_AUX_DIR_EXPAND' => 1,
198 'MLX_PROG_SWIG' => 1,
199 '_LT_AC_LANG_F77_CONFIG' => 1,
200 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
201 '_AM_SET_OPTIONS' => 1,
202 '_LT_COMPILER_OPTION' => 1,
203 '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
204 'AM_RUN_LOG' => 1,
205 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
206 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
207 'AC_LIBTOOL_PICMODE' => 1,
208 'AM_PROG_LEX' => 1,
209 'LT_PATH_LD' => 1,
210 'AC_CHECK_LIBM' => 1,
211 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
212 '_AM_MANGLE_OPTION' => 1,
213 'AC_LTDL_SYMBOL_USCORE' => 1,
214 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
215 'AM_SET_DEPDIR' => 1,
216 '_LT_CC_BASENAME' => 1,
217 '_LT_LIBOBJ' => 1
218 }
219 ], 'Autom4te::Request' ),
220 bless( [
221 '1',
222 1,
223 [
224 '/usr/share/autoconf'
225 ],
226 [
227 '/usr/share/autoconf/autoconf/autoconf.m4f',
228 'aclocal.m4',
229 'configure.in'
230 ],
231 {
232 '_LT_AC_TAGCONFIG' => 1,
233 'AM_PROG_F77_C_O' => 1,
234 'AC_INIT' => 1,
235 'm4_pattern_forbid' => 1,
236 '_AM_COND_IF' => 1,
237 'AC_CANONICAL_TARGET' => 1,
238 'AC_SUBST' => 1,
239 'AC_CONFIG_LIBOBJ_DIR' => 1,
240 'AC_FC_SRCEXT' => 1,
241 'AC_CANONICAL_HOST' => 1,
242 'AC_PROG_LIBTOOL' => 1,
243 'AM_INIT_AUTOMAKE' => 1,
244 'AM_PATH_GUILE' => 1,
245 'AC_CONFIG_SUBDIRS' => 1,
246 'AM_AUTOMAKE_VERSION' => 1,
247 'LT_CONFIG_LTDL_DIR' => 1,
248 'AC_REQUIRE_AUX_FILE' => 1,
249 'AC_CONFIG_LINKS' => 1,
250 'm4_sinclude' => 1,
251 'LT_SUPPORTED_TAG' => 1,
252 'AM_MAINTAINER_MODE' => 1,
253 'AM_NLS' => 1,
254 'AC_FC_PP_DEFINE' => 1,
255 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
256 'AM_MAKEFILE_INCLUDE' => 1,
257 '_m4_warn' => 1,
258 'AM_PROG_CXX_C_O' => 1,
259 '_AM_COND_ENDIF' => 1,
260 '_AM_MAKEFILE_INCLUDE' => 1,
261 'AM_ENABLE_MULTILIB' => 1,
262 'AM_SILENT_RULES' => 1,
263 'AM_PROG_MOC' => 1,
264 'AC_CONFIG_FILES' => 1,
265 'include' => 1,
266 'LT_INIT' => 1,
267 'AM_PROG_AR' => 1,
268 'AM_GNU_GETTEXT' => 1,
269 'AC_LIBSOURCE' => 1,
270 'AM_PROG_FC_C_O' => 1,
271 'AC_CANONICAL_BUILD' => 1,
272 'AC_FC_FREEFORM' => 1,
273 'AH_OUTPUT' => 1,
274 'AC_FC_PP_SRCEXT' => 1,
275 '_AM_SUBST_NOTMAKE' => 1,
276 'AC_CONFIG_AUX_DIR' => 1,
277 'sinclude' => 1,
278 'AM_PROG_CC_C_O' => 1,
279 'm4_pattern_allow' => 1,
280 'AM_XGETTEXT_OPTION' => 1,
281 'AC_CANONICAL_SYSTEM' => 1,
282 'AM_CONDITIONAL' => 1,
283 'AC_CONFIG_HEADERS' => 1,
284 'AC_DEFINE_TRACE_LITERAL' => 1,
285 'AM_POT_TOOLS' => 1,
286 'm4_include' => 1,
287 '_AM_COND_ELSE' => 1,
288 'AC_SUBST_TRACE' => 1
289 }
290 ], 'Autom4te::Request' )
291 );
292
+0
-2768
ibdm/autom4te.cache/traces.0 less more
0 m4trace:/usr/share/aclocal/argz.m4:12: -1- AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ
1
2 AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
3
4 AC_CHECK_TYPES([error_t],
5 [],
6 [AC_DEFINE([error_t], [int],
7 [Define to a type to use for `error_t' if it is not otherwise available.])
8 AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
9 does not typedef error_t.])],
10 [#if defined(HAVE_ARGZ_H)
11 # include <argz.h>
12 #endif])
13
14 ARGZ_H=
15 AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
16 argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
17
18 dnl if have system argz functions, allow forced use of
19 dnl libltdl-supplied implementation (and default to do so
20 dnl on "known bad" systems). Could use a runtime check, but
21 dnl (a) detecting malloc issues is notoriously unreliable
22 dnl (b) only known system that declares argz functions,
23 dnl provides them, yet they are broken, is cygwin
24 dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
25 dnl So, it's more straightforward simply to special case
26 dnl this for known bad systems.
27 AS_IF([test -z "$ARGZ_H"],
28 [AC_CACHE_CHECK(
29 [if argz actually works],
30 [lt_cv_sys_argz_works],
31 [[case $host_os in #(
32 *cygwin*)
33 lt_cv_sys_argz_works=no
34 if test "$cross_compiling" != no; then
35 lt_cv_sys_argz_works="guessing no"
36 else
37 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
38 save_IFS=$IFS
39 IFS=-.
40 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
41 IFS=$save_IFS
42 lt_os_major=${2-0}
43 lt_os_minor=${3-0}
44 lt_os_micro=${4-0}
45 if test "$lt_os_major" -gt 1 \
46 || { test "$lt_os_major" -eq 1 \
47 && { test "$lt_os_minor" -gt 5 \
48 || { test "$lt_os_minor" -eq 5 \
49 && test "$lt_os_micro" -gt 24; }; }; }; then
50 lt_cv_sys_argz_works=yes
51 fi
52 fi
53 ;; #(
54 *) lt_cv_sys_argz_works=yes ;;
55 esac]])
56 AS_IF([test $lt_cv_sys_argz_works = yes],
57 [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
58 [This value is set to 1 to indicate that the system argz facility works])],
59 [ARGZ_H=argz.h
60 AC_LIBOBJ([argz])])])
61
62 AC_SUBST([ARGZ_H])
63 ])
64 m4trace:/usr/share/aclocal/argz.m4:79: -1- AC_DEFUN([gl_PREREQ_ARGZ], [:])
65 m4trace:/usr/share/aclocal/libtool.m4:67: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
66 AC_BEFORE([$0], [LT_LANG])dnl
67 AC_BEFORE([$0], [LT_OUTPUT])dnl
68 AC_BEFORE([$0], [LTDL_INIT])dnl
69 m4_require([_LT_CHECK_BUILDDIR])dnl
70
71 dnl Autoconf doesn't catch unexpanded LT_ macros by default:
72 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
73 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
74 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
75 dnl unless we require an AC_DEFUNed macro:
76 AC_REQUIRE([LTOPTIONS_VERSION])dnl
77 AC_REQUIRE([LTSUGAR_VERSION])dnl
78 AC_REQUIRE([LTVERSION_VERSION])dnl
79 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
80 m4_require([_LT_PROG_LTMAIN])dnl
81
82 dnl Parse OPTIONS
83 _LT_SET_OPTIONS([$0], [$1])
84
85 # This can be used to rebuild libtool when needed
86 LIBTOOL_DEPS="$ltmain"
87
88 # Always use our own libtool.
89 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
90 AC_SUBST(LIBTOOL)dnl
91
92 _LT_SETUP
93
94 # Only expand once:
95 m4_define([LT_INIT])
96 ])
97 m4trace:/usr/share/aclocal/libtool.m4:102: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
98 m4trace:/usr/share/aclocal/libtool.m4:102: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
99 You should run autoupdate.])dnl
100 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
101 m4trace:/usr/share/aclocal/libtool.m4:103: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
102 m4trace:/usr/share/aclocal/libtool.m4:103: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
103 You should run autoupdate.])dnl
104 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
105 m4trace:/usr/share/aclocal/libtool.m4:562: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
106 AC_MSG_NOTICE([creating $CONFIG_LT])
107 cat >"$CONFIG_LT" <<_LTEOF
108 #! $SHELL
109 # Generated by $as_me.
110 # Run this file to recreate a libtool stub with the current configuration.
111
112 lt_cl_silent=false
113 SHELL=\${CONFIG_SHELL-$SHELL}
114 _LTEOF
115
116 cat >>"$CONFIG_LT" <<\_LTEOF
117 AS_SHELL_SANITIZE
118 _AS_PREPARE
119
120 exec AS_MESSAGE_FD>&1
121 exec AS_MESSAGE_LOG_FD>>config.log
122 {
123 echo
124 AS_BOX([Running $as_me.])
125 } >&AS_MESSAGE_LOG_FD
126
127 lt_cl_help="\
128 \`$as_me' creates a local libtool stub from the current configuration,
129 for use in further configure time tests before the real libtool is
130 generated.
131
132 Usage: $[0] [[OPTIONS]]
133
134 -h, --help print this help, then exit
135 -V, --version print version number, then exit
136 -q, --quiet do not print progress messages
137 -d, --debug don't remove temporary files
138
139 Report bugs to <bug-libtool@gnu.org>."
140
141 lt_cl_version="\
142 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
143 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
144 configured by $[0], generated by m4_PACKAGE_STRING.
145
146 Copyright (C) 2008 Free Software Foundation, Inc.
147 This config.lt script is free software; the Free Software Foundation
148 gives unlimited permision to copy, distribute and modify it."
149
150 while test $[#] != 0
151 do
152 case $[1] in
153 --version | --v* | -V )
154 echo "$lt_cl_version"; exit 0 ;;
155 --help | --h* | -h )
156 echo "$lt_cl_help"; exit 0 ;;
157 --debug | --d* | -d )
158 debug=: ;;
159 --quiet | --q* | --silent | --s* | -q )
160 lt_cl_silent=: ;;
161
162 -*) AC_MSG_ERROR([unrecognized option: $[1]
163 Try \`$[0] --help' for more information.]) ;;
164
165 *) AC_MSG_ERROR([unrecognized argument: $[1]
166 Try \`$[0] --help' for more information.]) ;;
167 esac
168 shift
169 done
170
171 if $lt_cl_silent; then
172 exec AS_MESSAGE_FD>/dev/null
173 fi
174 _LTEOF
175
176 cat >>"$CONFIG_LT" <<_LTEOF
177 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
178 _LTEOF
179
180 cat >>"$CONFIG_LT" <<\_LTEOF
181 AC_MSG_NOTICE([creating $ofile])
182 _LT_OUTPUT_LIBTOOL_COMMANDS
183 AS_EXIT(0)
184 _LTEOF
185 chmod +x "$CONFIG_LT"
186
187 # configure is writing to config.log, but config.lt does its own redirection,
188 # appending to config.log, which fails on DOS, as config.log is still kept
189 # open by configure. Here we exec the FD to /dev/null, effectively closing
190 # config.log, so it can be properly (re)opened and appended to by config.lt.
191 if test "$no_create" != yes; then
192 lt_cl_success=:
193 test "$silent" = yes &&
194 lt_config_lt_args="$lt_config_lt_args --quiet"
195 exec AS_MESSAGE_LOG_FD>/dev/null
196 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
197 exec AS_MESSAGE_LOG_FD>>config.log
198 $lt_cl_success || AS_EXIT(1)
199 fi
200 ])
201 m4trace:/usr/share/aclocal/libtool.m4:757: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
202 m4trace:/usr/share/aclocal/libtool.m4:768: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
203 m4_case([$1],
204 [C], [_LT_LANG(C)],
205 [C++], [_LT_LANG(CXX)],
206 [Java], [_LT_LANG(GCJ)],
207 [Fortran 77], [_LT_LANG(F77)],
208 [Fortran], [_LT_LANG(FC)],
209 [Windows Resource], [_LT_LANG(RC)],
210 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
211 [_LT_LANG($1)],
212 [m4_fatal([$0: unsupported language: "$1"])])])dnl
213 ])
214 m4trace:/usr/share/aclocal/libtool.m4:830: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
215 m4trace:/usr/share/aclocal/libtool.m4:830: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
216 You should run autoupdate.])dnl
217 LT_LANG(C++)])
218 m4trace:/usr/share/aclocal/libtool.m4:831: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
219 m4trace:/usr/share/aclocal/libtool.m4:831: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
220 You should run autoupdate.])dnl
221 LT_LANG(Fortran 77)])
222 m4trace:/usr/share/aclocal/libtool.m4:832: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
223 m4trace:/usr/share/aclocal/libtool.m4:832: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
224 You should run autoupdate.])dnl
225 LT_LANG(Fortran)])
226 m4trace:/usr/share/aclocal/libtool.m4:833: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
227 m4trace:/usr/share/aclocal/libtool.m4:833: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
228 You should run autoupdate.])dnl
229 LT_LANG(Java)])
230 m4trace:/usr/share/aclocal/libtool.m4:1402: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
231 m4_require([_LT_DECL_SED])dnl
232 AC_CACHE_CHECK([$1], [$2],
233 [$2=no
234 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
235 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
236 lt_compiler_flag="$3"
237 # Insert the option either (1) after the last *FLAGS variable, or
238 # (2) before a word containing "conftest.", or (3) at the end.
239 # Note that $ac_compile itself does not contain backslashes and begins
240 # with a dollar sign (not a hyphen), so the echo should work correctly.
241 # The option is referenced via a variable to avoid confusing sed.
242 lt_compile=`echo "$ac_compile" | $SED \
243 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
244 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
245 -e 's:$: $lt_compiler_flag:'`
246 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
247 (eval "$lt_compile" 2>conftest.err)
248 ac_status=$?
249 cat conftest.err >&AS_MESSAGE_LOG_FD
250 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
251 if (exit $ac_status) && test -s "$ac_outfile"; then
252 # The compiler can only warn and ignore the option if not recognized
253 # So say no if there are warnings other than the usual output.
254 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
255 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
256 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
257 $2=yes
258 fi
259 fi
260 $RM conftest*
261 ])
262
263 if test x"[$]$2" = xyes; then
264 m4_if([$5], , :, [$5])
265 else
266 m4_if([$6], , :, [$6])
267 fi
268 ])
269 m4trace:/usr/share/aclocal/libtool.m4:1444: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
270 m4trace:/usr/share/aclocal/libtool.m4:1444: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
271 You should run autoupdate.])dnl
272 m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
273 m4trace:/usr/share/aclocal/libtool.m4:1453: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
274 m4_require([_LT_DECL_SED])dnl
275 AC_CACHE_CHECK([$1], [$2],
276 [$2=no
277 save_LDFLAGS="$LDFLAGS"
278 LDFLAGS="$LDFLAGS $3"
279 echo "$lt_simple_link_test_code" > conftest.$ac_ext
280 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
281 # The linker can only warn and ignore the option if not recognized
282 # So say no if there are warnings
283 if test -s conftest.err; then
284 # Append any errors to the config.log.
285 cat conftest.err 1>&AS_MESSAGE_LOG_FD
286 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
287 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
288 if diff conftest.exp conftest.er2 >/dev/null; then
289 $2=yes
290 fi
291 else
292 $2=yes
293 fi
294 fi
295 $RM -r conftest*
296 LDFLAGS="$save_LDFLAGS"
297 ])
298
299 if test x"[$]$2" = xyes; then
300 m4_if([$4], , :, [$4])
301 else
302 m4_if([$5], , :, [$5])
303 fi
304 ])
305 m4trace:/usr/share/aclocal/libtool.m4:1488: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
306 m4trace:/usr/share/aclocal/libtool.m4:1488: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
307 You should run autoupdate.])dnl
308 m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
309 m4trace:/usr/share/aclocal/libtool.m4:1495: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
310 # find the maximum length of command line arguments
311 AC_MSG_CHECKING([the maximum length of command line arguments])
312 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
313 i=0
314 teststring="ABCD"
315
316 case $build_os in
317 msdosdjgpp*)
318 # On DJGPP, this test can blow up pretty badly due to problems in libc
319 # (any single argument exceeding 2000 bytes causes a buffer overrun
320 # during glob expansion). Even if it were fixed, the result of this
321 # check would be larger than it should be.
322 lt_cv_sys_max_cmd_len=12288; # 12K is about right
323 ;;
324
325 gnu*)
326 # Under GNU Hurd, this test is not required because there is
327 # no limit to the length of command line arguments.
328 # Libtool will interpret -1 as no limit whatsoever
329 lt_cv_sys_max_cmd_len=-1;
330 ;;
331
332 cygwin* | mingw* | cegcc*)
333 # On Win9x/ME, this test blows up -- it succeeds, but takes
334 # about 5 minutes as the teststring grows exponentially.
335 # Worse, since 9x/ME are not pre-emptively multitasking,
336 # you end up with a "frozen" computer, even though with patience
337 # the test eventually succeeds (with a max line length of 256k).
338 # Instead, let's just punt: use the minimum linelength reported by
339 # all of the supported platforms: 8192 (on NT/2K/XP).
340 lt_cv_sys_max_cmd_len=8192;
341 ;;
342
343 amigaos*)
344 # On AmigaOS with pdksh, this test takes hours, literally.
345 # So we just punt and use a minimum line length of 8192.
346 lt_cv_sys_max_cmd_len=8192;
347 ;;
348
349 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
350 # This has been around since 386BSD, at least. Likely further.
351 if test -x /sbin/sysctl; then
352 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
353 elif test -x /usr/sbin/sysctl; then
354 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
355 else
356 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
357 fi
358 # And add a safety zone
359 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
360 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
361 ;;
362
363 interix*)
364 # We know the value 262144 and hardcode it with a safety zone (like BSD)
365 lt_cv_sys_max_cmd_len=196608
366 ;;
367
368 osf*)
369 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
370 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
371 # nice to cause kernel panics so lets avoid the loop below.
372 # First set a reasonable default.
373 lt_cv_sys_max_cmd_len=16384
374 #
375 if test -x /sbin/sysconfig; then
376 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
377 *1*) lt_cv_sys_max_cmd_len=-1 ;;
378 esac
379 fi
380 ;;
381 sco3.2v5*)
382 lt_cv_sys_max_cmd_len=102400
383 ;;
384 sysv5* | sco5v6* | sysv4.2uw2*)
385 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
386 if test -n "$kargmax"; then
387 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
388 else
389 lt_cv_sys_max_cmd_len=32768
390 fi
391 ;;
392 *)
393 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
394 if test -n "$lt_cv_sys_max_cmd_len"; then
395 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
396 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
397 else
398 # Make teststring a little bigger before we do anything with it.
399 # a 1K string should be a reasonable start.
400 for i in 1 2 3 4 5 6 7 8 ; do
401 teststring=$teststring$teststring
402 done
403 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
404 # If test is not a shell built-in, we'll probably end up computing a
405 # maximum length that is only half of the actual maximum length, but
406 # we can't tell.
407 while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
408 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
409 test $i != 17 # 1/2 MB should be enough
410 do
411 i=`expr $i + 1`
412 teststring=$teststring$teststring
413 done
414 # Only check the string length outside the loop.
415 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
416 teststring=
417 # Add a significant safety factor because C++ compilers can tack on
418 # massive amounts of additional arguments before passing them to the
419 # linker. It appears as though 1/2 is a usable value.
420 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
421 fi
422 ;;
423 esac
424 ])
425 if test -n $lt_cv_sys_max_cmd_len ; then
426 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
427 else
428 AC_MSG_RESULT(none)
429 fi
430 max_cmd_len=$lt_cv_sys_max_cmd_len
431 _LT_DECL([], [max_cmd_len], [0],
432 [What is the maximum length of a command?])
433 ])
434 m4trace:/usr/share/aclocal/libtool.m4:1623: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
435 m4trace:/usr/share/aclocal/libtool.m4:1623: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
436 You should run autoupdate.])dnl
437 m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
438 m4trace:/usr/share/aclocal/libtool.m4:1724: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
439 if test "x$enable_dlopen" != xyes; then
440 enable_dlopen=unknown
441 enable_dlopen_self=unknown
442 enable_dlopen_self_static=unknown
443 else
444 lt_cv_dlopen=no
445 lt_cv_dlopen_libs=
446
447 case $host_os in
448 beos*)
449 lt_cv_dlopen="load_add_on"
450 lt_cv_dlopen_libs=
451 lt_cv_dlopen_self=yes
452 ;;
453
454 mingw* | pw32* | cegcc*)
455 lt_cv_dlopen="LoadLibrary"
456 lt_cv_dlopen_libs=
457 ;;
458
459 cygwin*)
460 lt_cv_dlopen="dlopen"
461 lt_cv_dlopen_libs=
462 ;;
463
464 darwin*)
465 # if libdl is installed we need to link against it
466 AC_CHECK_LIB([dl], [dlopen],
467 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
468 lt_cv_dlopen="dyld"
469 lt_cv_dlopen_libs=
470 lt_cv_dlopen_self=yes
471 ])
472 ;;
473
474 *)
475 AC_CHECK_FUNC([shl_load],
476 [lt_cv_dlopen="shl_load"],
477 [AC_CHECK_LIB([dld], [shl_load],
478 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
479 [AC_CHECK_FUNC([dlopen],
480 [lt_cv_dlopen="dlopen"],
481 [AC_CHECK_LIB([dl], [dlopen],
482 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
483 [AC_CHECK_LIB([svld], [dlopen],
484 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
485 [AC_CHECK_LIB([dld], [dld_link],
486 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
487 ])
488 ])
489 ])
490 ])
491 ])
492 ;;
493 esac
494
495 if test "x$lt_cv_dlopen" != xno; then
496 enable_dlopen=yes
497 else
498 enable_dlopen=no
499 fi
500
501 case $lt_cv_dlopen in
502 dlopen)
503 save_CPPFLAGS="$CPPFLAGS"
504 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
505
506 save_LDFLAGS="$LDFLAGS"
507 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
508
509 save_LIBS="$LIBS"
510 LIBS="$lt_cv_dlopen_libs $LIBS"
511
512 AC_CACHE_CHECK([whether a program can dlopen itself],
513 lt_cv_dlopen_self, [dnl
514 _LT_TRY_DLOPEN_SELF(
515 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
516 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
517 ])
518
519 if test "x$lt_cv_dlopen_self" = xyes; then
520 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
521 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
522 lt_cv_dlopen_self_static, [dnl
523 _LT_TRY_DLOPEN_SELF(
524 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
525 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
526 ])
527 fi
528
529 CPPFLAGS="$save_CPPFLAGS"
530 LDFLAGS="$save_LDFLAGS"
531 LIBS="$save_LIBS"
532 ;;
533 esac
534
535 case $lt_cv_dlopen_self in
536 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
537 *) enable_dlopen_self=unknown ;;
538 esac
539
540 case $lt_cv_dlopen_self_static in
541 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
542 *) enable_dlopen_self_static=unknown ;;
543 esac
544 fi
545 _LT_DECL([dlopen_support], [enable_dlopen], [0],
546 [Whether dlopen is supported])
547 _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
548 [Whether dlopen of programs is supported])
549 _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
550 [Whether dlopen of statically linked programs is supported])
551 ])
552 m4trace:/usr/share/aclocal/libtool.m4:1841: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
553 m4trace:/usr/share/aclocal/libtool.m4:1841: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
554 You should run autoupdate.])dnl
555 m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
556 m4trace:/usr/share/aclocal/libtool.m4:2732: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
557 AC_MSG_CHECKING([for $1])
558 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
559 [case $MAGIC_CMD in
560 [[\\/*] | ?:[\\/]*])
561 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
562 ;;
563 *)
564 lt_save_MAGIC_CMD="$MAGIC_CMD"
565 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
566 dnl $ac_dummy forces splitting on constant user-supplied paths.
567 dnl POSIX.2 word splitting is done only on the output of word expansions,
568 dnl not every word. This closes a longstanding sh security hole.
569 ac_dummy="m4_if([$2], , $PATH, [$2])"
570 for ac_dir in $ac_dummy; do
571 IFS="$lt_save_ifs"
572 test -z "$ac_dir" && ac_dir=.
573 if test -f $ac_dir/$1; then
574 lt_cv_path_MAGIC_CMD="$ac_dir/$1"
575 if test -n "$file_magic_test_file"; then
576 case $deplibs_check_method in
577 "file_magic "*)
578 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
579 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
580 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
581 $EGREP "$file_magic_regex" > /dev/null; then
582 :
583 else
584 cat <<_LT_EOF 1>&2
585
586 *** Warning: the command libtool uses to detect shared libraries,
587 *** $file_magic_cmd, produces output that libtool cannot recognize.
588 *** The result is that libtool may fail to recognize shared libraries
589 *** as such. This will affect the creation of libtool libraries that
590 *** depend on shared libraries, but programs linked with such libtool
591 *** libraries will work regardless of this problem. Nevertheless, you
592 *** may want to report the problem to your system manager and/or to
593 *** bug-libtool@gnu.org
594
595 _LT_EOF
596 fi ;;
597 esac
598 fi
599 break
600 fi
601 done
602 IFS="$lt_save_ifs"
603 MAGIC_CMD="$lt_save_MAGIC_CMD"
604 ;;
605 esac])
606 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
607 if test -n "$MAGIC_CMD"; then
608 AC_MSG_RESULT($MAGIC_CMD)
609 else
610 AC_MSG_RESULT(no)
611 fi
612 _LT_DECL([], [MAGIC_CMD], [0],
613 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
614 ])
615 m4trace:/usr/share/aclocal/libtool.m4:2794: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
616 m4trace:/usr/share/aclocal/libtool.m4:2794: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
617 You should run autoupdate.])dnl
618 m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
619 m4trace:/usr/share/aclocal/libtool.m4:2817: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
620 AC_REQUIRE([AC_CANONICAL_HOST])dnl
621 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
622 m4_require([_LT_DECL_SED])dnl
623 m4_require([_LT_DECL_EGREP])dnl
624
625 AC_ARG_WITH([gnu-ld],
626 [AS_HELP_STRING([--with-gnu-ld],
627 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
628 [test "$withval" = no || with_gnu_ld=yes],
629 [with_gnu_ld=no])dnl
630
631 ac_prog=ld
632 if test "$GCC" = yes; then
633 # Check if gcc -print-prog-name=ld gives a path.
634 AC_MSG_CHECKING([for ld used by $CC])
635 case $host in
636 *-*-mingw*)
637 # gcc leaves a trailing carriage return which upsets mingw
638 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
639 *)
640 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
641 esac
642 case $ac_prog in
643 # Accept absolute paths.
644 [[\\/]]* | ?:[[\\/]]*)
645 re_direlt='/[[^/]][[^/]]*/\.\./'
646 # Canonicalize the pathname of ld
647 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
648 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
649 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
650 done
651 test -z "$LD" && LD="$ac_prog"
652 ;;
653 "")
654 # If it fails, then pretend we aren't using GCC.
655 ac_prog=ld
656 ;;
657 *)
658 # If it is relative, then search for the first ld in PATH.
659 with_gnu_ld=unknown
660 ;;
661 esac
662 elif test "$with_gnu_ld" = yes; then
663 AC_MSG_CHECKING([for GNU ld])
664 else
665 AC_MSG_CHECKING([for non-GNU ld])
666 fi
667 AC_CACHE_VAL(lt_cv_path_LD,
668 [if test -z "$LD"; then
669 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
670 for ac_dir in $PATH; do
671 IFS="$lt_save_ifs"
672 test -z "$ac_dir" && ac_dir=.
673 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
674 lt_cv_path_LD="$ac_dir/$ac_prog"
675 # Check to see if the program is GNU ld. I'd rather use --version,
676 # but apparently some variants of GNU ld only accept -v.
677 # Break only if it was the GNU/non-GNU ld that we prefer.
678 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
679 *GNU* | *'with BFD'*)
680 test "$with_gnu_ld" != no && break
681 ;;
682 *)
683 test "$with_gnu_ld" != yes && break
684 ;;
685 esac
686 fi
687 done
688 IFS="$lt_save_ifs"
689 else
690 lt_cv_path_LD="$LD" # Let the user override the test with a path.
691 fi])
692 LD="$lt_cv_path_LD"
693 if test -n "$LD"; then
694 AC_MSG_RESULT($LD)
695 else
696 AC_MSG_RESULT(no)
697 fi
698 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
699 _LT_PATH_LD_GNU
700 AC_SUBST([LD])
701
702 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
703 ])
704 m4trace:/usr/share/aclocal/libtool.m4:2905: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
705 m4trace:/usr/share/aclocal/libtool.m4:2905: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
706 You should run autoupdate.])dnl
707 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
708 m4trace:/usr/share/aclocal/libtool.m4:2906: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
709 m4trace:/usr/share/aclocal/libtool.m4:2906: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
710 You should run autoupdate.])dnl
711 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
712 m4trace:/usr/share/aclocal/libtool.m4:3170: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
713 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
714 [if test -n "$NM"; then
715 # Let the user override the test.
716 lt_cv_path_NM="$NM"
717 else
718 lt_nm_to_check="${ac_tool_prefix}nm"
719 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
720 lt_nm_to_check="$lt_nm_to_check nm"
721 fi
722 for lt_tmp_nm in $lt_nm_to_check; do
723 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
724 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
725 IFS="$lt_save_ifs"
726 test -z "$ac_dir" && ac_dir=.
727 tmp_nm="$ac_dir/$lt_tmp_nm"
728 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
729 # Check to see if the nm accepts a BSD-compat flag.
730 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
731 # nm: unknown option "B" ignored
732 # Tru64's nm complains that /dev/null is an invalid object file
733 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
734 */dev/null* | *'Invalid file or object type'*)
735 lt_cv_path_NM="$tmp_nm -B"
736 break
737 ;;
738 *)
739 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
740 */dev/null*)
741 lt_cv_path_NM="$tmp_nm -p"
742 break
743 ;;
744 *)
745 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
746 continue # so that we can try to find one that supports BSD flags
747 ;;
748 esac
749 ;;
750 esac
751 fi
752 done
753 IFS="$lt_save_ifs"
754 done
755 : ${lt_cv_path_NM=no}
756 fi])
757 if test "$lt_cv_path_NM" != "no"; then
758 NM="$lt_cv_path_NM"
759 else
760 # Didn't find any BSD compatible name lister, look for dumpbin.
761 AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
762 AC_SUBST([DUMPBIN])
763 if test "$DUMPBIN" != ":"; then
764 NM="$DUMPBIN"
765 fi
766 fi
767 test -z "$NM" && NM=nm
768 AC_SUBST([NM])
769 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
770
771 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
772 [lt_cv_nm_interface="BSD nm"
773 echo "int some_variable = 0;" > conftest.$ac_ext
774 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
775 (eval "$ac_compile" 2>conftest.err)
776 cat conftest.err >&AS_MESSAGE_LOG_FD
777 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
778 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
779 cat conftest.err >&AS_MESSAGE_LOG_FD
780 (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
781 cat conftest.out >&AS_MESSAGE_LOG_FD
782 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
783 lt_cv_nm_interface="MS dumpbin"
784 fi
785 rm -f conftest*])
786 ])
787 m4trace:/usr/share/aclocal/libtool.m4:3248: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
788 m4trace:/usr/share/aclocal/libtool.m4:3248: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
789 You should run autoupdate.])dnl
790 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
791 m4trace:/usr/share/aclocal/libtool.m4:3249: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
792 m4trace:/usr/share/aclocal/libtool.m4:3249: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
793 You should run autoupdate.])dnl
794 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
795 m4trace:/usr/share/aclocal/libtool.m4:3258: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
796 LIBM=
797 case $host in
798 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
799 # These system don't have libm, or don't need it
800 ;;
801 *-ncr-sysv4.3*)
802 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
803 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
804 ;;
805 *)
806 AC_CHECK_LIB(m, cos, LIBM="-lm")
807 ;;
808 esac
809 AC_SUBST([LIBM])
810 ])
811 m4trace:/usr/share/aclocal/libtool.m4:3277: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
812 m4trace:/usr/share/aclocal/libtool.m4:3277: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
813 You should run autoupdate.])dnl
814 m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
815 m4trace:/usr/share/aclocal/libtool.m4:6970: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
816 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
817 [AC_CHECK_TOOL(GCJ, gcj,)
818 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
819 AC_SUBST(GCJFLAGS)])])[]dnl
820 ])
821 m4trace:/usr/share/aclocal/libtool.m4:6979: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
822 m4trace:/usr/share/aclocal/libtool.m4:6979: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
823 You should run autoupdate.])dnl
824 m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
825 m4trace:/usr/share/aclocal/libtool.m4:6986: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
826 ])
827 m4trace:/usr/share/aclocal/libtool.m4:6991: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
828 m4trace:/usr/share/aclocal/libtool.m4:6991: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
829 You should run autoupdate.])dnl
830 m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
831 m4trace:/usr/share/aclocal/libtool.m4:7102: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
832 m4trace:/usr/share/aclocal/libtool.m4:7102: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
833 You should run autoupdate.])dnl
834 m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
835 m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
836 _$0($*)
837 ])
838 m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
839 dnl Although the argument is deprecated and no longer documented,
840 dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
841 dnl here make sure it is the same as any other declaration of libltdl's
842 dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
843 dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
844 m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
845 _$0()
846 ])
847 m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
848 _LTDL_CONVENIENCE])
849 m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
850 You should run autoupdate.])dnl
851 _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
852 _LTDL_CONVENIENCE])
853 m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
854 dnl Although the argument is deprecated and no longer documented,
855 dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
856 dnl here make sure it is the same as any other declaration of libltdl's
857 dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
858 dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
859 m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
860 _$0()
861 ])
862 m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
863 _LTDL_INSTALLABLE])
864 m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
865 You should run autoupdate.])dnl
866 _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
867 _LTDL_INSTALLABLE])
868 m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
869 m4_pattern_allow([^_LT_LIBOBJS$])
870 _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
871 ])
872 m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
873 _LT_SET_OPTIONS([$0], [$1])
874
875 dnl We need to keep our own list of libobjs separate from our parent project,
876 dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
877 dnl we look for our own LIBOBJs.
878 m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
879 m4_pushdef([AC_LIBSOURCES])
880
881 dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
882 m4_if(_LTDL_MODE, [],
883 [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
884 m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
885 [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
886
887 AC_ARG_WITH([included_ltdl],
888 [AS_HELP_STRING([--with-included-ltdl],
889 [use the GNU ltdl sources included here])])
890
891 if test "x$with_included_ltdl" != xyes; then
892 # We are not being forced to use the included libltdl sources, so
893 # decide whether there is a useful installed version we can use.
894 AC_CHECK_HEADER([ltdl.h],
895 [AC_CHECK_DECL([lt_dlinterface_register],
896 [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
897 [with_included_ltdl=no],
898 [with_included_ltdl=yes])],
899 [with_included_ltdl=yes],
900 [AC_INCLUDES_DEFAULT
901 #include <ltdl.h>])],
902 [with_included_ltdl=yes],
903 [AC_INCLUDES_DEFAULT]
904 )
905 fi
906
907 dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
908 dnl was called yet, then for old times' sake, we assume libltdl is in an
909 dnl eponymous directory:
910 AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
911
912 AC_ARG_WITH([ltdl_include],
913 [AS_HELP_STRING([--with-ltdl-include=DIR],
914 [use the ltdl headers installed in DIR])])
915
916 if test -n "$with_ltdl_include"; then
917 if test -f "$with_ltdl_include/ltdl.h"; then :
918 else
919 AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
920 fi
921 else
922 with_ltdl_include=no
923 fi
924
925 AC_ARG_WITH([ltdl_lib],
926 [AS_HELP_STRING([--with-ltdl-lib=DIR],
927 [use the libltdl.la installed in DIR])])
928
929 if test -n "$with_ltdl_lib"; then
930 if test -f "$with_ltdl_lib/libltdl.la"; then :
931 else
932 AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
933 fi
934 else
935 with_ltdl_lib=no
936 fi
937
938 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
939 ,yes,no,no,)
940 m4_case(m4_default(_LTDL_TYPE, [convenience]),
941 [convenience], [_LTDL_CONVENIENCE],
942 [installable], [_LTDL_INSTALLABLE],
943 [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
944 ;;
945 ,no,no,no,)
946 # If the included ltdl is not to be used, then use the
947 # preinstalled libltdl we found.
948 AC_DEFINE([HAVE_LTDL], [1],
949 [Define this if a modern libltdl is already installed])
950 LIBLTDL=-lltdl
951 LTDLDEPS=
952 LTDLINCL=
953 ;;
954 ,no*,no,*)
955 AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
956 ;;
957 *) with_included_ltdl=no
958 LIBLTDL="-L$with_ltdl_lib -lltdl"
959 LTDLDEPS=
960 LTDLINCL="-I$with_ltdl_include"
961 ;;
962 esac
963 INCLTDL="$LTDLINCL"
964
965 # Report our decision...
966 AC_MSG_CHECKING([where to find libltdl headers])
967 AC_MSG_RESULT([$LTDLINCL])
968 AC_MSG_CHECKING([where to find libltdl library])
969 AC_MSG_RESULT([$LIBLTDL])
970
971 _LTDL_SETUP
972
973 dnl restore autoconf definition.
974 m4_popdef([AC_LIBOBJ])
975 m4_popdef([AC_LIBSOURCES])
976
977 AC_CONFIG_COMMANDS_PRE([
978 _ltdl_libobjs=
979 _ltdl_ltlibobjs=
980 if test -n "$_LT_LIBOBJS"; then
981 # Remove the extension.
982 _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
983 for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
984 _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
985 _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
986 done
987 fi
988 AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
989 AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
990 ])
991
992 # Only expand once:
993 m4_define([LTDL_INIT])
994 ])
995 m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
996 m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
997 You should run autoupdate.])dnl
998 LTDL_INIT($@)])
999 m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
1000 m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
1001 You should run autoupdate.])dnl
1002 LTDL_INIT($@)])
1003 m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
1004 m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
1005 You should run autoupdate.])dnl
1006 LTDL_INIT($@)])
1007 m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
1008 AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
1009 AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
1010 AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
1011 AC_REQUIRE([LT_LIB_DLLOAD])dnl
1012 AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1013 AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
1014 AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
1015 AC_REQUIRE([gl_FUNC_ARGZ])dnl
1016
1017 m4_require([_LT_CHECK_OBJDIR])dnl
1018 m4_require([_LT_HEADER_DLFCN])dnl
1019 m4_require([_LT_CHECK_DLPREOPEN])dnl
1020 m4_require([_LT_DECL_SED])dnl
1021
1022 dnl Don't require this, or it will be expanded earlier than the code
1023 dnl that sets the variables it relies on:
1024 _LT_ENABLE_INSTALL
1025
1026 dnl _LTDL_MODE specific code must be called at least once:
1027 _LTDL_MODE_DISPATCH
1028
1029 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
1030 # the user used. This is so that ltdl.h can pick up the parent projects
1031 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
1032 # definitions required by ltdl.c.
1033 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
1034 AC_CONFIG_COMMANDS_PRE([dnl
1035 m4_pattern_allow([^LT_CONFIG_H$])dnl
1036 m4_ifset([AH_HEADER],
1037 [LT_CONFIG_H=AH_HEADER],
1038 [m4_ifset([AC_LIST_HEADERS],
1039 [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
1040 [])])])
1041 AC_SUBST([LT_CONFIG_H])
1042
1043 AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
1044 [], [], [AC_INCLUDES_DEFAULT])
1045
1046 AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
1047 AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
1048
1049 AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
1050
1051 name=ltdl
1052 LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
1053 AC_SUBST([LTDLOPEN])
1054 ])
1055 m4trace:/usr/share/aclocal/ltdl.m4:437: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1056 AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
1057 [lt_cv_sys_dlopen_deplibs],
1058 [# PORTME does your system automatically load deplibs for dlopen?
1059 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
1060 # For now, we just catch OSes we know something about -- in the
1061 # future, we'll try test this programmatically.
1062 lt_cv_sys_dlopen_deplibs=unknown
1063 case $host_os in
1064 aix3*|aix4.1.*|aix4.2.*)
1065 # Unknown whether this is true for these versions of AIX, but
1066 # we want this `case' here to explicitly catch those versions.
1067 lt_cv_sys_dlopen_deplibs=unknown
1068 ;;
1069 aix[[4-9]]*)
1070 lt_cv_sys_dlopen_deplibs=yes
1071 ;;
1072 amigaos*)
1073 case $host_cpu in
1074 powerpc)
1075 lt_cv_sys_dlopen_deplibs=no
1076 ;;
1077 esac
1078 ;;
1079 darwin*)
1080 # Assuming the user has installed a libdl from somewhere, this is true
1081 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
1082 lt_cv_sys_dlopen_deplibs=yes
1083 ;;
1084 freebsd* | dragonfly*)
1085 lt_cv_sys_dlopen_deplibs=yes
1086 ;;
1087 gnu* | linux* | k*bsd*-gnu)
1088 # GNU and its variants, using gnu ld.so (Glibc)
1089 lt_cv_sys_dlopen_deplibs=yes
1090 ;;
1091 hpux10*|hpux11*)
1092 lt_cv_sys_dlopen_deplibs=yes
1093 ;;
1094 interix*)
1095 lt_cv_sys_dlopen_deplibs=yes
1096 ;;
1097 irix[[12345]]*|irix6.[[01]]*)
1098 # Catch all versions of IRIX before 6.2, and indicate that we don't
1099 # know how it worked for any of those versions.
1100 lt_cv_sys_dlopen_deplibs=unknown
1101 ;;
1102 irix*)
1103 # The case above catches anything before 6.2, and it's known that
1104 # at 6.2 and later dlopen does load deplibs.
1105 lt_cv_sys_dlopen_deplibs=yes
1106 ;;
1107 netbsd*)
1108 lt_cv_sys_dlopen_deplibs=yes
1109 ;;
1110 openbsd*)
1111 lt_cv_sys_dlopen_deplibs=yes
1112 ;;
1113 osf[[1234]]*)
1114 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
1115 # it did *not* use an RPATH in a shared library to find objects the
1116 # library depends on, so we explicitly say `no'.
1117 lt_cv_sys_dlopen_deplibs=no
1118 ;;
1119 osf5.0|osf5.0a|osf5.1)
1120 # dlopen *does* load deplibs and with the right loader patch applied
1121 # it even uses RPATH in a shared library to search for shared objects
1122 # that the library depends on, but there's no easy way to know if that
1123 # patch is installed. Since this is the case, all we can really
1124 # say is unknown -- it depends on the patch being installed. If
1125 # it is, this changes to `yes'. Without it, it would be `no'.
1126 lt_cv_sys_dlopen_deplibs=unknown
1127 ;;
1128 osf*)
1129 # the two cases above should catch all versions of osf <= 5.1. Read
1130 # the comments above for what we know about them.
1131 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
1132 # is used to find them so we can finally say `yes'.
1133 lt_cv_sys_dlopen_deplibs=yes
1134 ;;
1135 qnx*)
1136 lt_cv_sys_dlopen_deplibs=yes
1137 ;;
1138 solaris*)
1139 lt_cv_sys_dlopen_deplibs=yes
1140 ;;
1141 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1142 libltdl_cv_sys_dlopen_deplibs=yes
1143 ;;
1144 esac
1145 ])
1146 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
1147 AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
1148 [Define if the OS needs help to load dependent libraries for dlopen().])
1149 fi
1150 ])
1151 m4trace:/usr/share/aclocal/ltdl.m4:536: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1152 m4trace:/usr/share/aclocal/ltdl.m4:536: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
1153 You should run autoupdate.])dnl
1154 m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1155 m4trace:/usr/share/aclocal/ltdl.m4:543: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1156 AC_CACHE_CHECK([which extension is used for runtime loadable modules],
1157 [libltdl_cv_shlibext],
1158 [
1159 module=yes
1160 eval libltdl_cv_shlibext=$shrext_cmds
1161 ])
1162 if test -n "$libltdl_cv_shlibext"; then
1163 m4_pattern_allow([LT_MODULE_EXT])dnl
1164 AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
1165 [Define to the extension used for runtime loadable modules, say, ".so".])
1166 fi
1167 ])
1168 m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1169 m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
1170 You should run autoupdate.])dnl
1171 m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1172 m4trace:/usr/share/aclocal/ltdl.m4:566: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1173 AC_CACHE_CHECK([which variable specifies run-time module search path],
1174 [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
1175 if test -n "$lt_cv_module_path_var"; then
1176 m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
1177 AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
1178 [Define to the name of the environment variable that determines the run-time module search path.])
1179 fi
1180 ])
1181 m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1182 m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
1183 You should run autoupdate.])dnl
1184 m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1185 m4trace:/usr/share/aclocal/ltdl.m4:585: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1186 AC_CACHE_CHECK([for the default library search path],
1187 [lt_cv_sys_dlsearch_path],
1188 [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
1189 if test -n "$lt_cv_sys_dlsearch_path"; then
1190 sys_dlsearch_path=
1191 for dir in $lt_cv_sys_dlsearch_path; do
1192 if test -z "$sys_dlsearch_path"; then
1193 sys_dlsearch_path="$dir"
1194 else
1195 sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
1196 fi
1197 done
1198 m4_pattern_allow([LT_DLSEARCH_PATH])dnl
1199 AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
1200 [Define to the system default library search path.])
1201 fi
1202 ])
1203 m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1204 m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
1205 You should run autoupdate.])dnl
1206 m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1207 m4trace:/usr/share/aclocal/ltdl.m4:632: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
1208 LT_DLLOADERS=
1209 AC_SUBST([LT_DLLOADERS])
1210
1211 AC_LANG_PUSH([C])
1212
1213 LIBADD_DLOPEN=
1214 AC_SEARCH_LIBS([dlopen], [dl],
1215 [AC_DEFINE([HAVE_LIBDL], [1],
1216 [Define if you have the libdl library or equivalent.])
1217 if test "$ac_cv_search_dlopen" != "none required" ; then
1218 LIBADD_DLOPEN="-ldl"
1219 fi
1220 libltdl_cv_lib_dl_dlopen="yes"
1221 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1222 [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
1223 # include <dlfcn.h>
1224 #endif
1225 ]], [[dlopen(0, 0);]])],
1226 [AC_DEFINE([HAVE_LIBDL], [1],
1227 [Define if you have the libdl library or equivalent.])
1228 libltdl_cv_func_dlopen="yes"
1229 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1230 [AC_CHECK_LIB([svld], [dlopen],
1231 [AC_DEFINE([HAVE_LIBDL], [1],
1232 [Define if you have the libdl library or equivalent.])
1233 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
1234 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
1235 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
1236 then
1237 lt_save_LIBS="$LIBS"
1238 LIBS="$LIBS $LIBADD_DLOPEN"
1239 AC_CHECK_FUNCS([dlerror])
1240 LIBS="$lt_save_LIBS"
1241 fi
1242 AC_SUBST([LIBADD_DLOPEN])
1243
1244 LIBADD_SHL_LOAD=
1245 AC_CHECK_FUNC([shl_load],
1246 [AC_DEFINE([HAVE_SHL_LOAD], [1],
1247 [Define if you have the shl_load function.])
1248 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
1249 [AC_CHECK_LIB([dld], [shl_load],
1250 [AC_DEFINE([HAVE_SHL_LOAD], [1],
1251 [Define if you have the shl_load function.])
1252 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1253 LIBADD_SHL_LOAD="-ldld"])])
1254 AC_SUBST([LIBADD_SHL_LOAD])
1255
1256 case $host_os in
1257 darwin[[1567]].*)
1258 # We only want this for pre-Mac OS X 10.4.
1259 AC_CHECK_FUNC([_dyld_func_lookup],
1260 [AC_DEFINE([HAVE_DYLD], [1],
1261 [Define if you have the _dyld_func_lookup function.])
1262 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
1263 ;;
1264 beos*)
1265 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
1266 ;;
1267 cygwin* | mingw* | os2* | pw32*)
1268 AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
1269 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
1270 ;;
1271 esac
1272
1273 AC_CHECK_LIB([dld], [dld_link],
1274 [AC_DEFINE([HAVE_DLD], [1],
1275 [Define if you have the GNU dld library.])
1276 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
1277 AC_SUBST([LIBADD_DLD_LINK])
1278
1279 m4_pattern_allow([^LT_DLPREOPEN$])
1280 LT_DLPREOPEN=
1281 if test -n "$LT_DLLOADERS"
1282 then
1283 for lt_loader in $LT_DLLOADERS; do
1284 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
1285 done
1286 AC_DEFINE([HAVE_LIBDLLOADER], [1],
1287 [Define if libdlloader will be built on this platform])
1288 fi
1289 AC_SUBST([LT_DLPREOPEN])
1290
1291 dnl This isn't used anymore, but set it for backwards compatibility
1292 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
1293 AC_SUBST([LIBADD_DL])
1294
1295 AC_LANG_POP
1296 ])
1297 m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1298 m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
1299 You should run autoupdate.])dnl
1300 m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1301 m4trace:/usr/share/aclocal/ltdl.m4:733: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
1302 AC_CACHE_CHECK([for _ prefix in compiled symbols],
1303 [lt_cv_sys_symbol_underscore],
1304 [lt_cv_sys_symbol_underscore=no
1305 cat > conftest.$ac_ext <<_LT_EOF
1306 void nm_test_func(){}
1307 int main(){nm_test_func;return 0;}
1308 _LT_EOF
1309 if AC_TRY_EVAL(ac_compile); then
1310 # Now try to grab the symbols.
1311 ac_nlist=conftest.nm
1312 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
1313 # See whether the symbols have a leading underscore.
1314 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
1315 lt_cv_sys_symbol_underscore=yes
1316 else
1317 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
1318 :
1319 else
1320 echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
1321 fi
1322 fi
1323 else
1324 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
1325 fi
1326 else
1327 echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
1328 cat conftest.c >&AS_MESSAGE_LOG_FD
1329 fi
1330 rm -rf conftest*
1331 ])
1332 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1333 AC_SUBST([sys_symbol_underscore])
1334 ])
1335 m4trace:/usr/share/aclocal/ltdl.m4:770: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1336 m4trace:/usr/share/aclocal/ltdl.m4:770: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
1337 You should run autoupdate.])dnl
1338 m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1339 m4trace:/usr/share/aclocal/ltdl.m4:777: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1340 if test x"$lt_cv_sys_symbol_underscore" = xyes; then
1341 if test x"$libltdl_cv_func_dlopen" = xyes ||
1342 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1343 AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
1344 [libltdl_cv_need_uscore],
1345 [libltdl_cv_need_uscore=unknown
1346 save_LIBS="$LIBS"
1347 LIBS="$LIBS $LIBADD_DLOPEN"
1348 _LT_TRY_DLOPEN_SELF(
1349 [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
1350 [], [libltdl_cv_need_uscore=cross])
1351 LIBS="$save_LIBS"
1352 ])
1353 fi
1354 fi
1355
1356 if test x"$libltdl_cv_need_uscore" = xyes; then
1357 AC_DEFINE([NEED_USCORE], [1],
1358 [Define if dlsym() requires a leading underscore in symbol names.])
1359 fi
1360 ])
1361 m4trace:/usr/share/aclocal/ltdl.m4:802: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1362 m4trace:/usr/share/aclocal/ltdl.m4:802: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
1363 You should run autoupdate.])dnl
1364 m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1365 m4trace:/usr/share/aclocal/ltoptions.m4:13: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
1366 m4trace:/usr/share/aclocal/ltoptions.m4:110: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
1367 AC_DIAGNOSE([obsolete],
1368 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1369 put the `dlopen' option into LT_INIT's first parameter.])
1370 ])
1371 m4trace:/usr/share/aclocal/ltoptions.m4:110: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
1372 You should run autoupdate.])dnl
1373 _LT_SET_OPTION([LT_INIT], [dlopen])
1374 AC_DIAGNOSE([obsolete],
1375 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1376 put the `dlopen' option into LT_INIT's first parameter.])
1377 ])
1378 m4trace:/usr/share/aclocal/ltoptions.m4:145: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1379 _LT_SET_OPTION([LT_INIT], [win32-dll])
1380 AC_DIAGNOSE([obsolete],
1381 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1382 put the `win32-dll' option into LT_INIT's first parameter.])
1383 ])
1384 m4trace:/usr/share/aclocal/ltoptions.m4:145: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
1385 You should run autoupdate.])dnl
1386 AC_REQUIRE([AC_CANONICAL_HOST])dnl
1387 _LT_SET_OPTION([LT_INIT], [win32-dll])
1388 AC_DIAGNOSE([obsolete],
1389 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1390 put the `win32-dll' option into LT_INIT's first parameter.])
1391 ])
1392 m4trace:/usr/share/aclocal/ltoptions.m4:194: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
1393 ])
1394 m4trace:/usr/share/aclocal/ltoptions.m4:198: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
1395 ])
1396 m4trace:/usr/share/aclocal/ltoptions.m4:202: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
1397 m4trace:/usr/share/aclocal/ltoptions.m4:202: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
1398 You should run autoupdate.])dnl
1399 AC_ENABLE_SHARED($@)])
1400 m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
1401 m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
1402 You should run autoupdate.])dnl
1403 AC_DISABLE_SHARED($@)])
1404 m4trace:/usr/share/aclocal/ltoptions.m4:248: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
1405 ])
1406 m4trace:/usr/share/aclocal/ltoptions.m4:252: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
1407 ])
1408 m4trace:/usr/share/aclocal/ltoptions.m4:256: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
1409 m4trace:/usr/share/aclocal/ltoptions.m4:256: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
1410 You should run autoupdate.])dnl
1411 AC_ENABLE_STATIC($@)])
1412 m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
1413 m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
1414 You should run autoupdate.])dnl
1415 AC_DISABLE_STATIC($@)])
1416 m4trace:/usr/share/aclocal/ltoptions.m4:302: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1417 AC_DIAGNOSE([obsolete],
1418 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1419 the `fast-install' option into LT_INIT's first parameter.])
1420 ])
1421 m4trace:/usr/share/aclocal/ltoptions.m4:302: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
1422 You should run autoupdate.])dnl
1423 _LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1424 AC_DIAGNOSE([obsolete],
1425 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1426 the `fast-install' option into LT_INIT's first parameter.])
1427 ])
1428 m4trace:/usr/share/aclocal/ltoptions.m4:309: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1429 AC_DIAGNOSE([obsolete],
1430 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1431 the `disable-fast-install' option into LT_INIT's first parameter.])
1432 ])
1433 m4trace:/usr/share/aclocal/ltoptions.m4:309: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
1434 You should run autoupdate.])dnl
1435 _LT_SET_OPTION([LT_INIT], [disable-fast-install])
1436 AC_DIAGNOSE([obsolete],
1437 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1438 the `disable-fast-install' option into LT_INIT's first parameter.])
1439 ])
1440 m4trace:/usr/share/aclocal/ltoptions.m4:342: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
1441 AC_DIAGNOSE([obsolete],
1442 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1443 put the `pic-only' option into LT_INIT's first parameter.])
1444 ])
1445 m4trace:/usr/share/aclocal/ltoptions.m4:342: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
1446 You should run autoupdate.])dnl
1447 _LT_SET_OPTION([LT_INIT], [pic-only])
1448 AC_DIAGNOSE([obsolete],
1449 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1450 put the `pic-only' option into LT_INIT's first parameter.])
1451 ])
1452 m4trace:/usr/share/aclocal/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
1453 m4trace:/usr/share/aclocal/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6b'
1454 macro_revision='1.3017'
1455 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
1456 _LT_DECL(, macro_revision, 0)
1457 ])
1458 m4trace:/usr/share/aclocal/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
1459 m4trace:/usr/share/aclocal/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
1460 m4trace:/usr/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
1461 m4trace:/usr/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
1462 m4trace:/usr/share/aclocal/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
1463 m4trace:/usr/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
1464 m4trace:/usr/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
1465 m4trace:/usr/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
1466 m4trace:/usr/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
1467 m4trace:/usr/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
1468 m4trace:/usr/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
1469 m4trace:/usr/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
1470 m4trace:/usr/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
1471 m4trace:/usr/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
1472 m4trace:/usr/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
1473 m4trace:/usr/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
1474 m4trace:/usr/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
1475 m4trace:/usr/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
1476 m4trace:/usr/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
1477 m4trace:/usr/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
1478 m4trace:/usr/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
1479 m4trace:/usr/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
1480 m4trace:/usr/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
1481 m4trace:/usr/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
1482 m4trace:/usr/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
1483 m4trace:/usr/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
1484 m4trace:/usr/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
1485 m4trace:/usr/share/aclocal/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
1486 m4trace:/usr/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
1487 m4trace:/usr/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
1488 m4trace:/usr/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
1489 m4trace:/usr/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
1490 m4trace:/usr/share/aclocal/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
1491 m4trace:/usr/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
1492 m4trace:/usr/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
1493 m4trace:/usr/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_RC])
1494 m4trace:/usr/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
1495 m4trace:/usr/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
1496 m4trace:/usr/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
1497 m4trace:/usr/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
1498 m4trace:/usr/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
1499 m4trace:/usr/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
1500 m4trace:/usr/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
1501 m4trace:/usr/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
1502 m4trace:/usr/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
1503 m4trace:/usr/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
1504 m4trace:/usr/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
1505 m4trace:/usr/share/aclocal/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
1506 m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
1507 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1508 dnl require some minimum version. Point them to the right macro.
1509 m4_if([$1], [1.11.1], [],
1510 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1511 ])
1512 m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
1513 m4_ifndef([AC_AUTOCONF_VERSION],
1514 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1515 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1516 m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
1517 AC_PREREQ([2.50])dnl
1518 # expand $ac_aux_dir to an absolute path
1519 am_aux_dir=`cd $ac_aux_dir && pwd`
1520 ])
1521 m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
1522 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1523 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1524 AC_SUBST([$1_TRUE])dnl
1525 AC_SUBST([$1_FALSE])dnl
1526 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
1527 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
1528 m4_define([_AM_COND_VALUE_$1], [$2])dnl
1529 if $2; then
1530 $1_TRUE=
1531 $1_FALSE='#'
1532 else
1533 $1_TRUE='#'
1534 $1_FALSE=
1535 fi
1536 AC_CONFIG_COMMANDS_PRE(
1537 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1538 AC_MSG_ERROR([[conditional "$1" was never defined.
1539 Usually this means the macro was only invoked conditionally.]])
1540 fi])])
1541 m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
1542 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1543 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1544 AC_REQUIRE([AM_DEP_TRACK])dnl
1545
1546 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1547 [$1], CXX, [depcc="$CXX" am_compiler_list=],
1548 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1549 [$1], UPC, [depcc="$UPC" am_compiler_list=],
1550 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1551 [depcc="$$1" am_compiler_list=])
1552
1553 AC_CACHE_CHECK([dependency style of $depcc],
1554 [am_cv_$1_dependencies_compiler_type],
1555 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1556 # We make a subdir and do the tests there. Otherwise we can end up
1557 # making bogus files that we don't know about and never remove. For
1558 # instance it was reported that on HP-UX the gcc test will end up
1559 # making a dummy file named `D' -- because `-MD' means `put the output
1560 # in D'.
1561 mkdir conftest.dir
1562 # Copy depcomp to subdir because otherwise we won't find it if we're
1563 # using a relative directory.
1564 cp "$am_depcomp" conftest.dir
1565 cd conftest.dir
1566 # We will build objects and dependencies in a subdirectory because
1567 # it helps to detect inapplicable dependency modes. For instance
1568 # both Tru64's cc and ICC support -MD to output dependencies as a
1569 # side effect of compilation, but ICC will put the dependencies in
1570 # the current directory while Tru64 will put them in the object
1571 # directory.
1572 mkdir sub
1573
1574 am_cv_$1_dependencies_compiler_type=none
1575 if test "$am_compiler_list" = ""; then
1576 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1577 fi
1578 am__universal=false
1579 m4_case([$1], [CC],
1580 [case " $depcc " in #(
1581 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1582 esac],
1583 [CXX],
1584 [case " $depcc " in #(
1585 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1586 esac])
1587
1588 for depmode in $am_compiler_list; do
1589 # Setup a source with many dependencies, because some compilers
1590 # like to wrap large dependency lists on column 80 (with \), and
1591 # we should not choose a depcomp mode which is confused by this.
1592 #
1593 # We need to recreate these files for each test, as the compiler may
1594 # overwrite some of them when testing with obscure command lines.
1595 # This happens at least with the AIX C compiler.
1596 : > sub/conftest.c
1597 for i in 1 2 3 4 5 6; do
1598 echo '#include "conftst'$i'.h"' >> sub/conftest.c
1599 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1600 # Solaris 8's {/usr,}/bin/sh.
1601 touch sub/conftst$i.h
1602 done
1603 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1604
1605 # We check with `-c' and `-o' for the sake of the "dashmstdout"
1606 # mode. It turns out that the SunPro C++ compiler does not properly
1607 # handle `-M -o', and we need to detect this. Also, some Intel
1608 # versions had trouble with output in subdirs
1609 am__obj=sub/conftest.${OBJEXT-o}
1610 am__minus_obj="-o $am__obj"
1611 case $depmode in
1612 gcc)
1613 # This depmode causes a compiler race in universal mode.
1614 test "$am__universal" = false || continue
1615 ;;
1616 nosideeffect)
1617 # after this tag, mechanisms are not by side-effect, so they'll
1618 # only be used when explicitly requested
1619 if test "x$enable_dependency_tracking" = xyes; then
1620 continue
1621 else
1622 break
1623 fi
1624 ;;
1625 msvisualcpp | msvcmsys)
1626 # This compiler won't grok `-c -o', but also, the minuso test has
1627 # not run yet. These depmodes are late enough in the game, and
1628 # so weak that their functioning should not be impacted.
1629 am__obj=conftest.${OBJEXT-o}
1630 am__minus_obj=
1631 ;;
1632 none) break ;;
1633 esac
1634 if depmode=$depmode \
1635 source=sub/conftest.c object=$am__obj \
1636 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1637 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1638 >/dev/null 2>conftest.err &&
1639 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1640 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1641 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1642 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1643 # icc doesn't choke on unknown options, it will just issue warnings
1644 # or remarks (even with -Werror). So we grep stderr for any message
1645 # that says an option was ignored or not supported.
1646 # When given -MP, icc 7.0 and 7.1 complain thusly:
1647 # icc: Command line warning: ignoring option '-M'; no argument required
1648 # The diagnosis changed in icc 8.0:
1649 # icc: Command line remark: option '-MP' not supported
1650 if (grep 'ignoring option' conftest.err ||
1651 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1652 am_cv_$1_dependencies_compiler_type=$depmode
1653 break
1654 fi
1655 fi
1656 done
1657
1658 cd ..
1659 rm -rf conftest.dir
1660 else
1661 am_cv_$1_dependencies_compiler_type=none
1662 fi
1663 ])
1664 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1665 AM_CONDITIONAL([am__fastdep$1], [
1666 test "x$enable_dependency_tracking" != xno \
1667 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1668 ])
1669 m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1670 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1671 ])
1672 m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
1673 [ --disable-dependency-tracking speeds up one-time build
1674 --enable-dependency-tracking do not reject slow dependency extractors])
1675 if test "x$enable_dependency_tracking" != xno; then
1676 am_depcomp="$ac_aux_dir/depcomp"
1677 AMDEPBACKSLASH='\'
1678 fi
1679 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1680 AC_SUBST([AMDEPBACKSLASH])dnl
1681 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1682 ])
1683 m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
1684 # Autoconf 2.62 quotes --file arguments for eval, but not when files
1685 # are listed without --file. Let's play safe and only enable the eval
1686 # if we detect the quoting.
1687 case $CONFIG_FILES in
1688 *\'*) eval set x "$CONFIG_FILES" ;;
1689 *) set x $CONFIG_FILES ;;
1690 esac
1691 shift
1692 for mf
1693 do
1694 # Strip MF so we end up with the name of the file.
1695 mf=`echo "$mf" | sed -e 's/:.*$//'`
1696 # Check whether this is an Automake generated Makefile or not.
1697 # We used to match only the files named `Makefile.in', but
1698 # some people rename them; so instead we look at the file content.
1699 # Grep'ing the first line is not enough: some people post-process
1700 # each Makefile.in and add a new line on top of each file to say so.
1701 # Grep'ing the whole file is not good either: AIX grep has a line
1702 # limit of 2048, but all sed's we know have understand at least 4000.
1703 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1704 dirpart=`AS_DIRNAME("$mf")`
1705 else
1706 continue
1707 fi
1708 # Extract the definition of DEPDIR, am__include, and am__quote
1709 # from the Makefile without running `make'.
1710 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1711 test -z "$DEPDIR" && continue
1712 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1713 test -z "am__include" && continue
1714 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1715 # When using ansi2knr, U may be empty or an underscore; expand it
1716 U=`sed -n 's/^U = //p' < "$mf"`
1717 # Find all dependency output files, they are included files with
1718 # $(DEPDIR) in their names. We invoke sed twice because it is the
1719 # simplest approach to changing $(DEPDIR) to its actual value in the
1720 # expansion.
1721 for file in `sed -n "
1722 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1723 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1724 # Make sure the directory exists.
1725 test -f "$dirpart/$file" && continue
1726 fdir=`AS_DIRNAME(["$file"])`
1727 AS_MKDIR_P([$dirpart/$fdir])
1728 # echo "creating $dirpart/$file"
1729 echo '# dummy' > "$dirpart/$file"
1730 done
1731 done
1732 }
1733 ])
1734 m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
1735 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1736 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1737 ])
1738 m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
1739 m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
1740 You should run autoupdate.])dnl
1741 AC_CONFIG_HEADERS($@)])
1742 m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
1743 dnl Autoconf wants to disallow AM_ names. We explicitly allow
1744 dnl the ones we care about.
1745 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1746 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1747 AC_REQUIRE([AC_PROG_INSTALL])dnl
1748 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1749 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1750 # is not polluted with repeated "-I."
1751 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1752 # test to see if srcdir already configured
1753 if test -f $srcdir/config.status; then
1754 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1755 fi
1756 fi
1757
1758 # test whether we have cygpath
1759 if test -z "$CYGPATH_W"; then
1760 if (cygpath --version) >/dev/null 2>/dev/null; then
1761 CYGPATH_W='cygpath -w'
1762 else
1763 CYGPATH_W=echo
1764 fi
1765 fi
1766 AC_SUBST([CYGPATH_W])
1767
1768 # Define the identity of the package.
1769 dnl Distinguish between old-style and new-style calls.
1770 m4_ifval([$2],
1771 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1772 AC_SUBST([PACKAGE], [$1])dnl
1773 AC_SUBST([VERSION], [$2])],
1774 [_AM_SET_OPTIONS([$1])dnl
1775 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1776 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1777 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1778 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1779 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1780
1781 _AM_IF_OPTION([no-define],,
1782 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1783 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1784
1785 # Some tools Automake needs.
1786 AC_REQUIRE([AM_SANITY_CHECK])dnl
1787 AC_REQUIRE([AC_ARG_PROGRAM])dnl
1788 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1789 AM_MISSING_PROG(AUTOCONF, autoconf)
1790 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1791 AM_MISSING_PROG(AUTOHEADER, autoheader)
1792 AM_MISSING_PROG(MAKEINFO, makeinfo)
1793 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1794 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1795 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1796 # We need awk for the "check" target. The system "awk" is bad on
1797 # some platforms.
1798 AC_REQUIRE([AC_PROG_AWK])dnl
1799 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1800 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1801 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1802 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1803 [_AM_PROG_TAR([v7])])])
1804 _AM_IF_OPTION([no-dependencies],,
1805 [AC_PROVIDE_IFELSE([AC_PROG_CC],
1806 [_AM_DEPENDENCIES(CC)],
1807 [define([AC_PROG_CC],
1808 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1809 AC_PROVIDE_IFELSE([AC_PROG_CXX],
1810 [_AM_DEPENDENCIES(CXX)],
1811 [define([AC_PROG_CXX],
1812 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1813 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1814 [_AM_DEPENDENCIES(OBJC)],
1815 [define([AC_PROG_OBJC],
1816 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1817 ])
1818 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1819 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1820 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1821 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1822 AC_CONFIG_COMMANDS_PRE(dnl
1823 [m4_provide_if([_AM_COMPILER_EXEEXT],
1824 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1825 ])
1826 m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1827 _am_arg=$1
1828 _am_stamp_count=1
1829 for _am_header in $config_headers :; do
1830 case $_am_header in
1831 $_am_arg | $_am_arg:* )
1832 break ;;
1833 * )
1834 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1835 esac
1836 done
1837 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1838 m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1839 if test x"${install_sh}" != xset; then
1840 case $am_aux_dir in
1841 *\ * | *\ *)
1842 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1843 *)
1844 install_sh="\${SHELL} $am_aux_dir/install-sh"
1845 esac
1846 fi
1847 AC_SUBST(install_sh)])
1848 m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1849 mkdir .tst 2>/dev/null
1850 if test -d .tst; then
1851 am__leading_dot=.
1852 else
1853 am__leading_dot=_
1854 fi
1855 rmdir .tst 2>/dev/null
1856 AC_SUBST([am__leading_dot])])
1857 m4trace:/usr/share/aclocal-1.11/lex.m4:16: -1- AC_DEFUN([AM_PROG_LEX], [AC_PREREQ(2.50)dnl
1858 AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
1859 AC_REQUIRE([AC_PROG_LEX])dnl
1860 if test "$LEX" = :; then
1861 LEX=${am_missing_run}flex
1862 fi])
1863 m4trace:/usr/share/aclocal-1.11/maintainer.m4:19: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]),
1864 [enable], [m4_define([am_maintainer_other], [disable])],
1865 [disable], [m4_define([am_maintainer_other], [enable])],
1866 [m4_define([am_maintainer_other], [enable])
1867 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1868 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
1869 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1870 AC_ARG_ENABLE([maintainer-mode],
1871 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
1872 (and sometimes confusing) to the casual installer],
1873 [USE_MAINTAINER_MODE=$enableval],
1874 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1875 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1876 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1877 MAINT=$MAINTAINER_MODE_TRUE
1878 AC_SUBST([MAINT])dnl
1879
1880 ])
1881 m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
1882 m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete.
1883 You should run autoupdate.])dnl
1884 AM_MAINTAINER_MODE])
1885 m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1886 cat > confinc << 'END'
1887 am__doit:
1888 @echo this is the am__doit target
1889 .PHONY: am__doit
1890 END
1891 # If we don't find an include directive, just comment out the code.
1892 AC_MSG_CHECKING([for style of include used by $am_make])
1893 am__include="#"
1894 am__quote=
1895 _am_result=none
1896 # First try GNU make style include.
1897 echo "include confinc" > confmf
1898 # Ignore all kinds of additional output from `make'.
1899 case `$am_make -s -f confmf 2> /dev/null` in #(
1900 *the\ am__doit\ target*)
1901 am__include=include
1902 am__quote=
1903 _am_result=GNU
1904 ;;
1905 esac
1906 # Now try BSD make style include.
1907 if test "$am__include" = "#"; then
1908 echo '.include "confinc"' > confmf
1909 case `$am_make -s -f confmf 2> /dev/null` in #(
1910 *the\ am__doit\ target*)
1911 am__include=.include
1912 am__quote="\""
1913 _am_result=BSD
1914 ;;
1915 esac
1916 fi
1917 AC_SUBST([am__include])
1918 AC_SUBST([am__quote])
1919 AC_MSG_RESULT([$_am_result])
1920 rm -f confinc confmf
1921 ])
1922 m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1923 $1=${$1-"${am_missing_run}$2"}
1924 AC_SUBST($1)])
1925 m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1926 AC_REQUIRE_AUX_FILE([missing])dnl
1927 if test x"${MISSING+set}" != xset; then
1928 case $am_aux_dir in
1929 *\ * | *\ *)
1930 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1931 *)
1932 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1933 esac
1934 fi
1935 # Use eval to expand $SHELL
1936 if eval "$MISSING --run true"; then
1937 am_missing_run="$MISSING --run "
1938 else
1939 am_missing_run=
1940 AC_MSG_WARN([`missing' script is too old or missing])
1941 fi
1942 ])
1943 m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
1944 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1945 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1946 dnl while keeping a definition of mkdir_p for backward compatibility.
1947 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1948 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1949 dnl Makefile.ins that do not define MKDIR_P, so we do our own
1950 dnl adjustment using top_builddir (which is defined more often than
1951 dnl MKDIR_P).
1952 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1953 case $mkdir_p in
1954 [[\\/$]]* | ?:[[\\/]]*) ;;
1955 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1956 esac
1957 ])
1958 m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1959 m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1960 m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1961 m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1962 m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1963 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1964 ac_status=$?
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1966 (exit $ac_status); }])
1967 m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
1968 # Just in case
1969 sleep 1
1970 echo timestamp > conftest.file
1971 # Reject unsafe characters in $srcdir or the absolute working directory
1972 # name. Accept space and tab only in the latter.
1973 am_lf='
1974 '
1975 case `pwd` in
1976 *[[\\\"\#\$\&\'\`$am_lf]]*)
1977 AC_MSG_ERROR([unsafe absolute working directory name]);;
1978 esac
1979 case $srcdir in
1980 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1981 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1982 esac
1983
1984 # Do `set' in a subshell so we don't clobber the current shell's
1985 # arguments. Must try -L first in case configure is actually a
1986 # symlink; some systems play weird games with the mod time of symlinks
1987 # (eg FreeBSD returns the mod time of the symlink's containing
1988 # directory).
1989 if (
1990 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1991 if test "$[*]" = "X"; then
1992 # -L didn't work.
1993 set X `ls -t "$srcdir/configure" conftest.file`
1994 fi
1995 rm -f conftest.file
1996 if test "$[*]" != "X $srcdir/configure conftest.file" \
1997 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1998
1999 # If neither matched, then we have a broken ls. This can happen
2000 # if, for instance, CONFIG_SHELL is bash and it inherits a
2001 # broken ls alias from the environment. This has actually
2002 # happened. Such a system could not be considered "sane".
2003 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
2004 alias in your environment])
2005 fi
2006
2007 test "$[2]" = conftest.file
2008 )
2009 then
2010 # Ok.
2011 :
2012 else
2013 AC_MSG_ERROR([newly created file is older than distributed files!
2014 Check your system clock])
2015 fi
2016 AC_MSG_RESULT(yes)])
2017 m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
2018 [ --enable-silent-rules less verbose build output (undo: `make V=1')
2019 --disable-silent-rules verbose build output (undo: `make V=0')])
2020 case $enable_silent_rules in
2021 yes) AM_DEFAULT_VERBOSITY=0;;
2022 no) AM_DEFAULT_VERBOSITY=1;;
2023 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
2024 esac
2025 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
2026 AM_BACKSLASH='\'
2027 AC_SUBST([AM_BACKSLASH])dnl
2028 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
2029 ])
2030 m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2031 # Installed binaries are usually stripped using `strip' when the user
2032 # run `make install-strip'. However `strip' might not be the right
2033 # tool to use in cross-compilation environments, therefore Automake
2034 # will honor the `STRIP' environment variable to overrule this program.
2035 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
2036 if test "$cross_compiling" != no; then
2037 AC_CHECK_TOOL([STRIP], [strip], :)
2038 fi
2039 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2040 AC_SUBST([INSTALL_STRIP_PROGRAM])])
2041 m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
2042 m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
2043 m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
2044 AM_MISSING_PROG([AMTAR], [tar])
2045 m4_if([$1], [v7],
2046 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
2047 [m4_case([$1], [ustar],, [pax],,
2048 [m4_fatal([Unknown tar format])])
2049 AC_MSG_CHECKING([how to create a $1 tar archive])
2050 # Loop over all known methods to create a tar archive until one works.
2051 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
2052 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
2053 # Do not fold the above two line into one, because Tru64 sh and
2054 # Solaris sh will not grok spaces in the rhs of `-'.
2055 for _am_tool in $_am_tools
2056 do
2057 case $_am_tool in
2058 gnutar)
2059 for _am_tar in tar gnutar gtar;
2060 do
2061 AM_RUN_LOG([$_am_tar --version]) && break
2062 done
2063 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
2064 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
2065 am__untar="$_am_tar -xf -"
2066 ;;
2067 plaintar)
2068 # Must skip GNU tar: if it does not support --format= it doesn't create
2069 # ustar tarball either.
2070 (tar --version) >/dev/null 2>&1 && continue
2071 am__tar='tar chf - "$$tardir"'
2072 am__tar_='tar chf - "$tardir"'
2073 am__untar='tar xf -'
2074 ;;
2075 pax)
2076 am__tar='pax -L -x $1 -w "$$tardir"'
2077 am__tar_='pax -L -x $1 -w "$tardir"'
2078 am__untar='pax -r'
2079 ;;
2080 cpio)
2081 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
2082 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
2083 am__untar='cpio -i -H $1 -d'
2084 ;;
2085 none)
2086 am__tar=false
2087 am__tar_=false
2088 am__untar=false
2089 ;;
2090 esac
2091
2092 # If the value was cached, stop now. We just wanted to have am__tar
2093 # and am__untar set.
2094 test -n "${am_cv_prog_tar_$1}" && break
2095
2096 # tar/untar a dummy directory, and stop if the command works
2097 rm -rf conftest.dir
2098 mkdir conftest.dir
2099 echo GrepMe > conftest.dir/file
2100 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2101 rm -rf conftest.dir
2102 if test -s conftest.tar; then
2103 AM_RUN_LOG([$am__untar <conftest.tar])
2104 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2105 fi
2106 done
2107 rm -rf conftest.dir
2108
2109 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2110 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2111 AC_SUBST([am__tar])
2112 AC_SUBST([am__untar])
2113 ])
2114 m4trace:config/swig.m4:15: -1- AC_DEFUN([MLX_PROG_SWIG], [
2115 AC_PATH_PROG([SWIG],[swig])
2116 # we use this to track the existance of swig
2117 has_swig=0
2118 if test -z "$SWIG" ; then
2119 AC_MSG_WARN([cannot find 'swig' program. You should look at http://www.swig.org])
2120 SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
2121 elif test -n "$1" ; then
2122 AC_MSG_CHECKING([for SWIG version])
2123 [swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
2124 AC_MSG_RESULT([$swig_version])
2125 if test -n "$swig_version" ; then
2126 # Calculate the required version number components
2127 [required=$1]
2128 [required_major=`echo $required | sed 's/[^0-9].*//'`]
2129 if test -z "$required_major" ; then
2130 [required_major=0]
2131 fi
2132 [required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
2133 [required_minor=`echo $required | sed 's/[^0-9].*//'`]
2134 if test -z "$required_minor" ; then
2135 [required_minor=0]
2136 fi
2137 [required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
2138 [required_patch=`echo $required | sed 's/[^0-9].*//'`]
2139 if test -z "$required_patch" ; then
2140 [required_patch=0]
2141 fi
2142 # Calculate the available version number components
2143 [available=`echo $swig_version | sed 's/[^0-9]*//'`]
2144 [available_major=`echo $available | sed 's/[^0-9].*//'`]
2145 if test -z "$available_major" ; then
2146 [available_major=0]
2147 fi
2148 [available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
2149 [available_minor=`echo $available | sed 's/[^0-9].*//'`]
2150 if test -z "$available_minor" ; then
2151 [available_minor=0]
2152 fi
2153 [available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
2154 [available_patch=`echo $available | sed -e 's/.*Patch[^0-9]*//' -e 's/[^0-9]*//g' `]
2155 if test -z "$available_patch" ; then
2156 [available_patch=0]
2157 fi
2158 # we have two modes of comparison...
2159 if test x"$2" == xeq; then
2160 if test $available_major -ne $required_major \
2161 -o $available_minor -ne $required_minor \
2162 -o $available_patch -ne $required_patch ; then
2163 AC_MSG_WARN([SWIG version == $1 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org ])
2164 SWIG='echo "Error: SWIG version == $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
2165 else
2166 has_swig=1
2167 fi
2168 else
2169 if test $available_major -ne $required_major \
2170 -o $available_minor -ne $required_minor \
2171 -o $available_patch -lt $required_patch ; then
2172 AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version. You should look at http://www.swig.org])
2173 SWIG='echo "Error: SWIG version >= $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
2174 else
2175 has_swig=1
2176 fi
2177 fi
2178 else
2179 AC_MSG_WARN([cannot determine SWIG version])
2180 SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
2181 fi
2182 fi
2183 if test ! -z "$has_swig"; then
2184 dnl AC_MSG_INFO([SWIG executable is '$SWIG'])
2185 SWIG_LIB=`$SWIG -swiglib`
2186 dnl AC_MSG_INFO([SWIG runtime library directory is '$SWIG_LIB'])
2187 AM_CONDITIONAL(HAS_SWIG,[test 1])
2188 else
2189 AM_CONDITIONAL(HAS_SWIG,[test 0])
2190 fi
2191 AC_SUBST([SWIG_LIB])
2192 ])
2193 m4trace:config/tcl.m4:14: -1- AC_DEFUN([MLX_LANG_TCL], [
2194 # --- BEGIN MLX_LANG_TCL ---
2195 dnl To link against Tcl, configure does several things to make my life
2196 dnl "easier".
2197 dnl
2198 dnl * maybe ask the user where they think Tcl lives, and try to find it
2199 dnl * maybe ask the user what "tclsh" is called this week (i.e., "tclsh8.0")
2200 dnl * run tclsh, ask it for a path, then run that path through sed
2201 dnl * sanity check its result (many installs are a little broken)
2202 dnl * try to figure out where Tcl is based on this result
2203 dnl * try to guess where the Tcl include files are
2204 dnl
2205 dnl Notes from previous incarnations:
2206 dnl > XXX MUST CHECK FOR TCL BEFORE KERBEROS V4 XXX
2207 dnl > This is because some genius at MIT named one of the Kerberos v4
2208 dnl > library functions log(). This of course conflicts with the
2209 dnl > logarithm function in the standard math library, used by Tcl.
2210 dnl
2211 dnl > Checking for Tcl first puts -lm before -lkrb on the library list.
2212 dnl
2213
2214 dnl do not do anything if we are in disabled libcheck mode...
2215 if test "x$libcheck" = "xtrue"; then
2216
2217 dnl Check for some information from the user on what the world looks like
2218 AC_ARG_WITH(tclconfig,[ --with-tclconfig=PATH use tclConfig.sh from PATH
2219 (configure gets Tcl configuration from here)],
2220 dnl trim tclConfig.sh off the end so we can add it back on later.
2221 TclLibBase=`echo ${withval} | sed s/tclConfig.sh\$//`)
2222 AC_ARG_WITH(tcl, [ --with-tcl=PATH use Tcl from PATH],
2223 TclLibBase="${withval}/lib")
2224 AC_ARG_WITH(tclsh, [ --with-tclsh=TCLSH use TCLSH as the tclsh program
2225 (let configure find Tcl using this program)],
2226 TCLSH="${withval}")
2227
2228 if test "x$TCLSH" = "xno" -o "x$with_tclconfig" = "xno" ; then
2229 AC_MSG_WARN([Tcl disabled because tclsh or tclconfig specified as "no"])
2230 with_tcl=no
2231 fi
2232
2233 if test "x$with_tcl" != xno; then
2234 if test \! -z "$with_tclconfig" -a \! -d "$with_tclconfig" ; then
2235 AC_MSG_ERROR([--with-tclconfig requires a directory argument.])
2236 fi
2237
2238 if test \! -z "$TCLSH" -a \! -x "$TCLSH" ; then
2239 AC_MSG_ERROR([--with-tclsh must specify an executable file.])
2240 fi
2241
2242 if test X"$TclLibBase" = X; then # do we already know?
2243 # No? Run tclsh and ask it where it lives.
2244
2245 # Do we know where a tclsh lives?
2246 if test X"$TCLSH" = X; then
2247 # Try and find tclsh. Any tclsh.
2248 # If a new version of tcl comes out and unfortunately adds another
2249 # filename, it should be safe to add it (to the front of the line --
2250 # somef vendors have older, badly installed tclshs that we want to avoid
2251 # if we can)
2252 AC_PATH_PROGS(TCLSH, [tclsh tclsh8.3 tclsh8.4], "unknown")
2253 fi
2254
2255 # Do we know where to get a tclsh?
2256 if test "X${TCLSH}" != "Xunknown"; then
2257 AC_MSG_CHECKING([where Tcl says it lives])
2258 dnl to avoid .tclshrc issues use from a file...
2259 echo "puts \$tcl_library" > /tmp/tcl.conf.$$
2260 TclLibBase=`${TCLSH} /tmp/tcl.conf.$$ | sed -e 's,[^/]*$,,'`
2261 rm /tmp/tcl.conf.$$
2262 AC_MSG_RESULT($TclLibBase)
2263 fi
2264 fi
2265
2266 if test -z "$TclLibBase" ; then
2267 AC_MSG_RESULT([can't find tclsh])
2268 AC_MSG_WARN([can't find Tcl installtion; use of Tcl disabled.])
2269 with_tcl=no
2270 else
2271 AC_MSG_CHECKING([for tclConfig.sh])
2272 # Check a list of places where the tclConfig.sh file might be.
2273 # Note we prefer the 64 bit version if exists
2274 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}"
2275 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}/.."
2276 tclCondifSearchPath="$tclCondifSearchPath `echo ${TCLSH} | sed s/sh//`"
2277 tclCondifSearchPath="$tclCondifSearchPath /usr/lib64"
2278 tclCondifSearchPath="$tclCondifSearchPath /usr/lib"
2279 tclCondifSearchPath="$tclCondifSearchPath /usr/local/lib"
2280 for tcldir in $tclCondifSearchPath; do
2281 if test -f "${tcldir}/tclConfig.sh"; then
2282 TclLibBase="${tcldir}"
2283 break
2284 fi
2285 done
2286
2287 if test -z "${TclLibBase}" ; then
2288 AC_MSG_RESULT("unknown")
2289 AC_MSG_WARN([can't find Tcl configuration; use of Tcl disabled.])
2290 with_tcl=no
2291 else
2292 AC_MSG_RESULT(${TclLibBase}/)
2293 fi
2294
2295 if test "X${with_tcl}" != Xno ; then
2296 AC_MSG_CHECKING([Tcl configuration on what Tcl needs to compile])
2297 . ${TclLibBase}/tclConfig.sh
2298 AC_MSG_RESULT(ok)
2299 dnl no TK stuff for us.
2300 dnl . ${TclLibBase}/tkConfig.sh
2301 fi
2302
2303 dnl We hack the provided TCL_LIB_SPEC since it is using the /usr/lib even
2304 dnl if the build was using lib64
2305 if test -d /usr/lib64 ; then
2306 TCL_LIB_SPEC=`echo ${TCL_LIB_SPEC} | sed 's=/usr/lib =/usr/lib64 =g'`
2307 fi
2308
2309 if test "X${with_tcl}" != Xno ; then
2310 dnl Now, hunt for the Tcl include files, since we don't strictly
2311 dnl know where they are; some folks put them (properly) in the
2312 dnl default include path, or maybe in /usr/local; the *BSD folks
2313 dnl put them in other places.
2314 AC_MSG_CHECKING([where Tcl includes are])
2315 for tclinclude in "${TCL_PREFIX}/include/tcl${TCL_VERSION}" \
2316 "${TCL_PREFIX}/include/tcl" \
2317 "${TCL_PREFIX}/include" ; do
2318 if test -r "${tclinclude}/tcl.h" ; then
2319 TCL_CPPFLAGS="-I${tclinclude}"
2320 break
2321 fi
2322 done
2323 if test X"${TCL_CPPFLAGS}" = X ; then
2324 AC_MSG_WARN(can't find Tcl includes; use of Tcl disabled.)
2325 with_tcl=no
2326 fi
2327 AC_MSG_RESULT(${TCL_CPPFLAGS})
2328 fi
2329
2330 # Finally, pick up the Tcl configuration if we haven't found an
2331 # excuse not to.
2332 if test "X${with_tcl}" != Xno; then
2333 dnl TCL_LIBS="${TK_LIB_SPEC} ${TK_XLIBSW} ${TCL_LD_SEARCH_FLAGS} ${TCL_LIB_SPEC}"
2334 dnl we are using libtool so need to convert to -rpath if at all
2335 TCL_SEARCH=`echo ${TCL_LD_SEARCH_FLAGS} | sed 's/-Wl,-rpath,/-rpath/'`
2336
2337 dnl sometimes we got empty libs: use TCL_LIB_FILE
2338 if test X"$TCL_LIBS" = X; then
2339 dnl extract the lib style name...
2340 TCL_LIBS=`echo ${TCL_LIB_FILE} | sed 's/lib\([[^ \t]]*\)\.\(so\|a\)/-l\1/'`
2341 fi
2342
2343 dnl sometimes we got empty libs: use TCL_LIB_SPEC
2344 if test X"$TCL_LIB_SPEC" = X; then
2345 dnl extract the lib style name...
2346 TCL_LIB_SPEC='-L/usr/lib'
2347 fi
2348
2349 TCL_LIBS1="${TCL_LIB_SPEC} ${TCL_LIBS}"
2350 dnl Filter out the ieee - I do not see a shared version for it.
2351 TCL_LIBS=`echo ${TCL_LIBS1} | sed 's/-lieee//'`
2352 fi
2353 fi
2354 fi
2355 else
2356 dnl disbled libcheck mode - we do not need anything...
2357 TCL_DEFS=disabled
2358 TCL_LIBS=disabled
2359 TCL_CPPFLAGS=disabled
2360 TCL_PREFIX=disabled
2361 fi
2362
2363 AC_SUBST(TCL_DEFS)
2364 AC_SUBST(TCL_LIBS)
2365 AC_SUBST(TCL_CPPFLAGS)
2366 AC_SUBST(TCL_PREFIX)
2367
2368 # --- END MLX_LANG_TCL ---
2369 ])
2370 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?A[CHUM]_])
2371 m4trace:configure.in:35: -1- m4_pattern_forbid([_AC_])
2372 m4trace:configure.in:35: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
2373 m4trace:configure.in:35: -1- m4_pattern_allow([^AS_FLAGS$])
2374 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?m4_])
2375 m4trace:configure.in:35: -1- m4_pattern_forbid([^dnl$])
2376 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?AS_])
2377 m4trace:configure.in:35: -1- m4_pattern_allow([^SHELL$])
2378 m4trace:configure.in:35: -1- m4_pattern_allow([^PATH_SEPARATOR$])
2379 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
2380 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
2381 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
2382 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
2383 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
2384 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
2385 m4trace:configure.in:35: -1- m4_pattern_allow([^exec_prefix$])
2386 m4trace:configure.in:35: -1- m4_pattern_allow([^prefix$])
2387 m4trace:configure.in:35: -1- m4_pattern_allow([^program_transform_name$])
2388 m4trace:configure.in:35: -1- m4_pattern_allow([^bindir$])
2389 m4trace:configure.in:35: -1- m4_pattern_allow([^sbindir$])
2390 m4trace:configure.in:35: -1- m4_pattern_allow([^libexecdir$])
2391 m4trace:configure.in:35: -1- m4_pattern_allow([^datarootdir$])
2392 m4trace:configure.in:35: -1- m4_pattern_allow([^datadir$])
2393 m4trace:configure.in:35: -1- m4_pattern_allow([^sysconfdir$])
2394 m4trace:configure.in:35: -1- m4_pattern_allow([^sharedstatedir$])
2395 m4trace:configure.in:35: -1- m4_pattern_allow([^localstatedir$])
2396 m4trace:configure.in:35: -1- m4_pattern_allow([^includedir$])
2397 m4trace:configure.in:35: -1- m4_pattern_allow([^oldincludedir$])
2398 m4trace:configure.in:35: -1- m4_pattern_allow([^docdir$])
2399 m4trace:configure.in:35: -1- m4_pattern_allow([^infodir$])
2400 m4trace:configure.in:35: -1- m4_pattern_allow([^htmldir$])
2401 m4trace:configure.in:35: -1- m4_pattern_allow([^dvidir$])
2402 m4trace:configure.in:35: -1- m4_pattern_allow([^pdfdir$])
2403 m4trace:configure.in:35: -1- m4_pattern_allow([^psdir$])
2404 m4trace:configure.in:35: -1- m4_pattern_allow([^libdir$])
2405 m4trace:configure.in:35: -1- m4_pattern_allow([^localedir$])
2406 m4trace:configure.in:35: -1- m4_pattern_allow([^mandir$])
2407 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
2408 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
2409 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
2410 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
2411 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
2412 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
2413 m4trace:configure.in:35: -1- m4_pattern_allow([^DEFS$])
2414 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_C$])
2415 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_N$])
2416 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_T$])
2417 m4trace:configure.in:35: -1- m4_pattern_allow([^LIBS$])
2418 m4trace:configure.in:35: -1- m4_pattern_allow([^build_alias$])
2419 m4trace:configure.in:35: -1- m4_pattern_allow([^host_alias$])
2420 m4trace:configure.in:35: -1- m4_pattern_allow([^target_alias$])
2421 m4trace:configure.in:42: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
2422 You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
2423 configure.in:42: the top level])
2424 m4trace:configure.in:45: -1- AM_CONFIG_HEADER([config.h])
2425 m4trace:configure.in:45: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
2426 You should run autoupdate.], [/usr/share/aclocal-1.11/header.m4:12: AM_CONFIG_HEADER is expanded from...
2427 configure.in:45: the top level])
2428 m4trace:configure.in:48: -1- AM_INIT_AUTOMAKE
2429 m4trace:configure.in:48: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
2430 m4trace:configure.in:48: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
2431 m4trace:configure.in:48: -1- AM_AUTOMAKE_VERSION([1.11.1])
2432 m4trace:configure.in:48: -1- _AM_AUTOCONF_VERSION([2.69])
2433 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
2434 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
2435 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_DATA$])
2436 m4trace:configure.in:48: -1- m4_pattern_allow([^am__isrc$])
2437 m4trace:configure.in:48: -1- _AM_SUBST_NOTMAKE([am__isrc])
2438 m4trace:configure.in:48: -1- m4_pattern_allow([^CYGPATH_W$])
2439 m4trace:configure.in:48: -1- _AM_SET_OPTIONS([])
2440 m4trace:configure.in:48: -1- m4_pattern_allow([^PACKAGE$])
2441 m4trace:configure.in:48: -1- m4_pattern_allow([^VERSION$])
2442 m4trace:configure.in:48: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
2443 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
2444 m4trace:configure.in:48: -2- _AM_MANGLE_OPTION([no-define])
2445 m4trace:configure.in:48: -1- m4_pattern_allow([^PACKAGE$])
2446 m4trace:configure.in:48: -1- m4_pattern_allow([^VERSION$])
2447 m4trace:configure.in:48: -1- AM_SANITY_CHECK
2448 m4trace:configure.in:48: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
2449 m4trace:configure.in:48: -1- AM_MISSING_HAS_RUN
2450 m4trace:configure.in:48: -1- AM_AUX_DIR_EXPAND
2451 m4trace:configure.in:48: -1- m4_pattern_allow([^ACLOCAL$])
2452 m4trace:configure.in:48: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
2453 m4trace:configure.in:48: -1- m4_pattern_allow([^AUTOCONF$])
2454 m4trace:configure.in:48: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
2455 m4trace:configure.in:48: -1- m4_pattern_allow([^AUTOMAKE$])
2456 m4trace:configure.in:48: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
2457 m4trace:configure.in:48: -1- m4_pattern_allow([^AUTOHEADER$])
2458 m4trace:configure.in:48: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
2459 m4trace:configure.in:48: -1- m4_pattern_allow([^MAKEINFO$])
2460 m4trace:configure.in:48: -1- AM_PROG_INSTALL_SH
2461 m4trace:configure.in:48: -1- m4_pattern_allow([^install_sh$])
2462 m4trace:configure.in:48: -1- AM_PROG_INSTALL_STRIP
2463 m4trace:configure.in:48: -1- m4_pattern_allow([^STRIP$])
2464 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
2465 m4trace:configure.in:48: -1- AM_PROG_MKDIR_P
2466 m4trace:configure.in:48: -1- m4_pattern_allow([^MKDIR_P$])
2467 m4trace:configure.in:48: -1- m4_pattern_allow([^mkdir_p$])
2468 m4trace:configure.in:48: -1- m4_pattern_allow([^AWK$])
2469 m4trace:configure.in:48: -1- m4_pattern_allow([^SET_MAKE$])
2470 m4trace:configure.in:48: -1- AM_SET_LEADING_DOT
2471 m4trace:configure.in:48: -1- m4_pattern_allow([^am__leading_dot$])
2472 m4trace:configure.in:48: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
2473 [_AM_PROG_TAR([v7])])])
2474 m4trace:configure.in:48: -2- _AM_MANGLE_OPTION([tar-ustar])
2475 m4trace:configure.in:48: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
2476 m4trace:configure.in:48: -2- _AM_MANGLE_OPTION([tar-pax])
2477 m4trace:configure.in:48: -1- _AM_PROG_TAR([v7])
2478 m4trace:configure.in:48: -1- AM_MISSING_PROG([AMTAR], [tar])
2479 m4trace:configure.in:48: -1- m4_pattern_allow([^AMTAR$])
2480 m4trace:configure.in:48: -1- m4_pattern_allow([^am__tar$])
2481 m4trace:configure.in:48: -1- m4_pattern_allow([^am__untar$])
2482 m4trace:configure.in:48: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
2483 [_AM_DEPENDENCIES(CC)],
2484 [define([AC_PROG_CC],
2485 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
2486 AC_PROVIDE_IFELSE([AC_PROG_CXX],
2487 [_AM_DEPENDENCIES(CXX)],
2488 [define([AC_PROG_CXX],
2489 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
2490 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
2491 [_AM_DEPENDENCIES(OBJC)],
2492 [define([AC_PROG_OBJC],
2493 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
2494 ])
2495 m4trace:configure.in:48: -2- _AM_MANGLE_OPTION([no-dependencies])
2496 m4trace:configure.in:48: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
2497 m4trace:configure.in:48: -2- _AM_MANGLE_OPTION([silent-rules])
2498 m4trace:configure.in:53: -1- AM_MAINTAINER_MODE
2499 m4trace:configure.in:53: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
2500 m4trace:configure.in:53: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
2501 m4trace:configure.in:53: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
2502 m4trace:configure.in:53: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
2503 m4trace:configure.in:53: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
2504 m4trace:configure.in:53: -1- m4_pattern_allow([^MAINT$])
2505 m4trace:configure.in:56: -1- m4_pattern_allow([^SET_MAKE$])
2506 m4trace:configure.in:59: -1- m4_pattern_allow([^CXX$])
2507 m4trace:configure.in:59: -1- m4_pattern_allow([^CXXFLAGS$])
2508 m4trace:configure.in:59: -1- m4_pattern_allow([^LDFLAGS$])
2509 m4trace:configure.in:59: -1- m4_pattern_allow([^LIBS$])
2510 m4trace:configure.in:59: -1- m4_pattern_allow([^CPPFLAGS$])
2511 m4trace:configure.in:59: -1- m4_pattern_allow([^CXX$])
2512 m4trace:configure.in:59: -1- m4_pattern_allow([^ac_ct_CXX$])
2513 m4trace:configure.in:59: -1- m4_pattern_allow([^EXEEXT$])
2514 m4trace:configure.in:59: -1- m4_pattern_allow([^OBJEXT$])
2515 m4trace:configure.in:59: -1- _AM_DEPENDENCIES([CXX])
2516 m4trace:configure.in:59: -1- AM_SET_DEPDIR
2517 m4trace:configure.in:59: -1- m4_pattern_allow([^DEPDIR$])
2518 m4trace:configure.in:59: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
2519 m4trace:configure.in:59: -1- AM_MAKE_INCLUDE
2520 m4trace:configure.in:59: -1- m4_pattern_allow([^am__include$])
2521 m4trace:configure.in:59: -1- m4_pattern_allow([^am__quote$])
2522 m4trace:configure.in:59: -1- AM_DEP_TRACK
2523 m4trace:configure.in:59: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
2524 m4trace:configure.in:59: -1- m4_pattern_allow([^AMDEP_TRUE$])
2525 m4trace:configure.in:59: -1- m4_pattern_allow([^AMDEP_FALSE$])
2526 m4trace:configure.in:59: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
2527 m4trace:configure.in:59: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
2528 m4trace:configure.in:59: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
2529 m4trace:configure.in:59: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
2530 m4trace:configure.in:59: -1- m4_pattern_allow([^CXXDEPMODE$])
2531 m4trace:configure.in:59: -1- AM_CONDITIONAL([am__fastdepCXX], [
2532 test "x$enable_dependency_tracking" != xno \
2533 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
2534 m4trace:configure.in:59: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
2535 m4trace:configure.in:59: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
2536 m4trace:configure.in:59: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
2537 m4trace:configure.in:59: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
2538 m4trace:configure.in:60: -1- m4_pattern_allow([^CC$])
2539 m4trace:configure.in:60: -1- m4_pattern_allow([^CFLAGS$])
2540 m4trace:configure.in:60: -1- m4_pattern_allow([^LDFLAGS$])
2541 m4trace:configure.in:60: -1- m4_pattern_allow([^LIBS$])
2542 m4trace:configure.in:60: -1- m4_pattern_allow([^CPPFLAGS$])
2543 m4trace:configure.in:60: -1- m4_pattern_allow([^CC$])
2544 m4trace:configure.in:60: -1- m4_pattern_allow([^CC$])
2545 m4trace:configure.in:60: -1- m4_pattern_allow([^CC$])
2546 m4trace:configure.in:60: -1- m4_pattern_allow([^CC$])
2547 m4trace:configure.in:60: -1- m4_pattern_allow([^ac_ct_CC$])
2548 m4trace:configure.in:60: -1- _AM_DEPENDENCIES([CC])
2549 m4trace:configure.in:60: -1- m4_pattern_allow([^CCDEPMODE$])
2550 m4trace:configure.in:60: -1- AM_CONDITIONAL([am__fastdepCC], [
2551 test "x$enable_dependency_tracking" != xno \
2552 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
2553 m4trace:configure.in:60: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
2554 m4trace:configure.in:60: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
2555 m4trace:configure.in:60: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
2556 m4trace:configure.in:60: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
2557 m4trace:configure.in:60: -1- m4_pattern_allow([^CPP$])
2558 m4trace:configure.in:60: -1- m4_pattern_allow([^CPPFLAGS$])
2559 m4trace:configure.in:60: -1- m4_pattern_allow([^CPP$])
2560 m4trace:configure.in:62: -1- m4_pattern_allow([^LN_S$])
2561 m4trace:configure.in:63: -1- m4_pattern_allow([^SET_MAKE$])
2562 m4trace:configure.in:64: -1- MLX_PROG_SWIG([1.1.5], [eq])
2563 m4trace:configure.in:64: -1- m4_pattern_allow([^SWIG$])
2564 m4trace:configure.in:64: -1- AM_CONDITIONAL([HAS_SWIG], [test 1])
2565 m4trace:configure.in:64: -1- m4_pattern_allow([^HAS_SWIG_TRUE$])
2566 m4trace:configure.in:64: -1- m4_pattern_allow([^HAS_SWIG_FALSE$])
2567 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_TRUE])
2568 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_FALSE])
2569 m4trace:configure.in:64: -1- AM_CONDITIONAL([HAS_SWIG], [test 0])
2570 m4trace:configure.in:64: -1- m4_pattern_allow([^HAS_SWIG_TRUE$])
2571 m4trace:configure.in:64: -1- m4_pattern_allow([^HAS_SWIG_FALSE$])
2572 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_TRUE])
2573 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_FALSE])
2574 m4trace:configure.in:64: -1- m4_pattern_allow([^SWIG_LIB$])
2575 m4trace:configure.in:65: -1- AM_PROG_LEX
2576 m4trace:configure.in:65: -1- m4_pattern_allow([^LEX$])
2577 m4trace:configure.in:65: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$])
2578 m4trace:configure.in:65: -1- m4_pattern_allow([^LEXLIB$])
2579 m4trace:configure.in:65: -1- m4_pattern_allow([^YYTEXT_POINTER$])
2580 m4trace:configure.in:66: -1- m4_pattern_allow([^YACC$])
2581 m4trace:configure.in:66: -1- m4_pattern_allow([^YACC$])
2582 m4trace:configure.in:66: -1- m4_pattern_allow([^YFLAGS$])
2583 m4trace:configure.in:69: -1- AC_PROG_LIBTOOL
2584 m4trace:configure.in:69: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
2585 You should run autoupdate.], [/usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2586 configure.in:69: the top level])
2587 m4trace:configure.in:69: -1- LT_INIT
2588 m4trace:configure.in:69: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
2589 m4trace:configure.in:69: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
2590 m4trace:configure.in:69: -1- LTOPTIONS_VERSION
2591 m4trace:configure.in:69: -1- LTSUGAR_VERSION
2592 m4trace:configure.in:69: -1- LTVERSION_VERSION
2593 m4trace:configure.in:69: -1- LTOBSOLETE_VERSION
2594 m4trace:configure.in:69: -1- _LT_PROG_LTMAIN
2595 m4trace:configure.in:69: -1- m4_pattern_allow([^LIBTOOL$])
2596 m4trace:configure.in:69: -1- m4_pattern_allow([^build$])
2597 m4trace:configure.in:69: -1- m4_pattern_allow([^build_cpu$])
2598 m4trace:configure.in:69: -1- m4_pattern_allow([^build_vendor$])
2599 m4trace:configure.in:69: -1- m4_pattern_allow([^build_os$])
2600 m4trace:configure.in:69: -1- m4_pattern_allow([^host$])
2601 m4trace:configure.in:69: -1- m4_pattern_allow([^host_cpu$])
2602 m4trace:configure.in:69: -1- m4_pattern_allow([^host_vendor$])
2603 m4trace:configure.in:69: -1- m4_pattern_allow([^host_os$])
2604 m4trace:configure.in:69: -1- LT_PATH_LD
2605 m4trace:configure.in:69: -1- m4_pattern_allow([^SED$])
2606 m4trace:configure.in:69: -1- AC_PROG_EGREP
2607 m4trace:configure.in:69: -1- m4_pattern_allow([^GREP$])
2608 m4trace:configure.in:69: -1- m4_pattern_allow([^EGREP$])
2609 m4trace:configure.in:69: -1- m4_pattern_allow([^FGREP$])
2610 m4trace:configure.in:69: -1- m4_pattern_allow([^GREP$])
2611 m4trace:configure.in:69: -1- m4_pattern_allow([^LD$])
2612 m4trace:configure.in:69: -1- LT_PATH_NM
2613 m4trace:configure.in:69: -1- m4_pattern_allow([^DUMPBIN$])
2614 m4trace:configure.in:69: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
2615 m4trace:configure.in:69: -1- m4_pattern_allow([^DUMPBIN$])
2616 m4trace:configure.in:69: -1- m4_pattern_allow([^NM$])
2617 m4trace:configure.in:69: -1- LT_CMD_MAX_LEN
2618 m4trace:configure.in:69: -1- m4_pattern_allow([^OBJDUMP$])
2619 m4trace:configure.in:69: -1- m4_pattern_allow([^OBJDUMP$])
2620 m4trace:configure.in:69: -1- m4_pattern_allow([^AR$])
2621 m4trace:configure.in:69: -1- m4_pattern_allow([^STRIP$])
2622 m4trace:configure.in:69: -1- m4_pattern_allow([^RANLIB$])
2623 m4trace:configure.in:69: -1- m4_pattern_allow([LT_OBJDIR])
2624 m4trace:configure.in:69: -1- m4_pattern_allow([^LT_OBJDIR$])
2625 m4trace:configure.in:69: -1- m4_pattern_allow([^lt_ECHO$])
2626 m4trace:configure.in:69: -1- _LT_CC_BASENAME([$compiler])
2627 m4trace:configure.in:69: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
2628 m4trace:configure.in:69: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
2629 m4trace:configure.in:69: -1- LT_SUPPORTED_TAG([CC])
2630 m4trace:configure.in:69: -1- _LT_COMPILER_BOILERPLATE
2631 m4trace:configure.in:69: -1- _LT_LINKER_BOILERPLATE
2632 m4trace:configure.in:69: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
2633 m4trace:configure.in:69: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
2634 "" | " "*) ;;
2635 *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
2636 esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
2637 _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
2638 m4trace:configure.in:69: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
2639 m4trace:configure.in:69: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2640 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2641 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2642 /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
2643 /usr/share/aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
2644 /usr/share/aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
2645 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2646 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2647 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2648 configure.in:69: the top level])
2649 m4trace:configure.in:69: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2650 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2651 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2652 /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
2653 /usr/share/aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
2654 /usr/share/aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
2655 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2656 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2657 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2658 configure.in:69: the top level])
2659 m4trace:configure.in:69: -1- m4_pattern_allow([^DSYMUTIL$])
2660 m4trace:configure.in:69: -1- m4_pattern_allow([^NMEDIT$])
2661 m4trace:configure.in:69: -1- m4_pattern_allow([^LIPO$])
2662 m4trace:configure.in:69: -1- m4_pattern_allow([^OTOOL$])
2663 m4trace:configure.in:69: -1- m4_pattern_allow([^OTOOL64$])
2664 m4trace:configure.in:69: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2665 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2666 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2667 /usr/share/aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
2668 /usr/share/aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
2669 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2670 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2671 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2672 configure.in:69: the top level])
2673 m4trace:configure.in:69: -1- LT_SYS_DLOPEN_SELF
2674 m4trace:configure.in:69: -1- m4_pattern_allow([^STDC_HEADERS$])
2675 m4trace:configure.in:69: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
2676 m4trace:configure.in:69: -1- LT_LANG([CXX])
2677 m4trace:configure.in:69: -1- LT_SUPPORTED_TAG([CXX])
2678 m4trace:configure.in:69: -1- m4_pattern_allow([^CXX$])
2679 m4trace:configure.in:69: -1- m4_pattern_allow([^CXXFLAGS$])
2680 m4trace:configure.in:69: -1- m4_pattern_allow([^LDFLAGS$])
2681 m4trace:configure.in:69: -1- m4_pattern_allow([^LIBS$])
2682 m4trace:configure.in:69: -1- m4_pattern_allow([^CPPFLAGS$])
2683 m4trace:configure.in:69: -1- m4_pattern_allow([^CXX$])
2684 m4trace:configure.in:69: -1- m4_pattern_allow([^ac_ct_CXX$])
2685 m4trace:configure.in:69: -1- _AM_DEPENDENCIES([CXX])
2686 m4trace:configure.in:69: -1- m4_pattern_allow([^CXXDEPMODE$])
2687 m4trace:configure.in:69: -1- AM_CONDITIONAL([am__fastdepCXX], [
2688 test "x$enable_dependency_tracking" != xno \
2689 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
2690 m4trace:configure.in:69: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
2691 m4trace:configure.in:69: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
2692 m4trace:configure.in:69: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
2693 m4trace:configure.in:69: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
2694 m4trace:configure.in:69: -1- m4_pattern_allow([^CXXCPP$])
2695 m4trace:configure.in:69: -1- m4_pattern_allow([^CPPFLAGS$])
2696 m4trace:configure.in:69: -1- m4_pattern_allow([^CXXCPP$])
2697 m4trace:configure.in:69: -1- _LT_COMPILER_BOILERPLATE
2698 m4trace:configure.in:69: -1- _LT_LINKER_BOILERPLATE
2699 m4trace:configure.in:69: -1- _LT_CC_BASENAME([$compiler])
2700 m4trace:configure.in:69: -1- LT_PATH_LD
2701 m4trace:configure.in:69: -1- m4_pattern_allow([^LD$])
2702 m4trace:configure.in:69: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2703 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2704 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2705 /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
2706 /usr/share/aclocal/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
2707 /usr/share/aclocal/libtool.m4:785: _LT_LANG is expanded from...
2708 /usr/share/aclocal/libtool.m4:768: LT_LANG is expanded from...
2709 /usr/share/aclocal/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
2710 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2711 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2712 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2713 configure.in:69: the top level])
2714 m4trace:configure.in:69: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2715 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2716 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2717 /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
2718 /usr/share/aclocal/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
2719 /usr/share/aclocal/libtool.m4:785: _LT_LANG is expanded from...
2720 /usr/share/aclocal/libtool.m4:768: LT_LANG is expanded from...
2721 /usr/share/aclocal/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
2722 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2723 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2724 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2725 configure.in:69: the top level])
2726 m4trace:configure.in:69: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, CXX) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, CXX)], [$_LT_TAGVAR(lt_prog_compiler_pic, CXX)@&t@m4_if([CXX],[],[ -DPIC],[m4_if([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, CXX) in
2727 "" | " "*) ;;
2728 *) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
2729 esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)=
2730 _LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
2731 m4trace:configure.in:69: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works_CXX], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, CXX)=])
2732 m4trace:configure.in:80: -1- MLX_LANG_TCL
2733 m4trace:configure.in:80: -1- m4_pattern_allow([^TCLSH$])
2734 m4trace:configure.in:80: -1- m4_pattern_allow([^TCL_DEFS$])
2735 m4trace:configure.in:80: -1- m4_pattern_allow([^TCL_LIBS$])
2736 m4trace:configure.in:80: -1- m4_pattern_allow([^TCL_CPPFLAGS$])
2737 m4trace:configure.in:80: -1- m4_pattern_allow([^TCL_PREFIX$])
2738 m4trace:configure.in:85: -1- m4_pattern_allow([^STDC_HEADERS$])
2739 m4trace:configure.in:95: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
2740 You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
2741 configure.in:95: the top level])
2742 m4trace:configure.in:96: -1- m4_pattern_allow([^size_t$])
2743 m4trace:configure.in:102: -1- m4_pattern_allow([^HAVE_MEMSET$])
2744 m4trace:configure.in:102: -1- m4_pattern_allow([^LIB@&t@OBJS$])
2745 m4trace:configure.in:120: -1- AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])
2746 m4trace:configure.in:120: -1- m4_pattern_allow([^DEBUG_TRUE$])
2747 m4trace:configure.in:120: -1- m4_pattern_allow([^DEBUG_FALSE$])
2748 m4trace:configure.in:120: -1- _AM_SUBST_NOTMAKE([DEBUG_TRUE])
2749 m4trace:configure.in:120: -1- _AM_SUBST_NOTMAKE([DEBUG_FALSE])
2750 m4trace:configure.in:127: -2- m4_pattern_allow([^with_final_prefix$])
2751 m4trace:configure.in:130: -1- AM_CONDITIONAL([USE_FINAL_PREFIX], [test x$with_final_prefix != x])
2752 m4trace:configure.in:130: -1- m4_pattern_allow([^USE_FINAL_PREFIX_TRUE$])
2753 m4trace:configure.in:130: -1- m4_pattern_allow([^USE_FINAL_PREFIX_FALSE$])
2754 m4trace:configure.in:130: -1- _AM_SUBST_NOTMAKE([USE_FINAL_PREFIX_TRUE])
2755 m4trace:configure.in:130: -1- _AM_SUBST_NOTMAKE([USE_FINAL_PREFIX_FALSE])
2756 m4trace:configure.in:133: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
2757 You should run autoupdate.], [])
2758 m4trace:configure.in:133: -1- m4_pattern_allow([^LIB@&t@OBJS$])
2759 m4trace:configure.in:133: -1- m4_pattern_allow([^LTLIBOBJS$])
2760 m4trace:configure.in:133: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
2761 m4trace:configure.in:133: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
2762 m4trace:configure.in:133: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
2763 m4trace:configure.in:133: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
2764 m4trace:configure.in:133: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
2765 m4trace:configure.in:133: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
2766 m4trace:configure.in:133: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
2767 m4trace:configure.in:133: -1- _LT_PROG_LTMAIN
+0
-766
ibdm/autom4te.cache/traces.1 less more
0 m4trace:aclocal.m4:8974: -1- m4_include([config/swig.m4])
1 m4trace:aclocal.m4:8975: -1- m4_include([config/tcl.m4])
2 m4trace:configure.in:35: -1- AC_INIT([ibdm], [1.5.7])
3 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?A[CHUM]_])
4 m4trace:configure.in:35: -1- m4_pattern_forbid([_AC_])
5 m4trace:configure.in:35: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
6 m4trace:configure.in:35: -1- m4_pattern_allow([^AS_FLAGS$])
7 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?m4_])
8 m4trace:configure.in:35: -1- m4_pattern_forbid([^dnl$])
9 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?AS_])
10 m4trace:configure.in:35: -1- AC_SUBST([SHELL])
11 m4trace:configure.in:35: -1- AC_SUBST_TRACE([SHELL])
12 m4trace:configure.in:35: -1- m4_pattern_allow([^SHELL$])
13 m4trace:configure.in:35: -1- AC_SUBST([PATH_SEPARATOR])
14 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
15 m4trace:configure.in:35: -1- m4_pattern_allow([^PATH_SEPARATOR$])
16 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
17 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_NAME])
18 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
19 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
20 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
21 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
22 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
23 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
24 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
25 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
26 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_STRING])
27 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
28 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
29 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
30 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
31 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
32 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_URL])
33 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
34 m4trace:configure.in:35: -1- AC_SUBST([exec_prefix], [NONE])
35 m4trace:configure.in:35: -1- AC_SUBST_TRACE([exec_prefix])
36 m4trace:configure.in:35: -1- m4_pattern_allow([^exec_prefix$])
37 m4trace:configure.in:35: -1- AC_SUBST([prefix], [NONE])
38 m4trace:configure.in:35: -1- AC_SUBST_TRACE([prefix])
39 m4trace:configure.in:35: -1- m4_pattern_allow([^prefix$])
40 m4trace:configure.in:35: -1- AC_SUBST([program_transform_name], [s,x,x,])
41 m4trace:configure.in:35: -1- AC_SUBST_TRACE([program_transform_name])
42 m4trace:configure.in:35: -1- m4_pattern_allow([^program_transform_name$])
43 m4trace:configure.in:35: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
44 m4trace:configure.in:35: -1- AC_SUBST_TRACE([bindir])
45 m4trace:configure.in:35: -1- m4_pattern_allow([^bindir$])
46 m4trace:configure.in:35: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
47 m4trace:configure.in:35: -1- AC_SUBST_TRACE([sbindir])
48 m4trace:configure.in:35: -1- m4_pattern_allow([^sbindir$])
49 m4trace:configure.in:35: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
50 m4trace:configure.in:35: -1- AC_SUBST_TRACE([libexecdir])
51 m4trace:configure.in:35: -1- m4_pattern_allow([^libexecdir$])
52 m4trace:configure.in:35: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
53 m4trace:configure.in:35: -1- AC_SUBST_TRACE([datarootdir])
54 m4trace:configure.in:35: -1- m4_pattern_allow([^datarootdir$])
55 m4trace:configure.in:35: -1- AC_SUBST([datadir], ['${datarootdir}'])
56 m4trace:configure.in:35: -1- AC_SUBST_TRACE([datadir])
57 m4trace:configure.in:35: -1- m4_pattern_allow([^datadir$])
58 m4trace:configure.in:35: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
59 m4trace:configure.in:35: -1- AC_SUBST_TRACE([sysconfdir])
60 m4trace:configure.in:35: -1- m4_pattern_allow([^sysconfdir$])
61 m4trace:configure.in:35: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
62 m4trace:configure.in:35: -1- AC_SUBST_TRACE([sharedstatedir])
63 m4trace:configure.in:35: -1- m4_pattern_allow([^sharedstatedir$])
64 m4trace:configure.in:35: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
65 m4trace:configure.in:35: -1- AC_SUBST_TRACE([localstatedir])
66 m4trace:configure.in:35: -1- m4_pattern_allow([^localstatedir$])
67 m4trace:configure.in:35: -1- AC_SUBST([includedir], ['${prefix}/include'])
68 m4trace:configure.in:35: -1- AC_SUBST_TRACE([includedir])
69 m4trace:configure.in:35: -1- m4_pattern_allow([^includedir$])
70 m4trace:configure.in:35: -1- AC_SUBST([oldincludedir], ['/usr/include'])
71 m4trace:configure.in:35: -1- AC_SUBST_TRACE([oldincludedir])
72 m4trace:configure.in:35: -1- m4_pattern_allow([^oldincludedir$])
73 m4trace:configure.in:35: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
74 ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
75 ['${datarootdir}/doc/${PACKAGE}'])])
76 m4trace:configure.in:35: -1- AC_SUBST_TRACE([docdir])
77 m4trace:configure.in:35: -1- m4_pattern_allow([^docdir$])
78 m4trace:configure.in:35: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
79 m4trace:configure.in:35: -1- AC_SUBST_TRACE([infodir])
80 m4trace:configure.in:35: -1- m4_pattern_allow([^infodir$])
81 m4trace:configure.in:35: -1- AC_SUBST([htmldir], ['${docdir}'])
82 m4trace:configure.in:35: -1- AC_SUBST_TRACE([htmldir])
83 m4trace:configure.in:35: -1- m4_pattern_allow([^htmldir$])
84 m4trace:configure.in:35: -1- AC_SUBST([dvidir], ['${docdir}'])
85 m4trace:configure.in:35: -1- AC_SUBST_TRACE([dvidir])
86 m4trace:configure.in:35: -1- m4_pattern_allow([^dvidir$])
87 m4trace:configure.in:35: -1- AC_SUBST([pdfdir], ['${docdir}'])
88 m4trace:configure.in:35: -1- AC_SUBST_TRACE([pdfdir])
89 m4trace:configure.in:35: -1- m4_pattern_allow([^pdfdir$])
90 m4trace:configure.in:35: -1- AC_SUBST([psdir], ['${docdir}'])
91 m4trace:configure.in:35: -1- AC_SUBST_TRACE([psdir])
92 m4trace:configure.in:35: -1- m4_pattern_allow([^psdir$])
93 m4trace:configure.in:35: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
94 m4trace:configure.in:35: -1- AC_SUBST_TRACE([libdir])
95 m4trace:configure.in:35: -1- m4_pattern_allow([^libdir$])
96 m4trace:configure.in:35: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
97 m4trace:configure.in:35: -1- AC_SUBST_TRACE([localedir])
98 m4trace:configure.in:35: -1- m4_pattern_allow([^localedir$])
99 m4trace:configure.in:35: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
100 m4trace:configure.in:35: -1- AC_SUBST_TRACE([mandir])
101 m4trace:configure.in:35: -1- m4_pattern_allow([^mandir$])
102 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
103 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
104 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
105 @%:@undef PACKAGE_NAME])
106 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
107 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
108 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
109 @%:@undef PACKAGE_TARNAME])
110 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
111 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
112 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
113 @%:@undef PACKAGE_VERSION])
114 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
115 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
116 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
117 @%:@undef PACKAGE_STRING])
118 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
119 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
120 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
121 @%:@undef PACKAGE_BUGREPORT])
122 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
123 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
124 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
125 @%:@undef PACKAGE_URL])
126 m4trace:configure.in:35: -1- AC_SUBST([DEFS])
127 m4trace:configure.in:35: -1- AC_SUBST_TRACE([DEFS])
128 m4trace:configure.in:35: -1- m4_pattern_allow([^DEFS$])
129 m4trace:configure.in:35: -1- AC_SUBST([ECHO_C])
130 m4trace:configure.in:35: -1- AC_SUBST_TRACE([ECHO_C])
131 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_C$])
132 m4trace:configure.in:35: -1- AC_SUBST([ECHO_N])
133 m4trace:configure.in:35: -1- AC_SUBST_TRACE([ECHO_N])
134 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_N$])
135 m4trace:configure.in:35: -1- AC_SUBST([ECHO_T])
136 m4trace:configure.in:35: -1- AC_SUBST_TRACE([ECHO_T])
137 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_T$])
138 m4trace:configure.in:35: -1- AC_SUBST([LIBS])
139 m4trace:configure.in:35: -1- AC_SUBST_TRACE([LIBS])
140 m4trace:configure.in:35: -1- m4_pattern_allow([^LIBS$])
141 m4trace:configure.in:35: -1- AC_SUBST([build_alias])
142 m4trace:configure.in:35: -1- AC_SUBST_TRACE([build_alias])
143 m4trace:configure.in:35: -1- m4_pattern_allow([^build_alias$])
144 m4trace:configure.in:35: -1- AC_SUBST([host_alias])
145 m4trace:configure.in:35: -1- AC_SUBST_TRACE([host_alias])
146 m4trace:configure.in:35: -1- m4_pattern_allow([^host_alias$])
147 m4trace:configure.in:35: -1- AC_SUBST([target_alias])
148 m4trace:configure.in:35: -1- AC_SUBST_TRACE([target_alias])
149 m4trace:configure.in:35: -1- m4_pattern_allow([^target_alias$])
150 m4trace:configure.in:39: -1- AC_CONFIG_AUX_DIR([config])
151 m4trace:configure.in:42: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
152 You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
153 configure.in:42: the top level])
154 m4trace:configure.in:45: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
155 You should run autoupdate.], [aclocal.m4:8368: AM_CONFIG_HEADER is expanded from...
156 configure.in:45: the top level])
157 m4trace:configure.in:45: -1- AC_CONFIG_HEADERS([config.h])
158 m4trace:configure.in:48: -1- AM_INIT_AUTOMAKE
159 m4trace:configure.in:48: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
160 m4trace:configure.in:48: -1- AM_AUTOMAKE_VERSION([1.11.1])
161 m4trace:configure.in:48: -1- AC_REQUIRE_AUX_FILE([install-sh])
162 m4trace:configure.in:48: -1- AC_SUBST([INSTALL_PROGRAM])
163 m4trace:configure.in:48: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
164 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
165 m4trace:configure.in:48: -1- AC_SUBST([INSTALL_SCRIPT])
166 m4trace:configure.in:48: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
167 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
168 m4trace:configure.in:48: -1- AC_SUBST([INSTALL_DATA])
169 m4trace:configure.in:48: -1- AC_SUBST_TRACE([INSTALL_DATA])
170 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_DATA$])
171 m4trace:configure.in:48: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
172 m4trace:configure.in:48: -1- AC_SUBST_TRACE([am__isrc])
173 m4trace:configure.in:48: -1- m4_pattern_allow([^am__isrc$])
174 m4trace:configure.in:48: -1- _AM_SUBST_NOTMAKE([am__isrc])
175 m4trace:configure.in:48: -1- AC_SUBST([CYGPATH_W])
176 m4trace:configure.in:48: -1- AC_SUBST_TRACE([CYGPATH_W])
177 m4trace:configure.in:48: -1- m4_pattern_allow([^CYGPATH_W$])
178 m4trace:configure.in:48: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
179 m4trace:configure.in:48: -1- AC_SUBST_TRACE([PACKAGE])
180 m4trace:configure.in:48: -1- m4_pattern_allow([^PACKAGE$])
181 m4trace:configure.in:48: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
182 m4trace:configure.in:48: -1- AC_SUBST_TRACE([VERSION])
183 m4trace:configure.in:48: -1- m4_pattern_allow([^VERSION$])
184 m4trace:configure.in:48: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
185 m4trace:configure.in:48: -1- m4_pattern_allow([^PACKAGE$])
186 m4trace:configure.in:48: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
187 @%:@undef PACKAGE])
188 m4trace:configure.in:48: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
189 m4trace:configure.in:48: -1- m4_pattern_allow([^VERSION$])
190 m4trace:configure.in:48: -1- AH_OUTPUT([VERSION], [/* Version number of package */
191 @%:@undef VERSION])
192 m4trace:configure.in:48: -1- AC_REQUIRE_AUX_FILE([missing])
193 m4trace:configure.in:48: -1- AC_SUBST([ACLOCAL])
194 m4trace:configure.in:48: -1- AC_SUBST_TRACE([ACLOCAL])
195 m4trace:configure.in:48: -1- m4_pattern_allow([^ACLOCAL$])
196 m4trace:configure.in:48: -1- AC_SUBST([AUTOCONF])
197 m4trace:configure.in:48: -1- AC_SUBST_TRACE([AUTOCONF])
198 m4trace:configure.in:48: -1- m4_pattern_allow([^AUTOCONF$])
199 m4trace:configure.in:48: -1- AC_SUBST([AUTOMAKE])
200 m4trace:configure.in:48: -1- AC_SUBST_TRACE([AUTOMAKE])
201 m4trace:configure.in:48: -1- m4_pattern_allow([^AUTOMAKE$])
202 m4trace:configure.in:48: -1- AC_SUBST([AUTOHEADER])
203 m4trace:configure.in:48: -1- AC_SUBST_TRACE([AUTOHEADER])
204 m4trace:configure.in:48: -1- m4_pattern_allow([^AUTOHEADER$])
205 m4trace:configure.in:48: -1- AC_SUBST([MAKEINFO])
206 m4trace:configure.in:48: -1- AC_SUBST_TRACE([MAKEINFO])
207 m4trace:configure.in:48: -1- m4_pattern_allow([^MAKEINFO$])
208 m4trace:configure.in:48: -1- AC_SUBST([install_sh])
209 m4trace:configure.in:48: -1- AC_SUBST_TRACE([install_sh])
210 m4trace:configure.in:48: -1- m4_pattern_allow([^install_sh$])
211 m4trace:configure.in:48: -1- AC_SUBST([STRIP])
212 m4trace:configure.in:48: -1- AC_SUBST_TRACE([STRIP])
213 m4trace:configure.in:48: -1- m4_pattern_allow([^STRIP$])
214 m4trace:configure.in:48: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
215 m4trace:configure.in:48: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
216 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
217 m4trace:configure.in:48: -1- AC_REQUIRE_AUX_FILE([install-sh])
218 m4trace:configure.in:48: -1- AC_SUBST([MKDIR_P])
219 m4trace:configure.in:48: -1- AC_SUBST_TRACE([MKDIR_P])
220 m4trace:configure.in:48: -1- m4_pattern_allow([^MKDIR_P$])
221 m4trace:configure.in:48: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
222 m4trace:configure.in:48: -1- AC_SUBST_TRACE([mkdir_p])
223 m4trace:configure.in:48: -1- m4_pattern_allow([^mkdir_p$])
224 m4trace:configure.in:48: -1- AC_SUBST([AWK])
225 m4trace:configure.in:48: -1- AC_SUBST_TRACE([AWK])
226 m4trace:configure.in:48: -1- m4_pattern_allow([^AWK$])
227 m4trace:configure.in:48: -1- AC_SUBST([SET_MAKE])
228 m4trace:configure.in:48: -1- AC_SUBST_TRACE([SET_MAKE])
229 m4trace:configure.in:48: -1- m4_pattern_allow([^SET_MAKE$])
230 m4trace:configure.in:48: -1- AC_SUBST([am__leading_dot])
231 m4trace:configure.in:48: -1- AC_SUBST_TRACE([am__leading_dot])
232 m4trace:configure.in:48: -1- m4_pattern_allow([^am__leading_dot$])
233 m4trace:configure.in:48: -1- AC_SUBST([AMTAR])
234 m4trace:configure.in:48: -1- AC_SUBST_TRACE([AMTAR])
235 m4trace:configure.in:48: -1- m4_pattern_allow([^AMTAR$])
236 m4trace:configure.in:48: -1- AC_SUBST([am__tar])
237 m4trace:configure.in:48: -1- AC_SUBST_TRACE([am__tar])
238 m4trace:configure.in:48: -1- m4_pattern_allow([^am__tar$])
239 m4trace:configure.in:48: -1- AC_SUBST([am__untar])
240 m4trace:configure.in:48: -1- AC_SUBST_TRACE([am__untar])
241 m4trace:configure.in:48: -1- m4_pattern_allow([^am__untar$])
242 m4trace:configure.in:53: -1- AM_MAINTAINER_MODE
243 m4trace:configure.in:53: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
244 m4trace:configure.in:53: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
245 m4trace:configure.in:53: -1- AC_SUBST_TRACE([MAINTAINER_MODE_TRUE])
246 m4trace:configure.in:53: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
247 m4trace:configure.in:53: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
248 m4trace:configure.in:53: -1- AC_SUBST_TRACE([MAINTAINER_MODE_FALSE])
249 m4trace:configure.in:53: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
250 m4trace:configure.in:53: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
251 m4trace:configure.in:53: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
252 m4trace:configure.in:53: -1- AC_SUBST([MAINT])
253 m4trace:configure.in:53: -1- AC_SUBST_TRACE([MAINT])
254 m4trace:configure.in:53: -1- m4_pattern_allow([^MAINT$])
255 m4trace:configure.in:56: -1- AC_SUBST([SET_MAKE])
256 m4trace:configure.in:56: -1- AC_SUBST_TRACE([SET_MAKE])
257 m4trace:configure.in:56: -1- m4_pattern_allow([^SET_MAKE$])
258 m4trace:configure.in:59: -1- AC_SUBST([CXX])
259 m4trace:configure.in:59: -1- AC_SUBST_TRACE([CXX])
260 m4trace:configure.in:59: -1- m4_pattern_allow([^CXX$])
261 m4trace:configure.in:59: -1- AC_SUBST([CXXFLAGS])
262 m4trace:configure.in:59: -1- AC_SUBST_TRACE([CXXFLAGS])
263 m4trace:configure.in:59: -1- m4_pattern_allow([^CXXFLAGS$])
264 m4trace:configure.in:59: -1- AC_SUBST([LDFLAGS])
265 m4trace:configure.in:59: -1- AC_SUBST_TRACE([LDFLAGS])
266 m4trace:configure.in:59: -1- m4_pattern_allow([^LDFLAGS$])
267 m4trace:configure.in:59: -1- AC_SUBST([LIBS])
268 m4trace:configure.in:59: -1- AC_SUBST_TRACE([LIBS])
269 m4trace:configure.in:59: -1- m4_pattern_allow([^LIBS$])
270 m4trace:configure.in:59: -1- AC_SUBST([CPPFLAGS])
271 m4trace:configure.in:59: -1- AC_SUBST_TRACE([CPPFLAGS])
272 m4trace:configure.in:59: -1- m4_pattern_allow([^CPPFLAGS$])
273 m4trace:configure.in:59: -1- AC_SUBST([CXX])
274 m4trace:configure.in:59: -1- AC_SUBST_TRACE([CXX])
275 m4trace:configure.in:59: -1- m4_pattern_allow([^CXX$])
276 m4trace:configure.in:59: -1- AC_SUBST([ac_ct_CXX])
277 m4trace:configure.in:59: -1- AC_SUBST_TRACE([ac_ct_CXX])
278 m4trace:configure.in:59: -1- m4_pattern_allow([^ac_ct_CXX$])
279 m4trace:configure.in:59: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
280 m4trace:configure.in:59: -1- AC_SUBST_TRACE([EXEEXT])
281 m4trace:configure.in:59: -1- m4_pattern_allow([^EXEEXT$])
282 m4trace:configure.in:59: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
283 m4trace:configure.in:59: -1- AC_SUBST_TRACE([OBJEXT])
284 m4trace:configure.in:59: -1- m4_pattern_allow([^OBJEXT$])
285 m4trace:configure.in:59: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
286 m4trace:configure.in:59: -1- AC_SUBST_TRACE([DEPDIR])
287 m4trace:configure.in:59: -1- m4_pattern_allow([^DEPDIR$])
288 m4trace:configure.in:59: -1- AC_SUBST([am__include])
289 m4trace:configure.in:59: -1- AC_SUBST_TRACE([am__include])
290 m4trace:configure.in:59: -1- m4_pattern_allow([^am__include$])
291 m4trace:configure.in:59: -1- AC_SUBST([am__quote])
292 m4trace:configure.in:59: -1- AC_SUBST_TRACE([am__quote])
293 m4trace:configure.in:59: -1- m4_pattern_allow([^am__quote$])
294 m4trace:configure.in:59: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
295 m4trace:configure.in:59: -1- AC_SUBST([AMDEP_TRUE])
296 m4trace:configure.in:59: -1- AC_SUBST_TRACE([AMDEP_TRUE])
297 m4trace:configure.in:59: -1- m4_pattern_allow([^AMDEP_TRUE$])
298 m4trace:configure.in:59: -1- AC_SUBST([AMDEP_FALSE])
299 m4trace:configure.in:59: -1- AC_SUBST_TRACE([AMDEP_FALSE])
300 m4trace:configure.in:59: -1- m4_pattern_allow([^AMDEP_FALSE$])
301 m4trace:configure.in:59: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
302 m4trace:configure.in:59: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
303 m4trace:configure.in:59: -1- AC_SUBST([AMDEPBACKSLASH])
304 m4trace:configure.in:59: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
305 m4trace:configure.in:59: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
306 m4trace:configure.in:59: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
307 m4trace:configure.in:59: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
308 m4trace:configure.in:59: -1- AC_SUBST_TRACE([CXXDEPMODE])
309 m4trace:configure.in:59: -1- m4_pattern_allow([^CXXDEPMODE$])
310 m4trace:configure.in:59: -1- AM_CONDITIONAL([am__fastdepCXX], [
311 test "x$enable_dependency_tracking" != xno \
312 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
313 m4trace:configure.in:59: -1- AC_SUBST([am__fastdepCXX_TRUE])
314 m4trace:configure.in:59: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
315 m4trace:configure.in:59: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
316 m4trace:configure.in:59: -1- AC_SUBST([am__fastdepCXX_FALSE])
317 m4trace:configure.in:59: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
318 m4trace:configure.in:59: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
319 m4trace:configure.in:59: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
320 m4trace:configure.in:59: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
321 m4trace:configure.in:60: -1- AC_SUBST([CC])
322 m4trace:configure.in:60: -1- AC_SUBST_TRACE([CC])
323 m4trace:configure.in:60: -1- m4_pattern_allow([^CC$])
324 m4trace:configure.in:60: -1- AC_SUBST([CFLAGS])
325 m4trace:configure.in:60: -1- AC_SUBST_TRACE([CFLAGS])
326 m4trace:configure.in:60: -1- m4_pattern_allow([^CFLAGS$])
327 m4trace:configure.in:60: -1- AC_SUBST([LDFLAGS])
328 m4trace:configure.in:60: -1- AC_SUBST_TRACE([LDFLAGS])
329 m4trace:configure.in:60: -1- m4_pattern_allow([^LDFLAGS$])
330 m4trace:configure.in:60: -1- AC_SUBST([LIBS])
331 m4trace:configure.in:60: -1- AC_SUBST_TRACE([LIBS])
332 m4trace:configure.in:60: -1- m4_pattern_allow([^LIBS$])
333 m4trace:configure.in:60: -1- AC_SUBST([CPPFLAGS])
334 m4trace:configure.in:60: -1- AC_SUBST_TRACE([CPPFLAGS])
335 m4trace:configure.in:60: -1- m4_pattern_allow([^CPPFLAGS$])
336 m4trace:configure.in:60: -1- AC_SUBST([CC])
337 m4trace:configure.in:60: -1- AC_SUBST_TRACE([CC])
338 m4trace:configure.in:60: -1- m4_pattern_allow([^CC$])
339 m4trace:configure.in:60: -1- AC_SUBST([CC])
340 m4trace:configure.in:60: -1- AC_SUBST_TRACE([CC])
341 m4trace:configure.in:60: -1- m4_pattern_allow([^CC$])
342 m4trace:configure.in:60: -1- AC_SUBST([CC])
343 m4trace:configure.in:60: -1- AC_SUBST_TRACE([CC])
344 m4trace:configure.in:60: -1- m4_pattern_allow([^CC$])
345 m4trace:configure.in:60: -1- AC_SUBST([CC])
346 m4trace:configure.in:60: -1- AC_SUBST_TRACE([CC])
347 m4trace:configure.in:60: -1- m4_pattern_allow([^CC$])
348 m4trace:configure.in:60: -1- AC_SUBST([ac_ct_CC])
349 m4trace:configure.in:60: -1- AC_SUBST_TRACE([ac_ct_CC])
350 m4trace:configure.in:60: -1- m4_pattern_allow([^ac_ct_CC$])
351 m4trace:configure.in:60: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
352 m4trace:configure.in:60: -1- AC_SUBST_TRACE([CCDEPMODE])
353 m4trace:configure.in:60: -1- m4_pattern_allow([^CCDEPMODE$])
354 m4trace:configure.in:60: -1- AM_CONDITIONAL([am__fastdepCC], [
355 test "x$enable_dependency_tracking" != xno \
356 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
357 m4trace:configure.in:60: -1- AC_SUBST([am__fastdepCC_TRUE])
358 m4trace:configure.in:60: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
359 m4trace:configure.in:60: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
360 m4trace:configure.in:60: -1- AC_SUBST([am__fastdepCC_FALSE])
361 m4trace:configure.in:60: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
362 m4trace:configure.in:60: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
363 m4trace:configure.in:60: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
364 m4trace:configure.in:60: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
365 m4trace:configure.in:60: -1- AC_SUBST([CPP])
366 m4trace:configure.in:60: -1- AC_SUBST_TRACE([CPP])
367 m4trace:configure.in:60: -1- m4_pattern_allow([^CPP$])
368 m4trace:configure.in:60: -1- AC_SUBST([CPPFLAGS])
369 m4trace:configure.in:60: -1- AC_SUBST_TRACE([CPPFLAGS])
370 m4trace:configure.in:60: -1- m4_pattern_allow([^CPPFLAGS$])
371 m4trace:configure.in:60: -1- AC_SUBST([CPP])
372 m4trace:configure.in:60: -1- AC_SUBST_TRACE([CPP])
373 m4trace:configure.in:60: -1- m4_pattern_allow([^CPP$])
374 m4trace:configure.in:62: -1- AC_SUBST([LN_S], [$as_ln_s])
375 m4trace:configure.in:62: -1- AC_SUBST_TRACE([LN_S])
376 m4trace:configure.in:62: -1- m4_pattern_allow([^LN_S$])
377 m4trace:configure.in:63: -1- AC_SUBST([SET_MAKE])
378 m4trace:configure.in:63: -1- AC_SUBST_TRACE([SET_MAKE])
379 m4trace:configure.in:63: -1- m4_pattern_allow([^SET_MAKE$])
380 m4trace:configure.in:64: -1- AC_SUBST([SWIG])
381 m4trace:configure.in:64: -1- AC_SUBST_TRACE([SWIG])
382 m4trace:configure.in:64: -1- m4_pattern_allow([^SWIG$])
383 m4trace:configure.in:64: -1- AM_CONDITIONAL([HAS_SWIG], [test 1])
384 m4trace:configure.in:64: -1- AC_SUBST([HAS_SWIG_TRUE])
385 m4trace:configure.in:64: -1- AC_SUBST_TRACE([HAS_SWIG_TRUE])
386 m4trace:configure.in:64: -1- m4_pattern_allow([^HAS_SWIG_TRUE$])
387 m4trace:configure.in:64: -1- AC_SUBST([HAS_SWIG_FALSE])
388 m4trace:configure.in:64: -1- AC_SUBST_TRACE([HAS_SWIG_FALSE])
389 m4trace:configure.in:64: -1- m4_pattern_allow([^HAS_SWIG_FALSE$])
390 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_TRUE])
391 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_FALSE])
392 m4trace:configure.in:64: -1- AM_CONDITIONAL([HAS_SWIG], [test 0])
393 m4trace:configure.in:64: -1- AC_SUBST([HAS_SWIG_TRUE])
394 m4trace:configure.in:64: -1- AC_SUBST_TRACE([HAS_SWIG_TRUE])
395 m4trace:configure.in:64: -1- m4_pattern_allow([^HAS_SWIG_TRUE$])
396 m4trace:configure.in:64: -1- AC_SUBST([HAS_SWIG_FALSE])
397 m4trace:configure.in:64: -1- AC_SUBST_TRACE([HAS_SWIG_FALSE])
398 m4trace:configure.in:64: -1- m4_pattern_allow([^HAS_SWIG_FALSE$])
399 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_TRUE])
400 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_FALSE])
401 m4trace:configure.in:64: -1- AC_SUBST([SWIG_LIB])
402 m4trace:configure.in:64: -1- AC_SUBST_TRACE([SWIG_LIB])
403 m4trace:configure.in:64: -1- m4_pattern_allow([^SWIG_LIB$])
404 m4trace:configure.in:65: -1- AC_SUBST([LEX])
405 m4trace:configure.in:65: -1- AC_SUBST_TRACE([LEX])
406 m4trace:configure.in:65: -1- m4_pattern_allow([^LEX$])
407 m4trace:configure.in:65: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])
408 m4trace:configure.in:65: -1- AC_SUBST_TRACE([LEX_OUTPUT_ROOT])
409 m4trace:configure.in:65: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$])
410 m4trace:configure.in:65: -1- AC_SUBST([LEXLIB])
411 m4trace:configure.in:65: -1- AC_SUBST_TRACE([LEXLIB])
412 m4trace:configure.in:65: -1- m4_pattern_allow([^LEXLIB$])
413 m4trace:configure.in:65: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
414 m4trace:configure.in:65: -1- m4_pattern_allow([^YYTEXT_POINTER$])
415 m4trace:configure.in:65: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a
416 `char@<:@@:>@\'. */
417 @%:@undef YYTEXT_POINTER])
418 m4trace:configure.in:66: -1- AC_SUBST([YACC])
419 m4trace:configure.in:66: -1- AC_SUBST_TRACE([YACC])
420 m4trace:configure.in:66: -1- m4_pattern_allow([^YACC$])
421 m4trace:configure.in:66: -1- AC_SUBST([YACC])
422 m4trace:configure.in:66: -1- AC_SUBST_TRACE([YACC])
423 m4trace:configure.in:66: -1- m4_pattern_allow([^YACC$])
424 m4trace:configure.in:66: -1- AC_SUBST([YFLAGS])
425 m4trace:configure.in:66: -1- AC_SUBST_TRACE([YFLAGS])
426 m4trace:configure.in:66: -1- m4_pattern_allow([^YFLAGS$])
427 m4trace:configure.in:69: -1- AC_PROG_LIBTOOL
428 m4trace:configure.in:69: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
429 You should run autoupdate.], [aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
430 configure.in:69: the top level])
431 m4trace:configure.in:69: -1- LT_INIT
432 m4trace:configure.in:69: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
433 m4trace:configure.in:69: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
434 m4trace:configure.in:69: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
435 m4trace:configure.in:69: -1- AC_SUBST([LIBTOOL])
436 m4trace:configure.in:69: -1- AC_SUBST_TRACE([LIBTOOL])
437 m4trace:configure.in:69: -1- m4_pattern_allow([^LIBTOOL$])
438 m4trace:configure.in:69: -1- AC_CANONICAL_HOST
439 m4trace:configure.in:69: -1- AC_CANONICAL_BUILD
440 m4trace:configure.in:69: -1- AC_REQUIRE_AUX_FILE([config.sub])
441 m4trace:configure.in:69: -1- AC_REQUIRE_AUX_FILE([config.guess])
442 m4trace:configure.in:69: -1- AC_SUBST([build], [$ac_cv_build])
443 m4trace:configure.in:69: -1- AC_SUBST_TRACE([build])
444 m4trace:configure.in:69: -1- m4_pattern_allow([^build$])
445 m4trace:configure.in:69: -1- AC_SUBST([build_cpu], [$[1]])
446 m4trace:configure.in:69: -1- AC_SUBST_TRACE([build_cpu])
447 m4trace:configure.in:69: -1- m4_pattern_allow([^build_cpu$])
448 m4trace:configure.in:69: -1- AC_SUBST([build_vendor], [$[2]])
449 m4trace:configure.in:69: -1- AC_SUBST_TRACE([build_vendor])
450 m4trace:configure.in:69: -1- m4_pattern_allow([^build_vendor$])
451 m4trace:configure.in:69: -1- AC_SUBST([build_os])
452 m4trace:configure.in:69: -1- AC_SUBST_TRACE([build_os])
453 m4trace:configure.in:69: -1- m4_pattern_allow([^build_os$])
454 m4trace:configure.in:69: -1- AC_SUBST([host], [$ac_cv_host])
455 m4trace:configure.in:69: -1- AC_SUBST_TRACE([host])
456 m4trace:configure.in:69: -1- m4_pattern_allow([^host$])
457 m4trace:configure.in:69: -1- AC_SUBST([host_cpu], [$[1]])
458 m4trace:configure.in:69: -1- AC_SUBST_TRACE([host_cpu])
459 m4trace:configure.in:69: -1- m4_pattern_allow([^host_cpu$])
460 m4trace:configure.in:69: -1- AC_SUBST([host_vendor], [$[2]])
461 m4trace:configure.in:69: -1- AC_SUBST_TRACE([host_vendor])
462 m4trace:configure.in:69: -1- m4_pattern_allow([^host_vendor$])
463 m4trace:configure.in:69: -1- AC_SUBST([host_os])
464 m4trace:configure.in:69: -1- AC_SUBST_TRACE([host_os])
465 m4trace:configure.in:69: -1- m4_pattern_allow([^host_os$])
466 m4trace:configure.in:69: -1- AC_SUBST([SED])
467 m4trace:configure.in:69: -1- AC_SUBST_TRACE([SED])
468 m4trace:configure.in:69: -1- m4_pattern_allow([^SED$])
469 m4trace:configure.in:69: -1- AC_SUBST([GREP])
470 m4trace:configure.in:69: -1- AC_SUBST_TRACE([GREP])
471 m4trace:configure.in:69: -1- m4_pattern_allow([^GREP$])
472 m4trace:configure.in:69: -1- AC_SUBST([EGREP])
473 m4trace:configure.in:69: -1- AC_SUBST_TRACE([EGREP])
474 m4trace:configure.in:69: -1- m4_pattern_allow([^EGREP$])
475 m4trace:configure.in:69: -1- AC_SUBST([FGREP])
476 m4trace:configure.in:69: -1- AC_SUBST_TRACE([FGREP])
477 m4trace:configure.in:69: -1- m4_pattern_allow([^FGREP$])
478 m4trace:configure.in:69: -1- AC_SUBST([GREP])
479 m4trace:configure.in:69: -1- AC_SUBST_TRACE([GREP])
480 m4trace:configure.in:69: -1- m4_pattern_allow([^GREP$])
481 m4trace:configure.in:69: -1- AC_SUBST([LD])
482 m4trace:configure.in:69: -1- AC_SUBST_TRACE([LD])
483 m4trace:configure.in:69: -1- m4_pattern_allow([^LD$])
484 m4trace:configure.in:69: -1- AC_SUBST([DUMPBIN])
485 m4trace:configure.in:69: -1- AC_SUBST_TRACE([DUMPBIN])
486 m4trace:configure.in:69: -1- m4_pattern_allow([^DUMPBIN$])
487 m4trace:configure.in:69: -1- AC_SUBST([ac_ct_DUMPBIN])
488 m4trace:configure.in:69: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
489 m4trace:configure.in:69: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
490 m4trace:configure.in:69: -1- AC_SUBST([DUMPBIN])
491 m4trace:configure.in:69: -1- AC_SUBST_TRACE([DUMPBIN])
492 m4trace:configure.in:69: -1- m4_pattern_allow([^DUMPBIN$])
493 m4trace:configure.in:69: -1- AC_SUBST([NM])
494 m4trace:configure.in:69: -1- AC_SUBST_TRACE([NM])
495 m4trace:configure.in:69: -1- m4_pattern_allow([^NM$])
496 m4trace:configure.in:69: -1- AC_SUBST([OBJDUMP])
497 m4trace:configure.in:69: -1- AC_SUBST_TRACE([OBJDUMP])
498 m4trace:configure.in:69: -1- m4_pattern_allow([^OBJDUMP$])
499 m4trace:configure.in:69: -1- AC_SUBST([OBJDUMP])
500 m4trace:configure.in:69: -1- AC_SUBST_TRACE([OBJDUMP])
501 m4trace:configure.in:69: -1- m4_pattern_allow([^OBJDUMP$])
502 m4trace:configure.in:69: -1- AC_SUBST([AR])
503 m4trace:configure.in:69: -1- AC_SUBST_TRACE([AR])
504 m4trace:configure.in:69: -1- m4_pattern_allow([^AR$])
505 m4trace:configure.in:69: -1- AC_SUBST([STRIP])
506 m4trace:configure.in:69: -1- AC_SUBST_TRACE([STRIP])
507 m4trace:configure.in:69: -1- m4_pattern_allow([^STRIP$])
508 m4trace:configure.in:69: -1- AC_SUBST([RANLIB])
509 m4trace:configure.in:69: -1- AC_SUBST_TRACE([RANLIB])
510 m4trace:configure.in:69: -1- m4_pattern_allow([^RANLIB$])
511 m4trace:configure.in:69: -1- m4_pattern_allow([LT_OBJDIR])
512 m4trace:configure.in:69: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
513 m4trace:configure.in:69: -1- m4_pattern_allow([^LT_OBJDIR$])
514 m4trace:configure.in:69: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries.
515 */
516 @%:@undef LT_OBJDIR])
517 m4trace:configure.in:69: -1- AC_SUBST([lt_ECHO])
518 m4trace:configure.in:69: -1- AC_SUBST_TRACE([lt_ECHO])
519 m4trace:configure.in:69: -1- m4_pattern_allow([^lt_ECHO$])
520 m4trace:configure.in:69: -1- LT_SUPPORTED_TAG([CC])
521 m4trace:configure.in:69: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
522 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
523 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
524 aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
525 aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
526 aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
527 aclocal.m4:159: _LT_SETUP is expanded from...
528 aclocal.m4:88: LT_INIT is expanded from...
529 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
530 configure.in:69: the top level])
531 m4trace:configure.in:69: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
532 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
533 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
534 aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
535 aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
536 aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
537 aclocal.m4:159: _LT_SETUP is expanded from...
538 aclocal.m4:88: LT_INIT is expanded from...
539 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
540 configure.in:69: the top level])
541 m4trace:configure.in:69: -1- AC_SUBST([DSYMUTIL])
542 m4trace:configure.in:69: -1- AC_SUBST_TRACE([DSYMUTIL])
543 m4trace:configure.in:69: -1- m4_pattern_allow([^DSYMUTIL$])
544 m4trace:configure.in:69: -1- AC_SUBST([NMEDIT])
545 m4trace:configure.in:69: -1- AC_SUBST_TRACE([NMEDIT])
546 m4trace:configure.in:69: -1- m4_pattern_allow([^NMEDIT$])
547 m4trace:configure.in:69: -1- AC_SUBST([LIPO])
548 m4trace:configure.in:69: -1- AC_SUBST_TRACE([LIPO])
549 m4trace:configure.in:69: -1- m4_pattern_allow([^LIPO$])
550 m4trace:configure.in:69: -1- AC_SUBST([OTOOL])
551 m4trace:configure.in:69: -1- AC_SUBST_TRACE([OTOOL])
552 m4trace:configure.in:69: -1- m4_pattern_allow([^OTOOL$])
553 m4trace:configure.in:69: -1- AC_SUBST([OTOOL64])
554 m4trace:configure.in:69: -1- AC_SUBST_TRACE([OTOOL64])
555 m4trace:configure.in:69: -1- m4_pattern_allow([^OTOOL64$])
556 m4trace:configure.in:69: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
557 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
558 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
559 aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
560 aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
561 aclocal.m4:159: _LT_SETUP is expanded from...
562 aclocal.m4:88: LT_INIT is expanded from...
563 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
564 configure.in:69: the top level])
565 m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
566 @%:@undef HAVE_DLFCN_H])
567 m4trace:configure.in:69: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
568 m4trace:configure.in:69: -1- m4_pattern_allow([^STDC_HEADERS$])
569 m4trace:configure.in:69: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
570 @%:@undef STDC_HEADERS])
571 m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
572 @%:@undef HAVE_SYS_TYPES_H])
573 m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
574 @%:@undef HAVE_SYS_STAT_H])
575 m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
576 @%:@undef HAVE_STDLIB_H])
577 m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
578 @%:@undef HAVE_STRING_H])
579 m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
580 @%:@undef HAVE_MEMORY_H])
581 m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
582 @%:@undef HAVE_STRINGS_H])
583 m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
584 @%:@undef HAVE_INTTYPES_H])
585 m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
586 @%:@undef HAVE_STDINT_H])
587 m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
588 @%:@undef HAVE_UNISTD_H])
589 m4trace:configure.in:69: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
590 m4trace:configure.in:69: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
591 m4trace:configure.in:69: -1- LT_SUPPORTED_TAG([CXX])
592 m4trace:configure.in:69: -1- AC_SUBST([CXX])
593 m4trace:configure.in:69: -1- AC_SUBST_TRACE([CXX])
594 m4trace:configure.in:69: -1- m4_pattern_allow([^CXX$])
595 m4trace:configure.in:69: -1- AC_SUBST([CXXFLAGS])
596 m4trace:configure.in:69: -1- AC_SUBST_TRACE([CXXFLAGS])
597 m4trace:configure.in:69: -1- m4_pattern_allow([^CXXFLAGS$])
598 m4trace:configure.in:69: -1- AC_SUBST([LDFLAGS])
599 m4trace:configure.in:69: -1- AC_SUBST_TRACE([LDFLAGS])
600 m4trace:configure.in:69: -1- m4_pattern_allow([^LDFLAGS$])
601 m4trace:configure.in:69: -1- AC_SUBST([LIBS])
602 m4trace:configure.in:69: -1- AC_SUBST_TRACE([LIBS])
603 m4trace:configure.in:69: -1- m4_pattern_allow([^LIBS$])
604 m4trace:configure.in:69: -1- AC_SUBST([CPPFLAGS])
605 m4trace:configure.in:69: -1- AC_SUBST_TRACE([CPPFLAGS])
606 m4trace:configure.in:69: -1- m4_pattern_allow([^CPPFLAGS$])
607 m4trace:configure.in:69: -1- AC_SUBST([CXX])
608 m4trace:configure.in:69: -1- AC_SUBST_TRACE([CXX])
609 m4trace:configure.in:69: -1- m4_pattern_allow([^CXX$])
610 m4trace:configure.in:69: -1- AC_SUBST([ac_ct_CXX])
611 m4trace:configure.in:69: -1- AC_SUBST_TRACE([ac_ct_CXX])
612 m4trace:configure.in:69: -1- m4_pattern_allow([^ac_ct_CXX$])
613 m4trace:configure.in:69: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
614 m4trace:configure.in:69: -1- AC_SUBST_TRACE([CXXDEPMODE])
615 m4trace:configure.in:69: -1- m4_pattern_allow([^CXXDEPMODE$])
616 m4trace:configure.in:69: -1- AM_CONDITIONAL([am__fastdepCXX], [
617 test "x$enable_dependency_tracking" != xno \
618 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
619 m4trace:configure.in:69: -1- AC_SUBST([am__fastdepCXX_TRUE])
620 m4trace:configure.in:69: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
621 m4trace:configure.in:69: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
622 m4trace:configure.in:69: -1- AC_SUBST([am__fastdepCXX_FALSE])
623 m4trace:configure.in:69: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
624 m4trace:configure.in:69: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
625 m4trace:configure.in:69: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
626 m4trace:configure.in:69: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
627 m4trace:configure.in:69: -1- AC_SUBST([CXXCPP])
628 m4trace:configure.in:69: -1- AC_SUBST_TRACE([CXXCPP])
629 m4trace:configure.in:69: -1- m4_pattern_allow([^CXXCPP$])
630 m4trace:configure.in:69: -1- AC_SUBST([CPPFLAGS])
631 m4trace:configure.in:69: -1- AC_SUBST_TRACE([CPPFLAGS])
632 m4trace:configure.in:69: -1- m4_pattern_allow([^CPPFLAGS$])
633 m4trace:configure.in:69: -1- AC_SUBST([CXXCPP])
634 m4trace:configure.in:69: -1- AC_SUBST_TRACE([CXXCPP])
635 m4trace:configure.in:69: -1- m4_pattern_allow([^CXXCPP$])
636 m4trace:configure.in:69: -1- AC_SUBST([LD])
637 m4trace:configure.in:69: -1- AC_SUBST_TRACE([LD])
638 m4trace:configure.in:69: -1- m4_pattern_allow([^LD$])
639 m4trace:configure.in:69: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
640 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
641 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
642 aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
643 aclocal.m4:5354: _LT_LANG_CXX_CONFIG is expanded from...
644 aclocal.m4:800: _LT_LANG is expanded from...
645 aclocal.m4:783: LT_LANG is expanded from...
646 aclocal.m4:811: _LT_LANG_DEFAULT_CONFIG is expanded from...
647 aclocal.m4:159: _LT_SETUP is expanded from...
648 aclocal.m4:88: LT_INIT is expanded from...
649 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
650 configure.in:69: the top level])
651 m4trace:configure.in:69: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
652 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
653 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
654 aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
655 aclocal.m4:5354: _LT_LANG_CXX_CONFIG is expanded from...
656 aclocal.m4:800: _LT_LANG is expanded from...
657 aclocal.m4:783: LT_LANG is expanded from...
658 aclocal.m4:811: _LT_LANG_DEFAULT_CONFIG is expanded from...
659 aclocal.m4:159: _LT_SETUP is expanded from...
660 aclocal.m4:88: LT_INIT is expanded from...
661 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
662 configure.in:69: the top level])
663 m4trace:configure.in:80: -1- AC_SUBST([TCLSH])
664 m4trace:configure.in:80: -1- AC_SUBST_TRACE([TCLSH])
665 m4trace:configure.in:80: -1- m4_pattern_allow([^TCLSH$])
666 m4trace:configure.in:80: -1- AC_SUBST([TCL_DEFS])
667 m4trace:configure.in:80: -1- AC_SUBST_TRACE([TCL_DEFS])
668 m4trace:configure.in:80: -1- m4_pattern_allow([^TCL_DEFS$])
669 m4trace:configure.in:80: -1- AC_SUBST([TCL_LIBS])
670 m4trace:configure.in:80: -1- AC_SUBST_TRACE([TCL_LIBS])
671 m4trace:configure.in:80: -1- m4_pattern_allow([^TCL_LIBS$])
672 m4trace:configure.in:80: -1- AC_SUBST([TCL_CPPFLAGS])
673 m4trace:configure.in:80: -1- AC_SUBST_TRACE([TCL_CPPFLAGS])
674 m4trace:configure.in:80: -1- m4_pattern_allow([^TCL_CPPFLAGS$])
675 m4trace:configure.in:80: -1- AC_SUBST([TCL_PREFIX])
676 m4trace:configure.in:80: -1- AC_SUBST_TRACE([TCL_PREFIX])
677 m4trace:configure.in:80: -1- m4_pattern_allow([^TCL_PREFIX$])
678 m4trace:configure.in:85: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
679 m4trace:configure.in:85: -1- m4_pattern_allow([^STDC_HEADERS$])
680 m4trace:configure.in:85: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
681 @%:@undef STDC_HEADERS])
682 m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
683 @%:@undef HAVE_INTTYPES_H])
684 m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
685 @%:@undef HAVE_STDLIB_H])
686 m4trace:configure.in:86: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
687 @%:@undef HAVE_STRING_H])
688 m4trace:configure.in:95: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
689 You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
690 configure.in:95: the top level])
691 m4trace:configure.in:96: -1- AC_DEFINE_TRACE_LITERAL([size_t])
692 m4trace:configure.in:96: -1- m4_pattern_allow([^size_t$])
693 m4trace:configure.in:96: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
694 @%:@undef size_t])
695 m4trace:configure.in:101: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */
696 @%:@undef HAVE_STRCHR])
697 m4trace:configure.in:101: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
698 @%:@undef HAVE_STRSTR])
699 m4trace:configure.in:101: -1- AH_OUTPUT([HAVE_STRTOL], [/* Define to 1 if you have the `strtol\' function. */
700 @%:@undef HAVE_STRTOL])
701 m4trace:configure.in:101: -1- AH_OUTPUT([HAVE_STRTOULL], [/* Define to 1 if you have the `strtoull\' function. */
702 @%:@undef HAVE_STRTOULL])
703 m4trace:configure.in:101: -1- AH_OUTPUT([HAVE_INDEX], [/* Define to 1 if you have the `index\' function. */
704 @%:@undef HAVE_INDEX])
705 m4trace:configure.in:101: -1- AH_OUTPUT([HAVE_RINDEX], [/* Define to 1 if you have the `rindex\' function. */
706 @%:@undef HAVE_RINDEX])
707 m4trace:configure.in:102: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
708 @%:@undef HAVE_MEMSET])
709 m4trace:configure.in:102: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMSET])
710 m4trace:configure.in:102: -1- m4_pattern_allow([^HAVE_MEMSET$])
711 m4trace:configure.in:102: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS memset.$ac_objext"])
712 m4trace:configure.in:102: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
713 m4trace:configure.in:102: -1- m4_pattern_allow([^LIB@&t@OBJS$])
714 m4trace:configure.in:102: -1- AC_LIBSOURCE([memset.c])
715 m4trace:configure.in:120: -1- AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])
716 m4trace:configure.in:120: -1- AC_SUBST([DEBUG_TRUE])
717 m4trace:configure.in:120: -1- AC_SUBST_TRACE([DEBUG_TRUE])
718 m4trace:configure.in:120: -1- m4_pattern_allow([^DEBUG_TRUE$])
719 m4trace:configure.in:120: -1- AC_SUBST([DEBUG_FALSE])
720 m4trace:configure.in:120: -1- AC_SUBST_TRACE([DEBUG_FALSE])
721 m4trace:configure.in:120: -1- m4_pattern_allow([^DEBUG_FALSE$])
722 m4trace:configure.in:120: -1- _AM_SUBST_NOTMAKE([DEBUG_TRUE])
723 m4trace:configure.in:120: -1- _AM_SUBST_NOTMAKE([DEBUG_FALSE])
724 m4trace:configure.in:127: -2- AC_SUBST([with_final_prefix])
725 m4trace:configure.in:127: -2- AC_SUBST_TRACE([with_final_prefix])
726 m4trace:configure.in:127: -2- m4_pattern_allow([^with_final_prefix$])
727 m4trace:configure.in:130: -1- AM_CONDITIONAL([USE_FINAL_PREFIX], [test x$with_final_prefix != x])
728 m4trace:configure.in:130: -1- AC_SUBST([USE_FINAL_PREFIX_TRUE])
729 m4trace:configure.in:130: -1- AC_SUBST_TRACE([USE_FINAL_PREFIX_TRUE])
730 m4trace:configure.in:130: -1- m4_pattern_allow([^USE_FINAL_PREFIX_TRUE$])
731 m4trace:configure.in:130: -1- AC_SUBST([USE_FINAL_PREFIX_FALSE])
732 m4trace:configure.in:130: -1- AC_SUBST_TRACE([USE_FINAL_PREFIX_FALSE])
733 m4trace:configure.in:130: -1- m4_pattern_allow([^USE_FINAL_PREFIX_FALSE$])
734 m4trace:configure.in:130: -1- _AM_SUBST_NOTMAKE([USE_FINAL_PREFIX_TRUE])
735 m4trace:configure.in:130: -1- _AM_SUBST_NOTMAKE([USE_FINAL_PREFIX_FALSE])
736 m4trace:configure.in:133: -1- AC_CONFIG_FILES([Makefile ibnl/Makefile src/Makefile ibdm/Makefile Clusters/Makefile doc/Makefile scripts/Makefile])
737 m4trace:configure.in:133: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
738 You should run autoupdate.], [])
739 m4trace:configure.in:133: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
740 m4trace:configure.in:133: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
741 m4trace:configure.in:133: -1- m4_pattern_allow([^LIB@&t@OBJS$])
742 m4trace:configure.in:133: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
743 m4trace:configure.in:133: -1- AC_SUBST_TRACE([LTLIBOBJS])
744 m4trace:configure.in:133: -1- m4_pattern_allow([^LTLIBOBJS$])
745 m4trace:configure.in:133: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
746 m4trace:configure.in:133: -1- AC_SUBST([am__EXEEXT_TRUE])
747 m4trace:configure.in:133: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
748 m4trace:configure.in:133: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
749 m4trace:configure.in:133: -1- AC_SUBST([am__EXEEXT_FALSE])
750 m4trace:configure.in:133: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
751 m4trace:configure.in:133: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
752 m4trace:configure.in:133: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
753 m4trace:configure.in:133: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
754 m4trace:configure.in:133: -1- AC_SUBST_TRACE([top_builddir])
755 m4trace:configure.in:133: -1- AC_SUBST_TRACE([top_build_prefix])
756 m4trace:configure.in:133: -1- AC_SUBST_TRACE([srcdir])
757 m4trace:configure.in:133: -1- AC_SUBST_TRACE([abs_srcdir])
758 m4trace:configure.in:133: -1- AC_SUBST_TRACE([top_srcdir])
759 m4trace:configure.in:133: -1- AC_SUBST_TRACE([abs_top_srcdir])
760 m4trace:configure.in:133: -1- AC_SUBST_TRACE([builddir])
761 m4trace:configure.in:133: -1- AC_SUBST_TRACE([abs_builddir])
762 m4trace:configure.in:133: -1- AC_SUBST_TRACE([abs_top_builddir])
763 m4trace:configure.in:133: -1- AC_SUBST_TRACE([INSTALL])
764 m4trace:configure.in:133: -1- AC_SUBST_TRACE([MKDIR_P])
765 m4trace:configure.in:133: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
+0
-18086
ibis/autom4te.cache/output.0 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.69 for ibis 1.5.7.
3 @%:@
4 @%:@
5 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 @%:@
7 @%:@
8 @%:@ This configure script is free software; the Free Software Foundation
9 @%:@ gives unlimited permission to copy, distribute and modify it.
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 emulate sh
18 NULLCMD=:
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in @%:@(
25 *posix*) :
26 set -o posix ;; @%:@(
27 *) :
28 ;;
29 esac
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in @%:@(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
70
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
78 fi
79
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
87
88 # Find who we are. Look in the path if we contain no directory separator.
89 as_myself=
90 case $0 in @%:@((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in @%:@ ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in @%:@(
169 *posix*) :
170 set -o posix ;; @%:@(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198 test \$(( 1 + 1 )) = 2 || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in @%:@(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in @%:@ ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
270 fi
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 @%:@ as_fn_unset VAR
285 @%:@ ---------------
286 @%:@ Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 @%:@ as_fn_set_status STATUS
294 @%:@ -----------------------
295 @%:@ Set @S|@? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } @%:@ as_fn_set_status
300
301 @%:@ as_fn_exit STATUS
302 @%:@ -----------------
303 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } @%:@ as_fn_exit
310
311 @%:@ as_fn_mkdir_p
312 @%:@ -------------
313 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } @%:@ as_fn_mkdir_p
358
359 @%:@ as_fn_executable_p FILE
360 @%:@ -----------------------
361 @%:@ Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } @%:@ as_fn_executable_p
366 @%:@ as_fn_append VAR VALUE
367 @%:@ ----------------------
368 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
369 @%:@ advantage of any shell optimizations that allow amortized linear growth over
370 @%:@ repeated appends, instead of the typical quadratic growth present in naive
371 @%:@ implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 @%:@ as_fn_arith ARG...
385 @%:@ ------------------
386 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
387 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
388 @%:@ must be portable across @S|@(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
403 @%:@ ----------------------------------------
404 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 @%:@ script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } @%:@ as_fn_error
417
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
423 fi
424
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
429 fi
430
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
455
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
478 N
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
497 }
498
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in @%:@(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
508 *)
509 ECHO_N='-n';;
510 esac
511
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
538
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
544 fi
545
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
548
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556
557 # Check that we are running under the correct shell.
558 SHELL=${CONFIG_SHELL-/bin/sh}
559
560 case X$lt_ECHO in
561 X*--fallback-echo)
562 # Remove one level of quotation (which was required for Make).
563 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 ;;
565 esac
566
567 ECHO=${lt_ECHO-echo}
568 if test "X$1" = X--no-reexec; then
569 # Discard the --no-reexec flag, and continue.
570 shift
571 elif test "X$1" = X--fallback-echo; then
572 # Avoid inline document here, it may be left over
573 :
574 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
575 # Yippee, $ECHO works!
576 :
577 else
578 # Restart under the correct shell.
579 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 fi
581
582 if test "X$1" = X--fallback-echo; then
583 # used as fallback echo
584 shift
585 cat <<_LT_EOF
586 $*
587 _LT_EOF
588 exit 0
589 fi
590
591 # The HP-UX ksh and POSIX shell print the target directory to stdout
592 # if CDPATH is set.
593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
594
595 if test -z "$lt_ECHO"; then
596 if test "X${echo_test_string+set}" != Xset; then
597 # find a string as large as possible, as long as the shell can cope with it
598 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
599 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
600 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
601 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
602 then
603 break
604 fi
605 done
606 fi
607
608 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
609 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
611 :
612 else
613 # The Solaris, AIX, and Digital Unix default echo programs unquote
614 # backslashes. This makes it impossible to quote backslashes using
615 # echo "$something" | sed 's/\\/\\\\/g'
616 #
617 # So, first we look for a working echo in the user's PATH.
618
619 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
620 for dir in $PATH /usr/ucb; do
621 IFS="$lt_save_ifs"
622 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
623 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
626 ECHO="$dir/echo"
627 break
628 fi
629 done
630 IFS="$lt_save_ifs"
631
632 if test "X$ECHO" = Xecho; then
633 # We didn't find a better echo, so look for alternatives.
634 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
635 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 # This shell has a builtin print -r that does the trick.
638 ECHO='print -r'
639 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
640 test "X$CONFIG_SHELL" != X/bin/ksh; then
641 # If we have ksh, try running configure again with it.
642 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
643 export ORIGINAL_CONFIG_SHELL
644 CONFIG_SHELL=/bin/ksh
645 export CONFIG_SHELL
646 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 else
648 # Try using printf.
649 ECHO='printf %s\n'
650 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
651 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
653 # Cool, printf works
654 :
655 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
656 test "X$echo_testing_string" = 'X\t' &&
657 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
660 export CONFIG_SHELL
661 SHELL="$CONFIG_SHELL"
662 export SHELL
663 ECHO="$CONFIG_SHELL $0 --fallback-echo"
664 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
665 test "X$echo_testing_string" = 'X\t' &&
666 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
667 test "X$echo_testing_string" = "X$echo_test_string"; then
668 ECHO="$CONFIG_SHELL $0 --fallback-echo"
669 else
670 # maybe with a smaller string...
671 prev=:
672
673 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
674 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
675 then
676 break
677 fi
678 prev="$cmd"
679 done
680
681 if test "$prev" != 'sed 50q "$0"'; then
682 echo_test_string=`eval $prev`
683 export echo_test_string
684 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 else
686 # Oops. We lost completely, so just stick with echo.
687 ECHO=echo
688 fi
689 fi
690 fi
691 fi
692 fi
693 fi
694
695 # Copy echo and quote the copy suitably for passing to libtool from
696 # the Makefile, instead of quoting the original, which is used later.
697 lt_ECHO=$ECHO
698 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
699 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
700 fi
701
702
703
704
705 test -n "$DJDIR" || exec 7<&0 </dev/null
706 exec 6>&1
707
708 # Name of the host.
709 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
713 #
714 # Initializations.
715 #
716 ac_default_prefix=/usr/local
717 ac_clean_files=
718 ac_config_libobj_dir=.
719 LIB@&t@OBJS=
720 cross_compiling=no
721 subdirs=
722 MFLAGS=
723 MAKEFLAGS=
724
725 # Identity of this package.
726 PACKAGE_NAME='ibis'
727 PACKAGE_TARNAME='ibis'
728 PACKAGE_VERSION='1.5.7'
729 PACKAGE_STRING='ibis 1.5.7'
730 PACKAGE_BUGREPORT=''
731 PACKAGE_URL=''
732
733 ac_unique_file="src/ibis_api.h"
734 # Factoring default headers for most tests.
735 ac_includes_default="\
736 #include <stdio.h>
737 #ifdef HAVE_SYS_TYPES_H
738 # include <sys/types.h>
739 #endif
740 #ifdef HAVE_SYS_STAT_H
741 # include <sys/stat.h>
742 #endif
743 #ifdef STDC_HEADERS
744 # include <stdlib.h>
745 # include <stddef.h>
746 #else
747 # ifdef HAVE_STDLIB_H
748 # include <stdlib.h>
749 # endif
750 #endif
751 #ifdef HAVE_STRING_H
752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753 # include <memory.h>
754 # endif
755 # include <string.h>
756 #endif
757 #ifdef HAVE_STRINGS_H
758 # include <strings.h>
759 #endif
760 #ifdef HAVE_INTTYPES_H
761 # include <inttypes.h>
762 #endif
763 #ifdef HAVE_STDINT_H
764 # include <stdint.h>
765 #endif
766 #ifdef HAVE_UNISTD_H
767 # include <unistd.h>
768 #endif"
769
770 ac_subst_vars='am__EXEEXT_FALSE
771 am__EXEEXT_TRUE
772 LTLIBOBJS
773 LIB@&t@OBJS
774 OSM_BUILD
775 OSM_VENDOR
776 OSM_LDFLAGS
777 OSM_CFLAGS
778 with_osm
779 OSM_BUILD_OPENIB_FALSE
780 OSM_BUILD_OPENIB_TRUE
781 OSM_VENDOR_SIM_FALSE
782 OSM_VENDOR_SIM_TRUE
783 OSM_VENDOR_MTL_FALSE
784 OSM_VENDOR_MTL_TRUE
785 OSM_VENDOR_TS_FALSE
786 OSM_VENDOR_TS_TRUE
787 DEBUG_FALSE
788 DEBUG_TRUE
789 TCL_PREFIX
790 TCL_CPPFLAGS
791 TCL_LIBS
792 TCL_DEFS
793 TCLSH
794 CXXCPP
795 OTOOL64
796 OTOOL
797 LIPO
798 NMEDIT
799 DSYMUTIL
800 lt_ECHO
801 RANLIB
802 AR
803 OBJDUMP
804 NM
805 ac_ct_DUMPBIN
806 DUMPBIN
807 LD
808 FGREP
809 EGREP
810 GREP
811 SED
812 host_os
813 host_vendor
814 host_cpu
815 host
816 build_os
817 build_vendor
818 build_cpu
819 build
820 LIBTOOL
821 CPP
822 am__fastdepCC_FALSE
823 am__fastdepCC_TRUE
824 CCDEPMODE
825 ac_ct_CC
826 CFLAGS
827 CC
828 am__fastdepCXX_FALSE
829 am__fastdepCXX_TRUE
830 CXXDEPMODE
831 AMDEPBACKSLASH
832 AMDEP_FALSE
833 AMDEP_TRUE
834 am__quote
835 am__include
836 DEPDIR
837 OBJEXT
838 EXEEXT
839 ac_ct_CXX
840 CPPFLAGS
841 LDFLAGS
842 CXXFLAGS
843 CXX
844 SWIG_LIB
845 HAS_SWIG_FALSE
846 HAS_SWIG_TRUE
847 SWIG
848 LN_S
849 MAINT
850 MAINTAINER_MODE_FALSE
851 MAINTAINER_MODE_TRUE
852 am__untar
853 am__tar
854 AMTAR
855 am__leading_dot
856 SET_MAKE
857 AWK
858 mkdir_p
859 MKDIR_P
860 INSTALL_STRIP_PROGRAM
861 STRIP
862 install_sh
863 MAKEINFO
864 AUTOHEADER
865 AUTOMAKE
866 AUTOCONF
867 ACLOCAL
868 VERSION
869 PACKAGE
870 CYGPATH_W
871 am__isrc
872 INSTALL_DATA
873 INSTALL_SCRIPT
874 INSTALL_PROGRAM
875 target_alias
876 host_alias
877 build_alias
878 LIBS
879 ECHO_T
880 ECHO_N
881 ECHO_C
882 DEFS
883 mandir
884 localedir
885 libdir
886 psdir
887 pdfdir
888 dvidir
889 htmldir
890 infodir
891 docdir
892 oldincludedir
893 includedir
894 localstatedir
895 sharedstatedir
896 sysconfdir
897 datadir
898 datarootdir
899 libexecdir
900 sbindir
901 bindir
902 program_transform_name
903 prefix
904 exec_prefix
905 PACKAGE_URL
906 PACKAGE_BUGREPORT
907 PACKAGE_STRING
908 PACKAGE_VERSION
909 PACKAGE_TARNAME
910 PACKAGE_NAME
911 PATH_SEPARATOR
912 SHELL'
913 ac_subst_files=''
914 ac_user_opts='
915 enable_option_checking
916 enable_maintainer_mode
917 enable_dependency_tracking
918 enable_shared
919 enable_static
920 with_pic
921 enable_fast_install
922 with_gnu_ld
923 enable_libtool_lock
924 enable_libcheck
925 with_tclconfig
926 with_tcl
927 with_tclsh
928 enable_debug
929 with_osm
930 with_osm_libs
931 '
932 ac_precious_vars='build_alias
933 host_alias
934 target_alias
935 CXX
936 CXXFLAGS
937 LDFLAGS
938 LIBS
939 CPPFLAGS
940 CCC
941 CC
942 CFLAGS
943 CPP
944 CXXCPP'
945
946
947 # Initialize some variables set by options.
948 ac_init_help=
949 ac_init_version=false
950 ac_unrecognized_opts=
951 ac_unrecognized_sep=
952 # The variables have the same names as the options, with
953 # dashes changed to underlines.
954 cache_file=/dev/null
955 exec_prefix=NONE
956 no_create=
957 no_recursion=
958 prefix=NONE
959 program_prefix=NONE
960 program_suffix=NONE
961 program_transform_name=s,x,x,
962 silent=
963 site=
964 srcdir=
965 verbose=
966 x_includes=NONE
967 x_libraries=NONE
968
969 # Installation directory options.
970 # These are left unexpanded so users can "make install exec_prefix=/foo"
971 # and all the variables that are supposed to be based on exec_prefix
972 # by default will actually change.
973 # Use braces instead of parens because sh, perl, etc. also accept them.
974 # (The list follows the same order as the GNU Coding Standards.)
975 bindir='${exec_prefix}/bin'
976 sbindir='${exec_prefix}/sbin'
977 libexecdir='${exec_prefix}/libexec'
978 datarootdir='${prefix}/share'
979 datadir='${datarootdir}'
980 sysconfdir='${prefix}/etc'
981 sharedstatedir='${prefix}/com'
982 localstatedir='${prefix}/var'
983 includedir='${prefix}/include'
984 oldincludedir='/usr/include'
985 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
986 infodir='${datarootdir}/info'
987 htmldir='${docdir}'
988 dvidir='${docdir}'
989 pdfdir='${docdir}'
990 psdir='${docdir}'
991 libdir='${exec_prefix}/lib'
992 localedir='${datarootdir}/locale'
993 mandir='${datarootdir}/man'
994
995 ac_prev=
996 ac_dashdash=
997 for ac_option
998 do
999 # If the previous option needs an argument, assign it.
1000 if test -n "$ac_prev"; then
1001 eval $ac_prev=\$ac_option
1002 ac_prev=
1003 continue
1004 fi
1005
1006 case $ac_option in
1007 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1008 *=) ac_optarg= ;;
1009 *) ac_optarg=yes ;;
1010 esac
1011
1012 # Accept the important Cygnus configure options, so we can diagnose typos.
1013
1014 case $ac_dashdash$ac_option in
1015 --)
1016 ac_dashdash=yes ;;
1017
1018 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1019 ac_prev=bindir ;;
1020 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1021 bindir=$ac_optarg ;;
1022
1023 -build | --build | --buil | --bui | --bu)
1024 ac_prev=build_alias ;;
1025 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1026 build_alias=$ac_optarg ;;
1027
1028 -cache-file | --cache-file | --cache-fil | --cache-fi \
1029 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1030 ac_prev=cache_file ;;
1031 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1032 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1033 cache_file=$ac_optarg ;;
1034
1035 --config-cache | -C)
1036 cache_file=config.cache ;;
1037
1038 -datadir | --datadir | --datadi | --datad)
1039 ac_prev=datadir ;;
1040 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1041 datadir=$ac_optarg ;;
1042
1043 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1044 | --dataroo | --dataro | --datar)
1045 ac_prev=datarootdir ;;
1046 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1047 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1048 datarootdir=$ac_optarg ;;
1049
1050 -disable-* | --disable-*)
1051 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054 as_fn_error $? "invalid feature name: $ac_useropt"
1055 ac_useropt_orig=$ac_useropt
1056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1058 *"
1059 "enable_$ac_useropt"
1060 "*) ;;
1061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1062 ac_unrecognized_sep=', ';;
1063 esac
1064 eval enable_$ac_useropt=no ;;
1065
1066 -docdir | --docdir | --docdi | --doc | --do)
1067 ac_prev=docdir ;;
1068 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1069 docdir=$ac_optarg ;;
1070
1071 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1072 ac_prev=dvidir ;;
1073 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1074 dvidir=$ac_optarg ;;
1075
1076 -enable-* | --enable-*)
1077 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080 as_fn_error $? "invalid feature name: $ac_useropt"
1081 ac_useropt_orig=$ac_useropt
1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1084 *"
1085 "enable_$ac_useropt"
1086 "*) ;;
1087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1088 ac_unrecognized_sep=', ';;
1089 esac
1090 eval enable_$ac_useropt=\$ac_optarg ;;
1091
1092 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1093 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1094 | --exec | --exe | --ex)
1095 ac_prev=exec_prefix ;;
1096 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1097 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1098 | --exec=* | --exe=* | --ex=*)
1099 exec_prefix=$ac_optarg ;;
1100
1101 -gas | --gas | --ga | --g)
1102 # Obsolete; use --with-gas.
1103 with_gas=yes ;;
1104
1105 -help | --help | --hel | --he | -h)
1106 ac_init_help=long ;;
1107 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1108 ac_init_help=recursive ;;
1109 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1110 ac_init_help=short ;;
1111
1112 -host | --host | --hos | --ho)
1113 ac_prev=host_alias ;;
1114 -host=* | --host=* | --hos=* | --ho=*)
1115 host_alias=$ac_optarg ;;
1116
1117 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1118 ac_prev=htmldir ;;
1119 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1120 | --ht=*)
1121 htmldir=$ac_optarg ;;
1122
1123 -includedir | --includedir | --includedi | --included | --include \
1124 | --includ | --inclu | --incl | --inc)
1125 ac_prev=includedir ;;
1126 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1127 | --includ=* | --inclu=* | --incl=* | --inc=*)
1128 includedir=$ac_optarg ;;
1129
1130 -infodir | --infodir | --infodi | --infod | --info | --inf)
1131 ac_prev=infodir ;;
1132 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1133 infodir=$ac_optarg ;;
1134
1135 -libdir | --libdir | --libdi | --libd)
1136 ac_prev=libdir ;;
1137 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1138 libdir=$ac_optarg ;;
1139
1140 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1141 | --libexe | --libex | --libe)
1142 ac_prev=libexecdir ;;
1143 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1144 | --libexe=* | --libex=* | --libe=*)
1145 libexecdir=$ac_optarg ;;
1146
1147 -localedir | --localedir | --localedi | --localed | --locale)
1148 ac_prev=localedir ;;
1149 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1150 localedir=$ac_optarg ;;
1151
1152 -localstatedir | --localstatedir | --localstatedi | --localstated \
1153 | --localstate | --localstat | --localsta | --localst | --locals)
1154 ac_prev=localstatedir ;;
1155 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1156 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1157 localstatedir=$ac_optarg ;;
1158
1159 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1160 ac_prev=mandir ;;
1161 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1162 mandir=$ac_optarg ;;
1163
1164 -nfp | --nfp | --nf)
1165 # Obsolete; use --without-fp.
1166 with_fp=no ;;
1167
1168 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1169 | --no-cr | --no-c | -n)
1170 no_create=yes ;;
1171
1172 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1173 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1174 no_recursion=yes ;;
1175
1176 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1177 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1178 | --oldin | --oldi | --old | --ol | --o)
1179 ac_prev=oldincludedir ;;
1180 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1181 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1182 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1183 oldincludedir=$ac_optarg ;;
1184
1185 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1186 ac_prev=prefix ;;
1187 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1188 prefix=$ac_optarg ;;
1189
1190 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1191 | --program-pre | --program-pr | --program-p)
1192 ac_prev=program_prefix ;;
1193 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1194 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1195 program_prefix=$ac_optarg ;;
1196
1197 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1198 | --program-suf | --program-su | --program-s)
1199 ac_prev=program_suffix ;;
1200 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1201 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1202 program_suffix=$ac_optarg ;;
1203
1204 -program-transform-name | --program-transform-name \
1205 | --program-transform-nam | --program-transform-na \
1206 | --program-transform-n | --program-transform- \
1207 | --program-transform | --program-transfor \
1208 | --program-transfo | --program-transf \
1209 | --program-trans | --program-tran \
1210 | --progr-tra | --program-tr | --program-t)
1211 ac_prev=program_transform_name ;;
1212 -program-transform-name=* | --program-transform-name=* \
1213 | --program-transform-nam=* | --program-transform-na=* \
1214 | --program-transform-n=* | --program-transform-=* \
1215 | --program-transform=* | --program-transfor=* \
1216 | --program-transfo=* | --program-transf=* \
1217 | --program-trans=* | --program-tran=* \
1218 | --progr-tra=* | --program-tr=* | --program-t=*)
1219 program_transform_name=$ac_optarg ;;
1220
1221 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1222 ac_prev=pdfdir ;;
1223 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1224 pdfdir=$ac_optarg ;;
1225
1226 -psdir | --psdir | --psdi | --psd | --ps)
1227 ac_prev=psdir ;;
1228 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1229 psdir=$ac_optarg ;;
1230
1231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1232 | -silent | --silent | --silen | --sile | --sil)
1233 silent=yes ;;
1234
1235 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1236 ac_prev=sbindir ;;
1237 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1238 | --sbi=* | --sb=*)
1239 sbindir=$ac_optarg ;;
1240
1241 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1242 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1243 | --sharedst | --shareds | --shared | --share | --shar \
1244 | --sha | --sh)
1245 ac_prev=sharedstatedir ;;
1246 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1247 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1248 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1249 | --sha=* | --sh=*)
1250 sharedstatedir=$ac_optarg ;;
1251
1252 -site | --site | --sit)
1253 ac_prev=site ;;
1254 -site=* | --site=* | --sit=*)
1255 site=$ac_optarg ;;
1256
1257 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1258 ac_prev=srcdir ;;
1259 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1260 srcdir=$ac_optarg ;;
1261
1262 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1263 | --syscon | --sysco | --sysc | --sys | --sy)
1264 ac_prev=sysconfdir ;;
1265 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1266 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1267 sysconfdir=$ac_optarg ;;
1268
1269 -target | --target | --targe | --targ | --tar | --ta | --t)
1270 ac_prev=target_alias ;;
1271 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1272 target_alias=$ac_optarg ;;
1273
1274 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1275 verbose=yes ;;
1276
1277 -version | --version | --versio | --versi | --vers | -V)
1278 ac_init_version=: ;;
1279
1280 -with-* | --with-*)
1281 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1284 as_fn_error $? "invalid package name: $ac_useropt"
1285 ac_useropt_orig=$ac_useropt
1286 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1287 case $ac_user_opts in
1288 *"
1289 "with_$ac_useropt"
1290 "*) ;;
1291 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1292 ac_unrecognized_sep=', ';;
1293 esac
1294 eval with_$ac_useropt=\$ac_optarg ;;
1295
1296 -without-* | --without-*)
1297 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1298 # Reject names that are not valid shell variable names.
1299 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1300 as_fn_error $? "invalid package name: $ac_useropt"
1301 ac_useropt_orig=$ac_useropt
1302 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303 case $ac_user_opts in
1304 *"
1305 "with_$ac_useropt"
1306 "*) ;;
1307 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1308 ac_unrecognized_sep=', ';;
1309 esac
1310 eval with_$ac_useropt=no ;;
1311
1312 --x)
1313 # Obsolete; use --with-x.
1314 with_x=yes ;;
1315
1316 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1317 | --x-incl | --x-inc | --x-in | --x-i)
1318 ac_prev=x_includes ;;
1319 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1320 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1321 x_includes=$ac_optarg ;;
1322
1323 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1324 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1325 ac_prev=x_libraries ;;
1326 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1327 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1328 x_libraries=$ac_optarg ;;
1329
1330 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1331 Try \`$0 --help' for more information"
1332 ;;
1333
1334 *=*)
1335 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1336 # Reject names that are not valid shell variable names.
1337 case $ac_envvar in #(
1338 '' | [0-9]* | *[!_$as_cr_alnum]* )
1339 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1340 esac
1341 eval $ac_envvar=\$ac_optarg
1342 export $ac_envvar ;;
1343
1344 *)
1345 # FIXME: should be removed in autoconf 3.0.
1346 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1347 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1348 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1349 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1350 ;;
1351
1352 esac
1353 done
1354
1355 if test -n "$ac_prev"; then
1356 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1357 as_fn_error $? "missing argument to $ac_option"
1358 fi
1359
1360 if test -n "$ac_unrecognized_opts"; then
1361 case $enable_option_checking in
1362 no) ;;
1363 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1364 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1365 esac
1366 fi
1367
1368 # Check all directory arguments for consistency.
1369 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1370 datadir sysconfdir sharedstatedir localstatedir includedir \
1371 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1372 libdir localedir mandir
1373 do
1374 eval ac_val=\$$ac_var
1375 # Remove trailing slashes.
1376 case $ac_val in
1377 */ )
1378 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1379 eval $ac_var=\$ac_val;;
1380 esac
1381 # Be sure to have absolute directory names.
1382 case $ac_val in
1383 [\\/$]* | ?:[\\/]* ) continue;;
1384 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1385 esac
1386 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1387 done
1388
1389 # There might be people who depend on the old broken behavior: `$host'
1390 # used to hold the argument of --host etc.
1391 # FIXME: To remove some day.
1392 build=$build_alias
1393 host=$host_alias
1394 target=$target_alias
1395
1396 # FIXME: To remove some day.
1397 if test "x$host_alias" != x; then
1398 if test "x$build_alias" = x; then
1399 cross_compiling=maybe
1400 elif test "x$build_alias" != "x$host_alias"; then
1401 cross_compiling=yes
1402 fi
1403 fi
1404
1405 ac_tool_prefix=
1406 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1407
1408 test "$silent" = yes && exec 6>/dev/null
1409
1410
1411 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1412 ac_ls_di=`ls -di .` &&
1413 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1414 as_fn_error $? "working directory cannot be determined"
1415 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1416 as_fn_error $? "pwd does not report name of working directory"
1417
1418
1419 # Find the source files, if location was not specified.
1420 if test -z "$srcdir"; then
1421 ac_srcdir_defaulted=yes
1422 # Try the directory containing this script, then the parent directory.
1423 ac_confdir=`$as_dirname -- "$as_myself" ||
1424 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1425 X"$as_myself" : 'X\(//\)[^/]' \| \
1426 X"$as_myself" : 'X\(//\)$' \| \
1427 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1428 $as_echo X"$as_myself" |
1429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1430 s//\1/
1431 q
1432 }
1433 /^X\(\/\/\)[^/].*/{
1434 s//\1/
1435 q
1436 }
1437 /^X\(\/\/\)$/{
1438 s//\1/
1439 q
1440 }
1441 /^X\(\/\).*/{
1442 s//\1/
1443 q
1444 }
1445 s/.*/./; q'`
1446 srcdir=$ac_confdir
1447 if test ! -r "$srcdir/$ac_unique_file"; then
1448 srcdir=..
1449 fi
1450 else
1451 ac_srcdir_defaulted=no
1452 fi
1453 if test ! -r "$srcdir/$ac_unique_file"; then
1454 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1455 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1456 fi
1457 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1458 ac_abs_confdir=`(
1459 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1460 pwd)`
1461 # When building in place, set srcdir=.
1462 if test "$ac_abs_confdir" = "$ac_pwd"; then
1463 srcdir=.
1464 fi
1465 # Remove unnecessary trailing slashes from srcdir.
1466 # Double slashes in file names in object file debugging info
1467 # mess up M-x gdb in Emacs.
1468 case $srcdir in
1469 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1470 esac
1471 for ac_var in $ac_precious_vars; do
1472 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1473 eval ac_env_${ac_var}_value=\$${ac_var}
1474 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1475 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1476 done
1477
1478 #
1479 # Report the --help message.
1480 #
1481 if test "$ac_init_help" = "long"; then
1482 # Omit some internal or obsolete options to make the list less imposing.
1483 # This message is too long to be a string in the A/UX 3.1 sh.
1484 cat <<_ACEOF
1485 \`configure' configures ibis 1.5.7 to adapt to many kinds of systems.
1486
1487 Usage: $0 [OPTION]... [VAR=VALUE]...
1488
1489 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1490 VAR=VALUE. See below for descriptions of some of the useful variables.
1491
1492 Defaults for the options are specified in brackets.
1493
1494 Configuration:
1495 -h, --help display this help and exit
1496 --help=short display options specific to this package
1497 --help=recursive display the short help of all the included packages
1498 -V, --version display version information and exit
1499 -q, --quiet, --silent do not print \`checking ...' messages
1500 --cache-file=FILE cache test results in FILE [disabled]
1501 -C, --config-cache alias for \`--cache-file=config.cache'
1502 -n, --no-create do not create output files
1503 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1504
1505 Installation directories:
1506 --prefix=PREFIX install architecture-independent files in PREFIX
1507 @<:@@S|@ac_default_prefix@:>@
1508 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1509 @<:@PREFIX@:>@
1510
1511 By default, \`make install' will install all the files in
1512 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1513 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1514 for instance \`--prefix=\$HOME'.
1515
1516 For better control, use the options below.
1517
1518 Fine tuning of the installation directories:
1519 --bindir=DIR user executables [EPREFIX/bin]
1520 --sbindir=DIR system admin executables [EPREFIX/sbin]
1521 --libexecdir=DIR program executables [EPREFIX/libexec]
1522 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1523 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1524 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1525 --libdir=DIR object code libraries [EPREFIX/lib]
1526 --includedir=DIR C header files [PREFIX/include]
1527 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1528 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1529 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1530 --infodir=DIR info documentation [DATAROOTDIR/info]
1531 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1532 --mandir=DIR man documentation [DATAROOTDIR/man]
1533 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ibis@:>@
1534 --htmldir=DIR html documentation [DOCDIR]
1535 --dvidir=DIR dvi documentation [DOCDIR]
1536 --pdfdir=DIR pdf documentation [DOCDIR]
1537 --psdir=DIR ps documentation [DOCDIR]
1538 _ACEOF
1539
1540 cat <<\_ACEOF
1541
1542 Program names:
1543 --program-prefix=PREFIX prepend PREFIX to installed program names
1544 --program-suffix=SUFFIX append SUFFIX to installed program names
1545 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1546
1547 System types:
1548 --build=BUILD configure for building on BUILD [guessed]
1549 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1550 _ACEOF
1551 fi
1552
1553 if test -n "$ac_init_help"; then
1554 case $ac_init_help in
1555 short | recursive ) echo "Configuration of ibis 1.5.7:";;
1556 esac
1557 cat <<\_ACEOF
1558
1559 Optional Features:
1560 --disable-option-checking ignore unrecognized --enable/--with options
1561 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1562 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1563 --enable-maintainer-mode enable make rules and dependencies not useful
1564 (and sometimes confusing) to the casual installer
1565 --disable-dependency-tracking speeds up one-time build
1566 --enable-dependency-tracking do not reject slow dependency extractors
1567 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1568 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1569 --enable-fast-install@<:@=PKGS@:>@
1570 optimize for fast installation @<:@default=yes@:>@
1571 --disable-libtool-lock avoid locking (might break parallel builds)
1572 --enable-libcheck Enable Dependency Checking
1573 --enable-debug Turn on debugging
1574
1575 Optional Packages:
1576 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1577 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1578 --with-pic try to use only PIC/non-PIC objects @<:@default=use
1579 both@:>@
1580 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1581 --with-tclconfig=PATH use tclConfig.sh from PATH
1582 (configure gets Tcl configuration from here)
1583 --with-tcl=PATH use Tcl from PATH
1584 --with-tclsh=TCLSH use TCLSH as the tclsh program
1585 (let configure find Tcl using this program)
1586 --with-osm=<dir> define OSM prefix
1587 --with-osm-libs=<dir> define where to find OSM libs
1588
1589 Some influential environment variables:
1590 CXX C++ compiler command
1591 CXXFLAGS C++ compiler flags
1592 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1593 nonstandard directory <lib dir>
1594 LIBS libraries to pass to the linker, e.g. -l<library>
1595 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1596 you have headers in a nonstandard directory <include dir>
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 CPP C preprocessor
1600 CXXCPP C++ preprocessor
1601
1602 Use these variables to override the choices made by `configure' or to help
1603 it to find libraries and programs with nonstandard names/locations.
1604
1605 Report bugs to the package provider.
1606 _ACEOF
1607 ac_status=$?
1608 fi
1609
1610 if test "$ac_init_help" = "recursive"; then
1611 # If there are subdirs, report their specific --help.
1612 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1613 test -d "$ac_dir" ||
1614 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1615 continue
1616 ac_builddir=.
1617
1618 case "$ac_dir" in
1619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620 *)
1621 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1622 # A ".." for each directory in $ac_dir_suffix.
1623 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1624 case $ac_top_builddir_sub in
1625 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1626 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1627 esac ;;
1628 esac
1629 ac_abs_top_builddir=$ac_pwd
1630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1631 # for backward compatibility:
1632 ac_top_builddir=$ac_top_build_prefix
1633
1634 case $srcdir in
1635 .) # We are building in place.
1636 ac_srcdir=.
1637 ac_top_srcdir=$ac_top_builddir_sub
1638 ac_abs_top_srcdir=$ac_pwd ;;
1639 [\\/]* | ?:[\\/]* ) # Absolute name.
1640 ac_srcdir=$srcdir$ac_dir_suffix;
1641 ac_top_srcdir=$srcdir
1642 ac_abs_top_srcdir=$srcdir ;;
1643 *) # Relative name.
1644 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1645 ac_top_srcdir=$ac_top_build_prefix$srcdir
1646 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1647 esac
1648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1649
1650 cd "$ac_dir" || { ac_status=$?; continue; }
1651 # Check for guested configure.
1652 if test -f "$ac_srcdir/configure.gnu"; then
1653 echo &&
1654 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1655 elif test -f "$ac_srcdir/configure"; then
1656 echo &&
1657 $SHELL "$ac_srcdir/configure" --help=recursive
1658 else
1659 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1660 fi || ac_status=$?
1661 cd "$ac_pwd" || { ac_status=$?; break; }
1662 done
1663 fi
1664
1665 test -n "$ac_init_help" && exit $ac_status
1666 if $ac_init_version; then
1667 cat <<\_ACEOF
1668 ibis configure 1.5.7
1669 generated by GNU Autoconf 2.69
1670
1671 Copyright (C) 2012 Free Software Foundation, Inc.
1672 This configure script is free software; the Free Software Foundation
1673 gives unlimited permission to copy, distribute and modify it.
1674 _ACEOF
1675 exit
1676 fi
1677
1678 ## ------------------------ ##
1679 ## Autoconf initialization. ##
1680 ## ------------------------ ##
1681
1682 @%:@ ac_fn_cxx_try_compile LINENO
1683 @%:@ ----------------------------
1684 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1685 ac_fn_cxx_try_compile ()
1686 {
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688 rm -f conftest.$ac_objext
1689 if { { ac_try="$ac_compile"
1690 case "(($ac_try" in
1691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692 *) ac_try_echo=$ac_try;;
1693 esac
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_compile") 2>conftest.err
1697 ac_status=$?
1698 if test -s conftest.err; then
1699 grep -v '^ *+' conftest.err >conftest.er1
1700 cat conftest.er1 >&5
1701 mv -f conftest.er1 conftest.err
1702 fi
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; } && {
1705 test -z "$ac_cxx_werror_flag" ||
1706 test ! -s conftest.err
1707 } && test -s conftest.$ac_objext; then :
1708 ac_retval=0
1709 else
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1712
1713 ac_retval=1
1714 fi
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 as_fn_set_status $ac_retval
1717
1718 } @%:@ ac_fn_cxx_try_compile
1719
1720 @%:@ ac_fn_c_try_compile LINENO
1721 @%:@ --------------------------
1722 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1723 ac_fn_c_try_compile ()
1724 {
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 rm -f conftest.$ac_objext
1727 if { { ac_try="$ac_compile"
1728 case "(($ac_try" in
1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1731 esac
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_compile") 2>conftest.err
1735 ac_status=$?
1736 if test -s conftest.err; then
1737 grep -v '^ *+' conftest.err >conftest.er1
1738 cat conftest.er1 >&5
1739 mv -f conftest.er1 conftest.err
1740 fi
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && {
1743 test -z "$ac_c_werror_flag" ||
1744 test ! -s conftest.err
1745 } && test -s conftest.$ac_objext; then :
1746 ac_retval=0
1747 else
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1750
1751 ac_retval=1
1752 fi
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1755
1756 } @%:@ ac_fn_c_try_compile
1757
1758 @%:@ ac_fn_c_try_cpp LINENO
1759 @%:@ ----------------------
1760 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1761 ac_fn_c_try_cpp ()
1762 {
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 if { { ac_try="$ac_cpp conftest.$ac_ext"
1765 case "(($ac_try" in
1766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1768 esac
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1772 ac_status=$?
1773 if test -s conftest.err; then
1774 grep -v '^ *+' conftest.err >conftest.er1
1775 cat conftest.er1 >&5
1776 mv -f conftest.er1 conftest.err
1777 fi
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } > conftest.i && {
1780 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1781 test ! -s conftest.err
1782 }; then :
1783 ac_retval=0
1784 else
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1787
1788 ac_retval=1
1789 fi
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status $ac_retval
1792
1793 } @%:@ ac_fn_c_try_cpp
1794
1795 @%:@ ac_fn_c_try_link LINENO
1796 @%:@ -----------------------
1797 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1798 ac_fn_c_try_link ()
1799 {
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 rm -f conftest.$ac_objext conftest$ac_exeext
1802 if { { ac_try="$ac_link"
1803 case "(($ac_try" in
1804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1805 *) ac_try_echo=$ac_try;;
1806 esac
1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_link") 2>conftest.err
1810 ac_status=$?
1811 if test -s conftest.err; then
1812 grep -v '^ *+' conftest.err >conftest.er1
1813 cat conftest.er1 >&5
1814 mv -f conftest.er1 conftest.err
1815 fi
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_c_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest$ac_exeext && {
1821 test "$cross_compiling" = yes ||
1822 test -x conftest$ac_exeext
1823 }; then :
1824 ac_retval=0
1825 else
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1828
1829 ac_retval=1
1830 fi
1831 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1832 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1833 # interfere with the next link command; also delete a directory that is
1834 # left behind by Apple's compiler. We do this before executing the actions.
1835 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837 as_fn_set_status $ac_retval
1838
1839 } @%:@ ac_fn_c_try_link
1840
1841 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1842 @%:@ -------------------------------------------------------
1843 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1844 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1845 ac_fn_c_check_header_compile ()
1846 {
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1849 $as_echo_n "checking for $2... " >&6; }
1850 if eval \${$3+:} false; then :
1851 $as_echo_n "(cached) " >&6
1852 else
1853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1854 /* end confdefs.h. */
1855 $4
1856 @%:@include <$2>
1857 _ACEOF
1858 if ac_fn_c_try_compile "$LINENO"; then :
1859 eval "$3=yes"
1860 else
1861 eval "$3=no"
1862 fi
1863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1864 fi
1865 eval ac_res=\$$3
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869
1870 } @%:@ ac_fn_c_check_header_compile
1871
1872 @%:@ ac_fn_c_try_run LINENO
1873 @%:@ ----------------------
1874 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1875 @%:@ that executables *can* be run.
1876 ac_fn_c_try_run ()
1877 {
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 if { { ac_try="$ac_link"
1880 case "(($ac_try" in
1881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882 *) ac_try_echo=$ac_try;;
1883 esac
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_link") 2>&5
1887 ac_status=$?
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1890 { { case "(($ac_try" in
1891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892 *) ac_try_echo=$ac_try;;
1893 esac
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896 (eval "$ac_try") 2>&5
1897 ac_status=$?
1898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899 test $ac_status = 0; }; }; then :
1900 ac_retval=0
1901 else
1902 $as_echo "$as_me: program exited with status $ac_status" >&5
1903 $as_echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.$ac_ext >&5
1905
1906 ac_retval=$ac_status
1907 fi
1908 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 as_fn_set_status $ac_retval
1911
1912 } @%:@ ac_fn_c_try_run
1913
1914 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1915 @%:@ ----------------------------------
1916 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1917 ac_fn_c_check_func ()
1918 {
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if eval \${$3+:} false; then :
1923 $as_echo_n "(cached) " >&6
1924 else
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1927 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1929 #define $2 innocuous_$2
1930
1931 /* System header to define __stub macros and hopefully few prototypes,
1932 which can conflict with char $2 (); below.
1933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1934 <limits.h> exists even on freestanding compilers. */
1935
1936 #ifdef __STDC__
1937 # include <limits.h>
1938 #else
1939 # include <assert.h>
1940 #endif
1941
1942 #undef $2
1943
1944 /* Override any GCC internal prototype to avoid an error.
1945 Use char because int might match the return type of a GCC
1946 builtin and then its argument prototype would still apply. */
1947 #ifdef __cplusplus
1948 extern "C"
1949 #endif
1950 char $2 ();
1951 /* The GNU C library defines this for functions which it implements
1952 to always fail with ENOSYS. Some functions are actually named
1953 something starting with __ and the normal name is an alias. */
1954 #if defined __stub_$2 || defined __stub___$2
1955 choke me
1956 #endif
1957
1958 int
1959 main ()
1960 {
1961 return $2 ();
1962 ;
1963 return 0;
1964 }
1965 _ACEOF
1966 if ac_fn_c_try_link "$LINENO"; then :
1967 eval "$3=yes"
1968 else
1969 eval "$3=no"
1970 fi
1971 rm -f core conftest.err conftest.$ac_objext \
1972 conftest$ac_exeext conftest.$ac_ext
1973 fi
1974 eval ac_res=\$$3
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978
1979 } @%:@ ac_fn_c_check_func
1980
1981 @%:@ ac_fn_cxx_try_cpp LINENO
1982 @%:@ ------------------------
1983 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1984 ac_fn_cxx_try_cpp ()
1985 {
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 if { { ac_try="$ac_cpp conftest.$ac_ext"
1988 case "(($ac_try" in
1989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1990 *) ac_try_echo=$ac_try;;
1991 esac
1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1995 ac_status=$?
1996 if test -s conftest.err; then
1997 grep -v '^ *+' conftest.err >conftest.er1
1998 cat conftest.er1 >&5
1999 mv -f conftest.er1 conftest.err
2000 fi
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; } > conftest.i && {
2003 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2004 test ! -s conftest.err
2005 }; then :
2006 ac_retval=0
2007 else
2008 $as_echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.$ac_ext >&5
2010
2011 ac_retval=1
2012 fi
2013 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2014 as_fn_set_status $ac_retval
2015
2016 } @%:@ ac_fn_cxx_try_cpp
2017
2018 @%:@ ac_fn_cxx_try_link LINENO
2019 @%:@ -------------------------
2020 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2021 ac_fn_cxx_try_link ()
2022 {
2023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024 rm -f conftest.$ac_objext conftest$ac_exeext
2025 if { { ac_try="$ac_link"
2026 case "(($ac_try" in
2027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2028 *) ac_try_echo=$ac_try;;
2029 esac
2030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032 (eval "$ac_link") 2>conftest.err
2033 ac_status=$?
2034 if test -s conftest.err; then
2035 grep -v '^ *+' conftest.err >conftest.er1
2036 cat conftest.er1 >&5
2037 mv -f conftest.er1 conftest.err
2038 fi
2039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2040 test $ac_status = 0; } && {
2041 test -z "$ac_cxx_werror_flag" ||
2042 test ! -s conftest.err
2043 } && test -s conftest$ac_exeext && {
2044 test "$cross_compiling" = yes ||
2045 test -x conftest$ac_exeext
2046 }; then :
2047 ac_retval=0
2048 else
2049 $as_echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.$ac_ext >&5
2051
2052 ac_retval=1
2053 fi
2054 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2055 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2056 # interfere with the next link command; also delete a directory that is
2057 # left behind by Apple's compiler. We do this before executing the actions.
2058 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2060 as_fn_set_status $ac_retval
2061
2062 } @%:@ ac_fn_cxx_try_link
2063
2064 @%:@ ac_fn_cxx_try_run LINENO
2065 @%:@ ------------------------
2066 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2067 @%:@ that executables *can* be run.
2068 ac_fn_cxx_try_run ()
2069 {
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 if { { ac_try="$ac_link"
2072 case "(($ac_try" in
2073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2075 esac
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_link") 2>&5
2079 ac_status=$?
2080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2081 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2082 { { case "(($ac_try" in
2083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2084 *) ac_try_echo=$ac_try;;
2085 esac
2086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2087 $as_echo "$ac_try_echo"; } >&5
2088 (eval "$ac_try") 2>&5
2089 ac_status=$?
2090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2091 test $ac_status = 0; }; }; then :
2092 ac_retval=0
2093 else
2094 $as_echo "$as_me: program exited with status $ac_status" >&5
2095 $as_echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.$ac_ext >&5
2097
2098 ac_retval=$ac_status
2099 fi
2100 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2102 as_fn_set_status $ac_retval
2103
2104 } @%:@ ac_fn_cxx_try_run
2105
2106 @%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2107 @%:@ ---------------------------------------------------------
2108 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2109 @%:@ the include files in INCLUDES and setting the cache variable VAR
2110 @%:@ accordingly.
2111 ac_fn_cxx_check_header_mongrel ()
2112 {
2113 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2114 if eval \${$3+:} false; then :
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2116 $as_echo_n "checking for $2... " >&6; }
2117 if eval \${$3+:} false; then :
2118 $as_echo_n "(cached) " >&6
2119 fi
2120 eval ac_res=\$$3
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122 $as_echo "$ac_res" >&6; }
2123 else
2124 # Is the header compilable?
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2126 $as_echo_n "checking $2 usability... " >&6; }
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2129 $4
2130 @%:@include <$2>
2131 _ACEOF
2132 if ac_fn_cxx_try_compile "$LINENO"; then :
2133 ac_header_compiler=yes
2134 else
2135 ac_header_compiler=no
2136 fi
2137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2139 $as_echo "$ac_header_compiler" >&6; }
2140
2141 # Is the header present?
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2143 $as_echo_n "checking $2 presence... " >&6; }
2144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2145 /* end confdefs.h. */
2146 @%:@include <$2>
2147 _ACEOF
2148 if ac_fn_cxx_try_cpp "$LINENO"; then :
2149 ac_header_preproc=yes
2150 else
2151 ac_header_preproc=no
2152 fi
2153 rm -f conftest.err conftest.i conftest.$ac_ext
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2155 $as_echo "$ac_header_preproc" >&6; }
2156
2157 # So? What about this header?
2158 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2159 yes:no: )
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2161 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2163 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2164 ;;
2165 no:yes:* )
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2167 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2169 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2171 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2173 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2175 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2176 ;;
2177 esac
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2179 $as_echo_n "checking for $2... " >&6; }
2180 if eval \${$3+:} false; then :
2181 $as_echo_n "(cached) " >&6
2182 else
2183 eval "$3=\$ac_header_compiler"
2184 fi
2185 eval ac_res=\$$3
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2187 $as_echo "$ac_res" >&6; }
2188 fi
2189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2190
2191 } @%:@ ac_fn_cxx_check_header_mongrel
2192
2193 @%:@ ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2194 @%:@ ---------------------------------------------
2195 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2196 @%:@ variable VAR accordingly.
2197 ac_fn_cxx_check_type ()
2198 {
2199 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2201 $as_echo_n "checking for $2... " >&6; }
2202 if eval \${$3+:} false; then :
2203 $as_echo_n "(cached) " >&6
2204 else
2205 eval "$3=no"
2206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207 /* end confdefs.h. */
2208 $4
2209 int
2210 main ()
2211 {
2212 if (sizeof ($2))
2213 return 0;
2214 ;
2215 return 0;
2216 }
2217 _ACEOF
2218 if ac_fn_cxx_try_compile "$LINENO"; then :
2219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220 /* end confdefs.h. */
2221 $4
2222 int
2223 main ()
2224 {
2225 if (sizeof (($2)))
2226 return 0;
2227 ;
2228 return 0;
2229 }
2230 _ACEOF
2231 if ac_fn_cxx_try_compile "$LINENO"; then :
2232
2233 else
2234 eval "$3=yes"
2235 fi
2236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2237 fi
2238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2239 fi
2240 eval ac_res=\$$3
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2242 $as_echo "$ac_res" >&6; }
2243 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2244
2245 } @%:@ ac_fn_cxx_check_type
2246
2247 @%:@ ac_fn_cxx_check_func LINENO FUNC VAR
2248 @%:@ ------------------------------------
2249 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2250 ac_fn_cxx_check_func ()
2251 {
2252 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2254 $as_echo_n "checking for $2... " >&6; }
2255 if eval \${$3+:} false; then :
2256 $as_echo_n "(cached) " >&6
2257 else
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2260 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2262 #define $2 innocuous_$2
2263
2264 /* System header to define __stub macros and hopefully few prototypes,
2265 which can conflict with char $2 (); below.
2266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2267 <limits.h> exists even on freestanding compilers. */
2268
2269 #ifdef __STDC__
2270 # include <limits.h>
2271 #else
2272 # include <assert.h>
2273 #endif
2274
2275 #undef $2
2276
2277 /* Override any GCC internal prototype to avoid an error.
2278 Use char because int might match the return type of a GCC
2279 builtin and then its argument prototype would still apply. */
2280 #ifdef __cplusplus
2281 extern "C"
2282 #endif
2283 char $2 ();
2284 /* The GNU C library defines this for functions which it implements
2285 to always fail with ENOSYS. Some functions are actually named
2286 something starting with __ and the normal name is an alias. */
2287 #if defined __stub_$2 || defined __stub___$2
2288 choke me
2289 #endif
2290
2291 int
2292 main ()
2293 {
2294 return $2 ();
2295 ;
2296 return 0;
2297 }
2298 _ACEOF
2299 if ac_fn_cxx_try_link "$LINENO"; then :
2300 eval "$3=yes"
2301 else
2302 eval "$3=no"
2303 fi
2304 rm -f core conftest.err conftest.$ac_objext \
2305 conftest$ac_exeext conftest.$ac_ext
2306 fi
2307 eval ac_res=\$$3
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2309 $as_echo "$ac_res" >&6; }
2310 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2311
2312 } @%:@ ac_fn_cxx_check_func
2313 cat >config.log <<_ACEOF
2314 This file contains any messages produced by compilers while
2315 running configure, to aid debugging if configure makes a mistake.
2316
2317 It was created by ibis $as_me 1.5.7, which was
2318 generated by GNU Autoconf 2.69. Invocation command line was
2319
2320 $ $0 $@
2321
2322 _ACEOF
2323 exec 5>>config.log
2324 {
2325 cat <<_ASUNAME
2326 ## --------- ##
2327 ## Platform. ##
2328 ## --------- ##
2329
2330 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2331 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2332 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2333 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2334 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2335
2336 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2337 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2338
2339 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2340 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2341 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2342 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2343 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2344 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2345 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2346
2347 _ASUNAME
2348
2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 for as_dir in $PATH
2351 do
2352 IFS=$as_save_IFS
2353 test -z "$as_dir" && as_dir=.
2354 $as_echo "PATH: $as_dir"
2355 done
2356 IFS=$as_save_IFS
2357
2358 } >&5
2359
2360 cat >&5 <<_ACEOF
2361
2362
2363 ## ----------- ##
2364 ## Core tests. ##
2365 ## ----------- ##
2366
2367 _ACEOF
2368
2369
2370 # Keep a trace of the command line.
2371 # Strip out --no-create and --no-recursion so they do not pile up.
2372 # Strip out --silent because we don't want to record it for future runs.
2373 # Also quote any args containing shell meta-characters.
2374 # Make two passes to allow for proper duplicate-argument suppression.
2375 ac_configure_args=
2376 ac_configure_args0=
2377 ac_configure_args1=
2378 ac_must_keep_next=false
2379 for ac_pass in 1 2
2380 do
2381 for ac_arg
2382 do
2383 case $ac_arg in
2384 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2385 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2386 | -silent | --silent | --silen | --sile | --sil)
2387 continue ;;
2388 *\'*)
2389 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2390 esac
2391 case $ac_pass in
2392 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2393 2)
2394 as_fn_append ac_configure_args1 " '$ac_arg'"
2395 if test $ac_must_keep_next = true; then
2396 ac_must_keep_next=false # Got value, back to normal.
2397 else
2398 case $ac_arg in
2399 *=* | --config-cache | -C | -disable-* | --disable-* \
2400 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2401 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2402 | -with-* | --with-* | -without-* | --without-* | --x)
2403 case "$ac_configure_args0 " in
2404 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2405 esac
2406 ;;
2407 -* ) ac_must_keep_next=true ;;
2408 esac
2409 fi
2410 as_fn_append ac_configure_args " '$ac_arg'"
2411 ;;
2412 esac
2413 done
2414 done
2415 { ac_configure_args0=; unset ac_configure_args0;}
2416 { ac_configure_args1=; unset ac_configure_args1;}
2417
2418 # When interrupted or exit'd, cleanup temporary files, and complete
2419 # config.log. We remove comments because anyway the quotes in there
2420 # would cause problems or look ugly.
2421 # WARNING: Use '\'' to represent an apostrophe within the trap.
2422 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2423 trap 'exit_status=$?
2424 # Save into config.log some information that might help in debugging.
2425 {
2426 echo
2427
2428 $as_echo "## ---------------- ##
2429 ## Cache variables. ##
2430 ## ---------------- ##"
2431 echo
2432 # The following way of writing the cache mishandles newlines in values,
2433 (
2434 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2435 eval ac_val=\$$ac_var
2436 case $ac_val in #(
2437 *${as_nl}*)
2438 case $ac_var in #(
2439 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2440 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2441 esac
2442 case $ac_var in #(
2443 _ | IFS | as_nl) ;; #(
2444 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2445 *) { eval $ac_var=; unset $ac_var;} ;;
2446 esac ;;
2447 esac
2448 done
2449 (set) 2>&1 |
2450 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2451 *${as_nl}ac_space=\ *)
2452 sed -n \
2453 "s/'\''/'\''\\\\'\'''\''/g;
2454 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2455 ;; #(
2456 *)
2457 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2458 ;;
2459 esac |
2460 sort
2461 )
2462 echo
2463
2464 $as_echo "## ----------------- ##
2465 ## Output variables. ##
2466 ## ----------------- ##"
2467 echo
2468 for ac_var in $ac_subst_vars
2469 do
2470 eval ac_val=\$$ac_var
2471 case $ac_val in
2472 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2473 esac
2474 $as_echo "$ac_var='\''$ac_val'\''"
2475 done | sort
2476 echo
2477
2478 if test -n "$ac_subst_files"; then
2479 $as_echo "## ------------------- ##
2480 ## File substitutions. ##
2481 ## ------------------- ##"
2482 echo
2483 for ac_var in $ac_subst_files
2484 do
2485 eval ac_val=\$$ac_var
2486 case $ac_val in
2487 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2488 esac
2489 $as_echo "$ac_var='\''$ac_val'\''"
2490 done | sort
2491 echo
2492 fi
2493
2494 if test -s confdefs.h; then
2495 $as_echo "## ----------- ##
2496 ## confdefs.h. ##
2497 ## ----------- ##"
2498 echo
2499 cat confdefs.h
2500 echo
2501 fi
2502 test "$ac_signal" != 0 &&
2503 $as_echo "$as_me: caught signal $ac_signal"
2504 $as_echo "$as_me: exit $exit_status"
2505 } >&5
2506 rm -f core *.core core.conftest.* &&
2507 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2508 exit $exit_status
2509 ' 0
2510 for ac_signal in 1 2 13 15; do
2511 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2512 done
2513 ac_signal=0
2514
2515 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2516 rm -f -r conftest* confdefs.h
2517
2518 $as_echo "/* confdefs.h */" > confdefs.h
2519
2520 # Predefined preprocessor variables.
2521
2522 cat >>confdefs.h <<_ACEOF
2523 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2524 _ACEOF
2525
2526 cat >>confdefs.h <<_ACEOF
2527 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2528 _ACEOF
2529
2530 cat >>confdefs.h <<_ACEOF
2531 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2532 _ACEOF
2533
2534 cat >>confdefs.h <<_ACEOF
2535 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2536 _ACEOF
2537
2538 cat >>confdefs.h <<_ACEOF
2539 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2540 _ACEOF
2541
2542 cat >>confdefs.h <<_ACEOF
2543 @%:@define PACKAGE_URL "$PACKAGE_URL"
2544 _ACEOF
2545
2546
2547 # Let the site file select an alternate cache file if it wants to.
2548 # Prefer an explicitly selected file to automatically selected ones.
2549 ac_site_file1=NONE
2550 ac_site_file2=NONE
2551 if test -n "$CONFIG_SITE"; then
2552 # We do not want a PATH search for config.site.
2553 case $CONFIG_SITE in @%:@((
2554 -*) ac_site_file1=./$CONFIG_SITE;;
2555 */*) ac_site_file1=$CONFIG_SITE;;
2556 *) ac_site_file1=./$CONFIG_SITE;;
2557 esac
2558 elif test "x$prefix" != xNONE; then
2559 ac_site_file1=$prefix/share/config.site
2560 ac_site_file2=$prefix/etc/config.site
2561 else
2562 ac_site_file1=$ac_default_prefix/share/config.site
2563 ac_site_file2=$ac_default_prefix/etc/config.site
2564 fi
2565 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2566 do
2567 test "x$ac_site_file" = xNONE && continue
2568 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2570 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2571 sed 's/^/| /' "$ac_site_file" >&5
2572 . "$ac_site_file" \
2573 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2575 as_fn_error $? "failed to load site script $ac_site_file
2576 See \`config.log' for more details" "$LINENO" 5; }
2577 fi
2578 done
2579
2580 if test -r "$cache_file"; then
2581 # Some versions of bash will fail to source /dev/null (special files
2582 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2583 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2585 $as_echo "$as_me: loading cache $cache_file" >&6;}
2586 case $cache_file in
2587 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2588 *) . "./$cache_file";;
2589 esac
2590 fi
2591 else
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2593 $as_echo "$as_me: creating cache $cache_file" >&6;}
2594 >$cache_file
2595 fi
2596
2597 # Check that the precious variables saved in the cache have kept the same
2598 # value.
2599 ac_cache_corrupted=false
2600 for ac_var in $ac_precious_vars; do
2601 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2602 eval ac_new_set=\$ac_env_${ac_var}_set
2603 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2604 eval ac_new_val=\$ac_env_${ac_var}_value
2605 case $ac_old_set,$ac_new_set in
2606 set,)
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2608 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2609 ac_cache_corrupted=: ;;
2610 ,set)
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2612 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2613 ac_cache_corrupted=: ;;
2614 ,);;
2615 *)
2616 if test "x$ac_old_val" != "x$ac_new_val"; then
2617 # differences in whitespace do not lead to failure.
2618 ac_old_val_w=`echo x $ac_old_val`
2619 ac_new_val_w=`echo x $ac_new_val`
2620 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2622 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2623 ac_cache_corrupted=:
2624 else
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2626 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2627 eval $ac_var=\$ac_old_val
2628 fi
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2630 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2632 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2633 fi;;
2634 esac
2635 # Pass precious variables to config.status.
2636 if test "$ac_new_set" = set; then
2637 case $ac_new_val in
2638 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2639 *) ac_arg=$ac_var=$ac_new_val ;;
2640 esac
2641 case " $ac_configure_args " in
2642 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2643 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2644 esac
2645 fi
2646 done
2647 if $ac_cache_corrupted; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2651 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2652 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2653 fi
2654 ## -------------------- ##
2655 ## Main body of script. ##
2656 ## -------------------- ##
2657
2658 ac_ext=c
2659 ac_cpp='$CPP $CPPFLAGS'
2660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2663
2664
2665
2666
2667 ac_aux_dir=
2668 for ac_dir in config "$srcdir"/config; do
2669 if test -f "$ac_dir/install-sh"; then
2670 ac_aux_dir=$ac_dir
2671 ac_install_sh="$ac_aux_dir/install-sh -c"
2672 break
2673 elif test -f "$ac_dir/install.sh"; then
2674 ac_aux_dir=$ac_dir
2675 ac_install_sh="$ac_aux_dir/install.sh -c"
2676 break
2677 elif test -f "$ac_dir/shtool"; then
2678 ac_aux_dir=$ac_dir
2679 ac_install_sh="$ac_aux_dir/shtool install -c"
2680 break
2681 fi
2682 done
2683 if test -z "$ac_aux_dir"; then
2684 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2685 fi
2686
2687 # These three variables are undocumented and unsupported,
2688 # and are intended to be withdrawn in a future Autoconf release.
2689 # They can cause serious problems if a builder's source tree is in a directory
2690 # whose full name contains unusual characters.
2691 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2692 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2693 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2694
2695
2696
2697 ac_ext=cpp
2698 ac_cpp='$CXXCPP $CPPFLAGS'
2699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2702
2703
2704 ac_config_headers="$ac_config_headers config.h"
2705
2706
2707 am__api_version='1.11'
2708
2709 # Find a good install program. We prefer a C program (faster),
2710 # so one script is as good as another. But avoid the broken or
2711 # incompatible versions:
2712 # SysV /etc/install, /usr/sbin/install
2713 # SunOS /usr/etc/install
2714 # IRIX /sbin/install
2715 # AIX /bin/install
2716 # AmigaOS /C/install, which installs bootblocks on floppy discs
2717 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2718 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2719 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2720 # OS/2's system install, which has a completely different semantic
2721 # ./install, which can be erroneously created by make from ./install.sh.
2722 # Reject install programs that cannot install multiple files.
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2724 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2725 if test -z "$INSTALL"; then
2726 if ${ac_cv_path_install+:} false; then :
2727 $as_echo_n "(cached) " >&6
2728 else
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 for as_dir in $PATH
2731 do
2732 IFS=$as_save_IFS
2733 test -z "$as_dir" && as_dir=.
2734 # Account for people who put trailing slashes in PATH elements.
2735 case $as_dir/ in @%:@((
2736 ./ | .// | /[cC]/* | \
2737 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2738 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2739 /usr/ucb/* ) ;;
2740 *)
2741 # OSF1 and SCO ODT 3.0 have their own names for install.
2742 # Don't use installbsd from OSF since it installs stuff as root
2743 # by default.
2744 for ac_prog in ginstall scoinst install; do
2745 for ac_exec_ext in '' $ac_executable_extensions; do
2746 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2747 if test $ac_prog = install &&
2748 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2749 # AIX install. It has an incompatible calling convention.
2750 :
2751 elif test $ac_prog = install &&
2752 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2753 # program-specific install script used by HP pwplus--don't use.
2754 :
2755 else
2756 rm -rf conftest.one conftest.two conftest.dir
2757 echo one > conftest.one
2758 echo two > conftest.two
2759 mkdir conftest.dir
2760 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2761 test -s conftest.one && test -s conftest.two &&
2762 test -s conftest.dir/conftest.one &&
2763 test -s conftest.dir/conftest.two
2764 then
2765 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2766 break 3
2767 fi
2768 fi
2769 fi
2770 done
2771 done
2772 ;;
2773 esac
2774
2775 done
2776 IFS=$as_save_IFS
2777
2778 rm -rf conftest.one conftest.two conftest.dir
2779
2780 fi
2781 if test "${ac_cv_path_install+set}" = set; then
2782 INSTALL=$ac_cv_path_install
2783 else
2784 # As a last resort, use the slow shell script. Don't cache a
2785 # value for INSTALL within a source directory, because that will
2786 # break other packages using the cache if that directory is
2787 # removed, or if the value is a relative name.
2788 INSTALL=$ac_install_sh
2789 fi
2790 fi
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2792 $as_echo "$INSTALL" >&6; }
2793
2794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2795 # It thinks the first close brace ends the variable substitution.
2796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2797
2798 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2799
2800 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2801
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2803 $as_echo_n "checking whether build environment is sane... " >&6; }
2804 # Just in case
2805 sleep 1
2806 echo timestamp > conftest.file
2807 # Reject unsafe characters in $srcdir or the absolute working directory
2808 # name. Accept space and tab only in the latter.
2809 am_lf='
2810 '
2811 case `pwd` in
2812 *[\\\"\#\$\&\'\`$am_lf]*)
2813 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2814 esac
2815 case $srcdir in
2816 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2817 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2818 esac
2819
2820 # Do `set' in a subshell so we don't clobber the current shell's
2821 # arguments. Must try -L first in case configure is actually a
2822 # symlink; some systems play weird games with the mod time of symlinks
2823 # (eg FreeBSD returns the mod time of the symlink's containing
2824 # directory).
2825 if (
2826 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2827 if test "$*" = "X"; then
2828 # -L didn't work.
2829 set X `ls -t "$srcdir/configure" conftest.file`
2830 fi
2831 rm -f conftest.file
2832 if test "$*" != "X $srcdir/configure conftest.file" \
2833 && test "$*" != "X conftest.file $srcdir/configure"; then
2834
2835 # If neither matched, then we have a broken ls. This can happen
2836 # if, for instance, CONFIG_SHELL is bash and it inherits a
2837 # broken ls alias from the environment. This has actually
2838 # happened. Such a system could not be considered "sane".
2839 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2840 alias in your environment" "$LINENO" 5
2841 fi
2842
2843 test "$2" = conftest.file
2844 )
2845 then
2846 # Ok.
2847 :
2848 else
2849 as_fn_error $? "newly created file is older than distributed files!
2850 Check your system clock" "$LINENO" 5
2851 fi
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2853 $as_echo "yes" >&6; }
2854 test "$program_prefix" != NONE &&
2855 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2856 # Use a double $ so make ignores it.
2857 test "$program_suffix" != NONE &&
2858 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2859 # Double any \ or $.
2860 # By default was `s,x,x', remove it if useless.
2861 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2862 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2863
2864 # expand $ac_aux_dir to an absolute path
2865 am_aux_dir=`cd $ac_aux_dir && pwd`
2866
2867 if test x"${MISSING+set}" != xset; then
2868 case $am_aux_dir in
2869 *\ * | *\ *)
2870 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2871 *)
2872 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2873 esac
2874 fi
2875 # Use eval to expand $SHELL
2876 if eval "$MISSING --run true"; then
2877 am_missing_run="$MISSING --run "
2878 else
2879 am_missing_run=
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2881 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2882 fi
2883
2884 if test x"${install_sh}" != xset; then
2885 case $am_aux_dir in
2886 *\ * | *\ *)
2887 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2888 *)
2889 install_sh="\${SHELL} $am_aux_dir/install-sh"
2890 esac
2891 fi
2892
2893 # Installed binaries are usually stripped using `strip' when the user
2894 # run `make install-strip'. However `strip' might not be the right
2895 # tool to use in cross-compilation environments, therefore Automake
2896 # will honor the `STRIP' environment variable to overrule this program.
2897 if test "$cross_compiling" != no; then
2898 if test -n "$ac_tool_prefix"; then
2899 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2900 set dummy ${ac_tool_prefix}strip; ac_word=$2
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902 $as_echo_n "checking for $ac_word... " >&6; }
2903 if ${ac_cv_prog_STRIP+:} false; then :
2904 $as_echo_n "(cached) " >&6
2905 else
2906 if test -n "$STRIP"; then
2907 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2908 else
2909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 for as_dir in $PATH
2911 do
2912 IFS=$as_save_IFS
2913 test -z "$as_dir" && as_dir=.
2914 for ac_exec_ext in '' $ac_executable_extensions; do
2915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2916 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2918 break 2
2919 fi
2920 done
2921 done
2922 IFS=$as_save_IFS
2923
2924 fi
2925 fi
2926 STRIP=$ac_cv_prog_STRIP
2927 if test -n "$STRIP"; then
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2929 $as_echo "$STRIP" >&6; }
2930 else
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2932 $as_echo "no" >&6; }
2933 fi
2934
2935
2936 fi
2937 if test -z "$ac_cv_prog_STRIP"; then
2938 ac_ct_STRIP=$STRIP
2939 # Extract the first word of "strip", so it can be a program name with args.
2940 set dummy strip; ac_word=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 if test -n "$ac_ct_STRIP"; then
2947 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2948 else
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 for as_dir in $PATH
2951 do
2952 IFS=$as_save_IFS
2953 test -z "$as_dir" && as_dir=.
2954 for ac_exec_ext in '' $ac_executable_extensions; do
2955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956 ac_cv_prog_ac_ct_STRIP="strip"
2957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 break 2
2959 fi
2960 done
2961 done
2962 IFS=$as_save_IFS
2963
2964 fi
2965 fi
2966 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2967 if test -n "$ac_ct_STRIP"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2969 $as_echo "$ac_ct_STRIP" >&6; }
2970 else
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2973 fi
2974
2975 if test "x$ac_ct_STRIP" = x; then
2976 STRIP=":"
2977 else
2978 case $cross_compiling:$ac_tool_warned in
2979 yes:)
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2982 ac_tool_warned=yes ;;
2983 esac
2984 STRIP=$ac_ct_STRIP
2985 fi
2986 else
2987 STRIP="$ac_cv_prog_STRIP"
2988 fi
2989
2990 fi
2991 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2992
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2994 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2995 if test -z "$MKDIR_P"; then
2996 if ${ac_cv_path_mkdir+:} false; then :
2997 $as_echo_n "(cached) " >&6
2998 else
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3001 do
3002 IFS=$as_save_IFS
3003 test -z "$as_dir" && as_dir=.
3004 for ac_prog in mkdir gmkdir; do
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3007 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3008 'mkdir (GNU coreutils) '* | \
3009 'mkdir (coreutils) '* | \
3010 'mkdir (fileutils) '4.1*)
3011 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3012 break 3;;
3013 esac
3014 done
3015 done
3016 done
3017 IFS=$as_save_IFS
3018
3019 fi
3020
3021 test -d ./--version && rmdir ./--version
3022 if test "${ac_cv_path_mkdir+set}" = set; then
3023 MKDIR_P="$ac_cv_path_mkdir -p"
3024 else
3025 # As a last resort, use the slow shell script. Don't cache a
3026 # value for MKDIR_P within a source directory, because that will
3027 # break other packages using the cache if that directory is
3028 # removed, or if the value is a relative name.
3029 MKDIR_P="$ac_install_sh -d"
3030 fi
3031 fi
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3033 $as_echo "$MKDIR_P" >&6; }
3034
3035 mkdir_p="$MKDIR_P"
3036 case $mkdir_p in
3037 [\\/$]* | ?:[\\/]*) ;;
3038 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3039 esac
3040
3041 for ac_prog in gawk mawk nawk awk
3042 do
3043 # Extract the first word of "$ac_prog", so it can be a program name with args.
3044 set dummy $ac_prog; ac_word=$2
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046 $as_echo_n "checking for $ac_word... " >&6; }
3047 if ${ac_cv_prog_AWK+:} false; then :
3048 $as_echo_n "(cached) " >&6
3049 else
3050 if test -n "$AWK"; then
3051 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3052 else
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 for as_dir in $PATH
3055 do
3056 IFS=$as_save_IFS
3057 test -z "$as_dir" && as_dir=.
3058 for ac_exec_ext in '' $ac_executable_extensions; do
3059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3060 ac_cv_prog_AWK="$ac_prog"
3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 break 2
3063 fi
3064 done
3065 done
3066 IFS=$as_save_IFS
3067
3068 fi
3069 fi
3070 AWK=$ac_cv_prog_AWK
3071 if test -n "$AWK"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3073 $as_echo "$AWK" >&6; }
3074 else
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3077 fi
3078
3079
3080 test -n "$AWK" && break
3081 done
3082
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3084 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3085 set x ${MAKE-make}
3086 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3087 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3088 $as_echo_n "(cached) " >&6
3089 else
3090 cat >conftest.make <<\_ACEOF
3091 SHELL = /bin/sh
3092 all:
3093 @echo '@@@%%%=$(MAKE)=@@@%%%'
3094 _ACEOF
3095 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3096 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3097 *@@@%%%=?*=@@@%%%*)
3098 eval ac_cv_prog_make_${ac_make}_set=yes;;
3099 *)
3100 eval ac_cv_prog_make_${ac_make}_set=no;;
3101 esac
3102 rm -f conftest.make
3103 fi
3104 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3106 $as_echo "yes" >&6; }
3107 SET_MAKE=
3108 else
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3111 SET_MAKE="MAKE=${MAKE-make}"
3112 fi
3113
3114 rm -rf .tst 2>/dev/null
3115 mkdir .tst 2>/dev/null
3116 if test -d .tst; then
3117 am__leading_dot=.
3118 else
3119 am__leading_dot=_
3120 fi
3121 rmdir .tst 2>/dev/null
3122
3123 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3124 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3125 # is not polluted with repeated "-I."
3126 am__isrc=' -I$(srcdir)'
3127 # test to see if srcdir already configured
3128 if test -f $srcdir/config.status; then
3129 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3130 fi
3131 fi
3132
3133 # test whether we have cygpath
3134 if test -z "$CYGPATH_W"; then
3135 if (cygpath --version) >/dev/null 2>/dev/null; then
3136 CYGPATH_W='cygpath -w'
3137 else
3138 CYGPATH_W=echo
3139 fi
3140 fi
3141
3142
3143 # Define the identity of the package.
3144 PACKAGE='ibis'
3145 VERSION='1.5.7'
3146
3147
3148 cat >>confdefs.h <<_ACEOF
3149 @%:@define PACKAGE "$PACKAGE"
3150 _ACEOF
3151
3152
3153 cat >>confdefs.h <<_ACEOF
3154 @%:@define VERSION "$VERSION"
3155 _ACEOF
3156
3157 # Some tools Automake needs.
3158
3159 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3160
3161
3162 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3163
3164
3165 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3166
3167
3168 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3169
3170
3171 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3172
3173 # We need awk for the "check" target. The system "awk" is bad on
3174 # some platforms.
3175 # Always define AMTAR for backward compatibility.
3176
3177 AMTAR=${AMTAR-"${am_missing_run}tar"}
3178
3179 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3180
3181
3182
3183
3184
3185
3186
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3188 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3189 @%:@ Check whether --enable-maintainer-mode was given.
3190 if test "${enable_maintainer_mode+set}" = set; then :
3191 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3192 else
3193 USE_MAINTAINER_MODE=no
3194 fi
3195
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3197 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3198 if test $USE_MAINTAINER_MODE = yes; then
3199 MAINTAINER_MODE_TRUE=
3200 MAINTAINER_MODE_FALSE='#'
3201 else
3202 MAINTAINER_MODE_TRUE='#'
3203 MAINTAINER_MODE_FALSE=
3204 fi
3205
3206 MAINT=$MAINTAINER_MODE_TRUE
3207
3208
3209
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3211 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3212 set x ${MAKE-make}
3213 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3214 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3215 $as_echo_n "(cached) " >&6
3216 else
3217 cat >conftest.make <<\_ACEOF
3218 SHELL = /bin/sh
3219 all:
3220 @echo '@@@%%%=$(MAKE)=@@@%%%'
3221 _ACEOF
3222 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3223 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3224 *@@@%%%=?*=@@@%%%*)
3225 eval ac_cv_prog_make_${ac_make}_set=yes;;
3226 *)
3227 eval ac_cv_prog_make_${ac_make}_set=no;;
3228 esac
3229 rm -f conftest.make
3230 fi
3231 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3233 $as_echo "yes" >&6; }
3234 SET_MAKE=
3235 else
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3238 SET_MAKE="MAKE=${MAKE-make}"
3239 fi
3240
3241
3242
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3244 $as_echo_n "checking whether ln -s works... " >&6; }
3245 LN_S=$as_ln_s
3246 if test "$LN_S" = "ln -s"; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3248 $as_echo "yes" >&6; }
3249 else
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3251 $as_echo "no, using $LN_S" >&6; }
3252 fi
3253
3254
3255 # Extract the first word of "swig", so it can be a program name with args.
3256 set dummy swig; ac_word=$2
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3258 $as_echo_n "checking for $ac_word... " >&6; }
3259 if ${ac_cv_path_SWIG+:} false; then :
3260 $as_echo_n "(cached) " >&6
3261 else
3262 case $SWIG in
3263 [\\/]* | ?:[\\/]*)
3264 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
3265 ;;
3266 *)
3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 for as_dir in $PATH
3269 do
3270 IFS=$as_save_IFS
3271 test -z "$as_dir" && as_dir=.
3272 for ac_exec_ext in '' $ac_executable_extensions; do
3273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3274 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
3275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 break 2
3277 fi
3278 done
3279 done
3280 IFS=$as_save_IFS
3281
3282 ;;
3283 esac
3284 fi
3285 SWIG=$ac_cv_path_SWIG
3286 if test -n "$SWIG"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
3288 $as_echo "$SWIG" >&6; }
3289 else
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3292 fi
3293
3294
3295 # we use this to track the existance of swig
3296 has_swig=0
3297 if test -z "$SWIG" ; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&5
3299 $as_echo "$as_me: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&2;}
3300 SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
3301 elif test -n "1.1.5" ; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWIG version" >&5
3303 $as_echo_n "checking for SWIG version... " >&6; }
3304 swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
3306 $as_echo "$swig_version" >&6; }
3307 if test -n "$swig_version" ; then
3308 # Calculate the required version number components
3309 required=1.1.5
3310 required_major=`echo $required | sed 's/[^0-9].*//'`
3311 if test -z "$required_major" ; then
3312 required_major=0
3313 fi
3314 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
3315 required_minor=`echo $required | sed 's/[^0-9].*//'`
3316 if test -z "$required_minor" ; then
3317 required_minor=0
3318 fi
3319 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
3320 required_patch=`echo $required | sed 's/[^0-9].*//'`
3321 if test -z "$required_patch" ; then
3322 required_patch=0
3323 fi
3324 # Calculate the available version number components
3325 available=`echo $swig_version | sed 's/[^0-9]*//'`
3326 available_major=`echo $available | sed 's/[^0-9].*//'`
3327 if test -z "$available_major" ; then
3328 available_major=0
3329 fi
3330 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
3331 available_minor=`echo $available | sed 's/[^0-9].*//'`
3332 if test -z "$available_minor" ; then
3333 available_minor=0
3334 fi
3335 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
3336 available_patch=`echo $available | sed -e 's/.*Patch[^0-9]*//' -e 's/[^0-9]*//g' `
3337 if test -z "$available_patch" ; then
3338 available_patch=0
3339 fi
3340 # we have two modes of comparison...
3341 if test x"eq" == xeq; then
3342 if test $available_major -ne $required_major \
3343 -o $available_minor -ne $required_minor \
3344 -o $available_patch -ne $required_patch ; then
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&5
3346 $as_echo "$as_me: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&2;}
3347 SWIG='echo "Error: SWIG version == 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
3348 else
3349 has_swig=1
3350 fi
3351 else
3352 if test $available_major -ne $required_major \
3353 -o $available_minor -ne $required_minor \
3354 -o $available_patch -lt $required_patch ; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&5
3356 $as_echo "$as_me: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
3357 SWIG='echo "Error: SWIG version >= 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
3358 else
3359 has_swig=1
3360 fi
3361 fi
3362 else
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
3364 $as_echo "$as_me: WARNING: cannot determine SWIG version" >&2;}
3365 SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
3366 fi
3367 fi
3368 if test ! -z "$has_swig"; then
3369 SWIG_LIB=`$SWIG -swiglib`
3370 if test 1; then
3371 HAS_SWIG_TRUE=
3372 HAS_SWIG_FALSE='#'
3373 else
3374 HAS_SWIG_TRUE='#'
3375 HAS_SWIG_FALSE=
3376 fi
3377
3378 else
3379 if test 0; then
3380 HAS_SWIG_TRUE=
3381 HAS_SWIG_FALSE='#'
3382 else
3383 HAS_SWIG_TRUE='#'
3384 HAS_SWIG_FALSE=
3385 fi
3386
3387 fi
3388
3389
3390
3391 ac_ext=cpp
3392 ac_cpp='$CXXCPP $CPPFLAGS'
3393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3396 if test -z "$CXX"; then
3397 if test -n "$CCC"; then
3398 CXX=$CCC
3399 else
3400 if test -n "$ac_tool_prefix"; then
3401 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3402 do
3403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if ${ac_cv_prog_CXX+:} false; then :
3408 $as_echo_n "(cached) " >&6
3409 else
3410 if test -n "$CXX"; then
3411 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3412 else
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH
3415 do
3416 IFS=$as_save_IFS
3417 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3420 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 break 2
3423 fi
3424 done
3425 done
3426 IFS=$as_save_IFS
3427
3428 fi
3429 fi
3430 CXX=$ac_cv_prog_CXX
3431 if test -n "$CXX"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3433 $as_echo "$CXX" >&6; }
3434 else
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3437 fi
3438
3439
3440 test -n "$CXX" && break
3441 done
3442 fi
3443 if test -z "$CXX"; then
3444 ac_ct_CXX=$CXX
3445 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3446 do
3447 # Extract the first word of "$ac_prog", so it can be a program name with args.
3448 set dummy $ac_prog; ac_word=$2
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3450 $as_echo_n "checking for $ac_word... " >&6; }
3451 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3452 $as_echo_n "(cached) " >&6
3453 else
3454 if test -n "$ac_ct_CXX"; then
3455 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3456 else
3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3458 for as_dir in $PATH
3459 do
3460 IFS=$as_save_IFS
3461 test -z "$as_dir" && as_dir=.
3462 for ac_exec_ext in '' $ac_executable_extensions; do
3463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3464 ac_cv_prog_ac_ct_CXX="$ac_prog"
3465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 break 2
3467 fi
3468 done
3469 done
3470 IFS=$as_save_IFS
3471
3472 fi
3473 fi
3474 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3475 if test -n "$ac_ct_CXX"; then
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3477 $as_echo "$ac_ct_CXX" >&6; }
3478 else
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3480 $as_echo "no" >&6; }
3481 fi
3482
3483
3484 test -n "$ac_ct_CXX" && break
3485 done
3486
3487 if test "x$ac_ct_CXX" = x; then
3488 CXX="g++"
3489 else
3490 case $cross_compiling:$ac_tool_warned in
3491 yes:)
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3494 ac_tool_warned=yes ;;
3495 esac
3496 CXX=$ac_ct_CXX
3497 fi
3498 fi
3499
3500 fi
3501 fi
3502 # Provide some information about the compiler.
3503 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3504 set X $ac_compile
3505 ac_compiler=$2
3506 for ac_option in --version -v -V -qversion; do
3507 { { ac_try="$ac_compiler $ac_option >&5"
3508 case "(($ac_try" in
3509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3510 *) ac_try_echo=$ac_try;;
3511 esac
3512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3513 $as_echo "$ac_try_echo"; } >&5
3514 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3515 ac_status=$?
3516 if test -s conftest.err; then
3517 sed '10a\
3518 ... rest of stderr output deleted ...
3519 10q' conftest.err >conftest.er1
3520 cat conftest.er1 >&5
3521 fi
3522 rm -f conftest.er1 conftest.err
3523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3524 test $ac_status = 0; }
3525 done
3526
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3529
3530 int
3531 main ()
3532 {
3533
3534 ;
3535 return 0;
3536 }
3537 _ACEOF
3538 ac_clean_files_save=$ac_clean_files
3539 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3540 # Try to create an executable without -o first, disregard a.out.
3541 # It will help us diagnose broken compilers, and finding out an intuition
3542 # of exeext.
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3544 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3545 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3546
3547 # The possible output files:
3548 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3549
3550 ac_rmfiles=
3551 for ac_file in $ac_files
3552 do
3553 case $ac_file in
3554 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3555 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3556 esac
3557 done
3558 rm -f $ac_rmfiles
3559
3560 if { { ac_try="$ac_link_default"
3561 case "(($ac_try" in
3562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563 *) ac_try_echo=$ac_try;;
3564 esac
3565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3566 $as_echo "$ac_try_echo"; } >&5
3567 (eval "$ac_link_default") 2>&5
3568 ac_status=$?
3569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3570 test $ac_status = 0; }; then :
3571 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3572 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3573 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3574 # so that the user can short-circuit this test for compilers unknown to
3575 # Autoconf.
3576 for ac_file in $ac_files ''
3577 do
3578 test -f "$ac_file" || continue
3579 case $ac_file in
3580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3581 ;;
3582 [ab].out )
3583 # We found the default executable, but exeext='' is most
3584 # certainly right.
3585 break;;
3586 *.* )
3587 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3588 then :; else
3589 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3590 fi
3591 # We set ac_cv_exeext here because the later test for it is not
3592 # safe: cross compilers may not add the suffix if given an `-o'
3593 # argument, so we may need to know it at that point already.
3594 # Even if this section looks crufty: it has the advantage of
3595 # actually working.
3596 break;;
3597 * )
3598 break;;
3599 esac
3600 done
3601 test "$ac_cv_exeext" = no && ac_cv_exeext=
3602
3603 else
3604 ac_file=''
3605 fi
3606 if test -z "$ac_file"; then :
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3609 $as_echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.$ac_ext >&5
3611
3612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3614 as_fn_error 77 "C++ compiler cannot create executables
3615 See \`config.log' for more details" "$LINENO" 5; }
3616 else
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3618 $as_echo "yes" >&6; }
3619 fi
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3621 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3623 $as_echo "$ac_file" >&6; }
3624 ac_exeext=$ac_cv_exeext
3625
3626 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3627 ac_clean_files=$ac_clean_files_save
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3629 $as_echo_n "checking for suffix of executables... " >&6; }
3630 if { { ac_try="$ac_link"
3631 case "(($ac_try" in
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3634 esac
3635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3636 $as_echo "$ac_try_echo"; } >&5
3637 (eval "$ac_link") 2>&5
3638 ac_status=$?
3639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3640 test $ac_status = 0; }; then :
3641 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3642 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3643 # work properly (i.e., refer to `conftest.exe'), while it won't with
3644 # `rm'.
3645 for ac_file in conftest.exe conftest conftest.*; do
3646 test -f "$ac_file" || continue
3647 case $ac_file in
3648 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3649 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3650 break;;
3651 * ) break;;
3652 esac
3653 done
3654 else
3655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3658 See \`config.log' for more details" "$LINENO" 5; }
3659 fi
3660 rm -f conftest conftest$ac_cv_exeext
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3662 $as_echo "$ac_cv_exeext" >&6; }
3663
3664 rm -f conftest.$ac_ext
3665 EXEEXT=$ac_cv_exeext
3666 ac_exeext=$EXEEXT
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3669 @%:@include <stdio.h>
3670 int
3671 main ()
3672 {
3673 FILE *f = fopen ("conftest.out", "w");
3674 return ferror (f) || fclose (f) != 0;
3675
3676 ;
3677 return 0;
3678 }
3679 _ACEOF
3680 ac_clean_files="$ac_clean_files conftest.out"
3681 # Check that the compiler produces executables we can run. If not, either
3682 # the compiler is broken, or we cross compile.
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3684 $as_echo_n "checking whether we are cross compiling... " >&6; }
3685 if test "$cross_compiling" != yes; then
3686 { { ac_try="$ac_link"
3687 case "(($ac_try" in
3688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3689 *) ac_try_echo=$ac_try;;
3690 esac
3691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3692 $as_echo "$ac_try_echo"; } >&5
3693 (eval "$ac_link") 2>&5
3694 ac_status=$?
3695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3696 test $ac_status = 0; }
3697 if { ac_try='./conftest$ac_cv_exeext'
3698 { { case "(($ac_try" in
3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700 *) ac_try_echo=$ac_try;;
3701 esac
3702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3703 $as_echo "$ac_try_echo"; } >&5
3704 (eval "$ac_try") 2>&5
3705 ac_status=$?
3706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3707 test $ac_status = 0; }; }; then
3708 cross_compiling=no
3709 else
3710 if test "$cross_compiling" = maybe; then
3711 cross_compiling=yes
3712 else
3713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3715 as_fn_error $? "cannot run C++ compiled programs.
3716 If you meant to cross compile, use \`--host'.
3717 See \`config.log' for more details" "$LINENO" 5; }
3718 fi
3719 fi
3720 fi
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3722 $as_echo "$cross_compiling" >&6; }
3723
3724 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3725 ac_clean_files=$ac_clean_files_save
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3727 $as_echo_n "checking for suffix of object files... " >&6; }
3728 if ${ac_cv_objext+:} false; then :
3729 $as_echo_n "(cached) " >&6
3730 else
3731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3732 /* end confdefs.h. */
3733
3734 int
3735 main ()
3736 {
3737
3738 ;
3739 return 0;
3740 }
3741 _ACEOF
3742 rm -f conftest.o conftest.obj
3743 if { { ac_try="$ac_compile"
3744 case "(($ac_try" in
3745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746 *) ac_try_echo=$ac_try;;
3747 esac
3748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3749 $as_echo "$ac_try_echo"; } >&5
3750 (eval "$ac_compile") 2>&5
3751 ac_status=$?
3752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3753 test $ac_status = 0; }; then :
3754 for ac_file in conftest.o conftest.obj conftest.*; do
3755 test -f "$ac_file" || continue;
3756 case $ac_file in
3757 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3758 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3759 break;;
3760 esac
3761 done
3762 else
3763 $as_echo "$as_me: failed program was:" >&5
3764 sed 's/^/| /' conftest.$ac_ext >&5
3765
3766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3768 as_fn_error $? "cannot compute suffix of object files: cannot compile
3769 See \`config.log' for more details" "$LINENO" 5; }
3770 fi
3771 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3772 fi
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3774 $as_echo "$ac_cv_objext" >&6; }
3775 OBJEXT=$ac_cv_objext
3776 ac_objext=$OBJEXT
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3778 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3779 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h. */
3784
3785 int
3786 main ()
3787 {
3788 #ifndef __GNUC__
3789 choke me
3790 #endif
3791
3792 ;
3793 return 0;
3794 }
3795 _ACEOF
3796 if ac_fn_cxx_try_compile "$LINENO"; then :
3797 ac_compiler_gnu=yes
3798 else
3799 ac_compiler_gnu=no
3800 fi
3801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3802 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3803
3804 fi
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3806 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3807 if test $ac_compiler_gnu = yes; then
3808 GXX=yes
3809 else
3810 GXX=
3811 fi
3812 ac_test_CXXFLAGS=${CXXFLAGS+set}
3813 ac_save_CXXFLAGS=$CXXFLAGS
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3815 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3816 if ${ac_cv_prog_cxx_g+:} false; then :
3817 $as_echo_n "(cached) " >&6
3818 else
3819 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3820 ac_cxx_werror_flag=yes
3821 ac_cv_prog_cxx_g=no
3822 CXXFLAGS="-g"
3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3825
3826 int
3827 main ()
3828 {
3829
3830 ;
3831 return 0;
3832 }
3833 _ACEOF
3834 if ac_fn_cxx_try_compile "$LINENO"; then :
3835 ac_cv_prog_cxx_g=yes
3836 else
3837 CXXFLAGS=""
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3840
3841 int
3842 main ()
3843 {
3844
3845 ;
3846 return 0;
3847 }
3848 _ACEOF
3849 if ac_fn_cxx_try_compile "$LINENO"; then :
3850
3851 else
3852 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3853 CXXFLAGS="-g"
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3856
3857 int
3858 main ()
3859 {
3860
3861 ;
3862 return 0;
3863 }
3864 _ACEOF
3865 if ac_fn_cxx_try_compile "$LINENO"; then :
3866 ac_cv_prog_cxx_g=yes
3867 fi
3868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3869 fi
3870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3871 fi
3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3873 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3874 fi
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3876 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3877 if test "$ac_test_CXXFLAGS" = set; then
3878 CXXFLAGS=$ac_save_CXXFLAGS
3879 elif test $ac_cv_prog_cxx_g = yes; then
3880 if test "$GXX" = yes; then
3881 CXXFLAGS="-g -O2"
3882 else
3883 CXXFLAGS="-g"
3884 fi
3885 else
3886 if test "$GXX" = yes; then
3887 CXXFLAGS="-O2"
3888 else
3889 CXXFLAGS=
3890 fi
3891 fi
3892 ac_ext=cpp
3893 ac_cpp='$CXXCPP $CPPFLAGS'
3894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3897 DEPDIR="${am__leading_dot}deps"
3898
3899 ac_config_commands="$ac_config_commands depfiles"
3900
3901
3902 am_make=${MAKE-make}
3903 cat > confinc << 'END'
3904 am__doit:
3905 @echo this is the am__doit target
3906 .PHONY: am__doit
3907 END
3908 # If we don't find an include directive, just comment out the code.
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3910 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3911 am__include="#"
3912 am__quote=
3913 _am_result=none
3914 # First try GNU make style include.
3915 echo "include confinc" > confmf
3916 # Ignore all kinds of additional output from `make'.
3917 case `$am_make -s -f confmf 2> /dev/null` in #(
3918 *the\ am__doit\ target*)
3919 am__include=include
3920 am__quote=
3921 _am_result=GNU
3922 ;;
3923 esac
3924 # Now try BSD make style include.
3925 if test "$am__include" = "#"; then
3926 echo '.include "confinc"' > confmf
3927 case `$am_make -s -f confmf 2> /dev/null` in #(
3928 *the\ am__doit\ target*)
3929 am__include=.include
3930 am__quote="\""
3931 _am_result=BSD
3932 ;;
3933 esac
3934 fi
3935
3936
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3938 $as_echo "$_am_result" >&6; }
3939 rm -f confinc confmf
3940
3941 @%:@ Check whether --enable-dependency-tracking was given.
3942 if test "${enable_dependency_tracking+set}" = set; then :
3943 enableval=$enable_dependency_tracking;
3944 fi
3945
3946 if test "x$enable_dependency_tracking" != xno; then
3947 am_depcomp="$ac_aux_dir/depcomp"
3948 AMDEPBACKSLASH='\'
3949 fi
3950 if test "x$enable_dependency_tracking" != xno; then
3951 AMDEP_TRUE=
3952 AMDEP_FALSE='#'
3953 else
3954 AMDEP_TRUE='#'
3955 AMDEP_FALSE=
3956 fi
3957
3958
3959
3960 depcc="$CXX" am_compiler_list=
3961
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3963 $as_echo_n "checking dependency style of $depcc... " >&6; }
3964 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3965 $as_echo_n "(cached) " >&6
3966 else
3967 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3968 # We make a subdir and do the tests there. Otherwise we can end up
3969 # making bogus files that we don't know about and never remove. For
3970 # instance it was reported that on HP-UX the gcc test will end up
3971 # making a dummy file named `D' -- because `-MD' means `put the output
3972 # in D'.
3973 mkdir conftest.dir
3974 # Copy depcomp to subdir because otherwise we won't find it if we're
3975 # using a relative directory.
3976 cp "$am_depcomp" conftest.dir
3977 cd conftest.dir
3978 # We will build objects and dependencies in a subdirectory because
3979 # it helps to detect inapplicable dependency modes. For instance
3980 # both Tru64's cc and ICC support -MD to output dependencies as a
3981 # side effect of compilation, but ICC will put the dependencies in
3982 # the current directory while Tru64 will put them in the object
3983 # directory.
3984 mkdir sub
3985
3986 am_cv_CXX_dependencies_compiler_type=none
3987 if test "$am_compiler_list" = ""; then
3988 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3989 fi
3990 am__universal=false
3991 case " $depcc " in #(
3992 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3993 esac
3994
3995 for depmode in $am_compiler_list; do
3996 # Setup a source with many dependencies, because some compilers
3997 # like to wrap large dependency lists on column 80 (with \), and
3998 # we should not choose a depcomp mode which is confused by this.
3999 #
4000 # We need to recreate these files for each test, as the compiler may
4001 # overwrite some of them when testing with obscure command lines.
4002 # This happens at least with the AIX C compiler.
4003 : > sub/conftest.c
4004 for i in 1 2 3 4 5 6; do
4005 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4006 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4007 # Solaris 8's {/usr,}/bin/sh.
4008 touch sub/conftst$i.h
4009 done
4010 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4011
4012 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4013 # mode. It turns out that the SunPro C++ compiler does not properly
4014 # handle `-M -o', and we need to detect this. Also, some Intel
4015 # versions had trouble with output in subdirs
4016 am__obj=sub/conftest.${OBJEXT-o}
4017 am__minus_obj="-o $am__obj"
4018 case $depmode in
4019 gcc)
4020 # This depmode causes a compiler race in universal mode.
4021 test "$am__universal" = false || continue
4022 ;;
4023 nosideeffect)
4024 # after this tag, mechanisms are not by side-effect, so they'll
4025 # only be used when explicitly requested
4026 if test "x$enable_dependency_tracking" = xyes; then
4027 continue
4028 else
4029 break
4030 fi
4031 ;;
4032 msvisualcpp | msvcmsys)
4033 # This compiler won't grok `-c -o', but also, the minuso test has
4034 # not run yet. These depmodes are late enough in the game, and
4035 # so weak that their functioning should not be impacted.
4036 am__obj=conftest.${OBJEXT-o}
4037 am__minus_obj=
4038 ;;
4039 none) break ;;
4040 esac
4041 if depmode=$depmode \
4042 source=sub/conftest.c object=$am__obj \
4043 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4044 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4045 >/dev/null 2>conftest.err &&
4046 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4047 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4048 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4049 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4050 # icc doesn't choke on unknown options, it will just issue warnings
4051 # or remarks (even with -Werror). So we grep stderr for any message
4052 # that says an option was ignored or not supported.
4053 # When given -MP, icc 7.0 and 7.1 complain thusly:
4054 # icc: Command line warning: ignoring option '-M'; no argument required
4055 # The diagnosis changed in icc 8.0:
4056 # icc: Command line remark: option '-MP' not supported
4057 if (grep 'ignoring option' conftest.err ||
4058 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4059 am_cv_CXX_dependencies_compiler_type=$depmode
4060 break
4061 fi
4062 fi
4063 done
4064
4065 cd ..
4066 rm -rf conftest.dir
4067 else
4068 am_cv_CXX_dependencies_compiler_type=none
4069 fi
4070
4071 fi
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4073 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4074 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4075
4076 if
4077 test "x$enable_dependency_tracking" != xno \
4078 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4079 am__fastdepCXX_TRUE=
4080 am__fastdepCXX_FALSE='#'
4081 else
4082 am__fastdepCXX_TRUE='#'
4083 am__fastdepCXX_FALSE=
4084 fi
4085
4086
4087 ac_ext=c
4088 ac_cpp='$CPP $CPPFLAGS'
4089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4092 if test -n "$ac_tool_prefix"; then
4093 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4094 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4096 $as_echo_n "checking for $ac_word... " >&6; }
4097 if ${ac_cv_prog_CC+:} false; then :
4098 $as_echo_n "(cached) " >&6
4099 else
4100 if test -n "$CC"; then
4101 ac_cv_prog_CC="$CC" # Let the user override the test.
4102 else
4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4104 for as_dir in $PATH
4105 do
4106 IFS=$as_save_IFS
4107 test -z "$as_dir" && as_dir=.
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4110 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 break 2
4113 fi
4114 done
4115 done
4116 IFS=$as_save_IFS
4117
4118 fi
4119 fi
4120 CC=$ac_cv_prog_CC
4121 if test -n "$CC"; then
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4123 $as_echo "$CC" >&6; }
4124 else
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4126 $as_echo "no" >&6; }
4127 fi
4128
4129
4130 fi
4131 if test -z "$ac_cv_prog_CC"; then
4132 ac_ct_CC=$CC
4133 # Extract the first word of "gcc", so it can be a program name with args.
4134 set dummy gcc; ac_word=$2
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4136 $as_echo_n "checking for $ac_word... " >&6; }
4137 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4138 $as_echo_n "(cached) " >&6
4139 else
4140 if test -n "$ac_ct_CC"; then
4141 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4142 else
4143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4144 for as_dir in $PATH
4145 do
4146 IFS=$as_save_IFS
4147 test -z "$as_dir" && as_dir=.
4148 for ac_exec_ext in '' $ac_executable_extensions; do
4149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4150 ac_cv_prog_ac_ct_CC="gcc"
4151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4152 break 2
4153 fi
4154 done
4155 done
4156 IFS=$as_save_IFS
4157
4158 fi
4159 fi
4160 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4161 if test -n "$ac_ct_CC"; then
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4163 $as_echo "$ac_ct_CC" >&6; }
4164 else
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4166 $as_echo "no" >&6; }
4167 fi
4168
4169 if test "x$ac_ct_CC" = x; then
4170 CC=""
4171 else
4172 case $cross_compiling:$ac_tool_warned in
4173 yes:)
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4176 ac_tool_warned=yes ;;
4177 esac
4178 CC=$ac_ct_CC
4179 fi
4180 else
4181 CC="$ac_cv_prog_CC"
4182 fi
4183
4184 if test -z "$CC"; then
4185 if test -n "$ac_tool_prefix"; then
4186 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4187 set dummy ${ac_tool_prefix}cc; ac_word=$2
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4189 $as_echo_n "checking for $ac_word... " >&6; }
4190 if ${ac_cv_prog_CC+:} false; then :
4191 $as_echo_n "(cached) " >&6
4192 else
4193 if test -n "$CC"; then
4194 ac_cv_prog_CC="$CC" # Let the user override the test.
4195 else
4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4197 for as_dir in $PATH
4198 do
4199 IFS=$as_save_IFS
4200 test -z "$as_dir" && as_dir=.
4201 for ac_exec_ext in '' $ac_executable_extensions; do
4202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4203 ac_cv_prog_CC="${ac_tool_prefix}cc"
4204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4205 break 2
4206 fi
4207 done
4208 done
4209 IFS=$as_save_IFS
4210
4211 fi
4212 fi
4213 CC=$ac_cv_prog_CC
4214 if test -n "$CC"; then
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4216 $as_echo "$CC" >&6; }
4217 else
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4219 $as_echo "no" >&6; }
4220 fi
4221
4222
4223 fi
4224 fi
4225 if test -z "$CC"; then
4226 # Extract the first word of "cc", so it can be a program name with args.
4227 set dummy cc; ac_word=$2
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4229 $as_echo_n "checking for $ac_word... " >&6; }
4230 if ${ac_cv_prog_CC+:} false; then :
4231 $as_echo_n "(cached) " >&6
4232 else
4233 if test -n "$CC"; then
4234 ac_cv_prog_CC="$CC" # Let the user override the test.
4235 else
4236 ac_prog_rejected=no
4237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4238 for as_dir in $PATH
4239 do
4240 IFS=$as_save_IFS
4241 test -z "$as_dir" && as_dir=.
4242 for ac_exec_ext in '' $ac_executable_extensions; do
4243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4244 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4245 ac_prog_rejected=yes
4246 continue
4247 fi
4248 ac_cv_prog_CC="cc"
4249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250 break 2
4251 fi
4252 done
4253 done
4254 IFS=$as_save_IFS
4255
4256 if test $ac_prog_rejected = yes; then
4257 # We found a bogon in the path, so make sure we never use it.
4258 set dummy $ac_cv_prog_CC
4259 shift
4260 if test $@%:@ != 0; then
4261 # We chose a different compiler from the bogus one.
4262 # However, it has the same basename, so the bogon will be chosen
4263 # first if we set CC to just the basename; use the full file name.
4264 shift
4265 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4266 fi
4267 fi
4268 fi
4269 fi
4270 CC=$ac_cv_prog_CC
4271 if test -n "$CC"; then
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4273 $as_echo "$CC" >&6; }
4274 else
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4276 $as_echo "no" >&6; }
4277 fi
4278
4279
4280 fi
4281 if test -z "$CC"; then
4282 if test -n "$ac_tool_prefix"; then
4283 for ac_prog in cl.exe
4284 do
4285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4288 $as_echo_n "checking for $ac_word... " >&6; }
4289 if ${ac_cv_prog_CC+:} false; then :
4290 $as_echo_n "(cached) " >&6
4291 else
4292 if test -n "$CC"; then
4293 ac_cv_prog_CC="$CC" # Let the user override the test.
4294 else
4295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4296 for as_dir in $PATH
4297 do
4298 IFS=$as_save_IFS
4299 test -z "$as_dir" && as_dir=.
4300 for ac_exec_ext in '' $ac_executable_extensions; do
4301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4302 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4304 break 2
4305 fi
4306 done
4307 done
4308 IFS=$as_save_IFS
4309
4310 fi
4311 fi
4312 CC=$ac_cv_prog_CC
4313 if test -n "$CC"; then
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4315 $as_echo "$CC" >&6; }
4316 else
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4318 $as_echo "no" >&6; }
4319 fi
4320
4321
4322 test -n "$CC" && break
4323 done
4324 fi
4325 if test -z "$CC"; then
4326 ac_ct_CC=$CC
4327 for ac_prog in cl.exe
4328 do
4329 # Extract the first word of "$ac_prog", so it can be a program name with args.
4330 set dummy $ac_prog; ac_word=$2
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4332 $as_echo_n "checking for $ac_word... " >&6; }
4333 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4334 $as_echo_n "(cached) " >&6
4335 else
4336 if test -n "$ac_ct_CC"; then
4337 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4338 else
4339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 for as_dir in $PATH
4341 do
4342 IFS=$as_save_IFS
4343 test -z "$as_dir" && as_dir=.
4344 for ac_exec_ext in '' $ac_executable_extensions; do
4345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4346 ac_cv_prog_ac_ct_CC="$ac_prog"
4347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4348 break 2
4349 fi
4350 done
4351 done
4352 IFS=$as_save_IFS
4353
4354 fi
4355 fi
4356 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4357 if test -n "$ac_ct_CC"; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4359 $as_echo "$ac_ct_CC" >&6; }
4360 else
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4362 $as_echo "no" >&6; }
4363 fi
4364
4365
4366 test -n "$ac_ct_CC" && break
4367 done
4368
4369 if test "x$ac_ct_CC" = x; then
4370 CC=""
4371 else
4372 case $cross_compiling:$ac_tool_warned in
4373 yes:)
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4376 ac_tool_warned=yes ;;
4377 esac
4378 CC=$ac_ct_CC
4379 fi
4380 fi
4381
4382 fi
4383
4384
4385 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4387 as_fn_error $? "no acceptable C compiler found in \$PATH
4388 See \`config.log' for more details" "$LINENO" 5; }
4389
4390 # Provide some information about the compiler.
4391 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4392 set X $ac_compile
4393 ac_compiler=$2
4394 for ac_option in --version -v -V -qversion; do
4395 { { ac_try="$ac_compiler $ac_option >&5"
4396 case "(($ac_try" in
4397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4398 *) ac_try_echo=$ac_try;;
4399 esac
4400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4401 $as_echo "$ac_try_echo"; } >&5
4402 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4403 ac_status=$?
4404 if test -s conftest.err; then
4405 sed '10a\
4406 ... rest of stderr output deleted ...
4407 10q' conftest.err >conftest.er1
4408 cat conftest.er1 >&5
4409 fi
4410 rm -f conftest.er1 conftest.err
4411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4412 test $ac_status = 0; }
4413 done
4414
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4416 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4417 if ${ac_cv_c_compiler_gnu+:} false; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4422
4423 int
4424 main ()
4425 {
4426 #ifndef __GNUC__
4427 choke me
4428 #endif
4429
4430 ;
4431 return 0;
4432 }
4433 _ACEOF
4434 if ac_fn_c_try_compile "$LINENO"; then :
4435 ac_compiler_gnu=yes
4436 else
4437 ac_compiler_gnu=no
4438 fi
4439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4440 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4441
4442 fi
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4444 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4445 if test $ac_compiler_gnu = yes; then
4446 GCC=yes
4447 else
4448 GCC=
4449 fi
4450 ac_test_CFLAGS=${CFLAGS+set}
4451 ac_save_CFLAGS=$CFLAGS
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4453 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4454 if ${ac_cv_prog_cc_g+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 ac_save_c_werror_flag=$ac_c_werror_flag
4458 ac_c_werror_flag=yes
4459 ac_cv_prog_cc_g=no
4460 CFLAGS="-g"
4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4463
4464 int
4465 main ()
4466 {
4467
4468 ;
4469 return 0;
4470 }
4471 _ACEOF
4472 if ac_fn_c_try_compile "$LINENO"; then :
4473 ac_cv_prog_cc_g=yes
4474 else
4475 CFLAGS=""
4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4478
4479 int
4480 main ()
4481 {
4482
4483 ;
4484 return 0;
4485 }
4486 _ACEOF
4487 if ac_fn_c_try_compile "$LINENO"; then :
4488
4489 else
4490 ac_c_werror_flag=$ac_save_c_werror_flag
4491 CFLAGS="-g"
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4494
4495 int
4496 main ()
4497 {
4498
4499 ;
4500 return 0;
4501 }
4502 _ACEOF
4503 if ac_fn_c_try_compile "$LINENO"; then :
4504 ac_cv_prog_cc_g=yes
4505 fi
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 fi
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4509 fi
4510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 ac_c_werror_flag=$ac_save_c_werror_flag
4512 fi
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4514 $as_echo "$ac_cv_prog_cc_g" >&6; }
4515 if test "$ac_test_CFLAGS" = set; then
4516 CFLAGS=$ac_save_CFLAGS
4517 elif test $ac_cv_prog_cc_g = yes; then
4518 if test "$GCC" = yes; then
4519 CFLAGS="-g -O2"
4520 else
4521 CFLAGS="-g"
4522 fi
4523 else
4524 if test "$GCC" = yes; then
4525 CFLAGS="-O2"
4526 else
4527 CFLAGS=
4528 fi
4529 fi
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4531 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4532 if ${ac_cv_prog_cc_c89+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 ac_cv_prog_cc_c89=no
4536 ac_save_CC=$CC
4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4539 #include <stdarg.h>
4540 #include <stdio.h>
4541 struct stat;
4542 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4543 struct buf { int x; };
4544 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4545 static char *e (p, i)
4546 char **p;
4547 int i;
4548 {
4549 return p[i];
4550 }
4551 static char *f (char * (*g) (char **, int), char **p, ...)
4552 {
4553 char *s;
4554 va_list v;
4555 va_start (v,p);
4556 s = g (p, va_arg (v,int));
4557 va_end (v);
4558 return s;
4559 }
4560
4561 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4562 function prototypes and stuff, but not '\xHH' hex character constants.
4563 These don't provoke an error unfortunately, instead are silently treated
4564 as 'x'. The following induces an error, until -std is added to get
4565 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4566 array size at least. It's necessary to write '\x00'==0 to get something
4567 that's true only with -std. */
4568 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4569
4570 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4571 inside strings and character constants. */
4572 #define FOO(x) 'x'
4573 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4574
4575 int test (int i, double x);
4576 struct s1 {int (*f) (int a);};
4577 struct s2 {int (*f) (double a);};
4578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4579 int argc;
4580 char **argv;
4581 int
4582 main ()
4583 {
4584 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4585 ;
4586 return 0;
4587 }
4588 _ACEOF
4589 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4590 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4591 do
4592 CC="$ac_save_CC $ac_arg"
4593 if ac_fn_c_try_compile "$LINENO"; then :
4594 ac_cv_prog_cc_c89=$ac_arg
4595 fi
4596 rm -f core conftest.err conftest.$ac_objext
4597 test "x$ac_cv_prog_cc_c89" != "xno" && break
4598 done
4599 rm -f conftest.$ac_ext
4600 CC=$ac_save_CC
4601
4602 fi
4603 # AC_CACHE_VAL
4604 case "x$ac_cv_prog_cc_c89" in
4605 x)
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4607 $as_echo "none needed" >&6; } ;;
4608 xno)
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4610 $as_echo "unsupported" >&6; } ;;
4611 *)
4612 CC="$CC $ac_cv_prog_cc_c89"
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4614 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4615 esac
4616 if test "x$ac_cv_prog_cc_c89" != xno; then :
4617
4618 fi
4619
4620 ac_ext=cpp
4621 ac_cpp='$CXXCPP $CPPFLAGS'
4622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4625
4626 depcc="$CC" am_compiler_list=
4627
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4629 $as_echo_n "checking dependency style of $depcc... " >&6; }
4630 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4631 $as_echo_n "(cached) " >&6
4632 else
4633 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4634 # We make a subdir and do the tests there. Otherwise we can end up
4635 # making bogus files that we don't know about and never remove. For
4636 # instance it was reported that on HP-UX the gcc test will end up
4637 # making a dummy file named `D' -- because `-MD' means `put the output
4638 # in D'.
4639 mkdir conftest.dir
4640 # Copy depcomp to subdir because otherwise we won't find it if we're
4641 # using a relative directory.
4642 cp "$am_depcomp" conftest.dir
4643 cd conftest.dir
4644 # We will build objects and dependencies in a subdirectory because
4645 # it helps to detect inapplicable dependency modes. For instance
4646 # both Tru64's cc and ICC support -MD to output dependencies as a
4647 # side effect of compilation, but ICC will put the dependencies in
4648 # the current directory while Tru64 will put them in the object
4649 # directory.
4650 mkdir sub
4651
4652 am_cv_CC_dependencies_compiler_type=none
4653 if test "$am_compiler_list" = ""; then
4654 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4655 fi
4656 am__universal=false
4657 case " $depcc " in #(
4658 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4659 esac
4660
4661 for depmode in $am_compiler_list; do
4662 # Setup a source with many dependencies, because some compilers
4663 # like to wrap large dependency lists on column 80 (with \), and
4664 # we should not choose a depcomp mode which is confused by this.
4665 #
4666 # We need to recreate these files for each test, as the compiler may
4667 # overwrite some of them when testing with obscure command lines.
4668 # This happens at least with the AIX C compiler.
4669 : > sub/conftest.c
4670 for i in 1 2 3 4 5 6; do
4671 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4672 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4673 # Solaris 8's {/usr,}/bin/sh.
4674 touch sub/conftst$i.h
4675 done
4676 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4677
4678 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4679 # mode. It turns out that the SunPro C++ compiler does not properly
4680 # handle `-M -o', and we need to detect this. Also, some Intel
4681 # versions had trouble with output in subdirs
4682 am__obj=sub/conftest.${OBJEXT-o}
4683 am__minus_obj="-o $am__obj"
4684 case $depmode in
4685 gcc)
4686 # This depmode causes a compiler race in universal mode.
4687 test "$am__universal" = false || continue
4688 ;;
4689 nosideeffect)
4690 # after this tag, mechanisms are not by side-effect, so they'll
4691 # only be used when explicitly requested
4692 if test "x$enable_dependency_tracking" = xyes; then
4693 continue
4694 else
4695 break
4696 fi
4697 ;;
4698 msvisualcpp | msvcmsys)
4699 # This compiler won't grok `-c -o', but also, the minuso test has
4700 # not run yet. These depmodes are late enough in the game, and
4701 # so weak that their functioning should not be impacted.
4702 am__obj=conftest.${OBJEXT-o}
4703 am__minus_obj=
4704 ;;
4705 none) break ;;
4706 esac
4707 if depmode=$depmode \
4708 source=sub/conftest.c object=$am__obj \
4709 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4710 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4711 >/dev/null 2>conftest.err &&
4712 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4713 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4714 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4715 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4716 # icc doesn't choke on unknown options, it will just issue warnings
4717 # or remarks (even with -Werror). So we grep stderr for any message
4718 # that says an option was ignored or not supported.
4719 # When given -MP, icc 7.0 and 7.1 complain thusly:
4720 # icc: Command line warning: ignoring option '-M'; no argument required
4721 # The diagnosis changed in icc 8.0:
4722 # icc: Command line remark: option '-MP' not supported
4723 if (grep 'ignoring option' conftest.err ||
4724 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4725 am_cv_CC_dependencies_compiler_type=$depmode
4726 break
4727 fi
4728 fi
4729 done
4730
4731 cd ..
4732 rm -rf conftest.dir
4733 else
4734 am_cv_CC_dependencies_compiler_type=none
4735 fi
4736
4737 fi
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4739 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4740 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4741
4742 if
4743 test "x$enable_dependency_tracking" != xno \
4744 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4745 am__fastdepCC_TRUE=
4746 am__fastdepCC_FALSE='#'
4747 else
4748 am__fastdepCC_TRUE='#'
4749 am__fastdepCC_FALSE=
4750 fi
4751
4752
4753 ac_ext=c
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4759 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4760 # On Suns, sometimes $CPP names a directory.
4761 if test -n "$CPP" && test -d "$CPP"; then
4762 CPP=
4763 fi
4764 if test -z "$CPP"; then
4765 if ${ac_cv_prog_CPP+:} false; then :
4766 $as_echo_n "(cached) " >&6
4767 else
4768 # Double quotes because CPP needs to be expanded
4769 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4770 do
4771 ac_preproc_ok=false
4772 for ac_c_preproc_warn_flag in '' yes
4773 do
4774 # Use a header file that comes with gcc, so configuring glibc
4775 # with a fresh cross-compiler works.
4776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4777 # <limits.h> exists even on freestanding compilers.
4778 # On the NeXT, cc -E runs the code through the compiler's parser,
4779 # not just through cpp. "Syntax error" is here to catch this case.
4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4782 @%:@ifdef __STDC__
4783 @%:@ include <limits.h>
4784 @%:@else
4785 @%:@ include <assert.h>
4786 @%:@endif
4787 Syntax error
4788 _ACEOF
4789 if ac_fn_c_try_cpp "$LINENO"; then :
4790
4791 else
4792 # Broken: fails on valid input.
4793 continue
4794 fi
4795 rm -f conftest.err conftest.i conftest.$ac_ext
4796
4797 # OK, works on sane cases. Now check whether nonexistent headers
4798 # can be detected and how.
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4801 @%:@include <ac_nonexistent.h>
4802 _ACEOF
4803 if ac_fn_c_try_cpp "$LINENO"; then :
4804 # Broken: success on invalid input.
4805 continue
4806 else
4807 # Passes both tests.
4808 ac_preproc_ok=:
4809 break
4810 fi
4811 rm -f conftest.err conftest.i conftest.$ac_ext
4812
4813 done
4814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4815 rm -f conftest.i conftest.err conftest.$ac_ext
4816 if $ac_preproc_ok; then :
4817 break
4818 fi
4819
4820 done
4821 ac_cv_prog_CPP=$CPP
4822
4823 fi
4824 CPP=$ac_cv_prog_CPP
4825 else
4826 ac_cv_prog_CPP=$CPP
4827 fi
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4829 $as_echo "$CPP" >&6; }
4830 ac_preproc_ok=false
4831 for ac_c_preproc_warn_flag in '' yes
4832 do
4833 # Use a header file that comes with gcc, so configuring glibc
4834 # with a fresh cross-compiler works.
4835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4836 # <limits.h> exists even on freestanding compilers.
4837 # On the NeXT, cc -E runs the code through the compiler's parser,
4838 # not just through cpp. "Syntax error" is here to catch this case.
4839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4840 /* end confdefs.h. */
4841 @%:@ifdef __STDC__
4842 @%:@ include <limits.h>
4843 @%:@else
4844 @%:@ include <assert.h>
4845 @%:@endif
4846 Syntax error
4847 _ACEOF
4848 if ac_fn_c_try_cpp "$LINENO"; then :
4849
4850 else
4851 # Broken: fails on valid input.
4852 continue
4853 fi
4854 rm -f conftest.err conftest.i conftest.$ac_ext
4855
4856 # OK, works on sane cases. Now check whether nonexistent headers
4857 # can be detected and how.
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4860 @%:@include <ac_nonexistent.h>
4861 _ACEOF
4862 if ac_fn_c_try_cpp "$LINENO"; then :
4863 # Broken: success on invalid input.
4864 continue
4865 else
4866 # Passes both tests.
4867 ac_preproc_ok=:
4868 break
4869 fi
4870 rm -f conftest.err conftest.i conftest.$ac_ext
4871
4872 done
4873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4874 rm -f conftest.i conftest.err conftest.$ac_ext
4875 if $ac_preproc_ok; then :
4876
4877 else
4878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4880 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4881 See \`config.log' for more details" "$LINENO" 5; }
4882 fi
4883
4884 ac_ext=cpp
4885 ac_cpp='$CXXCPP $CPPFLAGS'
4886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4889
4890 case `pwd` in
4891 *\ * | *\ *)
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4893 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4894 esac
4895
4896
4897
4898 macro_version='2.2.6b'
4899 macro_revision='1.3017'
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913 ltmain="$ac_aux_dir/ltmain.sh"
4914
4915 # Make sure we can run config.sub.
4916 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4917 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4918
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4920 $as_echo_n "checking build system type... " >&6; }
4921 if ${ac_cv_build+:} false; then :
4922 $as_echo_n "(cached) " >&6
4923 else
4924 ac_build_alias=$build_alias
4925 test "x$ac_build_alias" = x &&
4926 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4927 test "x$ac_build_alias" = x &&
4928 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4929 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4930 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4931
4932 fi
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4934 $as_echo "$ac_cv_build" >&6; }
4935 case $ac_cv_build in
4936 *-*-*) ;;
4937 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4938 esac
4939 build=$ac_cv_build
4940 ac_save_IFS=$IFS; IFS='-'
4941 set x $ac_cv_build
4942 shift
4943 build_cpu=$1
4944 build_vendor=$2
4945 shift; shift
4946 # Remember, the first character of IFS is used to create $*,
4947 # except with old shells:
4948 build_os=$*
4949 IFS=$ac_save_IFS
4950 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4951
4952
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4954 $as_echo_n "checking host system type... " >&6; }
4955 if ${ac_cv_host+:} false; then :
4956 $as_echo_n "(cached) " >&6
4957 else
4958 if test "x$host_alias" = x; then
4959 ac_cv_host=$ac_cv_build
4960 else
4961 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4962 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4963 fi
4964
4965 fi
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4967 $as_echo "$ac_cv_host" >&6; }
4968 case $ac_cv_host in
4969 *-*-*) ;;
4970 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4971 esac
4972 host=$ac_cv_host
4973 ac_save_IFS=$IFS; IFS='-'
4974 set x $ac_cv_host
4975 shift
4976 host_cpu=$1
4977 host_vendor=$2
4978 shift; shift
4979 # Remember, the first character of IFS is used to create $*,
4980 # except with old shells:
4981 host_os=$*
4982 IFS=$ac_save_IFS
4983 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4984
4985
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4987 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4988 if ${ac_cv_path_SED+:} false; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4992 for ac_i in 1 2 3 4 5 6 7; do
4993 ac_script="$ac_script$as_nl$ac_script"
4994 done
4995 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4996 { ac_script=; unset ac_script;}
4997 if test -z "$SED"; then
4998 ac_path_SED_found=false
4999 # Loop through the user's path and test for each of PROGNAME-LIST
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 for as_dir in $PATH
5002 do
5003 IFS=$as_save_IFS
5004 test -z "$as_dir" && as_dir=.
5005 for ac_prog in sed gsed; do
5006 for ac_exec_ext in '' $ac_executable_extensions; do
5007 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5008 as_fn_executable_p "$ac_path_SED" || continue
5009 # Check for GNU ac_path_SED and select it if it is found.
5010 # Check for GNU $ac_path_SED
5011 case `"$ac_path_SED" --version 2>&1` in
5012 *GNU*)
5013 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5014 *)
5015 ac_count=0
5016 $as_echo_n 0123456789 >"conftest.in"
5017 while :
5018 do
5019 cat "conftest.in" "conftest.in" >"conftest.tmp"
5020 mv "conftest.tmp" "conftest.in"
5021 cp "conftest.in" "conftest.nl"
5022 $as_echo '' >> "conftest.nl"
5023 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5024 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5025 as_fn_arith $ac_count + 1 && ac_count=$as_val
5026 if test $ac_count -gt ${ac_path_SED_max-0}; then
5027 # Best one so far, save it but keep looking for a better one
5028 ac_cv_path_SED="$ac_path_SED"
5029 ac_path_SED_max=$ac_count
5030 fi
5031 # 10*(2^10) chars as input seems more than enough
5032 test $ac_count -gt 10 && break
5033 done
5034 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5035 esac
5036
5037 $ac_path_SED_found && break 3
5038 done
5039 done
5040 done
5041 IFS=$as_save_IFS
5042 if test -z "$ac_cv_path_SED"; then
5043 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5044 fi
5045 else
5046 ac_cv_path_SED=$SED
5047 fi
5048
5049 fi
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5051 $as_echo "$ac_cv_path_SED" >&6; }
5052 SED="$ac_cv_path_SED"
5053 rm -f conftest.sed
5054
5055 test -z "$SED" && SED=sed
5056 Xsed="$SED -e 1s/^X//"
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5069 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5070 if ${ac_cv_path_GREP+:} false; then :
5071 $as_echo_n "(cached) " >&6
5072 else
5073 if test -z "$GREP"; then
5074 ac_path_GREP_found=false
5075 # Loop through the user's path and test for each of PROGNAME-LIST
5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5077 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5078 do
5079 IFS=$as_save_IFS
5080 test -z "$as_dir" && as_dir=.
5081 for ac_prog in grep ggrep; do
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5084 as_fn_executable_p "$ac_path_GREP" || continue
5085 # Check for GNU ac_path_GREP and select it if it is found.
5086 # Check for GNU $ac_path_GREP
5087 case `"$ac_path_GREP" --version 2>&1` in
5088 *GNU*)
5089 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5090 *)
5091 ac_count=0
5092 $as_echo_n 0123456789 >"conftest.in"
5093 while :
5094 do
5095 cat "conftest.in" "conftest.in" >"conftest.tmp"
5096 mv "conftest.tmp" "conftest.in"
5097 cp "conftest.in" "conftest.nl"
5098 $as_echo 'GREP' >> "conftest.nl"
5099 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5100 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5101 as_fn_arith $ac_count + 1 && ac_count=$as_val
5102 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5103 # Best one so far, save it but keep looking for a better one
5104 ac_cv_path_GREP="$ac_path_GREP"
5105 ac_path_GREP_max=$ac_count
5106 fi
5107 # 10*(2^10) chars as input seems more than enough
5108 test $ac_count -gt 10 && break
5109 done
5110 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5111 esac
5112
5113 $ac_path_GREP_found && break 3
5114 done
5115 done
5116 done
5117 IFS=$as_save_IFS
5118 if test -z "$ac_cv_path_GREP"; then
5119 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5120 fi
5121 else
5122 ac_cv_path_GREP=$GREP
5123 fi
5124
5125 fi
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5127 $as_echo "$ac_cv_path_GREP" >&6; }
5128 GREP="$ac_cv_path_GREP"
5129
5130
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5132 $as_echo_n "checking for egrep... " >&6; }
5133 if ${ac_cv_path_EGREP+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5137 then ac_cv_path_EGREP="$GREP -E"
5138 else
5139 if test -z "$EGREP"; then
5140 ac_path_EGREP_found=false
5141 # Loop through the user's path and test for each of PROGNAME-LIST
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5144 do
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_prog in egrep; do
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5150 as_fn_executable_p "$ac_path_EGREP" || continue
5151 # Check for GNU ac_path_EGREP and select it if it is found.
5152 # Check for GNU $ac_path_EGREP
5153 case `"$ac_path_EGREP" --version 2>&1` in
5154 *GNU*)
5155 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5156 *)
5157 ac_count=0
5158 $as_echo_n 0123456789 >"conftest.in"
5159 while :
5160 do
5161 cat "conftest.in" "conftest.in" >"conftest.tmp"
5162 mv "conftest.tmp" "conftest.in"
5163 cp "conftest.in" "conftest.nl"
5164 $as_echo 'EGREP' >> "conftest.nl"
5165 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5166 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5167 as_fn_arith $ac_count + 1 && ac_count=$as_val
5168 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5169 # Best one so far, save it but keep looking for a better one
5170 ac_cv_path_EGREP="$ac_path_EGREP"
5171 ac_path_EGREP_max=$ac_count
5172 fi
5173 # 10*(2^10) chars as input seems more than enough
5174 test $ac_count -gt 10 && break
5175 done
5176 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5177 esac
5178
5179 $ac_path_EGREP_found && break 3
5180 done
5181 done
5182 done
5183 IFS=$as_save_IFS
5184 if test -z "$ac_cv_path_EGREP"; then
5185 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5186 fi
5187 else
5188 ac_cv_path_EGREP=$EGREP
5189 fi
5190
5191 fi
5192 fi
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5194 $as_echo "$ac_cv_path_EGREP" >&6; }
5195 EGREP="$ac_cv_path_EGREP"
5196
5197
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5199 $as_echo_n "checking for fgrep... " >&6; }
5200 if ${ac_cv_path_FGREP+:} false; then :
5201 $as_echo_n "(cached) " >&6
5202 else
5203 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5204 then ac_cv_path_FGREP="$GREP -F"
5205 else
5206 if test -z "$FGREP"; then
5207 ac_path_FGREP_found=false
5208 # Loop through the user's path and test for each of PROGNAME-LIST
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5211 do
5212 IFS=$as_save_IFS
5213 test -z "$as_dir" && as_dir=.
5214 for ac_prog in fgrep; do
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5217 as_fn_executable_p "$ac_path_FGREP" || continue
5218 # Check for GNU ac_path_FGREP and select it if it is found.
5219 # Check for GNU $ac_path_FGREP
5220 case `"$ac_path_FGREP" --version 2>&1` in
5221 *GNU*)
5222 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5223 *)
5224 ac_count=0
5225 $as_echo_n 0123456789 >"conftest.in"
5226 while :
5227 do
5228 cat "conftest.in" "conftest.in" >"conftest.tmp"
5229 mv "conftest.tmp" "conftest.in"
5230 cp "conftest.in" "conftest.nl"
5231 $as_echo 'FGREP' >> "conftest.nl"
5232 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5233 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5234 as_fn_arith $ac_count + 1 && ac_count=$as_val
5235 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5236 # Best one so far, save it but keep looking for a better one
5237 ac_cv_path_FGREP="$ac_path_FGREP"
5238 ac_path_FGREP_max=$ac_count
5239 fi
5240 # 10*(2^10) chars as input seems more than enough
5241 test $ac_count -gt 10 && break
5242 done
5243 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5244 esac
5245
5246 $ac_path_FGREP_found && break 3
5247 done
5248 done
5249 done
5250 IFS=$as_save_IFS
5251 if test -z "$ac_cv_path_FGREP"; then
5252 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5253 fi
5254 else
5255 ac_cv_path_FGREP=$FGREP
5256 fi
5257
5258 fi
5259 fi
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5261 $as_echo "$ac_cv_path_FGREP" >&6; }
5262 FGREP="$ac_cv_path_FGREP"
5263
5264
5265 test -z "$GREP" && GREP=grep
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285 @%:@ Check whether --with-gnu-ld was given.
5286 if test "${with_gnu_ld+set}" = set; then :
5287 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5288 else
5289 with_gnu_ld=no
5290 fi
5291
5292 ac_prog=ld
5293 if test "$GCC" = yes; then
5294 # Check if gcc -print-prog-name=ld gives a path.
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5296 $as_echo_n "checking for ld used by $CC... " >&6; }
5297 case $host in
5298 *-*-mingw*)
5299 # gcc leaves a trailing carriage return which upsets mingw
5300 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5301 *)
5302 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5303 esac
5304 case $ac_prog in
5305 # Accept absolute paths.
5306 [\\/]* | ?:[\\/]*)
5307 re_direlt='/[^/][^/]*/\.\./'
5308 # Canonicalize the pathname of ld
5309 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5310 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5311 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5312 done
5313 test -z "$LD" && LD="$ac_prog"
5314 ;;
5315 "")
5316 # If it fails, then pretend we aren't using GCC.
5317 ac_prog=ld
5318 ;;
5319 *)
5320 # If it is relative, then search for the first ld in PATH.
5321 with_gnu_ld=unknown
5322 ;;
5323 esac
5324 elif test "$with_gnu_ld" = yes; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5326 $as_echo_n "checking for GNU ld... " >&6; }
5327 else
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5329 $as_echo_n "checking for non-GNU ld... " >&6; }
5330 fi
5331 if ${lt_cv_path_LD+:} false; then :
5332 $as_echo_n "(cached) " >&6
5333 else
5334 if test -z "$LD"; then
5335 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5336 for ac_dir in $PATH; do
5337 IFS="$lt_save_ifs"
5338 test -z "$ac_dir" && ac_dir=.
5339 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5340 lt_cv_path_LD="$ac_dir/$ac_prog"
5341 # Check to see if the program is GNU ld. I'd rather use --version,
5342 # but apparently some variants of GNU ld only accept -v.
5343 # Break only if it was the GNU/non-GNU ld that we prefer.
5344 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5345 *GNU* | *'with BFD'*)
5346 test "$with_gnu_ld" != no && break
5347 ;;
5348 *)
5349 test "$with_gnu_ld" != yes && break
5350 ;;
5351 esac
5352 fi
5353 done
5354 IFS="$lt_save_ifs"
5355 else
5356 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5357 fi
5358 fi
5359
5360 LD="$lt_cv_path_LD"
5361 if test -n "$LD"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5363 $as_echo "$LD" >&6; }
5364 else
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }
5367 fi
5368 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5370 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5371 if ${lt_cv_prog_gnu_ld+:} false; then :
5372 $as_echo_n "(cached) " >&6
5373 else
5374 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5375 case `$LD -v 2>&1 </dev/null` in
5376 *GNU* | *'with BFD'*)
5377 lt_cv_prog_gnu_ld=yes
5378 ;;
5379 *)
5380 lt_cv_prog_gnu_ld=no
5381 ;;
5382 esac
5383 fi
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5385 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5386 with_gnu_ld=$lt_cv_prog_gnu_ld
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5397 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5398 if ${lt_cv_path_NM+:} false; then :
5399 $as_echo_n "(cached) " >&6
5400 else
5401 if test -n "$NM"; then
5402 # Let the user override the test.
5403 lt_cv_path_NM="$NM"
5404 else
5405 lt_nm_to_check="${ac_tool_prefix}nm"
5406 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5407 lt_nm_to_check="$lt_nm_to_check nm"
5408 fi
5409 for lt_tmp_nm in $lt_nm_to_check; do
5410 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5411 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5412 IFS="$lt_save_ifs"
5413 test -z "$ac_dir" && ac_dir=.
5414 tmp_nm="$ac_dir/$lt_tmp_nm"
5415 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5416 # Check to see if the nm accepts a BSD-compat flag.
5417 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5418 # nm: unknown option "B" ignored
5419 # Tru64's nm complains that /dev/null is an invalid object file
5420 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5421 */dev/null* | *'Invalid file or object type'*)
5422 lt_cv_path_NM="$tmp_nm -B"
5423 break
5424 ;;
5425 *)
5426 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5427 */dev/null*)
5428 lt_cv_path_NM="$tmp_nm -p"
5429 break
5430 ;;
5431 *)
5432 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5433 continue # so that we can try to find one that supports BSD flags
5434 ;;
5435 esac
5436 ;;
5437 esac
5438 fi
5439 done
5440 IFS="$lt_save_ifs"
5441 done
5442 : ${lt_cv_path_NM=no}
5443 fi
5444 fi
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5446 $as_echo "$lt_cv_path_NM" >&6; }
5447 if test "$lt_cv_path_NM" != "no"; then
5448 NM="$lt_cv_path_NM"
5449 else
5450 # Didn't find any BSD compatible name lister, look for dumpbin.
5451 if test -n "$ac_tool_prefix"; then
5452 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5453 do
5454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_DUMPBIN+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if test -n "$DUMPBIN"; then
5462 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5466 do
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5474 fi
5475 done
5476 done
5477 IFS=$as_save_IFS
5478
5479 fi
5480 fi
5481 DUMPBIN=$ac_cv_prog_DUMPBIN
5482 if test -n "$DUMPBIN"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5484 $as_echo "$DUMPBIN" >&6; }
5485 else
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5488 fi
5489
5490
5491 test -n "$DUMPBIN" && break
5492 done
5493 fi
5494 if test -z "$DUMPBIN"; then
5495 ac_ct_DUMPBIN=$DUMPBIN
5496 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5497 do
5498 # Extract the first word of "$ac_prog", so it can be a program name with args.
5499 set dummy $ac_prog; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 if test -n "$ac_ct_DUMPBIN"; then
5506 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5510 do
5511 IFS=$as_save_IFS
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 break 2
5518 fi
5519 done
5520 done
5521 IFS=$as_save_IFS
5522
5523 fi
5524 fi
5525 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5526 if test -n "$ac_ct_DUMPBIN"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5528 $as_echo "$ac_ct_DUMPBIN" >&6; }
5529 else
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5532 fi
5533
5534
5535 test -n "$ac_ct_DUMPBIN" && break
5536 done
5537
5538 if test "x$ac_ct_DUMPBIN" = x; then
5539 DUMPBIN=":"
5540 else
5541 case $cross_compiling:$ac_tool_warned in
5542 yes:)
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5545 ac_tool_warned=yes ;;
5546 esac
5547 DUMPBIN=$ac_ct_DUMPBIN
5548 fi
5549 fi
5550
5551
5552 if test "$DUMPBIN" != ":"; then
5553 NM="$DUMPBIN"
5554 fi
5555 fi
5556 test -z "$NM" && NM=nm
5557
5558
5559
5560
5561
5562
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5564 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5565 if ${lt_cv_nm_interface+:} false; then :
5566 $as_echo_n "(cached) " >&6
5567 else
5568 lt_cv_nm_interface="BSD nm"
5569 echo "int some_variable = 0;" > conftest.$ac_ext
5570 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
5571 (eval "$ac_compile" 2>conftest.err)
5572 cat conftest.err >&5
5573 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5574 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5575 cat conftest.err >&5
5576 (eval echo "\"\$as_me:__oline__: output\"" >&5)
5577 cat conftest.out >&5
5578 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5579 lt_cv_nm_interface="MS dumpbin"
5580 fi
5581 rm -f conftest*
5582 fi
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5584 $as_echo "$lt_cv_nm_interface" >&6; }
5585
5586 # find the maximum length of command line arguments
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5588 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5589 if ${lt_cv_sys_max_cmd_len+:} false; then :
5590 $as_echo_n "(cached) " >&6
5591 else
5592 i=0
5593 teststring="ABCD"
5594
5595 case $build_os in
5596 msdosdjgpp*)
5597 # On DJGPP, this test can blow up pretty badly due to problems in libc
5598 # (any single argument exceeding 2000 bytes causes a buffer overrun
5599 # during glob expansion). Even if it were fixed, the result of this
5600 # check would be larger than it should be.
5601 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5602 ;;
5603
5604 gnu*)
5605 # Under GNU Hurd, this test is not required because there is
5606 # no limit to the length of command line arguments.
5607 # Libtool will interpret -1 as no limit whatsoever
5608 lt_cv_sys_max_cmd_len=-1;
5609 ;;
5610
5611 cygwin* | mingw* | cegcc*)
5612 # On Win9x/ME, this test blows up -- it succeeds, but takes
5613 # about 5 minutes as the teststring grows exponentially.
5614 # Worse, since 9x/ME are not pre-emptively multitasking,
5615 # you end up with a "frozen" computer, even though with patience
5616 # the test eventually succeeds (with a max line length of 256k).
5617 # Instead, let's just punt: use the minimum linelength reported by
5618 # all of the supported platforms: 8192 (on NT/2K/XP).
5619 lt_cv_sys_max_cmd_len=8192;
5620 ;;
5621
5622 amigaos*)
5623 # On AmigaOS with pdksh, this test takes hours, literally.
5624 # So we just punt and use a minimum line length of 8192.
5625 lt_cv_sys_max_cmd_len=8192;
5626 ;;
5627
5628 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5629 # This has been around since 386BSD, at least. Likely further.
5630 if test -x /sbin/sysctl; then
5631 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5632 elif test -x /usr/sbin/sysctl; then
5633 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5634 else
5635 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5636 fi
5637 # And add a safety zone
5638 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5639 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5640 ;;
5641
5642 interix*)
5643 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5644 lt_cv_sys_max_cmd_len=196608
5645 ;;
5646
5647 osf*)
5648 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5649 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5650 # nice to cause kernel panics so lets avoid the loop below.
5651 # First set a reasonable default.
5652 lt_cv_sys_max_cmd_len=16384
5653 #
5654 if test -x /sbin/sysconfig; then
5655 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5656 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5657 esac
5658 fi
5659 ;;
5660 sco3.2v5*)
5661 lt_cv_sys_max_cmd_len=102400
5662 ;;
5663 sysv5* | sco5v6* | sysv4.2uw2*)
5664 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5665 if test -n "$kargmax"; then
5666 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5667 else
5668 lt_cv_sys_max_cmd_len=32768
5669 fi
5670 ;;
5671 *)
5672 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5673 if test -n "$lt_cv_sys_max_cmd_len"; then
5674 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5675 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5676 else
5677 # Make teststring a little bigger before we do anything with it.
5678 # a 1K string should be a reasonable start.
5679 for i in 1 2 3 4 5 6 7 8 ; do
5680 teststring=$teststring$teststring
5681 done
5682 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5683 # If test is not a shell built-in, we'll probably end up computing a
5684 # maximum length that is only half of the actual maximum length, but
5685 # we can't tell.
5686 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5687 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5688 test $i != 17 # 1/2 MB should be enough
5689 do
5690 i=`expr $i + 1`
5691 teststring=$teststring$teststring
5692 done
5693 # Only check the string length outside the loop.
5694 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5695 teststring=
5696 # Add a significant safety factor because C++ compilers can tack on
5697 # massive amounts of additional arguments before passing them to the
5698 # linker. It appears as though 1/2 is a usable value.
5699 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5700 fi
5701 ;;
5702 esac
5703
5704 fi
5705
5706 if test -n $lt_cv_sys_max_cmd_len ; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5708 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5709 else
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5711 $as_echo "none" >&6; }
5712 fi
5713 max_cmd_len=$lt_cv_sys_max_cmd_len
5714
5715
5716
5717
5718
5719
5720 : ${CP="cp -f"}
5721 : ${MV="mv -f"}
5722 : ${RM="rm -f"}
5723
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5725 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5726 # Try some XSI features
5727 xsi_shell=no
5728 ( _lt_dummy="a/b/c"
5729 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5730 = c,a/b,, \
5731 && eval 'test $(( 1 + 1 )) -eq 2 \
5732 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5733 && xsi_shell=yes
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5735 $as_echo "$xsi_shell" >&6; }
5736
5737
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5739 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5740 lt_shell_append=no
5741 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5742 >/dev/null 2>&1 \
5743 && lt_shell_append=yes
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5745 $as_echo "$lt_shell_append" >&6; }
5746
5747
5748 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5749 lt_unset=unset
5750 else
5751 lt_unset=false
5752 fi
5753
5754
5755
5756
5757
5758 # test EBCDIC or ASCII
5759 case `echo X|tr X '\101'` in
5760 A) # ASCII based system
5761 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5762 lt_SP2NL='tr \040 \012'
5763 lt_NL2SP='tr \015\012 \040\040'
5764 ;;
5765 *) # EBCDIC based system
5766 lt_SP2NL='tr \100 \n'
5767 lt_NL2SP='tr \r\n \100\100'
5768 ;;
5769 esac
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5780 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5781 if ${lt_cv_ld_reload_flag+:} false; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 lt_cv_ld_reload_flag='-r'
5785 fi
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5787 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5788 reload_flag=$lt_cv_ld_reload_flag
5789 case $reload_flag in
5790 "" | " "*) ;;
5791 *) reload_flag=" $reload_flag" ;;
5792 esac
5793 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5794 case $host_os in
5795 darwin*)
5796 if test "$GCC" = yes; then
5797 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5798 else
5799 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5800 fi
5801 ;;
5802 esac
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812 if test -n "$ac_tool_prefix"; then
5813 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5814 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if ${ac_cv_prog_OBJDUMP+:} false; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5820 if test -n "$OBJDUMP"; then
5821 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5822 else
5823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 for as_dir in $PATH
5825 do
5826 IFS=$as_save_IFS
5827 test -z "$as_dir" && as_dir=.
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5830 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 break 2
5833 fi
5834 done
5835 done
5836 IFS=$as_save_IFS
5837
5838 fi
5839 fi
5840 OBJDUMP=$ac_cv_prog_OBJDUMP
5841 if test -n "$OBJDUMP"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5843 $as_echo "$OBJDUMP" >&6; }
5844 else
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5847 fi
5848
5849
5850 fi
5851 if test -z "$ac_cv_prog_OBJDUMP"; then
5852 ac_ct_OBJDUMP=$OBJDUMP
5853 # Extract the first word of "objdump", so it can be a program name with args.
5854 set dummy objdump; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -n "$ac_ct_OBJDUMP"; then
5861 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5865 do
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5873 fi
5874 done
5875 done
5876 IFS=$as_save_IFS
5877
5878 fi
5879 fi
5880 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5881 if test -n "$ac_ct_OBJDUMP"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5883 $as_echo "$ac_ct_OBJDUMP" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5887 fi
5888
5889 if test "x$ac_ct_OBJDUMP" = x; then
5890 OBJDUMP="false"
5891 else
5892 case $cross_compiling:$ac_tool_warned in
5893 yes:)
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5896 ac_tool_warned=yes ;;
5897 esac
5898 OBJDUMP=$ac_ct_OBJDUMP
5899 fi
5900 else
5901 OBJDUMP="$ac_cv_prog_OBJDUMP"
5902 fi
5903
5904 test -z "$OBJDUMP" && OBJDUMP=objdump
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5915 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5916 if ${lt_cv_deplibs_check_method+:} false; then :
5917 $as_echo_n "(cached) " >&6
5918 else
5919 lt_cv_file_magic_cmd='$MAGIC_CMD'
5920 lt_cv_file_magic_test_file=
5921 lt_cv_deplibs_check_method='unknown'
5922 # Need to set the preceding variable on all platforms that support
5923 # interlibrary dependencies.
5924 # 'none' -- dependencies not supported.
5925 # `unknown' -- same as none, but documents that we really don't know.
5926 # 'pass_all' -- all dependencies passed with no checks.
5927 # 'test_compile' -- check by making test program.
5928 # 'file_magic [[regex]]' -- check by looking for files in library path
5929 # which responds to the $file_magic_cmd with a given extended regex.
5930 # If you have `file' or equivalent on your system and you're not sure
5931 # whether `pass_all' will *always* work, you probably want this one.
5932
5933 case $host_os in
5934 aix[4-9]*)
5935 lt_cv_deplibs_check_method=pass_all
5936 ;;
5937
5938 beos*)
5939 lt_cv_deplibs_check_method=pass_all
5940 ;;
5941
5942 bsdi[45]*)
5943 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5944 lt_cv_file_magic_cmd='/usr/bin/file -L'
5945 lt_cv_file_magic_test_file=/shlib/libc.so
5946 ;;
5947
5948 cygwin*)
5949 # func_win32_libid is a shell function defined in ltmain.sh
5950 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5951 lt_cv_file_magic_cmd='func_win32_libid'
5952 ;;
5953
5954 mingw* | pw32*)
5955 # Base MSYS/MinGW do not provide the 'file' command needed by
5956 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5957 # unless we find 'file', for example because we are cross-compiling.
5958 if ( file / ) >/dev/null 2>&1; then
5959 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5960 lt_cv_file_magic_cmd='func_win32_libid'
5961 else
5962 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5963 lt_cv_file_magic_cmd='$OBJDUMP -f'
5964 fi
5965 ;;
5966
5967 cegcc)
5968 # use the weaker test based on 'objdump'. See mingw*.
5969 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5970 lt_cv_file_magic_cmd='$OBJDUMP -f'
5971 ;;
5972
5973 darwin* | rhapsody*)
5974 lt_cv_deplibs_check_method=pass_all
5975 ;;
5976
5977 freebsd* | dragonfly*)
5978 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5979 case $host_cpu in
5980 i*86 )
5981 # Not sure whether the presence of OpenBSD here was a mistake.
5982 # Let's accept both of them until this is cleared up.
5983 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5984 lt_cv_file_magic_cmd=/usr/bin/file
5985 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5986 ;;
5987 esac
5988 else
5989 lt_cv_deplibs_check_method=pass_all
5990 fi
5991 ;;
5992
5993 gnu*)
5994 lt_cv_deplibs_check_method=pass_all
5995 ;;
5996
5997 hpux10.20* | hpux11*)
5998 lt_cv_file_magic_cmd=/usr/bin/file
5999 case $host_cpu in
6000 ia64*)
6001 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6002 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6003 ;;
6004 hppa*64*)
6005 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6006 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6007 ;;
6008 *)
6009 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6010 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6011 ;;
6012 esac
6013 ;;
6014
6015 interix[3-9]*)
6016 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6017 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6018 ;;
6019
6020 irix5* | irix6* | nonstopux*)
6021 case $LD in
6022 *-32|*"-32 ") libmagic=32-bit;;
6023 *-n32|*"-n32 ") libmagic=N32;;
6024 *-64|*"-64 ") libmagic=64-bit;;
6025 *) libmagic=never-match;;
6026 esac
6027 lt_cv_deplibs_check_method=pass_all
6028 ;;
6029
6030 # This must be Linux ELF.
6031 linux* | k*bsd*-gnu)
6032 lt_cv_deplibs_check_method=pass_all
6033 ;;
6034
6035 netbsd*)
6036 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6037 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6038 else
6039 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6040 fi
6041 ;;
6042
6043 newos6*)
6044 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6045 lt_cv_file_magic_cmd=/usr/bin/file
6046 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6047 ;;
6048
6049 *nto* | *qnx*)
6050 lt_cv_deplibs_check_method=pass_all
6051 ;;
6052
6053 openbsd*)
6054 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6055 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6056 else
6057 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6058 fi
6059 ;;
6060
6061 osf3* | osf4* | osf5*)
6062 lt_cv_deplibs_check_method=pass_all
6063 ;;
6064
6065 rdos*)
6066 lt_cv_deplibs_check_method=pass_all
6067 ;;
6068
6069 solaris*)
6070 lt_cv_deplibs_check_method=pass_all
6071 ;;
6072
6073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6074 lt_cv_deplibs_check_method=pass_all
6075 ;;
6076
6077 sysv4 | sysv4.3*)
6078 case $host_vendor in
6079 motorola)
6080 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]'
6081 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6082 ;;
6083 ncr)
6084 lt_cv_deplibs_check_method=pass_all
6085 ;;
6086 sequent)
6087 lt_cv_file_magic_cmd='/bin/file'
6088 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6089 ;;
6090 sni)
6091 lt_cv_file_magic_cmd='/bin/file'
6092 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6093 lt_cv_file_magic_test_file=/lib/libc.so
6094 ;;
6095 siemens)
6096 lt_cv_deplibs_check_method=pass_all
6097 ;;
6098 pc)
6099 lt_cv_deplibs_check_method=pass_all
6100 ;;
6101 esac
6102 ;;
6103
6104 tpf*)
6105 lt_cv_deplibs_check_method=pass_all
6106 ;;
6107 esac
6108
6109 fi
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6111 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6112 file_magic_cmd=$lt_cv_file_magic_cmd
6113 deplibs_check_method=$lt_cv_deplibs_check_method
6114 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127 if test -n "$ac_tool_prefix"; then
6128 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6129 set dummy ${ac_tool_prefix}ar; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if ${ac_cv_prog_AR+:} false; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 if test -n "$AR"; then
6136 ac_cv_prog_AR="$AR" # Let the user override the test.
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6140 do
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_AR="${ac_tool_prefix}ar"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 break 2
6148 fi
6149 done
6150 done
6151 IFS=$as_save_IFS
6152
6153 fi
6154 fi
6155 AR=$ac_cv_prog_AR
6156 if test -n "$AR"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6158 $as_echo "$AR" >&6; }
6159 else
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6162 fi
6163
6164
6165 fi
6166 if test -z "$ac_cv_prog_AR"; then
6167 ac_ct_AR=$AR
6168 # Extract the first word of "ar", so it can be a program name with args.
6169 set dummy ar; ac_word=$2
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171 $as_echo_n "checking for $ac_word... " >&6; }
6172 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6173 $as_echo_n "(cached) " >&6
6174 else
6175 if test -n "$ac_ct_AR"; then
6176 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6177 else
6178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6179 for as_dir in $PATH
6180 do
6181 IFS=$as_save_IFS
6182 test -z "$as_dir" && as_dir=.
6183 for ac_exec_ext in '' $ac_executable_extensions; do
6184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6185 ac_cv_prog_ac_ct_AR="ar"
6186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6187 break 2
6188 fi
6189 done
6190 done
6191 IFS=$as_save_IFS
6192
6193 fi
6194 fi
6195 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6196 if test -n "$ac_ct_AR"; then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6198 $as_echo "$ac_ct_AR" >&6; }
6199 else
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201 $as_echo "no" >&6; }
6202 fi
6203
6204 if test "x$ac_ct_AR" = x; then
6205 AR="false"
6206 else
6207 case $cross_compiling:$ac_tool_warned in
6208 yes:)
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6211 ac_tool_warned=yes ;;
6212 esac
6213 AR=$ac_ct_AR
6214 fi
6215 else
6216 AR="$ac_cv_prog_AR"
6217 fi
6218
6219 test -z "$AR" && AR=ar
6220 test -z "$AR_FLAGS" && AR_FLAGS=cru
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232 if test -n "$ac_tool_prefix"; then
6233 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6234 set dummy ${ac_tool_prefix}strip; ac_word=$2
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6236 $as_echo_n "checking for $ac_word... " >&6; }
6237 if ${ac_cv_prog_STRIP+:} false; then :
6238 $as_echo_n "(cached) " >&6
6239 else
6240 if test -n "$STRIP"; then
6241 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6242 else
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 for as_dir in $PATH
6245 do
6246 IFS=$as_save_IFS
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6250 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 break 2
6253 fi
6254 done
6255 done
6256 IFS=$as_save_IFS
6257
6258 fi
6259 fi
6260 STRIP=$ac_cv_prog_STRIP
6261 if test -n "$STRIP"; then
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6263 $as_echo "$STRIP" >&6; }
6264 else
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6266 $as_echo "no" >&6; }
6267 fi
6268
6269
6270 fi
6271 if test -z "$ac_cv_prog_STRIP"; then
6272 ac_ct_STRIP=$STRIP
6273 # Extract the first word of "strip", so it can be a program name with args.
6274 set dummy strip; ac_word=$2
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6276 $as_echo_n "checking for $ac_word... " >&6; }
6277 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279 else
6280 if test -n "$ac_ct_STRIP"; then
6281 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6282 else
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 for as_dir in $PATH
6285 do
6286 IFS=$as_save_IFS
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6290 ac_cv_prog_ac_ct_STRIP="strip"
6291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6292 break 2
6293 fi
6294 done
6295 done
6296 IFS=$as_save_IFS
6297
6298 fi
6299 fi
6300 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6301 if test -n "$ac_ct_STRIP"; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6303 $as_echo "$ac_ct_STRIP" >&6; }
6304 else
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6306 $as_echo "no" >&6; }
6307 fi
6308
6309 if test "x$ac_ct_STRIP" = x; then
6310 STRIP=":"
6311 else
6312 case $cross_compiling:$ac_tool_warned in
6313 yes:)
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6316 ac_tool_warned=yes ;;
6317 esac
6318 STRIP=$ac_ct_STRIP
6319 fi
6320 else
6321 STRIP="$ac_cv_prog_STRIP"
6322 fi
6323
6324 test -z "$STRIP" && STRIP=:
6325
6326
6327
6328
6329
6330
6331 if test -n "$ac_tool_prefix"; then
6332 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6333 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6335 $as_echo_n "checking for $ac_word... " >&6; }
6336 if ${ac_cv_prog_RANLIB+:} false; then :
6337 $as_echo_n "(cached) " >&6
6338 else
6339 if test -n "$RANLIB"; then
6340 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6341 else
6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 for as_dir in $PATH
6344 do
6345 IFS=$as_save_IFS
6346 test -z "$as_dir" && as_dir=.
6347 for ac_exec_ext in '' $ac_executable_extensions; do
6348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6349 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6351 break 2
6352 fi
6353 done
6354 done
6355 IFS=$as_save_IFS
6356
6357 fi
6358 fi
6359 RANLIB=$ac_cv_prog_RANLIB
6360 if test -n "$RANLIB"; then
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6362 $as_echo "$RANLIB" >&6; }
6363 else
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6365 $as_echo "no" >&6; }
6366 fi
6367
6368
6369 fi
6370 if test -z "$ac_cv_prog_RANLIB"; then
6371 ac_ct_RANLIB=$RANLIB
6372 # Extract the first word of "ranlib", so it can be a program name with args.
6373 set dummy ranlib; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6377 $as_echo_n "(cached) " >&6
6378 else
6379 if test -n "$ac_ct_RANLIB"; then
6380 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6381 else
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 for as_dir in $PATH
6384 do
6385 IFS=$as_save_IFS
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6389 ac_cv_prog_ac_ct_RANLIB="ranlib"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391 break 2
6392 fi
6393 done
6394 done
6395 IFS=$as_save_IFS
6396
6397 fi
6398 fi
6399 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6400 if test -n "$ac_ct_RANLIB"; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6402 $as_echo "$ac_ct_RANLIB" >&6; }
6403 else
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6406 fi
6407
6408 if test "x$ac_ct_RANLIB" = x; then
6409 RANLIB=":"
6410 else
6411 case $cross_compiling:$ac_tool_warned in
6412 yes:)
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6415 ac_tool_warned=yes ;;
6416 esac
6417 RANLIB=$ac_ct_RANLIB
6418 fi
6419 else
6420 RANLIB="$ac_cv_prog_RANLIB"
6421 fi
6422
6423 test -z "$RANLIB" && RANLIB=:
6424
6425
6426
6427
6428
6429
6430 # Determine commands to create old-style static archives.
6431 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6432 old_postinstall_cmds='chmod 644 $oldlib'
6433 old_postuninstall_cmds=
6434
6435 if test -n "$RANLIB"; then
6436 case $host_os in
6437 openbsd*)
6438 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6439 ;;
6440 *)
6441 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6442 ;;
6443 esac
6444 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6445 fi
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480 # If no C compiler was specified, use CC.
6481 LTCC=${LTCC-"$CC"}
6482
6483 # If no C compiler flags were specified, use CFLAGS.
6484 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6485
6486 # Allow CC to be a program name with arguments.
6487 compiler=$CC
6488
6489
6490 # Check for command to grab the raw symbol name followed by C symbol from nm.
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6492 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6493 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6494 $as_echo_n "(cached) " >&6
6495 else
6496
6497 # These are sane defaults that work on at least a few old systems.
6498 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6499
6500 # Character class describing NM global symbol codes.
6501 symcode='[BCDEGRST]'
6502
6503 # Regexp to match symbols that can be accessed directly from C.
6504 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6505
6506 # Define system-specific variables.
6507 case $host_os in
6508 aix*)
6509 symcode='[BCDT]'
6510 ;;
6511 cygwin* | mingw* | pw32* | cegcc*)
6512 symcode='[ABCDGISTW]'
6513 ;;
6514 hpux*)
6515 if test "$host_cpu" = ia64; then
6516 symcode='[ABCDEGRST]'
6517 fi
6518 ;;
6519 irix* | nonstopux*)
6520 symcode='[BCDEGRST]'
6521 ;;
6522 osf*)
6523 symcode='[BCDEGQRST]'
6524 ;;
6525 solaris*)
6526 symcode='[BDRT]'
6527 ;;
6528 sco3.2v5*)
6529 symcode='[DT]'
6530 ;;
6531 sysv4.2uw2*)
6532 symcode='[DT]'
6533 ;;
6534 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6535 symcode='[ABDT]'
6536 ;;
6537 sysv4)
6538 symcode='[DFNSTU]'
6539 ;;
6540 esac
6541
6542 # If we're using GNU nm, then use its standard symbol codes.
6543 case `$NM -V 2>&1` in
6544 *GNU* | *'with BFD'*)
6545 symcode='[ABCDGIRSTW]' ;;
6546 esac
6547
6548 # Transform an extracted symbol line into a proper C declaration.
6549 # Some systems (esp. on ia64) link data and code symbols differently,
6550 # so use this general approach.
6551 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6552
6553 # Transform an extracted symbol line into symbol name and symbol address
6554 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6555 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'"
6556
6557 # Handle CRLF in mingw tool chain
6558 opt_cr=
6559 case $build_os in
6560 mingw*)
6561 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6562 ;;
6563 esac
6564
6565 # Try without a prefix underscore, then with it.
6566 for ac_symprfx in "" "_"; do
6567
6568 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6569 symxfrm="\\1 $ac_symprfx\\2 \\2"
6570
6571 # Write the raw and C identifiers.
6572 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6573 # Fake it for dumpbin and say T for any non-static function
6574 # and D for any global variable.
6575 # Also find C++ and __fastcall symbols from MSVC++,
6576 # which start with @ or ?.
6577 lt_cv_sys_global_symbol_pipe="$AWK '"\
6578 " {last_section=section; section=\$ 3};"\
6579 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6580 " \$ 0!~/External *\|/{next};"\
6581 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6582 " {if(hide[section]) next};"\
6583 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6584 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6585 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6586 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6587 " ' prfx=^$ac_symprfx"
6588 else
6589 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6590 fi
6591
6592 # Check to see that the pipe works correctly.
6593 pipe_works=no
6594
6595 rm -f conftest*
6596 cat > conftest.$ac_ext <<_LT_EOF
6597 #ifdef __cplusplus
6598 extern "C" {
6599 #endif
6600 char nm_test_var;
6601 void nm_test_func(void);
6602 void nm_test_func(void){}
6603 #ifdef __cplusplus
6604 }
6605 #endif
6606 int main(){nm_test_var='a';nm_test_func();return(0);}
6607 _LT_EOF
6608
6609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6610 (eval $ac_compile) 2>&5
6611 ac_status=$?
6612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6613 test $ac_status = 0; }; then
6614 # Now try to grab the symbols.
6615 nlist=conftest.nm
6616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6617 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6618 ac_status=$?
6619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6620 test $ac_status = 0; } && test -s "$nlist"; then
6621 # Try sorting and uniquifying the output.
6622 if sort "$nlist" | uniq > "$nlist"T; then
6623 mv -f "$nlist"T "$nlist"
6624 else
6625 rm -f "$nlist"T
6626 fi
6627
6628 # Make sure that we snagged all the symbols we need.
6629 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6630 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6631 cat <<_LT_EOF > conftest.$ac_ext
6632 #ifdef __cplusplus
6633 extern "C" {
6634 #endif
6635
6636 _LT_EOF
6637 # Now generate the symbol file.
6638 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6639
6640 cat <<_LT_EOF >> conftest.$ac_ext
6641
6642 /* The mapping between symbol names and symbols. */
6643 const struct {
6644 const char *name;
6645 void *address;
6646 }
6647 lt__PROGRAM__LTX_preloaded_symbols[] =
6648 {
6649 { "@PROGRAM@", (void *) 0 },
6650 _LT_EOF
6651 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6652 cat <<\_LT_EOF >> conftest.$ac_ext
6653 {0, (void *) 0}
6654 };
6655
6656 /* This works around a problem in FreeBSD linker */
6657 #ifdef FREEBSD_WORKAROUND
6658 static const void *lt_preloaded_setup() {
6659 return lt__PROGRAM__LTX_preloaded_symbols;
6660 }
6661 #endif
6662
6663 #ifdef __cplusplus
6664 }
6665 #endif
6666 _LT_EOF
6667 # Now try linking the two files.
6668 mv conftest.$ac_objext conftstm.$ac_objext
6669 lt_save_LIBS="$LIBS"
6670 lt_save_CFLAGS="$CFLAGS"
6671 LIBS="conftstm.$ac_objext"
6672 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6674 (eval $ac_link) 2>&5
6675 ac_status=$?
6676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6677 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6678 pipe_works=yes
6679 fi
6680 LIBS="$lt_save_LIBS"
6681 CFLAGS="$lt_save_CFLAGS"
6682 else
6683 echo "cannot find nm_test_func in $nlist" >&5
6684 fi
6685 else
6686 echo "cannot find nm_test_var in $nlist" >&5
6687 fi
6688 else
6689 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6690 fi
6691 else
6692 echo "$progname: failed program was:" >&5
6693 cat conftest.$ac_ext >&5
6694 fi
6695 rm -rf conftest* conftst*
6696
6697 # Do not use the global_symbol_pipe unless it works.
6698 if test "$pipe_works" = yes; then
6699 break
6700 else
6701 lt_cv_sys_global_symbol_pipe=
6702 fi
6703 done
6704
6705 fi
6706
6707 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6708 lt_cv_sys_global_symbol_to_cdecl=
6709 fi
6710 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6712 $as_echo "failed" >&6; }
6713 else
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6715 $as_echo "ok" >&6; }
6716 fi
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740 @%:@ Check whether --enable-libtool-lock was given.
6741 if test "${enable_libtool_lock+set}" = set; then :
6742 enableval=$enable_libtool_lock;
6743 fi
6744
6745 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6746
6747 # Some flags need to be propagated to the compiler or linker for good
6748 # libtool support.
6749 case $host in
6750 ia64-*-hpux*)
6751 # Find out which ABI we are using.
6752 echo 'int i;' > conftest.$ac_ext
6753 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6754 (eval $ac_compile) 2>&5
6755 ac_status=$?
6756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6757 test $ac_status = 0; }; then
6758 case `/usr/bin/file conftest.$ac_objext` in
6759 *ELF-32*)
6760 HPUX_IA64_MODE="32"
6761 ;;
6762 *ELF-64*)
6763 HPUX_IA64_MODE="64"
6764 ;;
6765 esac
6766 fi
6767 rm -rf conftest*
6768 ;;
6769 *-*-irix6*)
6770 # Find out which ABI we are using.
6771 echo '#line __oline__ "configure"' > conftest.$ac_ext
6772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6773 (eval $ac_compile) 2>&5
6774 ac_status=$?
6775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6776 test $ac_status = 0; }; then
6777 if test "$lt_cv_prog_gnu_ld" = yes; then
6778 case `/usr/bin/file conftest.$ac_objext` in
6779 *32-bit*)
6780 LD="${LD-ld} -melf32bsmip"
6781 ;;
6782 *N32*)
6783 LD="${LD-ld} -melf32bmipn32"
6784 ;;
6785 *64-bit*)
6786 LD="${LD-ld} -melf64bmip"
6787 ;;
6788 esac
6789 else
6790 case `/usr/bin/file conftest.$ac_objext` in
6791 *32-bit*)
6792 LD="${LD-ld} -32"
6793 ;;
6794 *N32*)
6795 LD="${LD-ld} -n32"
6796 ;;
6797 *64-bit*)
6798 LD="${LD-ld} -64"
6799 ;;
6800 esac
6801 fi
6802 fi
6803 rm -rf conftest*
6804 ;;
6805
6806 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6807 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6808 # Find out which ABI we are using.
6809 echo 'int i;' > conftest.$ac_ext
6810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6811 (eval $ac_compile) 2>&5
6812 ac_status=$?
6813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6814 test $ac_status = 0; }; then
6815 case `/usr/bin/file conftest.o` in
6816 *32-bit*)
6817 case $host in
6818 x86_64-*kfreebsd*-gnu)
6819 LD="${LD-ld} -m elf_i386_fbsd"
6820 ;;
6821 x86_64-*linux*)
6822 LD="${LD-ld} -m elf_i386"
6823 ;;
6824 ppc64-*linux*|powerpc64-*linux*)
6825 LD="${LD-ld} -m elf32ppclinux"
6826 ;;
6827 s390x-*linux*)
6828 LD="${LD-ld} -m elf_s390"
6829 ;;
6830 sparc64-*linux*)
6831 LD="${LD-ld} -m elf32_sparc"
6832 ;;
6833 esac
6834 ;;
6835 *64-bit*)
6836 case $host in
6837 x86_64-*kfreebsd*-gnu)
6838 LD="${LD-ld} -m elf_x86_64_fbsd"
6839 ;;
6840 x86_64-*linux*)
6841 LD="${LD-ld} -m elf_x86_64"
6842 ;;
6843 ppc*-*linux*|powerpc*-*linux*)
6844 LD="${LD-ld} -m elf64ppc"
6845 ;;
6846 s390*-*linux*|s390*-*tpf*)
6847 LD="${LD-ld} -m elf64_s390"
6848 ;;
6849 sparc*-*linux*)
6850 LD="${LD-ld} -m elf64_sparc"
6851 ;;
6852 esac
6853 ;;
6854 esac
6855 fi
6856 rm -rf conftest*
6857 ;;
6858
6859 *-*-sco3.2v5*)
6860 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6861 SAVE_CFLAGS="$CFLAGS"
6862 CFLAGS="$CFLAGS -belf"
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6864 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6865 if ${lt_cv_cc_needs_belf+:} false; then :
6866 $as_echo_n "(cached) " >&6
6867 else
6868 ac_ext=c
6869 ac_cpp='$CPP $CPPFLAGS'
6870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6873
6874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6875 /* end confdefs.h. */
6876
6877 int
6878 main ()
6879 {
6880
6881 ;
6882 return 0;
6883 }
6884 _ACEOF
6885 if ac_fn_c_try_link "$LINENO"; then :
6886 lt_cv_cc_needs_belf=yes
6887 else
6888 lt_cv_cc_needs_belf=no
6889 fi
6890 rm -f core conftest.err conftest.$ac_objext \
6891 conftest$ac_exeext conftest.$ac_ext
6892 ac_ext=c
6893 ac_cpp='$CPP $CPPFLAGS'
6894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6897
6898 fi
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6900 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6901 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6902 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6903 CFLAGS="$SAVE_CFLAGS"
6904 fi
6905 ;;
6906 sparc*-*solaris*)
6907 # Find out which ABI we are using.
6908 echo 'int i;' > conftest.$ac_ext
6909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6910 (eval $ac_compile) 2>&5
6911 ac_status=$?
6912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6913 test $ac_status = 0; }; then
6914 case `/usr/bin/file conftest.o` in
6915 *64-bit*)
6916 case $lt_cv_prog_gnu_ld in
6917 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6918 *)
6919 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6920 LD="${LD-ld} -64"
6921 fi
6922 ;;
6923 esac
6924 ;;
6925 esac
6926 fi
6927 rm -rf conftest*
6928 ;;
6929 esac
6930
6931 need_locks="$enable_libtool_lock"
6932
6933
6934 case $host_os in
6935 rhapsody* | darwin*)
6936 if test -n "$ac_tool_prefix"; then
6937 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6938 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6940 $as_echo_n "checking for $ac_word... " >&6; }
6941 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6942 $as_echo_n "(cached) " >&6
6943 else
6944 if test -n "$DSYMUTIL"; then
6945 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6946 else
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 for as_dir in $PATH
6949 do
6950 IFS=$as_save_IFS
6951 test -z "$as_dir" && as_dir=.
6952 for ac_exec_ext in '' $ac_executable_extensions; do
6953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6954 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6956 break 2
6957 fi
6958 done
6959 done
6960 IFS=$as_save_IFS
6961
6962 fi
6963 fi
6964 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6965 if test -n "$DSYMUTIL"; then
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6967 $as_echo "$DSYMUTIL" >&6; }
6968 else
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6970 $as_echo "no" >&6; }
6971 fi
6972
6973
6974 fi
6975 if test -z "$ac_cv_prog_DSYMUTIL"; then
6976 ac_ct_DSYMUTIL=$DSYMUTIL
6977 # Extract the first word of "dsymutil", so it can be a program name with args.
6978 set dummy dsymutil; ac_word=$2
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 $as_echo_n "checking for $ac_word... " >&6; }
6981 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6982 $as_echo_n "(cached) " >&6
6983 else
6984 if test -n "$ac_ct_DSYMUTIL"; then
6985 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6986 else
6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 for as_dir in $PATH
6989 do
6990 IFS=$as_save_IFS
6991 test -z "$as_dir" && as_dir=.
6992 for ac_exec_ext in '' $ac_executable_extensions; do
6993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6994 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6996 break 2
6997 fi
6998 done
6999 done
7000 IFS=$as_save_IFS
7001
7002 fi
7003 fi
7004 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7005 if test -n "$ac_ct_DSYMUTIL"; then
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7007 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7008 else
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 $as_echo "no" >&6; }
7011 fi
7012
7013 if test "x$ac_ct_DSYMUTIL" = x; then
7014 DSYMUTIL=":"
7015 else
7016 case $cross_compiling:$ac_tool_warned in
7017 yes:)
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7020 ac_tool_warned=yes ;;
7021 esac
7022 DSYMUTIL=$ac_ct_DSYMUTIL
7023 fi
7024 else
7025 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7026 fi
7027
7028 if test -n "$ac_tool_prefix"; then
7029 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7030 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032 $as_echo_n "checking for $ac_word... " >&6; }
7033 if ${ac_cv_prog_NMEDIT+:} false; then :
7034 $as_echo_n "(cached) " >&6
7035 else
7036 if test -n "$NMEDIT"; then
7037 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7038 else
7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 for as_dir in $PATH
7041 do
7042 IFS=$as_save_IFS
7043 test -z "$as_dir" && as_dir=.
7044 for ac_exec_ext in '' $ac_executable_extensions; do
7045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7046 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7048 break 2
7049 fi
7050 done
7051 done
7052 IFS=$as_save_IFS
7053
7054 fi
7055 fi
7056 NMEDIT=$ac_cv_prog_NMEDIT
7057 if test -n "$NMEDIT"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7059 $as_echo "$NMEDIT" >&6; }
7060 else
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062 $as_echo "no" >&6; }
7063 fi
7064
7065
7066 fi
7067 if test -z "$ac_cv_prog_NMEDIT"; then
7068 ac_ct_NMEDIT=$NMEDIT
7069 # Extract the first word of "nmedit", so it can be a program name with args.
7070 set dummy nmedit; ac_word=$2
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072 $as_echo_n "checking for $ac_word... " >&6; }
7073 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7074 $as_echo_n "(cached) " >&6
7075 else
7076 if test -n "$ac_ct_NMEDIT"; then
7077 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7078 else
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 for as_dir in $PATH
7081 do
7082 IFS=$as_save_IFS
7083 test -z "$as_dir" && as_dir=.
7084 for ac_exec_ext in '' $ac_executable_extensions; do
7085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7086 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7088 break 2
7089 fi
7090 done
7091 done
7092 IFS=$as_save_IFS
7093
7094 fi
7095 fi
7096 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7097 if test -n "$ac_ct_NMEDIT"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7099 $as_echo "$ac_ct_NMEDIT" >&6; }
7100 else
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102 $as_echo "no" >&6; }
7103 fi
7104
7105 if test "x$ac_ct_NMEDIT" = x; then
7106 NMEDIT=":"
7107 else
7108 case $cross_compiling:$ac_tool_warned in
7109 yes:)
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7112 ac_tool_warned=yes ;;
7113 esac
7114 NMEDIT=$ac_ct_NMEDIT
7115 fi
7116 else
7117 NMEDIT="$ac_cv_prog_NMEDIT"
7118 fi
7119
7120 if test -n "$ac_tool_prefix"; then
7121 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7122 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7124 $as_echo_n "checking for $ac_word... " >&6; }
7125 if ${ac_cv_prog_LIPO+:} false; then :
7126 $as_echo_n "(cached) " >&6
7127 else
7128 if test -n "$LIPO"; then
7129 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7130 else
7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 for as_dir in $PATH
7133 do
7134 IFS=$as_save_IFS
7135 test -z "$as_dir" && as_dir=.
7136 for ac_exec_ext in '' $ac_executable_extensions; do
7137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7138 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7140 break 2
7141 fi
7142 done
7143 done
7144 IFS=$as_save_IFS
7145
7146 fi
7147 fi
7148 LIPO=$ac_cv_prog_LIPO
7149 if test -n "$LIPO"; then
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7151 $as_echo "$LIPO" >&6; }
7152 else
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7154 $as_echo "no" >&6; }
7155 fi
7156
7157
7158 fi
7159 if test -z "$ac_cv_prog_LIPO"; then
7160 ac_ct_LIPO=$LIPO
7161 # Extract the first word of "lipo", so it can be a program name with args.
7162 set dummy lipo; ac_word=$2
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164 $as_echo_n "checking for $ac_word... " >&6; }
7165 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7166 $as_echo_n "(cached) " >&6
7167 else
7168 if test -n "$ac_ct_LIPO"; then
7169 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7170 else
7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172 for as_dir in $PATH
7173 do
7174 IFS=$as_save_IFS
7175 test -z "$as_dir" && as_dir=.
7176 for ac_exec_ext in '' $ac_executable_extensions; do
7177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7178 ac_cv_prog_ac_ct_LIPO="lipo"
7179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7180 break 2
7181 fi
7182 done
7183 done
7184 IFS=$as_save_IFS
7185
7186 fi
7187 fi
7188 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7189 if test -n "$ac_ct_LIPO"; then
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7191 $as_echo "$ac_ct_LIPO" >&6; }
7192 else
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 $as_echo "no" >&6; }
7195 fi
7196
7197 if test "x$ac_ct_LIPO" = x; then
7198 LIPO=":"
7199 else
7200 case $cross_compiling:$ac_tool_warned in
7201 yes:)
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7204 ac_tool_warned=yes ;;
7205 esac
7206 LIPO=$ac_ct_LIPO
7207 fi
7208 else
7209 LIPO="$ac_cv_prog_LIPO"
7210 fi
7211
7212 if test -n "$ac_tool_prefix"; then
7213 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7214 set dummy ${ac_tool_prefix}otool; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 $as_echo_n "checking for $ac_word... " >&6; }
7217 if ${ac_cv_prog_OTOOL+:} false; then :
7218 $as_echo_n "(cached) " >&6
7219 else
7220 if test -n "$OTOOL"; then
7221 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7222 else
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 for as_dir in $PATH
7225 do
7226 IFS=$as_save_IFS
7227 test -z "$as_dir" && as_dir=.
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7232 break 2
7233 fi
7234 done
7235 done
7236 IFS=$as_save_IFS
7237
7238 fi
7239 fi
7240 OTOOL=$ac_cv_prog_OTOOL
7241 if test -n "$OTOOL"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7243 $as_echo "$OTOOL" >&6; }
7244 else
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7247 fi
7248
7249
7250 fi
7251 if test -z "$ac_cv_prog_OTOOL"; then
7252 ac_ct_OTOOL=$OTOOL
7253 # Extract the first word of "otool", so it can be a program name with args.
7254 set dummy otool; ac_word=$2
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256 $as_echo_n "checking for $ac_word... " >&6; }
7257 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7258 $as_echo_n "(cached) " >&6
7259 else
7260 if test -n "$ac_ct_OTOOL"; then
7261 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7262 else
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7264 for as_dir in $PATH
7265 do
7266 IFS=$as_save_IFS
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270 ac_cv_prog_ac_ct_OTOOL="otool"
7271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7272 break 2
7273 fi
7274 done
7275 done
7276 IFS=$as_save_IFS
7277
7278 fi
7279 fi
7280 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7281 if test -n "$ac_ct_OTOOL"; then
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7283 $as_echo "$ac_ct_OTOOL" >&6; }
7284 else
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286 $as_echo "no" >&6; }
7287 fi
7288
7289 if test "x$ac_ct_OTOOL" = x; then
7290 OTOOL=":"
7291 else
7292 case $cross_compiling:$ac_tool_warned in
7293 yes:)
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7296 ac_tool_warned=yes ;;
7297 esac
7298 OTOOL=$ac_ct_OTOOL
7299 fi
7300 else
7301 OTOOL="$ac_cv_prog_OTOOL"
7302 fi
7303
7304 if test -n "$ac_tool_prefix"; then
7305 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7306 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_OTOOL64+:} false; then :
7310 $as_echo_n "(cached) " >&6
7311 else
7312 if test -n "$OTOOL64"; then
7313 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7314 else
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 for as_dir in $PATH
7317 do
7318 IFS=$as_save_IFS
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 break 2
7325 fi
7326 done
7327 done
7328 IFS=$as_save_IFS
7329
7330 fi
7331 fi
7332 OTOOL64=$ac_cv_prog_OTOOL64
7333 if test -n "$OTOOL64"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7335 $as_echo "$OTOOL64" >&6; }
7336 else
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7339 fi
7340
7341
7342 fi
7343 if test -z "$ac_cv_prog_OTOOL64"; then
7344 ac_ct_OTOOL64=$OTOOL64
7345 # Extract the first word of "otool64", so it can be a program name with args.
7346 set dummy otool64; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7350 $as_echo_n "(cached) " >&6
7351 else
7352 if test -n "$ac_ct_OTOOL64"; then
7353 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7354 else
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356 for as_dir in $PATH
7357 do
7358 IFS=$as_save_IFS
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_ac_ct_OTOOL64="otool64"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364 break 2
7365 fi
7366 done
7367 done
7368 IFS=$as_save_IFS
7369
7370 fi
7371 fi
7372 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7373 if test -n "$ac_ct_OTOOL64"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7375 $as_echo "$ac_ct_OTOOL64" >&6; }
7376 else
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7379 fi
7380
7381 if test "x$ac_ct_OTOOL64" = x; then
7382 OTOOL64=":"
7383 else
7384 case $cross_compiling:$ac_tool_warned in
7385 yes:)
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7389 esac
7390 OTOOL64=$ac_ct_OTOOL64
7391 fi
7392 else
7393 OTOOL64="$ac_cv_prog_OTOOL64"
7394 fi
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7423 $as_echo_n "checking for -single_module linker flag... " >&6; }
7424 if ${lt_cv_apple_cc_single_mod+:} false; then :
7425 $as_echo_n "(cached) " >&6
7426 else
7427 lt_cv_apple_cc_single_mod=no
7428 if test -z "${LT_MULTI_MODULE}"; then
7429 # By default we will add the -single_module flag. You can override
7430 # by either setting the environment variable LT_MULTI_MODULE
7431 # non-empty at configure time, or by adding -multi_module to the
7432 # link flags.
7433 rm -rf libconftest.dylib*
7434 echo "int foo(void){return 1;}" > conftest.c
7435 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7436 -dynamiclib -Wl,-single_module conftest.c" >&5
7437 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7438 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7439 _lt_result=$?
7440 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7441 lt_cv_apple_cc_single_mod=yes
7442 else
7443 cat conftest.err >&5
7444 fi
7445 rm -rf libconftest.dylib*
7446 rm -f conftest.*
7447 fi
7448 fi
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7450 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7452 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7453 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7454 $as_echo_n "(cached) " >&6
7455 else
7456 lt_cv_ld_exported_symbols_list=no
7457 save_LDFLAGS=$LDFLAGS
7458 echo "_main" > conftest.sym
7459 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7461 /* end confdefs.h. */
7462
7463 int
7464 main ()
7465 {
7466
7467 ;
7468 return 0;
7469 }
7470 _ACEOF
7471 if ac_fn_c_try_link "$LINENO"; then :
7472 lt_cv_ld_exported_symbols_list=yes
7473 else
7474 lt_cv_ld_exported_symbols_list=no
7475 fi
7476 rm -f core conftest.err conftest.$ac_objext \
7477 conftest$ac_exeext conftest.$ac_ext
7478 LDFLAGS="$save_LDFLAGS"
7479
7480 fi
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7482 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7483 case $host_os in
7484 rhapsody* | darwin1.[012])
7485 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7486 darwin1.*)
7487 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7488 darwin*) # darwin 5.x on
7489 # if running on 10.5 or later, the deployment target defaults
7490 # to the OS version, if on x86, and 10.4, the deployment
7491 # target defaults to 10.4. Don't you love it?
7492 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7493 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7494 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7495 10.[012]*)
7496 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7497 10.*)
7498 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7499 esac
7500 ;;
7501 esac
7502 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7503 _lt_dar_single_mod='$single_module'
7504 fi
7505 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7506 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7507 else
7508 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7509 fi
7510 if test "$DSYMUTIL" != ":"; then
7511 _lt_dsymutil='~$DSYMUTIL $lib || :'
7512 else
7513 _lt_dsymutil=
7514 fi
7515 ;;
7516 esac
7517
7518
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7520 $as_echo_n "checking for ANSI C header files... " >&6; }
7521 if ${ac_cv_header_stdc+:} false; then :
7522 $as_echo_n "(cached) " >&6
7523 else
7524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7525 /* end confdefs.h. */
7526 #include <stdlib.h>
7527 #include <stdarg.h>
7528 #include <string.h>
7529 #include <float.h>
7530
7531 int
7532 main ()
7533 {
7534
7535 ;
7536 return 0;
7537 }
7538 _ACEOF
7539 if ac_fn_c_try_compile "$LINENO"; then :
7540 ac_cv_header_stdc=yes
7541 else
7542 ac_cv_header_stdc=no
7543 fi
7544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7545
7546 if test $ac_cv_header_stdc = yes; then
7547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7549 /* end confdefs.h. */
7550 #include <string.h>
7551
7552 _ACEOF
7553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7554 $EGREP "memchr" >/dev/null 2>&1; then :
7555
7556 else
7557 ac_cv_header_stdc=no
7558 fi
7559 rm -f conftest*
7560
7561 fi
7562
7563 if test $ac_cv_header_stdc = yes; then
7564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566 /* end confdefs.h. */
7567 #include <stdlib.h>
7568
7569 _ACEOF
7570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7571 $EGREP "free" >/dev/null 2>&1; then :
7572
7573 else
7574 ac_cv_header_stdc=no
7575 fi
7576 rm -f conftest*
7577
7578 fi
7579
7580 if test $ac_cv_header_stdc = yes; then
7581 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7582 if test "$cross_compiling" = yes; then :
7583 :
7584 else
7585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7586 /* end confdefs.h. */
7587 #include <ctype.h>
7588 #include <stdlib.h>
7589 #if ((' ' & 0x0FF) == 0x020)
7590 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7591 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7592 #else
7593 # define ISLOWER(c) \
7594 (('a' <= (c) && (c) <= 'i') \
7595 || ('j' <= (c) && (c) <= 'r') \
7596 || ('s' <= (c) && (c) <= 'z'))
7597 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7598 #endif
7599
7600 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7601 int
7602 main ()
7603 {
7604 int i;
7605 for (i = 0; i < 256; i++)
7606 if (XOR (islower (i), ISLOWER (i))
7607 || toupper (i) != TOUPPER (i))
7608 return 2;
7609 return 0;
7610 }
7611 _ACEOF
7612 if ac_fn_c_try_run "$LINENO"; then :
7613
7614 else
7615 ac_cv_header_stdc=no
7616 fi
7617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7618 conftest.$ac_objext conftest.beam conftest.$ac_ext
7619 fi
7620
7621 fi
7622 fi
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7624 $as_echo "$ac_cv_header_stdc" >&6; }
7625 if test $ac_cv_header_stdc = yes; then
7626
7627 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7628
7629 fi
7630
7631 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7632 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7633 inttypes.h stdint.h unistd.h
7634 do :
7635 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7636 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7637 "
7638 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7639 cat >>confdefs.h <<_ACEOF
7640 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7641 _ACEOF
7642
7643 fi
7644
7645 done
7646
7647
7648 for ac_header in dlfcn.h
7649 do :
7650 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7651 "
7652 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7653 cat >>confdefs.h <<_ACEOF
7654 @%:@define HAVE_DLFCN_H 1
7655 _ACEOF
7656
7657 fi
7658
7659 done
7660
7661
7662
7663 ac_ext=cpp
7664 ac_cpp='$CXXCPP $CPPFLAGS'
7665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7668 if test -z "$CXX"; then
7669 if test -n "$CCC"; then
7670 CXX=$CCC
7671 else
7672 if test -n "$ac_tool_prefix"; then
7673 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7674 do
7675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7676 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7678 $as_echo_n "checking for $ac_word... " >&6; }
7679 if ${ac_cv_prog_CXX+:} false; then :
7680 $as_echo_n "(cached) " >&6
7681 else
7682 if test -n "$CXX"; then
7683 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7684 else
7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686 for as_dir in $PATH
7687 do
7688 IFS=$as_save_IFS
7689 test -z "$as_dir" && as_dir=.
7690 for ac_exec_ext in '' $ac_executable_extensions; do
7691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7692 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7694 break 2
7695 fi
7696 done
7697 done
7698 IFS=$as_save_IFS
7699
7700 fi
7701 fi
7702 CXX=$ac_cv_prog_CXX
7703 if test -n "$CXX"; then
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7705 $as_echo "$CXX" >&6; }
7706 else
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708 $as_echo "no" >&6; }
7709 fi
7710
7711
7712 test -n "$CXX" && break
7713 done
7714 fi
7715 if test -z "$CXX"; then
7716 ac_ct_CXX=$CXX
7717 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7718 do
7719 # Extract the first word of "$ac_prog", so it can be a program name with args.
7720 set dummy $ac_prog; ac_word=$2
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7722 $as_echo_n "checking for $ac_word... " >&6; }
7723 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7724 $as_echo_n "(cached) " >&6
7725 else
7726 if test -n "$ac_ct_CXX"; then
7727 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7728 else
7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730 for as_dir in $PATH
7731 do
7732 IFS=$as_save_IFS
7733 test -z "$as_dir" && as_dir=.
7734 for ac_exec_ext in '' $ac_executable_extensions; do
7735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7736 ac_cv_prog_ac_ct_CXX="$ac_prog"
7737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7738 break 2
7739 fi
7740 done
7741 done
7742 IFS=$as_save_IFS
7743
7744 fi
7745 fi
7746 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7747 if test -n "$ac_ct_CXX"; then
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7749 $as_echo "$ac_ct_CXX" >&6; }
7750 else
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7752 $as_echo "no" >&6; }
7753 fi
7754
7755
7756 test -n "$ac_ct_CXX" && break
7757 done
7758
7759 if test "x$ac_ct_CXX" = x; then
7760 CXX="g++"
7761 else
7762 case $cross_compiling:$ac_tool_warned in
7763 yes:)
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7766 ac_tool_warned=yes ;;
7767 esac
7768 CXX=$ac_ct_CXX
7769 fi
7770 fi
7771
7772 fi
7773 fi
7774 # Provide some information about the compiler.
7775 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7776 set X $ac_compile
7777 ac_compiler=$2
7778 for ac_option in --version -v -V -qversion; do
7779 { { ac_try="$ac_compiler $ac_option >&5"
7780 case "(($ac_try" in
7781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7782 *) ac_try_echo=$ac_try;;
7783 esac
7784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7785 $as_echo "$ac_try_echo"; } >&5
7786 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7787 ac_status=$?
7788 if test -s conftest.err; then
7789 sed '10a\
7790 ... rest of stderr output deleted ...
7791 10q' conftest.err >conftest.er1
7792 cat conftest.er1 >&5
7793 fi
7794 rm -f conftest.er1 conftest.err
7795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7796 test $ac_status = 0; }
7797 done
7798
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7800 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7801 if ${ac_cv_cxx_compiler_gnu+:} false; then :
7802 $as_echo_n "(cached) " >&6
7803 else
7804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7805 /* end confdefs.h. */
7806
7807 int
7808 main ()
7809 {
7810 #ifndef __GNUC__
7811 choke me
7812 #endif
7813
7814 ;
7815 return 0;
7816 }
7817 _ACEOF
7818 if ac_fn_cxx_try_compile "$LINENO"; then :
7819 ac_compiler_gnu=yes
7820 else
7821 ac_compiler_gnu=no
7822 fi
7823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7824 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7825
7826 fi
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7828 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7829 if test $ac_compiler_gnu = yes; then
7830 GXX=yes
7831 else
7832 GXX=
7833 fi
7834 ac_test_CXXFLAGS=${CXXFLAGS+set}
7835 ac_save_CXXFLAGS=$CXXFLAGS
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7837 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7838 if ${ac_cv_prog_cxx_g+:} false; then :
7839 $as_echo_n "(cached) " >&6
7840 else
7841 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7842 ac_cxx_werror_flag=yes
7843 ac_cv_prog_cxx_g=no
7844 CXXFLAGS="-g"
7845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7846 /* end confdefs.h. */
7847
7848 int
7849 main ()
7850 {
7851
7852 ;
7853 return 0;
7854 }
7855 _ACEOF
7856 if ac_fn_cxx_try_compile "$LINENO"; then :
7857 ac_cv_prog_cxx_g=yes
7858 else
7859 CXXFLAGS=""
7860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7861 /* end confdefs.h. */
7862
7863 int
7864 main ()
7865 {
7866
7867 ;
7868 return 0;
7869 }
7870 _ACEOF
7871 if ac_fn_cxx_try_compile "$LINENO"; then :
7872
7873 else
7874 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7875 CXXFLAGS="-g"
7876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7877 /* end confdefs.h. */
7878
7879 int
7880 main ()
7881 {
7882
7883 ;
7884 return 0;
7885 }
7886 _ACEOF
7887 if ac_fn_cxx_try_compile "$LINENO"; then :
7888 ac_cv_prog_cxx_g=yes
7889 fi
7890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7891 fi
7892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7893 fi
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7895 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7896 fi
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7898 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7899 if test "$ac_test_CXXFLAGS" = set; then
7900 CXXFLAGS=$ac_save_CXXFLAGS
7901 elif test $ac_cv_prog_cxx_g = yes; then
7902 if test "$GXX" = yes; then
7903 CXXFLAGS="-g -O2"
7904 else
7905 CXXFLAGS="-g"
7906 fi
7907 else
7908 if test "$GXX" = yes; then
7909 CXXFLAGS="-O2"
7910 else
7911 CXXFLAGS=
7912 fi
7913 fi
7914 ac_ext=cpp
7915 ac_cpp='$CXXCPP $CPPFLAGS'
7916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7919
7920 depcc="$CXX" am_compiler_list=
7921
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7923 $as_echo_n "checking dependency style of $depcc... " >&6; }
7924 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
7925 $as_echo_n "(cached) " >&6
7926 else
7927 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7928 # We make a subdir and do the tests there. Otherwise we can end up
7929 # making bogus files that we don't know about and never remove. For
7930 # instance it was reported that on HP-UX the gcc test will end up
7931 # making a dummy file named `D' -- because `-MD' means `put the output
7932 # in D'.
7933 mkdir conftest.dir
7934 # Copy depcomp to subdir because otherwise we won't find it if we're
7935 # using a relative directory.
7936 cp "$am_depcomp" conftest.dir
7937 cd conftest.dir
7938 # We will build objects and dependencies in a subdirectory because
7939 # it helps to detect inapplicable dependency modes. For instance
7940 # both Tru64's cc and ICC support -MD to output dependencies as a
7941 # side effect of compilation, but ICC will put the dependencies in
7942 # the current directory while Tru64 will put them in the object
7943 # directory.
7944 mkdir sub
7945
7946 am_cv_CXX_dependencies_compiler_type=none
7947 if test "$am_compiler_list" = ""; then
7948 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7949 fi
7950 am__universal=false
7951 case " $depcc " in #(
7952 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7953 esac
7954
7955 for depmode in $am_compiler_list; do
7956 # Setup a source with many dependencies, because some compilers
7957 # like to wrap large dependency lists on column 80 (with \), and
7958 # we should not choose a depcomp mode which is confused by this.
7959 #
7960 # We need to recreate these files for each test, as the compiler may
7961 # overwrite some of them when testing with obscure command lines.
7962 # This happens at least with the AIX C compiler.
7963 : > sub/conftest.c
7964 for i in 1 2 3 4 5 6; do
7965 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7966 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7967 # Solaris 8's {/usr,}/bin/sh.
7968 touch sub/conftst$i.h
7969 done
7970 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7971
7972 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7973 # mode. It turns out that the SunPro C++ compiler does not properly
7974 # handle `-M -o', and we need to detect this. Also, some Intel
7975 # versions had trouble with output in subdirs
7976 am__obj=sub/conftest.${OBJEXT-o}
7977 am__minus_obj="-o $am__obj"
7978 case $depmode in
7979 gcc)
7980 # This depmode causes a compiler race in universal mode.
7981 test "$am__universal" = false || continue
7982 ;;
7983 nosideeffect)
7984 # after this tag, mechanisms are not by side-effect, so they'll
7985 # only be used when explicitly requested
7986 if test "x$enable_dependency_tracking" = xyes; then
7987 continue
7988 else
7989 break
7990 fi
7991 ;;
7992 msvisualcpp | msvcmsys)
7993 # This compiler won't grok `-c -o', but also, the minuso test has
7994 # not run yet. These depmodes are late enough in the game, and
7995 # so weak that their functioning should not be impacted.
7996 am__obj=conftest.${OBJEXT-o}
7997 am__minus_obj=
7998 ;;
7999 none) break ;;
8000 esac
8001 if depmode=$depmode \
8002 source=sub/conftest.c object=$am__obj \
8003 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8004 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8005 >/dev/null 2>conftest.err &&
8006 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8007 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8008 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8009 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8010 # icc doesn't choke on unknown options, it will just issue warnings
8011 # or remarks (even with -Werror). So we grep stderr for any message
8012 # that says an option was ignored or not supported.
8013 # When given -MP, icc 7.0 and 7.1 complain thusly:
8014 # icc: Command line warning: ignoring option '-M'; no argument required
8015 # The diagnosis changed in icc 8.0:
8016 # icc: Command line remark: option '-MP' not supported
8017 if (grep 'ignoring option' conftest.err ||
8018 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8019 am_cv_CXX_dependencies_compiler_type=$depmode
8020 break
8021 fi
8022 fi
8023 done
8024
8025 cd ..
8026 rm -rf conftest.dir
8027 else
8028 am_cv_CXX_dependencies_compiler_type=none
8029 fi
8030
8031 fi
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8033 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8034 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8035
8036 if
8037 test "x$enable_dependency_tracking" != xno \
8038 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8039 am__fastdepCXX_TRUE=
8040 am__fastdepCXX_FALSE='#'
8041 else
8042 am__fastdepCXX_TRUE='#'
8043 am__fastdepCXX_FALSE=
8044 fi
8045
8046
8047 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8048 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8049 (test "X$CXX" != "Xg++"))) ; then
8050 ac_ext=cpp
8051 ac_cpp='$CXXCPP $CPPFLAGS'
8052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8056 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8057 if test -z "$CXXCPP"; then
8058 if ${ac_cv_prog_CXXCPP+:} false; then :
8059 $as_echo_n "(cached) " >&6
8060 else
8061 # Double quotes because CXXCPP needs to be expanded
8062 for CXXCPP in "$CXX -E" "/lib/cpp"
8063 do
8064 ac_preproc_ok=false
8065 for ac_cxx_preproc_warn_flag in '' yes
8066 do
8067 # Use a header file that comes with gcc, so configuring glibc
8068 # with a fresh cross-compiler works.
8069 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8070 # <limits.h> exists even on freestanding compilers.
8071 # On the NeXT, cc -E runs the code through the compiler's parser,
8072 # not just through cpp. "Syntax error" is here to catch this case.
8073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8074 /* end confdefs.h. */
8075 @%:@ifdef __STDC__
8076 @%:@ include <limits.h>
8077 @%:@else
8078 @%:@ include <assert.h>
8079 @%:@endif
8080 Syntax error
8081 _ACEOF
8082 if ac_fn_cxx_try_cpp "$LINENO"; then :
8083
8084 else
8085 # Broken: fails on valid input.
8086 continue
8087 fi
8088 rm -f conftest.err conftest.i conftest.$ac_ext
8089
8090 # OK, works on sane cases. Now check whether nonexistent headers
8091 # can be detected and how.
8092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8093 /* end confdefs.h. */
8094 @%:@include <ac_nonexistent.h>
8095 _ACEOF
8096 if ac_fn_cxx_try_cpp "$LINENO"; then :
8097 # Broken: success on invalid input.
8098 continue
8099 else
8100 # Passes both tests.
8101 ac_preproc_ok=:
8102 break
8103 fi
8104 rm -f conftest.err conftest.i conftest.$ac_ext
8105
8106 done
8107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8108 rm -f conftest.i conftest.err conftest.$ac_ext
8109 if $ac_preproc_ok; then :
8110 break
8111 fi
8112
8113 done
8114 ac_cv_prog_CXXCPP=$CXXCPP
8115
8116 fi
8117 CXXCPP=$ac_cv_prog_CXXCPP
8118 else
8119 ac_cv_prog_CXXCPP=$CXXCPP
8120 fi
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8122 $as_echo "$CXXCPP" >&6; }
8123 ac_preproc_ok=false
8124 for ac_cxx_preproc_warn_flag in '' yes
8125 do
8126 # Use a header file that comes with gcc, so configuring glibc
8127 # with a fresh cross-compiler works.
8128 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8129 # <limits.h> exists even on freestanding compilers.
8130 # On the NeXT, cc -E runs the code through the compiler's parser,
8131 # not just through cpp. "Syntax error" is here to catch this case.
8132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8134 @%:@ifdef __STDC__
8135 @%:@ include <limits.h>
8136 @%:@else
8137 @%:@ include <assert.h>
8138 @%:@endif
8139 Syntax error
8140 _ACEOF
8141 if ac_fn_cxx_try_cpp "$LINENO"; then :
8142
8143 else
8144 # Broken: fails on valid input.
8145 continue
8146 fi
8147 rm -f conftest.err conftest.i conftest.$ac_ext
8148
8149 # OK, works on sane cases. Now check whether nonexistent headers
8150 # can be detected and how.
8151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8152 /* end confdefs.h. */
8153 @%:@include <ac_nonexistent.h>
8154 _ACEOF
8155 if ac_fn_cxx_try_cpp "$LINENO"; then :
8156 # Broken: success on invalid input.
8157 continue
8158 else
8159 # Passes both tests.
8160 ac_preproc_ok=:
8161 break
8162 fi
8163 rm -f conftest.err conftest.i conftest.$ac_ext
8164
8165 done
8166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8167 rm -f conftest.i conftest.err conftest.$ac_ext
8168 if $ac_preproc_ok; then :
8169
8170 else
8171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8173 _lt_caught_CXX_error=yes; }
8174 fi
8175
8176 ac_ext=cpp
8177 ac_cpp='$CXXCPP $CPPFLAGS'
8178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8181
8182 else
8183 _lt_caught_CXX_error=yes
8184 fi
8185
8186
8187
8188
8189
8190 # Set options
8191
8192
8193
8194 enable_dlopen=no
8195
8196
8197 enable_win32_dll=no
8198
8199
8200 @%:@ Check whether --enable-shared was given.
8201 if test "${enable_shared+set}" = set; then :
8202 enableval=$enable_shared; p=${PACKAGE-default}
8203 case $enableval in
8204 yes) enable_shared=yes ;;
8205 no) enable_shared=no ;;
8206 *)
8207 enable_shared=no
8208 # Look at the argument we got. We use all the common list separators.
8209 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8210 for pkg in $enableval; do
8211 IFS="$lt_save_ifs"
8212 if test "X$pkg" = "X$p"; then
8213 enable_shared=yes
8214 fi
8215 done
8216 IFS="$lt_save_ifs"
8217 ;;
8218 esac
8219 else
8220 enable_shared=yes
8221 fi
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231 @%:@ Check whether --enable-static was given.
8232 if test "${enable_static+set}" = set; then :
8233 enableval=$enable_static; p=${PACKAGE-default}
8234 case $enableval in
8235 yes) enable_static=yes ;;
8236 no) enable_static=no ;;
8237 *)
8238 enable_static=no
8239 # Look at the argument we got. We use all the common list separators.
8240 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8241 for pkg in $enableval; do
8242 IFS="$lt_save_ifs"
8243 if test "X$pkg" = "X$p"; then
8244 enable_static=yes
8245 fi
8246 done
8247 IFS="$lt_save_ifs"
8248 ;;
8249 esac
8250 else
8251 enable_static=yes
8252 fi
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263 @%:@ Check whether --with-pic was given.
8264 if test "${with_pic+set}" = set; then :
8265 withval=$with_pic; pic_mode="$withval"
8266 else
8267 pic_mode=default
8268 fi
8269
8270
8271 test -z "$pic_mode" && pic_mode=default
8272
8273
8274
8275
8276
8277
8278
8279 @%:@ Check whether --enable-fast-install was given.
8280 if test "${enable_fast_install+set}" = set; then :
8281 enableval=$enable_fast_install; p=${PACKAGE-default}
8282 case $enableval in
8283 yes) enable_fast_install=yes ;;
8284 no) enable_fast_install=no ;;
8285 *)
8286 enable_fast_install=no
8287 # Look at the argument we got. We use all the common list separators.
8288 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8289 for pkg in $enableval; do
8290 IFS="$lt_save_ifs"
8291 if test "X$pkg" = "X$p"; then
8292 enable_fast_install=yes
8293 fi
8294 done
8295 IFS="$lt_save_ifs"
8296 ;;
8297 esac
8298 else
8299 enable_fast_install=yes
8300 fi
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312 # This can be used to rebuild libtool when needed
8313 LIBTOOL_DEPS="$ltmain"
8314
8315 # Always use our own libtool.
8316 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342 test -z "$LN_S" && LN_S="ln -s"
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357 if test -n "${ZSH_VERSION+set}" ; then
8358 setopt NO_GLOB_SUBST
8359 fi
8360
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8362 $as_echo_n "checking for objdir... " >&6; }
8363 if ${lt_cv_objdir+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 rm -f .libs 2>/dev/null
8367 mkdir .libs 2>/dev/null
8368 if test -d .libs; then
8369 lt_cv_objdir=.libs
8370 else
8371 # MS-DOS does not allow filenames that begin with a dot.
8372 lt_cv_objdir=_libs
8373 fi
8374 rmdir .libs 2>/dev/null
8375 fi
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8377 $as_echo "$lt_cv_objdir" >&6; }
8378 objdir=$lt_cv_objdir
8379
8380
8381
8382
8383
8384 cat >>confdefs.h <<_ACEOF
8385 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8386 _ACEOF
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404 case $host_os in
8405 aix3*)
8406 # AIX sometimes has problems with the GCC collect2 program. For some
8407 # reason, if we set the COLLECT_NAMES environment variable, the problems
8408 # vanish in a puff of smoke.
8409 if test "X${COLLECT_NAMES+set}" != Xset; then
8410 COLLECT_NAMES=
8411 export COLLECT_NAMES
8412 fi
8413 ;;
8414 esac
8415
8416 # Sed substitution that helps us do robust quoting. It backslashifies
8417 # metacharacters that are still active within double-quoted strings.
8418 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8419
8420 # Same as above, but do not quote variable references.
8421 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8422
8423 # Sed substitution to delay expansion of an escaped shell variable in a
8424 # double_quote_subst'ed string.
8425 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8426
8427 # Sed substitution to delay expansion of an escaped single quote.
8428 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8429
8430 # Sed substitution to avoid accidental globbing in evaled expressions
8431 no_glob_subst='s/\*/\\\*/g'
8432
8433 # Global variables:
8434 ofile=libtool
8435 can_build_shared=yes
8436
8437 # All known linkers require a `.a' archive for static linking (except MSVC,
8438 # which needs '.lib').
8439 libext=a
8440
8441 with_gnu_ld="$lt_cv_prog_gnu_ld"
8442
8443 old_CC="$CC"
8444 old_CFLAGS="$CFLAGS"
8445
8446 # Set sane defaults for various variables
8447 test -z "$CC" && CC=cc
8448 test -z "$LTCC" && LTCC=$CC
8449 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8450 test -z "$LD" && LD=ld
8451 test -z "$ac_objext" && ac_objext=o
8452
8453 for cc_temp in $compiler""; do
8454 case $cc_temp in
8455 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8456 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8457 \-*) ;;
8458 *) break;;
8459 esac
8460 done
8461 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8462
8463
8464 # Only perform the check for file, if the check method requires it
8465 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8466 case $deplibs_check_method in
8467 file_magic*)
8468 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8470 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8471 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8472 $as_echo_n "(cached) " >&6
8473 else
8474 case $MAGIC_CMD in
8475 [\\/*] | ?:[\\/]*)
8476 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8477 ;;
8478 *)
8479 lt_save_MAGIC_CMD="$MAGIC_CMD"
8480 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8481 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8482 for ac_dir in $ac_dummy; do
8483 IFS="$lt_save_ifs"
8484 test -z "$ac_dir" && ac_dir=.
8485 if test -f $ac_dir/${ac_tool_prefix}file; then
8486 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8487 if test -n "$file_magic_test_file"; then
8488 case $deplibs_check_method in
8489 "file_magic "*)
8490 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8491 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8492 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8493 $EGREP "$file_magic_regex" > /dev/null; then
8494 :
8495 else
8496 cat <<_LT_EOF 1>&2
8497
8498 *** Warning: the command libtool uses to detect shared libraries,
8499 *** $file_magic_cmd, produces output that libtool cannot recognize.
8500 *** The result is that libtool may fail to recognize shared libraries
8501 *** as such. This will affect the creation of libtool libraries that
8502 *** depend on shared libraries, but programs linked with such libtool
8503 *** libraries will work regardless of this problem. Nevertheless, you
8504 *** may want to report the problem to your system manager and/or to
8505 *** bug-libtool@gnu.org
8506
8507 _LT_EOF
8508 fi ;;
8509 esac
8510 fi
8511 break
8512 fi
8513 done
8514 IFS="$lt_save_ifs"
8515 MAGIC_CMD="$lt_save_MAGIC_CMD"
8516 ;;
8517 esac
8518 fi
8519
8520 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8521 if test -n "$MAGIC_CMD"; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8523 $as_echo "$MAGIC_CMD" >&6; }
8524 else
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8526 $as_echo "no" >&6; }
8527 fi
8528
8529
8530
8531
8532
8533 if test -z "$lt_cv_path_MAGIC_CMD"; then
8534 if test -n "$ac_tool_prefix"; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8536 $as_echo_n "checking for file... " >&6; }
8537 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8538 $as_echo_n "(cached) " >&6
8539 else
8540 case $MAGIC_CMD in
8541 [\\/*] | ?:[\\/]*)
8542 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8543 ;;
8544 *)
8545 lt_save_MAGIC_CMD="$MAGIC_CMD"
8546 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8547 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8548 for ac_dir in $ac_dummy; do
8549 IFS="$lt_save_ifs"
8550 test -z "$ac_dir" && ac_dir=.
8551 if test -f $ac_dir/file; then
8552 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8553 if test -n "$file_magic_test_file"; then
8554 case $deplibs_check_method in
8555 "file_magic "*)
8556 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8557 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8558 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8559 $EGREP "$file_magic_regex" > /dev/null; then
8560 :
8561 else
8562 cat <<_LT_EOF 1>&2
8563
8564 *** Warning: the command libtool uses to detect shared libraries,
8565 *** $file_magic_cmd, produces output that libtool cannot recognize.
8566 *** The result is that libtool may fail to recognize shared libraries
8567 *** as such. This will affect the creation of libtool libraries that
8568 *** depend on shared libraries, but programs linked with such libtool
8569 *** libraries will work regardless of this problem. Nevertheless, you
8570 *** may want to report the problem to your system manager and/or to
8571 *** bug-libtool@gnu.org
8572
8573 _LT_EOF
8574 fi ;;
8575 esac
8576 fi
8577 break
8578 fi
8579 done
8580 IFS="$lt_save_ifs"
8581 MAGIC_CMD="$lt_save_MAGIC_CMD"
8582 ;;
8583 esac
8584 fi
8585
8586 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8587 if test -n "$MAGIC_CMD"; then
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8589 $as_echo "$MAGIC_CMD" >&6; }
8590 else
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8592 $as_echo "no" >&6; }
8593 fi
8594
8595
8596 else
8597 MAGIC_CMD=:
8598 fi
8599 fi
8600
8601 fi
8602 ;;
8603 esac
8604
8605 # Use C for the default configuration in the libtool script
8606
8607 lt_save_CC="$CC"
8608 ac_ext=c
8609 ac_cpp='$CPP $CPPFLAGS'
8610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8613
8614
8615 # Source file extension for C test sources.
8616 ac_ext=c
8617
8618 # Object file extension for compiled C test sources.
8619 objext=o
8620 objext=$objext
8621
8622 # Code to be used in simple compile tests
8623 lt_simple_compile_test_code="int some_variable = 0;"
8624
8625 # Code to be used in simple link tests
8626 lt_simple_link_test_code='int main(){return(0);}'
8627
8628
8629
8630
8631
8632
8633
8634 # If no C compiler was specified, use CC.
8635 LTCC=${LTCC-"$CC"}
8636
8637 # If no C compiler flags were specified, use CFLAGS.
8638 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8639
8640 # Allow CC to be a program name with arguments.
8641 compiler=$CC
8642
8643 # Save the default compiler, since it gets overwritten when the other
8644 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8645 compiler_DEFAULT=$CC
8646
8647 # save warnings/boilerplate of simple test code
8648 ac_outfile=conftest.$ac_objext
8649 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8650 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8651 _lt_compiler_boilerplate=`cat conftest.err`
8652 $RM conftest*
8653
8654 ac_outfile=conftest.$ac_objext
8655 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8656 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8657 _lt_linker_boilerplate=`cat conftest.err`
8658 $RM -r conftest*
8659
8660
8661 ## CAVEAT EMPTOR:
8662 ## There is no encapsulation within the following macros, do not change
8663 ## the running order or otherwise move them around unless you know exactly
8664 ## what you are doing...
8665 if test -n "$compiler"; then
8666
8667 lt_prog_compiler_no_builtin_flag=
8668
8669 if test "$GCC" = yes; then
8670 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8671
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8673 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8674 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8675 $as_echo_n "(cached) " >&6
8676 else
8677 lt_cv_prog_compiler_rtti_exceptions=no
8678 ac_outfile=conftest.$ac_objext
8679 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8680 lt_compiler_flag="-fno-rtti -fno-exceptions"
8681 # Insert the option either (1) after the last *FLAGS variable, or
8682 # (2) before a word containing "conftest.", or (3) at the end.
8683 # Note that $ac_compile itself does not contain backslashes and begins
8684 # with a dollar sign (not a hyphen), so the echo should work correctly.
8685 # The option is referenced via a variable to avoid confusing sed.
8686 lt_compile=`echo "$ac_compile" | $SED \
8687 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8688 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8689 -e 's:$: $lt_compiler_flag:'`
8690 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8691 (eval "$lt_compile" 2>conftest.err)
8692 ac_status=$?
8693 cat conftest.err >&5
8694 echo "$as_me:__oline__: \$? = $ac_status" >&5
8695 if (exit $ac_status) && test -s "$ac_outfile"; then
8696 # The compiler can only warn and ignore the option if not recognized
8697 # So say no if there are warnings other than the usual output.
8698 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8699 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8700 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8701 lt_cv_prog_compiler_rtti_exceptions=yes
8702 fi
8703 fi
8704 $RM conftest*
8705
8706 fi
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8708 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8709
8710 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8711 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8712 else
8713 :
8714 fi
8715
8716 fi
8717
8718
8719
8720
8721
8722
8723 lt_prog_compiler_wl=
8724 lt_prog_compiler_pic=
8725 lt_prog_compiler_static=
8726
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8728 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8729
8730 if test "$GCC" = yes; then
8731 lt_prog_compiler_wl='-Wl,'
8732 lt_prog_compiler_static='-static'
8733
8734 case $host_os in
8735 aix*)
8736 # All AIX code is PIC.
8737 if test "$host_cpu" = ia64; then
8738 # AIX 5 now supports IA64 processor
8739 lt_prog_compiler_static='-Bstatic'
8740 fi
8741 ;;
8742
8743 amigaos*)
8744 case $host_cpu in
8745 powerpc)
8746 # see comment about AmigaOS4 .so support
8747 lt_prog_compiler_pic='-fPIC'
8748 ;;
8749 m68k)
8750 # FIXME: we need at least 68020 code to build shared libraries, but
8751 # adding the `-m68020' flag to GCC prevents building anything better,
8752 # like `-m68040'.
8753 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8754 ;;
8755 esac
8756 ;;
8757
8758 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8759 # PIC is the default for these OSes.
8760 ;;
8761
8762 mingw* | cygwin* | pw32* | os2* | cegcc*)
8763 # This hack is so that the source file can tell whether it is being
8764 # built for inclusion in a dll (and should export symbols for example).
8765 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8766 # (--disable-auto-import) libraries
8767 lt_prog_compiler_pic='-DDLL_EXPORT'
8768 ;;
8769
8770 darwin* | rhapsody*)
8771 # PIC is the default on this platform
8772 # Common symbols not allowed in MH_DYLIB files
8773 lt_prog_compiler_pic='-fno-common'
8774 ;;
8775
8776 hpux*)
8777 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8778 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8779 # sets the default TLS model and affects inlining.
8780 case $host_cpu in
8781 hppa*64*)
8782 # +Z the default
8783 ;;
8784 *)
8785 lt_prog_compiler_pic='-fPIC'
8786 ;;
8787 esac
8788 ;;
8789
8790 interix[3-9]*)
8791 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8792 # Instead, we relocate shared libraries at runtime.
8793 ;;
8794
8795 msdosdjgpp*)
8796 # Just because we use GCC doesn't mean we suddenly get shared libraries
8797 # on systems that don't support them.
8798 lt_prog_compiler_can_build_shared=no
8799 enable_shared=no
8800 ;;
8801
8802 *nto* | *qnx*)
8803 # QNX uses GNU C++, but need to define -shared option too, otherwise
8804 # it will coredump.
8805 lt_prog_compiler_pic='-fPIC -shared'
8806 ;;
8807
8808 sysv4*MP*)
8809 if test -d /usr/nec; then
8810 lt_prog_compiler_pic=-Kconform_pic
8811 fi
8812 ;;
8813
8814 *)
8815 lt_prog_compiler_pic='-fPIC'
8816 ;;
8817 esac
8818 else
8819 # PORTME Check for flag to pass linker flags through the system compiler.
8820 case $host_os in
8821 aix*)
8822 lt_prog_compiler_wl='-Wl,'
8823 if test "$host_cpu" = ia64; then
8824 # AIX 5 now supports IA64 processor
8825 lt_prog_compiler_static='-Bstatic'
8826 else
8827 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8828 fi
8829 ;;
8830
8831 mingw* | cygwin* | pw32* | os2* | cegcc*)
8832 # This hack is so that the source file can tell whether it is being
8833 # built for inclusion in a dll (and should export symbols for example).
8834 lt_prog_compiler_pic='-DDLL_EXPORT'
8835 ;;
8836
8837 hpux9* | hpux10* | hpux11*)
8838 lt_prog_compiler_wl='-Wl,'
8839 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8840 # not for PA HP-UX.
8841 case $host_cpu in
8842 hppa*64*|ia64*)
8843 # +Z the default
8844 ;;
8845 *)
8846 lt_prog_compiler_pic='+Z'
8847 ;;
8848 esac
8849 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8850 lt_prog_compiler_static='${wl}-a ${wl}archive'
8851 ;;
8852
8853 irix5* | irix6* | nonstopux*)
8854 lt_prog_compiler_wl='-Wl,'
8855 # PIC (with -KPIC) is the default.
8856 lt_prog_compiler_static='-non_shared'
8857 ;;
8858
8859 linux* | k*bsd*-gnu)
8860 case $cc_basename in
8861 # old Intel for x86_64 which still supported -KPIC.
8862 ecc*)
8863 lt_prog_compiler_wl='-Wl,'
8864 lt_prog_compiler_pic='-KPIC'
8865 lt_prog_compiler_static='-static'
8866 ;;
8867 # icc used to be incompatible with GCC.
8868 # ICC 10 doesn't accept -KPIC any more.
8869 icc* | ifort*)
8870 lt_prog_compiler_wl='-Wl,'
8871 lt_prog_compiler_pic='-fPIC'
8872 lt_prog_compiler_static='-static'
8873 ;;
8874 # Lahey Fortran 8.1.
8875 lf95*)
8876 lt_prog_compiler_wl='-Wl,'
8877 lt_prog_compiler_pic='--shared'
8878 lt_prog_compiler_static='--static'
8879 ;;
8880 pgcc* | pgf77* | pgf90* | pgf95*)
8881 # Portland Group compilers (*not* the Pentium gcc compiler,
8882 # which looks to be a dead project)
8883 lt_prog_compiler_wl='-Wl,'
8884 lt_prog_compiler_pic='-fpic'
8885 lt_prog_compiler_static='-Bstatic'
8886 ;;
8887 ccc*)
8888 lt_prog_compiler_wl='-Wl,'
8889 # All Alpha code is PIC.
8890 lt_prog_compiler_static='-non_shared'
8891 ;;
8892 xl*)
8893 # IBM XL C 8.0/Fortran 10.1 on PPC
8894 lt_prog_compiler_wl='-Wl,'
8895 lt_prog_compiler_pic='-qpic'
8896 lt_prog_compiler_static='-qstaticlink'
8897 ;;
8898 *)
8899 case `$CC -V 2>&1 | sed 5q` in
8900 *Sun\ C*)
8901 # Sun C 5.9
8902 lt_prog_compiler_pic='-KPIC'
8903 lt_prog_compiler_static='-Bstatic'
8904 lt_prog_compiler_wl='-Wl,'
8905 ;;
8906 *Sun\ F*)
8907 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8908 lt_prog_compiler_pic='-KPIC'
8909 lt_prog_compiler_static='-Bstatic'
8910 lt_prog_compiler_wl=''
8911 ;;
8912 esac
8913 ;;
8914 esac
8915 ;;
8916
8917 newsos6)
8918 lt_prog_compiler_pic='-KPIC'
8919 lt_prog_compiler_static='-Bstatic'
8920 ;;
8921
8922 *nto* | *qnx*)
8923 # QNX uses GNU C++, but need to define -shared option too, otherwise
8924 # it will coredump.
8925 lt_prog_compiler_pic='-fPIC -shared'
8926 ;;
8927
8928 osf3* | osf4* | osf5*)
8929 lt_prog_compiler_wl='-Wl,'
8930 # All OSF/1 code is PIC.
8931 lt_prog_compiler_static='-non_shared'
8932 ;;
8933
8934 rdos*)
8935 lt_prog_compiler_static='-non_shared'
8936 ;;
8937
8938 solaris*)
8939 lt_prog_compiler_pic='-KPIC'
8940 lt_prog_compiler_static='-Bstatic'
8941 case $cc_basename in
8942 f77* | f90* | f95*)
8943 lt_prog_compiler_wl='-Qoption ld ';;
8944 *)
8945 lt_prog_compiler_wl='-Wl,';;
8946 esac
8947 ;;
8948
8949 sunos4*)
8950 lt_prog_compiler_wl='-Qoption ld '
8951 lt_prog_compiler_pic='-PIC'
8952 lt_prog_compiler_static='-Bstatic'
8953 ;;
8954
8955 sysv4 | sysv4.2uw2* | sysv4.3*)
8956 lt_prog_compiler_wl='-Wl,'
8957 lt_prog_compiler_pic='-KPIC'
8958 lt_prog_compiler_static='-Bstatic'
8959 ;;
8960
8961 sysv4*MP*)
8962 if test -d /usr/nec ;then
8963 lt_prog_compiler_pic='-Kconform_pic'
8964 lt_prog_compiler_static='-Bstatic'
8965 fi
8966 ;;
8967
8968 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8969 lt_prog_compiler_wl='-Wl,'
8970 lt_prog_compiler_pic='-KPIC'
8971 lt_prog_compiler_static='-Bstatic'
8972 ;;
8973
8974 unicos*)
8975 lt_prog_compiler_wl='-Wl,'
8976 lt_prog_compiler_can_build_shared=no
8977 ;;
8978
8979 uts4*)
8980 lt_prog_compiler_pic='-pic'
8981 lt_prog_compiler_static='-Bstatic'
8982 ;;
8983
8984 *)
8985 lt_prog_compiler_can_build_shared=no
8986 ;;
8987 esac
8988 fi
8989
8990 case $host_os in
8991 # For platforms which do not support PIC, -DPIC is meaningless:
8992 *djgpp*)
8993 lt_prog_compiler_pic=
8994 ;;
8995 *)
8996 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8997 ;;
8998 esac
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9000 $as_echo "$lt_prog_compiler_pic" >&6; }
9001
9002
9003
9004
9005
9006
9007 #
9008 # Check to make sure the PIC flag actually works.
9009 #
9010 if test -n "$lt_prog_compiler_pic"; then
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9012 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9013 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9014 $as_echo_n "(cached) " >&6
9015 else
9016 lt_cv_prog_compiler_pic_works=no
9017 ac_outfile=conftest.$ac_objext
9018 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9019 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
9020 # Insert the option either (1) after the last *FLAGS variable, or
9021 # (2) before a word containing "conftest.", or (3) at the end.
9022 # Note that $ac_compile itself does not contain backslashes and begins
9023 # with a dollar sign (not a hyphen), so the echo should work correctly.
9024 # The option is referenced via a variable to avoid confusing sed.
9025 lt_compile=`echo "$ac_compile" | $SED \
9026 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9027 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9028 -e 's:$: $lt_compiler_flag:'`
9029 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9030 (eval "$lt_compile" 2>conftest.err)
9031 ac_status=$?
9032 cat conftest.err >&5
9033 echo "$as_me:__oline__: \$? = $ac_status" >&5
9034 if (exit $ac_status) && test -s "$ac_outfile"; then
9035 # The compiler can only warn and ignore the option if not recognized
9036 # So say no if there are warnings other than the usual output.
9037 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9038 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9039 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9040 lt_cv_prog_compiler_pic_works=yes
9041 fi
9042 fi
9043 $RM conftest*
9044
9045 fi
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9047 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9048
9049 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9050 case $lt_prog_compiler_pic in
9051 "" | " "*) ;;
9052 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9053 esac
9054 else
9055 lt_prog_compiler_pic=
9056 lt_prog_compiler_can_build_shared=no
9057 fi
9058
9059 fi
9060
9061
9062
9063
9064
9065
9066 #
9067 # Check to make sure the static flag actually works.
9068 #
9069 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9071 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9072 if ${lt_cv_prog_compiler_static_works+:} false; then :
9073 $as_echo_n "(cached) " >&6
9074 else
9075 lt_cv_prog_compiler_static_works=no
9076 save_LDFLAGS="$LDFLAGS"
9077 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9078 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9079 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9080 # The linker can only warn and ignore the option if not recognized
9081 # So say no if there are warnings
9082 if test -s conftest.err; then
9083 # Append any errors to the config.log.
9084 cat conftest.err 1>&5
9085 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9086 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9087 if diff conftest.exp conftest.er2 >/dev/null; then
9088 lt_cv_prog_compiler_static_works=yes
9089 fi
9090 else
9091 lt_cv_prog_compiler_static_works=yes
9092 fi
9093 fi
9094 $RM -r conftest*
9095 LDFLAGS="$save_LDFLAGS"
9096
9097 fi
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9099 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9100
9101 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9102 :
9103 else
9104 lt_prog_compiler_static=
9105 fi
9106
9107
9108
9109
9110
9111
9112
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9114 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9115 if ${lt_cv_prog_compiler_c_o+:} false; then :
9116 $as_echo_n "(cached) " >&6
9117 else
9118 lt_cv_prog_compiler_c_o=no
9119 $RM -r conftest 2>/dev/null
9120 mkdir conftest
9121 cd conftest
9122 mkdir out
9123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9124
9125 lt_compiler_flag="-o out/conftest2.$ac_objext"
9126 # Insert the option either (1) after the last *FLAGS variable, or
9127 # (2) before a word containing "conftest.", or (3) at the end.
9128 # Note that $ac_compile itself does not contain backslashes and begins
9129 # with a dollar sign (not a hyphen), so the echo should work correctly.
9130 lt_compile=`echo "$ac_compile" | $SED \
9131 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9132 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9133 -e 's:$: $lt_compiler_flag:'`
9134 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9135 (eval "$lt_compile" 2>out/conftest.err)
9136 ac_status=$?
9137 cat out/conftest.err >&5
9138 echo "$as_me:__oline__: \$? = $ac_status" >&5
9139 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9140 then
9141 # The compiler can only warn and ignore the option if not recognized
9142 # So say no if there are warnings
9143 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9144 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9145 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9146 lt_cv_prog_compiler_c_o=yes
9147 fi
9148 fi
9149 chmod u+w . 2>&5
9150 $RM conftest*
9151 # SGI C++ compiler will create directory out/ii_files/ for
9152 # template instantiation
9153 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9154 $RM out/* && rmdir out
9155 cd ..
9156 $RM -r conftest
9157 $RM conftest*
9158
9159 fi
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9161 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9162
9163
9164
9165
9166
9167
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9169 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9170 if ${lt_cv_prog_compiler_c_o+:} false; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 lt_cv_prog_compiler_c_o=no
9174 $RM -r conftest 2>/dev/null
9175 mkdir conftest
9176 cd conftest
9177 mkdir out
9178 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9179
9180 lt_compiler_flag="-o out/conftest2.$ac_objext"
9181 # Insert the option either (1) after the last *FLAGS variable, or
9182 # (2) before a word containing "conftest.", or (3) at the end.
9183 # Note that $ac_compile itself does not contain backslashes and begins
9184 # with a dollar sign (not a hyphen), so the echo should work correctly.
9185 lt_compile=`echo "$ac_compile" | $SED \
9186 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9187 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9188 -e 's:$: $lt_compiler_flag:'`
9189 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9190 (eval "$lt_compile" 2>out/conftest.err)
9191 ac_status=$?
9192 cat out/conftest.err >&5
9193 echo "$as_me:__oline__: \$? = $ac_status" >&5
9194 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9195 then
9196 # The compiler can only warn and ignore the option if not recognized
9197 # So say no if there are warnings
9198 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9199 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9200 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9201 lt_cv_prog_compiler_c_o=yes
9202 fi
9203 fi
9204 chmod u+w . 2>&5
9205 $RM conftest*
9206 # SGI C++ compiler will create directory out/ii_files/ for
9207 # template instantiation
9208 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9209 $RM out/* && rmdir out
9210 cd ..
9211 $RM -r conftest
9212 $RM conftest*
9213
9214 fi
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9216 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9217
9218
9219
9220
9221 hard_links="nottested"
9222 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9223 # do not overwrite the value of need_locks provided by the user
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9225 $as_echo_n "checking if we can lock with hard links... " >&6; }
9226 hard_links=yes
9227 $RM conftest*
9228 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9229 touch conftest.a
9230 ln conftest.a conftest.b 2>&5 || hard_links=no
9231 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9233 $as_echo "$hard_links" >&6; }
9234 if test "$hard_links" = no; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9236 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9237 need_locks=warn
9238 fi
9239 else
9240 need_locks=no
9241 fi
9242
9243
9244
9245
9246
9247
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9249 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9250
9251 runpath_var=
9252 allow_undefined_flag=
9253 always_export_symbols=no
9254 archive_cmds=
9255 archive_expsym_cmds=
9256 compiler_needs_object=no
9257 enable_shared_with_static_runtimes=no
9258 export_dynamic_flag_spec=
9259 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9260 hardcode_automatic=no
9261 hardcode_direct=no
9262 hardcode_direct_absolute=no
9263 hardcode_libdir_flag_spec=
9264 hardcode_libdir_flag_spec_ld=
9265 hardcode_libdir_separator=
9266 hardcode_minus_L=no
9267 hardcode_shlibpath_var=unsupported
9268 inherit_rpath=no
9269 link_all_deplibs=unknown
9270 module_cmds=
9271 module_expsym_cmds=
9272 old_archive_from_new_cmds=
9273 old_archive_from_expsyms_cmds=
9274 thread_safe_flag_spec=
9275 whole_archive_flag_spec=
9276 # include_expsyms should be a list of space-separated symbols to be *always*
9277 # included in the symbol list
9278 include_expsyms=
9279 # exclude_expsyms can be an extended regexp of symbols to exclude
9280 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9281 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9282 # as well as any symbol that contains `d'.
9283 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9284 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9285 # platforms (ab)use it in PIC code, but their linkers get confused if
9286 # the symbol is explicitly referenced. Since portable code cannot
9287 # rely on this symbol name, it's probably fine to never include it in
9288 # preloaded symbol tables.
9289 # Exclude shared library initialization/finalization symbols.
9290 extract_expsyms_cmds=
9291
9292 case $host_os in
9293 cygwin* | mingw* | pw32* | cegcc*)
9294 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9295 # When not using gcc, we currently assume that we are using
9296 # Microsoft Visual C++.
9297 if test "$GCC" != yes; then
9298 with_gnu_ld=no
9299 fi
9300 ;;
9301 interix*)
9302 # we just hope/assume this is gcc and not c89 (= MSVC++)
9303 with_gnu_ld=yes
9304 ;;
9305 openbsd*)
9306 with_gnu_ld=no
9307 ;;
9308 esac
9309
9310 ld_shlibs=yes
9311 if test "$with_gnu_ld" = yes; then
9312 # If archive_cmds runs LD, not CC, wlarc should be empty
9313 wlarc='${wl}'
9314
9315 # Set some defaults for GNU ld with shared library support. These
9316 # are reset later if shared libraries are not supported. Putting them
9317 # here allows them to be overridden if necessary.
9318 runpath_var=LD_RUN_PATH
9319 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9320 export_dynamic_flag_spec='${wl}--export-dynamic'
9321 # ancient GNU ld didn't support --whole-archive et. al.
9322 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9323 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9324 else
9325 whole_archive_flag_spec=
9326 fi
9327 supports_anon_versioning=no
9328 case `$LD -v 2>&1` in
9329 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9330 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9331 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9332 *\ 2.11.*) ;; # other 2.11 versions
9333 *) supports_anon_versioning=yes ;;
9334 esac
9335
9336 # See if GNU ld supports shared libraries.
9337 case $host_os in
9338 aix[3-9]*)
9339 # On AIX/PPC, the GNU linker is very broken
9340 if test "$host_cpu" != ia64; then
9341 ld_shlibs=no
9342 cat <<_LT_EOF 1>&2
9343
9344 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9345 *** to be unable to reliably create shared libraries on AIX.
9346 *** Therefore, libtool is disabling shared libraries support. If you
9347 *** really care for shared libraries, you may want to modify your PATH
9348 *** so that a non-GNU linker is found, and then restart.
9349
9350 _LT_EOF
9351 fi
9352 ;;
9353
9354 amigaos*)
9355 case $host_cpu in
9356 powerpc)
9357 # see comment about AmigaOS4 .so support
9358 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9359 archive_expsym_cmds=''
9360 ;;
9361 m68k)
9362 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)'
9363 hardcode_libdir_flag_spec='-L$libdir'
9364 hardcode_minus_L=yes
9365 ;;
9366 esac
9367 ;;
9368
9369 beos*)
9370 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9371 allow_undefined_flag=unsupported
9372 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9373 # support --undefined. This deserves some investigation. FIXME
9374 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9375 else
9376 ld_shlibs=no
9377 fi
9378 ;;
9379
9380 cygwin* | mingw* | pw32* | cegcc*)
9381 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9382 # as there is no search path for DLLs.
9383 hardcode_libdir_flag_spec='-L$libdir'
9384 allow_undefined_flag=unsupported
9385 always_export_symbols=no
9386 enable_shared_with_static_runtimes=yes
9387 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9388
9389 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9390 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9391 # If the export-symbols file already is a .def file (1st line
9392 # is EXPORTS), use it as is; otherwise, prepend...
9393 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9394 cp $export_symbols $output_objdir/$soname.def;
9395 else
9396 echo EXPORTS > $output_objdir/$soname.def;
9397 cat $export_symbols >> $output_objdir/$soname.def;
9398 fi~
9399 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9400 else
9401 ld_shlibs=no
9402 fi
9403 ;;
9404
9405 interix[3-9]*)
9406 hardcode_direct=no
9407 hardcode_shlibpath_var=no
9408 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9409 export_dynamic_flag_spec='${wl}-E'
9410 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9411 # Instead, shared libraries are loaded at an image base (0x10000000 by
9412 # default) and relocated if they conflict, which is a slow very memory
9413 # consuming and fragmenting process. To avoid this, we pick a random,
9414 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9415 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9416 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9417 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'
9418 ;;
9419
9420 gnu* | linux* | tpf* | k*bsd*-gnu)
9421 tmp_diet=no
9422 if test "$host_os" = linux-dietlibc; then
9423 case $cc_basename in
9424 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9425 esac
9426 fi
9427 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9428 && test "$tmp_diet" = no
9429 then
9430 tmp_addflag=
9431 tmp_sharedflag='-shared'
9432 case $cc_basename,$host_cpu in
9433 pgcc*) # Portland Group C compiler
9434 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9435 tmp_addflag=' $pic_flag'
9436 ;;
9437 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9438 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9439 tmp_addflag=' $pic_flag -Mnomain' ;;
9440 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9441 tmp_addflag=' -i_dynamic' ;;
9442 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9443 tmp_addflag=' -i_dynamic -nofor_main' ;;
9444 ifc* | ifort*) # Intel Fortran compiler
9445 tmp_addflag=' -nofor_main' ;;
9446 lf95*) # Lahey Fortran 8.1
9447 whole_archive_flag_spec=
9448 tmp_sharedflag='--shared' ;;
9449 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9450 tmp_sharedflag='-qmkshrobj'
9451 tmp_addflag= ;;
9452 esac
9453 case `$CC -V 2>&1 | sed 5q` in
9454 *Sun\ C*) # Sun C 5.9
9455 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9456 compiler_needs_object=yes
9457 tmp_sharedflag='-G' ;;
9458 *Sun\ F*) # Sun Fortran 8.3
9459 tmp_sharedflag='-G' ;;
9460 esac
9461 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9462
9463 if test "x$supports_anon_versioning" = xyes; then
9464 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9465 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9466 echo "local: *; };" >> $output_objdir/$libname.ver~
9467 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9468 fi
9469
9470 case $cc_basename in
9471 xlf*)
9472 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9473 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9474 hardcode_libdir_flag_spec=
9475 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9476 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9477 if test "x$supports_anon_versioning" = xyes; then
9478 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9479 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9480 echo "local: *; };" >> $output_objdir/$libname.ver~
9481 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9482 fi
9483 ;;
9484 esac
9485 else
9486 ld_shlibs=no
9487 fi
9488 ;;
9489
9490 netbsd*)
9491 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9492 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9493 wlarc=
9494 else
9495 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9496 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9497 fi
9498 ;;
9499
9500 solaris*)
9501 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9502 ld_shlibs=no
9503 cat <<_LT_EOF 1>&2
9504
9505 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9506 *** create shared libraries on Solaris systems. Therefore, libtool
9507 *** is disabling shared libraries support. We urge you to upgrade GNU
9508 *** binutils to release 2.9.1 or newer. Another option is to modify
9509 *** your PATH or compiler configuration so that the native linker is
9510 *** used, and then restart.
9511
9512 _LT_EOF
9513 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9514 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9515 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9516 else
9517 ld_shlibs=no
9518 fi
9519 ;;
9520
9521 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9522 case `$LD -v 2>&1` in
9523 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9524 ld_shlibs=no
9525 cat <<_LT_EOF 1>&2
9526
9527 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9528 *** reliably create shared libraries on SCO systems. Therefore, libtool
9529 *** is disabling shared libraries support. We urge you to upgrade GNU
9530 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9531 *** your PATH or compiler configuration so that the native linker is
9532 *** used, and then restart.
9533
9534 _LT_EOF
9535 ;;
9536 *)
9537 # For security reasons, it is highly recommended that you always
9538 # use absolute paths for naming shared libraries, and exclude the
9539 # DT_RUNPATH tag from executables and libraries. But doing so
9540 # requires that you compile everything twice, which is a pain.
9541 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9542 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9543 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9544 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9545 else
9546 ld_shlibs=no
9547 fi
9548 ;;
9549 esac
9550 ;;
9551
9552 sunos4*)
9553 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9554 wlarc=
9555 hardcode_direct=yes
9556 hardcode_shlibpath_var=no
9557 ;;
9558
9559 *)
9560 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9561 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9562 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9563 else
9564 ld_shlibs=no
9565 fi
9566 ;;
9567 esac
9568
9569 if test "$ld_shlibs" = no; then
9570 runpath_var=
9571 hardcode_libdir_flag_spec=
9572 export_dynamic_flag_spec=
9573 whole_archive_flag_spec=
9574 fi
9575 else
9576 # PORTME fill in a description of your system's linker (not GNU ld)
9577 case $host_os in
9578 aix3*)
9579 allow_undefined_flag=unsupported
9580 always_export_symbols=yes
9581 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'
9582 # Note: this linker hardcodes the directories in LIBPATH if there
9583 # are no directories specified by -L.
9584 hardcode_minus_L=yes
9585 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9586 # Neither direct hardcoding nor static linking is supported with a
9587 # broken collect2.
9588 hardcode_direct=unsupported
9589 fi
9590 ;;
9591
9592 aix[4-9]*)
9593 if test "$host_cpu" = ia64; then
9594 # On IA64, the linker does run time linking by default, so we don't
9595 # have to do anything special.
9596 aix_use_runtimelinking=no
9597 exp_sym_flag='-Bexport'
9598 no_entry_flag=""
9599 else
9600 # If we're using GNU nm, then we don't want the "-C" option.
9601 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9602 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9603 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9604 else
9605 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'
9606 fi
9607 aix_use_runtimelinking=no
9608
9609 # Test if we are trying to use run time linking or normal
9610 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9611 # need to do runtime linking.
9612 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9613 for ld_flag in $LDFLAGS; do
9614 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9615 aix_use_runtimelinking=yes
9616 break
9617 fi
9618 done
9619 ;;
9620 esac
9621
9622 exp_sym_flag='-bexport'
9623 no_entry_flag='-bnoentry'
9624 fi
9625
9626 # When large executables or shared objects are built, AIX ld can
9627 # have problems creating the table of contents. If linking a library
9628 # or program results in "error TOC overflow" add -mminimal-toc to
9629 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9630 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9631
9632 archive_cmds=''
9633 hardcode_direct=yes
9634 hardcode_direct_absolute=yes
9635 hardcode_libdir_separator=':'
9636 link_all_deplibs=yes
9637 file_list_spec='${wl}-f,'
9638
9639 if test "$GCC" = yes; then
9640 case $host_os in aix4.[012]|aix4.[012].*)
9641 # We only want to do this on AIX 4.2 and lower, the check
9642 # below for broken collect2 doesn't work under 4.3+
9643 collect2name=`${CC} -print-prog-name=collect2`
9644 if test -f "$collect2name" &&
9645 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9646 then
9647 # We have reworked collect2
9648 :
9649 else
9650 # We have old collect2
9651 hardcode_direct=unsupported
9652 # It fails to find uninstalled libraries when the uninstalled
9653 # path is not listed in the libpath. Setting hardcode_minus_L
9654 # to unsupported forces relinking
9655 hardcode_minus_L=yes
9656 hardcode_libdir_flag_spec='-L$libdir'
9657 hardcode_libdir_separator=
9658 fi
9659 ;;
9660 esac
9661 shared_flag='-shared'
9662 if test "$aix_use_runtimelinking" = yes; then
9663 shared_flag="$shared_flag "'${wl}-G'
9664 fi
9665 else
9666 # not using gcc
9667 if test "$host_cpu" = ia64; then
9668 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9669 # chokes on -Wl,-G. The following line is correct:
9670 shared_flag='-G'
9671 else
9672 if test "$aix_use_runtimelinking" = yes; then
9673 shared_flag='${wl}-G'
9674 else
9675 shared_flag='${wl}-bM:SRE'
9676 fi
9677 fi
9678 fi
9679
9680 export_dynamic_flag_spec='${wl}-bexpall'
9681 # It seems that -bexpall does not export symbols beginning with
9682 # underscore (_), so it is better to generate a list of symbols to export.
9683 always_export_symbols=yes
9684 if test "$aix_use_runtimelinking" = yes; then
9685 # Warning - without using the other runtime loading flags (-brtl),
9686 # -berok will link without error, but may produce a broken library.
9687 allow_undefined_flag='-berok'
9688 # Determine the default libpath from the value encoded in an
9689 # empty executable.
9690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9691 /* end confdefs.h. */
9692
9693 int
9694 main ()
9695 {
9696
9697 ;
9698 return 0;
9699 }
9700 _ACEOF
9701 if ac_fn_c_try_link "$LINENO"; then :
9702
9703 lt_aix_libpath_sed='
9704 /Import File Strings/,/^$/ {
9705 /^0/ {
9706 s/^0 *\(.*\)$/\1/
9707 p
9708 }
9709 }'
9710 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9711 # Check for a 64-bit object if we didn't find anything.
9712 if test -z "$aix_libpath"; then
9713 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9714 fi
9715 fi
9716 rm -f core conftest.err conftest.$ac_objext \
9717 conftest$ac_exeext conftest.$ac_ext
9718 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9719
9720 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9721 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9722 else
9723 if test "$host_cpu" = ia64; then
9724 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9725 allow_undefined_flag="-z nodefs"
9726 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"
9727 else
9728 # Determine the default libpath from the value encoded in an
9729 # empty executable.
9730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9731 /* end confdefs.h. */
9732
9733 int
9734 main ()
9735 {
9736
9737 ;
9738 return 0;
9739 }
9740 _ACEOF
9741 if ac_fn_c_try_link "$LINENO"; then :
9742
9743 lt_aix_libpath_sed='
9744 /Import File Strings/,/^$/ {
9745 /^0/ {
9746 s/^0 *\(.*\)$/\1/
9747 p
9748 }
9749 }'
9750 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9751 # Check for a 64-bit object if we didn't find anything.
9752 if test -z "$aix_libpath"; then
9753 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9754 fi
9755 fi
9756 rm -f core conftest.err conftest.$ac_objext \
9757 conftest$ac_exeext conftest.$ac_ext
9758 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9759
9760 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9761 # Warning - without using the other run time loading flags,
9762 # -berok will link without error, but may produce a broken library.
9763 no_undefined_flag=' ${wl}-bernotok'
9764 allow_undefined_flag=' ${wl}-berok'
9765 # Exported symbols can be pulled into shared objects from archives
9766 whole_archive_flag_spec='$convenience'
9767 archive_cmds_need_lc=yes
9768 # This is similar to how AIX traditionally builds its shared libraries.
9769 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'
9770 fi
9771 fi
9772 ;;
9773
9774 amigaos*)
9775 case $host_cpu in
9776 powerpc)
9777 # see comment about AmigaOS4 .so support
9778 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9779 archive_expsym_cmds=''
9780 ;;
9781 m68k)
9782 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)'
9783 hardcode_libdir_flag_spec='-L$libdir'
9784 hardcode_minus_L=yes
9785 ;;
9786 esac
9787 ;;
9788
9789 bsdi[45]*)
9790 export_dynamic_flag_spec=-rdynamic
9791 ;;
9792
9793 cygwin* | mingw* | pw32* | cegcc*)
9794 # When not using gcc, we currently assume that we are using
9795 # Microsoft Visual C++.
9796 # hardcode_libdir_flag_spec is actually meaningless, as there is
9797 # no search path for DLLs.
9798 hardcode_libdir_flag_spec=' '
9799 allow_undefined_flag=unsupported
9800 # Tell ltmain to make .lib files, not .a files.
9801 libext=lib
9802 # Tell ltmain to make .dll files, not .so files.
9803 shrext_cmds=".dll"
9804 # FIXME: Setting linknames here is a bad hack.
9805 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9806 # The linker will automatically build a .lib file if we build a DLL.
9807 old_archive_from_new_cmds='true'
9808 # FIXME: Should let the user specify the lib program.
9809 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9810 fix_srcfile_path='`cygpath -w "$srcfile"`'
9811 enable_shared_with_static_runtimes=yes
9812 ;;
9813
9814 darwin* | rhapsody*)
9815
9816
9817 archive_cmds_need_lc=no
9818 hardcode_direct=no
9819 hardcode_automatic=yes
9820 hardcode_shlibpath_var=unsupported
9821 whole_archive_flag_spec=''
9822 link_all_deplibs=yes
9823 allow_undefined_flag="$_lt_dar_allow_undefined"
9824 case $cc_basename in
9825 ifort*) _lt_dar_can_shared=yes ;;
9826 *) _lt_dar_can_shared=$GCC ;;
9827 esac
9828 if test "$_lt_dar_can_shared" = "yes"; then
9829 output_verbose_link_cmd=echo
9830 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9831 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9832 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}"
9833 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}"
9834
9835 else
9836 ld_shlibs=no
9837 fi
9838
9839 ;;
9840
9841 dgux*)
9842 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9843 hardcode_libdir_flag_spec='-L$libdir'
9844 hardcode_shlibpath_var=no
9845 ;;
9846
9847 freebsd1*)
9848 ld_shlibs=no
9849 ;;
9850
9851 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9852 # support. Future versions do this automatically, but an explicit c++rt0.o
9853 # does not break anything, and helps significantly (at the cost of a little
9854 # extra space).
9855 freebsd2.2*)
9856 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9857 hardcode_libdir_flag_spec='-R$libdir'
9858 hardcode_direct=yes
9859 hardcode_shlibpath_var=no
9860 ;;
9861
9862 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9863 freebsd2*)
9864 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9865 hardcode_direct=yes
9866 hardcode_minus_L=yes
9867 hardcode_shlibpath_var=no
9868 ;;
9869
9870 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9871 freebsd* | dragonfly*)
9872 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9873 hardcode_libdir_flag_spec='-R$libdir'
9874 hardcode_direct=yes
9875 hardcode_shlibpath_var=no
9876 ;;
9877
9878 hpux9*)
9879 if test "$GCC" = yes; then
9880 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9881 else
9882 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'
9883 fi
9884 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9885 hardcode_libdir_separator=:
9886 hardcode_direct=yes
9887
9888 # hardcode_minus_L: Not really in the search PATH,
9889 # but as the default location of the library.
9890 hardcode_minus_L=yes
9891 export_dynamic_flag_spec='${wl}-E'
9892 ;;
9893
9894 hpux10*)
9895 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9896 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9897 else
9898 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9899 fi
9900 if test "$with_gnu_ld" = no; then
9901 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9902 hardcode_libdir_flag_spec_ld='+b $libdir'
9903 hardcode_libdir_separator=:
9904 hardcode_direct=yes
9905 hardcode_direct_absolute=yes
9906 export_dynamic_flag_spec='${wl}-E'
9907 # hardcode_minus_L: Not really in the search PATH,
9908 # but as the default location of the library.
9909 hardcode_minus_L=yes
9910 fi
9911 ;;
9912
9913 hpux11*)
9914 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9915 case $host_cpu in
9916 hppa*64*)
9917 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9918 ;;
9919 ia64*)
9920 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9921 ;;
9922 *)
9923 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9924 ;;
9925 esac
9926 else
9927 case $host_cpu in
9928 hppa*64*)
9929 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9930 ;;
9931 ia64*)
9932 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9933 ;;
9934 *)
9935 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9936 ;;
9937 esac
9938 fi
9939 if test "$with_gnu_ld" = no; then
9940 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9941 hardcode_libdir_separator=:
9942
9943 case $host_cpu in
9944 hppa*64*|ia64*)
9945 hardcode_direct=no
9946 hardcode_shlibpath_var=no
9947 ;;
9948 *)
9949 hardcode_direct=yes
9950 hardcode_direct_absolute=yes
9951 export_dynamic_flag_spec='${wl}-E'
9952
9953 # hardcode_minus_L: Not really in the search PATH,
9954 # but as the default location of the library.
9955 hardcode_minus_L=yes
9956 ;;
9957 esac
9958 fi
9959 ;;
9960
9961 irix5* | irix6* | nonstopux*)
9962 if test "$GCC" = yes; then
9963 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9964 # Try to use the -exported_symbol ld option, if it does not
9965 # work, assume that -exports_file does not work either and
9966 # implicitly export all symbols.
9967 save_LDFLAGS="$LDFLAGS"
9968 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 int foo(void) {}
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"; then :
9974 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9975
9976 fi
9977 rm -f core conftest.err conftest.$ac_objext \
9978 conftest$ac_exeext conftest.$ac_ext
9979 LDFLAGS="$save_LDFLAGS"
9980 else
9981 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9982 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9983 fi
9984 archive_cmds_need_lc='no'
9985 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9986 hardcode_libdir_separator=:
9987 inherit_rpath=yes
9988 link_all_deplibs=yes
9989 ;;
9990
9991 netbsd*)
9992 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9993 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9994 else
9995 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9996 fi
9997 hardcode_libdir_flag_spec='-R$libdir'
9998 hardcode_direct=yes
9999 hardcode_shlibpath_var=no
10000 ;;
10001
10002 newsos6)
10003 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10004 hardcode_direct=yes
10005 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10006 hardcode_libdir_separator=:
10007 hardcode_shlibpath_var=no
10008 ;;
10009
10010 *nto* | *qnx*)
10011 ;;
10012
10013 openbsd*)
10014 if test -f /usr/libexec/ld.so; then
10015 hardcode_direct=yes
10016 hardcode_shlibpath_var=no
10017 hardcode_direct_absolute=yes
10018 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10019 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10020 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10021 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10022 export_dynamic_flag_spec='${wl}-E'
10023 else
10024 case $host_os in
10025 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10026 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10027 hardcode_libdir_flag_spec='-R$libdir'
10028 ;;
10029 *)
10030 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10031 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10032 ;;
10033 esac
10034 fi
10035 else
10036 ld_shlibs=no
10037 fi
10038 ;;
10039
10040 os2*)
10041 hardcode_libdir_flag_spec='-L$libdir'
10042 hardcode_minus_L=yes
10043 allow_undefined_flag=unsupported
10044 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'
10045 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10046 ;;
10047
10048 osf3*)
10049 if test "$GCC" = yes; then
10050 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10051 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10052 else
10053 allow_undefined_flag=' -expect_unresolved \*'
10054 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10055 fi
10056 archive_cmds_need_lc='no'
10057 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10058 hardcode_libdir_separator=:
10059 ;;
10060
10061 osf4* | osf5*) # as osf3* with the addition of -msym flag
10062 if test "$GCC" = yes; then
10063 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10064 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10065 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10066 else
10067 allow_undefined_flag=' -expect_unresolved \*'
10068 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10069 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~
10070 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10071
10072 # Both c and cxx compiler support -rpath directly
10073 hardcode_libdir_flag_spec='-rpath $libdir'
10074 fi
10075 archive_cmds_need_lc='no'
10076 hardcode_libdir_separator=:
10077 ;;
10078
10079 solaris*)
10080 no_undefined_flag=' -z defs'
10081 if test "$GCC" = yes; then
10082 wlarc='${wl}'
10083 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10084 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10085 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10086 else
10087 case `$CC -V 2>&1` in
10088 *"Compilers 5.0"*)
10089 wlarc=''
10090 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10091 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10092 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10093 ;;
10094 *)
10095 wlarc='${wl}'
10096 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10098 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10099 ;;
10100 esac
10101 fi
10102 hardcode_libdir_flag_spec='-R$libdir'
10103 hardcode_shlibpath_var=no
10104 case $host_os in
10105 solaris2.[0-5] | solaris2.[0-5].*) ;;
10106 *)
10107 # The compiler driver will combine and reorder linker options,
10108 # but understands `-z linker_flag'. GCC discards it without `$wl',
10109 # but is careful enough not to reorder.
10110 # Supported since Solaris 2.6 (maybe 2.5.1?)
10111 if test "$GCC" = yes; then
10112 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10113 else
10114 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10115 fi
10116 ;;
10117 esac
10118 link_all_deplibs=yes
10119 ;;
10120
10121 sunos4*)
10122 if test "x$host_vendor" = xsequent; then
10123 # Use $CC to link under sequent, because it throws in some extra .o
10124 # files that make .init and .fini sections work.
10125 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10126 else
10127 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10128 fi
10129 hardcode_libdir_flag_spec='-L$libdir'
10130 hardcode_direct=yes
10131 hardcode_minus_L=yes
10132 hardcode_shlibpath_var=no
10133 ;;
10134
10135 sysv4)
10136 case $host_vendor in
10137 sni)
10138 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10139 hardcode_direct=yes # is this really true???
10140 ;;
10141 siemens)
10142 ## LD is ld it makes a PLAMLIB
10143 ## CC just makes a GrossModule.
10144 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10145 reload_cmds='$CC -r -o $output$reload_objs'
10146 hardcode_direct=no
10147 ;;
10148 motorola)
10149 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10150 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10151 ;;
10152 esac
10153 runpath_var='LD_RUN_PATH'
10154 hardcode_shlibpath_var=no
10155 ;;
10156
10157 sysv4.3*)
10158 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10159 hardcode_shlibpath_var=no
10160 export_dynamic_flag_spec='-Bexport'
10161 ;;
10162
10163 sysv4*MP*)
10164 if test -d /usr/nec; then
10165 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10166 hardcode_shlibpath_var=no
10167 runpath_var=LD_RUN_PATH
10168 hardcode_runpath_var=yes
10169 ld_shlibs=yes
10170 fi
10171 ;;
10172
10173 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10174 no_undefined_flag='${wl}-z,text'
10175 archive_cmds_need_lc=no
10176 hardcode_shlibpath_var=no
10177 runpath_var='LD_RUN_PATH'
10178
10179 if test "$GCC" = yes; then
10180 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10182 else
10183 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10184 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 fi
10186 ;;
10187
10188 sysv5* | sco3.2v5* | sco5v6*)
10189 # Note: We can NOT use -z defs as we might desire, because we do not
10190 # link with -lc, and that would cause any symbols used from libc to
10191 # always be unresolved, which means just about no library would
10192 # ever link correctly. If we're not using GNU ld we use -z text
10193 # though, which does catch some bad symbols but isn't as heavy-handed
10194 # as -z defs.
10195 no_undefined_flag='${wl}-z,text'
10196 allow_undefined_flag='${wl}-z,nodefs'
10197 archive_cmds_need_lc=no
10198 hardcode_shlibpath_var=no
10199 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10200 hardcode_libdir_separator=':'
10201 link_all_deplibs=yes
10202 export_dynamic_flag_spec='${wl}-Bexport'
10203 runpath_var='LD_RUN_PATH'
10204
10205 if test "$GCC" = yes; then
10206 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10208 else
10209 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10210 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 fi
10212 ;;
10213
10214 uts4*)
10215 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10216 hardcode_libdir_flag_spec='-L$libdir'
10217 hardcode_shlibpath_var=no
10218 ;;
10219
10220 *)
10221 ld_shlibs=no
10222 ;;
10223 esac
10224
10225 if test x$host_vendor = xsni; then
10226 case $host in
10227 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10228 export_dynamic_flag_spec='${wl}-Blargedynsym'
10229 ;;
10230 esac
10231 fi
10232 fi
10233
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10235 $as_echo "$ld_shlibs" >&6; }
10236 test "$ld_shlibs" = no && can_build_shared=no
10237
10238 with_gnu_ld=$with_gnu_ld
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254 #
10255 # Do we need to explicitly link libc?
10256 #
10257 case "x$archive_cmds_need_lc" in
10258 x|xyes)
10259 # Assume -lc should be added
10260 archive_cmds_need_lc=yes
10261
10262 if test "$enable_shared" = yes && test "$GCC" = yes; then
10263 case $archive_cmds in
10264 *'~'*)
10265 # FIXME: we may have to deal with multi-command sequences.
10266 ;;
10267 '$CC '*)
10268 # Test whether the compiler implicitly links with -lc since on some
10269 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10270 # to ld, don't add -lc before -lgcc.
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10272 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10273 $RM conftest*
10274 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10275
10276 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10277 (eval $ac_compile) 2>&5
10278 ac_status=$?
10279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10280 test $ac_status = 0; } 2>conftest.err; then
10281 soname=conftest
10282 lib=conftest
10283 libobjs=conftest.$ac_objext
10284 deplibs=
10285 wl=$lt_prog_compiler_wl
10286 pic_flag=$lt_prog_compiler_pic
10287 compiler_flags=-v
10288 linker_flags=-v
10289 verstring=
10290 output_objdir=.
10291 libname=conftest
10292 lt_save_allow_undefined_flag=$allow_undefined_flag
10293 allow_undefined_flag=
10294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10295 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10296 ac_status=$?
10297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10298 test $ac_status = 0; }
10299 then
10300 archive_cmds_need_lc=no
10301 else
10302 archive_cmds_need_lc=yes
10303 fi
10304 allow_undefined_flag=$lt_save_allow_undefined_flag
10305 else
10306 cat conftest.err 1>&5
10307 fi
10308 $RM conftest*
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10310 $as_echo "$archive_cmds_need_lc" >&6; }
10311 ;;
10312 esac
10313 fi
10314 ;;
10315 esac
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10474 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10475
10476 if test "$GCC" = yes; then
10477 case $host_os in
10478 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10479 *) lt_awk_arg="/^libraries:/" ;;
10480 esac
10481 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10482 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10483 # if the path contains ";" then we assume it to be the separator
10484 # otherwise default to the standard path separator (i.e. ":") - it is
10485 # assumed that no part of a normal pathname contains ";" but that should
10486 # okay in the real world where ";" in dirpaths is itself problematic.
10487 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10488 else
10489 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10490 fi
10491 # Ok, now we have the path, separated by spaces, we can step through it
10492 # and add multilib dir if necessary.
10493 lt_tmp_lt_search_path_spec=
10494 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10495 for lt_sys_path in $lt_search_path_spec; do
10496 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10497 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10498 else
10499 test -d "$lt_sys_path" && \
10500 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10501 fi
10502 done
10503 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10504 BEGIN {RS=" "; FS="/|\n";} {
10505 lt_foo="";
10506 lt_count=0;
10507 for (lt_i = NF; lt_i > 0; lt_i--) {
10508 if ($lt_i != "" && $lt_i != ".") {
10509 if ($lt_i == "..") {
10510 lt_count++;
10511 } else {
10512 if (lt_count == 0) {
10513 lt_foo="/" $lt_i lt_foo;
10514 } else {
10515 lt_count--;
10516 }
10517 }
10518 }
10519 }
10520 if (lt_foo != "") { lt_freq[lt_foo]++; }
10521 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10522 }'`
10523 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10524 else
10525 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10526 fi
10527 library_names_spec=
10528 libname_spec='lib$name'
10529 soname_spec=
10530 shrext_cmds=".so"
10531 postinstall_cmds=
10532 postuninstall_cmds=
10533 finish_cmds=
10534 finish_eval=
10535 shlibpath_var=
10536 shlibpath_overrides_runpath=unknown
10537 version_type=none
10538 dynamic_linker="$host_os ld.so"
10539 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10540 need_lib_prefix=unknown
10541 hardcode_into_libs=no
10542
10543 # when you set need_version to no, make sure it does not cause -set_version
10544 # flags to be left without arguments
10545 need_version=unknown
10546
10547 case $host_os in
10548 aix3*)
10549 version_type=linux
10550 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10551 shlibpath_var=LIBPATH
10552
10553 # AIX 3 has no versioning support, so we append a major version to the name.
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 ;;
10556
10557 aix[4-9]*)
10558 version_type=linux
10559 need_lib_prefix=no
10560 need_version=no
10561 hardcode_into_libs=yes
10562 if test "$host_cpu" = ia64; then
10563 # AIX 5 supports IA64
10564 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10565 shlibpath_var=LD_LIBRARY_PATH
10566 else
10567 # With GCC up to 2.95.x, collect2 would create an import file
10568 # for dependence libraries. The import file would start with
10569 # the line `#! .'. This would cause the generated library to
10570 # depend on `.', always an invalid library. This was fixed in
10571 # development snapshots of GCC prior to 3.0.
10572 case $host_os in
10573 aix4 | aix4.[01] | aix4.[01].*)
10574 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10575 echo ' yes '
10576 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10577 :
10578 else
10579 can_build_shared=no
10580 fi
10581 ;;
10582 esac
10583 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10584 # soname into executable. Probably we can add versioning support to
10585 # collect2, so additional links can be useful in future.
10586 if test "$aix_use_runtimelinking" = yes; then
10587 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10588 # instead of lib<name>.a to let people know that these are not
10589 # typical AIX shared libraries.
10590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10591 else
10592 # We preserve .a as extension for shared libraries through AIX4.2
10593 # and later when we are not doing run time linking.
10594 library_names_spec='${libname}${release}.a $libname.a'
10595 soname_spec='${libname}${release}${shared_ext}$major'
10596 fi
10597 shlibpath_var=LIBPATH
10598 fi
10599 ;;
10600
10601 amigaos*)
10602 case $host_cpu in
10603 powerpc)
10604 # Since July 2007 AmigaOS4 officially supports .so libraries.
10605 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10607 ;;
10608 m68k)
10609 library_names_spec='$libname.ixlibrary $libname.a'
10610 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10611 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10612 ;;
10613 esac
10614 ;;
10615
10616 beos*)
10617 library_names_spec='${libname}${shared_ext}'
10618 dynamic_linker="$host_os ld.so"
10619 shlibpath_var=LIBRARY_PATH
10620 ;;
10621
10622 bsdi[45]*)
10623 version_type=linux
10624 need_version=no
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10626 soname_spec='${libname}${release}${shared_ext}$major'
10627 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10628 shlibpath_var=LD_LIBRARY_PATH
10629 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10630 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10631 # the default ld.so.conf also contains /usr/contrib/lib and
10632 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10633 # libtool to hard-code these into programs
10634 ;;
10635
10636 cygwin* | mingw* | pw32* | cegcc*)
10637 version_type=windows
10638 shrext_cmds=".dll"
10639 need_version=no
10640 need_lib_prefix=no
10641
10642 case $GCC,$host_os in
10643 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10644 library_names_spec='$libname.dll.a'
10645 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10646 postinstall_cmds='base_file=`basename \${file}`~
10647 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10648 dldir=$destdir/`dirname \$dlpath`~
10649 test -d \$dldir || mkdir -p \$dldir~
10650 $install_prog $dir/$dlname \$dldir/$dlname~
10651 chmod a+x \$dldir/$dlname~
10652 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10653 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10654 fi'
10655 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10656 dlpath=$dir/\$dldll~
10657 $RM \$dlpath'
10658 shlibpath_overrides_runpath=yes
10659
10660 case $host_os in
10661 cygwin*)
10662 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10663 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10664 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10665 ;;
10666 mingw* | cegcc*)
10667 # MinGW DLLs use traditional 'lib' prefix
10668 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10669 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10670 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10671 # It is most probably a Windows format PATH printed by
10672 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10673 # path with ; separators, and with drive letters. We can handle the
10674 # drive letters (cygwin fileutils understands them), so leave them,
10675 # especially as we might pass files found there to a mingw objdump,
10676 # which wouldn't understand a cygwinified path. Ahh.
10677 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10678 else
10679 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10680 fi
10681 ;;
10682 pw32*)
10683 # pw32 DLLs use 'pw' prefix rather than 'lib'
10684 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10685 ;;
10686 esac
10687 ;;
10688
10689 *)
10690 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10691 ;;
10692 esac
10693 dynamic_linker='Win32 ld.exe'
10694 # FIXME: first we should search . and the directory the executable is in
10695 shlibpath_var=PATH
10696 ;;
10697
10698 darwin* | rhapsody*)
10699 dynamic_linker="$host_os dyld"
10700 version_type=darwin
10701 need_lib_prefix=no
10702 need_version=no
10703 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10704 soname_spec='${libname}${release}${major}$shared_ext'
10705 shlibpath_overrides_runpath=yes
10706 shlibpath_var=DYLD_LIBRARY_PATH
10707 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10708
10709 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10710 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10711 ;;
10712
10713 dgux*)
10714 version_type=linux
10715 need_lib_prefix=no
10716 need_version=no
10717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10718 soname_spec='${libname}${release}${shared_ext}$major'
10719 shlibpath_var=LD_LIBRARY_PATH
10720 ;;
10721
10722 freebsd1*)
10723 dynamic_linker=no
10724 ;;
10725
10726 freebsd* | dragonfly*)
10727 # DragonFly does not have aout. When/if they implement a new
10728 # versioning mechanism, adjust this.
10729 if test -x /usr/bin/objformat; then
10730 objformat=`/usr/bin/objformat`
10731 else
10732 case $host_os in
10733 freebsd[123]*) objformat=aout ;;
10734 *) objformat=elf ;;
10735 esac
10736 fi
10737 version_type=freebsd-$objformat
10738 case $version_type in
10739 freebsd-elf*)
10740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10741 need_version=no
10742 need_lib_prefix=no
10743 ;;
10744 freebsd-*)
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10746 need_version=yes
10747 ;;
10748 esac
10749 shlibpath_var=LD_LIBRARY_PATH
10750 case $host_os in
10751 freebsd2*)
10752 shlibpath_overrides_runpath=yes
10753 ;;
10754 freebsd3.[01]* | freebsdelf3.[01]*)
10755 shlibpath_overrides_runpath=yes
10756 hardcode_into_libs=yes
10757 ;;
10758 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10759 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10760 shlibpath_overrides_runpath=no
10761 hardcode_into_libs=yes
10762 ;;
10763 *) # from 4.6 on, and DragonFly
10764 shlibpath_overrides_runpath=yes
10765 hardcode_into_libs=yes
10766 ;;
10767 esac
10768 ;;
10769
10770 gnu*)
10771 version_type=linux
10772 need_lib_prefix=no
10773 need_version=no
10774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10775 soname_spec='${libname}${release}${shared_ext}$major'
10776 shlibpath_var=LD_LIBRARY_PATH
10777 hardcode_into_libs=yes
10778 ;;
10779
10780 hpux9* | hpux10* | hpux11*)
10781 # Give a soname corresponding to the major version so that dld.sl refuses to
10782 # link against other versions.
10783 version_type=sunos
10784 need_lib_prefix=no
10785 need_version=no
10786 case $host_cpu in
10787 ia64*)
10788 shrext_cmds='.so'
10789 hardcode_into_libs=yes
10790 dynamic_linker="$host_os dld.so"
10791 shlibpath_var=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10794 soname_spec='${libname}${release}${shared_ext}$major'
10795 if test "X$HPUX_IA64_MODE" = X32; then
10796 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10797 else
10798 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10799 fi
10800 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10801 ;;
10802 hppa*64*)
10803 shrext_cmds='.sl'
10804 hardcode_into_libs=yes
10805 dynamic_linker="$host_os dld.sl"
10806 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10807 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10809 soname_spec='${libname}${release}${shared_ext}$major'
10810 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10811 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10812 ;;
10813 *)
10814 shrext_cmds='.sl'
10815 dynamic_linker="$host_os dld.sl"
10816 shlibpath_var=SHLIB_PATH
10817 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 soname_spec='${libname}${release}${shared_ext}$major'
10820 ;;
10821 esac
10822 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10823 postinstall_cmds='chmod 555 $lib'
10824 ;;
10825
10826 interix[3-9]*)
10827 version_type=linux
10828 need_lib_prefix=no
10829 need_version=no
10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10831 soname_spec='${libname}${release}${shared_ext}$major'
10832 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10833 shlibpath_var=LD_LIBRARY_PATH
10834 shlibpath_overrides_runpath=no
10835 hardcode_into_libs=yes
10836 ;;
10837
10838 irix5* | irix6* | nonstopux*)
10839 case $host_os in
10840 nonstopux*) version_type=nonstopux ;;
10841 *)
10842 if test "$lt_cv_prog_gnu_ld" = yes; then
10843 version_type=linux
10844 else
10845 version_type=irix
10846 fi ;;
10847 esac
10848 need_lib_prefix=no
10849 need_version=no
10850 soname_spec='${libname}${release}${shared_ext}$major'
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10852 case $host_os in
10853 irix5* | nonstopux*)
10854 libsuff= shlibsuff=
10855 ;;
10856 *)
10857 case $LD in # libtool.m4 will add one of these switches to LD
10858 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10859 libsuff= shlibsuff= libmagic=32-bit;;
10860 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10861 libsuff=32 shlibsuff=N32 libmagic=N32;;
10862 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10863 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10864 *) libsuff= shlibsuff= libmagic=never-match;;
10865 esac
10866 ;;
10867 esac
10868 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10869 shlibpath_overrides_runpath=no
10870 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10871 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10872 hardcode_into_libs=yes
10873 ;;
10874
10875 # No shared lib support for Linux oldld, aout, or coff.
10876 linux*oldld* | linux*aout* | linux*coff*)
10877 dynamic_linker=no
10878 ;;
10879
10880 # This must be Linux ELF.
10881 linux* | k*bsd*-gnu)
10882 version_type=linux
10883 need_lib_prefix=no
10884 need_version=no
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10888 shlibpath_var=LD_LIBRARY_PATH
10889 shlibpath_overrides_runpath=no
10890 # Some binutils ld are patched to set DT_RUNPATH
10891 save_LDFLAGS=$LDFLAGS
10892 save_libdir=$libdir
10893 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10894 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10897
10898 int
10899 main ()
10900 {
10901
10902 ;
10903 return 0;
10904 }
10905 _ACEOF
10906 if ac_fn_c_try_link "$LINENO"; then :
10907 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10908 shlibpath_overrides_runpath=yes
10909 fi
10910 fi
10911 rm -f core conftest.err conftest.$ac_objext \
10912 conftest$ac_exeext conftest.$ac_ext
10913 LDFLAGS=$save_LDFLAGS
10914 libdir=$save_libdir
10915
10916 # This implies no fast_install, which is unacceptable.
10917 # Some rework will be needed to allow for fast_install
10918 # before this can be enabled.
10919 hardcode_into_libs=yes
10920
10921 # Add ABI-specific directories to the system library path.
10922 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10923
10924 # Append ld.so.conf contents to the search path
10925 if test -f /etc/ld.so.conf; then
10926 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10927 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10928 fi
10929
10930 # We used to test for /lib/ld.so.1 and disable shared libraries on
10931 # powerpc, because MkLinux only supported shared libraries with the
10932 # GNU dynamic linker. Since this was broken with cross compilers,
10933 # most powerpc-linux boxes support dynamic linking these days and
10934 # people can always --disable-shared, the test was removed, and we
10935 # assume the GNU/Linux dynamic linker is in use.
10936 dynamic_linker='GNU/Linux ld.so'
10937 ;;
10938
10939 netbsd*)
10940 version_type=sunos
10941 need_lib_prefix=no
10942 need_version=no
10943 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10945 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10946 dynamic_linker='NetBSD (a.out) ld.so'
10947 else
10948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10949 soname_spec='${libname}${release}${shared_ext}$major'
10950 dynamic_linker='NetBSD ld.elf_so'
10951 fi
10952 shlibpath_var=LD_LIBRARY_PATH
10953 shlibpath_overrides_runpath=yes
10954 hardcode_into_libs=yes
10955 ;;
10956
10957 newsos6)
10958 version_type=linux
10959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10960 shlibpath_var=LD_LIBRARY_PATH
10961 shlibpath_overrides_runpath=yes
10962 ;;
10963
10964 *nto* | *qnx*)
10965 version_type=qnx
10966 need_lib_prefix=no
10967 need_version=no
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10969 soname_spec='${libname}${release}${shared_ext}$major'
10970 shlibpath_var=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath=no
10972 hardcode_into_libs=yes
10973 dynamic_linker='ldqnx.so'
10974 ;;
10975
10976 openbsd*)
10977 version_type=sunos
10978 sys_lib_dlsearch_path_spec="/usr/lib"
10979 need_lib_prefix=no
10980 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10981 case $host_os in
10982 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10983 *) need_version=no ;;
10984 esac
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10986 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10987 shlibpath_var=LD_LIBRARY_PATH
10988 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10989 case $host_os in
10990 openbsd2.[89] | openbsd2.[89].*)
10991 shlibpath_overrides_runpath=no
10992 ;;
10993 *)
10994 shlibpath_overrides_runpath=yes
10995 ;;
10996 esac
10997 else
10998 shlibpath_overrides_runpath=yes
10999 fi
11000 ;;
11001
11002 os2*)
11003 libname_spec='$name'
11004 shrext_cmds=".dll"
11005 need_lib_prefix=no
11006 library_names_spec='$libname${shared_ext} $libname.a'
11007 dynamic_linker='OS/2 ld.exe'
11008 shlibpath_var=LIBPATH
11009 ;;
11010
11011 osf3* | osf4* | osf5*)
11012 version_type=osf
11013 need_lib_prefix=no
11014 need_version=no
11015 soname_spec='${libname}${release}${shared_ext}$major'
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017 shlibpath_var=LD_LIBRARY_PATH
11018 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11019 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11020 ;;
11021
11022 rdos*)
11023 dynamic_linker=no
11024 ;;
11025
11026 solaris*)
11027 version_type=linux
11028 need_lib_prefix=no
11029 need_version=no
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11031 soname_spec='${libname}${release}${shared_ext}$major'
11032 shlibpath_var=LD_LIBRARY_PATH
11033 shlibpath_overrides_runpath=yes
11034 hardcode_into_libs=yes
11035 # ldd complains unless libraries are executable
11036 postinstall_cmds='chmod +x $lib'
11037 ;;
11038
11039 sunos4*)
11040 version_type=sunos
11041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11042 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11043 shlibpath_var=LD_LIBRARY_PATH
11044 shlibpath_overrides_runpath=yes
11045 if test "$with_gnu_ld" = yes; then
11046 need_lib_prefix=no
11047 fi
11048 need_version=yes
11049 ;;
11050
11051 sysv4 | sysv4.3*)
11052 version_type=linux
11053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11054 soname_spec='${libname}${release}${shared_ext}$major'
11055 shlibpath_var=LD_LIBRARY_PATH
11056 case $host_vendor in
11057 sni)
11058 shlibpath_overrides_runpath=no
11059 need_lib_prefix=no
11060 runpath_var=LD_RUN_PATH
11061 ;;
11062 siemens)
11063 need_lib_prefix=no
11064 ;;
11065 motorola)
11066 need_lib_prefix=no
11067 need_version=no
11068 shlibpath_overrides_runpath=no
11069 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11070 ;;
11071 esac
11072 ;;
11073
11074 sysv4*MP*)
11075 if test -d /usr/nec ;then
11076 version_type=linux
11077 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11078 soname_spec='$libname${shared_ext}.$major'
11079 shlibpath_var=LD_LIBRARY_PATH
11080 fi
11081 ;;
11082
11083 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11084 version_type=freebsd-elf
11085 need_lib_prefix=no
11086 need_version=no
11087 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11088 soname_spec='${libname}${release}${shared_ext}$major'
11089 shlibpath_var=LD_LIBRARY_PATH
11090 shlibpath_overrides_runpath=yes
11091 hardcode_into_libs=yes
11092 if test "$with_gnu_ld" = yes; then
11093 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11094 else
11095 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11096 case $host_os in
11097 sco3.2v5*)
11098 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11099 ;;
11100 esac
11101 fi
11102 sys_lib_dlsearch_path_spec='/usr/lib'
11103 ;;
11104
11105 tpf*)
11106 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11107 version_type=linux
11108 need_lib_prefix=no
11109 need_version=no
11110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111 shlibpath_var=LD_LIBRARY_PATH
11112 shlibpath_overrides_runpath=no
11113 hardcode_into_libs=yes
11114 ;;
11115
11116 uts4*)
11117 version_type=linux
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11119 soname_spec='${libname}${release}${shared_ext}$major'
11120 shlibpath_var=LD_LIBRARY_PATH
11121 ;;
11122
11123 *)
11124 dynamic_linker=no
11125 ;;
11126 esac
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11128 $as_echo "$dynamic_linker" >&6; }
11129 test "$dynamic_linker" = no && can_build_shared=no
11130
11131 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11132 if test "$GCC" = yes; then
11133 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11134 fi
11135
11136 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11137 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11138 fi
11139 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11140 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11141 fi
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11230 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11231 hardcode_action=
11232 if test -n "$hardcode_libdir_flag_spec" ||
11233 test -n "$runpath_var" ||
11234 test "X$hardcode_automatic" = "Xyes" ; then
11235
11236 # We can hardcode non-existent directories.
11237 if test "$hardcode_direct" != no &&
11238 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11239 # have to relink, otherwise we might link with an installed library
11240 # when we should be linking with a yet-to-be-installed one
11241 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11242 test "$hardcode_minus_L" != no; then
11243 # Linking always hardcodes the temporary library directory.
11244 hardcode_action=relink
11245 else
11246 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11247 hardcode_action=immediate
11248 fi
11249 else
11250 # We cannot hardcode anything, or else we can only hardcode existing
11251 # directories.
11252 hardcode_action=unsupported
11253 fi
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11255 $as_echo "$hardcode_action" >&6; }
11256
11257 if test "$hardcode_action" = relink ||
11258 test "$inherit_rpath" = yes; then
11259 # Fast installation is not supported
11260 enable_fast_install=no
11261 elif test "$shlibpath_overrides_runpath" = yes ||
11262 test "$enable_shared" = no; then
11263 # Fast installation is not necessary
11264 enable_fast_install=needless
11265 fi
11266
11267
11268
11269
11270
11271
11272 if test "x$enable_dlopen" != xyes; then
11273 enable_dlopen=unknown
11274 enable_dlopen_self=unknown
11275 enable_dlopen_self_static=unknown
11276 else
11277 lt_cv_dlopen=no
11278 lt_cv_dlopen_libs=
11279
11280 case $host_os in
11281 beos*)
11282 lt_cv_dlopen="load_add_on"
11283 lt_cv_dlopen_libs=
11284 lt_cv_dlopen_self=yes
11285 ;;
11286
11287 mingw* | pw32* | cegcc*)
11288 lt_cv_dlopen="LoadLibrary"
11289 lt_cv_dlopen_libs=
11290 ;;
11291
11292 cygwin*)
11293 lt_cv_dlopen="dlopen"
11294 lt_cv_dlopen_libs=
11295 ;;
11296
11297 darwin*)
11298 # if libdl is installed we need to link against it
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11300 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11301 if ${ac_cv_lib_dl_dlopen+:} false; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 ac_check_lib_save_LIBS=$LIBS
11305 LIBS="-ldl $LIBS"
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11308
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char dlopen ();
11316 int
11317 main ()
11318 {
11319 return dlopen ();
11320 ;
11321 return 0;
11322 }
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 ac_cv_lib_dl_dlopen=yes
11326 else
11327 ac_cv_lib_dl_dlopen=no
11328 fi
11329 rm -f core conftest.err conftest.$ac_objext \
11330 conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_lib_save_LIBS
11332 fi
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11334 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11335 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11336 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11337 else
11338
11339 lt_cv_dlopen="dyld"
11340 lt_cv_dlopen_libs=
11341 lt_cv_dlopen_self=yes
11342
11343 fi
11344
11345 ;;
11346
11347 *)
11348 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11349 if test "x$ac_cv_func_shl_load" = xyes; then :
11350 lt_cv_dlopen="shl_load"
11351 else
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11353 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11354 if ${ac_cv_lib_dld_shl_load+:} false; then :
11355 $as_echo_n "(cached) " >&6
11356 else
11357 ac_check_lib_save_LIBS=$LIBS
11358 LIBS="-ldld $LIBS"
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11361
11362 /* Override any GCC internal prototype to avoid an error.
11363 Use char because int might match the return type of a GCC
11364 builtin and then its argument prototype would still apply. */
11365 #ifdef __cplusplus
11366 extern "C"
11367 #endif
11368 char shl_load ();
11369 int
11370 main ()
11371 {
11372 return shl_load ();
11373 ;
11374 return 0;
11375 }
11376 _ACEOF
11377 if ac_fn_c_try_link "$LINENO"; then :
11378 ac_cv_lib_dld_shl_load=yes
11379 else
11380 ac_cv_lib_dld_shl_load=no
11381 fi
11382 rm -f core conftest.err conftest.$ac_objext \
11383 conftest$ac_exeext conftest.$ac_ext
11384 LIBS=$ac_check_lib_save_LIBS
11385 fi
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11387 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11388 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11389 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11390 else
11391 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11392 if test "x$ac_cv_func_dlopen" = xyes; then :
11393 lt_cv_dlopen="dlopen"
11394 else
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11396 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11397 if ${ac_cv_lib_dl_dlopen+:} false; then :
11398 $as_echo_n "(cached) " >&6
11399 else
11400 ac_check_lib_save_LIBS=$LIBS
11401 LIBS="-ldl $LIBS"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11404
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char dlopen ();
11412 int
11413 main ()
11414 {
11415 return dlopen ();
11416 ;
11417 return 0;
11418 }
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 ac_cv_lib_dl_dlopen=yes
11422 else
11423 ac_cv_lib_dl_dlopen=no
11424 fi
11425 rm -f core conftest.err conftest.$ac_objext \
11426 conftest$ac_exeext conftest.$ac_ext
11427 LIBS=$ac_check_lib_save_LIBS
11428 fi
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11430 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11431 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11432 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11433 else
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11435 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11436 if ${ac_cv_lib_svld_dlopen+:} false; then :
11437 $as_echo_n "(cached) " >&6
11438 else
11439 ac_check_lib_save_LIBS=$LIBS
11440 LIBS="-lsvld $LIBS"
11441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11443
11444 /* Override any GCC internal prototype to avoid an error.
11445 Use char because int might match the return type of a GCC
11446 builtin and then its argument prototype would still apply. */
11447 #ifdef __cplusplus
11448 extern "C"
11449 #endif
11450 char dlopen ();
11451 int
11452 main ()
11453 {
11454 return dlopen ();
11455 ;
11456 return 0;
11457 }
11458 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"; then :
11460 ac_cv_lib_svld_dlopen=yes
11461 else
11462 ac_cv_lib_svld_dlopen=no
11463 fi
11464 rm -f core conftest.err conftest.$ac_objext \
11465 conftest$ac_exeext conftest.$ac_ext
11466 LIBS=$ac_check_lib_save_LIBS
11467 fi
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11469 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11470 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11471 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11472 else
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11474 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11475 if ${ac_cv_lib_dld_dld_link+:} false; then :
11476 $as_echo_n "(cached) " >&6
11477 else
11478 ac_check_lib_save_LIBS=$LIBS
11479 LIBS="-ldld $LIBS"
11480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11482
11483 /* Override any GCC internal prototype to avoid an error.
11484 Use char because int might match the return type of a GCC
11485 builtin and then its argument prototype would still apply. */
11486 #ifdef __cplusplus
11487 extern "C"
11488 #endif
11489 char dld_link ();
11490 int
11491 main ()
11492 {
11493 return dld_link ();
11494 ;
11495 return 0;
11496 }
11497 _ACEOF
11498 if ac_fn_c_try_link "$LINENO"; then :
11499 ac_cv_lib_dld_dld_link=yes
11500 else
11501 ac_cv_lib_dld_dld_link=no
11502 fi
11503 rm -f core conftest.err conftest.$ac_objext \
11504 conftest$ac_exeext conftest.$ac_ext
11505 LIBS=$ac_check_lib_save_LIBS
11506 fi
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11508 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11509 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11510 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11511 fi
11512
11513
11514 fi
11515
11516
11517 fi
11518
11519
11520 fi
11521
11522
11523 fi
11524
11525
11526 fi
11527
11528 ;;
11529 esac
11530
11531 if test "x$lt_cv_dlopen" != xno; then
11532 enable_dlopen=yes
11533 else
11534 enable_dlopen=no
11535 fi
11536
11537 case $lt_cv_dlopen in
11538 dlopen)
11539 save_CPPFLAGS="$CPPFLAGS"
11540 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11541
11542 save_LDFLAGS="$LDFLAGS"
11543 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11544
11545 save_LIBS="$LIBS"
11546 LIBS="$lt_cv_dlopen_libs $LIBS"
11547
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11549 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11550 if ${lt_cv_dlopen_self+:} false; then :
11551 $as_echo_n "(cached) " >&6
11552 else
11553 if test "$cross_compiling" = yes; then :
11554 lt_cv_dlopen_self=cross
11555 else
11556 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11557 lt_status=$lt_dlunknown
11558 cat > conftest.$ac_ext <<_LT_EOF
11559 #line __oline__ "configure"
11560 #include "confdefs.h"
11561
11562 #if HAVE_DLFCN_H
11563 #include <dlfcn.h>
11564 #endif
11565
11566 #include <stdio.h>
11567
11568 #ifdef RTLD_GLOBAL
11569 # define LT_DLGLOBAL RTLD_GLOBAL
11570 #else
11571 # ifdef DL_GLOBAL
11572 # define LT_DLGLOBAL DL_GLOBAL
11573 # else
11574 # define LT_DLGLOBAL 0
11575 # endif
11576 #endif
11577
11578 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11579 find out it does not work in some platform. */
11580 #ifndef LT_DLLAZY_OR_NOW
11581 # ifdef RTLD_LAZY
11582 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11583 # else
11584 # ifdef DL_LAZY
11585 # define LT_DLLAZY_OR_NOW DL_LAZY
11586 # else
11587 # ifdef RTLD_NOW
11588 # define LT_DLLAZY_OR_NOW RTLD_NOW
11589 # else
11590 # ifdef DL_NOW
11591 # define LT_DLLAZY_OR_NOW DL_NOW
11592 # else
11593 # define LT_DLLAZY_OR_NOW 0
11594 # endif
11595 # endif
11596 # endif
11597 # endif
11598 #endif
11599
11600 void fnord() { int i=42;}
11601 int main ()
11602 {
11603 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11604 int status = $lt_dlunknown;
11605
11606 if (self)
11607 {
11608 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11609 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11610 /* dlclose (self); */
11611 }
11612 else
11613 puts (dlerror ());
11614
11615 return status;
11616 }
11617 _LT_EOF
11618 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11619 (eval $ac_link) 2>&5
11620 ac_status=$?
11621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11622 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11623 (./conftest; exit; ) >&5 2>/dev/null
11624 lt_status=$?
11625 case x$lt_status in
11626 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11627 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11628 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11629 esac
11630 else :
11631 # compilation failed
11632 lt_cv_dlopen_self=no
11633 fi
11634 fi
11635 rm -fr conftest*
11636
11637
11638 fi
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11640 $as_echo "$lt_cv_dlopen_self" >&6; }
11641
11642 if test "x$lt_cv_dlopen_self" = xyes; then
11643 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11645 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11646 if ${lt_cv_dlopen_self_static+:} false; then :
11647 $as_echo_n "(cached) " >&6
11648 else
11649 if test "$cross_compiling" = yes; then :
11650 lt_cv_dlopen_self_static=cross
11651 else
11652 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11653 lt_status=$lt_dlunknown
11654 cat > conftest.$ac_ext <<_LT_EOF
11655 #line __oline__ "configure"
11656 #include "confdefs.h"
11657
11658 #if HAVE_DLFCN_H
11659 #include <dlfcn.h>
11660 #endif
11661
11662 #include <stdio.h>
11663
11664 #ifdef RTLD_GLOBAL
11665 # define LT_DLGLOBAL RTLD_GLOBAL
11666 #else
11667 # ifdef DL_GLOBAL
11668 # define LT_DLGLOBAL DL_GLOBAL
11669 # else
11670 # define LT_DLGLOBAL 0
11671 # endif
11672 #endif
11673
11674 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11675 find out it does not work in some platform. */
11676 #ifndef LT_DLLAZY_OR_NOW
11677 # ifdef RTLD_LAZY
11678 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11679 # else
11680 # ifdef DL_LAZY
11681 # define LT_DLLAZY_OR_NOW DL_LAZY
11682 # else
11683 # ifdef RTLD_NOW
11684 # define LT_DLLAZY_OR_NOW RTLD_NOW
11685 # else
11686 # ifdef DL_NOW
11687 # define LT_DLLAZY_OR_NOW DL_NOW
11688 # else
11689 # define LT_DLLAZY_OR_NOW 0
11690 # endif
11691 # endif
11692 # endif
11693 # endif
11694 #endif
11695
11696 void fnord() { int i=42;}
11697 int main ()
11698 {
11699 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11700 int status = $lt_dlunknown;
11701
11702 if (self)
11703 {
11704 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11705 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11706 /* dlclose (self); */
11707 }
11708 else
11709 puts (dlerror ());
11710
11711 return status;
11712 }
11713 _LT_EOF
11714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11715 (eval $ac_link) 2>&5
11716 ac_status=$?
11717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11718 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11719 (./conftest; exit; ) >&5 2>/dev/null
11720 lt_status=$?
11721 case x$lt_status in
11722 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11723 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11724 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11725 esac
11726 else :
11727 # compilation failed
11728 lt_cv_dlopen_self_static=no
11729 fi
11730 fi
11731 rm -fr conftest*
11732
11733
11734 fi
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11736 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11737 fi
11738
11739 CPPFLAGS="$save_CPPFLAGS"
11740 LDFLAGS="$save_LDFLAGS"
11741 LIBS="$save_LIBS"
11742 ;;
11743 esac
11744
11745 case $lt_cv_dlopen_self in
11746 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11747 *) enable_dlopen_self=unknown ;;
11748 esac
11749
11750 case $lt_cv_dlopen_self_static in
11751 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11752 *) enable_dlopen_self_static=unknown ;;
11753 esac
11754 fi
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772 striplib=
11773 old_striplib=
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11775 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11776 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11777 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11778 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11780 $as_echo "yes" >&6; }
11781 else
11782 # FIXME - insert some real tests, host_os isn't really good enough
11783 case $host_os in
11784 darwin*)
11785 if test -n "$STRIP" ; then
11786 striplib="$STRIP -x"
11787 old_striplib="$STRIP -S"
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11789 $as_echo "yes" >&6; }
11790 else
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11792 $as_echo "no" >&6; }
11793 fi
11794 ;;
11795 *)
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11797 $as_echo "no" >&6; }
11798 ;;
11799 esac
11800 fi
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813 # Report which library types will actually be built
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11815 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11817 $as_echo "$can_build_shared" >&6; }
11818
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11820 $as_echo_n "checking whether to build shared libraries... " >&6; }
11821 test "$can_build_shared" = "no" && enable_shared=no
11822
11823 # On AIX, shared libraries and static libraries use the same namespace, and
11824 # are all built from PIC.
11825 case $host_os in
11826 aix3*)
11827 test "$enable_shared" = yes && enable_static=no
11828 if test -n "$RANLIB"; then
11829 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11830 postinstall_cmds='$RANLIB $lib'
11831 fi
11832 ;;
11833
11834 aix[4-9]*)
11835 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11836 test "$enable_shared" = yes && enable_static=no
11837 fi
11838 ;;
11839 esac
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11841 $as_echo "$enable_shared" >&6; }
11842
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11844 $as_echo_n "checking whether to build static libraries... " >&6; }
11845 # Make sure either enable_shared or enable_static is yes.
11846 test "$enable_shared" = yes || enable_static=yes
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11848 $as_echo "$enable_static" >&6; }
11849
11850
11851
11852
11853 fi
11854 ac_ext=cpp
11855 ac_cpp='$CXXCPP $CPPFLAGS'
11856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11859
11860 CC="$lt_save_CC"
11861
11862
11863 ac_ext=cpp
11864 ac_cpp='$CXXCPP $CPPFLAGS'
11865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11868
11869 archive_cmds_need_lc_CXX=no
11870 allow_undefined_flag_CXX=
11871 always_export_symbols_CXX=no
11872 archive_expsym_cmds_CXX=
11873 compiler_needs_object_CXX=no
11874 export_dynamic_flag_spec_CXX=
11875 hardcode_direct_CXX=no
11876 hardcode_direct_absolute_CXX=no
11877 hardcode_libdir_flag_spec_CXX=
11878 hardcode_libdir_flag_spec_ld_CXX=
11879 hardcode_libdir_separator_CXX=
11880 hardcode_minus_L_CXX=no
11881 hardcode_shlibpath_var_CXX=unsupported
11882 hardcode_automatic_CXX=no
11883 inherit_rpath_CXX=no
11884 module_cmds_CXX=
11885 module_expsym_cmds_CXX=
11886 link_all_deplibs_CXX=unknown
11887 old_archive_cmds_CXX=$old_archive_cmds
11888 no_undefined_flag_CXX=
11889 whole_archive_flag_spec_CXX=
11890 enable_shared_with_static_runtimes_CXX=no
11891
11892 # Source file extension for C++ test sources.
11893 ac_ext=cpp
11894
11895 # Object file extension for compiled C++ test sources.
11896 objext=o
11897 objext_CXX=$objext
11898
11899 # No sense in running all these tests if we already determined that
11900 # the CXX compiler isn't working. Some variables (like enable_shared)
11901 # are currently assumed to apply to all compilers on this platform,
11902 # and will be corrupted by setting them based on a non-working compiler.
11903 if test "$_lt_caught_CXX_error" != yes; then
11904 # Code to be used in simple compile tests
11905 lt_simple_compile_test_code="int some_variable = 0;"
11906
11907 # Code to be used in simple link tests
11908 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11909
11910 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11911
11912
11913
11914
11915
11916
11917 # If no C compiler was specified, use CC.
11918 LTCC=${LTCC-"$CC"}
11919
11920 # If no C compiler flags were specified, use CFLAGS.
11921 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11922
11923 # Allow CC to be a program name with arguments.
11924 compiler=$CC
11925
11926
11927 # save warnings/boilerplate of simple test code
11928 ac_outfile=conftest.$ac_objext
11929 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11930 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11931 _lt_compiler_boilerplate=`cat conftest.err`
11932 $RM conftest*
11933
11934 ac_outfile=conftest.$ac_objext
11935 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11936 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11937 _lt_linker_boilerplate=`cat conftest.err`
11938 $RM -r conftest*
11939
11940
11941 # Allow CC to be a program name with arguments.
11942 lt_save_CC=$CC
11943 lt_save_LD=$LD
11944 lt_save_GCC=$GCC
11945 GCC=$GXX
11946 lt_save_with_gnu_ld=$with_gnu_ld
11947 lt_save_path_LD=$lt_cv_path_LD
11948 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11949 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11950 else
11951 $as_unset lt_cv_prog_gnu_ld
11952 fi
11953 if test -n "${lt_cv_path_LDCXX+set}"; then
11954 lt_cv_path_LD=$lt_cv_path_LDCXX
11955 else
11956 $as_unset lt_cv_path_LD
11957 fi
11958 test -z "${LDCXX+set}" || LD=$LDCXX
11959 CC=${CXX-"c++"}
11960 compiler=$CC
11961 compiler_CXX=$CC
11962 for cc_temp in $compiler""; do
11963 case $cc_temp in
11964 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11965 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11966 \-*) ;;
11967 *) break;;
11968 esac
11969 done
11970 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11971
11972
11973 if test -n "$compiler"; then
11974 # We don't want -fno-exception when compiling C++ code, so set the
11975 # no_builtin_flag separately
11976 if test "$GXX" = yes; then
11977 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11978 else
11979 lt_prog_compiler_no_builtin_flag_CXX=
11980 fi
11981
11982 if test "$GXX" = yes; then
11983 # Set up default GNU C++ configuration
11984
11985
11986
11987 @%:@ Check whether --with-gnu-ld was given.
11988 if test "${with_gnu_ld+set}" = set; then :
11989 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11990 else
11991 with_gnu_ld=no
11992 fi
11993
11994 ac_prog=ld
11995 if test "$GCC" = yes; then
11996 # Check if gcc -print-prog-name=ld gives a path.
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11998 $as_echo_n "checking for ld used by $CC... " >&6; }
11999 case $host in
12000 *-*-mingw*)
12001 # gcc leaves a trailing carriage return which upsets mingw
12002 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12003 *)
12004 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12005 esac
12006 case $ac_prog in
12007 # Accept absolute paths.
12008 [\\/]* | ?:[\\/]*)
12009 re_direlt='/[^/][^/]*/\.\./'
12010 # Canonicalize the pathname of ld
12011 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12012 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12013 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12014 done
12015 test -z "$LD" && LD="$ac_prog"
12016 ;;
12017 "")
12018 # If it fails, then pretend we aren't using GCC.
12019 ac_prog=ld
12020 ;;
12021 *)
12022 # If it is relative, then search for the first ld in PATH.
12023 with_gnu_ld=unknown
12024 ;;
12025 esac
12026 elif test "$with_gnu_ld" = yes; then
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12028 $as_echo_n "checking for GNU ld... " >&6; }
12029 else
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12031 $as_echo_n "checking for non-GNU ld... " >&6; }
12032 fi
12033 if ${lt_cv_path_LD+:} false; then :
12034 $as_echo_n "(cached) " >&6
12035 else
12036 if test -z "$LD"; then
12037 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12038 for ac_dir in $PATH; do
12039 IFS="$lt_save_ifs"
12040 test -z "$ac_dir" && ac_dir=.
12041 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12042 lt_cv_path_LD="$ac_dir/$ac_prog"
12043 # Check to see if the program is GNU ld. I'd rather use --version,
12044 # but apparently some variants of GNU ld only accept -v.
12045 # Break only if it was the GNU/non-GNU ld that we prefer.
12046 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12047 *GNU* | *'with BFD'*)
12048 test "$with_gnu_ld" != no && break
12049 ;;
12050 *)
12051 test "$with_gnu_ld" != yes && break
12052 ;;
12053 esac
12054 fi
12055 done
12056 IFS="$lt_save_ifs"
12057 else
12058 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12059 fi
12060 fi
12061
12062 LD="$lt_cv_path_LD"
12063 if test -n "$LD"; then
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12065 $as_echo "$LD" >&6; }
12066 else
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12068 $as_echo "no" >&6; }
12069 fi
12070 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12072 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12073 if ${lt_cv_prog_gnu_ld+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12077 case `$LD -v 2>&1 </dev/null` in
12078 *GNU* | *'with BFD'*)
12079 lt_cv_prog_gnu_ld=yes
12080 ;;
12081 *)
12082 lt_cv_prog_gnu_ld=no
12083 ;;
12084 esac
12085 fi
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12087 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12088 with_gnu_ld=$lt_cv_prog_gnu_ld
12089
12090
12091
12092
12093
12094
12095
12096 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12097 # archiving commands below assume that GNU ld is being used.
12098 if test "$with_gnu_ld" = yes; then
12099 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12100 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12101
12102 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12103 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12104
12105 # If archive_cmds runs LD, not CC, wlarc should be empty
12106 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12107 # investigate it a little bit more. (MM)
12108 wlarc='${wl}'
12109
12110 # ancient GNU ld didn't support --whole-archive et. al.
12111 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12112 $GREP 'no-whole-archive' > /dev/null; then
12113 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12114 else
12115 whole_archive_flag_spec_CXX=
12116 fi
12117 else
12118 with_gnu_ld=no
12119 wlarc=
12120
12121 # A generic and very simple default shared library creation
12122 # command for GNU C++ for the case where it uses the native
12123 # linker, instead of GNU ld. If possible, this setting should
12124 # overridden to take advantage of the native linker features on
12125 # the platform it is being used on.
12126 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12127 fi
12128
12129 # Commands to make compiler produce verbose output that lists
12130 # what "hidden" libraries, object files and flags are used when
12131 # linking a shared library.
12132 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12133
12134 else
12135 GXX=no
12136 with_gnu_ld=no
12137 wlarc=
12138 fi
12139
12140 # PORTME: fill in a description of your system's C++ link characteristics
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12142 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12143 ld_shlibs_CXX=yes
12144 case $host_os in
12145 aix3*)
12146 # FIXME: insert proper C++ library support
12147 ld_shlibs_CXX=no
12148 ;;
12149 aix[4-9]*)
12150 if test "$host_cpu" = ia64; then
12151 # On IA64, the linker does run time linking by default, so we don't
12152 # have to do anything special.
12153 aix_use_runtimelinking=no
12154 exp_sym_flag='-Bexport'
12155 no_entry_flag=""
12156 else
12157 aix_use_runtimelinking=no
12158
12159 # Test if we are trying to use run time linking or normal
12160 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12161 # need to do runtime linking.
12162 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12163 for ld_flag in $LDFLAGS; do
12164 case $ld_flag in
12165 *-brtl*)
12166 aix_use_runtimelinking=yes
12167 break
12168 ;;
12169 esac
12170 done
12171 ;;
12172 esac
12173
12174 exp_sym_flag='-bexport'
12175 no_entry_flag='-bnoentry'
12176 fi
12177
12178 # When large executables or shared objects are built, AIX ld can
12179 # have problems creating the table of contents. If linking a library
12180 # or program results in "error TOC overflow" add -mminimal-toc to
12181 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12182 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12183
12184 archive_cmds_CXX=''
12185 hardcode_direct_CXX=yes
12186 hardcode_direct_absolute_CXX=yes
12187 hardcode_libdir_separator_CXX=':'
12188 link_all_deplibs_CXX=yes
12189 file_list_spec_CXX='${wl}-f,'
12190
12191 if test "$GXX" = yes; then
12192 case $host_os in aix4.[012]|aix4.[012].*)
12193 # We only want to do this on AIX 4.2 and lower, the check
12194 # below for broken collect2 doesn't work under 4.3+
12195 collect2name=`${CC} -print-prog-name=collect2`
12196 if test -f "$collect2name" &&
12197 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12198 then
12199 # We have reworked collect2
12200 :
12201 else
12202 # We have old collect2
12203 hardcode_direct_CXX=unsupported
12204 # It fails to find uninstalled libraries when the uninstalled
12205 # path is not listed in the libpath. Setting hardcode_minus_L
12206 # to unsupported forces relinking
12207 hardcode_minus_L_CXX=yes
12208 hardcode_libdir_flag_spec_CXX='-L$libdir'
12209 hardcode_libdir_separator_CXX=
12210 fi
12211 esac
12212 shared_flag='-shared'
12213 if test "$aix_use_runtimelinking" = yes; then
12214 shared_flag="$shared_flag "'${wl}-G'
12215 fi
12216 else
12217 # not using gcc
12218 if test "$host_cpu" = ia64; then
12219 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12220 # chokes on -Wl,-G. The following line is correct:
12221 shared_flag='-G'
12222 else
12223 if test "$aix_use_runtimelinking" = yes; then
12224 shared_flag='${wl}-G'
12225 else
12226 shared_flag='${wl}-bM:SRE'
12227 fi
12228 fi
12229 fi
12230
12231 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12232 # It seems that -bexpall does not export symbols beginning with
12233 # underscore (_), so it is better to generate a list of symbols to
12234 # export.
12235 always_export_symbols_CXX=yes
12236 if test "$aix_use_runtimelinking" = yes; then
12237 # Warning - without using the other runtime loading flags (-brtl),
12238 # -berok will link without error, but may produce a broken library.
12239 allow_undefined_flag_CXX='-berok'
12240 # Determine the default libpath from the value encoded in an empty
12241 # executable.
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12244
12245 int
12246 main ()
12247 {
12248
12249 ;
12250 return 0;
12251 }
12252 _ACEOF
12253 if ac_fn_cxx_try_link "$LINENO"; then :
12254
12255 lt_aix_libpath_sed='
12256 /Import File Strings/,/^$/ {
12257 /^0/ {
12258 s/^0 *\(.*\)$/\1/
12259 p
12260 }
12261 }'
12262 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12263 # Check for a 64-bit object if we didn't find anything.
12264 if test -z "$aix_libpath"; then
12265 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12266 fi
12267 fi
12268 rm -f core conftest.err conftest.$ac_objext \
12269 conftest$ac_exeext conftest.$ac_ext
12270 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12271
12272 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12273
12274 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12275 else
12276 if test "$host_cpu" = ia64; then
12277 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12278 allow_undefined_flag_CXX="-z nodefs"
12279 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12280 else
12281 # Determine the default libpath from the value encoded in an
12282 # empty executable.
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12285
12286 int
12287 main ()
12288 {
12289
12290 ;
12291 return 0;
12292 }
12293 _ACEOF
12294 if ac_fn_cxx_try_link "$LINENO"; then :
12295
12296 lt_aix_libpath_sed='
12297 /Import File Strings/,/^$/ {
12298 /^0/ {
12299 s/^0 *\(.*\)$/\1/
12300 p
12301 }
12302 }'
12303 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12304 # Check for a 64-bit object if we didn't find anything.
12305 if test -z "$aix_libpath"; then
12306 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12307 fi
12308 fi
12309 rm -f core conftest.err conftest.$ac_objext \
12310 conftest$ac_exeext conftest.$ac_ext
12311 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12312
12313 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12314 # Warning - without using the other run time loading flags,
12315 # -berok will link without error, but may produce a broken library.
12316 no_undefined_flag_CXX=' ${wl}-bernotok'
12317 allow_undefined_flag_CXX=' ${wl}-berok'
12318 # Exported symbols can be pulled into shared objects from archives
12319 whole_archive_flag_spec_CXX='$convenience'
12320 archive_cmds_need_lc_CXX=yes
12321 # This is similar to how AIX traditionally builds its shared
12322 # libraries.
12323 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12324 fi
12325 fi
12326 ;;
12327
12328 beos*)
12329 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12330 allow_undefined_flag_CXX=unsupported
12331 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12332 # support --undefined. This deserves some investigation. FIXME
12333 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12334 else
12335 ld_shlibs_CXX=no
12336 fi
12337 ;;
12338
12339 chorus*)
12340 case $cc_basename in
12341 *)
12342 # FIXME: insert proper C++ library support
12343 ld_shlibs_CXX=no
12344 ;;
12345 esac
12346 ;;
12347
12348 cygwin* | mingw* | pw32* | cegcc*)
12349 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12350 # as there is no search path for DLLs.
12351 hardcode_libdir_flag_spec_CXX='-L$libdir'
12352 allow_undefined_flag_CXX=unsupported
12353 always_export_symbols_CXX=no
12354 enable_shared_with_static_runtimes_CXX=yes
12355
12356 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12357 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12358 # If the export-symbols file already is a .def file (1st line
12359 # is EXPORTS), use it as is; otherwise, prepend...
12360 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12361 cp $export_symbols $output_objdir/$soname.def;
12362 else
12363 echo EXPORTS > $output_objdir/$soname.def;
12364 cat $export_symbols >> $output_objdir/$soname.def;
12365 fi~
12366 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12367 else
12368 ld_shlibs_CXX=no
12369 fi
12370 ;;
12371 darwin* | rhapsody*)
12372
12373
12374 archive_cmds_need_lc_CXX=no
12375 hardcode_direct_CXX=no
12376 hardcode_automatic_CXX=yes
12377 hardcode_shlibpath_var_CXX=unsupported
12378 whole_archive_flag_spec_CXX=''
12379 link_all_deplibs_CXX=yes
12380 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12381 case $cc_basename in
12382 ifort*) _lt_dar_can_shared=yes ;;
12383 *) _lt_dar_can_shared=$GCC ;;
12384 esac
12385 if test "$_lt_dar_can_shared" = "yes"; then
12386 output_verbose_link_cmd=echo
12387 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12388 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12389 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12390 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12391 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12392 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12393 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12394 fi
12395
12396 else
12397 ld_shlibs_CXX=no
12398 fi
12399
12400 ;;
12401
12402 dgux*)
12403 case $cc_basename in
12404 ec++*)
12405 # FIXME: insert proper C++ library support
12406 ld_shlibs_CXX=no
12407 ;;
12408 ghcx*)
12409 # Green Hills C++ Compiler
12410 # FIXME: insert proper C++ library support
12411 ld_shlibs_CXX=no
12412 ;;
12413 *)
12414 # FIXME: insert proper C++ library support
12415 ld_shlibs_CXX=no
12416 ;;
12417 esac
12418 ;;
12419
12420 freebsd[12]*)
12421 # C++ shared libraries reported to be fairly broken before
12422 # switch to ELF
12423 ld_shlibs_CXX=no
12424 ;;
12425
12426 freebsd-elf*)
12427 archive_cmds_need_lc_CXX=no
12428 ;;
12429
12430 freebsd* | dragonfly*)
12431 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12432 # conventions
12433 ld_shlibs_CXX=yes
12434 ;;
12435
12436 gnu*)
12437 ;;
12438
12439 hpux9*)
12440 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12441 hardcode_libdir_separator_CXX=:
12442 export_dynamic_flag_spec_CXX='${wl}-E'
12443 hardcode_direct_CXX=yes
12444 hardcode_minus_L_CXX=yes # Not in the search PATH,
12445 # but as the default
12446 # location of the library.
12447
12448 case $cc_basename in
12449 CC*)
12450 # FIXME: insert proper C++ library support
12451 ld_shlibs_CXX=no
12452 ;;
12453 aCC*)
12454 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12455 # Commands to make compiler produce verbose output that lists
12456 # what "hidden" libraries, object files and flags are used when
12457 # linking a shared library.
12458 #
12459 # There doesn't appear to be a way to prevent this compiler from
12460 # explicitly linking system object files so we need to strip them
12461 # from the output so that they don't get included in the library
12462 # dependencies.
12463 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12464 ;;
12465 *)
12466 if test "$GXX" = yes; then
12467 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12468 else
12469 # FIXME: insert proper C++ library support
12470 ld_shlibs_CXX=no
12471 fi
12472 ;;
12473 esac
12474 ;;
12475
12476 hpux10*|hpux11*)
12477 if test $with_gnu_ld = no; then
12478 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12479 hardcode_libdir_separator_CXX=:
12480
12481 case $host_cpu in
12482 hppa*64*|ia64*)
12483 ;;
12484 *)
12485 export_dynamic_flag_spec_CXX='${wl}-E'
12486 ;;
12487 esac
12488 fi
12489 case $host_cpu in
12490 hppa*64*|ia64*)
12491 hardcode_direct_CXX=no
12492 hardcode_shlibpath_var_CXX=no
12493 ;;
12494 *)
12495 hardcode_direct_CXX=yes
12496 hardcode_direct_absolute_CXX=yes
12497 hardcode_minus_L_CXX=yes # Not in the search PATH,
12498 # but as the default
12499 # location of the library.
12500 ;;
12501 esac
12502
12503 case $cc_basename in
12504 CC*)
12505 # FIXME: insert proper C++ library support
12506 ld_shlibs_CXX=no
12507 ;;
12508 aCC*)
12509 case $host_cpu in
12510 hppa*64*)
12511 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12512 ;;
12513 ia64*)
12514 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12515 ;;
12516 *)
12517 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12518 ;;
12519 esac
12520 # Commands to make compiler produce verbose output that lists
12521 # what "hidden" libraries, object files and flags are used when
12522 # linking a shared library.
12523 #
12524 # There doesn't appear to be a way to prevent this compiler from
12525 # explicitly linking system object files so we need to strip them
12526 # from the output so that they don't get included in the library
12527 # dependencies.
12528 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12529 ;;
12530 *)
12531 if test "$GXX" = yes; then
12532 if test $with_gnu_ld = no; then
12533 case $host_cpu in
12534 hppa*64*)
12535 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12536 ;;
12537 ia64*)
12538 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12539 ;;
12540 *)
12541 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12542 ;;
12543 esac
12544 fi
12545 else
12546 # FIXME: insert proper C++ library support
12547 ld_shlibs_CXX=no
12548 fi
12549 ;;
12550 esac
12551 ;;
12552
12553 interix[3-9]*)
12554 hardcode_direct_CXX=no
12555 hardcode_shlibpath_var_CXX=no
12556 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12557 export_dynamic_flag_spec_CXX='${wl}-E'
12558 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12559 # Instead, shared libraries are loaded at an image base (0x10000000 by
12560 # default) and relocated if they conflict, which is a slow very memory
12561 # consuming and fragmenting process. To avoid this, we pick a random,
12562 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12563 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12564 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12565 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12566 ;;
12567 irix5* | irix6*)
12568 case $cc_basename in
12569 CC*)
12570 # SGI C++
12571 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12572
12573 # Archives containing C++ object files must be created using
12574 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12575 # necessary to make sure instantiated templates are included
12576 # in the archive.
12577 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12578 ;;
12579 *)
12580 if test "$GXX" = yes; then
12581 if test "$with_gnu_ld" = no; then
12582 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12583 else
12584 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12585 fi
12586 fi
12587 link_all_deplibs_CXX=yes
12588 ;;
12589 esac
12590 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12591 hardcode_libdir_separator_CXX=:
12592 inherit_rpath_CXX=yes
12593 ;;
12594
12595 linux* | k*bsd*-gnu)
12596 case $cc_basename in
12597 KCC*)
12598 # Kuck and Associates, Inc. (KAI) C++ Compiler
12599
12600 # KCC will only create a shared library if the output file
12601 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12602 # to its proper name (with version) after linking.
12603 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12604 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12605 # Commands to make compiler produce verbose output that lists
12606 # what "hidden" libraries, object files and flags are used when
12607 # linking a shared library.
12608 #
12609 # There doesn't appear to be a way to prevent this compiler from
12610 # explicitly linking system object files so we need to strip them
12611 # from the output so that they don't get included in the library
12612 # dependencies.
12613 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12614
12615 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12616 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12617
12618 # Archives containing C++ object files must be created using
12619 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12620 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12621 ;;
12622 icpc* | ecpc* )
12623 # Intel C++
12624 with_gnu_ld=yes
12625 # version 8.0 and above of icpc choke on multiply defined symbols
12626 # if we add $predep_objects and $postdep_objects, however 7.1 and
12627 # earlier do not add the objects themselves.
12628 case `$CC -V 2>&1` in
12629 *"Version 7."*)
12630 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12631 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12632 ;;
12633 *) # Version 8.0 or newer
12634 tmp_idyn=
12635 case $host_cpu in
12636 ia64*) tmp_idyn=' -i_dynamic';;
12637 esac
12638 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12639 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12640 ;;
12641 esac
12642 archive_cmds_need_lc_CXX=no
12643 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12644 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12645 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12646 ;;
12647 pgCC* | pgcpp*)
12648 # Portland Group C++ compiler
12649 case `$CC -V` in
12650 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12651 prelink_cmds_CXX='tpldir=Template.dir~
12652 rm -rf $tpldir~
12653 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12654 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12655 old_archive_cmds_CXX='tpldir=Template.dir~
12656 rm -rf $tpldir~
12657 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12658 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12659 $RANLIB $oldlib'
12660 archive_cmds_CXX='tpldir=Template.dir~
12661 rm -rf $tpldir~
12662 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12663 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12664 archive_expsym_cmds_CXX='tpldir=Template.dir~
12665 rm -rf $tpldir~
12666 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12667 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12668 ;;
12669 *) # Version 6 will use weak symbols
12670 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12671 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12672 ;;
12673 esac
12674
12675 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12676 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12677 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12678 ;;
12679 cxx*)
12680 # Compaq C++
12681 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12682 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12683
12684 runpath_var=LD_RUN_PATH
12685 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12686 hardcode_libdir_separator_CXX=:
12687
12688 # Commands to make compiler produce verbose output that lists
12689 # what "hidden" libraries, object files and flags are used when
12690 # linking a shared library.
12691 #
12692 # There doesn't appear to be a way to prevent this compiler from
12693 # explicitly linking system object files so we need to strip them
12694 # from the output so that they don't get included in the library
12695 # dependencies.
12696 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12697 ;;
12698 xl*)
12699 # IBM XL 8.0 on PPC, with GNU ld
12700 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12701 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12702 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12703 if test "x$supports_anon_versioning" = xyes; then
12704 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12705 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12706 echo "local: *; };" >> $output_objdir/$libname.ver~
12707 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12708 fi
12709 ;;
12710 *)
12711 case `$CC -V 2>&1 | sed 5q` in
12712 *Sun\ C*)
12713 # Sun C++ 5.9
12714 no_undefined_flag_CXX=' -zdefs'
12715 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12716 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12717 hardcode_libdir_flag_spec_CXX='-R$libdir'
12718 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12719 compiler_needs_object_CXX=yes
12720
12721 # Not sure whether something based on
12722 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12723 # would be better.
12724 output_verbose_link_cmd='echo'
12725
12726 # Archives containing C++ object files must be created using
12727 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12728 # necessary to make sure instantiated templates are included
12729 # in the archive.
12730 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12731 ;;
12732 esac
12733 ;;
12734 esac
12735 ;;
12736
12737 lynxos*)
12738 # FIXME: insert proper C++ library support
12739 ld_shlibs_CXX=no
12740 ;;
12741
12742 m88k*)
12743 # FIXME: insert proper C++ library support
12744 ld_shlibs_CXX=no
12745 ;;
12746
12747 mvs*)
12748 case $cc_basename in
12749 cxx*)
12750 # FIXME: insert proper C++ library support
12751 ld_shlibs_CXX=no
12752 ;;
12753 *)
12754 # FIXME: insert proper C++ library support
12755 ld_shlibs_CXX=no
12756 ;;
12757 esac
12758 ;;
12759
12760 netbsd*)
12761 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12762 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12763 wlarc=
12764 hardcode_libdir_flag_spec_CXX='-R$libdir'
12765 hardcode_direct_CXX=yes
12766 hardcode_shlibpath_var_CXX=no
12767 fi
12768 # Workaround some broken pre-1.5 toolchains
12769 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12770 ;;
12771
12772 *nto* | *qnx*)
12773 ld_shlibs_CXX=yes
12774 ;;
12775
12776 openbsd2*)
12777 # C++ shared libraries are fairly broken
12778 ld_shlibs_CXX=no
12779 ;;
12780
12781 openbsd*)
12782 if test -f /usr/libexec/ld.so; then
12783 hardcode_direct_CXX=yes
12784 hardcode_shlibpath_var_CXX=no
12785 hardcode_direct_absolute_CXX=yes
12786 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12787 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12788 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12789 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12790 export_dynamic_flag_spec_CXX='${wl}-E'
12791 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12792 fi
12793 output_verbose_link_cmd=echo
12794 else
12795 ld_shlibs_CXX=no
12796 fi
12797 ;;
12798
12799 osf3* | osf4* | osf5*)
12800 case $cc_basename in
12801 KCC*)
12802 # Kuck and Associates, Inc. (KAI) C++ Compiler
12803
12804 # KCC will only create a shared library if the output file
12805 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12806 # to its proper name (with version) after linking.
12807 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12808
12809 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12810 hardcode_libdir_separator_CXX=:
12811
12812 # Archives containing C++ object files must be created using
12813 # the KAI C++ compiler.
12814 case $host in
12815 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12816 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12817 esac
12818 ;;
12819 RCC*)
12820 # Rational C++ 2.4.1
12821 # FIXME: insert proper C++ library support
12822 ld_shlibs_CXX=no
12823 ;;
12824 cxx*)
12825 case $host in
12826 osf3*)
12827 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12828 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12829 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12830 ;;
12831 *)
12832 allow_undefined_flag_CXX=' -expect_unresolved \*'
12833 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12834 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12835 echo "-hidden">> $lib.exp~
12836 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
12837 $RM $lib.exp'
12838 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12839 ;;
12840 esac
12841
12842 hardcode_libdir_separator_CXX=:
12843
12844 # Commands to make compiler produce verbose output that lists
12845 # what "hidden" libraries, object files and flags are used when
12846 # linking a shared library.
12847 #
12848 # There doesn't appear to be a way to prevent this compiler from
12849 # explicitly linking system object files so we need to strip them
12850 # from the output so that they don't get included in the library
12851 # dependencies.
12852 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12853 ;;
12854 *)
12855 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12856 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12857 case $host in
12858 osf3*)
12859 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12860 ;;
12861 *)
12862 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12863 ;;
12864 esac
12865
12866 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12867 hardcode_libdir_separator_CXX=:
12868
12869 # Commands to make compiler produce verbose output that lists
12870 # what "hidden" libraries, object files and flags are used when
12871 # linking a shared library.
12872 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12873
12874 else
12875 # FIXME: insert proper C++ library support
12876 ld_shlibs_CXX=no
12877 fi
12878 ;;
12879 esac
12880 ;;
12881
12882 psos*)
12883 # FIXME: insert proper C++ library support
12884 ld_shlibs_CXX=no
12885 ;;
12886
12887 sunos4*)
12888 case $cc_basename in
12889 CC*)
12890 # Sun C++ 4.x
12891 # FIXME: insert proper C++ library support
12892 ld_shlibs_CXX=no
12893 ;;
12894 lcc*)
12895 # Lucid
12896 # FIXME: insert proper C++ library support
12897 ld_shlibs_CXX=no
12898 ;;
12899 *)
12900 # FIXME: insert proper C++ library support
12901 ld_shlibs_CXX=no
12902 ;;
12903 esac
12904 ;;
12905
12906 solaris*)
12907 case $cc_basename in
12908 CC*)
12909 # Sun C++ 4.2, 5.x and Centerline C++
12910 archive_cmds_need_lc_CXX=yes
12911 no_undefined_flag_CXX=' -zdefs'
12912 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12913 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12914 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12915
12916 hardcode_libdir_flag_spec_CXX='-R$libdir'
12917 hardcode_shlibpath_var_CXX=no
12918 case $host_os in
12919 solaris2.[0-5] | solaris2.[0-5].*) ;;
12920 *)
12921 # The compiler driver will combine and reorder linker options,
12922 # but understands `-z linker_flag'.
12923 # Supported since Solaris 2.6 (maybe 2.5.1?)
12924 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12925 ;;
12926 esac
12927 link_all_deplibs_CXX=yes
12928
12929 output_verbose_link_cmd='echo'
12930
12931 # Archives containing C++ object files must be created using
12932 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12933 # necessary to make sure instantiated templates are included
12934 # in the archive.
12935 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12936 ;;
12937 gcx*)
12938 # Green Hills C++ Compiler
12939 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12940
12941 # The C++ compiler must be used to create the archive.
12942 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12943 ;;
12944 *)
12945 # GNU C++ compiler with Solaris linker
12946 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12947 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12948 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12949 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12950 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12951 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12952
12953 # Commands to make compiler produce verbose output that lists
12954 # what "hidden" libraries, object files and flags are used when
12955 # linking a shared library.
12956 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12957 else
12958 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12959 # platform.
12960 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12961 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12962 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12963
12964 # Commands to make compiler produce verbose output that lists
12965 # what "hidden" libraries, object files and flags are used when
12966 # linking a shared library.
12967 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12968 fi
12969
12970 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12971 case $host_os in
12972 solaris2.[0-5] | solaris2.[0-5].*) ;;
12973 *)
12974 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12975 ;;
12976 esac
12977 fi
12978 ;;
12979 esac
12980 ;;
12981
12982 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12983 no_undefined_flag_CXX='${wl}-z,text'
12984 archive_cmds_need_lc_CXX=no
12985 hardcode_shlibpath_var_CXX=no
12986 runpath_var='LD_RUN_PATH'
12987
12988 case $cc_basename in
12989 CC*)
12990 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12991 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12992 ;;
12993 *)
12994 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12995 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12996 ;;
12997 esac
12998 ;;
12999
13000 sysv5* | sco3.2v5* | sco5v6*)
13001 # Note: We can NOT use -z defs as we might desire, because we do not
13002 # link with -lc, and that would cause any symbols used from libc to
13003 # always be unresolved, which means just about no library would
13004 # ever link correctly. If we're not using GNU ld we use -z text
13005 # though, which does catch some bad symbols but isn't as heavy-handed
13006 # as -z defs.
13007 no_undefined_flag_CXX='${wl}-z,text'
13008 allow_undefined_flag_CXX='${wl}-z,nodefs'
13009 archive_cmds_need_lc_CXX=no
13010 hardcode_shlibpath_var_CXX=no
13011 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13012 hardcode_libdir_separator_CXX=':'
13013 link_all_deplibs_CXX=yes
13014 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13015 runpath_var='LD_RUN_PATH'
13016
13017 case $cc_basename in
13018 CC*)
13019 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13020 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13021 ;;
13022 *)
13023 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13024 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13025 ;;
13026 esac
13027 ;;
13028
13029 tandem*)
13030 case $cc_basename in
13031 NCC*)
13032 # NonStop-UX NCC 3.20
13033 # FIXME: insert proper C++ library support
13034 ld_shlibs_CXX=no
13035 ;;
13036 *)
13037 # FIXME: insert proper C++ library support
13038 ld_shlibs_CXX=no
13039 ;;
13040 esac
13041 ;;
13042
13043 vxworks*)
13044 # FIXME: insert proper C++ library support
13045 ld_shlibs_CXX=no
13046 ;;
13047
13048 *)
13049 # FIXME: insert proper C++ library support
13050 ld_shlibs_CXX=no
13051 ;;
13052 esac
13053
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13055 $as_echo "$ld_shlibs_CXX" >&6; }
13056 test "$ld_shlibs_CXX" = no && can_build_shared=no
13057
13058 GCC_CXX="$GXX"
13059 LD_CXX="$LD"
13060
13061 ## CAVEAT EMPTOR:
13062 ## There is no encapsulation within the following macros, do not change
13063 ## the running order or otherwise move them around unless you know exactly
13064 ## what you are doing...
13065 # Dependencies to place before and after the object being linked:
13066 predep_objects_CXX=
13067 postdep_objects_CXX=
13068 predeps_CXX=
13069 postdeps_CXX=
13070 compiler_lib_search_path_CXX=
13071
13072 cat > conftest.$ac_ext <<_LT_EOF
13073 class Foo
13074 {
13075 public:
13076 Foo (void) { a = 0; }
13077 private:
13078 int a;
13079 };
13080 _LT_EOF
13081
13082 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13083 (eval $ac_compile) 2>&5
13084 ac_status=$?
13085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13086 test $ac_status = 0; }; then
13087 # Parse the compiler output and extract the necessary
13088 # objects, libraries and library flags.
13089
13090 # Sentinel used to keep track of whether or not we are before
13091 # the conftest object file.
13092 pre_test_object_deps_done=no
13093
13094 for p in `eval "$output_verbose_link_cmd"`; do
13095 case $p in
13096
13097 -L* | -R* | -l*)
13098 # Some compilers place space between "-{L,R}" and the path.
13099 # Remove the space.
13100 if test $p = "-L" ||
13101 test $p = "-R"; then
13102 prev=$p
13103 continue
13104 else
13105 prev=
13106 fi
13107
13108 if test "$pre_test_object_deps_done" = no; then
13109 case $p in
13110 -L* | -R*)
13111 # Internal compiler library paths should come after those
13112 # provided the user. The postdeps already come after the
13113 # user supplied libs so there is no need to process them.
13114 if test -z "$compiler_lib_search_path_CXX"; then
13115 compiler_lib_search_path_CXX="${prev}${p}"
13116 else
13117 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13118 fi
13119 ;;
13120 # The "-l" case would never come before the object being
13121 # linked, so don't bother handling this case.
13122 esac
13123 else
13124 if test -z "$postdeps_CXX"; then
13125 postdeps_CXX="${prev}${p}"
13126 else
13127 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13128 fi
13129 fi
13130 ;;
13131
13132 *.$objext)
13133 # This assumes that the test object file only shows up
13134 # once in the compiler output.
13135 if test "$p" = "conftest.$objext"; then
13136 pre_test_object_deps_done=yes
13137 continue
13138 fi
13139
13140 if test "$pre_test_object_deps_done" = no; then
13141 if test -z "$predep_objects_CXX"; then
13142 predep_objects_CXX="$p"
13143 else
13144 predep_objects_CXX="$predep_objects_CXX $p"
13145 fi
13146 else
13147 if test -z "$postdep_objects_CXX"; then
13148 postdep_objects_CXX="$p"
13149 else
13150 postdep_objects_CXX="$postdep_objects_CXX $p"
13151 fi
13152 fi
13153 ;;
13154
13155 *) ;; # Ignore the rest.
13156
13157 esac
13158 done
13159
13160 # Clean up.
13161 rm -f a.out a.exe
13162 else
13163 echo "libtool.m4: error: problem compiling CXX test program"
13164 fi
13165
13166 $RM -f confest.$objext
13167
13168 # PORTME: override above test on systems where it is broken
13169 case $host_os in
13170 interix[3-9]*)
13171 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13172 # hack all around it, let's just trust "g++" to DTRT.
13173 predep_objects_CXX=
13174 postdep_objects_CXX=
13175 postdeps_CXX=
13176 ;;
13177
13178 linux*)
13179 case `$CC -V 2>&1 | sed 5q` in
13180 *Sun\ C*)
13181 # Sun C++ 5.9
13182
13183 # The more standards-conforming stlport4 library is
13184 # incompatible with the Cstd library. Avoid specifying
13185 # it if it's in CXXFLAGS. Ignore libCrun as
13186 # -library=stlport4 depends on it.
13187 case " $CXX $CXXFLAGS " in
13188 *" -library=stlport4 "*)
13189 solaris_use_stlport4=yes
13190 ;;
13191 esac
13192
13193 if test "$solaris_use_stlport4" != yes; then
13194 postdeps_CXX='-library=Cstd -library=Crun'
13195 fi
13196 ;;
13197 esac
13198 ;;
13199
13200 solaris*)
13201 case $cc_basename in
13202 CC*)
13203 # The more standards-conforming stlport4 library is
13204 # incompatible with the Cstd library. Avoid specifying
13205 # it if it's in CXXFLAGS. Ignore libCrun as
13206 # -library=stlport4 depends on it.
13207 case " $CXX $CXXFLAGS " in
13208 *" -library=stlport4 "*)
13209 solaris_use_stlport4=yes
13210 ;;
13211 esac
13212
13213 # Adding this requires a known-good setup of shared libraries for
13214 # Sun compiler versions before 5.6, else PIC objects from an old
13215 # archive will be linked into the output, leading to subtle bugs.
13216 if test "$solaris_use_stlport4" != yes; then
13217 postdeps_CXX='-library=Cstd -library=Crun'
13218 fi
13219 ;;
13220 esac
13221 ;;
13222 esac
13223
13224
13225 case " $postdeps_CXX " in
13226 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13227 esac
13228 compiler_lib_search_dirs_CXX=
13229 if test -n "${compiler_lib_search_path_CXX}"; then
13230 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13231 fi
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263 lt_prog_compiler_wl_CXX=
13264 lt_prog_compiler_pic_CXX=
13265 lt_prog_compiler_static_CXX=
13266
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13268 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13269
13270 # C++ specific cases for pic, static, wl, etc.
13271 if test "$GXX" = yes; then
13272 lt_prog_compiler_wl_CXX='-Wl,'
13273 lt_prog_compiler_static_CXX='-static'
13274
13275 case $host_os in
13276 aix*)
13277 # All AIX code is PIC.
13278 if test "$host_cpu" = ia64; then
13279 # AIX 5 now supports IA64 processor
13280 lt_prog_compiler_static_CXX='-Bstatic'
13281 fi
13282 ;;
13283
13284 amigaos*)
13285 case $host_cpu in
13286 powerpc)
13287 # see comment about AmigaOS4 .so support
13288 lt_prog_compiler_pic_CXX='-fPIC'
13289 ;;
13290 m68k)
13291 # FIXME: we need at least 68020 code to build shared libraries, but
13292 # adding the `-m68020' flag to GCC prevents building anything better,
13293 # like `-m68040'.
13294 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13295 ;;
13296 esac
13297 ;;
13298
13299 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13300 # PIC is the default for these OSes.
13301 ;;
13302 mingw* | cygwin* | os2* | pw32* | cegcc*)
13303 # This hack is so that the source file can tell whether it is being
13304 # built for inclusion in a dll (and should export symbols for example).
13305 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13306 # (--disable-auto-import) libraries
13307 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13308 ;;
13309 darwin* | rhapsody*)
13310 # PIC is the default on this platform
13311 # Common symbols not allowed in MH_DYLIB files
13312 lt_prog_compiler_pic_CXX='-fno-common'
13313 ;;
13314 *djgpp*)
13315 # DJGPP does not support shared libraries at all
13316 lt_prog_compiler_pic_CXX=
13317 ;;
13318 interix[3-9]*)
13319 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13320 # Instead, we relocate shared libraries at runtime.
13321 ;;
13322 sysv4*MP*)
13323 if test -d /usr/nec; then
13324 lt_prog_compiler_pic_CXX=-Kconform_pic
13325 fi
13326 ;;
13327 hpux*)
13328 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13329 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13330 # sets the default TLS model and affects inlining.
13331 case $host_cpu in
13332 hppa*64*)
13333 ;;
13334 *)
13335 lt_prog_compiler_pic_CXX='-fPIC'
13336 ;;
13337 esac
13338 ;;
13339 *qnx* | *nto*)
13340 # QNX uses GNU C++, but need to define -shared option too, otherwise
13341 # it will coredump.
13342 lt_prog_compiler_pic_CXX='-fPIC -shared'
13343 ;;
13344 *)
13345 lt_prog_compiler_pic_CXX='-fPIC'
13346 ;;
13347 esac
13348 else
13349 case $host_os in
13350 aix[4-9]*)
13351 # All AIX code is PIC.
13352 if test "$host_cpu" = ia64; then
13353 # AIX 5 now supports IA64 processor
13354 lt_prog_compiler_static_CXX='-Bstatic'
13355 else
13356 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13357 fi
13358 ;;
13359 chorus*)
13360 case $cc_basename in
13361 cxch68*)
13362 # Green Hills C++ Compiler
13363 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13364 ;;
13365 esac
13366 ;;
13367 dgux*)
13368 case $cc_basename in
13369 ec++*)
13370 lt_prog_compiler_pic_CXX='-KPIC'
13371 ;;
13372 ghcx*)
13373 # Green Hills C++ Compiler
13374 lt_prog_compiler_pic_CXX='-pic'
13375 ;;
13376 *)
13377 ;;
13378 esac
13379 ;;
13380 freebsd* | dragonfly*)
13381 # FreeBSD uses GNU C++
13382 ;;
13383 hpux9* | hpux10* | hpux11*)
13384 case $cc_basename in
13385 CC*)
13386 lt_prog_compiler_wl_CXX='-Wl,'
13387 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13388 if test "$host_cpu" != ia64; then
13389 lt_prog_compiler_pic_CXX='+Z'
13390 fi
13391 ;;
13392 aCC*)
13393 lt_prog_compiler_wl_CXX='-Wl,'
13394 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13395 case $host_cpu in
13396 hppa*64*|ia64*)
13397 # +Z the default
13398 ;;
13399 *)
13400 lt_prog_compiler_pic_CXX='+Z'
13401 ;;
13402 esac
13403 ;;
13404 *)
13405 ;;
13406 esac
13407 ;;
13408 interix*)
13409 # This is c89, which is MS Visual C++ (no shared libs)
13410 # Anyone wants to do a port?
13411 ;;
13412 irix5* | irix6* | nonstopux*)
13413 case $cc_basename in
13414 CC*)
13415 lt_prog_compiler_wl_CXX='-Wl,'
13416 lt_prog_compiler_static_CXX='-non_shared'
13417 # CC pic flag -KPIC is the default.
13418 ;;
13419 *)
13420 ;;
13421 esac
13422 ;;
13423 linux* | k*bsd*-gnu)
13424 case $cc_basename in
13425 KCC*)
13426 # KAI C++ Compiler
13427 lt_prog_compiler_wl_CXX='--backend -Wl,'
13428 lt_prog_compiler_pic_CXX='-fPIC'
13429 ;;
13430 ecpc* )
13431 # old Intel C++ for x86_64 which still supported -KPIC.
13432 lt_prog_compiler_wl_CXX='-Wl,'
13433 lt_prog_compiler_pic_CXX='-KPIC'
13434 lt_prog_compiler_static_CXX='-static'
13435 ;;
13436 icpc* )
13437 # Intel C++, used to be incompatible with GCC.
13438 # ICC 10 doesn't accept -KPIC any more.
13439 lt_prog_compiler_wl_CXX='-Wl,'
13440 lt_prog_compiler_pic_CXX='-fPIC'
13441 lt_prog_compiler_static_CXX='-static'
13442 ;;
13443 pgCC* | pgcpp*)
13444 # Portland Group C++ compiler
13445 lt_prog_compiler_wl_CXX='-Wl,'
13446 lt_prog_compiler_pic_CXX='-fpic'
13447 lt_prog_compiler_static_CXX='-Bstatic'
13448 ;;
13449 cxx*)
13450 # Compaq C++
13451 # Make sure the PIC flag is empty. It appears that all Alpha
13452 # Linux and Compaq Tru64 Unix objects are PIC.
13453 lt_prog_compiler_pic_CXX=
13454 lt_prog_compiler_static_CXX='-non_shared'
13455 ;;
13456 xlc* | xlC*)
13457 # IBM XL 8.0 on PPC
13458 lt_prog_compiler_wl_CXX='-Wl,'
13459 lt_prog_compiler_pic_CXX='-qpic'
13460 lt_prog_compiler_static_CXX='-qstaticlink'
13461 ;;
13462 *)
13463 case `$CC -V 2>&1 | sed 5q` in
13464 *Sun\ C*)
13465 # Sun C++ 5.9
13466 lt_prog_compiler_pic_CXX='-KPIC'
13467 lt_prog_compiler_static_CXX='-Bstatic'
13468 lt_prog_compiler_wl_CXX='-Qoption ld '
13469 ;;
13470 esac
13471 ;;
13472 esac
13473 ;;
13474 lynxos*)
13475 ;;
13476 m88k*)
13477 ;;
13478 mvs*)
13479 case $cc_basename in
13480 cxx*)
13481 lt_prog_compiler_pic_CXX='-W c,exportall'
13482 ;;
13483 *)
13484 ;;
13485 esac
13486 ;;
13487 netbsd*)
13488 ;;
13489 *qnx* | *nto*)
13490 # QNX uses GNU C++, but need to define -shared option too, otherwise
13491 # it will coredump.
13492 lt_prog_compiler_pic_CXX='-fPIC -shared'
13493 ;;
13494 osf3* | osf4* | osf5*)
13495 case $cc_basename in
13496 KCC*)
13497 lt_prog_compiler_wl_CXX='--backend -Wl,'
13498 ;;
13499 RCC*)
13500 # Rational C++ 2.4.1
13501 lt_prog_compiler_pic_CXX='-pic'
13502 ;;
13503 cxx*)
13504 # Digital/Compaq C++
13505 lt_prog_compiler_wl_CXX='-Wl,'
13506 # Make sure the PIC flag is empty. It appears that all Alpha
13507 # Linux and Compaq Tru64 Unix objects are PIC.
13508 lt_prog_compiler_pic_CXX=
13509 lt_prog_compiler_static_CXX='-non_shared'
13510 ;;
13511 *)
13512 ;;
13513 esac
13514 ;;
13515 psos*)
13516 ;;
13517 solaris*)
13518 case $cc_basename in
13519 CC*)
13520 # Sun C++ 4.2, 5.x and Centerline C++
13521 lt_prog_compiler_pic_CXX='-KPIC'
13522 lt_prog_compiler_static_CXX='-Bstatic'
13523 lt_prog_compiler_wl_CXX='-Qoption ld '
13524 ;;
13525 gcx*)
13526 # Green Hills C++ Compiler
13527 lt_prog_compiler_pic_CXX='-PIC'
13528 ;;
13529 *)
13530 ;;
13531 esac
13532 ;;
13533 sunos4*)
13534 case $cc_basename in
13535 CC*)
13536 # Sun C++ 4.x
13537 lt_prog_compiler_pic_CXX='-pic'
13538 lt_prog_compiler_static_CXX='-Bstatic'
13539 ;;
13540 lcc*)
13541 # Lucid
13542 lt_prog_compiler_pic_CXX='-pic'
13543 ;;
13544 *)
13545 ;;
13546 esac
13547 ;;
13548 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13549 case $cc_basename in
13550 CC*)
13551 lt_prog_compiler_wl_CXX='-Wl,'
13552 lt_prog_compiler_pic_CXX='-KPIC'
13553 lt_prog_compiler_static_CXX='-Bstatic'
13554 ;;
13555 esac
13556 ;;
13557 tandem*)
13558 case $cc_basename in
13559 NCC*)
13560 # NonStop-UX NCC 3.20
13561 lt_prog_compiler_pic_CXX='-KPIC'
13562 ;;
13563 *)
13564 ;;
13565 esac
13566 ;;
13567 vxworks*)
13568 ;;
13569 *)
13570 lt_prog_compiler_can_build_shared_CXX=no
13571 ;;
13572 esac
13573 fi
13574
13575 case $host_os in
13576 # For platforms which do not support PIC, -DPIC is meaningless:
13577 *djgpp*)
13578 lt_prog_compiler_pic_CXX=
13579 ;;
13580 *)
13581 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13582 ;;
13583 esac
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13585 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13586
13587
13588
13589 #
13590 # Check to make sure the PIC flag actually works.
13591 #
13592 if test -n "$lt_prog_compiler_pic_CXX"; then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13594 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13595 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13596 $as_echo_n "(cached) " >&6
13597 else
13598 lt_cv_prog_compiler_pic_works_CXX=no
13599 ac_outfile=conftest.$ac_objext
13600 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13601 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13602 # Insert the option either (1) after the last *FLAGS variable, or
13603 # (2) before a word containing "conftest.", or (3) at the end.
13604 # Note that $ac_compile itself does not contain backslashes and begins
13605 # with a dollar sign (not a hyphen), so the echo should work correctly.
13606 # The option is referenced via a variable to avoid confusing sed.
13607 lt_compile=`echo "$ac_compile" | $SED \
13608 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13609 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13610 -e 's:$: $lt_compiler_flag:'`
13611 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13612 (eval "$lt_compile" 2>conftest.err)
13613 ac_status=$?
13614 cat conftest.err >&5
13615 echo "$as_me:__oline__: \$? = $ac_status" >&5
13616 if (exit $ac_status) && test -s "$ac_outfile"; then
13617 # The compiler can only warn and ignore the option if not recognized
13618 # So say no if there are warnings other than the usual output.
13619 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13620 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13621 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13622 lt_cv_prog_compiler_pic_works_CXX=yes
13623 fi
13624 fi
13625 $RM conftest*
13626
13627 fi
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13629 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13630
13631 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13632 case $lt_prog_compiler_pic_CXX in
13633 "" | " "*) ;;
13634 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13635 esac
13636 else
13637 lt_prog_compiler_pic_CXX=
13638 lt_prog_compiler_can_build_shared_CXX=no
13639 fi
13640
13641 fi
13642
13643
13644
13645 #
13646 # Check to make sure the static flag actually works.
13647 #
13648 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13650 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13651 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13652 $as_echo_n "(cached) " >&6
13653 else
13654 lt_cv_prog_compiler_static_works_CXX=no
13655 save_LDFLAGS="$LDFLAGS"
13656 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13657 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13658 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13659 # The linker can only warn and ignore the option if not recognized
13660 # So say no if there are warnings
13661 if test -s conftest.err; then
13662 # Append any errors to the config.log.
13663 cat conftest.err 1>&5
13664 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13665 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13666 if diff conftest.exp conftest.er2 >/dev/null; then
13667 lt_cv_prog_compiler_static_works_CXX=yes
13668 fi
13669 else
13670 lt_cv_prog_compiler_static_works_CXX=yes
13671 fi
13672 fi
13673 $RM -r conftest*
13674 LDFLAGS="$save_LDFLAGS"
13675
13676 fi
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13678 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13679
13680 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13681 :
13682 else
13683 lt_prog_compiler_static_CXX=
13684 fi
13685
13686
13687
13688
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13690 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13691 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13692 $as_echo_n "(cached) " >&6
13693 else
13694 lt_cv_prog_compiler_c_o_CXX=no
13695 $RM -r conftest 2>/dev/null
13696 mkdir conftest
13697 cd conftest
13698 mkdir out
13699 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13700
13701 lt_compiler_flag="-o out/conftest2.$ac_objext"
13702 # Insert the option either (1) after the last *FLAGS variable, or
13703 # (2) before a word containing "conftest.", or (3) at the end.
13704 # Note that $ac_compile itself does not contain backslashes and begins
13705 # with a dollar sign (not a hyphen), so the echo should work correctly.
13706 lt_compile=`echo "$ac_compile" | $SED \
13707 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13708 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13709 -e 's:$: $lt_compiler_flag:'`
13710 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13711 (eval "$lt_compile" 2>out/conftest.err)
13712 ac_status=$?
13713 cat out/conftest.err >&5
13714 echo "$as_me:__oline__: \$? = $ac_status" >&5
13715 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13716 then
13717 # The compiler can only warn and ignore the option if not recognized
13718 # So say no if there are warnings
13719 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13720 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13721 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13722 lt_cv_prog_compiler_c_o_CXX=yes
13723 fi
13724 fi
13725 chmod u+w . 2>&5
13726 $RM conftest*
13727 # SGI C++ compiler will create directory out/ii_files/ for
13728 # template instantiation
13729 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13730 $RM out/* && rmdir out
13731 cd ..
13732 $RM -r conftest
13733 $RM conftest*
13734
13735 fi
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13737 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13738
13739
13740
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13742 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13743 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 lt_cv_prog_compiler_c_o_CXX=no
13747 $RM -r conftest 2>/dev/null
13748 mkdir conftest
13749 cd conftest
13750 mkdir out
13751 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13752
13753 lt_compiler_flag="-o out/conftest2.$ac_objext"
13754 # Insert the option either (1) after the last *FLAGS variable, or
13755 # (2) before a word containing "conftest.", or (3) at the end.
13756 # Note that $ac_compile itself does not contain backslashes and begins
13757 # with a dollar sign (not a hyphen), so the echo should work correctly.
13758 lt_compile=`echo "$ac_compile" | $SED \
13759 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13760 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13761 -e 's:$: $lt_compiler_flag:'`
13762 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13763 (eval "$lt_compile" 2>out/conftest.err)
13764 ac_status=$?
13765 cat out/conftest.err >&5
13766 echo "$as_me:__oline__: \$? = $ac_status" >&5
13767 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13768 then
13769 # The compiler can only warn and ignore the option if not recognized
13770 # So say no if there are warnings
13771 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13772 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13773 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13774 lt_cv_prog_compiler_c_o_CXX=yes
13775 fi
13776 fi
13777 chmod u+w . 2>&5
13778 $RM conftest*
13779 # SGI C++ compiler will create directory out/ii_files/ for
13780 # template instantiation
13781 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13782 $RM out/* && rmdir out
13783 cd ..
13784 $RM -r conftest
13785 $RM conftest*
13786
13787 fi
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13789 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13790
13791
13792
13793
13794 hard_links="nottested"
13795 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13796 # do not overwrite the value of need_locks provided by the user
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13798 $as_echo_n "checking if we can lock with hard links... " >&6; }
13799 hard_links=yes
13800 $RM conftest*
13801 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13802 touch conftest.a
13803 ln conftest.a conftest.b 2>&5 || hard_links=no
13804 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13806 $as_echo "$hard_links" >&6; }
13807 if test "$hard_links" = no; then
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13809 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13810 need_locks=warn
13811 fi
13812 else
13813 need_locks=no
13814 fi
13815
13816
13817
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13819 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13820
13821 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13822 case $host_os in
13823 aix[4-9]*)
13824 # If we're using GNU nm, then we don't want the "-C" option.
13825 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13826 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13827 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13828 else
13829 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13830 fi
13831 ;;
13832 pw32*)
13833 export_symbols_cmds_CXX="$ltdll_cmds"
13834 ;;
13835 cygwin* | mingw* | cegcc*)
13836 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13837 ;;
13838 *)
13839 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13840 ;;
13841 esac
13842 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13843
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13845 $as_echo "$ld_shlibs_CXX" >&6; }
13846 test "$ld_shlibs_CXX" = no && can_build_shared=no
13847
13848 with_gnu_ld_CXX=$with_gnu_ld
13849
13850
13851
13852
13853
13854
13855 #
13856 # Do we need to explicitly link libc?
13857 #
13858 case "x$archive_cmds_need_lc_CXX" in
13859 x|xyes)
13860 # Assume -lc should be added
13861 archive_cmds_need_lc_CXX=yes
13862
13863 if test "$enable_shared" = yes && test "$GCC" = yes; then
13864 case $archive_cmds_CXX in
13865 *'~'*)
13866 # FIXME: we may have to deal with multi-command sequences.
13867 ;;
13868 '$CC '*)
13869 # Test whether the compiler implicitly links with -lc since on some
13870 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13871 # to ld, don't add -lc before -lgcc.
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13873 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13874 $RM conftest*
13875 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13876
13877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13878 (eval $ac_compile) 2>&5
13879 ac_status=$?
13880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13881 test $ac_status = 0; } 2>conftest.err; then
13882 soname=conftest
13883 lib=conftest
13884 libobjs=conftest.$ac_objext
13885 deplibs=
13886 wl=$lt_prog_compiler_wl_CXX
13887 pic_flag=$lt_prog_compiler_pic_CXX
13888 compiler_flags=-v
13889 linker_flags=-v
13890 verstring=
13891 output_objdir=.
13892 libname=conftest
13893 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13894 allow_undefined_flag_CXX=
13895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13896 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13897 ac_status=$?
13898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13899 test $ac_status = 0; }
13900 then
13901 archive_cmds_need_lc_CXX=no
13902 else
13903 archive_cmds_need_lc_CXX=yes
13904 fi
13905 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13906 else
13907 cat conftest.err 1>&5
13908 fi
13909 $RM conftest*
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13911 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13912 ;;
13913 esac
13914 fi
13915 ;;
13916 esac
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13982 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13983
13984 library_names_spec=
13985 libname_spec='lib$name'
13986 soname_spec=
13987 shrext_cmds=".so"
13988 postinstall_cmds=
13989 postuninstall_cmds=
13990 finish_cmds=
13991 finish_eval=
13992 shlibpath_var=
13993 shlibpath_overrides_runpath=unknown
13994 version_type=none
13995 dynamic_linker="$host_os ld.so"
13996 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13997 need_lib_prefix=unknown
13998 hardcode_into_libs=no
13999
14000 # when you set need_version to no, make sure it does not cause -set_version
14001 # flags to be left without arguments
14002 need_version=unknown
14003
14004 case $host_os in
14005 aix3*)
14006 version_type=linux
14007 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14008 shlibpath_var=LIBPATH
14009
14010 # AIX 3 has no versioning support, so we append a major version to the name.
14011 soname_spec='${libname}${release}${shared_ext}$major'
14012 ;;
14013
14014 aix[4-9]*)
14015 version_type=linux
14016 need_lib_prefix=no
14017 need_version=no
14018 hardcode_into_libs=yes
14019 if test "$host_cpu" = ia64; then
14020 # AIX 5 supports IA64
14021 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14022 shlibpath_var=LD_LIBRARY_PATH
14023 else
14024 # With GCC up to 2.95.x, collect2 would create an import file
14025 # for dependence libraries. The import file would start with
14026 # the line `#! .'. This would cause the generated library to
14027 # depend on `.', always an invalid library. This was fixed in
14028 # development snapshots of GCC prior to 3.0.
14029 case $host_os in
14030 aix4 | aix4.[01] | aix4.[01].*)
14031 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14032 echo ' yes '
14033 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14034 :
14035 else
14036 can_build_shared=no
14037 fi
14038 ;;
14039 esac
14040 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14041 # soname into executable. Probably we can add versioning support to
14042 # collect2, so additional links can be useful in future.
14043 if test "$aix_use_runtimelinking" = yes; then
14044 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14045 # instead of lib<name>.a to let people know that these are not
14046 # typical AIX shared libraries.
14047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14048 else
14049 # We preserve .a as extension for shared libraries through AIX4.2
14050 # and later when we are not doing run time linking.
14051 library_names_spec='${libname}${release}.a $libname.a'
14052 soname_spec='${libname}${release}${shared_ext}$major'
14053 fi
14054 shlibpath_var=LIBPATH
14055 fi
14056 ;;
14057
14058 amigaos*)
14059 case $host_cpu in
14060 powerpc)
14061 # Since July 2007 AmigaOS4 officially supports .so libraries.
14062 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14064 ;;
14065 m68k)
14066 library_names_spec='$libname.ixlibrary $libname.a'
14067 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14068 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14069 ;;
14070 esac
14071 ;;
14072
14073 beos*)
14074 library_names_spec='${libname}${shared_ext}'
14075 dynamic_linker="$host_os ld.so"
14076 shlibpath_var=LIBRARY_PATH
14077 ;;
14078
14079 bsdi[45]*)
14080 version_type=linux
14081 need_version=no
14082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14083 soname_spec='${libname}${release}${shared_ext}$major'
14084 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14085 shlibpath_var=LD_LIBRARY_PATH
14086 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14087 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14088 # the default ld.so.conf also contains /usr/contrib/lib and
14089 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14090 # libtool to hard-code these into programs
14091 ;;
14092
14093 cygwin* | mingw* | pw32* | cegcc*)
14094 version_type=windows
14095 shrext_cmds=".dll"
14096 need_version=no
14097 need_lib_prefix=no
14098
14099 case $GCC,$host_os in
14100 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14101 library_names_spec='$libname.dll.a'
14102 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14103 postinstall_cmds='base_file=`basename \${file}`~
14104 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14105 dldir=$destdir/`dirname \$dlpath`~
14106 test -d \$dldir || mkdir -p \$dldir~
14107 $install_prog $dir/$dlname \$dldir/$dlname~
14108 chmod a+x \$dldir/$dlname~
14109 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14110 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14111 fi'
14112 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14113 dlpath=$dir/\$dldll~
14114 $RM \$dlpath'
14115 shlibpath_overrides_runpath=yes
14116
14117 case $host_os in
14118 cygwin*)
14119 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14120 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14121 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14122 ;;
14123 mingw* | cegcc*)
14124 # MinGW DLLs use traditional 'lib' prefix
14125 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14126 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14127 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14128 # It is most probably a Windows format PATH printed by
14129 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14130 # path with ; separators, and with drive letters. We can handle the
14131 # drive letters (cygwin fileutils understands them), so leave them,
14132 # especially as we might pass files found there to a mingw objdump,
14133 # which wouldn't understand a cygwinified path. Ahh.
14134 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14135 else
14136 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14137 fi
14138 ;;
14139 pw32*)
14140 # pw32 DLLs use 'pw' prefix rather than 'lib'
14141 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14142 ;;
14143 esac
14144 ;;
14145
14146 *)
14147 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14148 ;;
14149 esac
14150 dynamic_linker='Win32 ld.exe'
14151 # FIXME: first we should search . and the directory the executable is in
14152 shlibpath_var=PATH
14153 ;;
14154
14155 darwin* | rhapsody*)
14156 dynamic_linker="$host_os dyld"
14157 version_type=darwin
14158 need_lib_prefix=no
14159 need_version=no
14160 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14161 soname_spec='${libname}${release}${major}$shared_ext'
14162 shlibpath_overrides_runpath=yes
14163 shlibpath_var=DYLD_LIBRARY_PATH
14164 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14165
14166 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14167 ;;
14168
14169 dgux*)
14170 version_type=linux
14171 need_lib_prefix=no
14172 need_version=no
14173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14174 soname_spec='${libname}${release}${shared_ext}$major'
14175 shlibpath_var=LD_LIBRARY_PATH
14176 ;;
14177
14178 freebsd1*)
14179 dynamic_linker=no
14180 ;;
14181
14182 freebsd* | dragonfly*)
14183 # DragonFly does not have aout. When/if they implement a new
14184 # versioning mechanism, adjust this.
14185 if test -x /usr/bin/objformat; then
14186 objformat=`/usr/bin/objformat`
14187 else
14188 case $host_os in
14189 freebsd[123]*) objformat=aout ;;
14190 *) objformat=elf ;;
14191 esac
14192 fi
14193 version_type=freebsd-$objformat
14194 case $version_type in
14195 freebsd-elf*)
14196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14197 need_version=no
14198 need_lib_prefix=no
14199 ;;
14200 freebsd-*)
14201 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14202 need_version=yes
14203 ;;
14204 esac
14205 shlibpath_var=LD_LIBRARY_PATH
14206 case $host_os in
14207 freebsd2*)
14208 shlibpath_overrides_runpath=yes
14209 ;;
14210 freebsd3.[01]* | freebsdelf3.[01]*)
14211 shlibpath_overrides_runpath=yes
14212 hardcode_into_libs=yes
14213 ;;
14214 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14215 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14216 shlibpath_overrides_runpath=no
14217 hardcode_into_libs=yes
14218 ;;
14219 *) # from 4.6 on, and DragonFly
14220 shlibpath_overrides_runpath=yes
14221 hardcode_into_libs=yes
14222 ;;
14223 esac
14224 ;;
14225
14226 gnu*)
14227 version_type=linux
14228 need_lib_prefix=no
14229 need_version=no
14230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14231 soname_spec='${libname}${release}${shared_ext}$major'
14232 shlibpath_var=LD_LIBRARY_PATH
14233 hardcode_into_libs=yes
14234 ;;
14235
14236 hpux9* | hpux10* | hpux11*)
14237 # Give a soname corresponding to the major version so that dld.sl refuses to
14238 # link against other versions.
14239 version_type=sunos
14240 need_lib_prefix=no
14241 need_version=no
14242 case $host_cpu in
14243 ia64*)
14244 shrext_cmds='.so'
14245 hardcode_into_libs=yes
14246 dynamic_linker="$host_os dld.so"
14247 shlibpath_var=LD_LIBRARY_PATH
14248 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14250 soname_spec='${libname}${release}${shared_ext}$major'
14251 if test "X$HPUX_IA64_MODE" = X32; then
14252 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14253 else
14254 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14255 fi
14256 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14257 ;;
14258 hppa*64*)
14259 shrext_cmds='.sl'
14260 hardcode_into_libs=yes
14261 dynamic_linker="$host_os dld.sl"
14262 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14263 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14265 soname_spec='${libname}${release}${shared_ext}$major'
14266 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14267 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14268 ;;
14269 *)
14270 shrext_cmds='.sl'
14271 dynamic_linker="$host_os dld.sl"
14272 shlibpath_var=SHLIB_PATH
14273 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14275 soname_spec='${libname}${release}${shared_ext}$major'
14276 ;;
14277 esac
14278 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14279 postinstall_cmds='chmod 555 $lib'
14280 ;;
14281
14282 interix[3-9]*)
14283 version_type=linux
14284 need_lib_prefix=no
14285 need_version=no
14286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14287 soname_spec='${libname}${release}${shared_ext}$major'
14288 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14289 shlibpath_var=LD_LIBRARY_PATH
14290 shlibpath_overrides_runpath=no
14291 hardcode_into_libs=yes
14292 ;;
14293
14294 irix5* | irix6* | nonstopux*)
14295 case $host_os in
14296 nonstopux*) version_type=nonstopux ;;
14297 *)
14298 if test "$lt_cv_prog_gnu_ld" = yes; then
14299 version_type=linux
14300 else
14301 version_type=irix
14302 fi ;;
14303 esac
14304 need_lib_prefix=no
14305 need_version=no
14306 soname_spec='${libname}${release}${shared_ext}$major'
14307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14308 case $host_os in
14309 irix5* | nonstopux*)
14310 libsuff= shlibsuff=
14311 ;;
14312 *)
14313 case $LD in # libtool.m4 will add one of these switches to LD
14314 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14315 libsuff= shlibsuff= libmagic=32-bit;;
14316 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14317 libsuff=32 shlibsuff=N32 libmagic=N32;;
14318 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14319 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14320 *) libsuff= shlibsuff= libmagic=never-match;;
14321 esac
14322 ;;
14323 esac
14324 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14325 shlibpath_overrides_runpath=no
14326 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14327 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14328 hardcode_into_libs=yes
14329 ;;
14330
14331 # No shared lib support for Linux oldld, aout, or coff.
14332 linux*oldld* | linux*aout* | linux*coff*)
14333 dynamic_linker=no
14334 ;;
14335
14336 # This must be Linux ELF.
14337 linux* | k*bsd*-gnu)
14338 version_type=linux
14339 need_lib_prefix=no
14340 need_version=no
14341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14342 soname_spec='${libname}${release}${shared_ext}$major'
14343 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14344 shlibpath_var=LD_LIBRARY_PATH
14345 shlibpath_overrides_runpath=no
14346 # Some binutils ld are patched to set DT_RUNPATH
14347 save_LDFLAGS=$LDFLAGS
14348 save_libdir=$libdir
14349 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14350 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14352 /* end confdefs.h. */
14353
14354 int
14355 main ()
14356 {
14357
14358 ;
14359 return 0;
14360 }
14361 _ACEOF
14362 if ac_fn_cxx_try_link "$LINENO"; then :
14363 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14364 shlibpath_overrides_runpath=yes
14365 fi
14366 fi
14367 rm -f core conftest.err conftest.$ac_objext \
14368 conftest$ac_exeext conftest.$ac_ext
14369 LDFLAGS=$save_LDFLAGS
14370 libdir=$save_libdir
14371
14372 # This implies no fast_install, which is unacceptable.
14373 # Some rework will be needed to allow for fast_install
14374 # before this can be enabled.
14375 hardcode_into_libs=yes
14376
14377 # Add ABI-specific directories to the system library path.
14378 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
14379
14380 # Append ld.so.conf contents to the search path
14381 if test -f /etc/ld.so.conf; then
14382 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14383 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14384 fi
14385
14386 # We used to test for /lib/ld.so.1 and disable shared libraries on
14387 # powerpc, because MkLinux only supported shared libraries with the
14388 # GNU dynamic linker. Since this was broken with cross compilers,
14389 # most powerpc-linux boxes support dynamic linking these days and
14390 # people can always --disable-shared, the test was removed, and we
14391 # assume the GNU/Linux dynamic linker is in use.
14392 dynamic_linker='GNU/Linux ld.so'
14393 ;;
14394
14395 netbsd*)
14396 version_type=sunos
14397 need_lib_prefix=no
14398 need_version=no
14399 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14401 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14402 dynamic_linker='NetBSD (a.out) ld.so'
14403 else
14404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14405 soname_spec='${libname}${release}${shared_ext}$major'
14406 dynamic_linker='NetBSD ld.elf_so'
14407 fi
14408 shlibpath_var=LD_LIBRARY_PATH
14409 shlibpath_overrides_runpath=yes
14410 hardcode_into_libs=yes
14411 ;;
14412
14413 newsos6)
14414 version_type=linux
14415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14416 shlibpath_var=LD_LIBRARY_PATH
14417 shlibpath_overrides_runpath=yes
14418 ;;
14419
14420 *nto* | *qnx*)
14421 version_type=qnx
14422 need_lib_prefix=no
14423 need_version=no
14424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14425 soname_spec='${libname}${release}${shared_ext}$major'
14426 shlibpath_var=LD_LIBRARY_PATH
14427 shlibpath_overrides_runpath=no
14428 hardcode_into_libs=yes
14429 dynamic_linker='ldqnx.so'
14430 ;;
14431
14432 openbsd*)
14433 version_type=sunos
14434 sys_lib_dlsearch_path_spec="/usr/lib"
14435 need_lib_prefix=no
14436 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14437 case $host_os in
14438 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14439 *) need_version=no ;;
14440 esac
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14442 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14443 shlibpath_var=LD_LIBRARY_PATH
14444 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14445 case $host_os in
14446 openbsd2.[89] | openbsd2.[89].*)
14447 shlibpath_overrides_runpath=no
14448 ;;
14449 *)
14450 shlibpath_overrides_runpath=yes
14451 ;;
14452 esac
14453 else
14454 shlibpath_overrides_runpath=yes
14455 fi
14456 ;;
14457
14458 os2*)
14459 libname_spec='$name'
14460 shrext_cmds=".dll"
14461 need_lib_prefix=no
14462 library_names_spec='$libname${shared_ext} $libname.a'
14463 dynamic_linker='OS/2 ld.exe'
14464 shlibpath_var=LIBPATH
14465 ;;
14466
14467 osf3* | osf4* | osf5*)
14468 version_type=osf
14469 need_lib_prefix=no
14470 need_version=no
14471 soname_spec='${libname}${release}${shared_ext}$major'
14472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14473 shlibpath_var=LD_LIBRARY_PATH
14474 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14475 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14476 ;;
14477
14478 rdos*)
14479 dynamic_linker=no
14480 ;;
14481
14482 solaris*)
14483 version_type=linux
14484 need_lib_prefix=no
14485 need_version=no
14486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14487 soname_spec='${libname}${release}${shared_ext}$major'
14488 shlibpath_var=LD_LIBRARY_PATH
14489 shlibpath_overrides_runpath=yes
14490 hardcode_into_libs=yes
14491 # ldd complains unless libraries are executable
14492 postinstall_cmds='chmod +x $lib'
14493 ;;
14494
14495 sunos4*)
14496 version_type=sunos
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14498 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14499 shlibpath_var=LD_LIBRARY_PATH
14500 shlibpath_overrides_runpath=yes
14501 if test "$with_gnu_ld" = yes; then
14502 need_lib_prefix=no
14503 fi
14504 need_version=yes
14505 ;;
14506
14507 sysv4 | sysv4.3*)
14508 version_type=linux
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14510 soname_spec='${libname}${release}${shared_ext}$major'
14511 shlibpath_var=LD_LIBRARY_PATH
14512 case $host_vendor in
14513 sni)
14514 shlibpath_overrides_runpath=no
14515 need_lib_prefix=no
14516 runpath_var=LD_RUN_PATH
14517 ;;
14518 siemens)
14519 need_lib_prefix=no
14520 ;;
14521 motorola)
14522 need_lib_prefix=no
14523 need_version=no
14524 shlibpath_overrides_runpath=no
14525 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14526 ;;
14527 esac
14528 ;;
14529
14530 sysv4*MP*)
14531 if test -d /usr/nec ;then
14532 version_type=linux
14533 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14534 soname_spec='$libname${shared_ext}.$major'
14535 shlibpath_var=LD_LIBRARY_PATH
14536 fi
14537 ;;
14538
14539 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14540 version_type=freebsd-elf
14541 need_lib_prefix=no
14542 need_version=no
14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14544 soname_spec='${libname}${release}${shared_ext}$major'
14545 shlibpath_var=LD_LIBRARY_PATH
14546 shlibpath_overrides_runpath=yes
14547 hardcode_into_libs=yes
14548 if test "$with_gnu_ld" = yes; then
14549 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14550 else
14551 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14552 case $host_os in
14553 sco3.2v5*)
14554 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14555 ;;
14556 esac
14557 fi
14558 sys_lib_dlsearch_path_spec='/usr/lib'
14559 ;;
14560
14561 tpf*)
14562 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14563 version_type=linux
14564 need_lib_prefix=no
14565 need_version=no
14566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14567 shlibpath_var=LD_LIBRARY_PATH
14568 shlibpath_overrides_runpath=no
14569 hardcode_into_libs=yes
14570 ;;
14571
14572 uts4*)
14573 version_type=linux
14574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14575 soname_spec='${libname}${release}${shared_ext}$major'
14576 shlibpath_var=LD_LIBRARY_PATH
14577 ;;
14578
14579 *)
14580 dynamic_linker=no
14581 ;;
14582 esac
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14584 $as_echo "$dynamic_linker" >&6; }
14585 test "$dynamic_linker" = no && can_build_shared=no
14586
14587 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14588 if test "$GCC" = yes; then
14589 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14590 fi
14591
14592 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14593 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14594 fi
14595 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14596 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14597 fi
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14635 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14636 hardcode_action_CXX=
14637 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14638 test -n "$runpath_var_CXX" ||
14639 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14640
14641 # We can hardcode non-existent directories.
14642 if test "$hardcode_direct_CXX" != no &&
14643 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14644 # have to relink, otherwise we might link with an installed library
14645 # when we should be linking with a yet-to-be-installed one
14646 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14647 test "$hardcode_minus_L_CXX" != no; then
14648 # Linking always hardcodes the temporary library directory.
14649 hardcode_action_CXX=relink
14650 else
14651 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14652 hardcode_action_CXX=immediate
14653 fi
14654 else
14655 # We cannot hardcode anything, or else we can only hardcode existing
14656 # directories.
14657 hardcode_action_CXX=unsupported
14658 fi
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14660 $as_echo "$hardcode_action_CXX" >&6; }
14661
14662 if test "$hardcode_action_CXX" = relink ||
14663 test "$inherit_rpath_CXX" = yes; then
14664 # Fast installation is not supported
14665 enable_fast_install=no
14666 elif test "$shlibpath_overrides_runpath" = yes ||
14667 test "$enable_shared" = no; then
14668 # Fast installation is not necessary
14669 enable_fast_install=needless
14670 fi
14671
14672
14673
14674
14675
14676
14677
14678 fi # test -n "$compiler"
14679
14680 CC=$lt_save_CC
14681 LDCXX=$LD
14682 LD=$lt_save_LD
14683 GCC=$lt_save_GCC
14684 with_gnu_ld=$lt_save_with_gnu_ld
14685 lt_cv_path_LDCXX=$lt_cv_path_LD
14686 lt_cv_path_LD=$lt_save_path_LD
14687 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14688 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14689 fi # test "$_lt_caught_CXX_error" != yes
14690
14691 ac_ext=cpp
14692 ac_cpp='$CXXCPP $CPPFLAGS'
14693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709 ac_config_commands="$ac_config_commands libtool"
14710
14711
14712
14713
14714 # Only expand once:
14715
14716
14717
14718 @%:@ Check whether --enable-libcheck was given.
14719 if test "${enable_libcheck+set}" = set; then :
14720 enableval=$enable_libcheck; case "${enableval}" in
14721 yes) libcheck=true ;;
14722 no) libcheck=false ;;
14723 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;; esac
14724 else
14725 libcheck=true
14726 fi
14727
14728
14729
14730 # --- BEGIN MLX_LANG_TCL ---
14731
14732 if test "x$libcheck" = "xtrue"; then
14733
14734
14735 @%:@ Check whether --with-tclconfig was given.
14736 if test "${with_tclconfig+set}" = set; then :
14737 withval=$with_tclconfig; TclLibBase=`echo ${withval} | sed s/tclConfig.sh\$//`
14738 fi
14739
14740
14741 @%:@ Check whether --with-tcl was given.
14742 if test "${with_tcl+set}" = set; then :
14743 withval=$with_tcl; TclLibBase="${withval}/lib"
14744 fi
14745
14746
14747 @%:@ Check whether --with-tclsh was given.
14748 if test "${with_tclsh+set}" = set; then :
14749 withval=$with_tclsh; TCLSH="${withval}"
14750 fi
14751
14752
14753 if test "x$TCLSH" = "xno" -o "x$with_tclconfig" = "xno" ; then
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&5
14755 $as_echo "$as_me: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&2;}
14756 with_tcl=no
14757 fi
14758
14759 if test "x$with_tcl" != xno; then
14760 if test \! -z "$with_tclconfig" -a \! -d "$with_tclconfig" ; then
14761 as_fn_error $? "--with-tclconfig requires a directory argument." "$LINENO" 5
14762 fi
14763
14764 if test \! -z "$TCLSH" -a \! -x "$TCLSH" ; then
14765 as_fn_error $? "--with-tclsh must specify an executable file." "$LINENO" 5
14766 fi
14767
14768 if test X"$TclLibBase" = X; then # do we already know?
14769 # No? Run tclsh and ask it where it lives.
14770
14771 # Do we know where a tclsh lives?
14772 if test X"$TCLSH" = X; then
14773 # Try and find tclsh. Any tclsh.
14774 # If a new version of tcl comes out and unfortunately adds another
14775 # filename, it should be safe to add it (to the front of the line --
14776 # somef vendors have older, badly installed tclshs that we want to avoid
14777 # if we can)
14778 for ac_prog in tclsh tclsh8.3 tclsh8.4
14779 do
14780 # Extract the first word of "$ac_prog", so it can be a program name with args.
14781 set dummy $ac_prog; ac_word=$2
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14783 $as_echo_n "checking for $ac_word... " >&6; }
14784 if ${ac_cv_path_TCLSH+:} false; then :
14785 $as_echo_n "(cached) " >&6
14786 else
14787 case $TCLSH in
14788 [\\/]* | ?:[\\/]*)
14789 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
14790 ;;
14791 *)
14792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14793 for as_dir in $PATH
14794 do
14795 IFS=$as_save_IFS
14796 test -z "$as_dir" && as_dir=.
14797 for ac_exec_ext in '' $ac_executable_extensions; do
14798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14799 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
14800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14801 break 2
14802 fi
14803 done
14804 done
14805 IFS=$as_save_IFS
14806
14807 ;;
14808 esac
14809 fi
14810 TCLSH=$ac_cv_path_TCLSH
14811 if test -n "$TCLSH"; then
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
14813 $as_echo "$TCLSH" >&6; }
14814 else
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14816 $as_echo "no" >&6; }
14817 fi
14818
14819
14820 test -n "$TCLSH" && break
14821 done
14822 test -n "$TCLSH" || TCLSH=""unknown""
14823
14824 fi
14825
14826 # Do we know where to get a tclsh?
14827 if test "X${TCLSH}" != "Xunknown"; then
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl says it lives" >&5
14829 $as_echo_n "checking where Tcl says it lives... " >&6; }
14830 echo "puts \$tcl_library" > /tmp/tcl.conf.$$
14831 TclLibBase=`${TCLSH} /tmp/tcl.conf.$$ | sed -e 's,^/*$,,'`
14832 rm /tmp/tcl.conf.$$
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TclLibBase" >&5
14834 $as_echo "$TclLibBase" >&6; }
14835 fi
14836 fi
14837
14838 if test -z "$TclLibBase" ; then
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find tclsh" >&5
14840 $as_echo "can't find tclsh" >&6; }
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl installtion; use of Tcl disabled." >&5
14842 $as_echo "$as_me: WARNING: can't find Tcl installtion; use of Tcl disabled." >&2;}
14843 with_tcl=no
14844 else
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5
14846 $as_echo_n "checking for tclConfig.sh... " >&6; }
14847 # Check a list of places where the tclConfig.sh file might be.
14848 # Note we prefer the 64 bit version if exists
14849 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}"
14850 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}/.."
14851 tclCondifSearchPath="$tclCondifSearchPath `echo ${TCLSH} | sed s/sh//`"
14852 tclCondifSearchPath="$tclCondifSearchPath /usr/lib64"
14853 tclCondifSearchPath="$tclCondifSearchPath /usr/lib"
14854 tclCondifSearchPath="$tclCondifSearchPath /usr/local/lib"
14855 for tcldir in $tclCondifSearchPath; do
14856 if test -f "${tcldir}/tclConfig.sh"; then
14857 TclLibBase="${tcldir}"
14858 break
14859 fi
14860 done
14861
14862 if test -z "${TclLibBase}" ; then
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"unknown\"" >&5
14864 $as_echo "\"unknown\"" >&6; }
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl configuration; use of Tcl disabled." >&5
14866 $as_echo "$as_me: WARNING: can't find Tcl configuration; use of Tcl disabled." >&2;}
14867 with_tcl=no
14868 else
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TclLibBase}/" >&5
14870 $as_echo "${TclLibBase}/" >&6; }
14871 fi
14872
14873 if test "X${with_tcl}" != Xno ; then
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl configuration on what Tcl needs to compile" >&5
14875 $as_echo_n "checking Tcl configuration on what Tcl needs to compile... " >&6; }
14876 . ${TclLibBase}/tclConfig.sh
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
14878 $as_echo "ok" >&6; }
14879 fi
14880
14881 if test -d /usr/lib64 ; then
14882 TCL_LIB_SPEC=`echo ${TCL_LIB_SPEC} | sed 's=/usr/lib =/usr/lib64 =g'`
14883 fi
14884
14885 if test "X${with_tcl}" != Xno ; then
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl includes are" >&5
14887 $as_echo_n "checking where Tcl includes are... " >&6; }
14888 for tclinclude in "${TCL_PREFIX}/include/tcl${TCL_VERSION}" \
14889 "${TCL_PREFIX}/include/tcl" \
14890 "${TCL_PREFIX}/include" ; do
14891 if test -r "${tclinclude}/tcl.h" ; then
14892 TCL_CPPFLAGS="-I${tclinclude}"
14893 break
14894 fi
14895 done
14896 if test X"${TCL_CPPFLAGS}" = X ; then
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl includes; use of Tcl disabled." >&5
14898 $as_echo "$as_me: WARNING: can't find Tcl includes; use of Tcl disabled." >&2;}
14899 with_tcl=no
14900 fi
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCL_CPPFLAGS}" >&5
14902 $as_echo "${TCL_CPPFLAGS}" >&6; }
14903 fi
14904
14905 # Finally, pick up the Tcl configuration if we haven't found an
14906 # excuse not to.
14907 if test "X${with_tcl}" != Xno; then
14908 TCL_SEARCH=`echo ${TCL_LD_SEARCH_FLAGS} | sed 's/-Wl,-rpath,/-rpath/'`
14909
14910 if test X"$TCL_LIBS" = X; then
14911 TCL_LIBS=`echo ${TCL_LIB_FILE} | sed 's/lib\([^ \t]*\)\.\(so\|a\)/-l\1/'`
14912 fi
14913
14914 if test X"$TCL_LIB_SPEC" = X; then
14915 TCL_LIB_SPEC='-L/usr/lib'
14916 fi
14917
14918 TCL_LIBS1="${TCL_LIB_SPEC} ${TCL_LIBS}"
14919 TCL_LIBS=`echo ${TCL_LIBS1} | sed 's/-lieee//'`
14920 fi
14921 fi
14922 fi
14923 else
14924 TCL_DEFS=disabled
14925 TCL_LIBS=disabled
14926 TCL_CPPFLAGS=disabled
14927 TCL_PREFIX=disabled
14928 fi
14929
14930
14931
14932
14933
14934
14935 # --- END MLX_LANG_TCL ---
14936
14937
14938
14939
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14941 $as_echo_n "checking for ANSI C header files... " >&6; }
14942 if ${ac_cv_header_stdc+:} false; then :
14943 $as_echo_n "(cached) " >&6
14944 else
14945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14947 #include <stdlib.h>
14948 #include <stdarg.h>
14949 #include <string.h>
14950 #include <float.h>
14951
14952 int
14953 main ()
14954 {
14955
14956 ;
14957 return 0;
14958 }
14959 _ACEOF
14960 if ac_fn_cxx_try_compile "$LINENO"; then :
14961 ac_cv_header_stdc=yes
14962 else
14963 ac_cv_header_stdc=no
14964 fi
14965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14966
14967 if test $ac_cv_header_stdc = yes; then
14968 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14971 #include <string.h>
14972
14973 _ACEOF
14974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14975 $EGREP "memchr" >/dev/null 2>&1; then :
14976
14977 else
14978 ac_cv_header_stdc=no
14979 fi
14980 rm -f conftest*
14981
14982 fi
14983
14984 if test $ac_cv_header_stdc = yes; then
14985 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14987 /* end confdefs.h. */
14988 #include <stdlib.h>
14989
14990 _ACEOF
14991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14992 $EGREP "free" >/dev/null 2>&1; then :
14993
14994 else
14995 ac_cv_header_stdc=no
14996 fi
14997 rm -f conftest*
14998
14999 fi
15000
15001 if test $ac_cv_header_stdc = yes; then
15002 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15003 if test "$cross_compiling" = yes; then :
15004 :
15005 else
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15008 #include <ctype.h>
15009 #include <stdlib.h>
15010 #if ((' ' & 0x0FF) == 0x020)
15011 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15012 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15013 #else
15014 # define ISLOWER(c) \
15015 (('a' <= (c) && (c) <= 'i') \
15016 || ('j' <= (c) && (c) <= 'r') \
15017 || ('s' <= (c) && (c) <= 'z'))
15018 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15019 #endif
15020
15021 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15022 int
15023 main ()
15024 {
15025 int i;
15026 for (i = 0; i < 256; i++)
15027 if (XOR (islower (i), ISLOWER (i))
15028 || toupper (i) != TOUPPER (i))
15029 return 2;
15030 return 0;
15031 }
15032 _ACEOF
15033 if ac_fn_cxx_try_run "$LINENO"; then :
15034
15035 else
15036 ac_cv_header_stdc=no
15037 fi
15038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15039 conftest.$ac_objext conftest.beam conftest.$ac_ext
15040 fi
15041
15042 fi
15043 fi
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15045 $as_echo "$ac_cv_header_stdc" >&6; }
15046 if test $ac_cv_header_stdc = yes; then
15047
15048 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
15049
15050 fi
15051
15052 for ac_header in inttypes.h stdlib.h string.h
15053 do :
15054 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15055 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15056 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15057 cat >>confdefs.h <<_ACEOF
15058 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15059 _ACEOF
15060
15061 fi
15062
15063 done
15064
15065
15066
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15068 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15069 if ${ac_cv_c_const+:} false; then :
15070 $as_echo_n "(cached) " >&6
15071 else
15072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15074
15075 int
15076 main ()
15077 {
15078
15079 #ifndef __cplusplus
15080 /* Ultrix mips cc rejects this sort of thing. */
15081 typedef int charset[2];
15082 const charset cs = { 0, 0 };
15083 /* SunOS 4.1.1 cc rejects this. */
15084 char const *const *pcpcc;
15085 char **ppc;
15086 /* NEC SVR4.0.2 mips cc rejects this. */
15087 struct point {int x, y;};
15088 static struct point const zero = {0,0};
15089 /* AIX XL C 1.02.0.0 rejects this.
15090 It does not let you subtract one const X* pointer from another in
15091 an arm of an if-expression whose if-part is not a constant
15092 expression */
15093 const char *g = "string";
15094 pcpcc = &g + (g ? g-g : 0);
15095 /* HPUX 7.0 cc rejects these. */
15096 ++pcpcc;
15097 ppc = (char**) pcpcc;
15098 pcpcc = (char const *const *) ppc;
15099 { /* SCO 3.2v4 cc rejects this sort of thing. */
15100 char tx;
15101 char *t = &tx;
15102 char const *s = 0 ? (char *) 0 : (char const *) 0;
15103
15104 *t++ = 0;
15105 if (s) return 0;
15106 }
15107 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15108 int x[] = {25, 17};
15109 const int *foo = &x[0];
15110 ++foo;
15111 }
15112 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15113 typedef const int *iptr;
15114 iptr p = 0;
15115 ++p;
15116 }
15117 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
15118 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15119 struct s { int j; const int *ap[3]; } bx;
15120 struct s *b = &bx; b->j = 5;
15121 }
15122 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15123 const int foo = 10;
15124 if (!foo) return 0;
15125 }
15126 return !cs[0] && !zero.x;
15127 #endif
15128
15129 ;
15130 return 0;
15131 }
15132 _ACEOF
15133 if ac_fn_cxx_try_compile "$LINENO"; then :
15134 ac_cv_c_const=yes
15135 else
15136 ac_cv_c_const=no
15137 fi
15138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15139 fi
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15141 $as_echo "$ac_cv_c_const" >&6; }
15142 if test $ac_cv_c_const = no; then
15143
15144 $as_echo "@%:@define const /**/" >>confdefs.h
15145
15146 fi
15147
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15149 $as_echo_n "checking for inline... " >&6; }
15150 if ${ac_cv_c_inline+:} false; then :
15151 $as_echo_n "(cached) " >&6
15152 else
15153 ac_cv_c_inline=no
15154 for ac_kw in inline __inline__ __inline; do
15155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15157 #ifndef __cplusplus
15158 typedef int foo_t;
15159 static $ac_kw foo_t static_foo () {return 0; }
15160 $ac_kw foo_t foo () {return 0; }
15161 #endif
15162
15163 _ACEOF
15164 if ac_fn_cxx_try_compile "$LINENO"; then :
15165 ac_cv_c_inline=$ac_kw
15166 fi
15167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15168 test "$ac_cv_c_inline" != no && break
15169 done
15170
15171 fi
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15173 $as_echo "$ac_cv_c_inline" >&6; }
15174
15175 case $ac_cv_c_inline in
15176 inline | yes) ;;
15177 *)
15178 case $ac_cv_c_inline in
15179 no) ac_val=;;
15180 *) ac_val=$ac_cv_c_inline;;
15181 esac
15182 cat >>confdefs.h <<_ACEOF
15183 #ifndef __cplusplus
15184 #define inline $ac_val
15185 #endif
15186 _ACEOF
15187 ;;
15188 esac
15189
15190 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15191 if test "x$ac_cv_type_size_t" = xyes; then :
15192
15193 else
15194
15195 cat >>confdefs.h <<_ACEOF
15196 @%:@define size_t unsigned int
15197 _ACEOF
15198
15199 fi
15200
15201
15202 for ac_func in strchr strstr strtol strtoull regcomp regexec
15203 do :
15204 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15205 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15206 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15207 cat >>confdefs.h <<_ACEOF
15208 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15209 _ACEOF
15210
15211 fi
15212 done
15213
15214
15215 @%:@ Check whether --enable-debug was given.
15216 if test "${enable_debug+set}" = set; then :
15217 enableval=$enable_debug; case "${enableval}" in
15218 yes) debug=true ;;
15219 no) debug=false ;;
15220 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
15221 esac
15222 else
15223 debug=false
15224 fi
15225
15226 if test x$debug = xtrue; then
15227 DEBUG_TRUE=
15228 DEBUG_FALSE='#'
15229 else
15230 DEBUG_TRUE='#'
15231 DEBUG_FALSE=
15232 fi
15233
15234
15235
15236 # --- BEGIN OPENIB_APP_OSM ---
15237
15238
15239 @%:@ Check whether --with-osm was given.
15240 if test "${with_osm+set}" = set; then :
15241 withval=$with_osm; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM from:$with_osm" >&5
15242 $as_echo "$as_me: Using OSM from:$with_osm" >&6;}
15243 else
15244 with_osm="none"
15245 fi
15246
15247
15248
15249 @%:@ Check whether --with-osm-libs was given.
15250 if test "${with_osm_libs+set}" = set; then :
15251 withval=$with_osm_libs; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM libs from:$with_osm_libs" >&5
15252 $as_echo "$as_me: Using OSM libs from:$with_osm_libs" >&6;}
15253 else
15254 with_osm_libs="none"
15255 fi
15256
15257
15258 osm_lib_dir="none"
15259
15260 if test "x$libcheck" = "xtrue"; then
15261 if test "x$with_osm" = xnone; then
15262 if test -d /usr/local/ibgd/apps/osm; then
15263 with_osm=/usr/local/ibgd/apps/osm
15264 elif test -d /usr/mellanox/osm; then
15265 with_osm=/usr/mellanox
15266 elif test -f /etc/infiniband/info; then
15267 ofed_dir=`/etc/infiniband/info | grep prefix | cut -d = -f 2`
15268 if (test -f $ofed_dir/lib/libopensm.so ||
15269 test -f $ofed_dir/lib64/libopensm.so); then
15270 with_osm=$ofed_dir
15271 fi
15272 elif (test -f /usr/local/lib64/libopensm.so ||
15273 test -f /usr/local/lib/libopensm.so); then
15274 with_osm=/usr/local
15275 elif (test -f /usr/lib64/libopensm.so ||
15276 test -f /usr/lib/libopensm.so); then
15277 with_osm=/usr
15278 else
15279 as_fn_error $? "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
15280 fi
15281 fi
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5
15283 $as_echo "$as_me: OSM: used from $with_osm" >&6;}
15284
15285 if test "x$with_osm_libs" = "xnone"; then
15286 if (test -f $with_osm/lib64/libosmvendor_gen1.so ||
15287 test -f $with_osm/lib64/libosmvendor_vapi.so ||
15288 test -f $with_osm/lib64/libopensm.so ||
15289 test -f $with_osm/lib64/libosmvendor_sim.so); then
15290 osm_lib_dir=lib64
15291 else
15292 osm_lib_dir=lib
15293 fi
15294 fi
15295 with_osm_libs=$with_osm/$osm_lib_dir
15296
15297 if test -d $with_osm/include/infiniband; then
15298 OSM_BUILD=openib
15299 else
15300 OSM_BUILD=gen1
15301 fi
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: build type $OSM_BUILD" >&5
15303 $as_echo "$as_me: OSM: build type $OSM_BUILD" >&6;}
15304
15305 OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
15306 if test $OSM_BUILD = openib; then
15307 osm_include_dir="$with_osm/include/infiniband"
15308 osm_extra_includes="-I$with_osm/include"
15309
15310 if test -L $with_osm_libs/libosmvendor_gen1.so; then
15311 OSM_VENDOR=ts
15312 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
15313 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp"
15314 elif test -L $with_osm_libs/libosmvendor_vapi.so; then
15315 OSM_VENDOR=mtl
15316 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
15317 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -lvapi -lib_mgt"
15318 elif test -L $with_osm_libs/libosmvendor_sim.so; then
15319 OSM_VENDOR=sim
15320 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
15321 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -libmscli -losmcomp"
15322 elif test -L $with_osm_libs/libopensm.so; then
15323 OSM_VENDOR=openib
15324 osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
15325 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
15326 else
15327 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
15328 fi
15329 osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
15330 else
15331 # we are in gen1 build
15332 osm_include_dir="$with_osm/include"
15333
15334 if test -L $with_osm_libs/libosmsvc_ts.so; then
15335 OSM_VENDOR=ts
15336 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_ts -lcomplib"
15337 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
15338 elif test -L $with_osm_libs/libosmsvc_mtl.so; then
15339 OSM_VENDOR=mtl
15340 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_mtl -lcomplib -lvapi -lib_mgt"
15341 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
15342 elif test -L $with_osm_libs/libosmsvc_sim.so; then
15343 OSM_VENDOR=sim
15344 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
15345 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
15346 else
15347 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
15348 fi
15349 fi
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5
15351 $as_echo "$as_me: OSM: vendor type $OSM_VENDOR" >&6;}
15352
15353
15354 as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh`
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5
15356 $as_echo_n "checking for $osm_include_dir/opensm/osm_config.h... " >&6; }
15357 if eval \${$as_ac_File+:} false; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15360 test "$cross_compiling" = yes &&
15361 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
15362 if test -r "$osm_include_dir/opensm/osm_config.h"; then
15363 eval "$as_ac_File=yes"
15364 else
15365 eval "$as_ac_File=no"
15366 fi
15367 fi
15368 eval ac_res=\$$as_ac_File
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15370 $as_echo "$ac_res" >&6; }
15371 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
15372
15373 else
15374 as_fn_error $? "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
15375 fi
15376
15377
15378 grep '#define OSM_DEBUG 1' $osm_include_dir/opensm/osm_config.h > /dev/null
15379 if test $? -eq 0 ; then
15380 osm_debug_flags='-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG'
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: compiled in DEBUG mode" >&5
15382 $as_echo "$as_me: OSM: compiled in DEBUG mode" >&6;}
15383 else
15384 osm_debug_flags=
15385 fi
15386
15387 OSM_CFLAGS="-I$osm_include_dir $osm_extra_includes $osm_debug_flags $osm_vendor_sel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1"
15388 else
15389 with_osm=disabled
15390 OSM_CLFAGS=disabled
15391 OSM_LDFLAGS=disabled
15392 OSM_VEDNOR=disabled
15393 OSM_BUILD=disabled
15394 fi
15395
15396 if test "x$OSM_VENDOR" = xts; then
15397 OSM_VENDOR_TS_TRUE=
15398 OSM_VENDOR_TS_FALSE='#'
15399 else
15400 OSM_VENDOR_TS_TRUE='#'
15401 OSM_VENDOR_TS_FALSE=
15402 fi
15403
15404 if test "x$OSM_VENDOR" = xmtl; then
15405 OSM_VENDOR_MTL_TRUE=
15406 OSM_VENDOR_MTL_FALSE='#'
15407 else
15408 OSM_VENDOR_MTL_TRUE='#'
15409 OSM_VENDOR_MTL_FALSE=
15410 fi
15411
15412 if test "x$OSM_VENDOR" = xsim; then
15413 OSM_VENDOR_SIM_TRUE=
15414 OSM_VENDOR_SIM_FALSE='#'
15415 else
15416 OSM_VENDOR_SIM_TRUE='#'
15417 OSM_VENDOR_SIM_FALSE=
15418 fi
15419
15420 if test "x$OSM_BUILD" = xopenib; then
15421 OSM_BUILD_OPENIB_TRUE=
15422 OSM_BUILD_OPENIB_FALSE='#'
15423 else
15424 OSM_BUILD_OPENIB_TRUE='#'
15425 OSM_BUILD_OPENIB_FALSE=
15426 fi
15427
15428
15429
15430
15431
15432
15433
15434
15435 # --- OPENIB_APP_OSM ---
15436
15437
15438 ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile doc/Makefile"
15439
15440 cat >confcache <<\_ACEOF
15441 # This file is a shell script that caches the results of configure
15442 # tests run on this system so they can be shared between configure
15443 # scripts and configure runs, see configure's option --config-cache.
15444 # It is not useful on other systems. If it contains results you don't
15445 # want to keep, you may remove or edit it.
15446 #
15447 # config.status only pays attention to the cache file if you give it
15448 # the --recheck option to rerun configure.
15449 #
15450 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15451 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15452 # following values.
15453
15454 _ACEOF
15455
15456 # The following way of writing the cache mishandles newlines in values,
15457 # but we know of no workaround that is simple, portable, and efficient.
15458 # So, we kill variables containing newlines.
15459 # Ultrix sh set writes to stderr and can't be redirected directly,
15460 # and sets the high bit in the cache file unless we assign to the vars.
15461 (
15462 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15463 eval ac_val=\$$ac_var
15464 case $ac_val in #(
15465 *${as_nl}*)
15466 case $ac_var in #(
15467 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15468 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15469 esac
15470 case $ac_var in #(
15471 _ | IFS | as_nl) ;; #(
15472 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15473 *) { eval $ac_var=; unset $ac_var;} ;;
15474 esac ;;
15475 esac
15476 done
15477
15478 (set) 2>&1 |
15479 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15480 *${as_nl}ac_space=\ *)
15481 # `set' does not quote correctly, so add quotes: double-quote
15482 # substitution turns \\\\ into \\, and sed turns \\ into \.
15483 sed -n \
15484 "s/'/'\\\\''/g;
15485 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15486 ;; #(
15487 *)
15488 # `set' quotes correctly as required by POSIX, so do not add quotes.
15489 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15490 ;;
15491 esac |
15492 sort
15493 ) |
15494 sed '
15495 /^ac_cv_env_/b end
15496 t clear
15497 :clear
15498 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15499 t end
15500 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15501 :end' >>confcache
15502 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15503 if test -w "$cache_file"; then
15504 if test "x$cache_file" != "x/dev/null"; then
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15506 $as_echo "$as_me: updating cache $cache_file" >&6;}
15507 if test ! -f "$cache_file" || test -h "$cache_file"; then
15508 cat confcache >"$cache_file"
15509 else
15510 case $cache_file in #(
15511 */* | ?:*)
15512 mv -f confcache "$cache_file"$$ &&
15513 mv -f "$cache_file"$$ "$cache_file" ;; #(
15514 *)
15515 mv -f confcache "$cache_file" ;;
15516 esac
15517 fi
15518 fi
15519 else
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15521 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15522 fi
15523 fi
15524 rm -f confcache
15525
15526 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15527 # Let make expand exec_prefix.
15528 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15529
15530 DEFS=-DHAVE_CONFIG_H
15531
15532 ac_libobjs=
15533 ac_ltlibobjs=
15534 U=
15535 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15536 # 1. Remove the extension, and $U if already installed.
15537 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15538 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15539 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15540 # will be set to the directory where LIBOBJS objects are built.
15541 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15542 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15543 done
15544 LIB@&t@OBJS=$ac_libobjs
15545
15546 LTLIBOBJS=$ac_ltlibobjs
15547
15548
15549 if test -n "$EXEEXT"; then
15550 am__EXEEXT_TRUE=
15551 am__EXEEXT_FALSE='#'
15552 else
15553 am__EXEEXT_TRUE='#'
15554 am__EXEEXT_FALSE=
15555 fi
15556
15557 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15558 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15560 fi
15561 if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15562 as_fn_error $? "conditional \"HAS_SWIG\" was never defined.
15563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15564 fi
15565 if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15566 as_fn_error $? "conditional \"HAS_SWIG\" was never defined.
15567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15568 fi
15569 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15570 as_fn_error $? "conditional \"AMDEP\" was never defined.
15571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15572 fi
15573 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15574 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15576 fi
15577 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15578 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15580 fi
15581 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15582 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15584 fi
15585 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
15586 as_fn_error $? "conditional \"DEBUG\" was never defined.
15587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15588 fi
15589 if test -z "${OSM_VENDOR_TS_TRUE}" && test -z "${OSM_VENDOR_TS_FALSE}"; then
15590 as_fn_error $? "conditional \"OSM_VENDOR_TS\" was never defined.
15591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15592 fi
15593 if test -z "${OSM_VENDOR_MTL_TRUE}" && test -z "${OSM_VENDOR_MTL_FALSE}"; then
15594 as_fn_error $? "conditional \"OSM_VENDOR_MTL\" was never defined.
15595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15596 fi
15597 if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then
15598 as_fn_error $? "conditional \"OSM_VENDOR_SIM\" was never defined.
15599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15600 fi
15601 if test -z "${OSM_BUILD_OPENIB_TRUE}" && test -z "${OSM_BUILD_OPENIB_FALSE}"; then
15602 as_fn_error $? "conditional \"OSM_BUILD_OPENIB\" was never defined.
15603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15604 fi
15605
15606 : "${CONFIG_STATUS=./config.status}"
15607 ac_write_fail=0
15608 ac_clean_files_save=$ac_clean_files
15609 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15611 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15612 as_write_fail=0
15613 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15614 #! $SHELL
15615 # Generated by $as_me.
15616 # Run this file to recreate the current configuration.
15617 # Compiler output produced by configure, useful for debugging
15618 # configure, is in config.log if it exists.
15619
15620 debug=false
15621 ac_cs_recheck=false
15622 ac_cs_silent=false
15623
15624 SHELL=\${CONFIG_SHELL-$SHELL}
15625 export SHELL
15626 _ASEOF
15627 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15628 ## -------------------- ##
15629 ## M4sh Initialization. ##
15630 ## -------------------- ##
15631
15632 # Be more Bourne compatible
15633 DUALCASE=1; export DUALCASE # for MKS sh
15634 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15635 emulate sh
15636 NULLCMD=:
15637 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15638 # is contrary to our usage. Disable this feature.
15639 alias -g '${1+"$@"}'='"$@"'
15640 setopt NO_GLOB_SUBST
15641 else
15642 case `(set -o) 2>/dev/null` in @%:@(
15643 *posix*) :
15644 set -o posix ;; @%:@(
15645 *) :
15646 ;;
15647 esac
15648 fi
15649
15650
15651 as_nl='
15652 '
15653 export as_nl
15654 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15655 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15656 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15657 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15658 # Prefer a ksh shell builtin over an external printf program on Solaris,
15659 # but without wasting forks for bash or zsh.
15660 if test -z "$BASH_VERSION$ZSH_VERSION" \
15661 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15662 as_echo='print -r --'
15663 as_echo_n='print -rn --'
15664 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15665 as_echo='printf %s\n'
15666 as_echo_n='printf %s'
15667 else
15668 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15669 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15670 as_echo_n='/usr/ucb/echo -n'
15671 else
15672 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15673 as_echo_n_body='eval
15674 arg=$1;
15675 case $arg in @%:@(
15676 *"$as_nl"*)
15677 expr "X$arg" : "X\\(.*\\)$as_nl";
15678 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15679 esac;
15680 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15681 '
15682 export as_echo_n_body
15683 as_echo_n='sh -c $as_echo_n_body as_echo'
15684 fi
15685 export as_echo_body
15686 as_echo='sh -c $as_echo_body as_echo'
15687 fi
15688
15689 # The user is always right.
15690 if test "${PATH_SEPARATOR+set}" != set; then
15691 PATH_SEPARATOR=:
15692 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15693 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15694 PATH_SEPARATOR=';'
15695 }
15696 fi
15697
15698
15699 # IFS
15700 # We need space, tab and new line, in precisely that order. Quoting is
15701 # there to prevent editors from complaining about space-tab.
15702 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15703 # splitting by setting IFS to empty value.)
15704 IFS=" "" $as_nl"
15705
15706 # Find who we are. Look in the path if we contain no directory separator.
15707 as_myself=
15708 case $0 in @%:@((
15709 *[\\/]* ) as_myself=$0 ;;
15710 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15711 for as_dir in $PATH
15712 do
15713 IFS=$as_save_IFS
15714 test -z "$as_dir" && as_dir=.
15715 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15716 done
15717 IFS=$as_save_IFS
15718
15719 ;;
15720 esac
15721 # We did not find ourselves, most probably we were run as `sh COMMAND'
15722 # in which case we are not to be found in the path.
15723 if test "x$as_myself" = x; then
15724 as_myself=$0
15725 fi
15726 if test ! -f "$as_myself"; then
15727 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15728 exit 1
15729 fi
15730
15731 # Unset variables that we do not need and which cause bugs (e.g. in
15732 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15733 # suppresses any "Segmentation fault" message there. '((' could
15734 # trigger a bug in pdksh 5.2.14.
15735 for as_var in BASH_ENV ENV MAIL MAILPATH
15736 do eval test x\${$as_var+set} = xset \
15737 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15738 done
15739 PS1='$ '
15740 PS2='> '
15741 PS4='+ '
15742
15743 # NLS nuisances.
15744 LC_ALL=C
15745 export LC_ALL
15746 LANGUAGE=C
15747 export LANGUAGE
15748
15749 # CDPATH.
15750 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15751
15752
15753 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15754 @%:@ ----------------------------------------
15755 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15756 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15757 @%:@ script with STATUS, using 1 if that was 0.
15758 as_fn_error ()
15759 {
15760 as_status=$1; test $as_status -eq 0 && as_status=1
15761 if test "$4"; then
15762 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15763 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15764 fi
15765 $as_echo "$as_me: error: $2" >&2
15766 as_fn_exit $as_status
15767 } @%:@ as_fn_error
15768
15769
15770 @%:@ as_fn_set_status STATUS
15771 @%:@ -----------------------
15772 @%:@ Set @S|@? to STATUS, without forking.
15773 as_fn_set_status ()
15774 {
15775 return $1
15776 } @%:@ as_fn_set_status
15777
15778 @%:@ as_fn_exit STATUS
15779 @%:@ -----------------
15780 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15781 as_fn_exit ()
15782 {
15783 set +e
15784 as_fn_set_status $1
15785 exit $1
15786 } @%:@ as_fn_exit
15787
15788 @%:@ as_fn_unset VAR
15789 @%:@ ---------------
15790 @%:@ Portably unset VAR.
15791 as_fn_unset ()
15792 {
15793 { eval $1=; unset $1;}
15794 }
15795 as_unset=as_fn_unset
15796 @%:@ as_fn_append VAR VALUE
15797 @%:@ ----------------------
15798 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15799 @%:@ advantage of any shell optimizations that allow amortized linear growth over
15800 @%:@ repeated appends, instead of the typical quadratic growth present in naive
15801 @%:@ implementations.
15802 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15803 eval 'as_fn_append ()
15804 {
15805 eval $1+=\$2
15806 }'
15807 else
15808 as_fn_append ()
15809 {
15810 eval $1=\$$1\$2
15811 }
15812 fi # as_fn_append
15813
15814 @%:@ as_fn_arith ARG...
15815 @%:@ ------------------
15816 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15817 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15818 @%:@ must be portable across @S|@(()) and expr.
15819 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15820 eval 'as_fn_arith ()
15821 {
15822 as_val=$(( $* ))
15823 }'
15824 else
15825 as_fn_arith ()
15826 {
15827 as_val=`expr "$@" || test $? -eq 1`
15828 }
15829 fi # as_fn_arith
15830
15831
15832 if expr a : '\(a\)' >/dev/null 2>&1 &&
15833 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15834 as_expr=expr
15835 else
15836 as_expr=false
15837 fi
15838
15839 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15840 as_basename=basename
15841 else
15842 as_basename=false
15843 fi
15844
15845 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15846 as_dirname=dirname
15847 else
15848 as_dirname=false
15849 fi
15850
15851 as_me=`$as_basename -- "$0" ||
15852 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15853 X"$0" : 'X\(//\)$' \| \
15854 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15855 $as_echo X/"$0" |
15856 sed '/^.*\/\([^/][^/]*\)\/*$/{
15857 s//\1/
15858 q
15859 }
15860 /^X\/\(\/\/\)$/{
15861 s//\1/
15862 q
15863 }
15864 /^X\/\(\/\).*/{
15865 s//\1/
15866 q
15867 }
15868 s/.*/./; q'`
15869
15870 # Avoid depending upon Character Ranges.
15871 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15872 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15873 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15874 as_cr_digits='0123456789'
15875 as_cr_alnum=$as_cr_Letters$as_cr_digits
15876
15877 ECHO_C= ECHO_N= ECHO_T=
15878 case `echo -n x` in @%:@(((((
15879 -n*)
15880 case `echo 'xy\c'` in
15881 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15882 xy) ECHO_C='\c';;
15883 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15884 ECHO_T=' ';;
15885 esac;;
15886 *)
15887 ECHO_N='-n';;
15888 esac
15889
15890 rm -f conf$$ conf$$.exe conf$$.file
15891 if test -d conf$$.dir; then
15892 rm -f conf$$.dir/conf$$.file
15893 else
15894 rm -f conf$$.dir
15895 mkdir conf$$.dir 2>/dev/null
15896 fi
15897 if (echo >conf$$.file) 2>/dev/null; then
15898 if ln -s conf$$.file conf$$ 2>/dev/null; then
15899 as_ln_s='ln -s'
15900 # ... but there are two gotchas:
15901 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15902 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15903 # In both cases, we have to default to `cp -pR'.
15904 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15905 as_ln_s='cp -pR'
15906 elif ln conf$$.file conf$$ 2>/dev/null; then
15907 as_ln_s=ln
15908 else
15909 as_ln_s='cp -pR'
15910 fi
15911 else
15912 as_ln_s='cp -pR'
15913 fi
15914 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15915 rmdir conf$$.dir 2>/dev/null
15916
15917
15918 @%:@ as_fn_mkdir_p
15919 @%:@ -------------
15920 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15921 as_fn_mkdir_p ()
15922 {
15923
15924 case $as_dir in #(
15925 -*) as_dir=./$as_dir;;
15926 esac
15927 test -d "$as_dir" || eval $as_mkdir_p || {
15928 as_dirs=
15929 while :; do
15930 case $as_dir in #(
15931 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15932 *) as_qdir=$as_dir;;
15933 esac
15934 as_dirs="'$as_qdir' $as_dirs"
15935 as_dir=`$as_dirname -- "$as_dir" ||
15936 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15937 X"$as_dir" : 'X\(//\)[^/]' \| \
15938 X"$as_dir" : 'X\(//\)$' \| \
15939 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15940 $as_echo X"$as_dir" |
15941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15942 s//\1/
15943 q
15944 }
15945 /^X\(\/\/\)[^/].*/{
15946 s//\1/
15947 q
15948 }
15949 /^X\(\/\/\)$/{
15950 s//\1/
15951 q
15952 }
15953 /^X\(\/\).*/{
15954 s//\1/
15955 q
15956 }
15957 s/.*/./; q'`
15958 test -d "$as_dir" && break
15959 done
15960 test -z "$as_dirs" || eval "mkdir $as_dirs"
15961 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15962
15963
15964 } @%:@ as_fn_mkdir_p
15965 if mkdir -p . 2>/dev/null; then
15966 as_mkdir_p='mkdir -p "$as_dir"'
15967 else
15968 test -d ./-p && rmdir ./-p
15969 as_mkdir_p=false
15970 fi
15971
15972
15973 @%:@ as_fn_executable_p FILE
15974 @%:@ -----------------------
15975 @%:@ Test if FILE is an executable regular file.
15976 as_fn_executable_p ()
15977 {
15978 test -f "$1" && test -x "$1"
15979 } @%:@ as_fn_executable_p
15980 as_test_x='test -x'
15981 as_executable_p=as_fn_executable_p
15982
15983 # Sed expression to map a string onto a valid CPP name.
15984 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15985
15986 # Sed expression to map a string onto a valid variable name.
15987 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15988
15989
15990 exec 6>&1
15991 ## ----------------------------------- ##
15992 ## Main body of $CONFIG_STATUS script. ##
15993 ## ----------------------------------- ##
15994 _ASEOF
15995 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15996
15997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15998 # Save the log message, to keep $0 and so on meaningful, and to
15999 # report actual input values of CONFIG_FILES etc. instead of their
16000 # values after options handling.
16001 ac_log="
16002 This file was extended by ibis $as_me 1.5.7, which was
16003 generated by GNU Autoconf 2.69. Invocation command line was
16004
16005 CONFIG_FILES = $CONFIG_FILES
16006 CONFIG_HEADERS = $CONFIG_HEADERS
16007 CONFIG_LINKS = $CONFIG_LINKS
16008 CONFIG_COMMANDS = $CONFIG_COMMANDS
16009 $ $0 $@
16010
16011 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16012 "
16013
16014 _ACEOF
16015
16016 case $ac_config_files in *"
16017 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16018 esac
16019
16020 case $ac_config_headers in *"
16021 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16022 esac
16023
16024
16025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16026 # Files that config.status was made for.
16027 config_files="$ac_config_files"
16028 config_headers="$ac_config_headers"
16029 config_commands="$ac_config_commands"
16030
16031 _ACEOF
16032
16033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16034 ac_cs_usage="\
16035 \`$as_me' instantiates files and other configuration actions
16036 from templates according to the current configuration. Unless the files
16037 and actions are specified as TAGs, all are instantiated by default.
16038
16039 Usage: $0 [OPTION]... [TAG]...
16040
16041 -h, --help print this help, then exit
16042 -V, --version print version number and configuration settings, then exit
16043 --config print configuration, then exit
16044 -q, --quiet, --silent
16045 do not print progress messages
16046 -d, --debug don't remove temporary files
16047 --recheck update $as_me by reconfiguring in the same conditions
16048 --file=FILE[:TEMPLATE]
16049 instantiate the configuration file FILE
16050 --header=FILE[:TEMPLATE]
16051 instantiate the configuration header FILE
16052
16053 Configuration files:
16054 $config_files
16055
16056 Configuration headers:
16057 $config_headers
16058
16059 Configuration commands:
16060 $config_commands
16061
16062 Report bugs to the package provider."
16063
16064 _ACEOF
16065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16066 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16067 ac_cs_version="\\
16068 ibis config.status 1.5.7
16069 configured by $0, generated by GNU Autoconf 2.69,
16070 with options \\"\$ac_cs_config\\"
16071
16072 Copyright (C) 2012 Free Software Foundation, Inc.
16073 This config.status script is free software; the Free Software Foundation
16074 gives unlimited permission to copy, distribute and modify it."
16075
16076 ac_pwd='$ac_pwd'
16077 srcdir='$srcdir'
16078 INSTALL='$INSTALL'
16079 MKDIR_P='$MKDIR_P'
16080 AWK='$AWK'
16081 test -n "\$AWK" || AWK=awk
16082 _ACEOF
16083
16084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16085 # The default lists apply if the user does not specify any file.
16086 ac_need_defaults=:
16087 while test $# != 0
16088 do
16089 case $1 in
16090 --*=?*)
16091 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16092 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16093 ac_shift=:
16094 ;;
16095 --*=)
16096 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16097 ac_optarg=
16098 ac_shift=:
16099 ;;
16100 *)
16101 ac_option=$1
16102 ac_optarg=$2
16103 ac_shift=shift
16104 ;;
16105 esac
16106
16107 case $ac_option in
16108 # Handling of the options.
16109 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16110 ac_cs_recheck=: ;;
16111 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16112 $as_echo "$ac_cs_version"; exit ;;
16113 --config | --confi | --conf | --con | --co | --c )
16114 $as_echo "$ac_cs_config"; exit ;;
16115 --debug | --debu | --deb | --de | --d | -d )
16116 debug=: ;;
16117 --file | --fil | --fi | --f )
16118 $ac_shift
16119 case $ac_optarg in
16120 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16121 '') as_fn_error $? "missing file argument" ;;
16122 esac
16123 as_fn_append CONFIG_FILES " '$ac_optarg'"
16124 ac_need_defaults=false;;
16125 --header | --heade | --head | --hea )
16126 $ac_shift
16127 case $ac_optarg in
16128 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16129 esac
16130 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16131 ac_need_defaults=false;;
16132 --he | --h)
16133 # Conflict between --help and --header
16134 as_fn_error $? "ambiguous option: \`$1'
16135 Try \`$0 --help' for more information.";;
16136 --help | --hel | -h )
16137 $as_echo "$ac_cs_usage"; exit ;;
16138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16139 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16140 ac_cs_silent=: ;;
16141
16142 # This is an error.
16143 -*) as_fn_error $? "unrecognized option: \`$1'
16144 Try \`$0 --help' for more information." ;;
16145
16146 *) as_fn_append ac_config_targets " $1"
16147 ac_need_defaults=false ;;
16148
16149 esac
16150 shift
16151 done
16152
16153 ac_configure_extra_args=
16154
16155 if $ac_cs_silent; then
16156 exec 6>/dev/null
16157 ac_configure_extra_args="$ac_configure_extra_args --silent"
16158 fi
16159
16160 _ACEOF
16161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16162 if \$ac_cs_recheck; then
16163 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16164 shift
16165 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16166 CONFIG_SHELL='$SHELL'
16167 export CONFIG_SHELL
16168 exec "\$@"
16169 fi
16170
16171 _ACEOF
16172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16173 exec 5>>config.log
16174 {
16175 echo
16176 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16177 @%:@@%:@ Running $as_me. @%:@@%:@
16178 _ASBOX
16179 $as_echo "$ac_log"
16180 } >&5
16181
16182 _ACEOF
16183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16184 #
16185 # INIT-COMMANDS
16186 #
16187 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16188
16189
16190 # The HP-UX ksh and POSIX shell print the target directory to stdout
16191 # if CDPATH is set.
16192 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16193
16194 sed_quote_subst='$sed_quote_subst'
16195 double_quote_subst='$double_quote_subst'
16196 delay_variable_subst='$delay_variable_subst'
16197 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16198 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16199 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16200 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16201 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16202 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16203 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16204 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16205 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16206 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16207 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16208 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16209 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16210 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16211 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16212 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16213 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16214 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16215 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16216 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16217 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16218 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16219 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16220 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16221 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16222 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16223 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16224 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16225 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16226 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16227 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16228 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16229 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16230 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16231 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16232 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16233 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16234 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16235 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16236 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16237 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16238 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16239 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16240 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16241 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16242 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16243 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16244 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16245 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16246 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16247 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16248 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16249 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16250 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16251 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16252 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16253 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16254 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16255 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16256 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16257 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16258 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16259 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16260 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16261 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16262 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16263 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16264 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16265 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16266 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16267 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16268 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16269 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16270 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16271 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16272 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16273 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16274 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16275 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16276 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16277 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16278 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16279 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16280 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16281 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16282 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16283 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16284 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16285 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16286 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16287 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16288 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16289 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16290 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16291 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16292 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16293 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16294 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16295 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16296 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16297 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16298 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16299 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16300 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16301 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16302 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16303 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16304 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16305 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16306 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16307 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16308 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16309 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16310 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16311 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16312 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16313 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16314 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16315 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16316 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16317 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16318 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16319 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16320 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16321 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16322 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16323 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16324 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16325 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16326 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16327 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16328 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16329 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16330 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16331 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16332 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16333 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16334 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16335 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16336 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16337 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16338 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16339 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16340 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16341 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16342 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16343 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16344 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16345 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16346 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16347 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16348 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16349 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16350 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16351 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16352 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16353 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16354 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16355 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16356 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16357 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16358 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16359 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16360 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16361 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16362 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16363 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16364 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16365 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16366 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16367 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16368
16369 LTCC='$LTCC'
16370 LTCFLAGS='$LTCFLAGS'
16371 compiler='$compiler_DEFAULT'
16372
16373 # Quote evaled strings.
16374 for var in SED \
16375 GREP \
16376 EGREP \
16377 FGREP \
16378 LD \
16379 NM \
16380 LN_S \
16381 lt_SP2NL \
16382 lt_NL2SP \
16383 reload_flag \
16384 OBJDUMP \
16385 deplibs_check_method \
16386 file_magic_cmd \
16387 AR \
16388 AR_FLAGS \
16389 STRIP \
16390 RANLIB \
16391 CC \
16392 CFLAGS \
16393 compiler \
16394 lt_cv_sys_global_symbol_pipe \
16395 lt_cv_sys_global_symbol_to_cdecl \
16396 lt_cv_sys_global_symbol_to_c_name_address \
16397 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16398 SHELL \
16399 ECHO \
16400 lt_prog_compiler_no_builtin_flag \
16401 lt_prog_compiler_wl \
16402 lt_prog_compiler_pic \
16403 lt_prog_compiler_static \
16404 lt_cv_prog_compiler_c_o \
16405 need_locks \
16406 DSYMUTIL \
16407 NMEDIT \
16408 LIPO \
16409 OTOOL \
16410 OTOOL64 \
16411 shrext_cmds \
16412 export_dynamic_flag_spec \
16413 whole_archive_flag_spec \
16414 compiler_needs_object \
16415 with_gnu_ld \
16416 allow_undefined_flag \
16417 no_undefined_flag \
16418 hardcode_libdir_flag_spec \
16419 hardcode_libdir_flag_spec_ld \
16420 hardcode_libdir_separator \
16421 fix_srcfile_path \
16422 exclude_expsyms \
16423 include_expsyms \
16424 file_list_spec \
16425 variables_saved_for_relink \
16426 libname_spec \
16427 library_names_spec \
16428 soname_spec \
16429 finish_eval \
16430 old_striplib \
16431 striplib \
16432 compiler_lib_search_dirs \
16433 predep_objects \
16434 postdep_objects \
16435 predeps \
16436 postdeps \
16437 compiler_lib_search_path \
16438 LD_CXX \
16439 compiler_CXX \
16440 lt_prog_compiler_no_builtin_flag_CXX \
16441 lt_prog_compiler_wl_CXX \
16442 lt_prog_compiler_pic_CXX \
16443 lt_prog_compiler_static_CXX \
16444 lt_cv_prog_compiler_c_o_CXX \
16445 export_dynamic_flag_spec_CXX \
16446 whole_archive_flag_spec_CXX \
16447 compiler_needs_object_CXX \
16448 with_gnu_ld_CXX \
16449 allow_undefined_flag_CXX \
16450 no_undefined_flag_CXX \
16451 hardcode_libdir_flag_spec_CXX \
16452 hardcode_libdir_flag_spec_ld_CXX \
16453 hardcode_libdir_separator_CXX \
16454 fix_srcfile_path_CXX \
16455 exclude_expsyms_CXX \
16456 include_expsyms_CXX \
16457 file_list_spec_CXX \
16458 compiler_lib_search_dirs_CXX \
16459 predep_objects_CXX \
16460 postdep_objects_CXX \
16461 predeps_CXX \
16462 postdeps_CXX \
16463 compiler_lib_search_path_CXX; do
16464 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16465 *[\\\\\\\`\\"\\\$]*)
16466 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16467 ;;
16468 *)
16469 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16470 ;;
16471 esac
16472 done
16473
16474 # Double-quote double-evaled strings.
16475 for var in reload_cmds \
16476 old_postinstall_cmds \
16477 old_postuninstall_cmds \
16478 old_archive_cmds \
16479 extract_expsyms_cmds \
16480 old_archive_from_new_cmds \
16481 old_archive_from_expsyms_cmds \
16482 archive_cmds \
16483 archive_expsym_cmds \
16484 module_cmds \
16485 module_expsym_cmds \
16486 export_symbols_cmds \
16487 prelink_cmds \
16488 postinstall_cmds \
16489 postuninstall_cmds \
16490 finish_cmds \
16491 sys_lib_search_path_spec \
16492 sys_lib_dlsearch_path_spec \
16493 old_archive_cmds_CXX \
16494 old_archive_from_new_cmds_CXX \
16495 old_archive_from_expsyms_cmds_CXX \
16496 archive_cmds_CXX \
16497 archive_expsym_cmds_CXX \
16498 module_cmds_CXX \
16499 module_expsym_cmds_CXX \
16500 export_symbols_cmds_CXX \
16501 prelink_cmds_CXX; do
16502 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16503 *[\\\\\\\`\\"\\\$]*)
16504 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16505 ;;
16506 *)
16507 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16508 ;;
16509 esac
16510 done
16511
16512 # Fix-up fallback echo if it was mangled by the above quoting rules.
16513 case \$lt_ECHO in
16514 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16515 ;;
16516 esac
16517
16518 ac_aux_dir='$ac_aux_dir'
16519 xsi_shell='$xsi_shell'
16520 lt_shell_append='$lt_shell_append'
16521
16522 # See if we are running on zsh, and set the options which allow our
16523 # commands through without removal of \ escapes INIT.
16524 if test -n "\${ZSH_VERSION+set}" ; then
16525 setopt NO_GLOB_SUBST
16526 fi
16527
16528
16529 PACKAGE='$PACKAGE'
16530 VERSION='$VERSION'
16531 TIMESTAMP='$TIMESTAMP'
16532 RM='$RM'
16533 ofile='$ofile'
16534
16535
16536
16537
16538
16539
16540 _ACEOF
16541
16542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16543
16544 # Handling of arguments.
16545 for ac_config_target in $ac_config_targets
16546 do
16547 case $ac_config_target in
16548 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16549 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16550 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16551 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16552 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16553 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16554 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16555
16556 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16557 esac
16558 done
16559
16560
16561 # If the user did not use the arguments to specify the items to instantiate,
16562 # then the envvar interface is used. Set only those that are not.
16563 # We use the long form for the default assignment because of an extremely
16564 # bizarre bug on SunOS 4.1.3.
16565 if $ac_need_defaults; then
16566 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16567 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16568 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16569 fi
16570
16571 # Have a temporary directory for convenience. Make it in the build tree
16572 # simply because there is no reason against having it here, and in addition,
16573 # creating and moving files from /tmp can sometimes cause problems.
16574 # Hook for its removal unless debugging.
16575 # Note that there is a small window in which the directory will not be cleaned:
16576 # after its creation but before its name has been assigned to `$tmp'.
16577 $debug ||
16578 {
16579 tmp= ac_tmp=
16580 trap 'exit_status=$?
16581 : "${ac_tmp:=$tmp}"
16582 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16583 ' 0
16584 trap 'as_fn_exit 1' 1 2 13 15
16585 }
16586 # Create a (secure) tmp directory for tmp files.
16587
16588 {
16589 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16590 test -d "$tmp"
16591 } ||
16592 {
16593 tmp=./conf$$-$RANDOM
16594 (umask 077 && mkdir "$tmp")
16595 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16596 ac_tmp=$tmp
16597
16598 # Set up the scripts for CONFIG_FILES section.
16599 # No need to generate them if there are no CONFIG_FILES.
16600 # This happens for instance with `./config.status config.h'.
16601 if test -n "$CONFIG_FILES"; then
16602
16603
16604 ac_cr=`echo X | tr X '\015'`
16605 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16606 # But we know of no other shell where ac_cr would be empty at this
16607 # point, so we can use a bashism as a fallback.
16608 if test "x$ac_cr" = x; then
16609 eval ac_cr=\$\'\\r\'
16610 fi
16611 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16612 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16613 ac_cs_awk_cr='\\r'
16614 else
16615 ac_cs_awk_cr=$ac_cr
16616 fi
16617
16618 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16619 _ACEOF
16620
16621
16622 {
16623 echo "cat >conf$$subs.awk <<_ACEOF" &&
16624 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16625 echo "_ACEOF"
16626 } >conf$$subs.sh ||
16627 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16628 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16629 ac_delim='%!_!# '
16630 for ac_last_try in false false false false false :; do
16631 . ./conf$$subs.sh ||
16632 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16633
16634 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16635 if test $ac_delim_n = $ac_delim_num; then
16636 break
16637 elif $ac_last_try; then
16638 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16639 else
16640 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16641 fi
16642 done
16643 rm -f conf$$subs.sh
16644
16645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16646 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16647 _ACEOF
16648 sed -n '
16649 h
16650 s/^/S["/; s/!.*/"]=/
16651 p
16652 g
16653 s/^[^!]*!//
16654 :repl
16655 t repl
16656 s/'"$ac_delim"'$//
16657 t delim
16658 :nl
16659 h
16660 s/\(.\{148\}\)..*/\1/
16661 t more1
16662 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16663 p
16664 n
16665 b repl
16666 :more1
16667 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16668 p
16669 g
16670 s/.\{148\}//
16671 t nl
16672 :delim
16673 h
16674 s/\(.\{148\}\)..*/\1/
16675 t more2
16676 s/["\\]/\\&/g; s/^/"/; s/$/"/
16677 p
16678 b
16679 :more2
16680 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16681 p
16682 g
16683 s/.\{148\}//
16684 t delim
16685 ' <conf$$subs.awk | sed '
16686 /^[^""]/{
16687 N
16688 s/\n//
16689 }
16690 ' >>$CONFIG_STATUS || ac_write_fail=1
16691 rm -f conf$$subs.awk
16692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16693 _ACAWK
16694 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16695 for (key in S) S_is_set[key] = 1
16696 FS = ""
16697
16698 }
16699 {
16700 line = $ 0
16701 nfields = split(line, field, "@")
16702 substed = 0
16703 len = length(field[1])
16704 for (i = 2; i < nfields; i++) {
16705 key = field[i]
16706 keylen = length(key)
16707 if (S_is_set[key]) {
16708 value = S[key]
16709 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16710 len += length(value) + length(field[++i])
16711 substed = 1
16712 } else
16713 len += 1 + keylen
16714 }
16715
16716 print line
16717 }
16718
16719 _ACAWK
16720 _ACEOF
16721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16722 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16723 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16724 else
16725 cat
16726 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16727 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16728 _ACEOF
16729
16730 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16731 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16732 # trailing colons and then remove the whole line if VPATH becomes empty
16733 # (actually we leave an empty line to preserve line numbers).
16734 if test "x$srcdir" = x.; then
16735 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16736 h
16737 s///
16738 s/^/:/
16739 s/[ ]*$/:/
16740 s/:\$(srcdir):/:/g
16741 s/:\${srcdir}:/:/g
16742 s/:@srcdir@:/:/g
16743 s/^:*//
16744 s/:*$//
16745 x
16746 s/\(=[ ]*\).*/\1/
16747 G
16748 s/\n//
16749 s/^[^=]*=[ ]*$//
16750 }'
16751 fi
16752
16753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16754 fi # test -n "$CONFIG_FILES"
16755
16756 # Set up the scripts for CONFIG_HEADERS section.
16757 # No need to generate them if there are no CONFIG_HEADERS.
16758 # This happens for instance with `./config.status Makefile'.
16759 if test -n "$CONFIG_HEADERS"; then
16760 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16761 BEGIN {
16762 _ACEOF
16763
16764 # Transform confdefs.h into an awk script `defines.awk', embedded as
16765 # here-document in config.status, that substitutes the proper values into
16766 # config.h.in to produce config.h.
16767
16768 # Create a delimiter string that does not exist in confdefs.h, to ease
16769 # handling of long lines.
16770 ac_delim='%!_!# '
16771 for ac_last_try in false false :; do
16772 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16773 if test -z "$ac_tt"; then
16774 break
16775 elif $ac_last_try; then
16776 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16777 else
16778 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16779 fi
16780 done
16781
16782 # For the awk script, D is an array of macro values keyed by name,
16783 # likewise P contains macro parameters if any. Preserve backslash
16784 # newline sequences.
16785
16786 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16787 sed -n '
16788 s/.\{148\}/&'"$ac_delim"'/g
16789 t rset
16790 :rset
16791 s/^[ ]*#[ ]*define[ ][ ]*/ /
16792 t def
16793 d
16794 :def
16795 s/\\$//
16796 t bsnl
16797 s/["\\]/\\&/g
16798 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16799 D["\1"]=" \3"/p
16800 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16801 d
16802 :bsnl
16803 s/["\\]/\\&/g
16804 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16805 D["\1"]=" \3\\\\\\n"\\/p
16806 t cont
16807 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16808 t cont
16809 d
16810 :cont
16811 n
16812 s/.\{148\}/&'"$ac_delim"'/g
16813 t clear
16814 :clear
16815 s/\\$//
16816 t bsnlc
16817 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16818 d
16819 :bsnlc
16820 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16821 b cont
16822 ' <confdefs.h | sed '
16823 s/'"$ac_delim"'/"\\\
16824 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16825
16826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16827 for (key in D) D_is_set[key] = 1
16828 FS = ""
16829 }
16830 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16831 line = \$ 0
16832 split(line, arg, " ")
16833 if (arg[1] == "#") {
16834 defundef = arg[2]
16835 mac1 = arg[3]
16836 } else {
16837 defundef = substr(arg[1], 2)
16838 mac1 = arg[2]
16839 }
16840 split(mac1, mac2, "(") #)
16841 macro = mac2[1]
16842 prefix = substr(line, 1, index(line, defundef) - 1)
16843 if (D_is_set[macro]) {
16844 # Preserve the white space surrounding the "#".
16845 print prefix "define", macro P[macro] D[macro]
16846 next
16847 } else {
16848 # Replace #undef with comments. This is necessary, for example,
16849 # in the case of _POSIX_SOURCE, which is predefined and required
16850 # on some systems where configure will not decide to define it.
16851 if (defundef == "undef") {
16852 print "/*", prefix defundef, macro, "*/"
16853 next
16854 }
16855 }
16856 }
16857 { print }
16858 _ACAWK
16859 _ACEOF
16860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16861 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16862 fi # test -n "$CONFIG_HEADERS"
16863
16864
16865 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16866 shift
16867 for ac_tag
16868 do
16869 case $ac_tag in
16870 :[FHLC]) ac_mode=$ac_tag; continue;;
16871 esac
16872 case $ac_mode$ac_tag in
16873 :[FHL]*:*);;
16874 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16875 :[FH]-) ac_tag=-:-;;
16876 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16877 esac
16878 ac_save_IFS=$IFS
16879 IFS=:
16880 set x $ac_tag
16881 IFS=$ac_save_IFS
16882 shift
16883 ac_file=$1
16884 shift
16885
16886 case $ac_mode in
16887 :L) ac_source=$1;;
16888 :[FH])
16889 ac_file_inputs=
16890 for ac_f
16891 do
16892 case $ac_f in
16893 -) ac_f="$ac_tmp/stdin";;
16894 *) # Look for the file first in the build tree, then in the source tree
16895 # (if the path is not absolute). The absolute path cannot be DOS-style,
16896 # because $ac_f cannot contain `:'.
16897 test -f "$ac_f" ||
16898 case $ac_f in
16899 [\\/$]*) false;;
16900 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16901 esac ||
16902 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16903 esac
16904 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16905 as_fn_append ac_file_inputs " '$ac_f'"
16906 done
16907
16908 # Let's still pretend it is `configure' which instantiates (i.e., don't
16909 # use $as_me), people would be surprised to read:
16910 # /* config.h. Generated by config.status. */
16911 configure_input='Generated from '`
16912 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16913 `' by configure.'
16914 if test x"$ac_file" != x-; then
16915 configure_input="$ac_file. $configure_input"
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16917 $as_echo "$as_me: creating $ac_file" >&6;}
16918 fi
16919 # Neutralize special characters interpreted by sed in replacement strings.
16920 case $configure_input in #(
16921 *\&* | *\|* | *\\* )
16922 ac_sed_conf_input=`$as_echo "$configure_input" |
16923 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16924 *) ac_sed_conf_input=$configure_input;;
16925 esac
16926
16927 case $ac_tag in
16928 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16929 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16930 esac
16931 ;;
16932 esac
16933
16934 ac_dir=`$as_dirname -- "$ac_file" ||
16935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16936 X"$ac_file" : 'X\(//\)[^/]' \| \
16937 X"$ac_file" : 'X\(//\)$' \| \
16938 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16939 $as_echo X"$ac_file" |
16940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16941 s//\1/
16942 q
16943 }
16944 /^X\(\/\/\)[^/].*/{
16945 s//\1/
16946 q
16947 }
16948 /^X\(\/\/\)$/{
16949 s//\1/
16950 q
16951 }
16952 /^X\(\/\).*/{
16953 s//\1/
16954 q
16955 }
16956 s/.*/./; q'`
16957 as_dir="$ac_dir"; as_fn_mkdir_p
16958 ac_builddir=.
16959
16960 case "$ac_dir" in
16961 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16962 *)
16963 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16964 # A ".." for each directory in $ac_dir_suffix.
16965 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16966 case $ac_top_builddir_sub in
16967 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16968 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16969 esac ;;
16970 esac
16971 ac_abs_top_builddir=$ac_pwd
16972 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16973 # for backward compatibility:
16974 ac_top_builddir=$ac_top_build_prefix
16975
16976 case $srcdir in
16977 .) # We are building in place.
16978 ac_srcdir=.
16979 ac_top_srcdir=$ac_top_builddir_sub
16980 ac_abs_top_srcdir=$ac_pwd ;;
16981 [\\/]* | ?:[\\/]* ) # Absolute name.
16982 ac_srcdir=$srcdir$ac_dir_suffix;
16983 ac_top_srcdir=$srcdir
16984 ac_abs_top_srcdir=$srcdir ;;
16985 *) # Relative name.
16986 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16987 ac_top_srcdir=$ac_top_build_prefix$srcdir
16988 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16989 esac
16990 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16991
16992
16993 case $ac_mode in
16994 :F)
16995 #
16996 # CONFIG_FILE
16997 #
16998
16999 case $INSTALL in
17000 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17001 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17002 esac
17003 ac_MKDIR_P=$MKDIR_P
17004 case $MKDIR_P in
17005 [\\/$]* | ?:[\\/]* ) ;;
17006 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17007 esac
17008 _ACEOF
17009
17010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17011 # If the template does not know about datarootdir, expand it.
17012 # FIXME: This hack should be removed a few years after 2.60.
17013 ac_datarootdir_hack=; ac_datarootdir_seen=
17014 ac_sed_dataroot='
17015 /datarootdir/ {
17016 p
17017 q
17018 }
17019 /@datadir@/p
17020 /@docdir@/p
17021 /@infodir@/p
17022 /@localedir@/p
17023 /@mandir@/p'
17024 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17025 *datarootdir*) ac_datarootdir_seen=yes;;
17026 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17028 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17029 _ACEOF
17030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17031 ac_datarootdir_hack='
17032 s&@datadir@&$datadir&g
17033 s&@docdir@&$docdir&g
17034 s&@infodir@&$infodir&g
17035 s&@localedir@&$localedir&g
17036 s&@mandir@&$mandir&g
17037 s&\\\${datarootdir}&$datarootdir&g' ;;
17038 esac
17039 _ACEOF
17040
17041 # Neutralize VPATH when `$srcdir' = `.'.
17042 # Shell code in configure.ac might set extrasub.
17043 # FIXME: do we really want to maintain this feature?
17044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17045 ac_sed_extra="$ac_vpsub
17046 $extrasub
17047 _ACEOF
17048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17049 :t
17050 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17051 s|@configure_input@|$ac_sed_conf_input|;t t
17052 s&@top_builddir@&$ac_top_builddir_sub&;t t
17053 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17054 s&@srcdir@&$ac_srcdir&;t t
17055 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17056 s&@top_srcdir@&$ac_top_srcdir&;t t
17057 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17058 s&@builddir@&$ac_builddir&;t t
17059 s&@abs_builddir@&$ac_abs_builddir&;t t
17060 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17061 s&@INSTALL@&$ac_INSTALL&;t t
17062 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17063 $ac_datarootdir_hack
17064 "
17065 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17066 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17067
17068 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17069 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17070 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17071 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17073 which seems to be undefined. Please make sure it is defined" >&5
17074 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17075 which seems to be undefined. Please make sure it is defined" >&2;}
17076
17077 rm -f "$ac_tmp/stdin"
17078 case $ac_file in
17079 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17080 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17081 esac \
17082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17083 ;;
17084 :H)
17085 #
17086 # CONFIG_HEADER
17087 #
17088 if test x"$ac_file" != x-; then
17089 {
17090 $as_echo "/* $configure_input */" \
17091 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17092 } >"$ac_tmp/config.h" \
17093 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17094 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17096 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17097 else
17098 rm -f "$ac_file"
17099 mv "$ac_tmp/config.h" "$ac_file" \
17100 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17101 fi
17102 else
17103 $as_echo "/* $configure_input */" \
17104 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17105 || as_fn_error $? "could not create -" "$LINENO" 5
17106 fi
17107 # Compute "$ac_file"'s index in $config_headers.
17108 _am_arg="$ac_file"
17109 _am_stamp_count=1
17110 for _am_header in $config_headers :; do
17111 case $_am_header in
17112 $_am_arg | $_am_arg:* )
17113 break ;;
17114 * )
17115 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17116 esac
17117 done
17118 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17119 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17120 X"$_am_arg" : 'X\(//\)[^/]' \| \
17121 X"$_am_arg" : 'X\(//\)$' \| \
17122 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17123 $as_echo X"$_am_arg" |
17124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17125 s//\1/
17126 q
17127 }
17128 /^X\(\/\/\)[^/].*/{
17129 s//\1/
17130 q
17131 }
17132 /^X\(\/\/\)$/{
17133 s//\1/
17134 q
17135 }
17136 /^X\(\/\).*/{
17137 s//\1/
17138 q
17139 }
17140 s/.*/./; q'`/stamp-h$_am_stamp_count
17141 ;;
17142
17143 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17144 $as_echo "$as_me: executing $ac_file commands" >&6;}
17145 ;;
17146 esac
17147
17148
17149 case $ac_file$ac_mode in
17150 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17151 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17152 # are listed without --file. Let's play safe and only enable the eval
17153 # if we detect the quoting.
17154 case $CONFIG_FILES in
17155 *\'*) eval set x "$CONFIG_FILES" ;;
17156 *) set x $CONFIG_FILES ;;
17157 esac
17158 shift
17159 for mf
17160 do
17161 # Strip MF so we end up with the name of the file.
17162 mf=`echo "$mf" | sed -e 's/:.*$//'`
17163 # Check whether this is an Automake generated Makefile or not.
17164 # We used to match only the files named `Makefile.in', but
17165 # some people rename them; so instead we look at the file content.
17166 # Grep'ing the first line is not enough: some people post-process
17167 # each Makefile.in and add a new line on top of each file to say so.
17168 # Grep'ing the whole file is not good either: AIX grep has a line
17169 # limit of 2048, but all sed's we know have understand at least 4000.
17170 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17171 dirpart=`$as_dirname -- "$mf" ||
17172 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17173 X"$mf" : 'X\(//\)[^/]' \| \
17174 X"$mf" : 'X\(//\)$' \| \
17175 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17176 $as_echo X"$mf" |
17177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17178 s//\1/
17179 q
17180 }
17181 /^X\(\/\/\)[^/].*/{
17182 s//\1/
17183 q
17184 }
17185 /^X\(\/\/\)$/{
17186 s//\1/
17187 q
17188 }
17189 /^X\(\/\).*/{
17190 s//\1/
17191 q
17192 }
17193 s/.*/./; q'`
17194 else
17195 continue
17196 fi
17197 # Extract the definition of DEPDIR, am__include, and am__quote
17198 # from the Makefile without running `make'.
17199 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17200 test -z "$DEPDIR" && continue
17201 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17202 test -z "am__include" && continue
17203 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17204 # When using ansi2knr, U may be empty or an underscore; expand it
17205 U=`sed -n 's/^U = //p' < "$mf"`
17206 # Find all dependency output files, they are included files with
17207 # $(DEPDIR) in their names. We invoke sed twice because it is the
17208 # simplest approach to changing $(DEPDIR) to its actual value in the
17209 # expansion.
17210 for file in `sed -n "
17211 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17212 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17213 # Make sure the directory exists.
17214 test -f "$dirpart/$file" && continue
17215 fdir=`$as_dirname -- "$file" ||
17216 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17217 X"$file" : 'X\(//\)[^/]' \| \
17218 X"$file" : 'X\(//\)$' \| \
17219 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17220 $as_echo X"$file" |
17221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17222 s//\1/
17223 q
17224 }
17225 /^X\(\/\/\)[^/].*/{
17226 s//\1/
17227 q
17228 }
17229 /^X\(\/\/\)$/{
17230 s//\1/
17231 q
17232 }
17233 /^X\(\/\).*/{
17234 s//\1/
17235 q
17236 }
17237 s/.*/./; q'`
17238 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17239 # echo "creating $dirpart/$file"
17240 echo '# dummy' > "$dirpart/$file"
17241 done
17242 done
17243 }
17244 ;;
17245 "libtool":C)
17246
17247 # See if we are running on zsh, and set the options which allow our
17248 # commands through without removal of \ escapes.
17249 if test -n "${ZSH_VERSION+set}" ; then
17250 setopt NO_GLOB_SUBST
17251 fi
17252
17253 cfgfile="${ofile}T"
17254 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17255 $RM "$cfgfile"
17256
17257 cat <<_LT_EOF >> "$cfgfile"
17258 #! $SHELL
17259
17260 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17261 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17262 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17263 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17264 #
17265 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17266 # 2006, 2007, 2008 Free Software Foundation, Inc.
17267 # Written by Gordon Matzigkeit, 1996
17268 #
17269 # This file is part of GNU Libtool.
17270 #
17271 # GNU Libtool is free software; you can redistribute it and/or
17272 # modify it under the terms of the GNU General Public License as
17273 # published by the Free Software Foundation; either version 2 of
17274 # the License, or (at your option) any later version.
17275 #
17276 # As a special exception to the GNU General Public License,
17277 # if you distribute this file as part of a program or library that
17278 # is built using GNU Libtool, you may include this file under the
17279 # same distribution terms that you use for the rest of that program.
17280 #
17281 # GNU Libtool is distributed in the hope that it will be useful,
17282 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17283 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17284 # GNU General Public License for more details.
17285 #
17286 # You should have received a copy of the GNU General Public License
17287 # along with GNU Libtool; see the file COPYING. If not, a copy
17288 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17289 # obtained by writing to the Free Software Foundation, Inc.,
17290 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17291
17292
17293 # The names of the tagged configurations supported by this script.
17294 available_tags="CXX "
17295
17296 # ### BEGIN LIBTOOL CONFIG
17297
17298 # Which release of libtool.m4 was used?
17299 macro_version=$macro_version
17300 macro_revision=$macro_revision
17301
17302 # Whether or not to build shared libraries.
17303 build_libtool_libs=$enable_shared
17304
17305 # Whether or not to build static libraries.
17306 build_old_libs=$enable_static
17307
17308 # What type of objects to build.
17309 pic_mode=$pic_mode
17310
17311 # Whether or not to optimize for fast installation.
17312 fast_install=$enable_fast_install
17313
17314 # The host system.
17315 host_alias=$host_alias
17316 host=$host
17317 host_os=$host_os
17318
17319 # The build system.
17320 build_alias=$build_alias
17321 build=$build
17322 build_os=$build_os
17323
17324 # A sed program that does not truncate output.
17325 SED=$lt_SED
17326
17327 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17328 Xsed="\$SED -e 1s/^X//"
17329
17330 # A grep program that handles long lines.
17331 GREP=$lt_GREP
17332
17333 # An ERE matcher.
17334 EGREP=$lt_EGREP
17335
17336 # A literal string matcher.
17337 FGREP=$lt_FGREP
17338
17339 # A BSD- or MS-compatible name lister.
17340 NM=$lt_NM
17341
17342 # Whether we need soft or hard links.
17343 LN_S=$lt_LN_S
17344
17345 # What is the maximum length of a command?
17346 max_cmd_len=$max_cmd_len
17347
17348 # Object file suffix (normally "o").
17349 objext=$ac_objext
17350
17351 # Executable file suffix (normally "").
17352 exeext=$exeext
17353
17354 # whether the shell understands "unset".
17355 lt_unset=$lt_unset
17356
17357 # turn spaces into newlines.
17358 SP2NL=$lt_lt_SP2NL
17359
17360 # turn newlines into spaces.
17361 NL2SP=$lt_lt_NL2SP
17362
17363 # How to create reloadable object files.
17364 reload_flag=$lt_reload_flag
17365 reload_cmds=$lt_reload_cmds
17366
17367 # An object symbol dumper.
17368 OBJDUMP=$lt_OBJDUMP
17369
17370 # Method to check whether dependent libraries are shared objects.
17371 deplibs_check_method=$lt_deplibs_check_method
17372
17373 # Command to use when deplibs_check_method == "file_magic".
17374 file_magic_cmd=$lt_file_magic_cmd
17375
17376 # The archiver.
17377 AR=$lt_AR
17378 AR_FLAGS=$lt_AR_FLAGS
17379
17380 # A symbol stripping program.
17381 STRIP=$lt_STRIP
17382
17383 # Commands used to install an old-style archive.
17384 RANLIB=$lt_RANLIB
17385 old_postinstall_cmds=$lt_old_postinstall_cmds
17386 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17387
17388 # A C compiler.
17389 LTCC=$lt_CC
17390
17391 # LTCC compiler flags.
17392 LTCFLAGS=$lt_CFLAGS
17393
17394 # Take the output of nm and produce a listing of raw symbols and C names.
17395 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17396
17397 # Transform the output of nm in a proper C declaration.
17398 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17399
17400 # Transform the output of nm in a C name address pair.
17401 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17402
17403 # Transform the output of nm in a C name address pair when lib prefix is needed.
17404 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17405
17406 # The name of the directory that contains temporary libtool files.
17407 objdir=$objdir
17408
17409 # Shell to use when invoking shell scripts.
17410 SHELL=$lt_SHELL
17411
17412 # An echo program that does not interpret backslashes.
17413 ECHO=$lt_ECHO
17414
17415 # Used to examine libraries when file_magic_cmd begins with "file".
17416 MAGIC_CMD=$MAGIC_CMD
17417
17418 # Must we lock files when doing compilation?
17419 need_locks=$lt_need_locks
17420
17421 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17422 DSYMUTIL=$lt_DSYMUTIL
17423
17424 # Tool to change global to local symbols on Mac OS X.
17425 NMEDIT=$lt_NMEDIT
17426
17427 # Tool to manipulate fat objects and archives on Mac OS X.
17428 LIPO=$lt_LIPO
17429
17430 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17431 OTOOL=$lt_OTOOL
17432
17433 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17434 OTOOL64=$lt_OTOOL64
17435
17436 # Old archive suffix (normally "a").
17437 libext=$libext
17438
17439 # Shared library suffix (normally ".so").
17440 shrext_cmds=$lt_shrext_cmds
17441
17442 # The commands to extract the exported symbol list from a shared archive.
17443 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17444
17445 # Variables whose values should be saved in libtool wrapper scripts and
17446 # restored at link time.
17447 variables_saved_for_relink=$lt_variables_saved_for_relink
17448
17449 # Do we need the "lib" prefix for modules?
17450 need_lib_prefix=$need_lib_prefix
17451
17452 # Do we need a version for libraries?
17453 need_version=$need_version
17454
17455 # Library versioning type.
17456 version_type=$version_type
17457
17458 # Shared library runtime path variable.
17459 runpath_var=$runpath_var
17460
17461 # Shared library path variable.
17462 shlibpath_var=$shlibpath_var
17463
17464 # Is shlibpath searched before the hard-coded library search path?
17465 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17466
17467 # Format of library name prefix.
17468 libname_spec=$lt_libname_spec
17469
17470 # List of archive names. First name is the real one, the rest are links.
17471 # The last name is the one that the linker finds with -lNAME
17472 library_names_spec=$lt_library_names_spec
17473
17474 # The coded name of the library, if different from the real name.
17475 soname_spec=$lt_soname_spec
17476
17477 # Command to use after installation of a shared archive.
17478 postinstall_cmds=$lt_postinstall_cmds
17479
17480 # Command to use after uninstallation of a shared archive.
17481 postuninstall_cmds=$lt_postuninstall_cmds
17482
17483 # Commands used to finish a libtool library installation in a directory.
17484 finish_cmds=$lt_finish_cmds
17485
17486 # As "finish_cmds", except a single script fragment to be evaled but
17487 # not shown.
17488 finish_eval=$lt_finish_eval
17489
17490 # Whether we should hardcode library paths into libraries.
17491 hardcode_into_libs=$hardcode_into_libs
17492
17493 # Compile-time system search path for libraries.
17494 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17495
17496 # Run-time system search path for libraries.
17497 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17498
17499 # Whether dlopen is supported.
17500 dlopen_support=$enable_dlopen
17501
17502 # Whether dlopen of programs is supported.
17503 dlopen_self=$enable_dlopen_self
17504
17505 # Whether dlopen of statically linked programs is supported.
17506 dlopen_self_static=$enable_dlopen_self_static
17507
17508 # Commands to strip libraries.
17509 old_striplib=$lt_old_striplib
17510 striplib=$lt_striplib
17511
17512
17513 # The linker used to build libraries.
17514 LD=$lt_LD
17515
17516 # Commands used to build an old-style archive.
17517 old_archive_cmds=$lt_old_archive_cmds
17518
17519 # A language specific compiler.
17520 CC=$lt_compiler
17521
17522 # Is the compiler the GNU compiler?
17523 with_gcc=$GCC
17524
17525 # Compiler flag to turn off builtin functions.
17526 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17527
17528 # How to pass a linker flag through the compiler.
17529 wl=$lt_lt_prog_compiler_wl
17530
17531 # Additional compiler flags for building library objects.
17532 pic_flag=$lt_lt_prog_compiler_pic
17533
17534 # Compiler flag to prevent dynamic linking.
17535 link_static_flag=$lt_lt_prog_compiler_static
17536
17537 # Does compiler simultaneously support -c and -o options?
17538 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17539
17540 # Whether or not to add -lc for building shared libraries.
17541 build_libtool_need_lc=$archive_cmds_need_lc
17542
17543 # Whether or not to disallow shared libs when runtime libs are static.
17544 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17545
17546 # Compiler flag to allow reflexive dlopens.
17547 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17548
17549 # Compiler flag to generate shared objects directly from archives.
17550 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17551
17552 # Whether the compiler copes with passing no objects directly.
17553 compiler_needs_object=$lt_compiler_needs_object
17554
17555 # Create an old-style archive from a shared archive.
17556 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17557
17558 # Create a temporary old-style archive to link instead of a shared archive.
17559 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17560
17561 # Commands used to build a shared archive.
17562 archive_cmds=$lt_archive_cmds
17563 archive_expsym_cmds=$lt_archive_expsym_cmds
17564
17565 # Commands used to build a loadable module if different from building
17566 # a shared archive.
17567 module_cmds=$lt_module_cmds
17568 module_expsym_cmds=$lt_module_expsym_cmds
17569
17570 # Whether we are building with GNU ld or not.
17571 with_gnu_ld=$lt_with_gnu_ld
17572
17573 # Flag that allows shared libraries with undefined symbols to be built.
17574 allow_undefined_flag=$lt_allow_undefined_flag
17575
17576 # Flag that enforces no undefined symbols.
17577 no_undefined_flag=$lt_no_undefined_flag
17578
17579 # Flag to hardcode \$libdir into a binary during linking.
17580 # This must work even if \$libdir does not exist
17581 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17582
17583 # If ld is used when linking, flag to hardcode \$libdir into a binary
17584 # during linking. This must work even if \$libdir does not exist.
17585 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17586
17587 # Whether we need a single "-rpath" flag with a separated argument.
17588 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17589
17590 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17591 # DIR into the resulting binary.
17592 hardcode_direct=$hardcode_direct
17593
17594 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17595 # DIR into the resulting binary and the resulting library dependency is
17596 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17597 # library is relocated.
17598 hardcode_direct_absolute=$hardcode_direct_absolute
17599
17600 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17601 # into the resulting binary.
17602 hardcode_minus_L=$hardcode_minus_L
17603
17604 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17605 # into the resulting binary.
17606 hardcode_shlibpath_var=$hardcode_shlibpath_var
17607
17608 # Set to "yes" if building a shared library automatically hardcodes DIR
17609 # into the library and all subsequent libraries and executables linked
17610 # against it.
17611 hardcode_automatic=$hardcode_automatic
17612
17613 # Set to yes if linker adds runtime paths of dependent libraries
17614 # to runtime path list.
17615 inherit_rpath=$inherit_rpath
17616
17617 # Whether libtool must link a program against all its dependency libraries.
17618 link_all_deplibs=$link_all_deplibs
17619
17620 # Fix the shell variable \$srcfile for the compiler.
17621 fix_srcfile_path=$lt_fix_srcfile_path
17622
17623 # Set to "yes" if exported symbols are required.
17624 always_export_symbols=$always_export_symbols
17625
17626 # The commands to list exported symbols.
17627 export_symbols_cmds=$lt_export_symbols_cmds
17628
17629 # Symbols that should not be listed in the preloaded symbols.
17630 exclude_expsyms=$lt_exclude_expsyms
17631
17632 # Symbols that must always be exported.
17633 include_expsyms=$lt_include_expsyms
17634
17635 # Commands necessary for linking programs (against libraries) with templates.
17636 prelink_cmds=$lt_prelink_cmds
17637
17638 # Specify filename containing input files.
17639 file_list_spec=$lt_file_list_spec
17640
17641 # How to hardcode a shared library path into an executable.
17642 hardcode_action=$hardcode_action
17643
17644 # The directories searched by this compiler when creating a shared library.
17645 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17646
17647 # Dependencies to place before and after the objects being linked to
17648 # create a shared library.
17649 predep_objects=$lt_predep_objects
17650 postdep_objects=$lt_postdep_objects
17651 predeps=$lt_predeps
17652 postdeps=$lt_postdeps
17653
17654 # The library search path used internally by the compiler when linking
17655 # a shared library.
17656 compiler_lib_search_path=$lt_compiler_lib_search_path
17657
17658 # ### END LIBTOOL CONFIG
17659
17660 _LT_EOF
17661
17662 case $host_os in
17663 aix3*)
17664 cat <<\_LT_EOF >> "$cfgfile"
17665 # AIX sometimes has problems with the GCC collect2 program. For some
17666 # reason, if we set the COLLECT_NAMES environment variable, the problems
17667 # vanish in a puff of smoke.
17668 if test "X${COLLECT_NAMES+set}" != Xset; then
17669 COLLECT_NAMES=
17670 export COLLECT_NAMES
17671 fi
17672 _LT_EOF
17673 ;;
17674 esac
17675
17676
17677 ltmain="$ac_aux_dir/ltmain.sh"
17678
17679
17680 # We use sed instead of cat because bash on DJGPP gets confused if
17681 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17682 # text mode, it properly converts lines to CR/LF. This bash problem
17683 # is reportedly fixed, but why not run on old versions too?
17684 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17685 || (rm -f "$cfgfile"; exit 1)
17686
17687 case $xsi_shell in
17688 yes)
17689 cat << \_LT_EOF >> "$cfgfile"
17690
17691 # func_dirname file append nondir_replacement
17692 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17693 # otherwise set result to NONDIR_REPLACEMENT.
17694 func_dirname ()
17695 {
17696 case ${1} in
17697 */*) func_dirname_result="${1%/*}${2}" ;;
17698 * ) func_dirname_result="${3}" ;;
17699 esac
17700 }
17701
17702 # func_basename file
17703 func_basename ()
17704 {
17705 func_basename_result="${1##*/}"
17706 }
17707
17708 # func_dirname_and_basename file append nondir_replacement
17709 # perform func_basename and func_dirname in a single function
17710 # call:
17711 # dirname: Compute the dirname of FILE. If nonempty,
17712 # add APPEND to the result, otherwise set result
17713 # to NONDIR_REPLACEMENT.
17714 # value returned in "$func_dirname_result"
17715 # basename: Compute filename of FILE.
17716 # value retuned in "$func_basename_result"
17717 # Implementation must be kept synchronized with func_dirname
17718 # and func_basename. For efficiency, we do not delegate to
17719 # those functions but instead duplicate the functionality here.
17720 func_dirname_and_basename ()
17721 {
17722 case ${1} in
17723 */*) func_dirname_result="${1%/*}${2}" ;;
17724 * ) func_dirname_result="${3}" ;;
17725 esac
17726 func_basename_result="${1##*/}"
17727 }
17728
17729 # func_stripname prefix suffix name
17730 # strip PREFIX and SUFFIX off of NAME.
17731 # PREFIX and SUFFIX must not contain globbing or regex special
17732 # characters, hashes, percent signs, but SUFFIX may contain a leading
17733 # dot (in which case that matches only a dot).
17734 func_stripname ()
17735 {
17736 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17737 # positional parameters, so assign one to ordinary parameter first.
17738 func_stripname_result=${3}
17739 func_stripname_result=${func_stripname_result#"${1}"}
17740 func_stripname_result=${func_stripname_result%"${2}"}
17741 }
17742
17743 # func_opt_split
17744 func_opt_split ()
17745 {
17746 func_opt_split_opt=${1%%=*}
17747 func_opt_split_arg=${1#*=}
17748 }
17749
17750 # func_lo2o object
17751 func_lo2o ()
17752 {
17753 case ${1} in
17754 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17755 *) func_lo2o_result=${1} ;;
17756 esac
17757 }
17758
17759 # func_xform libobj-or-source
17760 func_xform ()
17761 {
17762 func_xform_result=${1%.*}.lo
17763 }
17764
17765 # func_arith arithmetic-term...
17766 func_arith ()
17767 {
17768 func_arith_result=$(( $* ))
17769 }
17770
17771 # func_len string
17772 # STRING may not start with a hyphen.
17773 func_len ()
17774 {
17775 func_len_result=${#1}
17776 }
17777
17778 _LT_EOF
17779 ;;
17780 *) # Bourne compatible functions.
17781 cat << \_LT_EOF >> "$cfgfile"
17782
17783 # func_dirname file append nondir_replacement
17784 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17785 # otherwise set result to NONDIR_REPLACEMENT.
17786 func_dirname ()
17787 {
17788 # Extract subdirectory from the argument.
17789 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17790 if test "X$func_dirname_result" = "X${1}"; then
17791 func_dirname_result="${3}"
17792 else
17793 func_dirname_result="$func_dirname_result${2}"
17794 fi
17795 }
17796
17797 # func_basename file
17798 func_basename ()
17799 {
17800 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17801 }
17802
17803
17804 # func_stripname prefix suffix name
17805 # strip PREFIX and SUFFIX off of NAME.
17806 # PREFIX and SUFFIX must not contain globbing or regex special
17807 # characters, hashes, percent signs, but SUFFIX may contain a leading
17808 # dot (in which case that matches only a dot).
17809 # func_strip_suffix prefix name
17810 func_stripname ()
17811 {
17812 case ${2} in
17813 .*) func_stripname_result=`$ECHO "X${3}" \
17814 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17815 *) func_stripname_result=`$ECHO "X${3}" \
17816 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17817 esac
17818 }
17819
17820 # sed scripts:
17821 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17822 my_sed_long_arg='1s/^-[^=]*=//'
17823
17824 # func_opt_split
17825 func_opt_split ()
17826 {
17827 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17828 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17829 }
17830
17831 # func_lo2o object
17832 func_lo2o ()
17833 {
17834 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17835 }
17836
17837 # func_xform libobj-or-source
17838 func_xform ()
17839 {
17840 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17841 }
17842
17843 # func_arith arithmetic-term...
17844 func_arith ()
17845 {
17846 func_arith_result=`expr "$@"`
17847 }
17848
17849 # func_len string
17850 # STRING may not start with a hyphen.
17851 func_len ()
17852 {
17853 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17854 }
17855
17856 _LT_EOF
17857 esac
17858
17859 case $lt_shell_append in
17860 yes)
17861 cat << \_LT_EOF >> "$cfgfile"
17862
17863 # func_append var value
17864 # Append VALUE to the end of shell variable VAR.
17865 func_append ()
17866 {
17867 eval "$1+=\$2"
17868 }
17869 _LT_EOF
17870 ;;
17871 *)
17872 cat << \_LT_EOF >> "$cfgfile"
17873
17874 # func_append var value
17875 # Append VALUE to the end of shell variable VAR.
17876 func_append ()
17877 {
17878 eval "$1=\$$1\$2"
17879 }
17880
17881 _LT_EOF
17882 ;;
17883 esac
17884
17885
17886 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17887 || (rm -f "$cfgfile"; exit 1)
17888
17889 mv -f "$cfgfile" "$ofile" ||
17890 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17891 chmod +x "$ofile"
17892
17893
17894 cat <<_LT_EOF >> "$ofile"
17895
17896 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17897
17898 # The linker used to build libraries.
17899 LD=$lt_LD_CXX
17900
17901 # Commands used to build an old-style archive.
17902 old_archive_cmds=$lt_old_archive_cmds_CXX
17903
17904 # A language specific compiler.
17905 CC=$lt_compiler_CXX
17906
17907 # Is the compiler the GNU compiler?
17908 with_gcc=$GCC_CXX
17909
17910 # Compiler flag to turn off builtin functions.
17911 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17912
17913 # How to pass a linker flag through the compiler.
17914 wl=$lt_lt_prog_compiler_wl_CXX
17915
17916 # Additional compiler flags for building library objects.
17917 pic_flag=$lt_lt_prog_compiler_pic_CXX
17918
17919 # Compiler flag to prevent dynamic linking.
17920 link_static_flag=$lt_lt_prog_compiler_static_CXX
17921
17922 # Does compiler simultaneously support -c and -o options?
17923 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17924
17925 # Whether or not to add -lc for building shared libraries.
17926 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17927
17928 # Whether or not to disallow shared libs when runtime libs are static.
17929 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17930
17931 # Compiler flag to allow reflexive dlopens.
17932 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17933
17934 # Compiler flag to generate shared objects directly from archives.
17935 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17936
17937 # Whether the compiler copes with passing no objects directly.
17938 compiler_needs_object=$lt_compiler_needs_object_CXX
17939
17940 # Create an old-style archive from a shared archive.
17941 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17942
17943 # Create a temporary old-style archive to link instead of a shared archive.
17944 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17945
17946 # Commands used to build a shared archive.
17947 archive_cmds=$lt_archive_cmds_CXX
17948 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17949
17950 # Commands used to build a loadable module if different from building
17951 # a shared archive.
17952 module_cmds=$lt_module_cmds_CXX
17953 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17954
17955 # Whether we are building with GNU ld or not.
17956 with_gnu_ld=$lt_with_gnu_ld_CXX
17957
17958 # Flag that allows shared libraries with undefined symbols to be built.
17959 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17960
17961 # Flag that enforces no undefined symbols.
17962 no_undefined_flag=$lt_no_undefined_flag_CXX
17963
17964 # Flag to hardcode \$libdir into a binary during linking.
17965 # This must work even if \$libdir does not exist
17966 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17967
17968 # If ld is used when linking, flag to hardcode \$libdir into a binary
17969 # during linking. This must work even if \$libdir does not exist.
17970 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17971
17972 # Whether we need a single "-rpath" flag with a separated argument.
17973 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17974
17975 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17976 # DIR into the resulting binary.
17977 hardcode_direct=$hardcode_direct_CXX
17978
17979 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17980 # DIR into the resulting binary and the resulting library dependency is
17981 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17982 # library is relocated.
17983 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17984
17985 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17986 # into the resulting binary.
17987 hardcode_minus_L=$hardcode_minus_L_CXX
17988
17989 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17990 # into the resulting binary.
17991 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17992
17993 # Set to "yes" if building a shared library automatically hardcodes DIR
17994 # into the library and all subsequent libraries and executables linked
17995 # against it.
17996 hardcode_automatic=$hardcode_automatic_CXX
17997
17998 # Set to yes if linker adds runtime paths of dependent libraries
17999 # to runtime path list.
18000 inherit_rpath=$inherit_rpath_CXX
18001
18002 # Whether libtool must link a program against all its dependency libraries.
18003 link_all_deplibs=$link_all_deplibs_CXX
18004
18005 # Fix the shell variable \$srcfile for the compiler.
18006 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18007
18008 # Set to "yes" if exported symbols are required.
18009 always_export_symbols=$always_export_symbols_CXX
18010
18011 # The commands to list exported symbols.
18012 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18013
18014 # Symbols that should not be listed in the preloaded symbols.
18015 exclude_expsyms=$lt_exclude_expsyms_CXX
18016
18017 # Symbols that must always be exported.
18018 include_expsyms=$lt_include_expsyms_CXX
18019
18020 # Commands necessary for linking programs (against libraries) with templates.
18021 prelink_cmds=$lt_prelink_cmds_CXX
18022
18023 # Specify filename containing input files.
18024 file_list_spec=$lt_file_list_spec_CXX
18025
18026 # How to hardcode a shared library path into an executable.
18027 hardcode_action=$hardcode_action_CXX
18028
18029 # The directories searched by this compiler when creating a shared library.
18030 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18031
18032 # Dependencies to place before and after the objects being linked to
18033 # create a shared library.
18034 predep_objects=$lt_predep_objects_CXX
18035 postdep_objects=$lt_postdep_objects_CXX
18036 predeps=$lt_predeps_CXX
18037 postdeps=$lt_postdeps_CXX
18038
18039 # The library search path used internally by the compiler when linking
18040 # a shared library.
18041 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18042
18043 # ### END LIBTOOL TAG CONFIG: CXX
18044 _LT_EOF
18045
18046 ;;
18047
18048 esac
18049 done # for ac_tag
18050
18051
18052 as_fn_exit 0
18053 _ACEOF
18054 ac_clean_files=$ac_clean_files_save
18055
18056 test $ac_write_fail = 0 ||
18057 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18058
18059
18060 # configure is writing to config.log, and then calls config.status.
18061 # config.status does its own redirection, appending to config.log.
18062 # Unfortunately, on DOS this fails, as config.log is still kept open
18063 # by configure, so config.status won't be able to write to it; its
18064 # output is simply discarded. So we exec the FD to /dev/null,
18065 # effectively closing config.log, so it can be properly (re)opened and
18066 # appended to by config.status. When coming back to configure, we
18067 # need to make the FD available again.
18068 if test "$no_create" != yes; then
18069 ac_cs_success=:
18070 ac_config_status_args=
18071 test "$silent" = yes &&
18072 ac_config_status_args="$ac_config_status_args --quiet"
18073 exec 5>/dev/null
18074 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18075 exec 5>>config.log
18076 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18077 # would make configure fail if this is the last instruction.
18078 $ac_cs_success || as_fn_exit 1
18079 fi
18080 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18082 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18083 fi
18084
18085
+0
-18082
ibis/autom4te.cache/output.1 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.69 for ibis 1.5.7.
3 @%:@
4 @%:@
5 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 @%:@
7 @%:@
8 @%:@ This configure script is free software; the Free Software Foundation
9 @%:@ gives unlimited permission to copy, distribute and modify it.
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 emulate sh
18 NULLCMD=:
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in @%:@(
25 *posix*) :
26 set -o posix ;; @%:@(
27 *) :
28 ;;
29 esac
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in @%:@(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
70
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
78 fi
79
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
87
88 # Find who we are. Look in the path if we contain no directory separator.
89 as_myself=
90 case $0 in @%:@((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in @%:@ ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in @%:@(
169 *posix*) :
170 set -o posix ;; @%:@(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198 test \$(( 1 + 1 )) = 2 || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in @%:@(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in @%:@ ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
270 fi
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 @%:@ as_fn_unset VAR
285 @%:@ ---------------
286 @%:@ Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 @%:@ as_fn_set_status STATUS
294 @%:@ -----------------------
295 @%:@ Set @S|@? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } @%:@ as_fn_set_status
300
301 @%:@ as_fn_exit STATUS
302 @%:@ -----------------
303 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } @%:@ as_fn_exit
310
311 @%:@ as_fn_mkdir_p
312 @%:@ -------------
313 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } @%:@ as_fn_mkdir_p
358
359 @%:@ as_fn_executable_p FILE
360 @%:@ -----------------------
361 @%:@ Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } @%:@ as_fn_executable_p
366 @%:@ as_fn_append VAR VALUE
367 @%:@ ----------------------
368 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
369 @%:@ advantage of any shell optimizations that allow amortized linear growth over
370 @%:@ repeated appends, instead of the typical quadratic growth present in naive
371 @%:@ implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 @%:@ as_fn_arith ARG...
385 @%:@ ------------------
386 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
387 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
388 @%:@ must be portable across @S|@(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
403 @%:@ ----------------------------------------
404 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 @%:@ script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } @%:@ as_fn_error
417
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
423 fi
424
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
429 fi
430
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
455
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
478 N
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
497 }
498
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in @%:@(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
508 *)
509 ECHO_N='-n';;
510 esac
511
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
538
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
544 fi
545
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
548
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556
557 # Check that we are running under the correct shell.
558 SHELL=${CONFIG_SHELL-/bin/sh}
559
560 case X$lt_ECHO in
561 X*--fallback-echo)
562 # Remove one level of quotation (which was required for Make).
563 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 ;;
565 esac
566
567 ECHO=${lt_ECHO-echo}
568 if test "X$1" = X--no-reexec; then
569 # Discard the --no-reexec flag, and continue.
570 shift
571 elif test "X$1" = X--fallback-echo; then
572 # Avoid inline document here, it may be left over
573 :
574 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
575 # Yippee, $ECHO works!
576 :
577 else
578 # Restart under the correct shell.
579 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 fi
581
582 if test "X$1" = X--fallback-echo; then
583 # used as fallback echo
584 shift
585 cat <<_LT_EOF
586 $*
587 _LT_EOF
588 exit 0
589 fi
590
591 # The HP-UX ksh and POSIX shell print the target directory to stdout
592 # if CDPATH is set.
593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
594
595 if test -z "$lt_ECHO"; then
596 if test "X${echo_test_string+set}" != Xset; then
597 # find a string as large as possible, as long as the shell can cope with it
598 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
599 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
600 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
601 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
602 then
603 break
604 fi
605 done
606 fi
607
608 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
609 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
611 :
612 else
613 # The Solaris, AIX, and Digital Unix default echo programs unquote
614 # backslashes. This makes it impossible to quote backslashes using
615 # echo "$something" | sed 's/\\/\\\\/g'
616 #
617 # So, first we look for a working echo in the user's PATH.
618
619 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
620 for dir in $PATH /usr/ucb; do
621 IFS="$lt_save_ifs"
622 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
623 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
626 ECHO="$dir/echo"
627 break
628 fi
629 done
630 IFS="$lt_save_ifs"
631
632 if test "X$ECHO" = Xecho; then
633 # We didn't find a better echo, so look for alternatives.
634 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
635 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 # This shell has a builtin print -r that does the trick.
638 ECHO='print -r'
639 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
640 test "X$CONFIG_SHELL" != X/bin/ksh; then
641 # If we have ksh, try running configure again with it.
642 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
643 export ORIGINAL_CONFIG_SHELL
644 CONFIG_SHELL=/bin/ksh
645 export CONFIG_SHELL
646 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 else
648 # Try using printf.
649 ECHO='printf %s\n'
650 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
651 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
653 # Cool, printf works
654 :
655 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
656 test "X$echo_testing_string" = 'X\t' &&
657 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
660 export CONFIG_SHELL
661 SHELL="$CONFIG_SHELL"
662 export SHELL
663 ECHO="$CONFIG_SHELL $0 --fallback-echo"
664 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
665 test "X$echo_testing_string" = 'X\t' &&
666 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
667 test "X$echo_testing_string" = "X$echo_test_string"; then
668 ECHO="$CONFIG_SHELL $0 --fallback-echo"
669 else
670 # maybe with a smaller string...
671 prev=:
672
673 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
674 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
675 then
676 break
677 fi
678 prev="$cmd"
679 done
680
681 if test "$prev" != 'sed 50q "$0"'; then
682 echo_test_string=`eval $prev`
683 export echo_test_string
684 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 else
686 # Oops. We lost completely, so just stick with echo.
687 ECHO=echo
688 fi
689 fi
690 fi
691 fi
692 fi
693 fi
694
695 # Copy echo and quote the copy suitably for passing to libtool from
696 # the Makefile, instead of quoting the original, which is used later.
697 lt_ECHO=$ECHO
698 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
699 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
700 fi
701
702
703
704
705 test -n "$DJDIR" || exec 7<&0 </dev/null
706 exec 6>&1
707
708 # Name of the host.
709 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
713 #
714 # Initializations.
715 #
716 ac_default_prefix=/usr/local
717 ac_clean_files=
718 ac_config_libobj_dir=.
719 LIB@&t@OBJS=
720 cross_compiling=no
721 subdirs=
722 MFLAGS=
723 MAKEFLAGS=
724
725 # Identity of this package.
726 PACKAGE_NAME='ibis'
727 PACKAGE_TARNAME='ibis'
728 PACKAGE_VERSION='1.5.7'
729 PACKAGE_STRING='ibis 1.5.7'
730 PACKAGE_BUGREPORT=''
731 PACKAGE_URL=''
732
733 ac_unique_file="src/ibis_api.h"
734 # Factoring default headers for most tests.
735 ac_includes_default="\
736 #include <stdio.h>
737 #ifdef HAVE_SYS_TYPES_H
738 # include <sys/types.h>
739 #endif
740 #ifdef HAVE_SYS_STAT_H
741 # include <sys/stat.h>
742 #endif
743 #ifdef STDC_HEADERS
744 # include <stdlib.h>
745 # include <stddef.h>
746 #else
747 # ifdef HAVE_STDLIB_H
748 # include <stdlib.h>
749 # endif
750 #endif
751 #ifdef HAVE_STRING_H
752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753 # include <memory.h>
754 # endif
755 # include <string.h>
756 #endif
757 #ifdef HAVE_STRINGS_H
758 # include <strings.h>
759 #endif
760 #ifdef HAVE_INTTYPES_H
761 # include <inttypes.h>
762 #endif
763 #ifdef HAVE_STDINT_H
764 # include <stdint.h>
765 #endif
766 #ifdef HAVE_UNISTD_H
767 # include <unistd.h>
768 #endif"
769
770 ac_subst_vars='am__EXEEXT_FALSE
771 am__EXEEXT_TRUE
772 LTLIBOBJS
773 LIB@&t@OBJS
774 OSM_BUILD
775 OSM_VENDOR
776 OSM_LDFLAGS
777 OSM_CFLAGS
778 with_osm
779 OSM_BUILD_OPENIB_FALSE
780 OSM_BUILD_OPENIB_TRUE
781 OSM_VENDOR_SIM_FALSE
782 OSM_VENDOR_SIM_TRUE
783 OSM_VENDOR_MTL_FALSE
784 OSM_VENDOR_MTL_TRUE
785 OSM_VENDOR_TS_FALSE
786 OSM_VENDOR_TS_TRUE
787 DEBUG_FALSE
788 DEBUG_TRUE
789 TCL_PREFIX
790 TCL_CPPFLAGS
791 TCL_LIBS
792 TCL_DEFS
793 TCLSH
794 CXXCPP
795 OTOOL64
796 OTOOL
797 LIPO
798 NMEDIT
799 DSYMUTIL
800 lt_ECHO
801 RANLIB
802 AR
803 OBJDUMP
804 NM
805 ac_ct_DUMPBIN
806 DUMPBIN
807 LD
808 FGREP
809 EGREP
810 GREP
811 SED
812 host_os
813 host_vendor
814 host_cpu
815 host
816 build_os
817 build_vendor
818 build_cpu
819 build
820 LIBTOOL
821 CPP
822 am__fastdepCC_FALSE
823 am__fastdepCC_TRUE
824 CCDEPMODE
825 ac_ct_CC
826 CFLAGS
827 CC
828 am__fastdepCXX_FALSE
829 am__fastdepCXX_TRUE
830 CXXDEPMODE
831 AMDEPBACKSLASH
832 AMDEP_FALSE
833 AMDEP_TRUE
834 am__quote
835 am__include
836 DEPDIR
837 OBJEXT
838 EXEEXT
839 ac_ct_CXX
840 CPPFLAGS
841 LDFLAGS
842 CXXFLAGS
843 CXX
844 SWIG_LIB
845 HAS_SWIG_FALSE
846 HAS_SWIG_TRUE
847 SWIG
848 LN_S
849 MAINT
850 MAINTAINER_MODE_FALSE
851 MAINTAINER_MODE_TRUE
852 am__untar
853 am__tar
854 AMTAR
855 am__leading_dot
856 SET_MAKE
857 AWK
858 mkdir_p
859 MKDIR_P
860 INSTALL_STRIP_PROGRAM
861 STRIP
862 install_sh
863 MAKEINFO
864 AUTOHEADER
865 AUTOMAKE
866 AUTOCONF
867 ACLOCAL
868 VERSION
869 PACKAGE
870 CYGPATH_W
871 am__isrc
872 INSTALL_DATA
873 INSTALL_SCRIPT
874 INSTALL_PROGRAM
875 target_alias
876 host_alias
877 build_alias
878 LIBS
879 ECHO_T
880 ECHO_N
881 ECHO_C
882 DEFS
883 mandir
884 localedir
885 libdir
886 psdir
887 pdfdir
888 dvidir
889 htmldir
890 infodir
891 docdir
892 oldincludedir
893 includedir
894 localstatedir
895 sharedstatedir
896 sysconfdir
897 datadir
898 datarootdir
899 libexecdir
900 sbindir
901 bindir
902 program_transform_name
903 prefix
904 exec_prefix
905 PACKAGE_URL
906 PACKAGE_BUGREPORT
907 PACKAGE_STRING
908 PACKAGE_VERSION
909 PACKAGE_TARNAME
910 PACKAGE_NAME
911 PATH_SEPARATOR
912 SHELL'
913 ac_subst_files=''
914 ac_user_opts='
915 enable_option_checking
916 enable_maintainer_mode
917 enable_dependency_tracking
918 enable_shared
919 enable_static
920 with_pic
921 enable_fast_install
922 with_gnu_ld
923 enable_libtool_lock
924 enable_libcheck
925 with_tclconfig
926 with_tcl
927 with_tclsh
928 enable_debug
929 with_osm
930 with_osm_libs
931 '
932 ac_precious_vars='build_alias
933 host_alias
934 target_alias
935 CXX
936 CXXFLAGS
937 LDFLAGS
938 LIBS
939 CPPFLAGS
940 CCC
941 CC
942 CFLAGS
943 CPP
944 CXXCPP'
945
946
947 # Initialize some variables set by options.
948 ac_init_help=
949 ac_init_version=false
950 ac_unrecognized_opts=
951 ac_unrecognized_sep=
952 # The variables have the same names as the options, with
953 # dashes changed to underlines.
954 cache_file=/dev/null
955 exec_prefix=NONE
956 no_create=
957 no_recursion=
958 prefix=NONE
959 program_prefix=NONE
960 program_suffix=NONE
961 program_transform_name=s,x,x,
962 silent=
963 site=
964 srcdir=
965 verbose=
966 x_includes=NONE
967 x_libraries=NONE
968
969 # Installation directory options.
970 # These are left unexpanded so users can "make install exec_prefix=/foo"
971 # and all the variables that are supposed to be based on exec_prefix
972 # by default will actually change.
973 # Use braces instead of parens because sh, perl, etc. also accept them.
974 # (The list follows the same order as the GNU Coding Standards.)
975 bindir='${exec_prefix}/bin'
976 sbindir='${exec_prefix}/sbin'
977 libexecdir='${exec_prefix}/libexec'
978 datarootdir='${prefix}/share'
979 datadir='${datarootdir}'
980 sysconfdir='${prefix}/etc'
981 sharedstatedir='${prefix}/com'
982 localstatedir='${prefix}/var'
983 includedir='${prefix}/include'
984 oldincludedir='/usr/include'
985 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
986 infodir='${datarootdir}/info'
987 htmldir='${docdir}'
988 dvidir='${docdir}'
989 pdfdir='${docdir}'
990 psdir='${docdir}'
991 libdir='${exec_prefix}/lib'
992 localedir='${datarootdir}/locale'
993 mandir='${datarootdir}/man'
994
995 ac_prev=
996 ac_dashdash=
997 for ac_option
998 do
999 # If the previous option needs an argument, assign it.
1000 if test -n "$ac_prev"; then
1001 eval $ac_prev=\$ac_option
1002 ac_prev=
1003 continue
1004 fi
1005
1006 case $ac_option in
1007 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1008 *=) ac_optarg= ;;
1009 *) ac_optarg=yes ;;
1010 esac
1011
1012 # Accept the important Cygnus configure options, so we can diagnose typos.
1013
1014 case $ac_dashdash$ac_option in
1015 --)
1016 ac_dashdash=yes ;;
1017
1018 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1019 ac_prev=bindir ;;
1020 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1021 bindir=$ac_optarg ;;
1022
1023 -build | --build | --buil | --bui | --bu)
1024 ac_prev=build_alias ;;
1025 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1026 build_alias=$ac_optarg ;;
1027
1028 -cache-file | --cache-file | --cache-fil | --cache-fi \
1029 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1030 ac_prev=cache_file ;;
1031 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1032 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1033 cache_file=$ac_optarg ;;
1034
1035 --config-cache | -C)
1036 cache_file=config.cache ;;
1037
1038 -datadir | --datadir | --datadi | --datad)
1039 ac_prev=datadir ;;
1040 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1041 datadir=$ac_optarg ;;
1042
1043 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1044 | --dataroo | --dataro | --datar)
1045 ac_prev=datarootdir ;;
1046 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1047 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1048 datarootdir=$ac_optarg ;;
1049
1050 -disable-* | --disable-*)
1051 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054 as_fn_error $? "invalid feature name: $ac_useropt"
1055 ac_useropt_orig=$ac_useropt
1056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1058 *"
1059 "enable_$ac_useropt"
1060 "*) ;;
1061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1062 ac_unrecognized_sep=', ';;
1063 esac
1064 eval enable_$ac_useropt=no ;;
1065
1066 -docdir | --docdir | --docdi | --doc | --do)
1067 ac_prev=docdir ;;
1068 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1069 docdir=$ac_optarg ;;
1070
1071 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1072 ac_prev=dvidir ;;
1073 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1074 dvidir=$ac_optarg ;;
1075
1076 -enable-* | --enable-*)
1077 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080 as_fn_error $? "invalid feature name: $ac_useropt"
1081 ac_useropt_orig=$ac_useropt
1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1084 *"
1085 "enable_$ac_useropt"
1086 "*) ;;
1087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1088 ac_unrecognized_sep=', ';;
1089 esac
1090 eval enable_$ac_useropt=\$ac_optarg ;;
1091
1092 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1093 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1094 | --exec | --exe | --ex)
1095 ac_prev=exec_prefix ;;
1096 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1097 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1098 | --exec=* | --exe=* | --ex=*)
1099 exec_prefix=$ac_optarg ;;
1100
1101 -gas | --gas | --ga | --g)
1102 # Obsolete; use --with-gas.
1103 with_gas=yes ;;
1104
1105 -help | --help | --hel | --he | -h)
1106 ac_init_help=long ;;
1107 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1108 ac_init_help=recursive ;;
1109 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1110 ac_init_help=short ;;
1111
1112 -host | --host | --hos | --ho)
1113 ac_prev=host_alias ;;
1114 -host=* | --host=* | --hos=* | --ho=*)
1115 host_alias=$ac_optarg ;;
1116
1117 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1118 ac_prev=htmldir ;;
1119 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1120 | --ht=*)
1121 htmldir=$ac_optarg ;;
1122
1123 -includedir | --includedir | --includedi | --included | --include \
1124 | --includ | --inclu | --incl | --inc)
1125 ac_prev=includedir ;;
1126 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1127 | --includ=* | --inclu=* | --incl=* | --inc=*)
1128 includedir=$ac_optarg ;;
1129
1130 -infodir | --infodir | --infodi | --infod | --info | --inf)
1131 ac_prev=infodir ;;
1132 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1133 infodir=$ac_optarg ;;
1134
1135 -libdir | --libdir | --libdi | --libd)
1136 ac_prev=libdir ;;
1137 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1138 libdir=$ac_optarg ;;
1139
1140 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1141 | --libexe | --libex | --libe)
1142 ac_prev=libexecdir ;;
1143 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1144 | --libexe=* | --libex=* | --libe=*)
1145 libexecdir=$ac_optarg ;;
1146
1147 -localedir | --localedir | --localedi | --localed | --locale)
1148 ac_prev=localedir ;;
1149 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1150 localedir=$ac_optarg ;;
1151
1152 -localstatedir | --localstatedir | --localstatedi | --localstated \
1153 | --localstate | --localstat | --localsta | --localst | --locals)
1154 ac_prev=localstatedir ;;
1155 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1156 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1157 localstatedir=$ac_optarg ;;
1158
1159 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1160 ac_prev=mandir ;;
1161 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1162 mandir=$ac_optarg ;;
1163
1164 -nfp | --nfp | --nf)
1165 # Obsolete; use --without-fp.
1166 with_fp=no ;;
1167
1168 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1169 | --no-cr | --no-c | -n)
1170 no_create=yes ;;
1171
1172 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1173 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1174 no_recursion=yes ;;
1175
1176 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1177 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1178 | --oldin | --oldi | --old | --ol | --o)
1179 ac_prev=oldincludedir ;;
1180 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1181 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1182 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1183 oldincludedir=$ac_optarg ;;
1184
1185 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1186 ac_prev=prefix ;;
1187 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1188 prefix=$ac_optarg ;;
1189
1190 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1191 | --program-pre | --program-pr | --program-p)
1192 ac_prev=program_prefix ;;
1193 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1194 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1195 program_prefix=$ac_optarg ;;
1196
1197 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1198 | --program-suf | --program-su | --program-s)
1199 ac_prev=program_suffix ;;
1200 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1201 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1202 program_suffix=$ac_optarg ;;
1203
1204 -program-transform-name | --program-transform-name \
1205 | --program-transform-nam | --program-transform-na \
1206 | --program-transform-n | --program-transform- \
1207 | --program-transform | --program-transfor \
1208 | --program-transfo | --program-transf \
1209 | --program-trans | --program-tran \
1210 | --progr-tra | --program-tr | --program-t)
1211 ac_prev=program_transform_name ;;
1212 -program-transform-name=* | --program-transform-name=* \
1213 | --program-transform-nam=* | --program-transform-na=* \
1214 | --program-transform-n=* | --program-transform-=* \
1215 | --program-transform=* | --program-transfor=* \
1216 | --program-transfo=* | --program-transf=* \
1217 | --program-trans=* | --program-tran=* \
1218 | --progr-tra=* | --program-tr=* | --program-t=*)
1219 program_transform_name=$ac_optarg ;;
1220
1221 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1222 ac_prev=pdfdir ;;
1223 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1224 pdfdir=$ac_optarg ;;
1225
1226 -psdir | --psdir | --psdi | --psd | --ps)
1227 ac_prev=psdir ;;
1228 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1229 psdir=$ac_optarg ;;
1230
1231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1232 | -silent | --silent | --silen | --sile | --sil)
1233 silent=yes ;;
1234
1235 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1236 ac_prev=sbindir ;;
1237 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1238 | --sbi=* | --sb=*)
1239 sbindir=$ac_optarg ;;
1240
1241 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1242 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1243 | --sharedst | --shareds | --shared | --share | --shar \
1244 | --sha | --sh)
1245 ac_prev=sharedstatedir ;;
1246 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1247 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1248 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1249 | --sha=* | --sh=*)
1250 sharedstatedir=$ac_optarg ;;
1251
1252 -site | --site | --sit)
1253 ac_prev=site ;;
1254 -site=* | --site=* | --sit=*)
1255 site=$ac_optarg ;;
1256
1257 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1258 ac_prev=srcdir ;;
1259 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1260 srcdir=$ac_optarg ;;
1261
1262 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1263 | --syscon | --sysco | --sysc | --sys | --sy)
1264 ac_prev=sysconfdir ;;
1265 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1266 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1267 sysconfdir=$ac_optarg ;;
1268
1269 -target | --target | --targe | --targ | --tar | --ta | --t)
1270 ac_prev=target_alias ;;
1271 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1272 target_alias=$ac_optarg ;;
1273
1274 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1275 verbose=yes ;;
1276
1277 -version | --version | --versio | --versi | --vers | -V)
1278 ac_init_version=: ;;
1279
1280 -with-* | --with-*)
1281 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1284 as_fn_error $? "invalid package name: $ac_useropt"
1285 ac_useropt_orig=$ac_useropt
1286 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1287 case $ac_user_opts in
1288 *"
1289 "with_$ac_useropt"
1290 "*) ;;
1291 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1292 ac_unrecognized_sep=', ';;
1293 esac
1294 eval with_$ac_useropt=\$ac_optarg ;;
1295
1296 -without-* | --without-*)
1297 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1298 # Reject names that are not valid shell variable names.
1299 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1300 as_fn_error $? "invalid package name: $ac_useropt"
1301 ac_useropt_orig=$ac_useropt
1302 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303 case $ac_user_opts in
1304 *"
1305 "with_$ac_useropt"
1306 "*) ;;
1307 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1308 ac_unrecognized_sep=', ';;
1309 esac
1310 eval with_$ac_useropt=no ;;
1311
1312 --x)
1313 # Obsolete; use --with-x.
1314 with_x=yes ;;
1315
1316 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1317 | --x-incl | --x-inc | --x-in | --x-i)
1318 ac_prev=x_includes ;;
1319 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1320 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1321 x_includes=$ac_optarg ;;
1322
1323 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1324 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1325 ac_prev=x_libraries ;;
1326 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1327 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1328 x_libraries=$ac_optarg ;;
1329
1330 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1331 Try \`$0 --help' for more information"
1332 ;;
1333
1334 *=*)
1335 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1336 # Reject names that are not valid shell variable names.
1337 case $ac_envvar in #(
1338 '' | [0-9]* | *[!_$as_cr_alnum]* )
1339 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1340 esac
1341 eval $ac_envvar=\$ac_optarg
1342 export $ac_envvar ;;
1343
1344 *)
1345 # FIXME: should be removed in autoconf 3.0.
1346 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1347 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1348 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1349 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1350 ;;
1351
1352 esac
1353 done
1354
1355 if test -n "$ac_prev"; then
1356 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1357 as_fn_error $? "missing argument to $ac_option"
1358 fi
1359
1360 if test -n "$ac_unrecognized_opts"; then
1361 case $enable_option_checking in
1362 no) ;;
1363 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1364 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1365 esac
1366 fi
1367
1368 # Check all directory arguments for consistency.
1369 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1370 datadir sysconfdir sharedstatedir localstatedir includedir \
1371 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1372 libdir localedir mandir
1373 do
1374 eval ac_val=\$$ac_var
1375 # Remove trailing slashes.
1376 case $ac_val in
1377 */ )
1378 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1379 eval $ac_var=\$ac_val;;
1380 esac
1381 # Be sure to have absolute directory names.
1382 case $ac_val in
1383 [\\/$]* | ?:[\\/]* ) continue;;
1384 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1385 esac
1386 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1387 done
1388
1389 # There might be people who depend on the old broken behavior: `$host'
1390 # used to hold the argument of --host etc.
1391 # FIXME: To remove some day.
1392 build=$build_alias
1393 host=$host_alias
1394 target=$target_alias
1395
1396 # FIXME: To remove some day.
1397 if test "x$host_alias" != x; then
1398 if test "x$build_alias" = x; then
1399 cross_compiling=maybe
1400 elif test "x$build_alias" != "x$host_alias"; then
1401 cross_compiling=yes
1402 fi
1403 fi
1404
1405 ac_tool_prefix=
1406 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1407
1408 test "$silent" = yes && exec 6>/dev/null
1409
1410
1411 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1412 ac_ls_di=`ls -di .` &&
1413 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1414 as_fn_error $? "working directory cannot be determined"
1415 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1416 as_fn_error $? "pwd does not report name of working directory"
1417
1418
1419 # Find the source files, if location was not specified.
1420 if test -z "$srcdir"; then
1421 ac_srcdir_defaulted=yes
1422 # Try the directory containing this script, then the parent directory.
1423 ac_confdir=`$as_dirname -- "$as_myself" ||
1424 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1425 X"$as_myself" : 'X\(//\)[^/]' \| \
1426 X"$as_myself" : 'X\(//\)$' \| \
1427 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1428 $as_echo X"$as_myself" |
1429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1430 s//\1/
1431 q
1432 }
1433 /^X\(\/\/\)[^/].*/{
1434 s//\1/
1435 q
1436 }
1437 /^X\(\/\/\)$/{
1438 s//\1/
1439 q
1440 }
1441 /^X\(\/\).*/{
1442 s//\1/
1443 q
1444 }
1445 s/.*/./; q'`
1446 srcdir=$ac_confdir
1447 if test ! -r "$srcdir/$ac_unique_file"; then
1448 srcdir=..
1449 fi
1450 else
1451 ac_srcdir_defaulted=no
1452 fi
1453 if test ! -r "$srcdir/$ac_unique_file"; then
1454 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1455 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1456 fi
1457 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1458 ac_abs_confdir=`(
1459 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1460 pwd)`
1461 # When building in place, set srcdir=.
1462 if test "$ac_abs_confdir" = "$ac_pwd"; then
1463 srcdir=.
1464 fi
1465 # Remove unnecessary trailing slashes from srcdir.
1466 # Double slashes in file names in object file debugging info
1467 # mess up M-x gdb in Emacs.
1468 case $srcdir in
1469 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1470 esac
1471 for ac_var in $ac_precious_vars; do
1472 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1473 eval ac_env_${ac_var}_value=\$${ac_var}
1474 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1475 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1476 done
1477
1478 #
1479 # Report the --help message.
1480 #
1481 if test "$ac_init_help" = "long"; then
1482 # Omit some internal or obsolete options to make the list less imposing.
1483 # This message is too long to be a string in the A/UX 3.1 sh.
1484 cat <<_ACEOF
1485 \`configure' configures ibis 1.5.7 to adapt to many kinds of systems.
1486
1487 Usage: $0 [OPTION]... [VAR=VALUE]...
1488
1489 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1490 VAR=VALUE. See below for descriptions of some of the useful variables.
1491
1492 Defaults for the options are specified in brackets.
1493
1494 Configuration:
1495 -h, --help display this help and exit
1496 --help=short display options specific to this package
1497 --help=recursive display the short help of all the included packages
1498 -V, --version display version information and exit
1499 -q, --quiet, --silent do not print \`checking ...' messages
1500 --cache-file=FILE cache test results in FILE [disabled]
1501 -C, --config-cache alias for \`--cache-file=config.cache'
1502 -n, --no-create do not create output files
1503 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1504
1505 Installation directories:
1506 --prefix=PREFIX install architecture-independent files in PREFIX
1507 @<:@@S|@ac_default_prefix@:>@
1508 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1509 @<:@PREFIX@:>@
1510
1511 By default, \`make install' will install all the files in
1512 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1513 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1514 for instance \`--prefix=\$HOME'.
1515
1516 For better control, use the options below.
1517
1518 Fine tuning of the installation directories:
1519 --bindir=DIR user executables [EPREFIX/bin]
1520 --sbindir=DIR system admin executables [EPREFIX/sbin]
1521 --libexecdir=DIR program executables [EPREFIX/libexec]
1522 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1523 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1524 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1525 --libdir=DIR object code libraries [EPREFIX/lib]
1526 --includedir=DIR C header files [PREFIX/include]
1527 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1528 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1529 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1530 --infodir=DIR info documentation [DATAROOTDIR/info]
1531 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1532 --mandir=DIR man documentation [DATAROOTDIR/man]
1533 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ibis@:>@
1534 --htmldir=DIR html documentation [DOCDIR]
1535 --dvidir=DIR dvi documentation [DOCDIR]
1536 --pdfdir=DIR pdf documentation [DOCDIR]
1537 --psdir=DIR ps documentation [DOCDIR]
1538 _ACEOF
1539
1540 cat <<\_ACEOF
1541
1542 Program names:
1543 --program-prefix=PREFIX prepend PREFIX to installed program names
1544 --program-suffix=SUFFIX append SUFFIX to installed program names
1545 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1546
1547 System types:
1548 --build=BUILD configure for building on BUILD [guessed]
1549 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1550 _ACEOF
1551 fi
1552
1553 if test -n "$ac_init_help"; then
1554 case $ac_init_help in
1555 short | recursive ) echo "Configuration of ibis 1.5.7:";;
1556 esac
1557 cat <<\_ACEOF
1558
1559 Optional Features:
1560 --disable-option-checking ignore unrecognized --enable/--with options
1561 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1562 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1563 --enable-maintainer-mode enable make rules and dependencies not useful
1564 (and sometimes confusing) to the casual installer
1565 --disable-dependency-tracking speeds up one-time build
1566 --enable-dependency-tracking do not reject slow dependency extractors
1567 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1568 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1569 --enable-fast-install@<:@=PKGS@:>@
1570 optimize for fast installation @<:@default=yes@:>@
1571 --disable-libtool-lock avoid locking (might break parallel builds)
1572 --enable-libcheck Enable Dependency Checking
1573 --enable-debug Turn on debugging
1574
1575 Optional Packages:
1576 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1577 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1578 --with-pic try to use only PIC/non-PIC objects @<:@default=use
1579 both@:>@
1580 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1581 --with-tclconfig=PATH use tclConfig.sh from PATH
1582 (configure gets Tcl configuration from here)
1583 --with-tcl=PATH use Tcl from PATH
1584 --with-tclsh=TCLSH use TCLSH as the tclsh program
1585 (let configure find Tcl using this program)
1586 --with-osm=<dir> define OSM prefix
1587 --with-osm-libs=<dir> define where to find OSM libs
1588
1589 Some influential environment variables:
1590 CXX C++ compiler command
1591 CXXFLAGS C++ compiler flags
1592 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1593 nonstandard directory <lib dir>
1594 LIBS libraries to pass to the linker, e.g. -l<library>
1595 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1596 you have headers in a nonstandard directory <include dir>
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 CPP C preprocessor
1600 CXXCPP C++ preprocessor
1601
1602 Use these variables to override the choices made by `configure' or to help
1603 it to find libraries and programs with nonstandard names/locations.
1604
1605 Report bugs to the package provider.
1606 _ACEOF
1607 ac_status=$?
1608 fi
1609
1610 if test "$ac_init_help" = "recursive"; then
1611 # If there are subdirs, report their specific --help.
1612 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1613 test -d "$ac_dir" ||
1614 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1615 continue
1616 ac_builddir=.
1617
1618 case "$ac_dir" in
1619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620 *)
1621 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1622 # A ".." for each directory in $ac_dir_suffix.
1623 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1624 case $ac_top_builddir_sub in
1625 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1626 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1627 esac ;;
1628 esac
1629 ac_abs_top_builddir=$ac_pwd
1630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1631 # for backward compatibility:
1632 ac_top_builddir=$ac_top_build_prefix
1633
1634 case $srcdir in
1635 .) # We are building in place.
1636 ac_srcdir=.
1637 ac_top_srcdir=$ac_top_builddir_sub
1638 ac_abs_top_srcdir=$ac_pwd ;;
1639 [\\/]* | ?:[\\/]* ) # Absolute name.
1640 ac_srcdir=$srcdir$ac_dir_suffix;
1641 ac_top_srcdir=$srcdir
1642 ac_abs_top_srcdir=$srcdir ;;
1643 *) # Relative name.
1644 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1645 ac_top_srcdir=$ac_top_build_prefix$srcdir
1646 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1647 esac
1648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1649
1650 cd "$ac_dir" || { ac_status=$?; continue; }
1651 # Check for guested configure.
1652 if test -f "$ac_srcdir/configure.gnu"; then
1653 echo &&
1654 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1655 elif test -f "$ac_srcdir/configure"; then
1656 echo &&
1657 $SHELL "$ac_srcdir/configure" --help=recursive
1658 else
1659 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1660 fi || ac_status=$?
1661 cd "$ac_pwd" || { ac_status=$?; break; }
1662 done
1663 fi
1664
1665 test -n "$ac_init_help" && exit $ac_status
1666 if $ac_init_version; then
1667 cat <<\_ACEOF
1668 ibis configure 1.5.7
1669 generated by GNU Autoconf 2.69
1670
1671 Copyright (C) 2012 Free Software Foundation, Inc.
1672 This configure script is free software; the Free Software Foundation
1673 gives unlimited permission to copy, distribute and modify it.
1674 _ACEOF
1675 exit
1676 fi
1677
1678 ## ------------------------ ##
1679 ## Autoconf initialization. ##
1680 ## ------------------------ ##
1681
1682 @%:@ ac_fn_cxx_try_compile LINENO
1683 @%:@ ----------------------------
1684 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1685 ac_fn_cxx_try_compile ()
1686 {
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688 rm -f conftest.$ac_objext
1689 if { { ac_try="$ac_compile"
1690 case "(($ac_try" in
1691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692 *) ac_try_echo=$ac_try;;
1693 esac
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_compile") 2>conftest.err
1697 ac_status=$?
1698 if test -s conftest.err; then
1699 grep -v '^ *+' conftest.err >conftest.er1
1700 cat conftest.er1 >&5
1701 mv -f conftest.er1 conftest.err
1702 fi
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; } && {
1705 test -z "$ac_cxx_werror_flag" ||
1706 test ! -s conftest.err
1707 } && test -s conftest.$ac_objext; then :
1708 ac_retval=0
1709 else
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1712
1713 ac_retval=1
1714 fi
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 as_fn_set_status $ac_retval
1717
1718 } @%:@ ac_fn_cxx_try_compile
1719
1720 @%:@ ac_fn_c_try_compile LINENO
1721 @%:@ --------------------------
1722 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1723 ac_fn_c_try_compile ()
1724 {
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 rm -f conftest.$ac_objext
1727 if { { ac_try="$ac_compile"
1728 case "(($ac_try" in
1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1731 esac
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_compile") 2>conftest.err
1735 ac_status=$?
1736 if test -s conftest.err; then
1737 grep -v '^ *+' conftest.err >conftest.er1
1738 cat conftest.er1 >&5
1739 mv -f conftest.er1 conftest.err
1740 fi
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && {
1743 test -z "$ac_c_werror_flag" ||
1744 test ! -s conftest.err
1745 } && test -s conftest.$ac_objext; then :
1746 ac_retval=0
1747 else
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1750
1751 ac_retval=1
1752 fi
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1755
1756 } @%:@ ac_fn_c_try_compile
1757
1758 @%:@ ac_fn_c_try_cpp LINENO
1759 @%:@ ----------------------
1760 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1761 ac_fn_c_try_cpp ()
1762 {
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 if { { ac_try="$ac_cpp conftest.$ac_ext"
1765 case "(($ac_try" in
1766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1768 esac
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1772 ac_status=$?
1773 if test -s conftest.err; then
1774 grep -v '^ *+' conftest.err >conftest.er1
1775 cat conftest.er1 >&5
1776 mv -f conftest.er1 conftest.err
1777 fi
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } > conftest.i && {
1780 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1781 test ! -s conftest.err
1782 }; then :
1783 ac_retval=0
1784 else
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1787
1788 ac_retval=1
1789 fi
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status $ac_retval
1792
1793 } @%:@ ac_fn_c_try_cpp
1794
1795 @%:@ ac_fn_c_try_link LINENO
1796 @%:@ -----------------------
1797 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1798 ac_fn_c_try_link ()
1799 {
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 rm -f conftest.$ac_objext conftest$ac_exeext
1802 if { { ac_try="$ac_link"
1803 case "(($ac_try" in
1804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1805 *) ac_try_echo=$ac_try;;
1806 esac
1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_link") 2>conftest.err
1810 ac_status=$?
1811 if test -s conftest.err; then
1812 grep -v '^ *+' conftest.err >conftest.er1
1813 cat conftest.er1 >&5
1814 mv -f conftest.er1 conftest.err
1815 fi
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_c_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest$ac_exeext && {
1821 test "$cross_compiling" = yes ||
1822 test -x conftest$ac_exeext
1823 }; then :
1824 ac_retval=0
1825 else
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1828
1829 ac_retval=1
1830 fi
1831 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1832 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1833 # interfere with the next link command; also delete a directory that is
1834 # left behind by Apple's compiler. We do this before executing the actions.
1835 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837 as_fn_set_status $ac_retval
1838
1839 } @%:@ ac_fn_c_try_link
1840
1841 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1842 @%:@ -------------------------------------------------------
1843 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1844 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1845 ac_fn_c_check_header_compile ()
1846 {
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1849 $as_echo_n "checking for $2... " >&6; }
1850 if eval \${$3+:} false; then :
1851 $as_echo_n "(cached) " >&6
1852 else
1853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1854 /* end confdefs.h. */
1855 $4
1856 @%:@include <$2>
1857 _ACEOF
1858 if ac_fn_c_try_compile "$LINENO"; then :
1859 eval "$3=yes"
1860 else
1861 eval "$3=no"
1862 fi
1863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1864 fi
1865 eval ac_res=\$$3
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869
1870 } @%:@ ac_fn_c_check_header_compile
1871
1872 @%:@ ac_fn_c_try_run LINENO
1873 @%:@ ----------------------
1874 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1875 @%:@ that executables *can* be run.
1876 ac_fn_c_try_run ()
1877 {
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 if { { ac_try="$ac_link"
1880 case "(($ac_try" in
1881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882 *) ac_try_echo=$ac_try;;
1883 esac
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_link") 2>&5
1887 ac_status=$?
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1890 { { case "(($ac_try" in
1891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892 *) ac_try_echo=$ac_try;;
1893 esac
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896 (eval "$ac_try") 2>&5
1897 ac_status=$?
1898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899 test $ac_status = 0; }; }; then :
1900 ac_retval=0
1901 else
1902 $as_echo "$as_me: program exited with status $ac_status" >&5
1903 $as_echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.$ac_ext >&5
1905
1906 ac_retval=$ac_status
1907 fi
1908 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 as_fn_set_status $ac_retval
1911
1912 } @%:@ ac_fn_c_try_run
1913
1914 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1915 @%:@ ----------------------------------
1916 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1917 ac_fn_c_check_func ()
1918 {
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if eval \${$3+:} false; then :
1923 $as_echo_n "(cached) " >&6
1924 else
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1927 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1929 #define $2 innocuous_$2
1930
1931 /* System header to define __stub macros and hopefully few prototypes,
1932 which can conflict with char $2 (); below.
1933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1934 <limits.h> exists even on freestanding compilers. */
1935
1936 #ifdef __STDC__
1937 # include <limits.h>
1938 #else
1939 # include <assert.h>
1940 #endif
1941
1942 #undef $2
1943
1944 /* Override any GCC internal prototype to avoid an error.
1945 Use char because int might match the return type of a GCC
1946 builtin and then its argument prototype would still apply. */
1947 #ifdef __cplusplus
1948 extern "C"
1949 #endif
1950 char $2 ();
1951 /* The GNU C library defines this for functions which it implements
1952 to always fail with ENOSYS. Some functions are actually named
1953 something starting with __ and the normal name is an alias. */
1954 #if defined __stub_$2 || defined __stub___$2
1955 choke me
1956 #endif
1957
1958 int
1959 main ()
1960 {
1961 return $2 ();
1962 ;
1963 return 0;
1964 }
1965 _ACEOF
1966 if ac_fn_c_try_link "$LINENO"; then :
1967 eval "$3=yes"
1968 else
1969 eval "$3=no"
1970 fi
1971 rm -f core conftest.err conftest.$ac_objext \
1972 conftest$ac_exeext conftest.$ac_ext
1973 fi
1974 eval ac_res=\$$3
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978
1979 } @%:@ ac_fn_c_check_func
1980
1981 @%:@ ac_fn_cxx_try_cpp LINENO
1982 @%:@ ------------------------
1983 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1984 ac_fn_cxx_try_cpp ()
1985 {
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 if { { ac_try="$ac_cpp conftest.$ac_ext"
1988 case "(($ac_try" in
1989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1990 *) ac_try_echo=$ac_try;;
1991 esac
1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1995 ac_status=$?
1996 if test -s conftest.err; then
1997 grep -v '^ *+' conftest.err >conftest.er1
1998 cat conftest.er1 >&5
1999 mv -f conftest.er1 conftest.err
2000 fi
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; } > conftest.i && {
2003 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2004 test ! -s conftest.err
2005 }; then :
2006 ac_retval=0
2007 else
2008 $as_echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.$ac_ext >&5
2010
2011 ac_retval=1
2012 fi
2013 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2014 as_fn_set_status $ac_retval
2015
2016 } @%:@ ac_fn_cxx_try_cpp
2017
2018 @%:@ ac_fn_cxx_try_link LINENO
2019 @%:@ -------------------------
2020 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2021 ac_fn_cxx_try_link ()
2022 {
2023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024 rm -f conftest.$ac_objext conftest$ac_exeext
2025 if { { ac_try="$ac_link"
2026 case "(($ac_try" in
2027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2028 *) ac_try_echo=$ac_try;;
2029 esac
2030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032 (eval "$ac_link") 2>conftest.err
2033 ac_status=$?
2034 if test -s conftest.err; then
2035 grep -v '^ *+' conftest.err >conftest.er1
2036 cat conftest.er1 >&5
2037 mv -f conftest.er1 conftest.err
2038 fi
2039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2040 test $ac_status = 0; } && {
2041 test -z "$ac_cxx_werror_flag" ||
2042 test ! -s conftest.err
2043 } && test -s conftest$ac_exeext && {
2044 test "$cross_compiling" = yes ||
2045 test -x conftest$ac_exeext
2046 }; then :
2047 ac_retval=0
2048 else
2049 $as_echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.$ac_ext >&5
2051
2052 ac_retval=1
2053 fi
2054 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2055 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2056 # interfere with the next link command; also delete a directory that is
2057 # left behind by Apple's compiler. We do this before executing the actions.
2058 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2060 as_fn_set_status $ac_retval
2061
2062 } @%:@ ac_fn_cxx_try_link
2063
2064 @%:@ ac_fn_cxx_try_run LINENO
2065 @%:@ ------------------------
2066 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2067 @%:@ that executables *can* be run.
2068 ac_fn_cxx_try_run ()
2069 {
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 if { { ac_try="$ac_link"
2072 case "(($ac_try" in
2073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2075 esac
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_link") 2>&5
2079 ac_status=$?
2080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2081 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2082 { { case "(($ac_try" in
2083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2084 *) ac_try_echo=$ac_try;;
2085 esac
2086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2087 $as_echo "$ac_try_echo"; } >&5
2088 (eval "$ac_try") 2>&5
2089 ac_status=$?
2090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2091 test $ac_status = 0; }; }; then :
2092 ac_retval=0
2093 else
2094 $as_echo "$as_me: program exited with status $ac_status" >&5
2095 $as_echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.$ac_ext >&5
2097
2098 ac_retval=$ac_status
2099 fi
2100 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2102 as_fn_set_status $ac_retval
2103
2104 } @%:@ ac_fn_cxx_try_run
2105
2106 @%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2107 @%:@ ---------------------------------------------------------
2108 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2109 @%:@ the include files in INCLUDES and setting the cache variable VAR
2110 @%:@ accordingly.
2111 ac_fn_cxx_check_header_mongrel ()
2112 {
2113 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2114 if eval \${$3+:} false; then :
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2116 $as_echo_n "checking for $2... " >&6; }
2117 if eval \${$3+:} false; then :
2118 $as_echo_n "(cached) " >&6
2119 fi
2120 eval ac_res=\$$3
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122 $as_echo "$ac_res" >&6; }
2123 else
2124 # Is the header compilable?
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2126 $as_echo_n "checking $2 usability... " >&6; }
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2129 $4
2130 @%:@include <$2>
2131 _ACEOF
2132 if ac_fn_cxx_try_compile "$LINENO"; then :
2133 ac_header_compiler=yes
2134 else
2135 ac_header_compiler=no
2136 fi
2137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2139 $as_echo "$ac_header_compiler" >&6; }
2140
2141 # Is the header present?
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2143 $as_echo_n "checking $2 presence... " >&6; }
2144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2145 /* end confdefs.h. */
2146 @%:@include <$2>
2147 _ACEOF
2148 if ac_fn_cxx_try_cpp "$LINENO"; then :
2149 ac_header_preproc=yes
2150 else
2151 ac_header_preproc=no
2152 fi
2153 rm -f conftest.err conftest.i conftest.$ac_ext
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2155 $as_echo "$ac_header_preproc" >&6; }
2156
2157 # So? What about this header?
2158 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2159 yes:no: )
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2161 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2163 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2164 ;;
2165 no:yes:* )
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2167 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2169 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2171 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2173 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2175 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2176 ;;
2177 esac
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2179 $as_echo_n "checking for $2... " >&6; }
2180 if eval \${$3+:} false; then :
2181 $as_echo_n "(cached) " >&6
2182 else
2183 eval "$3=\$ac_header_compiler"
2184 fi
2185 eval ac_res=\$$3
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2187 $as_echo "$ac_res" >&6; }
2188 fi
2189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2190
2191 } @%:@ ac_fn_cxx_check_header_mongrel
2192
2193 @%:@ ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2194 @%:@ ---------------------------------------------
2195 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2196 @%:@ variable VAR accordingly.
2197 ac_fn_cxx_check_type ()
2198 {
2199 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2201 $as_echo_n "checking for $2... " >&6; }
2202 if eval \${$3+:} false; then :
2203 $as_echo_n "(cached) " >&6
2204 else
2205 eval "$3=no"
2206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207 /* end confdefs.h. */
2208 $4
2209 int
2210 main ()
2211 {
2212 if (sizeof ($2))
2213 return 0;
2214 ;
2215 return 0;
2216 }
2217 _ACEOF
2218 if ac_fn_cxx_try_compile "$LINENO"; then :
2219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220 /* end confdefs.h. */
2221 $4
2222 int
2223 main ()
2224 {
2225 if (sizeof (($2)))
2226 return 0;
2227 ;
2228 return 0;
2229 }
2230 _ACEOF
2231 if ac_fn_cxx_try_compile "$LINENO"; then :
2232
2233 else
2234 eval "$3=yes"
2235 fi
2236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2237 fi
2238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2239 fi
2240 eval ac_res=\$$3
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2242 $as_echo "$ac_res" >&6; }
2243 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2244
2245 } @%:@ ac_fn_cxx_check_type
2246
2247 @%:@ ac_fn_cxx_check_func LINENO FUNC VAR
2248 @%:@ ------------------------------------
2249 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2250 ac_fn_cxx_check_func ()
2251 {
2252 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2254 $as_echo_n "checking for $2... " >&6; }
2255 if eval \${$3+:} false; then :
2256 $as_echo_n "(cached) " >&6
2257 else
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2260 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2262 #define $2 innocuous_$2
2263
2264 /* System header to define __stub macros and hopefully few prototypes,
2265 which can conflict with char $2 (); below.
2266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2267 <limits.h> exists even on freestanding compilers. */
2268
2269 #ifdef __STDC__
2270 # include <limits.h>
2271 #else
2272 # include <assert.h>
2273 #endif
2274
2275 #undef $2
2276
2277 /* Override any GCC internal prototype to avoid an error.
2278 Use char because int might match the return type of a GCC
2279 builtin and then its argument prototype would still apply. */
2280 #ifdef __cplusplus
2281 extern "C"
2282 #endif
2283 char $2 ();
2284 /* The GNU C library defines this for functions which it implements
2285 to always fail with ENOSYS. Some functions are actually named
2286 something starting with __ and the normal name is an alias. */
2287 #if defined __stub_$2 || defined __stub___$2
2288 choke me
2289 #endif
2290
2291 int
2292 main ()
2293 {
2294 return $2 ();
2295 ;
2296 return 0;
2297 }
2298 _ACEOF
2299 if ac_fn_cxx_try_link "$LINENO"; then :
2300 eval "$3=yes"
2301 else
2302 eval "$3=no"
2303 fi
2304 rm -f core conftest.err conftest.$ac_objext \
2305 conftest$ac_exeext conftest.$ac_ext
2306 fi
2307 eval ac_res=\$$3
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2309 $as_echo "$ac_res" >&6; }
2310 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2311
2312 } @%:@ ac_fn_cxx_check_func
2313 cat >config.log <<_ACEOF
2314 This file contains any messages produced by compilers while
2315 running configure, to aid debugging if configure makes a mistake.
2316
2317 It was created by ibis $as_me 1.5.7, which was
2318 generated by GNU Autoconf 2.69. Invocation command line was
2319
2320 $ $0 $@
2321
2322 _ACEOF
2323 exec 5>>config.log
2324 {
2325 cat <<_ASUNAME
2326 ## --------- ##
2327 ## Platform. ##
2328 ## --------- ##
2329
2330 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2331 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2332 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2333 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2334 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2335
2336 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2337 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2338
2339 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2340 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2341 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2342 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2343 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2344 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2345 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2346
2347 _ASUNAME
2348
2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 for as_dir in $PATH
2351 do
2352 IFS=$as_save_IFS
2353 test -z "$as_dir" && as_dir=.
2354 $as_echo "PATH: $as_dir"
2355 done
2356 IFS=$as_save_IFS
2357
2358 } >&5
2359
2360 cat >&5 <<_ACEOF
2361
2362
2363 ## ----------- ##
2364 ## Core tests. ##
2365 ## ----------- ##
2366
2367 _ACEOF
2368
2369
2370 # Keep a trace of the command line.
2371 # Strip out --no-create and --no-recursion so they do not pile up.
2372 # Strip out --silent because we don't want to record it for future runs.
2373 # Also quote any args containing shell meta-characters.
2374 # Make two passes to allow for proper duplicate-argument suppression.
2375 ac_configure_args=
2376 ac_configure_args0=
2377 ac_configure_args1=
2378 ac_must_keep_next=false
2379 for ac_pass in 1 2
2380 do
2381 for ac_arg
2382 do
2383 case $ac_arg in
2384 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2385 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2386 | -silent | --silent | --silen | --sile | --sil)
2387 continue ;;
2388 *\'*)
2389 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2390 esac
2391 case $ac_pass in
2392 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2393 2)
2394 as_fn_append ac_configure_args1 " '$ac_arg'"
2395 if test $ac_must_keep_next = true; then
2396 ac_must_keep_next=false # Got value, back to normal.
2397 else
2398 case $ac_arg in
2399 *=* | --config-cache | -C | -disable-* | --disable-* \
2400 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2401 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2402 | -with-* | --with-* | -without-* | --without-* | --x)
2403 case "$ac_configure_args0 " in
2404 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2405 esac
2406 ;;
2407 -* ) ac_must_keep_next=true ;;
2408 esac
2409 fi
2410 as_fn_append ac_configure_args " '$ac_arg'"
2411 ;;
2412 esac
2413 done
2414 done
2415 { ac_configure_args0=; unset ac_configure_args0;}
2416 { ac_configure_args1=; unset ac_configure_args1;}
2417
2418 # When interrupted or exit'd, cleanup temporary files, and complete
2419 # config.log. We remove comments because anyway the quotes in there
2420 # would cause problems or look ugly.
2421 # WARNING: Use '\'' to represent an apostrophe within the trap.
2422 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2423 trap 'exit_status=$?
2424 # Save into config.log some information that might help in debugging.
2425 {
2426 echo
2427
2428 $as_echo "## ---------------- ##
2429 ## Cache variables. ##
2430 ## ---------------- ##"
2431 echo
2432 # The following way of writing the cache mishandles newlines in values,
2433 (
2434 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2435 eval ac_val=\$$ac_var
2436 case $ac_val in #(
2437 *${as_nl}*)
2438 case $ac_var in #(
2439 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2440 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2441 esac
2442 case $ac_var in #(
2443 _ | IFS | as_nl) ;; #(
2444 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2445 *) { eval $ac_var=; unset $ac_var;} ;;
2446 esac ;;
2447 esac
2448 done
2449 (set) 2>&1 |
2450 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2451 *${as_nl}ac_space=\ *)
2452 sed -n \
2453 "s/'\''/'\''\\\\'\'''\''/g;
2454 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2455 ;; #(
2456 *)
2457 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2458 ;;
2459 esac |
2460 sort
2461 )
2462 echo
2463
2464 $as_echo "## ----------------- ##
2465 ## Output variables. ##
2466 ## ----------------- ##"
2467 echo
2468 for ac_var in $ac_subst_vars
2469 do
2470 eval ac_val=\$$ac_var
2471 case $ac_val in
2472 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2473 esac
2474 $as_echo "$ac_var='\''$ac_val'\''"
2475 done | sort
2476 echo
2477
2478 if test -n "$ac_subst_files"; then
2479 $as_echo "## ------------------- ##
2480 ## File substitutions. ##
2481 ## ------------------- ##"
2482 echo
2483 for ac_var in $ac_subst_files
2484 do
2485 eval ac_val=\$$ac_var
2486 case $ac_val in
2487 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2488 esac
2489 $as_echo "$ac_var='\''$ac_val'\''"
2490 done | sort
2491 echo
2492 fi
2493
2494 if test -s confdefs.h; then
2495 $as_echo "## ----------- ##
2496 ## confdefs.h. ##
2497 ## ----------- ##"
2498 echo
2499 cat confdefs.h
2500 echo
2501 fi
2502 test "$ac_signal" != 0 &&
2503 $as_echo "$as_me: caught signal $ac_signal"
2504 $as_echo "$as_me: exit $exit_status"
2505 } >&5
2506 rm -f core *.core core.conftest.* &&
2507 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2508 exit $exit_status
2509 ' 0
2510 for ac_signal in 1 2 13 15; do
2511 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2512 done
2513 ac_signal=0
2514
2515 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2516 rm -f -r conftest* confdefs.h
2517
2518 $as_echo "/* confdefs.h */" > confdefs.h
2519
2520 # Predefined preprocessor variables.
2521
2522 cat >>confdefs.h <<_ACEOF
2523 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2524 _ACEOF
2525
2526 cat >>confdefs.h <<_ACEOF
2527 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2528 _ACEOF
2529
2530 cat >>confdefs.h <<_ACEOF
2531 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2532 _ACEOF
2533
2534 cat >>confdefs.h <<_ACEOF
2535 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2536 _ACEOF
2537
2538 cat >>confdefs.h <<_ACEOF
2539 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2540 _ACEOF
2541
2542 cat >>confdefs.h <<_ACEOF
2543 @%:@define PACKAGE_URL "$PACKAGE_URL"
2544 _ACEOF
2545
2546
2547 # Let the site file select an alternate cache file if it wants to.
2548 # Prefer an explicitly selected file to automatically selected ones.
2549 ac_site_file1=NONE
2550 ac_site_file2=NONE
2551 if test -n "$CONFIG_SITE"; then
2552 # We do not want a PATH search for config.site.
2553 case $CONFIG_SITE in @%:@((
2554 -*) ac_site_file1=./$CONFIG_SITE;;
2555 */*) ac_site_file1=$CONFIG_SITE;;
2556 *) ac_site_file1=./$CONFIG_SITE;;
2557 esac
2558 elif test "x$prefix" != xNONE; then
2559 ac_site_file1=$prefix/share/config.site
2560 ac_site_file2=$prefix/etc/config.site
2561 else
2562 ac_site_file1=$ac_default_prefix/share/config.site
2563 ac_site_file2=$ac_default_prefix/etc/config.site
2564 fi
2565 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2566 do
2567 test "x$ac_site_file" = xNONE && continue
2568 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2570 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2571 sed 's/^/| /' "$ac_site_file" >&5
2572 . "$ac_site_file" \
2573 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2575 as_fn_error $? "failed to load site script $ac_site_file
2576 See \`config.log' for more details" "$LINENO" 5; }
2577 fi
2578 done
2579
2580 if test -r "$cache_file"; then
2581 # Some versions of bash will fail to source /dev/null (special files
2582 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2583 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2585 $as_echo "$as_me: loading cache $cache_file" >&6;}
2586 case $cache_file in
2587 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2588 *) . "./$cache_file";;
2589 esac
2590 fi
2591 else
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2593 $as_echo "$as_me: creating cache $cache_file" >&6;}
2594 >$cache_file
2595 fi
2596
2597 # Check that the precious variables saved in the cache have kept the same
2598 # value.
2599 ac_cache_corrupted=false
2600 for ac_var in $ac_precious_vars; do
2601 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2602 eval ac_new_set=\$ac_env_${ac_var}_set
2603 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2604 eval ac_new_val=\$ac_env_${ac_var}_value
2605 case $ac_old_set,$ac_new_set in
2606 set,)
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2608 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2609 ac_cache_corrupted=: ;;
2610 ,set)
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2612 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2613 ac_cache_corrupted=: ;;
2614 ,);;
2615 *)
2616 if test "x$ac_old_val" != "x$ac_new_val"; then
2617 # differences in whitespace do not lead to failure.
2618 ac_old_val_w=`echo x $ac_old_val`
2619 ac_new_val_w=`echo x $ac_new_val`
2620 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2622 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2623 ac_cache_corrupted=:
2624 else
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2626 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2627 eval $ac_var=\$ac_old_val
2628 fi
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2630 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2632 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2633 fi;;
2634 esac
2635 # Pass precious variables to config.status.
2636 if test "$ac_new_set" = set; then
2637 case $ac_new_val in
2638 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2639 *) ac_arg=$ac_var=$ac_new_val ;;
2640 esac
2641 case " $ac_configure_args " in
2642 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2643 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2644 esac
2645 fi
2646 done
2647 if $ac_cache_corrupted; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2651 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2652 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2653 fi
2654 ## -------------------- ##
2655 ## Main body of script. ##
2656 ## -------------------- ##
2657
2658 ac_ext=c
2659 ac_cpp='$CPP $CPPFLAGS'
2660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2663
2664
2665
2666
2667 ac_aux_dir=
2668 for ac_dir in config "$srcdir"/config; do
2669 if test -f "$ac_dir/install-sh"; then
2670 ac_aux_dir=$ac_dir
2671 ac_install_sh="$ac_aux_dir/install-sh -c"
2672 break
2673 elif test -f "$ac_dir/install.sh"; then
2674 ac_aux_dir=$ac_dir
2675 ac_install_sh="$ac_aux_dir/install.sh -c"
2676 break
2677 elif test -f "$ac_dir/shtool"; then
2678 ac_aux_dir=$ac_dir
2679 ac_install_sh="$ac_aux_dir/shtool install -c"
2680 break
2681 fi
2682 done
2683 if test -z "$ac_aux_dir"; then
2684 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2685 fi
2686
2687 # These three variables are undocumented and unsupported,
2688 # and are intended to be withdrawn in a future Autoconf release.
2689 # They can cause serious problems if a builder's source tree is in a directory
2690 # whose full name contains unusual characters.
2691 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2692 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2693 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2694
2695
2696
2697 ac_ext=cpp
2698 ac_cpp='$CXXCPP $CPPFLAGS'
2699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2702
2703
2704 ac_config_headers="$ac_config_headers config.h"
2705
2706
2707 am__api_version='1.11'
2708
2709 # Find a good install program. We prefer a C program (faster),
2710 # so one script is as good as another. But avoid the broken or
2711 # incompatible versions:
2712 # SysV /etc/install, /usr/sbin/install
2713 # SunOS /usr/etc/install
2714 # IRIX /sbin/install
2715 # AIX /bin/install
2716 # AmigaOS /C/install, which installs bootblocks on floppy discs
2717 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2718 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2719 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2720 # OS/2's system install, which has a completely different semantic
2721 # ./install, which can be erroneously created by make from ./install.sh.
2722 # Reject install programs that cannot install multiple files.
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2724 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2725 if test -z "$INSTALL"; then
2726 if ${ac_cv_path_install+:} false; then :
2727 $as_echo_n "(cached) " >&6
2728 else
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 for as_dir in $PATH
2731 do
2732 IFS=$as_save_IFS
2733 test -z "$as_dir" && as_dir=.
2734 # Account for people who put trailing slashes in PATH elements.
2735 case $as_dir/ in @%:@((
2736 ./ | .// | /[cC]/* | \
2737 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2738 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2739 /usr/ucb/* ) ;;
2740 *)
2741 # OSF1 and SCO ODT 3.0 have their own names for install.
2742 # Don't use installbsd from OSF since it installs stuff as root
2743 # by default.
2744 for ac_prog in ginstall scoinst install; do
2745 for ac_exec_ext in '' $ac_executable_extensions; do
2746 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2747 if test $ac_prog = install &&
2748 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2749 # AIX install. It has an incompatible calling convention.
2750 :
2751 elif test $ac_prog = install &&
2752 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2753 # program-specific install script used by HP pwplus--don't use.
2754 :
2755 else
2756 rm -rf conftest.one conftest.two conftest.dir
2757 echo one > conftest.one
2758 echo two > conftest.two
2759 mkdir conftest.dir
2760 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2761 test -s conftest.one && test -s conftest.two &&
2762 test -s conftest.dir/conftest.one &&
2763 test -s conftest.dir/conftest.two
2764 then
2765 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2766 break 3
2767 fi
2768 fi
2769 fi
2770 done
2771 done
2772 ;;
2773 esac
2774
2775 done
2776 IFS=$as_save_IFS
2777
2778 rm -rf conftest.one conftest.two conftest.dir
2779
2780 fi
2781 if test "${ac_cv_path_install+set}" = set; then
2782 INSTALL=$ac_cv_path_install
2783 else
2784 # As a last resort, use the slow shell script. Don't cache a
2785 # value for INSTALL within a source directory, because that will
2786 # break other packages using the cache if that directory is
2787 # removed, or if the value is a relative name.
2788 INSTALL=$ac_install_sh
2789 fi
2790 fi
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2792 $as_echo "$INSTALL" >&6; }
2793
2794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2795 # It thinks the first close brace ends the variable substitution.
2796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2797
2798 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2799
2800 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2801
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2803 $as_echo_n "checking whether build environment is sane... " >&6; }
2804 # Just in case
2805 sleep 1
2806 echo timestamp > conftest.file
2807 # Reject unsafe characters in $srcdir or the absolute working directory
2808 # name. Accept space and tab only in the latter.
2809 am_lf='
2810 '
2811 case `pwd` in
2812 *[\\\"\#\$\&\'\`$am_lf]*)
2813 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2814 esac
2815 case $srcdir in
2816 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2817 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2818 esac
2819
2820 # Do `set' in a subshell so we don't clobber the current shell's
2821 # arguments. Must try -L first in case configure is actually a
2822 # symlink; some systems play weird games with the mod time of symlinks
2823 # (eg FreeBSD returns the mod time of the symlink's containing
2824 # directory).
2825 if (
2826 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2827 if test "$*" = "X"; then
2828 # -L didn't work.
2829 set X `ls -t "$srcdir/configure" conftest.file`
2830 fi
2831 rm -f conftest.file
2832 if test "$*" != "X $srcdir/configure conftest.file" \
2833 && test "$*" != "X conftest.file $srcdir/configure"; then
2834
2835 # If neither matched, then we have a broken ls. This can happen
2836 # if, for instance, CONFIG_SHELL is bash and it inherits a
2837 # broken ls alias from the environment. This has actually
2838 # happened. Such a system could not be considered "sane".
2839 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2840 alias in your environment" "$LINENO" 5
2841 fi
2842
2843 test "$2" = conftest.file
2844 )
2845 then
2846 # Ok.
2847 :
2848 else
2849 as_fn_error $? "newly created file is older than distributed files!
2850 Check your system clock" "$LINENO" 5
2851 fi
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2853 $as_echo "yes" >&6; }
2854 test "$program_prefix" != NONE &&
2855 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2856 # Use a double $ so make ignores it.
2857 test "$program_suffix" != NONE &&
2858 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2859 # Double any \ or $.
2860 # By default was `s,x,x', remove it if useless.
2861 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2862 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2863
2864 # expand $ac_aux_dir to an absolute path
2865 am_aux_dir=`cd $ac_aux_dir && pwd`
2866
2867 if test x"${MISSING+set}" != xset; then
2868 case $am_aux_dir in
2869 *\ * | *\ *)
2870 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2871 *)
2872 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2873 esac
2874 fi
2875 # Use eval to expand $SHELL
2876 if eval "$MISSING --run true"; then
2877 am_missing_run="$MISSING --run "
2878 else
2879 am_missing_run=
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2881 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2882 fi
2883
2884 if test x"${install_sh}" != xset; then
2885 case $am_aux_dir in
2886 *\ * | *\ *)
2887 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2888 *)
2889 install_sh="\${SHELL} $am_aux_dir/install-sh"
2890 esac
2891 fi
2892
2893 # Installed binaries are usually stripped using `strip' when the user
2894 # run `make install-strip'. However `strip' might not be the right
2895 # tool to use in cross-compilation environments, therefore Automake
2896 # will honor the `STRIP' environment variable to overrule this program.
2897 if test "$cross_compiling" != no; then
2898 if test -n "$ac_tool_prefix"; then
2899 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2900 set dummy ${ac_tool_prefix}strip; ac_word=$2
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902 $as_echo_n "checking for $ac_word... " >&6; }
2903 if ${ac_cv_prog_STRIP+:} false; then :
2904 $as_echo_n "(cached) " >&6
2905 else
2906 if test -n "$STRIP"; then
2907 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2908 else
2909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 for as_dir in $PATH
2911 do
2912 IFS=$as_save_IFS
2913 test -z "$as_dir" && as_dir=.
2914 for ac_exec_ext in '' $ac_executable_extensions; do
2915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2916 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2918 break 2
2919 fi
2920 done
2921 done
2922 IFS=$as_save_IFS
2923
2924 fi
2925 fi
2926 STRIP=$ac_cv_prog_STRIP
2927 if test -n "$STRIP"; then
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2929 $as_echo "$STRIP" >&6; }
2930 else
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2932 $as_echo "no" >&6; }
2933 fi
2934
2935
2936 fi
2937 if test -z "$ac_cv_prog_STRIP"; then
2938 ac_ct_STRIP=$STRIP
2939 # Extract the first word of "strip", so it can be a program name with args.
2940 set dummy strip; ac_word=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 if test -n "$ac_ct_STRIP"; then
2947 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2948 else
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 for as_dir in $PATH
2951 do
2952 IFS=$as_save_IFS
2953 test -z "$as_dir" && as_dir=.
2954 for ac_exec_ext in '' $ac_executable_extensions; do
2955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956 ac_cv_prog_ac_ct_STRIP="strip"
2957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 break 2
2959 fi
2960 done
2961 done
2962 IFS=$as_save_IFS
2963
2964 fi
2965 fi
2966 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2967 if test -n "$ac_ct_STRIP"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2969 $as_echo "$ac_ct_STRIP" >&6; }
2970 else
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2973 fi
2974
2975 if test "x$ac_ct_STRIP" = x; then
2976 STRIP=":"
2977 else
2978 case $cross_compiling:$ac_tool_warned in
2979 yes:)
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2982 ac_tool_warned=yes ;;
2983 esac
2984 STRIP=$ac_ct_STRIP
2985 fi
2986 else
2987 STRIP="$ac_cv_prog_STRIP"
2988 fi
2989
2990 fi
2991 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2992
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2994 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2995 if test -z "$MKDIR_P"; then
2996 if ${ac_cv_path_mkdir+:} false; then :
2997 $as_echo_n "(cached) " >&6
2998 else
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3001 do
3002 IFS=$as_save_IFS
3003 test -z "$as_dir" && as_dir=.
3004 for ac_prog in mkdir gmkdir; do
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3007 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3008 'mkdir (GNU coreutils) '* | \
3009 'mkdir (coreutils) '* | \
3010 'mkdir (fileutils) '4.1*)
3011 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3012 break 3;;
3013 esac
3014 done
3015 done
3016 done
3017 IFS=$as_save_IFS
3018
3019 fi
3020
3021 test -d ./--version && rmdir ./--version
3022 if test "${ac_cv_path_mkdir+set}" = set; then
3023 MKDIR_P="$ac_cv_path_mkdir -p"
3024 else
3025 # As a last resort, use the slow shell script. Don't cache a
3026 # value for MKDIR_P within a source directory, because that will
3027 # break other packages using the cache if that directory is
3028 # removed, or if the value is a relative name.
3029 MKDIR_P="$ac_install_sh -d"
3030 fi
3031 fi
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3033 $as_echo "$MKDIR_P" >&6; }
3034
3035 mkdir_p="$MKDIR_P"
3036 case $mkdir_p in
3037 [\\/$]* | ?:[\\/]*) ;;
3038 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3039 esac
3040
3041 for ac_prog in gawk mawk nawk awk
3042 do
3043 # Extract the first word of "$ac_prog", so it can be a program name with args.
3044 set dummy $ac_prog; ac_word=$2
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046 $as_echo_n "checking for $ac_word... " >&6; }
3047 if ${ac_cv_prog_AWK+:} false; then :
3048 $as_echo_n "(cached) " >&6
3049 else
3050 if test -n "$AWK"; then
3051 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3052 else
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 for as_dir in $PATH
3055 do
3056 IFS=$as_save_IFS
3057 test -z "$as_dir" && as_dir=.
3058 for ac_exec_ext in '' $ac_executable_extensions; do
3059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3060 ac_cv_prog_AWK="$ac_prog"
3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 break 2
3063 fi
3064 done
3065 done
3066 IFS=$as_save_IFS
3067
3068 fi
3069 fi
3070 AWK=$ac_cv_prog_AWK
3071 if test -n "$AWK"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3073 $as_echo "$AWK" >&6; }
3074 else
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3077 fi
3078
3079
3080 test -n "$AWK" && break
3081 done
3082
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3084 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3085 set x ${MAKE-make}
3086 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3087 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3088 $as_echo_n "(cached) " >&6
3089 else
3090 cat >conftest.make <<\_ACEOF
3091 SHELL = /bin/sh
3092 all:
3093 @echo '@@@%%%=$(MAKE)=@@@%%%'
3094 _ACEOF
3095 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3096 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3097 *@@@%%%=?*=@@@%%%*)
3098 eval ac_cv_prog_make_${ac_make}_set=yes;;
3099 *)
3100 eval ac_cv_prog_make_${ac_make}_set=no;;
3101 esac
3102 rm -f conftest.make
3103 fi
3104 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3106 $as_echo "yes" >&6; }
3107 SET_MAKE=
3108 else
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3111 SET_MAKE="MAKE=${MAKE-make}"
3112 fi
3113
3114 rm -rf .tst 2>/dev/null
3115 mkdir .tst 2>/dev/null
3116 if test -d .tst; then
3117 am__leading_dot=.
3118 else
3119 am__leading_dot=_
3120 fi
3121 rmdir .tst 2>/dev/null
3122
3123 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3124 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3125 # is not polluted with repeated "-I."
3126 am__isrc=' -I$(srcdir)'
3127 # test to see if srcdir already configured
3128 if test -f $srcdir/config.status; then
3129 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3130 fi
3131 fi
3132
3133 # test whether we have cygpath
3134 if test -z "$CYGPATH_W"; then
3135 if (cygpath --version) >/dev/null 2>/dev/null; then
3136 CYGPATH_W='cygpath -w'
3137 else
3138 CYGPATH_W=echo
3139 fi
3140 fi
3141
3142
3143 # Define the identity of the package.
3144 PACKAGE='ibis'
3145 VERSION='1.5.7'
3146
3147
3148 cat >>confdefs.h <<_ACEOF
3149 @%:@define PACKAGE "$PACKAGE"
3150 _ACEOF
3151
3152
3153 cat >>confdefs.h <<_ACEOF
3154 @%:@define VERSION "$VERSION"
3155 _ACEOF
3156
3157 # Some tools Automake needs.
3158
3159 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3160
3161
3162 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3163
3164
3165 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3166
3167
3168 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3169
3170
3171 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3172
3173 # We need awk for the "check" target. The system "awk" is bad on
3174 # some platforms.
3175 # Always define AMTAR for backward compatibility.
3176
3177 AMTAR=${AMTAR-"${am_missing_run}tar"}
3178
3179 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3180
3181
3182
3183
3184
3185
3186
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3188 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3189 @%:@ Check whether --enable-maintainer-mode was given.
3190 if test "${enable_maintainer_mode+set}" = set; then :
3191 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3192 else
3193 USE_MAINTAINER_MODE=no
3194 fi
3195
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3197 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3198 if test $USE_MAINTAINER_MODE = yes; then
3199 MAINTAINER_MODE_TRUE=
3200 MAINTAINER_MODE_FALSE='#'
3201 else
3202 MAINTAINER_MODE_TRUE='#'
3203 MAINTAINER_MODE_FALSE=
3204 fi
3205
3206 MAINT=$MAINTAINER_MODE_TRUE
3207
3208
3209
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3211 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3212 set x ${MAKE-make}
3213 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3214 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3215 $as_echo_n "(cached) " >&6
3216 else
3217 cat >conftest.make <<\_ACEOF
3218 SHELL = /bin/sh
3219 all:
3220 @echo '@@@%%%=$(MAKE)=@@@%%%'
3221 _ACEOF
3222 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3223 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3224 *@@@%%%=?*=@@@%%%*)
3225 eval ac_cv_prog_make_${ac_make}_set=yes;;
3226 *)
3227 eval ac_cv_prog_make_${ac_make}_set=no;;
3228 esac
3229 rm -f conftest.make
3230 fi
3231 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3233 $as_echo "yes" >&6; }
3234 SET_MAKE=
3235 else
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3238 SET_MAKE="MAKE=${MAKE-make}"
3239 fi
3240
3241
3242
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3244 $as_echo_n "checking whether ln -s works... " >&6; }
3245 LN_S=$as_ln_s
3246 if test "$LN_S" = "ln -s"; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3248 $as_echo "yes" >&6; }
3249 else
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3251 $as_echo "no, using $LN_S" >&6; }
3252 fi
3253
3254
3255 # Extract the first word of "swig", so it can be a program name with args.
3256 set dummy swig; ac_word=$2
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3258 $as_echo_n "checking for $ac_word... " >&6; }
3259 if ${ac_cv_path_SWIG+:} false; then :
3260 $as_echo_n "(cached) " >&6
3261 else
3262 case $SWIG in
3263 [\\/]* | ?:[\\/]*)
3264 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
3265 ;;
3266 *)
3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 for as_dir in $PATH
3269 do
3270 IFS=$as_save_IFS
3271 test -z "$as_dir" && as_dir=.
3272 for ac_exec_ext in '' $ac_executable_extensions; do
3273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3274 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
3275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 break 2
3277 fi
3278 done
3279 done
3280 IFS=$as_save_IFS
3281
3282 ;;
3283 esac
3284 fi
3285 SWIG=$ac_cv_path_SWIG
3286 if test -n "$SWIG"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
3288 $as_echo "$SWIG" >&6; }
3289 else
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3292 fi
3293
3294
3295 # we use this to track the existance of swig
3296 has_swig=0
3297 if test -z "$SWIG" ; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&5
3299 $as_echo "$as_me: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&2;}
3300 SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
3301 elif test -n "1.1.5" ; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWIG version" >&5
3303 $as_echo_n "checking for SWIG version... " >&6; }
3304 swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
3306 $as_echo "$swig_version" >&6; }
3307 if test -n "$swig_version" ; then
3308 # Calculate the required version number components
3309 required=1.1.5
3310 required_major=`echo $required | sed 's/[^0-9].*//'`
3311 if test -z "$required_major" ; then
3312 required_major=0
3313 fi
3314 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
3315 required_minor=`echo $required | sed 's/[^0-9].*//'`
3316 if test -z "$required_minor" ; then
3317 required_minor=0
3318 fi
3319 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
3320 required_patch=`echo $required | sed 's/[^0-9].*//'`
3321 if test -z "$required_patch" ; then
3322 required_patch=0
3323 fi
3324 # Calculate the available version number components
3325 available=`echo $swig_version | sed 's/[^0-9]*//'`
3326 available_major=`echo $available | sed 's/[^0-9].*//'`
3327 if test -z "$available_major" ; then
3328 available_major=0
3329 fi
3330 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
3331 available_minor=`echo $available | sed 's/[^0-9].*//'`
3332 if test -z "$available_minor" ; then
3333 available_minor=0
3334 fi
3335 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
3336 available_patch=`echo $available | sed -e 's/.*Patch[^0-9]*//' -e 's/[^0-9]*//g' `
3337 if test -z "$available_patch" ; then
3338 available_patch=0
3339 fi
3340 # we have two modes of comparison...
3341 if test x"eq" == xeq; then
3342 if test $available_major -ne $required_major \
3343 -o $available_minor -ne $required_minor \
3344 -o $available_patch -ne $required_patch ; then
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&5
3346 $as_echo "$as_me: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&2;}
3347 SWIG='echo "Error: SWIG version == 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
3348 else
3349 has_swig=1
3350 fi
3351 else
3352 if test $available_major -ne $required_major \
3353 -o $available_minor -ne $required_minor \
3354 -o $available_patch -lt $required_patch ; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&5
3356 $as_echo "$as_me: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
3357 SWIG='echo "Error: SWIG version >= 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
3358 else
3359 has_swig=1
3360 fi
3361 fi
3362 else
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
3364 $as_echo "$as_me: WARNING: cannot determine SWIG version" >&2;}
3365 SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
3366 fi
3367 fi
3368 if test ! -z "$has_swig"; then
3369 SWIG_LIB=`$SWIG -swiglib`
3370 if test 1; then
3371 HAS_SWIG_TRUE=
3372 HAS_SWIG_FALSE='#'
3373 else
3374 HAS_SWIG_TRUE='#'
3375 HAS_SWIG_FALSE=
3376 fi
3377
3378 else
3379 if test 0; then
3380 HAS_SWIG_TRUE=
3381 HAS_SWIG_FALSE='#'
3382 else
3383 HAS_SWIG_TRUE='#'
3384 HAS_SWIG_FALSE=
3385 fi
3386
3387 fi
3388
3389
3390
3391 ac_ext=cpp
3392 ac_cpp='$CXXCPP $CPPFLAGS'
3393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3396 if test -z "$CXX"; then
3397 if test -n "$CCC"; then
3398 CXX=$CCC
3399 else
3400 if test -n "$ac_tool_prefix"; then
3401 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3402 do
3403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if ${ac_cv_prog_CXX+:} false; then :
3408 $as_echo_n "(cached) " >&6
3409 else
3410 if test -n "$CXX"; then
3411 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3412 else
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH
3415 do
3416 IFS=$as_save_IFS
3417 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3420 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 break 2
3423 fi
3424 done
3425 done
3426 IFS=$as_save_IFS
3427
3428 fi
3429 fi
3430 CXX=$ac_cv_prog_CXX
3431 if test -n "$CXX"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3433 $as_echo "$CXX" >&6; }
3434 else
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3437 fi
3438
3439
3440 test -n "$CXX" && break
3441 done
3442 fi
3443 if test -z "$CXX"; then
3444 ac_ct_CXX=$CXX
3445 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3446 do
3447 # Extract the first word of "$ac_prog", so it can be a program name with args.
3448 set dummy $ac_prog; ac_word=$2
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3450 $as_echo_n "checking for $ac_word... " >&6; }
3451 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3452 $as_echo_n "(cached) " >&6
3453 else
3454 if test -n "$ac_ct_CXX"; then
3455 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3456 else
3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3458 for as_dir in $PATH
3459 do
3460 IFS=$as_save_IFS
3461 test -z "$as_dir" && as_dir=.
3462 for ac_exec_ext in '' $ac_executable_extensions; do
3463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3464 ac_cv_prog_ac_ct_CXX="$ac_prog"
3465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 break 2
3467 fi
3468 done
3469 done
3470 IFS=$as_save_IFS
3471
3472 fi
3473 fi
3474 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3475 if test -n "$ac_ct_CXX"; then
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3477 $as_echo "$ac_ct_CXX" >&6; }
3478 else
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3480 $as_echo "no" >&6; }
3481 fi
3482
3483
3484 test -n "$ac_ct_CXX" && break
3485 done
3486
3487 if test "x$ac_ct_CXX" = x; then
3488 CXX="g++"
3489 else
3490 case $cross_compiling:$ac_tool_warned in
3491 yes:)
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3494 ac_tool_warned=yes ;;
3495 esac
3496 CXX=$ac_ct_CXX
3497 fi
3498 fi
3499
3500 fi
3501 fi
3502 # Provide some information about the compiler.
3503 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3504 set X $ac_compile
3505 ac_compiler=$2
3506 for ac_option in --version -v -V -qversion; do
3507 { { ac_try="$ac_compiler $ac_option >&5"
3508 case "(($ac_try" in
3509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3510 *) ac_try_echo=$ac_try;;
3511 esac
3512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3513 $as_echo "$ac_try_echo"; } >&5
3514 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3515 ac_status=$?
3516 if test -s conftest.err; then
3517 sed '10a\
3518 ... rest of stderr output deleted ...
3519 10q' conftest.err >conftest.er1
3520 cat conftest.er1 >&5
3521 fi
3522 rm -f conftest.er1 conftest.err
3523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3524 test $ac_status = 0; }
3525 done
3526
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3529
3530 int
3531 main ()
3532 {
3533
3534 ;
3535 return 0;
3536 }
3537 _ACEOF
3538 ac_clean_files_save=$ac_clean_files
3539 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3540 # Try to create an executable without -o first, disregard a.out.
3541 # It will help us diagnose broken compilers, and finding out an intuition
3542 # of exeext.
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3544 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3545 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3546
3547 # The possible output files:
3548 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3549
3550 ac_rmfiles=
3551 for ac_file in $ac_files
3552 do
3553 case $ac_file in
3554 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3555 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3556 esac
3557 done
3558 rm -f $ac_rmfiles
3559
3560 if { { ac_try="$ac_link_default"
3561 case "(($ac_try" in
3562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563 *) ac_try_echo=$ac_try;;
3564 esac
3565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3566 $as_echo "$ac_try_echo"; } >&5
3567 (eval "$ac_link_default") 2>&5
3568 ac_status=$?
3569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3570 test $ac_status = 0; }; then :
3571 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3572 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3573 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3574 # so that the user can short-circuit this test for compilers unknown to
3575 # Autoconf.
3576 for ac_file in $ac_files ''
3577 do
3578 test -f "$ac_file" || continue
3579 case $ac_file in
3580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3581 ;;
3582 [ab].out )
3583 # We found the default executable, but exeext='' is most
3584 # certainly right.
3585 break;;
3586 *.* )
3587 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3588 then :; else
3589 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3590 fi
3591 # We set ac_cv_exeext here because the later test for it is not
3592 # safe: cross compilers may not add the suffix if given an `-o'
3593 # argument, so we may need to know it at that point already.
3594 # Even if this section looks crufty: it has the advantage of
3595 # actually working.
3596 break;;
3597 * )
3598 break;;
3599 esac
3600 done
3601 test "$ac_cv_exeext" = no && ac_cv_exeext=
3602
3603 else
3604 ac_file=''
3605 fi
3606 if test -z "$ac_file"; then :
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3609 $as_echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.$ac_ext >&5
3611
3612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3614 as_fn_error 77 "C++ compiler cannot create executables
3615 See \`config.log' for more details" "$LINENO" 5; }
3616 else
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3618 $as_echo "yes" >&6; }
3619 fi
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3621 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3623 $as_echo "$ac_file" >&6; }
3624 ac_exeext=$ac_cv_exeext
3625
3626 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3627 ac_clean_files=$ac_clean_files_save
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3629 $as_echo_n "checking for suffix of executables... " >&6; }
3630 if { { ac_try="$ac_link"
3631 case "(($ac_try" in
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3634 esac
3635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3636 $as_echo "$ac_try_echo"; } >&5
3637 (eval "$ac_link") 2>&5
3638 ac_status=$?
3639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3640 test $ac_status = 0; }; then :
3641 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3642 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3643 # work properly (i.e., refer to `conftest.exe'), while it won't with
3644 # `rm'.
3645 for ac_file in conftest.exe conftest conftest.*; do
3646 test -f "$ac_file" || continue
3647 case $ac_file in
3648 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3649 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3650 break;;
3651 * ) break;;
3652 esac
3653 done
3654 else
3655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3658 See \`config.log' for more details" "$LINENO" 5; }
3659 fi
3660 rm -f conftest conftest$ac_cv_exeext
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3662 $as_echo "$ac_cv_exeext" >&6; }
3663
3664 rm -f conftest.$ac_ext
3665 EXEEXT=$ac_cv_exeext
3666 ac_exeext=$EXEEXT
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3669 @%:@include <stdio.h>
3670 int
3671 main ()
3672 {
3673 FILE *f = fopen ("conftest.out", "w");
3674 return ferror (f) || fclose (f) != 0;
3675
3676 ;
3677 return 0;
3678 }
3679 _ACEOF
3680 ac_clean_files="$ac_clean_files conftest.out"
3681 # Check that the compiler produces executables we can run. If not, either
3682 # the compiler is broken, or we cross compile.
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3684 $as_echo_n "checking whether we are cross compiling... " >&6; }
3685 if test "$cross_compiling" != yes; then
3686 { { ac_try="$ac_link"
3687 case "(($ac_try" in
3688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3689 *) ac_try_echo=$ac_try;;
3690 esac
3691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3692 $as_echo "$ac_try_echo"; } >&5
3693 (eval "$ac_link") 2>&5
3694 ac_status=$?
3695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3696 test $ac_status = 0; }
3697 if { ac_try='./conftest$ac_cv_exeext'
3698 { { case "(($ac_try" in
3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700 *) ac_try_echo=$ac_try;;
3701 esac
3702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3703 $as_echo "$ac_try_echo"; } >&5
3704 (eval "$ac_try") 2>&5
3705 ac_status=$?
3706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3707 test $ac_status = 0; }; }; then
3708 cross_compiling=no
3709 else
3710 if test "$cross_compiling" = maybe; then
3711 cross_compiling=yes
3712 else
3713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3715 as_fn_error $? "cannot run C++ compiled programs.
3716 If you meant to cross compile, use \`--host'.
3717 See \`config.log' for more details" "$LINENO" 5; }
3718 fi
3719 fi
3720 fi
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3722 $as_echo "$cross_compiling" >&6; }
3723
3724 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3725 ac_clean_files=$ac_clean_files_save
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3727 $as_echo_n "checking for suffix of object files... " >&6; }
3728 if ${ac_cv_objext+:} false; then :
3729 $as_echo_n "(cached) " >&6
3730 else
3731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3732 /* end confdefs.h. */
3733
3734 int
3735 main ()
3736 {
3737
3738 ;
3739 return 0;
3740 }
3741 _ACEOF
3742 rm -f conftest.o conftest.obj
3743 if { { ac_try="$ac_compile"
3744 case "(($ac_try" in
3745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746 *) ac_try_echo=$ac_try;;
3747 esac
3748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3749 $as_echo "$ac_try_echo"; } >&5
3750 (eval "$ac_compile") 2>&5
3751 ac_status=$?
3752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3753 test $ac_status = 0; }; then :
3754 for ac_file in conftest.o conftest.obj conftest.*; do
3755 test -f "$ac_file" || continue;
3756 case $ac_file in
3757 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3758 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3759 break;;
3760 esac
3761 done
3762 else
3763 $as_echo "$as_me: failed program was:" >&5
3764 sed 's/^/| /' conftest.$ac_ext >&5
3765
3766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3768 as_fn_error $? "cannot compute suffix of object files: cannot compile
3769 See \`config.log' for more details" "$LINENO" 5; }
3770 fi
3771 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3772 fi
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3774 $as_echo "$ac_cv_objext" >&6; }
3775 OBJEXT=$ac_cv_objext
3776 ac_objext=$OBJEXT
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3778 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3779 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h. */
3784
3785 int
3786 main ()
3787 {
3788 #ifndef __GNUC__
3789 choke me
3790 #endif
3791
3792 ;
3793 return 0;
3794 }
3795 _ACEOF
3796 if ac_fn_cxx_try_compile "$LINENO"; then :
3797 ac_compiler_gnu=yes
3798 else
3799 ac_compiler_gnu=no
3800 fi
3801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3802 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3803
3804 fi
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3806 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3807 if test $ac_compiler_gnu = yes; then
3808 GXX=yes
3809 else
3810 GXX=
3811 fi
3812 ac_test_CXXFLAGS=${CXXFLAGS+set}
3813 ac_save_CXXFLAGS=$CXXFLAGS
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3815 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3816 if ${ac_cv_prog_cxx_g+:} false; then :
3817 $as_echo_n "(cached) " >&6
3818 else
3819 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3820 ac_cxx_werror_flag=yes
3821 ac_cv_prog_cxx_g=no
3822 CXXFLAGS="-g"
3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3825
3826 int
3827 main ()
3828 {
3829
3830 ;
3831 return 0;
3832 }
3833 _ACEOF
3834 if ac_fn_cxx_try_compile "$LINENO"; then :
3835 ac_cv_prog_cxx_g=yes
3836 else
3837 CXXFLAGS=""
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3840
3841 int
3842 main ()
3843 {
3844
3845 ;
3846 return 0;
3847 }
3848 _ACEOF
3849 if ac_fn_cxx_try_compile "$LINENO"; then :
3850
3851 else
3852 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3853 CXXFLAGS="-g"
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3856
3857 int
3858 main ()
3859 {
3860
3861 ;
3862 return 0;
3863 }
3864 _ACEOF
3865 if ac_fn_cxx_try_compile "$LINENO"; then :
3866 ac_cv_prog_cxx_g=yes
3867 fi
3868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3869 fi
3870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3871 fi
3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3873 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3874 fi
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3876 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3877 if test "$ac_test_CXXFLAGS" = set; then
3878 CXXFLAGS=$ac_save_CXXFLAGS
3879 elif test $ac_cv_prog_cxx_g = yes; then
3880 if test "$GXX" = yes; then
3881 CXXFLAGS="-g -O2"
3882 else
3883 CXXFLAGS="-g"
3884 fi
3885 else
3886 if test "$GXX" = yes; then
3887 CXXFLAGS="-O2"
3888 else
3889 CXXFLAGS=
3890 fi
3891 fi
3892 ac_ext=cpp
3893 ac_cpp='$CXXCPP $CPPFLAGS'
3894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3897 DEPDIR="${am__leading_dot}deps"
3898
3899 ac_config_commands="$ac_config_commands depfiles"
3900
3901
3902 am_make=${MAKE-make}
3903 cat > confinc << 'END'
3904 am__doit:
3905 @echo this is the am__doit target
3906 .PHONY: am__doit
3907 END
3908 # If we don't find an include directive, just comment out the code.
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3910 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3911 am__include="#"
3912 am__quote=
3913 _am_result=none
3914 # First try GNU make style include.
3915 echo "include confinc" > confmf
3916 # Ignore all kinds of additional output from `make'.
3917 case `$am_make -s -f confmf 2> /dev/null` in #(
3918 *the\ am__doit\ target*)
3919 am__include=include
3920 am__quote=
3921 _am_result=GNU
3922 ;;
3923 esac
3924 # Now try BSD make style include.
3925 if test "$am__include" = "#"; then
3926 echo '.include "confinc"' > confmf
3927 case `$am_make -s -f confmf 2> /dev/null` in #(
3928 *the\ am__doit\ target*)
3929 am__include=.include
3930 am__quote="\""
3931 _am_result=BSD
3932 ;;
3933 esac
3934 fi
3935
3936
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3938 $as_echo "$_am_result" >&6; }
3939 rm -f confinc confmf
3940
3941 @%:@ Check whether --enable-dependency-tracking was given.
3942 if test "${enable_dependency_tracking+set}" = set; then :
3943 enableval=$enable_dependency_tracking;
3944 fi
3945
3946 if test "x$enable_dependency_tracking" != xno; then
3947 am_depcomp="$ac_aux_dir/depcomp"
3948 AMDEPBACKSLASH='\'
3949 fi
3950 if test "x$enable_dependency_tracking" != xno; then
3951 AMDEP_TRUE=
3952 AMDEP_FALSE='#'
3953 else
3954 AMDEP_TRUE='#'
3955 AMDEP_FALSE=
3956 fi
3957
3958
3959
3960 depcc="$CXX" am_compiler_list=
3961
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3963 $as_echo_n "checking dependency style of $depcc... " >&6; }
3964 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3965 $as_echo_n "(cached) " >&6
3966 else
3967 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3968 # We make a subdir and do the tests there. Otherwise we can end up
3969 # making bogus files that we don't know about and never remove. For
3970 # instance it was reported that on HP-UX the gcc test will end up
3971 # making a dummy file named `D' -- because `-MD' means `put the output
3972 # in D'.
3973 mkdir conftest.dir
3974 # Copy depcomp to subdir because otherwise we won't find it if we're
3975 # using a relative directory.
3976 cp "$am_depcomp" conftest.dir
3977 cd conftest.dir
3978 # We will build objects and dependencies in a subdirectory because
3979 # it helps to detect inapplicable dependency modes. For instance
3980 # both Tru64's cc and ICC support -MD to output dependencies as a
3981 # side effect of compilation, but ICC will put the dependencies in
3982 # the current directory while Tru64 will put them in the object
3983 # directory.
3984 mkdir sub
3985
3986 am_cv_CXX_dependencies_compiler_type=none
3987 if test "$am_compiler_list" = ""; then
3988 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3989 fi
3990 am__universal=false
3991 case " $depcc " in #(
3992 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3993 esac
3994
3995 for depmode in $am_compiler_list; do
3996 # Setup a source with many dependencies, because some compilers
3997 # like to wrap large dependency lists on column 80 (with \), and
3998 # we should not choose a depcomp mode which is confused by this.
3999 #
4000 # We need to recreate these files for each test, as the compiler may
4001 # overwrite some of them when testing with obscure command lines.
4002 # This happens at least with the AIX C compiler.
4003 : > sub/conftest.c
4004 for i in 1 2 3 4 5 6; do
4005 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4006 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4007 # Solaris 8's {/usr,}/bin/sh.
4008 touch sub/conftst$i.h
4009 done
4010 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4011
4012 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4013 # mode. It turns out that the SunPro C++ compiler does not properly
4014 # handle `-M -o', and we need to detect this. Also, some Intel
4015 # versions had trouble with output in subdirs
4016 am__obj=sub/conftest.${OBJEXT-o}
4017 am__minus_obj="-o $am__obj"
4018 case $depmode in
4019 gcc)
4020 # This depmode causes a compiler race in universal mode.
4021 test "$am__universal" = false || continue
4022 ;;
4023 nosideeffect)
4024 # after this tag, mechanisms are not by side-effect, so they'll
4025 # only be used when explicitly requested
4026 if test "x$enable_dependency_tracking" = xyes; then
4027 continue
4028 else
4029 break
4030 fi
4031 ;;
4032 msvisualcpp | msvcmsys)
4033 # This compiler won't grok `-c -o', but also, the minuso test has
4034 # not run yet. These depmodes are late enough in the game, and
4035 # so weak that their functioning should not be impacted.
4036 am__obj=conftest.${OBJEXT-o}
4037 am__minus_obj=
4038 ;;
4039 none) break ;;
4040 esac
4041 if depmode=$depmode \
4042 source=sub/conftest.c object=$am__obj \
4043 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4044 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4045 >/dev/null 2>conftest.err &&
4046 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4047 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4048 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4049 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4050 # icc doesn't choke on unknown options, it will just issue warnings
4051 # or remarks (even with -Werror). So we grep stderr for any message
4052 # that says an option was ignored or not supported.
4053 # When given -MP, icc 7.0 and 7.1 complain thusly:
4054 # icc: Command line warning: ignoring option '-M'; no argument required
4055 # The diagnosis changed in icc 8.0:
4056 # icc: Command line remark: option '-MP' not supported
4057 if (grep 'ignoring option' conftest.err ||
4058 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4059 am_cv_CXX_dependencies_compiler_type=$depmode
4060 break
4061 fi
4062 fi
4063 done
4064
4065 cd ..
4066 rm -rf conftest.dir
4067 else
4068 am_cv_CXX_dependencies_compiler_type=none
4069 fi
4070
4071 fi
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4073 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4074 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4075
4076 if
4077 test "x$enable_dependency_tracking" != xno \
4078 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4079 am__fastdepCXX_TRUE=
4080 am__fastdepCXX_FALSE='#'
4081 else
4082 am__fastdepCXX_TRUE='#'
4083 am__fastdepCXX_FALSE=
4084 fi
4085
4086
4087 ac_ext=c
4088 ac_cpp='$CPP $CPPFLAGS'
4089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4092 if test -n "$ac_tool_prefix"; then
4093 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4094 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4096 $as_echo_n "checking for $ac_word... " >&6; }
4097 if ${ac_cv_prog_CC+:} false; then :
4098 $as_echo_n "(cached) " >&6
4099 else
4100 if test -n "$CC"; then
4101 ac_cv_prog_CC="$CC" # Let the user override the test.
4102 else
4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4104 for as_dir in $PATH
4105 do
4106 IFS=$as_save_IFS
4107 test -z "$as_dir" && as_dir=.
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4110 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 break 2
4113 fi
4114 done
4115 done
4116 IFS=$as_save_IFS
4117
4118 fi
4119 fi
4120 CC=$ac_cv_prog_CC
4121 if test -n "$CC"; then
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4123 $as_echo "$CC" >&6; }
4124 else
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4126 $as_echo "no" >&6; }
4127 fi
4128
4129
4130 fi
4131 if test -z "$ac_cv_prog_CC"; then
4132 ac_ct_CC=$CC
4133 # Extract the first word of "gcc", so it can be a program name with args.
4134 set dummy gcc; ac_word=$2
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4136 $as_echo_n "checking for $ac_word... " >&6; }
4137 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4138 $as_echo_n "(cached) " >&6
4139 else
4140 if test -n "$ac_ct_CC"; then
4141 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4142 else
4143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4144 for as_dir in $PATH
4145 do
4146 IFS=$as_save_IFS
4147 test -z "$as_dir" && as_dir=.
4148 for ac_exec_ext in '' $ac_executable_extensions; do
4149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4150 ac_cv_prog_ac_ct_CC="gcc"
4151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4152 break 2
4153 fi
4154 done
4155 done
4156 IFS=$as_save_IFS
4157
4158 fi
4159 fi
4160 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4161 if test -n "$ac_ct_CC"; then
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4163 $as_echo "$ac_ct_CC" >&6; }
4164 else
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4166 $as_echo "no" >&6; }
4167 fi
4168
4169 if test "x$ac_ct_CC" = x; then
4170 CC=""
4171 else
4172 case $cross_compiling:$ac_tool_warned in
4173 yes:)
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4176 ac_tool_warned=yes ;;
4177 esac
4178 CC=$ac_ct_CC
4179 fi
4180 else
4181 CC="$ac_cv_prog_CC"
4182 fi
4183
4184 if test -z "$CC"; then
4185 if test -n "$ac_tool_prefix"; then
4186 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4187 set dummy ${ac_tool_prefix}cc; ac_word=$2
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4189 $as_echo_n "checking for $ac_word... " >&6; }
4190 if ${ac_cv_prog_CC+:} false; then :
4191 $as_echo_n "(cached) " >&6
4192 else
4193 if test -n "$CC"; then
4194 ac_cv_prog_CC="$CC" # Let the user override the test.
4195 else
4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4197 for as_dir in $PATH
4198 do
4199 IFS=$as_save_IFS
4200 test -z "$as_dir" && as_dir=.
4201 for ac_exec_ext in '' $ac_executable_extensions; do
4202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4203 ac_cv_prog_CC="${ac_tool_prefix}cc"
4204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4205 break 2
4206 fi
4207 done
4208 done
4209 IFS=$as_save_IFS
4210
4211 fi
4212 fi
4213 CC=$ac_cv_prog_CC
4214 if test -n "$CC"; then
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4216 $as_echo "$CC" >&6; }
4217 else
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4219 $as_echo "no" >&6; }
4220 fi
4221
4222
4223 fi
4224 fi
4225 if test -z "$CC"; then
4226 # Extract the first word of "cc", so it can be a program name with args.
4227 set dummy cc; ac_word=$2
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4229 $as_echo_n "checking for $ac_word... " >&6; }
4230 if ${ac_cv_prog_CC+:} false; then :
4231 $as_echo_n "(cached) " >&6
4232 else
4233 if test -n "$CC"; then
4234 ac_cv_prog_CC="$CC" # Let the user override the test.
4235 else
4236 ac_prog_rejected=no
4237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4238 for as_dir in $PATH
4239 do
4240 IFS=$as_save_IFS
4241 test -z "$as_dir" && as_dir=.
4242 for ac_exec_ext in '' $ac_executable_extensions; do
4243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4244 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4245 ac_prog_rejected=yes
4246 continue
4247 fi
4248 ac_cv_prog_CC="cc"
4249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250 break 2
4251 fi
4252 done
4253 done
4254 IFS=$as_save_IFS
4255
4256 if test $ac_prog_rejected = yes; then
4257 # We found a bogon in the path, so make sure we never use it.
4258 set dummy $ac_cv_prog_CC
4259 shift
4260 if test $@%:@ != 0; then
4261 # We chose a different compiler from the bogus one.
4262 # However, it has the same basename, so the bogon will be chosen
4263 # first if we set CC to just the basename; use the full file name.
4264 shift
4265 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4266 fi
4267 fi
4268 fi
4269 fi
4270 CC=$ac_cv_prog_CC
4271 if test -n "$CC"; then
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4273 $as_echo "$CC" >&6; }
4274 else
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4276 $as_echo "no" >&6; }
4277 fi
4278
4279
4280 fi
4281 if test -z "$CC"; then
4282 if test -n "$ac_tool_prefix"; then
4283 for ac_prog in cl.exe
4284 do
4285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4288 $as_echo_n "checking for $ac_word... " >&6; }
4289 if ${ac_cv_prog_CC+:} false; then :
4290 $as_echo_n "(cached) " >&6
4291 else
4292 if test -n "$CC"; then
4293 ac_cv_prog_CC="$CC" # Let the user override the test.
4294 else
4295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4296 for as_dir in $PATH
4297 do
4298 IFS=$as_save_IFS
4299 test -z "$as_dir" && as_dir=.
4300 for ac_exec_ext in '' $ac_executable_extensions; do
4301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4302 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4304 break 2
4305 fi
4306 done
4307 done
4308 IFS=$as_save_IFS
4309
4310 fi
4311 fi
4312 CC=$ac_cv_prog_CC
4313 if test -n "$CC"; then
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4315 $as_echo "$CC" >&6; }
4316 else
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4318 $as_echo "no" >&6; }
4319 fi
4320
4321
4322 test -n "$CC" && break
4323 done
4324 fi
4325 if test -z "$CC"; then
4326 ac_ct_CC=$CC
4327 for ac_prog in cl.exe
4328 do
4329 # Extract the first word of "$ac_prog", so it can be a program name with args.
4330 set dummy $ac_prog; ac_word=$2
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4332 $as_echo_n "checking for $ac_word... " >&6; }
4333 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4334 $as_echo_n "(cached) " >&6
4335 else
4336 if test -n "$ac_ct_CC"; then
4337 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4338 else
4339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 for as_dir in $PATH
4341 do
4342 IFS=$as_save_IFS
4343 test -z "$as_dir" && as_dir=.
4344 for ac_exec_ext in '' $ac_executable_extensions; do
4345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4346 ac_cv_prog_ac_ct_CC="$ac_prog"
4347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4348 break 2
4349 fi
4350 done
4351 done
4352 IFS=$as_save_IFS
4353
4354 fi
4355 fi
4356 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4357 if test -n "$ac_ct_CC"; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4359 $as_echo "$ac_ct_CC" >&6; }
4360 else
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4362 $as_echo "no" >&6; }
4363 fi
4364
4365
4366 test -n "$ac_ct_CC" && break
4367 done
4368
4369 if test "x$ac_ct_CC" = x; then
4370 CC=""
4371 else
4372 case $cross_compiling:$ac_tool_warned in
4373 yes:)
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4376 ac_tool_warned=yes ;;
4377 esac
4378 CC=$ac_ct_CC
4379 fi
4380 fi
4381
4382 fi
4383
4384
4385 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4387 as_fn_error $? "no acceptable C compiler found in \$PATH
4388 See \`config.log' for more details" "$LINENO" 5; }
4389
4390 # Provide some information about the compiler.
4391 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4392 set X $ac_compile
4393 ac_compiler=$2
4394 for ac_option in --version -v -V -qversion; do
4395 { { ac_try="$ac_compiler $ac_option >&5"
4396 case "(($ac_try" in
4397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4398 *) ac_try_echo=$ac_try;;
4399 esac
4400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4401 $as_echo "$ac_try_echo"; } >&5
4402 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4403 ac_status=$?
4404 if test -s conftest.err; then
4405 sed '10a\
4406 ... rest of stderr output deleted ...
4407 10q' conftest.err >conftest.er1
4408 cat conftest.er1 >&5
4409 fi
4410 rm -f conftest.er1 conftest.err
4411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4412 test $ac_status = 0; }
4413 done
4414
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4416 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4417 if ${ac_cv_c_compiler_gnu+:} false; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4422
4423 int
4424 main ()
4425 {
4426 #ifndef __GNUC__
4427 choke me
4428 #endif
4429
4430 ;
4431 return 0;
4432 }
4433 _ACEOF
4434 if ac_fn_c_try_compile "$LINENO"; then :
4435 ac_compiler_gnu=yes
4436 else
4437 ac_compiler_gnu=no
4438 fi
4439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4440 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4441
4442 fi
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4444 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4445 if test $ac_compiler_gnu = yes; then
4446 GCC=yes
4447 else
4448 GCC=
4449 fi
4450 ac_test_CFLAGS=${CFLAGS+set}
4451 ac_save_CFLAGS=$CFLAGS
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4453 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4454 if ${ac_cv_prog_cc_g+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 ac_save_c_werror_flag=$ac_c_werror_flag
4458 ac_c_werror_flag=yes
4459 ac_cv_prog_cc_g=no
4460 CFLAGS="-g"
4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4463
4464 int
4465 main ()
4466 {
4467
4468 ;
4469 return 0;
4470 }
4471 _ACEOF
4472 if ac_fn_c_try_compile "$LINENO"; then :
4473 ac_cv_prog_cc_g=yes
4474 else
4475 CFLAGS=""
4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4478
4479 int
4480 main ()
4481 {
4482
4483 ;
4484 return 0;
4485 }
4486 _ACEOF
4487 if ac_fn_c_try_compile "$LINENO"; then :
4488
4489 else
4490 ac_c_werror_flag=$ac_save_c_werror_flag
4491 CFLAGS="-g"
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4494
4495 int
4496 main ()
4497 {
4498
4499 ;
4500 return 0;
4501 }
4502 _ACEOF
4503 if ac_fn_c_try_compile "$LINENO"; then :
4504 ac_cv_prog_cc_g=yes
4505 fi
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 fi
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4509 fi
4510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 ac_c_werror_flag=$ac_save_c_werror_flag
4512 fi
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4514 $as_echo "$ac_cv_prog_cc_g" >&6; }
4515 if test "$ac_test_CFLAGS" = set; then
4516 CFLAGS=$ac_save_CFLAGS
4517 elif test $ac_cv_prog_cc_g = yes; then
4518 if test "$GCC" = yes; then
4519 CFLAGS="-g -O2"
4520 else
4521 CFLAGS="-g"
4522 fi
4523 else
4524 if test "$GCC" = yes; then
4525 CFLAGS="-O2"
4526 else
4527 CFLAGS=
4528 fi
4529 fi
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4531 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4532 if ${ac_cv_prog_cc_c89+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 ac_cv_prog_cc_c89=no
4536 ac_save_CC=$CC
4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4539 #include <stdarg.h>
4540 #include <stdio.h>
4541 struct stat;
4542 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4543 struct buf { int x; };
4544 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4545 static char *e (p, i)
4546 char **p;
4547 int i;
4548 {
4549 return p[i];
4550 }
4551 static char *f (char * (*g) (char **, int), char **p, ...)
4552 {
4553 char *s;
4554 va_list v;
4555 va_start (v,p);
4556 s = g (p, va_arg (v,int));
4557 va_end (v);
4558 return s;
4559 }
4560
4561 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4562 function prototypes and stuff, but not '\xHH' hex character constants.
4563 These don't provoke an error unfortunately, instead are silently treated
4564 as 'x'. The following induces an error, until -std is added to get
4565 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4566 array size at least. It's necessary to write '\x00'==0 to get something
4567 that's true only with -std. */
4568 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4569
4570 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4571 inside strings and character constants. */
4572 #define FOO(x) 'x'
4573 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4574
4575 int test (int i, double x);
4576 struct s1 {int (*f) (int a);};
4577 struct s2 {int (*f) (double a);};
4578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4579 int argc;
4580 char **argv;
4581 int
4582 main ()
4583 {
4584 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4585 ;
4586 return 0;
4587 }
4588 _ACEOF
4589 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4590 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4591 do
4592 CC="$ac_save_CC $ac_arg"
4593 if ac_fn_c_try_compile "$LINENO"; then :
4594 ac_cv_prog_cc_c89=$ac_arg
4595 fi
4596 rm -f core conftest.err conftest.$ac_objext
4597 test "x$ac_cv_prog_cc_c89" != "xno" && break
4598 done
4599 rm -f conftest.$ac_ext
4600 CC=$ac_save_CC
4601
4602 fi
4603 # AC_CACHE_VAL
4604 case "x$ac_cv_prog_cc_c89" in
4605 x)
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4607 $as_echo "none needed" >&6; } ;;
4608 xno)
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4610 $as_echo "unsupported" >&6; } ;;
4611 *)
4612 CC="$CC $ac_cv_prog_cc_c89"
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4614 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4615 esac
4616 if test "x$ac_cv_prog_cc_c89" != xno; then :
4617
4618 fi
4619
4620 ac_ext=cpp
4621 ac_cpp='$CXXCPP $CPPFLAGS'
4622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4625
4626 depcc="$CC" am_compiler_list=
4627
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4629 $as_echo_n "checking dependency style of $depcc... " >&6; }
4630 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4631 $as_echo_n "(cached) " >&6
4632 else
4633 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4634 # We make a subdir and do the tests there. Otherwise we can end up
4635 # making bogus files that we don't know about and never remove. For
4636 # instance it was reported that on HP-UX the gcc test will end up
4637 # making a dummy file named `D' -- because `-MD' means `put the output
4638 # in D'.
4639 mkdir conftest.dir
4640 # Copy depcomp to subdir because otherwise we won't find it if we're
4641 # using a relative directory.
4642 cp "$am_depcomp" conftest.dir
4643 cd conftest.dir
4644 # We will build objects and dependencies in a subdirectory because
4645 # it helps to detect inapplicable dependency modes. For instance
4646 # both Tru64's cc and ICC support -MD to output dependencies as a
4647 # side effect of compilation, but ICC will put the dependencies in
4648 # the current directory while Tru64 will put them in the object
4649 # directory.
4650 mkdir sub
4651
4652 am_cv_CC_dependencies_compiler_type=none
4653 if test "$am_compiler_list" = ""; then
4654 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4655 fi
4656 am__universal=false
4657 case " $depcc " in #(
4658 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4659 esac
4660
4661 for depmode in $am_compiler_list; do
4662 # Setup a source with many dependencies, because some compilers
4663 # like to wrap large dependency lists on column 80 (with \), and
4664 # we should not choose a depcomp mode which is confused by this.
4665 #
4666 # We need to recreate these files for each test, as the compiler may
4667 # overwrite some of them when testing with obscure command lines.
4668 # This happens at least with the AIX C compiler.
4669 : > sub/conftest.c
4670 for i in 1 2 3 4 5 6; do
4671 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4672 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4673 # Solaris 8's {/usr,}/bin/sh.
4674 touch sub/conftst$i.h
4675 done
4676 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4677
4678 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4679 # mode. It turns out that the SunPro C++ compiler does not properly
4680 # handle `-M -o', and we need to detect this. Also, some Intel
4681 # versions had trouble with output in subdirs
4682 am__obj=sub/conftest.${OBJEXT-o}
4683 am__minus_obj="-o $am__obj"
4684 case $depmode in
4685 gcc)
4686 # This depmode causes a compiler race in universal mode.
4687 test "$am__universal" = false || continue
4688 ;;
4689 nosideeffect)
4690 # after this tag, mechanisms are not by side-effect, so they'll
4691 # only be used when explicitly requested
4692 if test "x$enable_dependency_tracking" = xyes; then
4693 continue
4694 else
4695 break
4696 fi
4697 ;;
4698 msvisualcpp | msvcmsys)
4699 # This compiler won't grok `-c -o', but also, the minuso test has
4700 # not run yet. These depmodes are late enough in the game, and
4701 # so weak that their functioning should not be impacted.
4702 am__obj=conftest.${OBJEXT-o}
4703 am__minus_obj=
4704 ;;
4705 none) break ;;
4706 esac
4707 if depmode=$depmode \
4708 source=sub/conftest.c object=$am__obj \
4709 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4710 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4711 >/dev/null 2>conftest.err &&
4712 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4713 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4714 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4715 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4716 # icc doesn't choke on unknown options, it will just issue warnings
4717 # or remarks (even with -Werror). So we grep stderr for any message
4718 # that says an option was ignored or not supported.
4719 # When given -MP, icc 7.0 and 7.1 complain thusly:
4720 # icc: Command line warning: ignoring option '-M'; no argument required
4721 # The diagnosis changed in icc 8.0:
4722 # icc: Command line remark: option '-MP' not supported
4723 if (grep 'ignoring option' conftest.err ||
4724 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4725 am_cv_CC_dependencies_compiler_type=$depmode
4726 break
4727 fi
4728 fi
4729 done
4730
4731 cd ..
4732 rm -rf conftest.dir
4733 else
4734 am_cv_CC_dependencies_compiler_type=none
4735 fi
4736
4737 fi
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4739 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4740 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4741
4742 if
4743 test "x$enable_dependency_tracking" != xno \
4744 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4745 am__fastdepCC_TRUE=
4746 am__fastdepCC_FALSE='#'
4747 else
4748 am__fastdepCC_TRUE='#'
4749 am__fastdepCC_FALSE=
4750 fi
4751
4752
4753 ac_ext=c
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4759 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4760 # On Suns, sometimes $CPP names a directory.
4761 if test -n "$CPP" && test -d "$CPP"; then
4762 CPP=
4763 fi
4764 if test -z "$CPP"; then
4765 if ${ac_cv_prog_CPP+:} false; then :
4766 $as_echo_n "(cached) " >&6
4767 else
4768 # Double quotes because CPP needs to be expanded
4769 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4770 do
4771 ac_preproc_ok=false
4772 for ac_c_preproc_warn_flag in '' yes
4773 do
4774 # Use a header file that comes with gcc, so configuring glibc
4775 # with a fresh cross-compiler works.
4776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4777 # <limits.h> exists even on freestanding compilers.
4778 # On the NeXT, cc -E runs the code through the compiler's parser,
4779 # not just through cpp. "Syntax error" is here to catch this case.
4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4782 @%:@ifdef __STDC__
4783 @%:@ include <limits.h>
4784 @%:@else
4785 @%:@ include <assert.h>
4786 @%:@endif
4787 Syntax error
4788 _ACEOF
4789 if ac_fn_c_try_cpp "$LINENO"; then :
4790
4791 else
4792 # Broken: fails on valid input.
4793 continue
4794 fi
4795 rm -f conftest.err conftest.i conftest.$ac_ext
4796
4797 # OK, works on sane cases. Now check whether nonexistent headers
4798 # can be detected and how.
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4801 @%:@include <ac_nonexistent.h>
4802 _ACEOF
4803 if ac_fn_c_try_cpp "$LINENO"; then :
4804 # Broken: success on invalid input.
4805 continue
4806 else
4807 # Passes both tests.
4808 ac_preproc_ok=:
4809 break
4810 fi
4811 rm -f conftest.err conftest.i conftest.$ac_ext
4812
4813 done
4814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4815 rm -f conftest.i conftest.err conftest.$ac_ext
4816 if $ac_preproc_ok; then :
4817 break
4818 fi
4819
4820 done
4821 ac_cv_prog_CPP=$CPP
4822
4823 fi
4824 CPP=$ac_cv_prog_CPP
4825 else
4826 ac_cv_prog_CPP=$CPP
4827 fi
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4829 $as_echo "$CPP" >&6; }
4830 ac_preproc_ok=false
4831 for ac_c_preproc_warn_flag in '' yes
4832 do
4833 # Use a header file that comes with gcc, so configuring glibc
4834 # with a fresh cross-compiler works.
4835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4836 # <limits.h> exists even on freestanding compilers.
4837 # On the NeXT, cc -E runs the code through the compiler's parser,
4838 # not just through cpp. "Syntax error" is here to catch this case.
4839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4840 /* end confdefs.h. */
4841 @%:@ifdef __STDC__
4842 @%:@ include <limits.h>
4843 @%:@else
4844 @%:@ include <assert.h>
4845 @%:@endif
4846 Syntax error
4847 _ACEOF
4848 if ac_fn_c_try_cpp "$LINENO"; then :
4849
4850 else
4851 # Broken: fails on valid input.
4852 continue
4853 fi
4854 rm -f conftest.err conftest.i conftest.$ac_ext
4855
4856 # OK, works on sane cases. Now check whether nonexistent headers
4857 # can be detected and how.
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4860 @%:@include <ac_nonexistent.h>
4861 _ACEOF
4862 if ac_fn_c_try_cpp "$LINENO"; then :
4863 # Broken: success on invalid input.
4864 continue
4865 else
4866 # Passes both tests.
4867 ac_preproc_ok=:
4868 break
4869 fi
4870 rm -f conftest.err conftest.i conftest.$ac_ext
4871
4872 done
4873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4874 rm -f conftest.i conftest.err conftest.$ac_ext
4875 if $ac_preproc_ok; then :
4876
4877 else
4878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4880 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4881 See \`config.log' for more details" "$LINENO" 5; }
4882 fi
4883
4884 ac_ext=cpp
4885 ac_cpp='$CXXCPP $CPPFLAGS'
4886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4889
4890 case `pwd` in
4891 *\ * | *\ *)
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4893 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4894 esac
4895
4896
4897
4898 macro_version='2.2.6b'
4899 macro_revision='1.3017'
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913 ltmain="$ac_aux_dir/ltmain.sh"
4914
4915 # Make sure we can run config.sub.
4916 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4917 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4918
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4920 $as_echo_n "checking build system type... " >&6; }
4921 if ${ac_cv_build+:} false; then :
4922 $as_echo_n "(cached) " >&6
4923 else
4924 ac_build_alias=$build_alias
4925 test "x$ac_build_alias" = x &&
4926 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4927 test "x$ac_build_alias" = x &&
4928 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4929 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4930 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4931
4932 fi
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4934 $as_echo "$ac_cv_build" >&6; }
4935 case $ac_cv_build in
4936 *-*-*) ;;
4937 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4938 esac
4939 build=$ac_cv_build
4940 ac_save_IFS=$IFS; IFS='-'
4941 set x $ac_cv_build
4942 shift
4943 build_cpu=$1
4944 build_vendor=$2
4945 shift; shift
4946 # Remember, the first character of IFS is used to create $*,
4947 # except with old shells:
4948 build_os=$*
4949 IFS=$ac_save_IFS
4950 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4951
4952
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4954 $as_echo_n "checking host system type... " >&6; }
4955 if ${ac_cv_host+:} false; then :
4956 $as_echo_n "(cached) " >&6
4957 else
4958 if test "x$host_alias" = x; then
4959 ac_cv_host=$ac_cv_build
4960 else
4961 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4962 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4963 fi
4964
4965 fi
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4967 $as_echo "$ac_cv_host" >&6; }
4968 case $ac_cv_host in
4969 *-*-*) ;;
4970 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4971 esac
4972 host=$ac_cv_host
4973 ac_save_IFS=$IFS; IFS='-'
4974 set x $ac_cv_host
4975 shift
4976 host_cpu=$1
4977 host_vendor=$2
4978 shift; shift
4979 # Remember, the first character of IFS is used to create $*,
4980 # except with old shells:
4981 host_os=$*
4982 IFS=$ac_save_IFS
4983 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4984
4985
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4987 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4988 if ${ac_cv_path_SED+:} false; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4992 for ac_i in 1 2 3 4 5 6 7; do
4993 ac_script="$ac_script$as_nl$ac_script"
4994 done
4995 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4996 { ac_script=; unset ac_script;}
4997 if test -z "$SED"; then
4998 ac_path_SED_found=false
4999 # Loop through the user's path and test for each of PROGNAME-LIST
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 for as_dir in $PATH
5002 do
5003 IFS=$as_save_IFS
5004 test -z "$as_dir" && as_dir=.
5005 for ac_prog in sed gsed; do
5006 for ac_exec_ext in '' $ac_executable_extensions; do
5007 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5008 as_fn_executable_p "$ac_path_SED" || continue
5009 # Check for GNU ac_path_SED and select it if it is found.
5010 # Check for GNU $ac_path_SED
5011 case `"$ac_path_SED" --version 2>&1` in
5012 *GNU*)
5013 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5014 *)
5015 ac_count=0
5016 $as_echo_n 0123456789 >"conftest.in"
5017 while :
5018 do
5019 cat "conftest.in" "conftest.in" >"conftest.tmp"
5020 mv "conftest.tmp" "conftest.in"
5021 cp "conftest.in" "conftest.nl"
5022 $as_echo '' >> "conftest.nl"
5023 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5024 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5025 as_fn_arith $ac_count + 1 && ac_count=$as_val
5026 if test $ac_count -gt ${ac_path_SED_max-0}; then
5027 # Best one so far, save it but keep looking for a better one
5028 ac_cv_path_SED="$ac_path_SED"
5029 ac_path_SED_max=$ac_count
5030 fi
5031 # 10*(2^10) chars as input seems more than enough
5032 test $ac_count -gt 10 && break
5033 done
5034 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5035 esac
5036
5037 $ac_path_SED_found && break 3
5038 done
5039 done
5040 done
5041 IFS=$as_save_IFS
5042 if test -z "$ac_cv_path_SED"; then
5043 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5044 fi
5045 else
5046 ac_cv_path_SED=$SED
5047 fi
5048
5049 fi
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5051 $as_echo "$ac_cv_path_SED" >&6; }
5052 SED="$ac_cv_path_SED"
5053 rm -f conftest.sed
5054
5055 test -z "$SED" && SED=sed
5056 Xsed="$SED -e 1s/^X//"
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5069 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5070 if ${ac_cv_path_GREP+:} false; then :
5071 $as_echo_n "(cached) " >&6
5072 else
5073 if test -z "$GREP"; then
5074 ac_path_GREP_found=false
5075 # Loop through the user's path and test for each of PROGNAME-LIST
5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5077 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5078 do
5079 IFS=$as_save_IFS
5080 test -z "$as_dir" && as_dir=.
5081 for ac_prog in grep ggrep; do
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5084 as_fn_executable_p "$ac_path_GREP" || continue
5085 # Check for GNU ac_path_GREP and select it if it is found.
5086 # Check for GNU $ac_path_GREP
5087 case `"$ac_path_GREP" --version 2>&1` in
5088 *GNU*)
5089 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5090 *)
5091 ac_count=0
5092 $as_echo_n 0123456789 >"conftest.in"
5093 while :
5094 do
5095 cat "conftest.in" "conftest.in" >"conftest.tmp"
5096 mv "conftest.tmp" "conftest.in"
5097 cp "conftest.in" "conftest.nl"
5098 $as_echo 'GREP' >> "conftest.nl"
5099 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5100 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5101 as_fn_arith $ac_count + 1 && ac_count=$as_val
5102 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5103 # Best one so far, save it but keep looking for a better one
5104 ac_cv_path_GREP="$ac_path_GREP"
5105 ac_path_GREP_max=$ac_count
5106 fi
5107 # 10*(2^10) chars as input seems more than enough
5108 test $ac_count -gt 10 && break
5109 done
5110 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5111 esac
5112
5113 $ac_path_GREP_found && break 3
5114 done
5115 done
5116 done
5117 IFS=$as_save_IFS
5118 if test -z "$ac_cv_path_GREP"; then
5119 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5120 fi
5121 else
5122 ac_cv_path_GREP=$GREP
5123 fi
5124
5125 fi
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5127 $as_echo "$ac_cv_path_GREP" >&6; }
5128 GREP="$ac_cv_path_GREP"
5129
5130
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5132 $as_echo_n "checking for egrep... " >&6; }
5133 if ${ac_cv_path_EGREP+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5137 then ac_cv_path_EGREP="$GREP -E"
5138 else
5139 if test -z "$EGREP"; then
5140 ac_path_EGREP_found=false
5141 # Loop through the user's path and test for each of PROGNAME-LIST
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5144 do
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_prog in egrep; do
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5150 as_fn_executable_p "$ac_path_EGREP" || continue
5151 # Check for GNU ac_path_EGREP and select it if it is found.
5152 # Check for GNU $ac_path_EGREP
5153 case `"$ac_path_EGREP" --version 2>&1` in
5154 *GNU*)
5155 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5156 *)
5157 ac_count=0
5158 $as_echo_n 0123456789 >"conftest.in"
5159 while :
5160 do
5161 cat "conftest.in" "conftest.in" >"conftest.tmp"
5162 mv "conftest.tmp" "conftest.in"
5163 cp "conftest.in" "conftest.nl"
5164 $as_echo 'EGREP' >> "conftest.nl"
5165 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5166 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5167 as_fn_arith $ac_count + 1 && ac_count=$as_val
5168 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5169 # Best one so far, save it but keep looking for a better one
5170 ac_cv_path_EGREP="$ac_path_EGREP"
5171 ac_path_EGREP_max=$ac_count
5172 fi
5173 # 10*(2^10) chars as input seems more than enough
5174 test $ac_count -gt 10 && break
5175 done
5176 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5177 esac
5178
5179 $ac_path_EGREP_found && break 3
5180 done
5181 done
5182 done
5183 IFS=$as_save_IFS
5184 if test -z "$ac_cv_path_EGREP"; then
5185 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5186 fi
5187 else
5188 ac_cv_path_EGREP=$EGREP
5189 fi
5190
5191 fi
5192 fi
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5194 $as_echo "$ac_cv_path_EGREP" >&6; }
5195 EGREP="$ac_cv_path_EGREP"
5196
5197
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5199 $as_echo_n "checking for fgrep... " >&6; }
5200 if ${ac_cv_path_FGREP+:} false; then :
5201 $as_echo_n "(cached) " >&6
5202 else
5203 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5204 then ac_cv_path_FGREP="$GREP -F"
5205 else
5206 if test -z "$FGREP"; then
5207 ac_path_FGREP_found=false
5208 # Loop through the user's path and test for each of PROGNAME-LIST
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5211 do
5212 IFS=$as_save_IFS
5213 test -z "$as_dir" && as_dir=.
5214 for ac_prog in fgrep; do
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5217 as_fn_executable_p "$ac_path_FGREP" || continue
5218 # Check for GNU ac_path_FGREP and select it if it is found.
5219 # Check for GNU $ac_path_FGREP
5220 case `"$ac_path_FGREP" --version 2>&1` in
5221 *GNU*)
5222 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5223 *)
5224 ac_count=0
5225 $as_echo_n 0123456789 >"conftest.in"
5226 while :
5227 do
5228 cat "conftest.in" "conftest.in" >"conftest.tmp"
5229 mv "conftest.tmp" "conftest.in"
5230 cp "conftest.in" "conftest.nl"
5231 $as_echo 'FGREP' >> "conftest.nl"
5232 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5233 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5234 as_fn_arith $ac_count + 1 && ac_count=$as_val
5235 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5236 # Best one so far, save it but keep looking for a better one
5237 ac_cv_path_FGREP="$ac_path_FGREP"
5238 ac_path_FGREP_max=$ac_count
5239 fi
5240 # 10*(2^10) chars as input seems more than enough
5241 test $ac_count -gt 10 && break
5242 done
5243 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5244 esac
5245
5246 $ac_path_FGREP_found && break 3
5247 done
5248 done
5249 done
5250 IFS=$as_save_IFS
5251 if test -z "$ac_cv_path_FGREP"; then
5252 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5253 fi
5254 else
5255 ac_cv_path_FGREP=$FGREP
5256 fi
5257
5258 fi
5259 fi
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5261 $as_echo "$ac_cv_path_FGREP" >&6; }
5262 FGREP="$ac_cv_path_FGREP"
5263
5264
5265 test -z "$GREP" && GREP=grep
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285 @%:@ Check whether --with-gnu-ld was given.
5286 if test "${with_gnu_ld+set}" = set; then :
5287 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5288 else
5289 with_gnu_ld=no
5290 fi
5291
5292 ac_prog=ld
5293 if test "$GCC" = yes; then
5294 # Check if gcc -print-prog-name=ld gives a path.
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5296 $as_echo_n "checking for ld used by $CC... " >&6; }
5297 case $host in
5298 *-*-mingw*)
5299 # gcc leaves a trailing carriage return which upsets mingw
5300 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5301 *)
5302 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5303 esac
5304 case $ac_prog in
5305 # Accept absolute paths.
5306 [\\/]* | ?:[\\/]*)
5307 re_direlt='/[^/][^/]*/\.\./'
5308 # Canonicalize the pathname of ld
5309 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5310 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5311 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5312 done
5313 test -z "$LD" && LD="$ac_prog"
5314 ;;
5315 "")
5316 # If it fails, then pretend we aren't using GCC.
5317 ac_prog=ld
5318 ;;
5319 *)
5320 # If it is relative, then search for the first ld in PATH.
5321 with_gnu_ld=unknown
5322 ;;
5323 esac
5324 elif test "$with_gnu_ld" = yes; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5326 $as_echo_n "checking for GNU ld... " >&6; }
5327 else
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5329 $as_echo_n "checking for non-GNU ld... " >&6; }
5330 fi
5331 if ${lt_cv_path_LD+:} false; then :
5332 $as_echo_n "(cached) " >&6
5333 else
5334 if test -z "$LD"; then
5335 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5336 for ac_dir in $PATH; do
5337 IFS="$lt_save_ifs"
5338 test -z "$ac_dir" && ac_dir=.
5339 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5340 lt_cv_path_LD="$ac_dir/$ac_prog"
5341 # Check to see if the program is GNU ld. I'd rather use --version,
5342 # but apparently some variants of GNU ld only accept -v.
5343 # Break only if it was the GNU/non-GNU ld that we prefer.
5344 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5345 *GNU* | *'with BFD'*)
5346 test "$with_gnu_ld" != no && break
5347 ;;
5348 *)
5349 test "$with_gnu_ld" != yes && break
5350 ;;
5351 esac
5352 fi
5353 done
5354 IFS="$lt_save_ifs"
5355 else
5356 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5357 fi
5358 fi
5359
5360 LD="$lt_cv_path_LD"
5361 if test -n "$LD"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5363 $as_echo "$LD" >&6; }
5364 else
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }
5367 fi
5368 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5370 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5371 if ${lt_cv_prog_gnu_ld+:} false; then :
5372 $as_echo_n "(cached) " >&6
5373 else
5374 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5375 case `$LD -v 2>&1 </dev/null` in
5376 *GNU* | *'with BFD'*)
5377 lt_cv_prog_gnu_ld=yes
5378 ;;
5379 *)
5380 lt_cv_prog_gnu_ld=no
5381 ;;
5382 esac
5383 fi
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5385 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5386 with_gnu_ld=$lt_cv_prog_gnu_ld
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5397 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5398 if ${lt_cv_path_NM+:} false; then :
5399 $as_echo_n "(cached) " >&6
5400 else
5401 if test -n "$NM"; then
5402 # Let the user override the test.
5403 lt_cv_path_NM="$NM"
5404 else
5405 lt_nm_to_check="${ac_tool_prefix}nm"
5406 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5407 lt_nm_to_check="$lt_nm_to_check nm"
5408 fi
5409 for lt_tmp_nm in $lt_nm_to_check; do
5410 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5411 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5412 IFS="$lt_save_ifs"
5413 test -z "$ac_dir" && ac_dir=.
5414 tmp_nm="$ac_dir/$lt_tmp_nm"
5415 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5416 # Check to see if the nm accepts a BSD-compat flag.
5417 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5418 # nm: unknown option "B" ignored
5419 # Tru64's nm complains that /dev/null is an invalid object file
5420 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5421 */dev/null* | *'Invalid file or object type'*)
5422 lt_cv_path_NM="$tmp_nm -B"
5423 break
5424 ;;
5425 *)
5426 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5427 */dev/null*)
5428 lt_cv_path_NM="$tmp_nm -p"
5429 break
5430 ;;
5431 *)
5432 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5433 continue # so that we can try to find one that supports BSD flags
5434 ;;
5435 esac
5436 ;;
5437 esac
5438 fi
5439 done
5440 IFS="$lt_save_ifs"
5441 done
5442 : ${lt_cv_path_NM=no}
5443 fi
5444 fi
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5446 $as_echo "$lt_cv_path_NM" >&6; }
5447 if test "$lt_cv_path_NM" != "no"; then
5448 NM="$lt_cv_path_NM"
5449 else
5450 # Didn't find any BSD compatible name lister, look for dumpbin.
5451 if test -n "$ac_tool_prefix"; then
5452 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5453 do
5454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_DUMPBIN+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if test -n "$DUMPBIN"; then
5462 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5466 do
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5474 fi
5475 done
5476 done
5477 IFS=$as_save_IFS
5478
5479 fi
5480 fi
5481 DUMPBIN=$ac_cv_prog_DUMPBIN
5482 if test -n "$DUMPBIN"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5484 $as_echo "$DUMPBIN" >&6; }
5485 else
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5488 fi
5489
5490
5491 test -n "$DUMPBIN" && break
5492 done
5493 fi
5494 if test -z "$DUMPBIN"; then
5495 ac_ct_DUMPBIN=$DUMPBIN
5496 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5497 do
5498 # Extract the first word of "$ac_prog", so it can be a program name with args.
5499 set dummy $ac_prog; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 if test -n "$ac_ct_DUMPBIN"; then
5506 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5510 do
5511 IFS=$as_save_IFS
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 break 2
5518 fi
5519 done
5520 done
5521 IFS=$as_save_IFS
5522
5523 fi
5524 fi
5525 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5526 if test -n "$ac_ct_DUMPBIN"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5528 $as_echo "$ac_ct_DUMPBIN" >&6; }
5529 else
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5532 fi
5533
5534
5535 test -n "$ac_ct_DUMPBIN" && break
5536 done
5537
5538 if test "x$ac_ct_DUMPBIN" = x; then
5539 DUMPBIN=":"
5540 else
5541 case $cross_compiling:$ac_tool_warned in
5542 yes:)
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5545 ac_tool_warned=yes ;;
5546 esac
5547 DUMPBIN=$ac_ct_DUMPBIN
5548 fi
5549 fi
5550
5551
5552 if test "$DUMPBIN" != ":"; then
5553 NM="$DUMPBIN"
5554 fi
5555 fi
5556 test -z "$NM" && NM=nm
5557
5558
5559
5560
5561
5562
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5564 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5565 if ${lt_cv_nm_interface+:} false; then :
5566 $as_echo_n "(cached) " >&6
5567 else
5568 lt_cv_nm_interface="BSD nm"
5569 echo "int some_variable = 0;" > conftest.$ac_ext
5570 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
5571 (eval "$ac_compile" 2>conftest.err)
5572 cat conftest.err >&5
5573 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5574 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5575 cat conftest.err >&5
5576 (eval echo "\"\$as_me:__oline__: output\"" >&5)
5577 cat conftest.out >&5
5578 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5579 lt_cv_nm_interface="MS dumpbin"
5580 fi
5581 rm -f conftest*
5582 fi
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5584 $as_echo "$lt_cv_nm_interface" >&6; }
5585
5586 # find the maximum length of command line arguments
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5588 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5589 if ${lt_cv_sys_max_cmd_len+:} false; then :
5590 $as_echo_n "(cached) " >&6
5591 else
5592 i=0
5593 teststring="ABCD"
5594
5595 case $build_os in
5596 msdosdjgpp*)
5597 # On DJGPP, this test can blow up pretty badly due to problems in libc
5598 # (any single argument exceeding 2000 bytes causes a buffer overrun
5599 # during glob expansion). Even if it were fixed, the result of this
5600 # check would be larger than it should be.
5601 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5602 ;;
5603
5604 gnu*)
5605 # Under GNU Hurd, this test is not required because there is
5606 # no limit to the length of command line arguments.
5607 # Libtool will interpret -1 as no limit whatsoever
5608 lt_cv_sys_max_cmd_len=-1;
5609 ;;
5610
5611 cygwin* | mingw* | cegcc*)
5612 # On Win9x/ME, this test blows up -- it succeeds, but takes
5613 # about 5 minutes as the teststring grows exponentially.
5614 # Worse, since 9x/ME are not pre-emptively multitasking,
5615 # you end up with a "frozen" computer, even though with patience
5616 # the test eventually succeeds (with a max line length of 256k).
5617 # Instead, let's just punt: use the minimum linelength reported by
5618 # all of the supported platforms: 8192 (on NT/2K/XP).
5619 lt_cv_sys_max_cmd_len=8192;
5620 ;;
5621
5622 amigaos*)
5623 # On AmigaOS with pdksh, this test takes hours, literally.
5624 # So we just punt and use a minimum line length of 8192.
5625 lt_cv_sys_max_cmd_len=8192;
5626 ;;
5627
5628 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5629 # This has been around since 386BSD, at least. Likely further.
5630 if test -x /sbin/sysctl; then
5631 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5632 elif test -x /usr/sbin/sysctl; then
5633 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5634 else
5635 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5636 fi
5637 # And add a safety zone
5638 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5639 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5640 ;;
5641
5642 interix*)
5643 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5644 lt_cv_sys_max_cmd_len=196608
5645 ;;
5646
5647 osf*)
5648 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5649 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5650 # nice to cause kernel panics so lets avoid the loop below.
5651 # First set a reasonable default.
5652 lt_cv_sys_max_cmd_len=16384
5653 #
5654 if test -x /sbin/sysconfig; then
5655 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5656 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5657 esac
5658 fi
5659 ;;
5660 sco3.2v5*)
5661 lt_cv_sys_max_cmd_len=102400
5662 ;;
5663 sysv5* | sco5v6* | sysv4.2uw2*)
5664 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5665 if test -n "$kargmax"; then
5666 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5667 else
5668 lt_cv_sys_max_cmd_len=32768
5669 fi
5670 ;;
5671 *)
5672 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5673 if test -n "$lt_cv_sys_max_cmd_len"; then
5674 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5675 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5676 else
5677 # Make teststring a little bigger before we do anything with it.
5678 # a 1K string should be a reasonable start.
5679 for i in 1 2 3 4 5 6 7 8 ; do
5680 teststring=$teststring$teststring
5681 done
5682 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5683 # If test is not a shell built-in, we'll probably end up computing a
5684 # maximum length that is only half of the actual maximum length, but
5685 # we can't tell.
5686 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5687 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5688 test $i != 17 # 1/2 MB should be enough
5689 do
5690 i=`expr $i + 1`
5691 teststring=$teststring$teststring
5692 done
5693 # Only check the string length outside the loop.
5694 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5695 teststring=
5696 # Add a significant safety factor because C++ compilers can tack on
5697 # massive amounts of additional arguments before passing them to the
5698 # linker. It appears as though 1/2 is a usable value.
5699 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5700 fi
5701 ;;
5702 esac
5703
5704 fi
5705
5706 if test -n $lt_cv_sys_max_cmd_len ; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5708 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5709 else
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5711 $as_echo "none" >&6; }
5712 fi
5713 max_cmd_len=$lt_cv_sys_max_cmd_len
5714
5715
5716
5717
5718
5719
5720 : ${CP="cp -f"}
5721 : ${MV="mv -f"}
5722 : ${RM="rm -f"}
5723
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5725 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5726 # Try some XSI features
5727 xsi_shell=no
5728 ( _lt_dummy="a/b/c"
5729 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5730 = c,a/b,, \
5731 && eval 'test $(( 1 + 1 )) -eq 2 \
5732 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5733 && xsi_shell=yes
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5735 $as_echo "$xsi_shell" >&6; }
5736
5737
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5739 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5740 lt_shell_append=no
5741 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5742 >/dev/null 2>&1 \
5743 && lt_shell_append=yes
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5745 $as_echo "$lt_shell_append" >&6; }
5746
5747
5748 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5749 lt_unset=unset
5750 else
5751 lt_unset=false
5752 fi
5753
5754
5755
5756
5757
5758 # test EBCDIC or ASCII
5759 case `echo X|tr X '\101'` in
5760 A) # ASCII based system
5761 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5762 lt_SP2NL='tr \040 \012'
5763 lt_NL2SP='tr \015\012 \040\040'
5764 ;;
5765 *) # EBCDIC based system
5766 lt_SP2NL='tr \100 \n'
5767 lt_NL2SP='tr \r\n \100\100'
5768 ;;
5769 esac
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5780 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5781 if ${lt_cv_ld_reload_flag+:} false; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 lt_cv_ld_reload_flag='-r'
5785 fi
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5787 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5788 reload_flag=$lt_cv_ld_reload_flag
5789 case $reload_flag in
5790 "" | " "*) ;;
5791 *) reload_flag=" $reload_flag" ;;
5792 esac
5793 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5794 case $host_os in
5795 darwin*)
5796 if test "$GCC" = yes; then
5797 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5798 else
5799 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5800 fi
5801 ;;
5802 esac
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812 if test -n "$ac_tool_prefix"; then
5813 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5814 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if ${ac_cv_prog_OBJDUMP+:} false; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5820 if test -n "$OBJDUMP"; then
5821 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5822 else
5823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 for as_dir in $PATH
5825 do
5826 IFS=$as_save_IFS
5827 test -z "$as_dir" && as_dir=.
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5830 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 break 2
5833 fi
5834 done
5835 done
5836 IFS=$as_save_IFS
5837
5838 fi
5839 fi
5840 OBJDUMP=$ac_cv_prog_OBJDUMP
5841 if test -n "$OBJDUMP"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5843 $as_echo "$OBJDUMP" >&6; }
5844 else
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5847 fi
5848
5849
5850 fi
5851 if test -z "$ac_cv_prog_OBJDUMP"; then
5852 ac_ct_OBJDUMP=$OBJDUMP
5853 # Extract the first word of "objdump", so it can be a program name with args.
5854 set dummy objdump; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -n "$ac_ct_OBJDUMP"; then
5861 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5865 do
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5873 fi
5874 done
5875 done
5876 IFS=$as_save_IFS
5877
5878 fi
5879 fi
5880 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5881 if test -n "$ac_ct_OBJDUMP"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5883 $as_echo "$ac_ct_OBJDUMP" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5887 fi
5888
5889 if test "x$ac_ct_OBJDUMP" = x; then
5890 OBJDUMP="false"
5891 else
5892 case $cross_compiling:$ac_tool_warned in
5893 yes:)
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5896 ac_tool_warned=yes ;;
5897 esac
5898 OBJDUMP=$ac_ct_OBJDUMP
5899 fi
5900 else
5901 OBJDUMP="$ac_cv_prog_OBJDUMP"
5902 fi
5903
5904 test -z "$OBJDUMP" && OBJDUMP=objdump
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5915 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5916 if ${lt_cv_deplibs_check_method+:} false; then :
5917 $as_echo_n "(cached) " >&6
5918 else
5919 lt_cv_file_magic_cmd='$MAGIC_CMD'
5920 lt_cv_file_magic_test_file=
5921 lt_cv_deplibs_check_method='unknown'
5922 # Need to set the preceding variable on all platforms that support
5923 # interlibrary dependencies.
5924 # 'none' -- dependencies not supported.
5925 # `unknown' -- same as none, but documents that we really don't know.
5926 # 'pass_all' -- all dependencies passed with no checks.
5927 # 'test_compile' -- check by making test program.
5928 # 'file_magic [[regex]]' -- check by looking for files in library path
5929 # which responds to the $file_magic_cmd with a given extended regex.
5930 # If you have `file' or equivalent on your system and you're not sure
5931 # whether `pass_all' will *always* work, you probably want this one.
5932
5933 case $host_os in
5934 aix[4-9]*)
5935 lt_cv_deplibs_check_method=pass_all
5936 ;;
5937
5938 beos*)
5939 lt_cv_deplibs_check_method=pass_all
5940 ;;
5941
5942 bsdi[45]*)
5943 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5944 lt_cv_file_magic_cmd='/usr/bin/file -L'
5945 lt_cv_file_magic_test_file=/shlib/libc.so
5946 ;;
5947
5948 cygwin*)
5949 # func_win32_libid is a shell function defined in ltmain.sh
5950 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5951 lt_cv_file_magic_cmd='func_win32_libid'
5952 ;;
5953
5954 mingw* | pw32*)
5955 # Base MSYS/MinGW do not provide the 'file' command needed by
5956 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5957 # unless we find 'file', for example because we are cross-compiling.
5958 if ( file / ) >/dev/null 2>&1; then
5959 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5960 lt_cv_file_magic_cmd='func_win32_libid'
5961 else
5962 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5963 lt_cv_file_magic_cmd='$OBJDUMP -f'
5964 fi
5965 ;;
5966
5967 cegcc)
5968 # use the weaker test based on 'objdump'. See mingw*.
5969 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5970 lt_cv_file_magic_cmd='$OBJDUMP -f'
5971 ;;
5972
5973 darwin* | rhapsody*)
5974 lt_cv_deplibs_check_method=pass_all
5975 ;;
5976
5977 freebsd* | dragonfly*)
5978 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5979 case $host_cpu in
5980 i*86 )
5981 # Not sure whether the presence of OpenBSD here was a mistake.
5982 # Let's accept both of them until this is cleared up.
5983 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5984 lt_cv_file_magic_cmd=/usr/bin/file
5985 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5986 ;;
5987 esac
5988 else
5989 lt_cv_deplibs_check_method=pass_all
5990 fi
5991 ;;
5992
5993 gnu*)
5994 lt_cv_deplibs_check_method=pass_all
5995 ;;
5996
5997 hpux10.20* | hpux11*)
5998 lt_cv_file_magic_cmd=/usr/bin/file
5999 case $host_cpu in
6000 ia64*)
6001 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6002 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6003 ;;
6004 hppa*64*)
6005 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6006 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6007 ;;
6008 *)
6009 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6010 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6011 ;;
6012 esac
6013 ;;
6014
6015 interix[3-9]*)
6016 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6017 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6018 ;;
6019
6020 irix5* | irix6* | nonstopux*)
6021 case $LD in
6022 *-32|*"-32 ") libmagic=32-bit;;
6023 *-n32|*"-n32 ") libmagic=N32;;
6024 *-64|*"-64 ") libmagic=64-bit;;
6025 *) libmagic=never-match;;
6026 esac
6027 lt_cv_deplibs_check_method=pass_all
6028 ;;
6029
6030 # This must be Linux ELF.
6031 linux* | k*bsd*-gnu)
6032 lt_cv_deplibs_check_method=pass_all
6033 ;;
6034
6035 netbsd*)
6036 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6037 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6038 else
6039 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6040 fi
6041 ;;
6042
6043 newos6*)
6044 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6045 lt_cv_file_magic_cmd=/usr/bin/file
6046 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6047 ;;
6048
6049 *nto* | *qnx*)
6050 lt_cv_deplibs_check_method=pass_all
6051 ;;
6052
6053 openbsd*)
6054 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6055 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6056 else
6057 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6058 fi
6059 ;;
6060
6061 osf3* | osf4* | osf5*)
6062 lt_cv_deplibs_check_method=pass_all
6063 ;;
6064
6065 rdos*)
6066 lt_cv_deplibs_check_method=pass_all
6067 ;;
6068
6069 solaris*)
6070 lt_cv_deplibs_check_method=pass_all
6071 ;;
6072
6073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6074 lt_cv_deplibs_check_method=pass_all
6075 ;;
6076
6077 sysv4 | sysv4.3*)
6078 case $host_vendor in
6079 motorola)
6080 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]'
6081 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6082 ;;
6083 ncr)
6084 lt_cv_deplibs_check_method=pass_all
6085 ;;
6086 sequent)
6087 lt_cv_file_magic_cmd='/bin/file'
6088 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6089 ;;
6090 sni)
6091 lt_cv_file_magic_cmd='/bin/file'
6092 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6093 lt_cv_file_magic_test_file=/lib/libc.so
6094 ;;
6095 siemens)
6096 lt_cv_deplibs_check_method=pass_all
6097 ;;
6098 pc)
6099 lt_cv_deplibs_check_method=pass_all
6100 ;;
6101 esac
6102 ;;
6103
6104 tpf*)
6105 lt_cv_deplibs_check_method=pass_all
6106 ;;
6107 esac
6108
6109 fi
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6111 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6112 file_magic_cmd=$lt_cv_file_magic_cmd
6113 deplibs_check_method=$lt_cv_deplibs_check_method
6114 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127 if test -n "$ac_tool_prefix"; then
6128 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6129 set dummy ${ac_tool_prefix}ar; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if ${ac_cv_prog_AR+:} false; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 if test -n "$AR"; then
6136 ac_cv_prog_AR="$AR" # Let the user override the test.
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6140 do
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_AR="${ac_tool_prefix}ar"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 break 2
6148 fi
6149 done
6150 done
6151 IFS=$as_save_IFS
6152
6153 fi
6154 fi
6155 AR=$ac_cv_prog_AR
6156 if test -n "$AR"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6158 $as_echo "$AR" >&6; }
6159 else
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6162 fi
6163
6164
6165 fi
6166 if test -z "$ac_cv_prog_AR"; then
6167 ac_ct_AR=$AR
6168 # Extract the first word of "ar", so it can be a program name with args.
6169 set dummy ar; ac_word=$2
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171 $as_echo_n "checking for $ac_word... " >&6; }
6172 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6173 $as_echo_n "(cached) " >&6
6174 else
6175 if test -n "$ac_ct_AR"; then
6176 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6177 else
6178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6179 for as_dir in $PATH
6180 do
6181 IFS=$as_save_IFS
6182 test -z "$as_dir" && as_dir=.
6183 for ac_exec_ext in '' $ac_executable_extensions; do
6184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6185 ac_cv_prog_ac_ct_AR="ar"
6186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6187 break 2
6188 fi
6189 done
6190 done
6191 IFS=$as_save_IFS
6192
6193 fi
6194 fi
6195 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6196 if test -n "$ac_ct_AR"; then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6198 $as_echo "$ac_ct_AR" >&6; }
6199 else
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201 $as_echo "no" >&6; }
6202 fi
6203
6204 if test "x$ac_ct_AR" = x; then
6205 AR="false"
6206 else
6207 case $cross_compiling:$ac_tool_warned in
6208 yes:)
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6211 ac_tool_warned=yes ;;
6212 esac
6213 AR=$ac_ct_AR
6214 fi
6215 else
6216 AR="$ac_cv_prog_AR"
6217 fi
6218
6219 test -z "$AR" && AR=ar
6220 test -z "$AR_FLAGS" && AR_FLAGS=cru
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232 if test -n "$ac_tool_prefix"; then
6233 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6234 set dummy ${ac_tool_prefix}strip; ac_word=$2
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6236 $as_echo_n "checking for $ac_word... " >&6; }
6237 if ${ac_cv_prog_STRIP+:} false; then :
6238 $as_echo_n "(cached) " >&6
6239 else
6240 if test -n "$STRIP"; then
6241 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6242 else
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 for as_dir in $PATH
6245 do
6246 IFS=$as_save_IFS
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6250 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 break 2
6253 fi
6254 done
6255 done
6256 IFS=$as_save_IFS
6257
6258 fi
6259 fi
6260 STRIP=$ac_cv_prog_STRIP
6261 if test -n "$STRIP"; then
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6263 $as_echo "$STRIP" >&6; }
6264 else
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6266 $as_echo "no" >&6; }
6267 fi
6268
6269
6270 fi
6271 if test -z "$ac_cv_prog_STRIP"; then
6272 ac_ct_STRIP=$STRIP
6273 # Extract the first word of "strip", so it can be a program name with args.
6274 set dummy strip; ac_word=$2
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6276 $as_echo_n "checking for $ac_word... " >&6; }
6277 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279 else
6280 if test -n "$ac_ct_STRIP"; then
6281 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6282 else
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 for as_dir in $PATH
6285 do
6286 IFS=$as_save_IFS
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6290 ac_cv_prog_ac_ct_STRIP="strip"
6291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6292 break 2
6293 fi
6294 done
6295 done
6296 IFS=$as_save_IFS
6297
6298 fi
6299 fi
6300 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6301 if test -n "$ac_ct_STRIP"; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6303 $as_echo "$ac_ct_STRIP" >&6; }
6304 else
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6306 $as_echo "no" >&6; }
6307 fi
6308
6309 if test "x$ac_ct_STRIP" = x; then
6310 STRIP=":"
6311 else
6312 case $cross_compiling:$ac_tool_warned in
6313 yes:)
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6316 ac_tool_warned=yes ;;
6317 esac
6318 STRIP=$ac_ct_STRIP
6319 fi
6320 else
6321 STRIP="$ac_cv_prog_STRIP"
6322 fi
6323
6324 test -z "$STRIP" && STRIP=:
6325
6326
6327
6328
6329
6330
6331 if test -n "$ac_tool_prefix"; then
6332 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6333 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6335 $as_echo_n "checking for $ac_word... " >&6; }
6336 if ${ac_cv_prog_RANLIB+:} false; then :
6337 $as_echo_n "(cached) " >&6
6338 else
6339 if test -n "$RANLIB"; then
6340 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6341 else
6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 for as_dir in $PATH
6344 do
6345 IFS=$as_save_IFS
6346 test -z "$as_dir" && as_dir=.
6347 for ac_exec_ext in '' $ac_executable_extensions; do
6348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6349 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6351 break 2
6352 fi
6353 done
6354 done
6355 IFS=$as_save_IFS
6356
6357 fi
6358 fi
6359 RANLIB=$ac_cv_prog_RANLIB
6360 if test -n "$RANLIB"; then
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6362 $as_echo "$RANLIB" >&6; }
6363 else
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6365 $as_echo "no" >&6; }
6366 fi
6367
6368
6369 fi
6370 if test -z "$ac_cv_prog_RANLIB"; then
6371 ac_ct_RANLIB=$RANLIB
6372 # Extract the first word of "ranlib", so it can be a program name with args.
6373 set dummy ranlib; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6377 $as_echo_n "(cached) " >&6
6378 else
6379 if test -n "$ac_ct_RANLIB"; then
6380 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6381 else
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 for as_dir in $PATH
6384 do
6385 IFS=$as_save_IFS
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6389 ac_cv_prog_ac_ct_RANLIB="ranlib"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391 break 2
6392 fi
6393 done
6394 done
6395 IFS=$as_save_IFS
6396
6397 fi
6398 fi
6399 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6400 if test -n "$ac_ct_RANLIB"; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6402 $as_echo "$ac_ct_RANLIB" >&6; }
6403 else
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6406 fi
6407
6408 if test "x$ac_ct_RANLIB" = x; then
6409 RANLIB=":"
6410 else
6411 case $cross_compiling:$ac_tool_warned in
6412 yes:)
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6415 ac_tool_warned=yes ;;
6416 esac
6417 RANLIB=$ac_ct_RANLIB
6418 fi
6419 else
6420 RANLIB="$ac_cv_prog_RANLIB"
6421 fi
6422
6423 test -z "$RANLIB" && RANLIB=:
6424
6425
6426
6427
6428
6429
6430 # Determine commands to create old-style static archives.
6431 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6432 old_postinstall_cmds='chmod 644 $oldlib'
6433 old_postuninstall_cmds=
6434
6435 if test -n "$RANLIB"; then
6436 case $host_os in
6437 openbsd*)
6438 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6439 ;;
6440 *)
6441 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6442 ;;
6443 esac
6444 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6445 fi
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480 # If no C compiler was specified, use CC.
6481 LTCC=${LTCC-"$CC"}
6482
6483 # If no C compiler flags were specified, use CFLAGS.
6484 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6485
6486 # Allow CC to be a program name with arguments.
6487 compiler=$CC
6488
6489
6490 # Check for command to grab the raw symbol name followed by C symbol from nm.
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6492 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6493 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6494 $as_echo_n "(cached) " >&6
6495 else
6496
6497 # These are sane defaults that work on at least a few old systems.
6498 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6499
6500 # Character class describing NM global symbol codes.
6501 symcode='[BCDEGRST]'
6502
6503 # Regexp to match symbols that can be accessed directly from C.
6504 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6505
6506 # Define system-specific variables.
6507 case $host_os in
6508 aix*)
6509 symcode='[BCDT]'
6510 ;;
6511 cygwin* | mingw* | pw32* | cegcc*)
6512 symcode='[ABCDGISTW]'
6513 ;;
6514 hpux*)
6515 if test "$host_cpu" = ia64; then
6516 symcode='[ABCDEGRST]'
6517 fi
6518 ;;
6519 irix* | nonstopux*)
6520 symcode='[BCDEGRST]'
6521 ;;
6522 osf*)
6523 symcode='[BCDEGQRST]'
6524 ;;
6525 solaris*)
6526 symcode='[BDRT]'
6527 ;;
6528 sco3.2v5*)
6529 symcode='[DT]'
6530 ;;
6531 sysv4.2uw2*)
6532 symcode='[DT]'
6533 ;;
6534 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6535 symcode='[ABDT]'
6536 ;;
6537 sysv4)
6538 symcode='[DFNSTU]'
6539 ;;
6540 esac
6541
6542 # If we're using GNU nm, then use its standard symbol codes.
6543 case `$NM -V 2>&1` in
6544 *GNU* | *'with BFD'*)
6545 symcode='[ABCDGIRSTW]' ;;
6546 esac
6547
6548 # Transform an extracted symbol line into a proper C declaration.
6549 # Some systems (esp. on ia64) link data and code symbols differently,
6550 # so use this general approach.
6551 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6552
6553 # Transform an extracted symbol line into symbol name and symbol address
6554 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6555 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'"
6556
6557 # Handle CRLF in mingw tool chain
6558 opt_cr=
6559 case $build_os in
6560 mingw*)
6561 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6562 ;;
6563 esac
6564
6565 # Try without a prefix underscore, then with it.
6566 for ac_symprfx in "" "_"; do
6567
6568 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6569 symxfrm="\\1 $ac_symprfx\\2 \\2"
6570
6571 # Write the raw and C identifiers.
6572 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6573 # Fake it for dumpbin and say T for any non-static function
6574 # and D for any global variable.
6575 # Also find C++ and __fastcall symbols from MSVC++,
6576 # which start with @ or ?.
6577 lt_cv_sys_global_symbol_pipe="$AWK '"\
6578 " {last_section=section; section=\$ 3};"\
6579 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6580 " \$ 0!~/External *\|/{next};"\
6581 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6582 " {if(hide[section]) next};"\
6583 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6584 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6585 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6586 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6587 " ' prfx=^$ac_symprfx"
6588 else
6589 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6590 fi
6591
6592 # Check to see that the pipe works correctly.
6593 pipe_works=no
6594
6595 rm -f conftest*
6596 cat > conftest.$ac_ext <<_LT_EOF
6597 #ifdef __cplusplus
6598 extern "C" {
6599 #endif
6600 char nm_test_var;
6601 void nm_test_func(void);
6602 void nm_test_func(void){}
6603 #ifdef __cplusplus
6604 }
6605 #endif
6606 int main(){nm_test_var='a';nm_test_func();return(0);}
6607 _LT_EOF
6608
6609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6610 (eval $ac_compile) 2>&5
6611 ac_status=$?
6612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6613 test $ac_status = 0; }; then
6614 # Now try to grab the symbols.
6615 nlist=conftest.nm
6616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6617 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6618 ac_status=$?
6619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6620 test $ac_status = 0; } && test -s "$nlist"; then
6621 # Try sorting and uniquifying the output.
6622 if sort "$nlist" | uniq > "$nlist"T; then
6623 mv -f "$nlist"T "$nlist"
6624 else
6625 rm -f "$nlist"T
6626 fi
6627
6628 # Make sure that we snagged all the symbols we need.
6629 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6630 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6631 cat <<_LT_EOF > conftest.$ac_ext
6632 #ifdef __cplusplus
6633 extern "C" {
6634 #endif
6635
6636 _LT_EOF
6637 # Now generate the symbol file.
6638 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6639
6640 cat <<_LT_EOF >> conftest.$ac_ext
6641
6642 /* The mapping between symbol names and symbols. */
6643 const struct {
6644 const char *name;
6645 void *address;
6646 }
6647 lt__PROGRAM__LTX_preloaded_symbols[] =
6648 {
6649 { "@PROGRAM@", (void *) 0 },
6650 _LT_EOF
6651 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6652 cat <<\_LT_EOF >> conftest.$ac_ext
6653 {0, (void *) 0}
6654 };
6655
6656 /* This works around a problem in FreeBSD linker */
6657 #ifdef FREEBSD_WORKAROUND
6658 static const void *lt_preloaded_setup() {
6659 return lt__PROGRAM__LTX_preloaded_symbols;
6660 }
6661 #endif
6662
6663 #ifdef __cplusplus
6664 }
6665 #endif
6666 _LT_EOF
6667 # Now try linking the two files.
6668 mv conftest.$ac_objext conftstm.$ac_objext
6669 lt_save_LIBS="$LIBS"
6670 lt_save_CFLAGS="$CFLAGS"
6671 LIBS="conftstm.$ac_objext"
6672 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6674 (eval $ac_link) 2>&5
6675 ac_status=$?
6676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6677 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6678 pipe_works=yes
6679 fi
6680 LIBS="$lt_save_LIBS"
6681 CFLAGS="$lt_save_CFLAGS"
6682 else
6683 echo "cannot find nm_test_func in $nlist" >&5
6684 fi
6685 else
6686 echo "cannot find nm_test_var in $nlist" >&5
6687 fi
6688 else
6689 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6690 fi
6691 else
6692 echo "$progname: failed program was:" >&5
6693 cat conftest.$ac_ext >&5
6694 fi
6695 rm -rf conftest* conftst*
6696
6697 # Do not use the global_symbol_pipe unless it works.
6698 if test "$pipe_works" = yes; then
6699 break
6700 else
6701 lt_cv_sys_global_symbol_pipe=
6702 fi
6703 done
6704
6705 fi
6706
6707 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6708 lt_cv_sys_global_symbol_to_cdecl=
6709 fi
6710 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6712 $as_echo "failed" >&6; }
6713 else
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6715 $as_echo "ok" >&6; }
6716 fi
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740 @%:@ Check whether --enable-libtool-lock was given.
6741 if test "${enable_libtool_lock+set}" = set; then :
6742 enableval=$enable_libtool_lock;
6743 fi
6744
6745 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6746
6747 # Some flags need to be propagated to the compiler or linker for good
6748 # libtool support.
6749 case $host in
6750 ia64-*-hpux*)
6751 # Find out which ABI we are using.
6752 echo 'int i;' > conftest.$ac_ext
6753 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6754 (eval $ac_compile) 2>&5
6755 ac_status=$?
6756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6757 test $ac_status = 0; }; then
6758 case `/usr/bin/file conftest.$ac_objext` in
6759 *ELF-32*)
6760 HPUX_IA64_MODE="32"
6761 ;;
6762 *ELF-64*)
6763 HPUX_IA64_MODE="64"
6764 ;;
6765 esac
6766 fi
6767 rm -rf conftest*
6768 ;;
6769 *-*-irix6*)
6770 # Find out which ABI we are using.
6771 echo '#line __oline__ "configure"' > conftest.$ac_ext
6772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6773 (eval $ac_compile) 2>&5
6774 ac_status=$?
6775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6776 test $ac_status = 0; }; then
6777 if test "$lt_cv_prog_gnu_ld" = yes; then
6778 case `/usr/bin/file conftest.$ac_objext` in
6779 *32-bit*)
6780 LD="${LD-ld} -melf32bsmip"
6781 ;;
6782 *N32*)
6783 LD="${LD-ld} -melf32bmipn32"
6784 ;;
6785 *64-bit*)
6786 LD="${LD-ld} -melf64bmip"
6787 ;;
6788 esac
6789 else
6790 case `/usr/bin/file conftest.$ac_objext` in
6791 *32-bit*)
6792 LD="${LD-ld} -32"
6793 ;;
6794 *N32*)
6795 LD="${LD-ld} -n32"
6796 ;;
6797 *64-bit*)
6798 LD="${LD-ld} -64"
6799 ;;
6800 esac
6801 fi
6802 fi
6803 rm -rf conftest*
6804 ;;
6805
6806 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6807 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6808 # Find out which ABI we are using.
6809 echo 'int i;' > conftest.$ac_ext
6810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6811 (eval $ac_compile) 2>&5
6812 ac_status=$?
6813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6814 test $ac_status = 0; }; then
6815 case `/usr/bin/file conftest.o` in
6816 *32-bit*)
6817 case $host in
6818 x86_64-*kfreebsd*-gnu)
6819 LD="${LD-ld} -m elf_i386_fbsd"
6820 ;;
6821 x86_64-*linux*)
6822 LD="${LD-ld} -m elf_i386"
6823 ;;
6824 ppc64-*linux*|powerpc64-*linux*)
6825 LD="${LD-ld} -m elf32ppclinux"
6826 ;;
6827 s390x-*linux*)
6828 LD="${LD-ld} -m elf_s390"
6829 ;;
6830 sparc64-*linux*)
6831 LD="${LD-ld} -m elf32_sparc"
6832 ;;
6833 esac
6834 ;;
6835 *64-bit*)
6836 case $host in
6837 x86_64-*kfreebsd*-gnu)
6838 LD="${LD-ld} -m elf_x86_64_fbsd"
6839 ;;
6840 x86_64-*linux*)
6841 LD="${LD-ld} -m elf_x86_64"
6842 ;;
6843 ppc*-*linux*|powerpc*-*linux*)
6844 LD="${LD-ld} -m elf64ppc"
6845 ;;
6846 s390*-*linux*|s390*-*tpf*)
6847 LD="${LD-ld} -m elf64_s390"
6848 ;;
6849 sparc*-*linux*)
6850 LD="${LD-ld} -m elf64_sparc"
6851 ;;
6852 esac
6853 ;;
6854 esac
6855 fi
6856 rm -rf conftest*
6857 ;;
6858
6859 *-*-sco3.2v5*)
6860 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6861 SAVE_CFLAGS="$CFLAGS"
6862 CFLAGS="$CFLAGS -belf"
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6864 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6865 if ${lt_cv_cc_needs_belf+:} false; then :
6866 $as_echo_n "(cached) " >&6
6867 else
6868 ac_ext=c
6869 ac_cpp='$CPP $CPPFLAGS'
6870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6873
6874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6875 /* end confdefs.h. */
6876
6877 int
6878 main ()
6879 {
6880
6881 ;
6882 return 0;
6883 }
6884 _ACEOF
6885 if ac_fn_c_try_link "$LINENO"; then :
6886 lt_cv_cc_needs_belf=yes
6887 else
6888 lt_cv_cc_needs_belf=no
6889 fi
6890 rm -f core conftest.err conftest.$ac_objext \
6891 conftest$ac_exeext conftest.$ac_ext
6892 ac_ext=c
6893 ac_cpp='$CPP $CPPFLAGS'
6894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6897
6898 fi
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6900 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6901 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6902 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6903 CFLAGS="$SAVE_CFLAGS"
6904 fi
6905 ;;
6906 sparc*-*solaris*)
6907 # Find out which ABI we are using.
6908 echo 'int i;' > conftest.$ac_ext
6909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6910 (eval $ac_compile) 2>&5
6911 ac_status=$?
6912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6913 test $ac_status = 0; }; then
6914 case `/usr/bin/file conftest.o` in
6915 *64-bit*)
6916 case $lt_cv_prog_gnu_ld in
6917 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6918 *)
6919 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6920 LD="${LD-ld} -64"
6921 fi
6922 ;;
6923 esac
6924 ;;
6925 esac
6926 fi
6927 rm -rf conftest*
6928 ;;
6929 esac
6930
6931 need_locks="$enable_libtool_lock"
6932
6933
6934 case $host_os in
6935 rhapsody* | darwin*)
6936 if test -n "$ac_tool_prefix"; then
6937 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6938 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6940 $as_echo_n "checking for $ac_word... " >&6; }
6941 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6942 $as_echo_n "(cached) " >&6
6943 else
6944 if test -n "$DSYMUTIL"; then
6945 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6946 else
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 for as_dir in $PATH
6949 do
6950 IFS=$as_save_IFS
6951 test -z "$as_dir" && as_dir=.
6952 for ac_exec_ext in '' $ac_executable_extensions; do
6953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6954 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6956 break 2
6957 fi
6958 done
6959 done
6960 IFS=$as_save_IFS
6961
6962 fi
6963 fi
6964 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6965 if test -n "$DSYMUTIL"; then
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6967 $as_echo "$DSYMUTIL" >&6; }
6968 else
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6970 $as_echo "no" >&6; }
6971 fi
6972
6973
6974 fi
6975 if test -z "$ac_cv_prog_DSYMUTIL"; then
6976 ac_ct_DSYMUTIL=$DSYMUTIL
6977 # Extract the first word of "dsymutil", so it can be a program name with args.
6978 set dummy dsymutil; ac_word=$2
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 $as_echo_n "checking for $ac_word... " >&6; }
6981 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6982 $as_echo_n "(cached) " >&6
6983 else
6984 if test -n "$ac_ct_DSYMUTIL"; then
6985 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6986 else
6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 for as_dir in $PATH
6989 do
6990 IFS=$as_save_IFS
6991 test -z "$as_dir" && as_dir=.
6992 for ac_exec_ext in '' $ac_executable_extensions; do
6993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6994 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6996 break 2
6997 fi
6998 done
6999 done
7000 IFS=$as_save_IFS
7001
7002 fi
7003 fi
7004 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7005 if test -n "$ac_ct_DSYMUTIL"; then
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7007 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7008 else
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 $as_echo "no" >&6; }
7011 fi
7012
7013 if test "x$ac_ct_DSYMUTIL" = x; then
7014 DSYMUTIL=":"
7015 else
7016 case $cross_compiling:$ac_tool_warned in
7017 yes:)
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7020 ac_tool_warned=yes ;;
7021 esac
7022 DSYMUTIL=$ac_ct_DSYMUTIL
7023 fi
7024 else
7025 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7026 fi
7027
7028 if test -n "$ac_tool_prefix"; then
7029 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7030 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032 $as_echo_n "checking for $ac_word... " >&6; }
7033 if ${ac_cv_prog_NMEDIT+:} false; then :
7034 $as_echo_n "(cached) " >&6
7035 else
7036 if test -n "$NMEDIT"; then
7037 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7038 else
7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 for as_dir in $PATH
7041 do
7042 IFS=$as_save_IFS
7043 test -z "$as_dir" && as_dir=.
7044 for ac_exec_ext in '' $ac_executable_extensions; do
7045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7046 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7048 break 2
7049 fi
7050 done
7051 done
7052 IFS=$as_save_IFS
7053
7054 fi
7055 fi
7056 NMEDIT=$ac_cv_prog_NMEDIT
7057 if test -n "$NMEDIT"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7059 $as_echo "$NMEDIT" >&6; }
7060 else
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062 $as_echo "no" >&6; }
7063 fi
7064
7065
7066 fi
7067 if test -z "$ac_cv_prog_NMEDIT"; then
7068 ac_ct_NMEDIT=$NMEDIT
7069 # Extract the first word of "nmedit", so it can be a program name with args.
7070 set dummy nmedit; ac_word=$2
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072 $as_echo_n "checking for $ac_word... " >&6; }
7073 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7074 $as_echo_n "(cached) " >&6
7075 else
7076 if test -n "$ac_ct_NMEDIT"; then
7077 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7078 else
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 for as_dir in $PATH
7081 do
7082 IFS=$as_save_IFS
7083 test -z "$as_dir" && as_dir=.
7084 for ac_exec_ext in '' $ac_executable_extensions; do
7085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7086 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7088 break 2
7089 fi
7090 done
7091 done
7092 IFS=$as_save_IFS
7093
7094 fi
7095 fi
7096 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7097 if test -n "$ac_ct_NMEDIT"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7099 $as_echo "$ac_ct_NMEDIT" >&6; }
7100 else
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102 $as_echo "no" >&6; }
7103 fi
7104
7105 if test "x$ac_ct_NMEDIT" = x; then
7106 NMEDIT=":"
7107 else
7108 case $cross_compiling:$ac_tool_warned in
7109 yes:)
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7112 ac_tool_warned=yes ;;
7113 esac
7114 NMEDIT=$ac_ct_NMEDIT
7115 fi
7116 else
7117 NMEDIT="$ac_cv_prog_NMEDIT"
7118 fi
7119
7120 if test -n "$ac_tool_prefix"; then
7121 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7122 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7124 $as_echo_n "checking for $ac_word... " >&6; }
7125 if ${ac_cv_prog_LIPO+:} false; then :
7126 $as_echo_n "(cached) " >&6
7127 else
7128 if test -n "$LIPO"; then
7129 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7130 else
7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 for as_dir in $PATH
7133 do
7134 IFS=$as_save_IFS
7135 test -z "$as_dir" && as_dir=.
7136 for ac_exec_ext in '' $ac_executable_extensions; do
7137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7138 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7140 break 2
7141 fi
7142 done
7143 done
7144 IFS=$as_save_IFS
7145
7146 fi
7147 fi
7148 LIPO=$ac_cv_prog_LIPO
7149 if test -n "$LIPO"; then
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7151 $as_echo "$LIPO" >&6; }
7152 else
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7154 $as_echo "no" >&6; }
7155 fi
7156
7157
7158 fi
7159 if test -z "$ac_cv_prog_LIPO"; then
7160 ac_ct_LIPO=$LIPO
7161 # Extract the first word of "lipo", so it can be a program name with args.
7162 set dummy lipo; ac_word=$2
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164 $as_echo_n "checking for $ac_word... " >&6; }
7165 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7166 $as_echo_n "(cached) " >&6
7167 else
7168 if test -n "$ac_ct_LIPO"; then
7169 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7170 else
7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172 for as_dir in $PATH
7173 do
7174 IFS=$as_save_IFS
7175 test -z "$as_dir" && as_dir=.
7176 for ac_exec_ext in '' $ac_executable_extensions; do
7177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7178 ac_cv_prog_ac_ct_LIPO="lipo"
7179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7180 break 2
7181 fi
7182 done
7183 done
7184 IFS=$as_save_IFS
7185
7186 fi
7187 fi
7188 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7189 if test -n "$ac_ct_LIPO"; then
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7191 $as_echo "$ac_ct_LIPO" >&6; }
7192 else
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 $as_echo "no" >&6; }
7195 fi
7196
7197 if test "x$ac_ct_LIPO" = x; then
7198 LIPO=":"
7199 else
7200 case $cross_compiling:$ac_tool_warned in
7201 yes:)
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7204 ac_tool_warned=yes ;;
7205 esac
7206 LIPO=$ac_ct_LIPO
7207 fi
7208 else
7209 LIPO="$ac_cv_prog_LIPO"
7210 fi
7211
7212 if test -n "$ac_tool_prefix"; then
7213 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7214 set dummy ${ac_tool_prefix}otool; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 $as_echo_n "checking for $ac_word... " >&6; }
7217 if ${ac_cv_prog_OTOOL+:} false; then :
7218 $as_echo_n "(cached) " >&6
7219 else
7220 if test -n "$OTOOL"; then
7221 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7222 else
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 for as_dir in $PATH
7225 do
7226 IFS=$as_save_IFS
7227 test -z "$as_dir" && as_dir=.
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7232 break 2
7233 fi
7234 done
7235 done
7236 IFS=$as_save_IFS
7237
7238 fi
7239 fi
7240 OTOOL=$ac_cv_prog_OTOOL
7241 if test -n "$OTOOL"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7243 $as_echo "$OTOOL" >&6; }
7244 else
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7247 fi
7248
7249
7250 fi
7251 if test -z "$ac_cv_prog_OTOOL"; then
7252 ac_ct_OTOOL=$OTOOL
7253 # Extract the first word of "otool", so it can be a program name with args.
7254 set dummy otool; ac_word=$2
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256 $as_echo_n "checking for $ac_word... " >&6; }
7257 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7258 $as_echo_n "(cached) " >&6
7259 else
7260 if test -n "$ac_ct_OTOOL"; then
7261 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7262 else
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7264 for as_dir in $PATH
7265 do
7266 IFS=$as_save_IFS
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270 ac_cv_prog_ac_ct_OTOOL="otool"
7271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7272 break 2
7273 fi
7274 done
7275 done
7276 IFS=$as_save_IFS
7277
7278 fi
7279 fi
7280 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7281 if test -n "$ac_ct_OTOOL"; then
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7283 $as_echo "$ac_ct_OTOOL" >&6; }
7284 else
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286 $as_echo "no" >&6; }
7287 fi
7288
7289 if test "x$ac_ct_OTOOL" = x; then
7290 OTOOL=":"
7291 else
7292 case $cross_compiling:$ac_tool_warned in
7293 yes:)
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7296 ac_tool_warned=yes ;;
7297 esac
7298 OTOOL=$ac_ct_OTOOL
7299 fi
7300 else
7301 OTOOL="$ac_cv_prog_OTOOL"
7302 fi
7303
7304 if test -n "$ac_tool_prefix"; then
7305 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7306 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_OTOOL64+:} false; then :
7310 $as_echo_n "(cached) " >&6
7311 else
7312 if test -n "$OTOOL64"; then
7313 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7314 else
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 for as_dir in $PATH
7317 do
7318 IFS=$as_save_IFS
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 break 2
7325 fi
7326 done
7327 done
7328 IFS=$as_save_IFS
7329
7330 fi
7331 fi
7332 OTOOL64=$ac_cv_prog_OTOOL64
7333 if test -n "$OTOOL64"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7335 $as_echo "$OTOOL64" >&6; }
7336 else
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7339 fi
7340
7341
7342 fi
7343 if test -z "$ac_cv_prog_OTOOL64"; then
7344 ac_ct_OTOOL64=$OTOOL64
7345 # Extract the first word of "otool64", so it can be a program name with args.
7346 set dummy otool64; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7350 $as_echo_n "(cached) " >&6
7351 else
7352 if test -n "$ac_ct_OTOOL64"; then
7353 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7354 else
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356 for as_dir in $PATH
7357 do
7358 IFS=$as_save_IFS
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_ac_ct_OTOOL64="otool64"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364 break 2
7365 fi
7366 done
7367 done
7368 IFS=$as_save_IFS
7369
7370 fi
7371 fi
7372 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7373 if test -n "$ac_ct_OTOOL64"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7375 $as_echo "$ac_ct_OTOOL64" >&6; }
7376 else
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7379 fi
7380
7381 if test "x$ac_ct_OTOOL64" = x; then
7382 OTOOL64=":"
7383 else
7384 case $cross_compiling:$ac_tool_warned in
7385 yes:)
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7389 esac
7390 OTOOL64=$ac_ct_OTOOL64
7391 fi
7392 else
7393 OTOOL64="$ac_cv_prog_OTOOL64"
7394 fi
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7423 $as_echo_n "checking for -single_module linker flag... " >&6; }
7424 if ${lt_cv_apple_cc_single_mod+:} false; then :
7425 $as_echo_n "(cached) " >&6
7426 else
7427 lt_cv_apple_cc_single_mod=no
7428 if test -z "${LT_MULTI_MODULE}"; then
7429 # By default we will add the -single_module flag. You can override
7430 # by either setting the environment variable LT_MULTI_MODULE
7431 # non-empty at configure time, or by adding -multi_module to the
7432 # link flags.
7433 rm -rf libconftest.dylib*
7434 echo "int foo(void){return 1;}" > conftest.c
7435 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7436 -dynamiclib -Wl,-single_module conftest.c" >&5
7437 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7438 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7439 _lt_result=$?
7440 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7441 lt_cv_apple_cc_single_mod=yes
7442 else
7443 cat conftest.err >&5
7444 fi
7445 rm -rf libconftest.dylib*
7446 rm -f conftest.*
7447 fi
7448 fi
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7450 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7452 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7453 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7454 $as_echo_n "(cached) " >&6
7455 else
7456 lt_cv_ld_exported_symbols_list=no
7457 save_LDFLAGS=$LDFLAGS
7458 echo "_main" > conftest.sym
7459 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7461 /* end confdefs.h. */
7462
7463 int
7464 main ()
7465 {
7466
7467 ;
7468 return 0;
7469 }
7470 _ACEOF
7471 if ac_fn_c_try_link "$LINENO"; then :
7472 lt_cv_ld_exported_symbols_list=yes
7473 else
7474 lt_cv_ld_exported_symbols_list=no
7475 fi
7476 rm -f core conftest.err conftest.$ac_objext \
7477 conftest$ac_exeext conftest.$ac_ext
7478 LDFLAGS="$save_LDFLAGS"
7479
7480 fi
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7482 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7483 case $host_os in
7484 rhapsody* | darwin1.[012])
7485 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7486 darwin1.*)
7487 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7488 darwin*) # darwin 5.x on
7489 # if running on 10.5 or later, the deployment target defaults
7490 # to the OS version, if on x86, and 10.4, the deployment
7491 # target defaults to 10.4. Don't you love it?
7492 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7493 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7494 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7495 10.[012]*)
7496 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7497 10.*)
7498 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7499 esac
7500 ;;
7501 esac
7502 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7503 _lt_dar_single_mod='$single_module'
7504 fi
7505 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7506 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7507 else
7508 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7509 fi
7510 if test "$DSYMUTIL" != ":"; then
7511 _lt_dsymutil='~$DSYMUTIL $lib || :'
7512 else
7513 _lt_dsymutil=
7514 fi
7515 ;;
7516 esac
7517
7518
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7520 $as_echo_n "checking for ANSI C header files... " >&6; }
7521 if ${ac_cv_header_stdc+:} false; then :
7522 $as_echo_n "(cached) " >&6
7523 else
7524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7525 /* end confdefs.h. */
7526 #include <stdlib.h>
7527 #include <stdarg.h>
7528 #include <string.h>
7529 #include <float.h>
7530
7531 int
7532 main ()
7533 {
7534
7535 ;
7536 return 0;
7537 }
7538 _ACEOF
7539 if ac_fn_c_try_compile "$LINENO"; then :
7540 ac_cv_header_stdc=yes
7541 else
7542 ac_cv_header_stdc=no
7543 fi
7544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7545
7546 if test $ac_cv_header_stdc = yes; then
7547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7549 /* end confdefs.h. */
7550 #include <string.h>
7551
7552 _ACEOF
7553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7554 $EGREP "memchr" >/dev/null 2>&1; then :
7555
7556 else
7557 ac_cv_header_stdc=no
7558 fi
7559 rm -f conftest*
7560
7561 fi
7562
7563 if test $ac_cv_header_stdc = yes; then
7564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566 /* end confdefs.h. */
7567 #include <stdlib.h>
7568
7569 _ACEOF
7570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7571 $EGREP "free" >/dev/null 2>&1; then :
7572
7573 else
7574 ac_cv_header_stdc=no
7575 fi
7576 rm -f conftest*
7577
7578 fi
7579
7580 if test $ac_cv_header_stdc = yes; then
7581 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7582 if test "$cross_compiling" = yes; then :
7583 :
7584 else
7585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7586 /* end confdefs.h. */
7587 #include <ctype.h>
7588 #include <stdlib.h>
7589 #if ((' ' & 0x0FF) == 0x020)
7590 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7591 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7592 #else
7593 # define ISLOWER(c) \
7594 (('a' <= (c) && (c) <= 'i') \
7595 || ('j' <= (c) && (c) <= 'r') \
7596 || ('s' <= (c) && (c) <= 'z'))
7597 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7598 #endif
7599
7600 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7601 int
7602 main ()
7603 {
7604 int i;
7605 for (i = 0; i < 256; i++)
7606 if (XOR (islower (i), ISLOWER (i))
7607 || toupper (i) != TOUPPER (i))
7608 return 2;
7609 return 0;
7610 }
7611 _ACEOF
7612 if ac_fn_c_try_run "$LINENO"; then :
7613
7614 else
7615 ac_cv_header_stdc=no
7616 fi
7617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7618 conftest.$ac_objext conftest.beam conftest.$ac_ext
7619 fi
7620
7621 fi
7622 fi
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7624 $as_echo "$ac_cv_header_stdc" >&6; }
7625 if test $ac_cv_header_stdc = yes; then
7626
7627 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7628
7629 fi
7630
7631 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7632 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7633 inttypes.h stdint.h unistd.h
7634 do :
7635 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7636 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7637 "
7638 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7639 cat >>confdefs.h <<_ACEOF
7640 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7641 _ACEOF
7642
7643 fi
7644
7645 done
7646
7647
7648 for ac_header in dlfcn.h
7649 do :
7650 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7651 "
7652 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7653 cat >>confdefs.h <<_ACEOF
7654 @%:@define HAVE_DLFCN_H 1
7655 _ACEOF
7656
7657 fi
7658
7659 done
7660
7661
7662
7663 ac_ext=cpp
7664 ac_cpp='$CXXCPP $CPPFLAGS'
7665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7668 if test -z "$CXX"; then
7669 if test -n "$CCC"; then
7670 CXX=$CCC
7671 else
7672 if test -n "$ac_tool_prefix"; then
7673 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7674 do
7675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7676 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7678 $as_echo_n "checking for $ac_word... " >&6; }
7679 if ${ac_cv_prog_CXX+:} false; then :
7680 $as_echo_n "(cached) " >&6
7681 else
7682 if test -n "$CXX"; then
7683 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7684 else
7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686 for as_dir in $PATH
7687 do
7688 IFS=$as_save_IFS
7689 test -z "$as_dir" && as_dir=.
7690 for ac_exec_ext in '' $ac_executable_extensions; do
7691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7692 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7694 break 2
7695 fi
7696 done
7697 done
7698 IFS=$as_save_IFS
7699
7700 fi
7701 fi
7702 CXX=$ac_cv_prog_CXX
7703 if test -n "$CXX"; then
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7705 $as_echo "$CXX" >&6; }
7706 else
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708 $as_echo "no" >&6; }
7709 fi
7710
7711
7712 test -n "$CXX" && break
7713 done
7714 fi
7715 if test -z "$CXX"; then
7716 ac_ct_CXX=$CXX
7717 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7718 do
7719 # Extract the first word of "$ac_prog", so it can be a program name with args.
7720 set dummy $ac_prog; ac_word=$2
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7722 $as_echo_n "checking for $ac_word... " >&6; }
7723 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7724 $as_echo_n "(cached) " >&6
7725 else
7726 if test -n "$ac_ct_CXX"; then
7727 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7728 else
7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730 for as_dir in $PATH
7731 do
7732 IFS=$as_save_IFS
7733 test -z "$as_dir" && as_dir=.
7734 for ac_exec_ext in '' $ac_executable_extensions; do
7735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7736 ac_cv_prog_ac_ct_CXX="$ac_prog"
7737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7738 break 2
7739 fi
7740 done
7741 done
7742 IFS=$as_save_IFS
7743
7744 fi
7745 fi
7746 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7747 if test -n "$ac_ct_CXX"; then
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7749 $as_echo "$ac_ct_CXX" >&6; }
7750 else
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7752 $as_echo "no" >&6; }
7753 fi
7754
7755
7756 test -n "$ac_ct_CXX" && break
7757 done
7758
7759 if test "x$ac_ct_CXX" = x; then
7760 CXX="g++"
7761 else
7762 case $cross_compiling:$ac_tool_warned in
7763 yes:)
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7766 ac_tool_warned=yes ;;
7767 esac
7768 CXX=$ac_ct_CXX
7769 fi
7770 fi
7771
7772 fi
7773 fi
7774 # Provide some information about the compiler.
7775 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7776 set X $ac_compile
7777 ac_compiler=$2
7778 for ac_option in --version -v -V -qversion; do
7779 { { ac_try="$ac_compiler $ac_option >&5"
7780 case "(($ac_try" in
7781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7782 *) ac_try_echo=$ac_try;;
7783 esac
7784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7785 $as_echo "$ac_try_echo"; } >&5
7786 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7787 ac_status=$?
7788 if test -s conftest.err; then
7789 sed '10a\
7790 ... rest of stderr output deleted ...
7791 10q' conftest.err >conftest.er1
7792 cat conftest.er1 >&5
7793 fi
7794 rm -f conftest.er1 conftest.err
7795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7796 test $ac_status = 0; }
7797 done
7798
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7800 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7801 if ${ac_cv_cxx_compiler_gnu+:} false; then :
7802 $as_echo_n "(cached) " >&6
7803 else
7804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7805 /* end confdefs.h. */
7806
7807 int
7808 main ()
7809 {
7810 #ifndef __GNUC__
7811 choke me
7812 #endif
7813
7814 ;
7815 return 0;
7816 }
7817 _ACEOF
7818 if ac_fn_cxx_try_compile "$LINENO"; then :
7819 ac_compiler_gnu=yes
7820 else
7821 ac_compiler_gnu=no
7822 fi
7823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7824 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7825
7826 fi
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7828 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7829 if test $ac_compiler_gnu = yes; then
7830 GXX=yes
7831 else
7832 GXX=
7833 fi
7834 ac_test_CXXFLAGS=${CXXFLAGS+set}
7835 ac_save_CXXFLAGS=$CXXFLAGS
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7837 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7838 if ${ac_cv_prog_cxx_g+:} false; then :
7839 $as_echo_n "(cached) " >&6
7840 else
7841 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7842 ac_cxx_werror_flag=yes
7843 ac_cv_prog_cxx_g=no
7844 CXXFLAGS="-g"
7845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7846 /* end confdefs.h. */
7847
7848 int
7849 main ()
7850 {
7851
7852 ;
7853 return 0;
7854 }
7855 _ACEOF
7856 if ac_fn_cxx_try_compile "$LINENO"; then :
7857 ac_cv_prog_cxx_g=yes
7858 else
7859 CXXFLAGS=""
7860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7861 /* end confdefs.h. */
7862
7863 int
7864 main ()
7865 {
7866
7867 ;
7868 return 0;
7869 }
7870 _ACEOF
7871 if ac_fn_cxx_try_compile "$LINENO"; then :
7872
7873 else
7874 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7875 CXXFLAGS="-g"
7876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7877 /* end confdefs.h. */
7878
7879 int
7880 main ()
7881 {
7882
7883 ;
7884 return 0;
7885 }
7886 _ACEOF
7887 if ac_fn_cxx_try_compile "$LINENO"; then :
7888 ac_cv_prog_cxx_g=yes
7889 fi
7890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7891 fi
7892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7893 fi
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7895 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7896 fi
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7898 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7899 if test "$ac_test_CXXFLAGS" = set; then
7900 CXXFLAGS=$ac_save_CXXFLAGS
7901 elif test $ac_cv_prog_cxx_g = yes; then
7902 if test "$GXX" = yes; then
7903 CXXFLAGS="-g -O2"
7904 else
7905 CXXFLAGS="-g"
7906 fi
7907 else
7908 if test "$GXX" = yes; then
7909 CXXFLAGS="-O2"
7910 else
7911 CXXFLAGS=
7912 fi
7913 fi
7914 ac_ext=cpp
7915 ac_cpp='$CXXCPP $CPPFLAGS'
7916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7919
7920 depcc="$CXX" am_compiler_list=
7921
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7923 $as_echo_n "checking dependency style of $depcc... " >&6; }
7924 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
7925 $as_echo_n "(cached) " >&6
7926 else
7927 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7928 # We make a subdir and do the tests there. Otherwise we can end up
7929 # making bogus files that we don't know about and never remove. For
7930 # instance it was reported that on HP-UX the gcc test will end up
7931 # making a dummy file named `D' -- because `-MD' means `put the output
7932 # in D'.
7933 mkdir conftest.dir
7934 # Copy depcomp to subdir because otherwise we won't find it if we're
7935 # using a relative directory.
7936 cp "$am_depcomp" conftest.dir
7937 cd conftest.dir
7938 # We will build objects and dependencies in a subdirectory because
7939 # it helps to detect inapplicable dependency modes. For instance
7940 # both Tru64's cc and ICC support -MD to output dependencies as a
7941 # side effect of compilation, but ICC will put the dependencies in
7942 # the current directory while Tru64 will put them in the object
7943 # directory.
7944 mkdir sub
7945
7946 am_cv_CXX_dependencies_compiler_type=none
7947 if test "$am_compiler_list" = ""; then
7948 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7949 fi
7950 am__universal=false
7951 case " $depcc " in #(
7952 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7953 esac
7954
7955 for depmode in $am_compiler_list; do
7956 # Setup a source with many dependencies, because some compilers
7957 # like to wrap large dependency lists on column 80 (with \), and
7958 # we should not choose a depcomp mode which is confused by this.
7959 #
7960 # We need to recreate these files for each test, as the compiler may
7961 # overwrite some of them when testing with obscure command lines.
7962 # This happens at least with the AIX C compiler.
7963 : > sub/conftest.c
7964 for i in 1 2 3 4 5 6; do
7965 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7966 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7967 # Solaris 8's {/usr,}/bin/sh.
7968 touch sub/conftst$i.h
7969 done
7970 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7971
7972 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7973 # mode. It turns out that the SunPro C++ compiler does not properly
7974 # handle `-M -o', and we need to detect this. Also, some Intel
7975 # versions had trouble with output in subdirs
7976 am__obj=sub/conftest.${OBJEXT-o}
7977 am__minus_obj="-o $am__obj"
7978 case $depmode in
7979 gcc)
7980 # This depmode causes a compiler race in universal mode.
7981 test "$am__universal" = false || continue
7982 ;;
7983 nosideeffect)
7984 # after this tag, mechanisms are not by side-effect, so they'll
7985 # only be used when explicitly requested
7986 if test "x$enable_dependency_tracking" = xyes; then
7987 continue
7988 else
7989 break
7990 fi
7991 ;;
7992 msvisualcpp | msvcmsys)
7993 # This compiler won't grok `-c -o', but also, the minuso test has
7994 # not run yet. These depmodes are late enough in the game, and
7995 # so weak that their functioning should not be impacted.
7996 am__obj=conftest.${OBJEXT-o}
7997 am__minus_obj=
7998 ;;
7999 none) break ;;
8000 esac
8001 if depmode=$depmode \
8002 source=sub/conftest.c object=$am__obj \
8003 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8004 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8005 >/dev/null 2>conftest.err &&
8006 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8007 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8008 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8009 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8010 # icc doesn't choke on unknown options, it will just issue warnings
8011 # or remarks (even with -Werror). So we grep stderr for any message
8012 # that says an option was ignored or not supported.
8013 # When given -MP, icc 7.0 and 7.1 complain thusly:
8014 # icc: Command line warning: ignoring option '-M'; no argument required
8015 # The diagnosis changed in icc 8.0:
8016 # icc: Command line remark: option '-MP' not supported
8017 if (grep 'ignoring option' conftest.err ||
8018 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8019 am_cv_CXX_dependencies_compiler_type=$depmode
8020 break
8021 fi
8022 fi
8023 done
8024
8025 cd ..
8026 rm -rf conftest.dir
8027 else
8028 am_cv_CXX_dependencies_compiler_type=none
8029 fi
8030
8031 fi
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8033 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8034 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8035
8036 if
8037 test "x$enable_dependency_tracking" != xno \
8038 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8039 am__fastdepCXX_TRUE=
8040 am__fastdepCXX_FALSE='#'
8041 else
8042 am__fastdepCXX_TRUE='#'
8043 am__fastdepCXX_FALSE=
8044 fi
8045
8046
8047 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8048 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8049 (test "X$CXX" != "Xg++"))) ; then
8050 ac_ext=cpp
8051 ac_cpp='$CXXCPP $CPPFLAGS'
8052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8056 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8057 if test -z "$CXXCPP"; then
8058 if ${ac_cv_prog_CXXCPP+:} false; then :
8059 $as_echo_n "(cached) " >&6
8060 else
8061 # Double quotes because CXXCPP needs to be expanded
8062 for CXXCPP in "$CXX -E" "/lib/cpp"
8063 do
8064 ac_preproc_ok=false
8065 for ac_cxx_preproc_warn_flag in '' yes
8066 do
8067 # Use a header file that comes with gcc, so configuring glibc
8068 # with a fresh cross-compiler works.
8069 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8070 # <limits.h> exists even on freestanding compilers.
8071 # On the NeXT, cc -E runs the code through the compiler's parser,
8072 # not just through cpp. "Syntax error" is here to catch this case.
8073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8074 /* end confdefs.h. */
8075 @%:@ifdef __STDC__
8076 @%:@ include <limits.h>
8077 @%:@else
8078 @%:@ include <assert.h>
8079 @%:@endif
8080 Syntax error
8081 _ACEOF
8082 if ac_fn_cxx_try_cpp "$LINENO"; then :
8083
8084 else
8085 # Broken: fails on valid input.
8086 continue
8087 fi
8088 rm -f conftest.err conftest.i conftest.$ac_ext
8089
8090 # OK, works on sane cases. Now check whether nonexistent headers
8091 # can be detected and how.
8092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8093 /* end confdefs.h. */
8094 @%:@include <ac_nonexistent.h>
8095 _ACEOF
8096 if ac_fn_cxx_try_cpp "$LINENO"; then :
8097 # Broken: success on invalid input.
8098 continue
8099 else
8100 # Passes both tests.
8101 ac_preproc_ok=:
8102 break
8103 fi
8104 rm -f conftest.err conftest.i conftest.$ac_ext
8105
8106 done
8107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8108 rm -f conftest.i conftest.err conftest.$ac_ext
8109 if $ac_preproc_ok; then :
8110 break
8111 fi
8112
8113 done
8114 ac_cv_prog_CXXCPP=$CXXCPP
8115
8116 fi
8117 CXXCPP=$ac_cv_prog_CXXCPP
8118 else
8119 ac_cv_prog_CXXCPP=$CXXCPP
8120 fi
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8122 $as_echo "$CXXCPP" >&6; }
8123 ac_preproc_ok=false
8124 for ac_cxx_preproc_warn_flag in '' yes
8125 do
8126 # Use a header file that comes with gcc, so configuring glibc
8127 # with a fresh cross-compiler works.
8128 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8129 # <limits.h> exists even on freestanding compilers.
8130 # On the NeXT, cc -E runs the code through the compiler's parser,
8131 # not just through cpp. "Syntax error" is here to catch this case.
8132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8134 @%:@ifdef __STDC__
8135 @%:@ include <limits.h>
8136 @%:@else
8137 @%:@ include <assert.h>
8138 @%:@endif
8139 Syntax error
8140 _ACEOF
8141 if ac_fn_cxx_try_cpp "$LINENO"; then :
8142
8143 else
8144 # Broken: fails on valid input.
8145 continue
8146 fi
8147 rm -f conftest.err conftest.i conftest.$ac_ext
8148
8149 # OK, works on sane cases. Now check whether nonexistent headers
8150 # can be detected and how.
8151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8152 /* end confdefs.h. */
8153 @%:@include <ac_nonexistent.h>
8154 _ACEOF
8155 if ac_fn_cxx_try_cpp "$LINENO"; then :
8156 # Broken: success on invalid input.
8157 continue
8158 else
8159 # Passes both tests.
8160 ac_preproc_ok=:
8161 break
8162 fi
8163 rm -f conftest.err conftest.i conftest.$ac_ext
8164
8165 done
8166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8167 rm -f conftest.i conftest.err conftest.$ac_ext
8168 if $ac_preproc_ok; then :
8169
8170 else
8171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8173 _lt_caught_CXX_error=yes; }
8174 fi
8175
8176 ac_ext=cpp
8177 ac_cpp='$CXXCPP $CPPFLAGS'
8178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8181
8182 else
8183 _lt_caught_CXX_error=yes
8184 fi
8185
8186
8187
8188
8189
8190 # Set options
8191
8192
8193
8194 enable_dlopen=no
8195
8196
8197 enable_win32_dll=no
8198
8199
8200 @%:@ Check whether --enable-shared was given.
8201 if test "${enable_shared+set}" = set; then :
8202 enableval=$enable_shared; p=${PACKAGE-default}
8203 case $enableval in
8204 yes) enable_shared=yes ;;
8205 no) enable_shared=no ;;
8206 *)
8207 enable_shared=no
8208 # Look at the argument we got. We use all the common list separators.
8209 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8210 for pkg in $enableval; do
8211 IFS="$lt_save_ifs"
8212 if test "X$pkg" = "X$p"; then
8213 enable_shared=yes
8214 fi
8215 done
8216 IFS="$lt_save_ifs"
8217 ;;
8218 esac
8219 else
8220 enable_shared=yes
8221 fi
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231 @%:@ Check whether --enable-static was given.
8232 if test "${enable_static+set}" = set; then :
8233 enableval=$enable_static; p=${PACKAGE-default}
8234 case $enableval in
8235 yes) enable_static=yes ;;
8236 no) enable_static=no ;;
8237 *)
8238 enable_static=no
8239 # Look at the argument we got. We use all the common list separators.
8240 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8241 for pkg in $enableval; do
8242 IFS="$lt_save_ifs"
8243 if test "X$pkg" = "X$p"; then
8244 enable_static=yes
8245 fi
8246 done
8247 IFS="$lt_save_ifs"
8248 ;;
8249 esac
8250 else
8251 enable_static=yes
8252 fi
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263 @%:@ Check whether --with-pic was given.
8264 if test "${with_pic+set}" = set; then :
8265 withval=$with_pic; pic_mode="$withval"
8266 else
8267 pic_mode=default
8268 fi
8269
8270
8271 test -z "$pic_mode" && pic_mode=default
8272
8273
8274
8275
8276
8277
8278
8279 @%:@ Check whether --enable-fast-install was given.
8280 if test "${enable_fast_install+set}" = set; then :
8281 enableval=$enable_fast_install; p=${PACKAGE-default}
8282 case $enableval in
8283 yes) enable_fast_install=yes ;;
8284 no) enable_fast_install=no ;;
8285 *)
8286 enable_fast_install=no
8287 # Look at the argument we got. We use all the common list separators.
8288 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8289 for pkg in $enableval; do
8290 IFS="$lt_save_ifs"
8291 if test "X$pkg" = "X$p"; then
8292 enable_fast_install=yes
8293 fi
8294 done
8295 IFS="$lt_save_ifs"
8296 ;;
8297 esac
8298 else
8299 enable_fast_install=yes
8300 fi
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312 # This can be used to rebuild libtool when needed
8313 LIBTOOL_DEPS="$ltmain"
8314
8315 # Always use our own libtool.
8316 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342 test -z "$LN_S" && LN_S="ln -s"
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357 if test -n "${ZSH_VERSION+set}" ; then
8358 setopt NO_GLOB_SUBST
8359 fi
8360
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8362 $as_echo_n "checking for objdir... " >&6; }
8363 if ${lt_cv_objdir+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 rm -f .libs 2>/dev/null
8367 mkdir .libs 2>/dev/null
8368 if test -d .libs; then
8369 lt_cv_objdir=.libs
8370 else
8371 # MS-DOS does not allow filenames that begin with a dot.
8372 lt_cv_objdir=_libs
8373 fi
8374 rmdir .libs 2>/dev/null
8375 fi
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8377 $as_echo "$lt_cv_objdir" >&6; }
8378 objdir=$lt_cv_objdir
8379
8380
8381
8382
8383
8384 cat >>confdefs.h <<_ACEOF
8385 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8386 _ACEOF
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404 case $host_os in
8405 aix3*)
8406 # AIX sometimes has problems with the GCC collect2 program. For some
8407 # reason, if we set the COLLECT_NAMES environment variable, the problems
8408 # vanish in a puff of smoke.
8409 if test "X${COLLECT_NAMES+set}" != Xset; then
8410 COLLECT_NAMES=
8411 export COLLECT_NAMES
8412 fi
8413 ;;
8414 esac
8415
8416 # Sed substitution that helps us do robust quoting. It backslashifies
8417 # metacharacters that are still active within double-quoted strings.
8418 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8419
8420 # Same as above, but do not quote variable references.
8421 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8422
8423 # Sed substitution to delay expansion of an escaped shell variable in a
8424 # double_quote_subst'ed string.
8425 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8426
8427 # Sed substitution to delay expansion of an escaped single quote.
8428 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8429
8430 # Sed substitution to avoid accidental globbing in evaled expressions
8431 no_glob_subst='s/\*/\\\*/g'
8432
8433 # Global variables:
8434 ofile=libtool
8435 can_build_shared=yes
8436
8437 # All known linkers require a `.a' archive for static linking (except MSVC,
8438 # which needs '.lib').
8439 libext=a
8440
8441 with_gnu_ld="$lt_cv_prog_gnu_ld"
8442
8443 old_CC="$CC"
8444 old_CFLAGS="$CFLAGS"
8445
8446 # Set sane defaults for various variables
8447 test -z "$CC" && CC=cc
8448 test -z "$LTCC" && LTCC=$CC
8449 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8450 test -z "$LD" && LD=ld
8451 test -z "$ac_objext" && ac_objext=o
8452
8453 for cc_temp in $compiler""; do
8454 case $cc_temp in
8455 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8456 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8457 \-*) ;;
8458 *) break;;
8459 esac
8460 done
8461 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8462
8463
8464 # Only perform the check for file, if the check method requires it
8465 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8466 case $deplibs_check_method in
8467 file_magic*)
8468 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8470 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8471 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8472 $as_echo_n "(cached) " >&6
8473 else
8474 case $MAGIC_CMD in
8475 [\\/*] | ?:[\\/]*)
8476 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8477 ;;
8478 *)
8479 lt_save_MAGIC_CMD="$MAGIC_CMD"
8480 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8481 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8482 for ac_dir in $ac_dummy; do
8483 IFS="$lt_save_ifs"
8484 test -z "$ac_dir" && ac_dir=.
8485 if test -f $ac_dir/${ac_tool_prefix}file; then
8486 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8487 if test -n "$file_magic_test_file"; then
8488 case $deplibs_check_method in
8489 "file_magic "*)
8490 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8491 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8492 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8493 $EGREP "$file_magic_regex" > /dev/null; then
8494 :
8495 else
8496 cat <<_LT_EOF 1>&2
8497
8498 *** Warning: the command libtool uses to detect shared libraries,
8499 *** $file_magic_cmd, produces output that libtool cannot recognize.
8500 *** The result is that libtool may fail to recognize shared libraries
8501 *** as such. This will affect the creation of libtool libraries that
8502 *** depend on shared libraries, but programs linked with such libtool
8503 *** libraries will work regardless of this problem. Nevertheless, you
8504 *** may want to report the problem to your system manager and/or to
8505 *** bug-libtool@gnu.org
8506
8507 _LT_EOF
8508 fi ;;
8509 esac
8510 fi
8511 break
8512 fi
8513 done
8514 IFS="$lt_save_ifs"
8515 MAGIC_CMD="$lt_save_MAGIC_CMD"
8516 ;;
8517 esac
8518 fi
8519
8520 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8521 if test -n "$MAGIC_CMD"; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8523 $as_echo "$MAGIC_CMD" >&6; }
8524 else
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8526 $as_echo "no" >&6; }
8527 fi
8528
8529
8530
8531
8532
8533 if test -z "$lt_cv_path_MAGIC_CMD"; then
8534 if test -n "$ac_tool_prefix"; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8536 $as_echo_n "checking for file... " >&6; }
8537 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8538 $as_echo_n "(cached) " >&6
8539 else
8540 case $MAGIC_CMD in
8541 [\\/*] | ?:[\\/]*)
8542 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8543 ;;
8544 *)
8545 lt_save_MAGIC_CMD="$MAGIC_CMD"
8546 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8547 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8548 for ac_dir in $ac_dummy; do
8549 IFS="$lt_save_ifs"
8550 test -z "$ac_dir" && ac_dir=.
8551 if test -f $ac_dir/file; then
8552 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8553 if test -n "$file_magic_test_file"; then
8554 case $deplibs_check_method in
8555 "file_magic "*)
8556 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8557 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8558 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8559 $EGREP "$file_magic_regex" > /dev/null; then
8560 :
8561 else
8562 cat <<_LT_EOF 1>&2
8563
8564 *** Warning: the command libtool uses to detect shared libraries,
8565 *** $file_magic_cmd, produces output that libtool cannot recognize.
8566 *** The result is that libtool may fail to recognize shared libraries
8567 *** as such. This will affect the creation of libtool libraries that
8568 *** depend on shared libraries, but programs linked with such libtool
8569 *** libraries will work regardless of this problem. Nevertheless, you
8570 *** may want to report the problem to your system manager and/or to
8571 *** bug-libtool@gnu.org
8572
8573 _LT_EOF
8574 fi ;;
8575 esac
8576 fi
8577 break
8578 fi
8579 done
8580 IFS="$lt_save_ifs"
8581 MAGIC_CMD="$lt_save_MAGIC_CMD"
8582 ;;
8583 esac
8584 fi
8585
8586 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8587 if test -n "$MAGIC_CMD"; then
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8589 $as_echo "$MAGIC_CMD" >&6; }
8590 else
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8592 $as_echo "no" >&6; }
8593 fi
8594
8595
8596 else
8597 MAGIC_CMD=:
8598 fi
8599 fi
8600
8601 fi
8602 ;;
8603 esac
8604
8605 # Use C for the default configuration in the libtool script
8606
8607 lt_save_CC="$CC"
8608 ac_ext=c
8609 ac_cpp='$CPP $CPPFLAGS'
8610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8613
8614
8615 # Source file extension for C test sources.
8616 ac_ext=c
8617
8618 # Object file extension for compiled C test sources.
8619 objext=o
8620 objext=$objext
8621
8622 # Code to be used in simple compile tests
8623 lt_simple_compile_test_code="int some_variable = 0;"
8624
8625 # Code to be used in simple link tests
8626 lt_simple_link_test_code='int main(){return(0);}'
8627
8628
8629
8630
8631
8632
8633
8634 # If no C compiler was specified, use CC.
8635 LTCC=${LTCC-"$CC"}
8636
8637 # If no C compiler flags were specified, use CFLAGS.
8638 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8639
8640 # Allow CC to be a program name with arguments.
8641 compiler=$CC
8642
8643 # Save the default compiler, since it gets overwritten when the other
8644 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8645 compiler_DEFAULT=$CC
8646
8647 # save warnings/boilerplate of simple test code
8648 ac_outfile=conftest.$ac_objext
8649 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8650 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8651 _lt_compiler_boilerplate=`cat conftest.err`
8652 $RM conftest*
8653
8654 ac_outfile=conftest.$ac_objext
8655 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8656 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8657 _lt_linker_boilerplate=`cat conftest.err`
8658 $RM -r conftest*
8659
8660
8661 if test -n "$compiler"; then
8662
8663 lt_prog_compiler_no_builtin_flag=
8664
8665 if test "$GCC" = yes; then
8666 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8667
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8669 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8670 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8671 $as_echo_n "(cached) " >&6
8672 else
8673 lt_cv_prog_compiler_rtti_exceptions=no
8674 ac_outfile=conftest.$ac_objext
8675 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8676 lt_compiler_flag="-fno-rtti -fno-exceptions"
8677 # Insert the option either (1) after the last *FLAGS variable, or
8678 # (2) before a word containing "conftest.", or (3) at the end.
8679 # Note that $ac_compile itself does not contain backslashes and begins
8680 # with a dollar sign (not a hyphen), so the echo should work correctly.
8681 # The option is referenced via a variable to avoid confusing sed.
8682 lt_compile=`echo "$ac_compile" | $SED \
8683 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8684 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8685 -e 's:$: $lt_compiler_flag:'`
8686 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8687 (eval "$lt_compile" 2>conftest.err)
8688 ac_status=$?
8689 cat conftest.err >&5
8690 echo "$as_me:__oline__: \$? = $ac_status" >&5
8691 if (exit $ac_status) && test -s "$ac_outfile"; then
8692 # The compiler can only warn and ignore the option if not recognized
8693 # So say no if there are warnings other than the usual output.
8694 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8695 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8696 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8697 lt_cv_prog_compiler_rtti_exceptions=yes
8698 fi
8699 fi
8700 $RM conftest*
8701
8702 fi
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8704 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8705
8706 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8707 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8708 else
8709 :
8710 fi
8711
8712 fi
8713
8714
8715
8716
8717
8718
8719 lt_prog_compiler_wl=
8720 lt_prog_compiler_pic=
8721 lt_prog_compiler_static=
8722
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8724 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8725
8726 if test "$GCC" = yes; then
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_static='-static'
8729
8730 case $host_os in
8731 aix*)
8732 # All AIX code is PIC.
8733 if test "$host_cpu" = ia64; then
8734 # AIX 5 now supports IA64 processor
8735 lt_prog_compiler_static='-Bstatic'
8736 fi
8737 ;;
8738
8739 amigaos*)
8740 case $host_cpu in
8741 powerpc)
8742 # see comment about AmigaOS4 .so support
8743 lt_prog_compiler_pic='-fPIC'
8744 ;;
8745 m68k)
8746 # FIXME: we need at least 68020 code to build shared libraries, but
8747 # adding the `-m68020' flag to GCC prevents building anything better,
8748 # like `-m68040'.
8749 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8750 ;;
8751 esac
8752 ;;
8753
8754 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8755 # PIC is the default for these OSes.
8756 ;;
8757
8758 mingw* | cygwin* | pw32* | os2* | cegcc*)
8759 # This hack is so that the source file can tell whether it is being
8760 # built for inclusion in a dll (and should export symbols for example).
8761 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8762 # (--disable-auto-import) libraries
8763 lt_prog_compiler_pic='-DDLL_EXPORT'
8764 ;;
8765
8766 darwin* | rhapsody*)
8767 # PIC is the default on this platform
8768 # Common symbols not allowed in MH_DYLIB files
8769 lt_prog_compiler_pic='-fno-common'
8770 ;;
8771
8772 hpux*)
8773 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8774 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8775 # sets the default TLS model and affects inlining.
8776 case $host_cpu in
8777 hppa*64*)
8778 # +Z the default
8779 ;;
8780 *)
8781 lt_prog_compiler_pic='-fPIC'
8782 ;;
8783 esac
8784 ;;
8785
8786 interix[3-9]*)
8787 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8788 # Instead, we relocate shared libraries at runtime.
8789 ;;
8790
8791 msdosdjgpp*)
8792 # Just because we use GCC doesn't mean we suddenly get shared libraries
8793 # on systems that don't support them.
8794 lt_prog_compiler_can_build_shared=no
8795 enable_shared=no
8796 ;;
8797
8798 *nto* | *qnx*)
8799 # QNX uses GNU C++, but need to define -shared option too, otherwise
8800 # it will coredump.
8801 lt_prog_compiler_pic='-fPIC -shared'
8802 ;;
8803
8804 sysv4*MP*)
8805 if test -d /usr/nec; then
8806 lt_prog_compiler_pic=-Kconform_pic
8807 fi
8808 ;;
8809
8810 *)
8811 lt_prog_compiler_pic='-fPIC'
8812 ;;
8813 esac
8814 else
8815 # PORTME Check for flag to pass linker flags through the system compiler.
8816 case $host_os in
8817 aix*)
8818 lt_prog_compiler_wl='-Wl,'
8819 if test "$host_cpu" = ia64; then
8820 # AIX 5 now supports IA64 processor
8821 lt_prog_compiler_static='-Bstatic'
8822 else
8823 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8824 fi
8825 ;;
8826
8827 mingw* | cygwin* | pw32* | os2* | cegcc*)
8828 # This hack is so that the source file can tell whether it is being
8829 # built for inclusion in a dll (and should export symbols for example).
8830 lt_prog_compiler_pic='-DDLL_EXPORT'
8831 ;;
8832
8833 hpux9* | hpux10* | hpux11*)
8834 lt_prog_compiler_wl='-Wl,'
8835 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8836 # not for PA HP-UX.
8837 case $host_cpu in
8838 hppa*64*|ia64*)
8839 # +Z the default
8840 ;;
8841 *)
8842 lt_prog_compiler_pic='+Z'
8843 ;;
8844 esac
8845 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8846 lt_prog_compiler_static='${wl}-a ${wl}archive'
8847 ;;
8848
8849 irix5* | irix6* | nonstopux*)
8850 lt_prog_compiler_wl='-Wl,'
8851 # PIC (with -KPIC) is the default.
8852 lt_prog_compiler_static='-non_shared'
8853 ;;
8854
8855 linux* | k*bsd*-gnu)
8856 case $cc_basename in
8857 # old Intel for x86_64 which still supported -KPIC.
8858 ecc*)
8859 lt_prog_compiler_wl='-Wl,'
8860 lt_prog_compiler_pic='-KPIC'
8861 lt_prog_compiler_static='-static'
8862 ;;
8863 # icc used to be incompatible with GCC.
8864 # ICC 10 doesn't accept -KPIC any more.
8865 icc* | ifort*)
8866 lt_prog_compiler_wl='-Wl,'
8867 lt_prog_compiler_pic='-fPIC'
8868 lt_prog_compiler_static='-static'
8869 ;;
8870 # Lahey Fortran 8.1.
8871 lf95*)
8872 lt_prog_compiler_wl='-Wl,'
8873 lt_prog_compiler_pic='--shared'
8874 lt_prog_compiler_static='--static'
8875 ;;
8876 pgcc* | pgf77* | pgf90* | pgf95*)
8877 # Portland Group compilers (*not* the Pentium gcc compiler,
8878 # which looks to be a dead project)
8879 lt_prog_compiler_wl='-Wl,'
8880 lt_prog_compiler_pic='-fpic'
8881 lt_prog_compiler_static='-Bstatic'
8882 ;;
8883 ccc*)
8884 lt_prog_compiler_wl='-Wl,'
8885 # All Alpha code is PIC.
8886 lt_prog_compiler_static='-non_shared'
8887 ;;
8888 xl*)
8889 # IBM XL C 8.0/Fortran 10.1 on PPC
8890 lt_prog_compiler_wl='-Wl,'
8891 lt_prog_compiler_pic='-qpic'
8892 lt_prog_compiler_static='-qstaticlink'
8893 ;;
8894 *)
8895 case `$CC -V 2>&1 | sed 5q` in
8896 *Sun\ C*)
8897 # Sun C 5.9
8898 lt_prog_compiler_pic='-KPIC'
8899 lt_prog_compiler_static='-Bstatic'
8900 lt_prog_compiler_wl='-Wl,'
8901 ;;
8902 *Sun\ F*)
8903 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8904 lt_prog_compiler_pic='-KPIC'
8905 lt_prog_compiler_static='-Bstatic'
8906 lt_prog_compiler_wl=''
8907 ;;
8908 esac
8909 ;;
8910 esac
8911 ;;
8912
8913 newsos6)
8914 lt_prog_compiler_pic='-KPIC'
8915 lt_prog_compiler_static='-Bstatic'
8916 ;;
8917
8918 *nto* | *qnx*)
8919 # QNX uses GNU C++, but need to define -shared option too, otherwise
8920 # it will coredump.
8921 lt_prog_compiler_pic='-fPIC -shared'
8922 ;;
8923
8924 osf3* | osf4* | osf5*)
8925 lt_prog_compiler_wl='-Wl,'
8926 # All OSF/1 code is PIC.
8927 lt_prog_compiler_static='-non_shared'
8928 ;;
8929
8930 rdos*)
8931 lt_prog_compiler_static='-non_shared'
8932 ;;
8933
8934 solaris*)
8935 lt_prog_compiler_pic='-KPIC'
8936 lt_prog_compiler_static='-Bstatic'
8937 case $cc_basename in
8938 f77* | f90* | f95*)
8939 lt_prog_compiler_wl='-Qoption ld ';;
8940 *)
8941 lt_prog_compiler_wl='-Wl,';;
8942 esac
8943 ;;
8944
8945 sunos4*)
8946 lt_prog_compiler_wl='-Qoption ld '
8947 lt_prog_compiler_pic='-PIC'
8948 lt_prog_compiler_static='-Bstatic'
8949 ;;
8950
8951 sysv4 | sysv4.2uw2* | sysv4.3*)
8952 lt_prog_compiler_wl='-Wl,'
8953 lt_prog_compiler_pic='-KPIC'
8954 lt_prog_compiler_static='-Bstatic'
8955 ;;
8956
8957 sysv4*MP*)
8958 if test -d /usr/nec ;then
8959 lt_prog_compiler_pic='-Kconform_pic'
8960 lt_prog_compiler_static='-Bstatic'
8961 fi
8962 ;;
8963
8964 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8965 lt_prog_compiler_wl='-Wl,'
8966 lt_prog_compiler_pic='-KPIC'
8967 lt_prog_compiler_static='-Bstatic'
8968 ;;
8969
8970 unicos*)
8971 lt_prog_compiler_wl='-Wl,'
8972 lt_prog_compiler_can_build_shared=no
8973 ;;
8974
8975 uts4*)
8976 lt_prog_compiler_pic='-pic'
8977 lt_prog_compiler_static='-Bstatic'
8978 ;;
8979
8980 *)
8981 lt_prog_compiler_can_build_shared=no
8982 ;;
8983 esac
8984 fi
8985
8986 case $host_os in
8987 # For platforms which do not support PIC, -DPIC is meaningless:
8988 *djgpp*)
8989 lt_prog_compiler_pic=
8990 ;;
8991 *)
8992 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8993 ;;
8994 esac
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8996 $as_echo "$lt_prog_compiler_pic" >&6; }
8997
8998
8999
9000
9001
9002
9003 #
9004 # Check to make sure the PIC flag actually works.
9005 #
9006 if test -n "$lt_prog_compiler_pic"; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9008 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9009 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9010 $as_echo_n "(cached) " >&6
9011 else
9012 lt_cv_prog_compiler_pic_works=no
9013 ac_outfile=conftest.$ac_objext
9014 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9015 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
9016 # Insert the option either (1) after the last *FLAGS variable, or
9017 # (2) before a word containing "conftest.", or (3) at the end.
9018 # Note that $ac_compile itself does not contain backslashes and begins
9019 # with a dollar sign (not a hyphen), so the echo should work correctly.
9020 # The option is referenced via a variable to avoid confusing sed.
9021 lt_compile=`echo "$ac_compile" | $SED \
9022 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9023 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9024 -e 's:$: $lt_compiler_flag:'`
9025 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9026 (eval "$lt_compile" 2>conftest.err)
9027 ac_status=$?
9028 cat conftest.err >&5
9029 echo "$as_me:__oline__: \$? = $ac_status" >&5
9030 if (exit $ac_status) && test -s "$ac_outfile"; then
9031 # The compiler can only warn and ignore the option if not recognized
9032 # So say no if there are warnings other than the usual output.
9033 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9034 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9035 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9036 lt_cv_prog_compiler_pic_works=yes
9037 fi
9038 fi
9039 $RM conftest*
9040
9041 fi
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9043 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9044
9045 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9046 case $lt_prog_compiler_pic in
9047 "" | " "*) ;;
9048 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9049 esac
9050 else
9051 lt_prog_compiler_pic=
9052 lt_prog_compiler_can_build_shared=no
9053 fi
9054
9055 fi
9056
9057
9058
9059
9060
9061
9062 #
9063 # Check to make sure the static flag actually works.
9064 #
9065 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9067 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9068 if ${lt_cv_prog_compiler_static_works+:} false; then :
9069 $as_echo_n "(cached) " >&6
9070 else
9071 lt_cv_prog_compiler_static_works=no
9072 save_LDFLAGS="$LDFLAGS"
9073 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9074 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9075 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9076 # The linker can only warn and ignore the option if not recognized
9077 # So say no if there are warnings
9078 if test -s conftest.err; then
9079 # Append any errors to the config.log.
9080 cat conftest.err 1>&5
9081 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9082 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9083 if diff conftest.exp conftest.er2 >/dev/null; then
9084 lt_cv_prog_compiler_static_works=yes
9085 fi
9086 else
9087 lt_cv_prog_compiler_static_works=yes
9088 fi
9089 fi
9090 $RM -r conftest*
9091 LDFLAGS="$save_LDFLAGS"
9092
9093 fi
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9095 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9096
9097 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9098 :
9099 else
9100 lt_prog_compiler_static=
9101 fi
9102
9103
9104
9105
9106
9107
9108
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9110 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9111 if ${lt_cv_prog_compiler_c_o+:} false; then :
9112 $as_echo_n "(cached) " >&6
9113 else
9114 lt_cv_prog_compiler_c_o=no
9115 $RM -r conftest 2>/dev/null
9116 mkdir conftest
9117 cd conftest
9118 mkdir out
9119 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9120
9121 lt_compiler_flag="-o out/conftest2.$ac_objext"
9122 # Insert the option either (1) after the last *FLAGS variable, or
9123 # (2) before a word containing "conftest.", or (3) at the end.
9124 # Note that $ac_compile itself does not contain backslashes and begins
9125 # with a dollar sign (not a hyphen), so the echo should work correctly.
9126 lt_compile=`echo "$ac_compile" | $SED \
9127 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9128 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9129 -e 's:$: $lt_compiler_flag:'`
9130 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9131 (eval "$lt_compile" 2>out/conftest.err)
9132 ac_status=$?
9133 cat out/conftest.err >&5
9134 echo "$as_me:__oline__: \$? = $ac_status" >&5
9135 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9136 then
9137 # The compiler can only warn and ignore the option if not recognized
9138 # So say no if there are warnings
9139 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9140 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9141 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9142 lt_cv_prog_compiler_c_o=yes
9143 fi
9144 fi
9145 chmod u+w . 2>&5
9146 $RM conftest*
9147 # SGI C++ compiler will create directory out/ii_files/ for
9148 # template instantiation
9149 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9150 $RM out/* && rmdir out
9151 cd ..
9152 $RM -r conftest
9153 $RM conftest*
9154
9155 fi
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9157 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9158
9159
9160
9161
9162
9163
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9165 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9166 if ${lt_cv_prog_compiler_c_o+:} false; then :
9167 $as_echo_n "(cached) " >&6
9168 else
9169 lt_cv_prog_compiler_c_o=no
9170 $RM -r conftest 2>/dev/null
9171 mkdir conftest
9172 cd conftest
9173 mkdir out
9174 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9175
9176 lt_compiler_flag="-o out/conftest2.$ac_objext"
9177 # Insert the option either (1) after the last *FLAGS variable, or
9178 # (2) before a word containing "conftest.", or (3) at the end.
9179 # Note that $ac_compile itself does not contain backslashes and begins
9180 # with a dollar sign (not a hyphen), so the echo should work correctly.
9181 lt_compile=`echo "$ac_compile" | $SED \
9182 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9183 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9184 -e 's:$: $lt_compiler_flag:'`
9185 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9186 (eval "$lt_compile" 2>out/conftest.err)
9187 ac_status=$?
9188 cat out/conftest.err >&5
9189 echo "$as_me:__oline__: \$? = $ac_status" >&5
9190 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9191 then
9192 # The compiler can only warn and ignore the option if not recognized
9193 # So say no if there are warnings
9194 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9195 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9196 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9197 lt_cv_prog_compiler_c_o=yes
9198 fi
9199 fi
9200 chmod u+w . 2>&5
9201 $RM conftest*
9202 # SGI C++ compiler will create directory out/ii_files/ for
9203 # template instantiation
9204 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9205 $RM out/* && rmdir out
9206 cd ..
9207 $RM -r conftest
9208 $RM conftest*
9209
9210 fi
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9212 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9213
9214
9215
9216
9217 hard_links="nottested"
9218 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9219 # do not overwrite the value of need_locks provided by the user
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9221 $as_echo_n "checking if we can lock with hard links... " >&6; }
9222 hard_links=yes
9223 $RM conftest*
9224 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9225 touch conftest.a
9226 ln conftest.a conftest.b 2>&5 || hard_links=no
9227 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9229 $as_echo "$hard_links" >&6; }
9230 if test "$hard_links" = no; then
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9232 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9233 need_locks=warn
9234 fi
9235 else
9236 need_locks=no
9237 fi
9238
9239
9240
9241
9242
9243
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9245 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9246
9247 runpath_var=
9248 allow_undefined_flag=
9249 always_export_symbols=no
9250 archive_cmds=
9251 archive_expsym_cmds=
9252 compiler_needs_object=no
9253 enable_shared_with_static_runtimes=no
9254 export_dynamic_flag_spec=
9255 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9256 hardcode_automatic=no
9257 hardcode_direct=no
9258 hardcode_direct_absolute=no
9259 hardcode_libdir_flag_spec=
9260 hardcode_libdir_flag_spec_ld=
9261 hardcode_libdir_separator=
9262 hardcode_minus_L=no
9263 hardcode_shlibpath_var=unsupported
9264 inherit_rpath=no
9265 link_all_deplibs=unknown
9266 module_cmds=
9267 module_expsym_cmds=
9268 old_archive_from_new_cmds=
9269 old_archive_from_expsyms_cmds=
9270 thread_safe_flag_spec=
9271 whole_archive_flag_spec=
9272 # include_expsyms should be a list of space-separated symbols to be *always*
9273 # included in the symbol list
9274 include_expsyms=
9275 # exclude_expsyms can be an extended regexp of symbols to exclude
9276 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9277 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9278 # as well as any symbol that contains `d'.
9279 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9280 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9281 # platforms (ab)use it in PIC code, but their linkers get confused if
9282 # the symbol is explicitly referenced. Since portable code cannot
9283 # rely on this symbol name, it's probably fine to never include it in
9284 # preloaded symbol tables.
9285 # Exclude shared library initialization/finalization symbols.
9286 extract_expsyms_cmds=
9287
9288 case $host_os in
9289 cygwin* | mingw* | pw32* | cegcc*)
9290 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9291 # When not using gcc, we currently assume that we are using
9292 # Microsoft Visual C++.
9293 if test "$GCC" != yes; then
9294 with_gnu_ld=no
9295 fi
9296 ;;
9297 interix*)
9298 # we just hope/assume this is gcc and not c89 (= MSVC++)
9299 with_gnu_ld=yes
9300 ;;
9301 openbsd*)
9302 with_gnu_ld=no
9303 ;;
9304 esac
9305
9306 ld_shlibs=yes
9307 if test "$with_gnu_ld" = yes; then
9308 # If archive_cmds runs LD, not CC, wlarc should be empty
9309 wlarc='${wl}'
9310
9311 # Set some defaults for GNU ld with shared library support. These
9312 # are reset later if shared libraries are not supported. Putting them
9313 # here allows them to be overridden if necessary.
9314 runpath_var=LD_RUN_PATH
9315 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9316 export_dynamic_flag_spec='${wl}--export-dynamic'
9317 # ancient GNU ld didn't support --whole-archive et. al.
9318 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9319 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9320 else
9321 whole_archive_flag_spec=
9322 fi
9323 supports_anon_versioning=no
9324 case `$LD -v 2>&1` in
9325 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9326 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9327 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9328 *\ 2.11.*) ;; # other 2.11 versions
9329 *) supports_anon_versioning=yes ;;
9330 esac
9331
9332 # See if GNU ld supports shared libraries.
9333 case $host_os in
9334 aix[3-9]*)
9335 # On AIX/PPC, the GNU linker is very broken
9336 if test "$host_cpu" != ia64; then
9337 ld_shlibs=no
9338 cat <<_LT_EOF 1>&2
9339
9340 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9341 *** to be unable to reliably create shared libraries on AIX.
9342 *** Therefore, libtool is disabling shared libraries support. If you
9343 *** really care for shared libraries, you may want to modify your PATH
9344 *** so that a non-GNU linker is found, and then restart.
9345
9346 _LT_EOF
9347 fi
9348 ;;
9349
9350 amigaos*)
9351 case $host_cpu in
9352 powerpc)
9353 # see comment about AmigaOS4 .so support
9354 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9355 archive_expsym_cmds=''
9356 ;;
9357 m68k)
9358 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)'
9359 hardcode_libdir_flag_spec='-L$libdir'
9360 hardcode_minus_L=yes
9361 ;;
9362 esac
9363 ;;
9364
9365 beos*)
9366 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9367 allow_undefined_flag=unsupported
9368 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9369 # support --undefined. This deserves some investigation. FIXME
9370 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9371 else
9372 ld_shlibs=no
9373 fi
9374 ;;
9375
9376 cygwin* | mingw* | pw32* | cegcc*)
9377 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9378 # as there is no search path for DLLs.
9379 hardcode_libdir_flag_spec='-L$libdir'
9380 allow_undefined_flag=unsupported
9381 always_export_symbols=no
9382 enable_shared_with_static_runtimes=yes
9383 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9384
9385 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9386 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9387 # If the export-symbols file already is a .def file (1st line
9388 # is EXPORTS), use it as is; otherwise, prepend...
9389 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9390 cp $export_symbols $output_objdir/$soname.def;
9391 else
9392 echo EXPORTS > $output_objdir/$soname.def;
9393 cat $export_symbols >> $output_objdir/$soname.def;
9394 fi~
9395 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9396 else
9397 ld_shlibs=no
9398 fi
9399 ;;
9400
9401 interix[3-9]*)
9402 hardcode_direct=no
9403 hardcode_shlibpath_var=no
9404 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9405 export_dynamic_flag_spec='${wl}-E'
9406 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9407 # Instead, shared libraries are loaded at an image base (0x10000000 by
9408 # default) and relocated if they conflict, which is a slow very memory
9409 # consuming and fragmenting process. To avoid this, we pick a random,
9410 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9411 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9412 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9413 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'
9414 ;;
9415
9416 gnu* | linux* | tpf* | k*bsd*-gnu)
9417 tmp_diet=no
9418 if test "$host_os" = linux-dietlibc; then
9419 case $cc_basename in
9420 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9421 esac
9422 fi
9423 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9424 && test "$tmp_diet" = no
9425 then
9426 tmp_addflag=
9427 tmp_sharedflag='-shared'
9428 case $cc_basename,$host_cpu in
9429 pgcc*) # Portland Group C compiler
9430 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9431 tmp_addflag=' $pic_flag'
9432 ;;
9433 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9434 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9435 tmp_addflag=' $pic_flag -Mnomain' ;;
9436 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9437 tmp_addflag=' -i_dynamic' ;;
9438 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9439 tmp_addflag=' -i_dynamic -nofor_main' ;;
9440 ifc* | ifort*) # Intel Fortran compiler
9441 tmp_addflag=' -nofor_main' ;;
9442 lf95*) # Lahey Fortran 8.1
9443 whole_archive_flag_spec=
9444 tmp_sharedflag='--shared' ;;
9445 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9446 tmp_sharedflag='-qmkshrobj'
9447 tmp_addflag= ;;
9448 esac
9449 case `$CC -V 2>&1 | sed 5q` in
9450 *Sun\ C*) # Sun C 5.9
9451 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9452 compiler_needs_object=yes
9453 tmp_sharedflag='-G' ;;
9454 *Sun\ F*) # Sun Fortran 8.3
9455 tmp_sharedflag='-G' ;;
9456 esac
9457 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9458
9459 if test "x$supports_anon_versioning" = xyes; then
9460 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9462 echo "local: *; };" >> $output_objdir/$libname.ver~
9463 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9464 fi
9465
9466 case $cc_basename in
9467 xlf*)
9468 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9469 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9470 hardcode_libdir_flag_spec=
9471 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9472 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9473 if test "x$supports_anon_versioning" = xyes; then
9474 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9475 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9476 echo "local: *; };" >> $output_objdir/$libname.ver~
9477 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9478 fi
9479 ;;
9480 esac
9481 else
9482 ld_shlibs=no
9483 fi
9484 ;;
9485
9486 netbsd*)
9487 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9488 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9489 wlarc=
9490 else
9491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9493 fi
9494 ;;
9495
9496 solaris*)
9497 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9498 ld_shlibs=no
9499 cat <<_LT_EOF 1>&2
9500
9501 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9502 *** create shared libraries on Solaris systems. Therefore, libtool
9503 *** is disabling shared libraries support. We urge you to upgrade GNU
9504 *** binutils to release 2.9.1 or newer. Another option is to modify
9505 *** your PATH or compiler configuration so that the native linker is
9506 *** used, and then restart.
9507
9508 _LT_EOF
9509 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9510 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9511 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9512 else
9513 ld_shlibs=no
9514 fi
9515 ;;
9516
9517 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9518 case `$LD -v 2>&1` in
9519 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9520 ld_shlibs=no
9521 cat <<_LT_EOF 1>&2
9522
9523 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9524 *** reliably create shared libraries on SCO systems. Therefore, libtool
9525 *** is disabling shared libraries support. We urge you to upgrade GNU
9526 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9527 *** your PATH or compiler configuration so that the native linker is
9528 *** used, and then restart.
9529
9530 _LT_EOF
9531 ;;
9532 *)
9533 # For security reasons, it is highly recommended that you always
9534 # use absolute paths for naming shared libraries, and exclude the
9535 # DT_RUNPATH tag from executables and libraries. But doing so
9536 # requires that you compile everything twice, which is a pain.
9537 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9538 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9539 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9540 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9541 else
9542 ld_shlibs=no
9543 fi
9544 ;;
9545 esac
9546 ;;
9547
9548 sunos4*)
9549 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9550 wlarc=
9551 hardcode_direct=yes
9552 hardcode_shlibpath_var=no
9553 ;;
9554
9555 *)
9556 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9557 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9558 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9559 else
9560 ld_shlibs=no
9561 fi
9562 ;;
9563 esac
9564
9565 if test "$ld_shlibs" = no; then
9566 runpath_var=
9567 hardcode_libdir_flag_spec=
9568 export_dynamic_flag_spec=
9569 whole_archive_flag_spec=
9570 fi
9571 else
9572 # PORTME fill in a description of your system's linker (not GNU ld)
9573 case $host_os in
9574 aix3*)
9575 allow_undefined_flag=unsupported
9576 always_export_symbols=yes
9577 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'
9578 # Note: this linker hardcodes the directories in LIBPATH if there
9579 # are no directories specified by -L.
9580 hardcode_minus_L=yes
9581 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9582 # Neither direct hardcoding nor static linking is supported with a
9583 # broken collect2.
9584 hardcode_direct=unsupported
9585 fi
9586 ;;
9587
9588 aix[4-9]*)
9589 if test "$host_cpu" = ia64; then
9590 # On IA64, the linker does run time linking by default, so we don't
9591 # have to do anything special.
9592 aix_use_runtimelinking=no
9593 exp_sym_flag='-Bexport'
9594 no_entry_flag=""
9595 else
9596 # If we're using GNU nm, then we don't want the "-C" option.
9597 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9598 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9599 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9600 else
9601 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'
9602 fi
9603 aix_use_runtimelinking=no
9604
9605 # Test if we are trying to use run time linking or normal
9606 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9607 # need to do runtime linking.
9608 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9609 for ld_flag in $LDFLAGS; do
9610 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9611 aix_use_runtimelinking=yes
9612 break
9613 fi
9614 done
9615 ;;
9616 esac
9617
9618 exp_sym_flag='-bexport'
9619 no_entry_flag='-bnoentry'
9620 fi
9621
9622 # When large executables or shared objects are built, AIX ld can
9623 # have problems creating the table of contents. If linking a library
9624 # or program results in "error TOC overflow" add -mminimal-toc to
9625 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9626 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9627
9628 archive_cmds=''
9629 hardcode_direct=yes
9630 hardcode_direct_absolute=yes
9631 hardcode_libdir_separator=':'
9632 link_all_deplibs=yes
9633 file_list_spec='${wl}-f,'
9634
9635 if test "$GCC" = yes; then
9636 case $host_os in aix4.[012]|aix4.[012].*)
9637 # We only want to do this on AIX 4.2 and lower, the check
9638 # below for broken collect2 doesn't work under 4.3+
9639 collect2name=`${CC} -print-prog-name=collect2`
9640 if test -f "$collect2name" &&
9641 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9642 then
9643 # We have reworked collect2
9644 :
9645 else
9646 # We have old collect2
9647 hardcode_direct=unsupported
9648 # It fails to find uninstalled libraries when the uninstalled
9649 # path is not listed in the libpath. Setting hardcode_minus_L
9650 # to unsupported forces relinking
9651 hardcode_minus_L=yes
9652 hardcode_libdir_flag_spec='-L$libdir'
9653 hardcode_libdir_separator=
9654 fi
9655 ;;
9656 esac
9657 shared_flag='-shared'
9658 if test "$aix_use_runtimelinking" = yes; then
9659 shared_flag="$shared_flag "'${wl}-G'
9660 fi
9661 else
9662 # not using gcc
9663 if test "$host_cpu" = ia64; then
9664 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9665 # chokes on -Wl,-G. The following line is correct:
9666 shared_flag='-G'
9667 else
9668 if test "$aix_use_runtimelinking" = yes; then
9669 shared_flag='${wl}-G'
9670 else
9671 shared_flag='${wl}-bM:SRE'
9672 fi
9673 fi
9674 fi
9675
9676 export_dynamic_flag_spec='${wl}-bexpall'
9677 # It seems that -bexpall does not export symbols beginning with
9678 # underscore (_), so it is better to generate a list of symbols to export.
9679 always_export_symbols=yes
9680 if test "$aix_use_runtimelinking" = yes; then
9681 # Warning - without using the other runtime loading flags (-brtl),
9682 # -berok will link without error, but may produce a broken library.
9683 allow_undefined_flag='-berok'
9684 # Determine the default libpath from the value encoded in an
9685 # empty executable.
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h. */
9688
9689 int
9690 main ()
9691 {
9692
9693 ;
9694 return 0;
9695 }
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9698
9699 lt_aix_libpath_sed='
9700 /Import File Strings/,/^$/ {
9701 /^0/ {
9702 s/^0 *\(.*\)$/\1/
9703 p
9704 }
9705 }'
9706 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9707 # Check for a 64-bit object if we didn't find anything.
9708 if test -z "$aix_libpath"; then
9709 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9710 fi
9711 fi
9712 rm -f core conftest.err conftest.$ac_objext \
9713 conftest$ac_exeext conftest.$ac_ext
9714 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9715
9716 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9717 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9718 else
9719 if test "$host_cpu" = ia64; then
9720 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9721 allow_undefined_flag="-z nodefs"
9722 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"
9723 else
9724 # Determine the default libpath from the value encoded in an
9725 # empty executable.
9726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h. */
9728
9729 int
9730 main ()
9731 {
9732
9733 ;
9734 return 0;
9735 }
9736 _ACEOF
9737 if ac_fn_c_try_link "$LINENO"; then :
9738
9739 lt_aix_libpath_sed='
9740 /Import File Strings/,/^$/ {
9741 /^0/ {
9742 s/^0 *\(.*\)$/\1/
9743 p
9744 }
9745 }'
9746 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9747 # Check for a 64-bit object if we didn't find anything.
9748 if test -z "$aix_libpath"; then
9749 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9750 fi
9751 fi
9752 rm -f core conftest.err conftest.$ac_objext \
9753 conftest$ac_exeext conftest.$ac_ext
9754 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9755
9756 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9757 # Warning - without using the other run time loading flags,
9758 # -berok will link without error, but may produce a broken library.
9759 no_undefined_flag=' ${wl}-bernotok'
9760 allow_undefined_flag=' ${wl}-berok'
9761 # Exported symbols can be pulled into shared objects from archives
9762 whole_archive_flag_spec='$convenience'
9763 archive_cmds_need_lc=yes
9764 # This is similar to how AIX traditionally builds its shared libraries.
9765 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'
9766 fi
9767 fi
9768 ;;
9769
9770 amigaos*)
9771 case $host_cpu in
9772 powerpc)
9773 # see comment about AmigaOS4 .so support
9774 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9775 archive_expsym_cmds=''
9776 ;;
9777 m68k)
9778 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)'
9779 hardcode_libdir_flag_spec='-L$libdir'
9780 hardcode_minus_L=yes
9781 ;;
9782 esac
9783 ;;
9784
9785 bsdi[45]*)
9786 export_dynamic_flag_spec=-rdynamic
9787 ;;
9788
9789 cygwin* | mingw* | pw32* | cegcc*)
9790 # When not using gcc, we currently assume that we are using
9791 # Microsoft Visual C++.
9792 # hardcode_libdir_flag_spec is actually meaningless, as there is
9793 # no search path for DLLs.
9794 hardcode_libdir_flag_spec=' '
9795 allow_undefined_flag=unsupported
9796 # Tell ltmain to make .lib files, not .a files.
9797 libext=lib
9798 # Tell ltmain to make .dll files, not .so files.
9799 shrext_cmds=".dll"
9800 # FIXME: Setting linknames here is a bad hack.
9801 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9802 # The linker will automatically build a .lib file if we build a DLL.
9803 old_archive_from_new_cmds='true'
9804 # FIXME: Should let the user specify the lib program.
9805 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9806 fix_srcfile_path='`cygpath -w "$srcfile"`'
9807 enable_shared_with_static_runtimes=yes
9808 ;;
9809
9810 darwin* | rhapsody*)
9811
9812
9813 archive_cmds_need_lc=no
9814 hardcode_direct=no
9815 hardcode_automatic=yes
9816 hardcode_shlibpath_var=unsupported
9817 whole_archive_flag_spec=''
9818 link_all_deplibs=yes
9819 allow_undefined_flag="$_lt_dar_allow_undefined"
9820 case $cc_basename in
9821 ifort*) _lt_dar_can_shared=yes ;;
9822 *) _lt_dar_can_shared=$GCC ;;
9823 esac
9824 if test "$_lt_dar_can_shared" = "yes"; then
9825 output_verbose_link_cmd=echo
9826 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9827 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9828 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}"
9829 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}"
9830
9831 else
9832 ld_shlibs=no
9833 fi
9834
9835 ;;
9836
9837 dgux*)
9838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_libdir_flag_spec='-L$libdir'
9840 hardcode_shlibpath_var=no
9841 ;;
9842
9843 freebsd1*)
9844 ld_shlibs=no
9845 ;;
9846
9847 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9848 # support. Future versions do this automatically, but an explicit c++rt0.o
9849 # does not break anything, and helps significantly (at the cost of a little
9850 # extra space).
9851 freebsd2.2*)
9852 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9853 hardcode_libdir_flag_spec='-R$libdir'
9854 hardcode_direct=yes
9855 hardcode_shlibpath_var=no
9856 ;;
9857
9858 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9859 freebsd2*)
9860 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9861 hardcode_direct=yes
9862 hardcode_minus_L=yes
9863 hardcode_shlibpath_var=no
9864 ;;
9865
9866 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9867 freebsd* | dragonfly*)
9868 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9869 hardcode_libdir_flag_spec='-R$libdir'
9870 hardcode_direct=yes
9871 hardcode_shlibpath_var=no
9872 ;;
9873
9874 hpux9*)
9875 if test "$GCC" = yes; then
9876 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9877 else
9878 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'
9879 fi
9880 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9881 hardcode_libdir_separator=:
9882 hardcode_direct=yes
9883
9884 # hardcode_minus_L: Not really in the search PATH,
9885 # but as the default location of the library.
9886 hardcode_minus_L=yes
9887 export_dynamic_flag_spec='${wl}-E'
9888 ;;
9889
9890 hpux10*)
9891 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9892 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9893 else
9894 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9895 fi
9896 if test "$with_gnu_ld" = no; then
9897 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9898 hardcode_libdir_flag_spec_ld='+b $libdir'
9899 hardcode_libdir_separator=:
9900 hardcode_direct=yes
9901 hardcode_direct_absolute=yes
9902 export_dynamic_flag_spec='${wl}-E'
9903 # hardcode_minus_L: Not really in the search PATH,
9904 # but as the default location of the library.
9905 hardcode_minus_L=yes
9906 fi
9907 ;;
9908
9909 hpux11*)
9910 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9911 case $host_cpu in
9912 hppa*64*)
9913 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9914 ;;
9915 ia64*)
9916 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9917 ;;
9918 *)
9919 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9920 ;;
9921 esac
9922 else
9923 case $host_cpu in
9924 hppa*64*)
9925 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9926 ;;
9927 ia64*)
9928 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9929 ;;
9930 *)
9931 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9932 ;;
9933 esac
9934 fi
9935 if test "$with_gnu_ld" = no; then
9936 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9937 hardcode_libdir_separator=:
9938
9939 case $host_cpu in
9940 hppa*64*|ia64*)
9941 hardcode_direct=no
9942 hardcode_shlibpath_var=no
9943 ;;
9944 *)
9945 hardcode_direct=yes
9946 hardcode_direct_absolute=yes
9947 export_dynamic_flag_spec='${wl}-E'
9948
9949 # hardcode_minus_L: Not really in the search PATH,
9950 # but as the default location of the library.
9951 hardcode_minus_L=yes
9952 ;;
9953 esac
9954 fi
9955 ;;
9956
9957 irix5* | irix6* | nonstopux*)
9958 if test "$GCC" = yes; then
9959 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9960 # Try to use the -exported_symbol ld option, if it does not
9961 # work, assume that -exports_file does not work either and
9962 # implicitly export all symbols.
9963 save_LDFLAGS="$LDFLAGS"
9964 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9967 int foo(void) {}
9968 _ACEOF
9969 if ac_fn_c_try_link "$LINENO"; then :
9970 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9971
9972 fi
9973 rm -f core conftest.err conftest.$ac_objext \
9974 conftest$ac_exeext conftest.$ac_ext
9975 LDFLAGS="$save_LDFLAGS"
9976 else
9977 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9978 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9979 fi
9980 archive_cmds_need_lc='no'
9981 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9982 hardcode_libdir_separator=:
9983 inherit_rpath=yes
9984 link_all_deplibs=yes
9985 ;;
9986
9987 netbsd*)
9988 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9989 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9990 else
9991 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9992 fi
9993 hardcode_libdir_flag_spec='-R$libdir'
9994 hardcode_direct=yes
9995 hardcode_shlibpath_var=no
9996 ;;
9997
9998 newsos6)
9999 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 hardcode_direct=yes
10001 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10002 hardcode_libdir_separator=:
10003 hardcode_shlibpath_var=no
10004 ;;
10005
10006 *nto* | *qnx*)
10007 ;;
10008
10009 openbsd*)
10010 if test -f /usr/libexec/ld.so; then
10011 hardcode_direct=yes
10012 hardcode_shlibpath_var=no
10013 hardcode_direct_absolute=yes
10014 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10015 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10016 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10017 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10018 export_dynamic_flag_spec='${wl}-E'
10019 else
10020 case $host_os in
10021 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10022 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10023 hardcode_libdir_flag_spec='-R$libdir'
10024 ;;
10025 *)
10026 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10027 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10028 ;;
10029 esac
10030 fi
10031 else
10032 ld_shlibs=no
10033 fi
10034 ;;
10035
10036 os2*)
10037 hardcode_libdir_flag_spec='-L$libdir'
10038 hardcode_minus_L=yes
10039 allow_undefined_flag=unsupported
10040 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'
10041 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10042 ;;
10043
10044 osf3*)
10045 if test "$GCC" = yes; then
10046 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10047 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10048 else
10049 allow_undefined_flag=' -expect_unresolved \*'
10050 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10051 fi
10052 archive_cmds_need_lc='no'
10053 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10054 hardcode_libdir_separator=:
10055 ;;
10056
10057 osf4* | osf5*) # as osf3* with the addition of -msym flag
10058 if test "$GCC" = yes; then
10059 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10060 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10061 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10062 else
10063 allow_undefined_flag=' -expect_unresolved \*'
10064 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10065 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~
10066 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10067
10068 # Both c and cxx compiler support -rpath directly
10069 hardcode_libdir_flag_spec='-rpath $libdir'
10070 fi
10071 archive_cmds_need_lc='no'
10072 hardcode_libdir_separator=:
10073 ;;
10074
10075 solaris*)
10076 no_undefined_flag=' -z defs'
10077 if test "$GCC" = yes; then
10078 wlarc='${wl}'
10079 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10080 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10081 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10082 else
10083 case `$CC -V 2>&1` in
10084 *"Compilers 5.0"*)
10085 wlarc=''
10086 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10087 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10089 ;;
10090 *)
10091 wlarc='${wl}'
10092 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10094 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10095 ;;
10096 esac
10097 fi
10098 hardcode_libdir_flag_spec='-R$libdir'
10099 hardcode_shlibpath_var=no
10100 case $host_os in
10101 solaris2.[0-5] | solaris2.[0-5].*) ;;
10102 *)
10103 # The compiler driver will combine and reorder linker options,
10104 # but understands `-z linker_flag'. GCC discards it without `$wl',
10105 # but is careful enough not to reorder.
10106 # Supported since Solaris 2.6 (maybe 2.5.1?)
10107 if test "$GCC" = yes; then
10108 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10109 else
10110 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10111 fi
10112 ;;
10113 esac
10114 link_all_deplibs=yes
10115 ;;
10116
10117 sunos4*)
10118 if test "x$host_vendor" = xsequent; then
10119 # Use $CC to link under sequent, because it throws in some extra .o
10120 # files that make .init and .fini sections work.
10121 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10122 else
10123 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10124 fi
10125 hardcode_libdir_flag_spec='-L$libdir'
10126 hardcode_direct=yes
10127 hardcode_minus_L=yes
10128 hardcode_shlibpath_var=no
10129 ;;
10130
10131 sysv4)
10132 case $host_vendor in
10133 sni)
10134 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10135 hardcode_direct=yes # is this really true???
10136 ;;
10137 siemens)
10138 ## LD is ld it makes a PLAMLIB
10139 ## CC just makes a GrossModule.
10140 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10141 reload_cmds='$CC -r -o $output$reload_objs'
10142 hardcode_direct=no
10143 ;;
10144 motorola)
10145 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10146 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10147 ;;
10148 esac
10149 runpath_var='LD_RUN_PATH'
10150 hardcode_shlibpath_var=no
10151 ;;
10152
10153 sysv4.3*)
10154 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10155 hardcode_shlibpath_var=no
10156 export_dynamic_flag_spec='-Bexport'
10157 ;;
10158
10159 sysv4*MP*)
10160 if test -d /usr/nec; then
10161 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10162 hardcode_shlibpath_var=no
10163 runpath_var=LD_RUN_PATH
10164 hardcode_runpath_var=yes
10165 ld_shlibs=yes
10166 fi
10167 ;;
10168
10169 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10170 no_undefined_flag='${wl}-z,text'
10171 archive_cmds_need_lc=no
10172 hardcode_shlibpath_var=no
10173 runpath_var='LD_RUN_PATH'
10174
10175 if test "$GCC" = yes; then
10176 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10177 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10178 else
10179 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181 fi
10182 ;;
10183
10184 sysv5* | sco3.2v5* | sco5v6*)
10185 # Note: We can NOT use -z defs as we might desire, because we do not
10186 # link with -lc, and that would cause any symbols used from libc to
10187 # always be unresolved, which means just about no library would
10188 # ever link correctly. If we're not using GNU ld we use -z text
10189 # though, which does catch some bad symbols but isn't as heavy-handed
10190 # as -z defs.
10191 no_undefined_flag='${wl}-z,text'
10192 allow_undefined_flag='${wl}-z,nodefs'
10193 archive_cmds_need_lc=no
10194 hardcode_shlibpath_var=no
10195 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10196 hardcode_libdir_separator=':'
10197 link_all_deplibs=yes
10198 export_dynamic_flag_spec='${wl}-Bexport'
10199 runpath_var='LD_RUN_PATH'
10200
10201 if test "$GCC" = yes; then
10202 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10203 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10204 else
10205 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207 fi
10208 ;;
10209
10210 uts4*)
10211 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10212 hardcode_libdir_flag_spec='-L$libdir'
10213 hardcode_shlibpath_var=no
10214 ;;
10215
10216 *)
10217 ld_shlibs=no
10218 ;;
10219 esac
10220
10221 if test x$host_vendor = xsni; then
10222 case $host in
10223 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10224 export_dynamic_flag_spec='${wl}-Blargedynsym'
10225 ;;
10226 esac
10227 fi
10228 fi
10229
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10231 $as_echo "$ld_shlibs" >&6; }
10232 test "$ld_shlibs" = no && can_build_shared=no
10233
10234 with_gnu_ld=$with_gnu_ld
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250 #
10251 # Do we need to explicitly link libc?
10252 #
10253 case "x$archive_cmds_need_lc" in
10254 x|xyes)
10255 # Assume -lc should be added
10256 archive_cmds_need_lc=yes
10257
10258 if test "$enable_shared" = yes && test "$GCC" = yes; then
10259 case $archive_cmds in
10260 *'~'*)
10261 # FIXME: we may have to deal with multi-command sequences.
10262 ;;
10263 '$CC '*)
10264 # Test whether the compiler implicitly links with -lc since on some
10265 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10266 # to ld, don't add -lc before -lgcc.
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10268 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10269 $RM conftest*
10270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10271
10272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10273 (eval $ac_compile) 2>&5
10274 ac_status=$?
10275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10276 test $ac_status = 0; } 2>conftest.err; then
10277 soname=conftest
10278 lib=conftest
10279 libobjs=conftest.$ac_objext
10280 deplibs=
10281 wl=$lt_prog_compiler_wl
10282 pic_flag=$lt_prog_compiler_pic
10283 compiler_flags=-v
10284 linker_flags=-v
10285 verstring=
10286 output_objdir=.
10287 libname=conftest
10288 lt_save_allow_undefined_flag=$allow_undefined_flag
10289 allow_undefined_flag=
10290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10291 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10292 ac_status=$?
10293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10294 test $ac_status = 0; }
10295 then
10296 archive_cmds_need_lc=no
10297 else
10298 archive_cmds_need_lc=yes
10299 fi
10300 allow_undefined_flag=$lt_save_allow_undefined_flag
10301 else
10302 cat conftest.err 1>&5
10303 fi
10304 $RM conftest*
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10306 $as_echo "$archive_cmds_need_lc" >&6; }
10307 ;;
10308 esac
10309 fi
10310 ;;
10311 esac
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10470 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10471
10472 if test "$GCC" = yes; then
10473 case $host_os in
10474 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10475 *) lt_awk_arg="/^libraries:/" ;;
10476 esac
10477 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10478 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10479 # if the path contains ";" then we assume it to be the separator
10480 # otherwise default to the standard path separator (i.e. ":") - it is
10481 # assumed that no part of a normal pathname contains ";" but that should
10482 # okay in the real world where ";" in dirpaths is itself problematic.
10483 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10484 else
10485 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10486 fi
10487 # Ok, now we have the path, separated by spaces, we can step through it
10488 # and add multilib dir if necessary.
10489 lt_tmp_lt_search_path_spec=
10490 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10491 for lt_sys_path in $lt_search_path_spec; do
10492 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10493 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10494 else
10495 test -d "$lt_sys_path" && \
10496 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10497 fi
10498 done
10499 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10500 BEGIN {RS=" "; FS="/|\n";} {
10501 lt_foo="";
10502 lt_count=0;
10503 for (lt_i = NF; lt_i > 0; lt_i--) {
10504 if ($lt_i != "" && $lt_i != ".") {
10505 if ($lt_i == "..") {
10506 lt_count++;
10507 } else {
10508 if (lt_count == 0) {
10509 lt_foo="/" $lt_i lt_foo;
10510 } else {
10511 lt_count--;
10512 }
10513 }
10514 }
10515 }
10516 if (lt_foo != "") { lt_freq[lt_foo]++; }
10517 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10518 }'`
10519 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10520 else
10521 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10522 fi
10523 library_names_spec=
10524 libname_spec='lib$name'
10525 soname_spec=
10526 shrext_cmds=".so"
10527 postinstall_cmds=
10528 postuninstall_cmds=
10529 finish_cmds=
10530 finish_eval=
10531 shlibpath_var=
10532 shlibpath_overrides_runpath=unknown
10533 version_type=none
10534 dynamic_linker="$host_os ld.so"
10535 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10536 need_lib_prefix=unknown
10537 hardcode_into_libs=no
10538
10539 # when you set need_version to no, make sure it does not cause -set_version
10540 # flags to be left without arguments
10541 need_version=unknown
10542
10543 case $host_os in
10544 aix3*)
10545 version_type=linux
10546 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10547 shlibpath_var=LIBPATH
10548
10549 # AIX 3 has no versioning support, so we append a major version to the name.
10550 soname_spec='${libname}${release}${shared_ext}$major'
10551 ;;
10552
10553 aix[4-9]*)
10554 version_type=linux
10555 need_lib_prefix=no
10556 need_version=no
10557 hardcode_into_libs=yes
10558 if test "$host_cpu" = ia64; then
10559 # AIX 5 supports IA64
10560 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10561 shlibpath_var=LD_LIBRARY_PATH
10562 else
10563 # With GCC up to 2.95.x, collect2 would create an import file
10564 # for dependence libraries. The import file would start with
10565 # the line `#! .'. This would cause the generated library to
10566 # depend on `.', always an invalid library. This was fixed in
10567 # development snapshots of GCC prior to 3.0.
10568 case $host_os in
10569 aix4 | aix4.[01] | aix4.[01].*)
10570 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10571 echo ' yes '
10572 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10573 :
10574 else
10575 can_build_shared=no
10576 fi
10577 ;;
10578 esac
10579 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10580 # soname into executable. Probably we can add versioning support to
10581 # collect2, so additional links can be useful in future.
10582 if test "$aix_use_runtimelinking" = yes; then
10583 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10584 # instead of lib<name>.a to let people know that these are not
10585 # typical AIX shared libraries.
10586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10587 else
10588 # We preserve .a as extension for shared libraries through AIX4.2
10589 # and later when we are not doing run time linking.
10590 library_names_spec='${libname}${release}.a $libname.a'
10591 soname_spec='${libname}${release}${shared_ext}$major'
10592 fi
10593 shlibpath_var=LIBPATH
10594 fi
10595 ;;
10596
10597 amigaos*)
10598 case $host_cpu in
10599 powerpc)
10600 # Since July 2007 AmigaOS4 officially supports .so libraries.
10601 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603 ;;
10604 m68k)
10605 library_names_spec='$libname.ixlibrary $libname.a'
10606 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10607 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10608 ;;
10609 esac
10610 ;;
10611
10612 beos*)
10613 library_names_spec='${libname}${shared_ext}'
10614 dynamic_linker="$host_os ld.so"
10615 shlibpath_var=LIBRARY_PATH
10616 ;;
10617
10618 bsdi[45]*)
10619 version_type=linux
10620 need_version=no
10621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10622 soname_spec='${libname}${release}${shared_ext}$major'
10623 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10624 shlibpath_var=LD_LIBRARY_PATH
10625 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10626 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10627 # the default ld.so.conf also contains /usr/contrib/lib and
10628 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10629 # libtool to hard-code these into programs
10630 ;;
10631
10632 cygwin* | mingw* | pw32* | cegcc*)
10633 version_type=windows
10634 shrext_cmds=".dll"
10635 need_version=no
10636 need_lib_prefix=no
10637
10638 case $GCC,$host_os in
10639 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10640 library_names_spec='$libname.dll.a'
10641 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10642 postinstall_cmds='base_file=`basename \${file}`~
10643 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10644 dldir=$destdir/`dirname \$dlpath`~
10645 test -d \$dldir || mkdir -p \$dldir~
10646 $install_prog $dir/$dlname \$dldir/$dlname~
10647 chmod a+x \$dldir/$dlname~
10648 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10649 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10650 fi'
10651 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10652 dlpath=$dir/\$dldll~
10653 $RM \$dlpath'
10654 shlibpath_overrides_runpath=yes
10655
10656 case $host_os in
10657 cygwin*)
10658 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10659 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10660 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10661 ;;
10662 mingw* | cegcc*)
10663 # MinGW DLLs use traditional 'lib' prefix
10664 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10665 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10666 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10667 # It is most probably a Windows format PATH printed by
10668 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10669 # path with ; separators, and with drive letters. We can handle the
10670 # drive letters (cygwin fileutils understands them), so leave them,
10671 # especially as we might pass files found there to a mingw objdump,
10672 # which wouldn't understand a cygwinified path. Ahh.
10673 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10674 else
10675 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10676 fi
10677 ;;
10678 pw32*)
10679 # pw32 DLLs use 'pw' prefix rather than 'lib'
10680 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10681 ;;
10682 esac
10683 ;;
10684
10685 *)
10686 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10687 ;;
10688 esac
10689 dynamic_linker='Win32 ld.exe'
10690 # FIXME: first we should search . and the directory the executable is in
10691 shlibpath_var=PATH
10692 ;;
10693
10694 darwin* | rhapsody*)
10695 dynamic_linker="$host_os dyld"
10696 version_type=darwin
10697 need_lib_prefix=no
10698 need_version=no
10699 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10700 soname_spec='${libname}${release}${major}$shared_ext'
10701 shlibpath_overrides_runpath=yes
10702 shlibpath_var=DYLD_LIBRARY_PATH
10703 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10704
10705 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10706 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10707 ;;
10708
10709 dgux*)
10710 version_type=linux
10711 need_lib_prefix=no
10712 need_version=no
10713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10714 soname_spec='${libname}${release}${shared_ext}$major'
10715 shlibpath_var=LD_LIBRARY_PATH
10716 ;;
10717
10718 freebsd1*)
10719 dynamic_linker=no
10720 ;;
10721
10722 freebsd* | dragonfly*)
10723 # DragonFly does not have aout. When/if they implement a new
10724 # versioning mechanism, adjust this.
10725 if test -x /usr/bin/objformat; then
10726 objformat=`/usr/bin/objformat`
10727 else
10728 case $host_os in
10729 freebsd[123]*) objformat=aout ;;
10730 *) objformat=elf ;;
10731 esac
10732 fi
10733 version_type=freebsd-$objformat
10734 case $version_type in
10735 freebsd-elf*)
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10737 need_version=no
10738 need_lib_prefix=no
10739 ;;
10740 freebsd-*)
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10742 need_version=yes
10743 ;;
10744 esac
10745 shlibpath_var=LD_LIBRARY_PATH
10746 case $host_os in
10747 freebsd2*)
10748 shlibpath_overrides_runpath=yes
10749 ;;
10750 freebsd3.[01]* | freebsdelf3.[01]*)
10751 shlibpath_overrides_runpath=yes
10752 hardcode_into_libs=yes
10753 ;;
10754 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10755 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10756 shlibpath_overrides_runpath=no
10757 hardcode_into_libs=yes
10758 ;;
10759 *) # from 4.6 on, and DragonFly
10760 shlibpath_overrides_runpath=yes
10761 hardcode_into_libs=yes
10762 ;;
10763 esac
10764 ;;
10765
10766 gnu*)
10767 version_type=linux
10768 need_lib_prefix=no
10769 need_version=no
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10772 shlibpath_var=LD_LIBRARY_PATH
10773 hardcode_into_libs=yes
10774 ;;
10775
10776 hpux9* | hpux10* | hpux11*)
10777 # Give a soname corresponding to the major version so that dld.sl refuses to
10778 # link against other versions.
10779 version_type=sunos
10780 need_lib_prefix=no
10781 need_version=no
10782 case $host_cpu in
10783 ia64*)
10784 shrext_cmds='.so'
10785 hardcode_into_libs=yes
10786 dynamic_linker="$host_os dld.so"
10787 shlibpath_var=LD_LIBRARY_PATH
10788 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10790 soname_spec='${libname}${release}${shared_ext}$major'
10791 if test "X$HPUX_IA64_MODE" = X32; then
10792 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10793 else
10794 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10795 fi
10796 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10797 ;;
10798 hppa*64*)
10799 shrext_cmds='.sl'
10800 hardcode_into_libs=yes
10801 dynamic_linker="$host_os dld.sl"
10802 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10803 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10805 soname_spec='${libname}${release}${shared_ext}$major'
10806 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10807 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10808 ;;
10809 *)
10810 shrext_cmds='.sl'
10811 dynamic_linker="$host_os dld.sl"
10812 shlibpath_var=SHLIB_PATH
10813 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10815 soname_spec='${libname}${release}${shared_ext}$major'
10816 ;;
10817 esac
10818 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10819 postinstall_cmds='chmod 555 $lib'
10820 ;;
10821
10822 interix[3-9]*)
10823 version_type=linux
10824 need_lib_prefix=no
10825 need_version=no
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=no
10831 hardcode_into_libs=yes
10832 ;;
10833
10834 irix5* | irix6* | nonstopux*)
10835 case $host_os in
10836 nonstopux*) version_type=nonstopux ;;
10837 *)
10838 if test "$lt_cv_prog_gnu_ld" = yes; then
10839 version_type=linux
10840 else
10841 version_type=irix
10842 fi ;;
10843 esac
10844 need_lib_prefix=no
10845 need_version=no
10846 soname_spec='${libname}${release}${shared_ext}$major'
10847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10848 case $host_os in
10849 irix5* | nonstopux*)
10850 libsuff= shlibsuff=
10851 ;;
10852 *)
10853 case $LD in # libtool.m4 will add one of these switches to LD
10854 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10855 libsuff= shlibsuff= libmagic=32-bit;;
10856 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10857 libsuff=32 shlibsuff=N32 libmagic=N32;;
10858 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10859 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10860 *) libsuff= shlibsuff= libmagic=never-match;;
10861 esac
10862 ;;
10863 esac
10864 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10865 shlibpath_overrides_runpath=no
10866 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10867 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10868 hardcode_into_libs=yes
10869 ;;
10870
10871 # No shared lib support for Linux oldld, aout, or coff.
10872 linux*oldld* | linux*aout* | linux*coff*)
10873 dynamic_linker=no
10874 ;;
10875
10876 # This must be Linux ELF.
10877 linux* | k*bsd*-gnu)
10878 version_type=linux
10879 need_lib_prefix=no
10880 need_version=no
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10882 soname_spec='${libname}${release}${shared_ext}$major'
10883 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10884 shlibpath_var=LD_LIBRARY_PATH
10885 shlibpath_overrides_runpath=no
10886 # Some binutils ld are patched to set DT_RUNPATH
10887 save_LDFLAGS=$LDFLAGS
10888 save_libdir=$libdir
10889 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10890 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10893
10894 int
10895 main ()
10896 {
10897
10898 ;
10899 return 0;
10900 }
10901 _ACEOF
10902 if ac_fn_c_try_link "$LINENO"; then :
10903 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10904 shlibpath_overrides_runpath=yes
10905 fi
10906 fi
10907 rm -f core conftest.err conftest.$ac_objext \
10908 conftest$ac_exeext conftest.$ac_ext
10909 LDFLAGS=$save_LDFLAGS
10910 libdir=$save_libdir
10911
10912 # This implies no fast_install, which is unacceptable.
10913 # Some rework will be needed to allow for fast_install
10914 # before this can be enabled.
10915 hardcode_into_libs=yes
10916
10917 # Add ABI-specific directories to the system library path.
10918 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10919
10920 # Append ld.so.conf contents to the search path
10921 if test -f /etc/ld.so.conf; then
10922 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10923 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10924 fi
10925
10926 # We used to test for /lib/ld.so.1 and disable shared libraries on
10927 # powerpc, because MkLinux only supported shared libraries with the
10928 # GNU dynamic linker. Since this was broken with cross compilers,
10929 # most powerpc-linux boxes support dynamic linking these days and
10930 # people can always --disable-shared, the test was removed, and we
10931 # assume the GNU/Linux dynamic linker is in use.
10932 dynamic_linker='GNU/Linux ld.so'
10933 ;;
10934
10935 netbsd*)
10936 version_type=sunos
10937 need_lib_prefix=no
10938 need_version=no
10939 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10941 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10942 dynamic_linker='NetBSD (a.out) ld.so'
10943 else
10944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10945 soname_spec='${libname}${release}${shared_ext}$major'
10946 dynamic_linker='NetBSD ld.elf_so'
10947 fi
10948 shlibpath_var=LD_LIBRARY_PATH
10949 shlibpath_overrides_runpath=yes
10950 hardcode_into_libs=yes
10951 ;;
10952
10953 newsos6)
10954 version_type=linux
10955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10956 shlibpath_var=LD_LIBRARY_PATH
10957 shlibpath_overrides_runpath=yes
10958 ;;
10959
10960 *nto* | *qnx*)
10961 version_type=qnx
10962 need_lib_prefix=no
10963 need_version=no
10964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10965 soname_spec='${libname}${release}${shared_ext}$major'
10966 shlibpath_var=LD_LIBRARY_PATH
10967 shlibpath_overrides_runpath=no
10968 hardcode_into_libs=yes
10969 dynamic_linker='ldqnx.so'
10970 ;;
10971
10972 openbsd*)
10973 version_type=sunos
10974 sys_lib_dlsearch_path_spec="/usr/lib"
10975 need_lib_prefix=no
10976 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10977 case $host_os in
10978 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10979 *) need_version=no ;;
10980 esac
10981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10982 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10985 case $host_os in
10986 openbsd2.[89] | openbsd2.[89].*)
10987 shlibpath_overrides_runpath=no
10988 ;;
10989 *)
10990 shlibpath_overrides_runpath=yes
10991 ;;
10992 esac
10993 else
10994 shlibpath_overrides_runpath=yes
10995 fi
10996 ;;
10997
10998 os2*)
10999 libname_spec='$name'
11000 shrext_cmds=".dll"
11001 need_lib_prefix=no
11002 library_names_spec='$libname${shared_ext} $libname.a'
11003 dynamic_linker='OS/2 ld.exe'
11004 shlibpath_var=LIBPATH
11005 ;;
11006
11007 osf3* | osf4* | osf5*)
11008 version_type=osf
11009 need_lib_prefix=no
11010 need_version=no
11011 soname_spec='${libname}${release}${shared_ext}$major'
11012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11013 shlibpath_var=LD_LIBRARY_PATH
11014 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11015 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11016 ;;
11017
11018 rdos*)
11019 dynamic_linker=no
11020 ;;
11021
11022 solaris*)
11023 version_type=linux
11024 need_lib_prefix=no
11025 need_version=no
11026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11027 soname_spec='${libname}${release}${shared_ext}$major'
11028 shlibpath_var=LD_LIBRARY_PATH
11029 shlibpath_overrides_runpath=yes
11030 hardcode_into_libs=yes
11031 # ldd complains unless libraries are executable
11032 postinstall_cmds='chmod +x $lib'
11033 ;;
11034
11035 sunos4*)
11036 version_type=sunos
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11038 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=yes
11041 if test "$with_gnu_ld" = yes; then
11042 need_lib_prefix=no
11043 fi
11044 need_version=yes
11045 ;;
11046
11047 sysv4 | sysv4.3*)
11048 version_type=linux
11049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11050 soname_spec='${libname}${release}${shared_ext}$major'
11051 shlibpath_var=LD_LIBRARY_PATH
11052 case $host_vendor in
11053 sni)
11054 shlibpath_overrides_runpath=no
11055 need_lib_prefix=no
11056 runpath_var=LD_RUN_PATH
11057 ;;
11058 siemens)
11059 need_lib_prefix=no
11060 ;;
11061 motorola)
11062 need_lib_prefix=no
11063 need_version=no
11064 shlibpath_overrides_runpath=no
11065 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11066 ;;
11067 esac
11068 ;;
11069
11070 sysv4*MP*)
11071 if test -d /usr/nec ;then
11072 version_type=linux
11073 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11074 soname_spec='$libname${shared_ext}.$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 fi
11077 ;;
11078
11079 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11080 version_type=freebsd-elf
11081 need_lib_prefix=no
11082 need_version=no
11083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11084 soname_spec='${libname}${release}${shared_ext}$major'
11085 shlibpath_var=LD_LIBRARY_PATH
11086 shlibpath_overrides_runpath=yes
11087 hardcode_into_libs=yes
11088 if test "$with_gnu_ld" = yes; then
11089 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11090 else
11091 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11092 case $host_os in
11093 sco3.2v5*)
11094 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11095 ;;
11096 esac
11097 fi
11098 sys_lib_dlsearch_path_spec='/usr/lib'
11099 ;;
11100
11101 tpf*)
11102 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11103 version_type=linux
11104 need_lib_prefix=no
11105 need_version=no
11106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11107 shlibpath_var=LD_LIBRARY_PATH
11108 shlibpath_overrides_runpath=no
11109 hardcode_into_libs=yes
11110 ;;
11111
11112 uts4*)
11113 version_type=linux
11114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11115 soname_spec='${libname}${release}${shared_ext}$major'
11116 shlibpath_var=LD_LIBRARY_PATH
11117 ;;
11118
11119 *)
11120 dynamic_linker=no
11121 ;;
11122 esac
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11124 $as_echo "$dynamic_linker" >&6; }
11125 test "$dynamic_linker" = no && can_build_shared=no
11126
11127 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11128 if test "$GCC" = yes; then
11129 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11130 fi
11131
11132 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11133 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11134 fi
11135 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11136 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11137 fi
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11226 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11227 hardcode_action=
11228 if test -n "$hardcode_libdir_flag_spec" ||
11229 test -n "$runpath_var" ||
11230 test "X$hardcode_automatic" = "Xyes" ; then
11231
11232 # We can hardcode non-existent directories.
11233 if test "$hardcode_direct" != no &&
11234 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11235 # have to relink, otherwise we might link with an installed library
11236 # when we should be linking with a yet-to-be-installed one
11237 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11238 test "$hardcode_minus_L" != no; then
11239 # Linking always hardcodes the temporary library directory.
11240 hardcode_action=relink
11241 else
11242 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11243 hardcode_action=immediate
11244 fi
11245 else
11246 # We cannot hardcode anything, or else we can only hardcode existing
11247 # directories.
11248 hardcode_action=unsupported
11249 fi
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11251 $as_echo "$hardcode_action" >&6; }
11252
11253 if test "$hardcode_action" = relink ||
11254 test "$inherit_rpath" = yes; then
11255 # Fast installation is not supported
11256 enable_fast_install=no
11257 elif test "$shlibpath_overrides_runpath" = yes ||
11258 test "$enable_shared" = no; then
11259 # Fast installation is not necessary
11260 enable_fast_install=needless
11261 fi
11262
11263
11264
11265
11266
11267
11268 if test "x$enable_dlopen" != xyes; then
11269 enable_dlopen=unknown
11270 enable_dlopen_self=unknown
11271 enable_dlopen_self_static=unknown
11272 else
11273 lt_cv_dlopen=no
11274 lt_cv_dlopen_libs=
11275
11276 case $host_os in
11277 beos*)
11278 lt_cv_dlopen="load_add_on"
11279 lt_cv_dlopen_libs=
11280 lt_cv_dlopen_self=yes
11281 ;;
11282
11283 mingw* | pw32* | cegcc*)
11284 lt_cv_dlopen="LoadLibrary"
11285 lt_cv_dlopen_libs=
11286 ;;
11287
11288 cygwin*)
11289 lt_cv_dlopen="dlopen"
11290 lt_cv_dlopen_libs=
11291 ;;
11292
11293 darwin*)
11294 # if libdl is installed we need to link against it
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11296 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11297 if ${ac_cv_lib_dl_dlopen+:} false; then :
11298 $as_echo_n "(cached) " >&6
11299 else
11300 ac_check_lib_save_LIBS=$LIBS
11301 LIBS="-ldl $LIBS"
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11304
11305 /* Override any GCC internal prototype to avoid an error.
11306 Use char because int might match the return type of a GCC
11307 builtin and then its argument prototype would still apply. */
11308 #ifdef __cplusplus
11309 extern "C"
11310 #endif
11311 char dlopen ();
11312 int
11313 main ()
11314 {
11315 return dlopen ();
11316 ;
11317 return 0;
11318 }
11319 _ACEOF
11320 if ac_fn_c_try_link "$LINENO"; then :
11321 ac_cv_lib_dl_dlopen=yes
11322 else
11323 ac_cv_lib_dl_dlopen=no
11324 fi
11325 rm -f core conftest.err conftest.$ac_objext \
11326 conftest$ac_exeext conftest.$ac_ext
11327 LIBS=$ac_check_lib_save_LIBS
11328 fi
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11330 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11331 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11332 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11333 else
11334
11335 lt_cv_dlopen="dyld"
11336 lt_cv_dlopen_libs=
11337 lt_cv_dlopen_self=yes
11338
11339 fi
11340
11341 ;;
11342
11343 *)
11344 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11345 if test "x$ac_cv_func_shl_load" = xyes; then :
11346 lt_cv_dlopen="shl_load"
11347 else
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11349 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11350 if ${ac_cv_lib_dld_shl_load+:} false; then :
11351 $as_echo_n "(cached) " >&6
11352 else
11353 ac_check_lib_save_LIBS=$LIBS
11354 LIBS="-ldld $LIBS"
11355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11357
11358 /* Override any GCC internal prototype to avoid an error.
11359 Use char because int might match the return type of a GCC
11360 builtin and then its argument prototype would still apply. */
11361 #ifdef __cplusplus
11362 extern "C"
11363 #endif
11364 char shl_load ();
11365 int
11366 main ()
11367 {
11368 return shl_load ();
11369 ;
11370 return 0;
11371 }
11372 _ACEOF
11373 if ac_fn_c_try_link "$LINENO"; then :
11374 ac_cv_lib_dld_shl_load=yes
11375 else
11376 ac_cv_lib_dld_shl_load=no
11377 fi
11378 rm -f core conftest.err conftest.$ac_objext \
11379 conftest$ac_exeext conftest.$ac_ext
11380 LIBS=$ac_check_lib_save_LIBS
11381 fi
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11383 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11384 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11385 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11386 else
11387 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11388 if test "x$ac_cv_func_dlopen" = xyes; then :
11389 lt_cv_dlopen="dlopen"
11390 else
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11392 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11393 if ${ac_cv_lib_dl_dlopen+:} false; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_lib_save_LIBS=$LIBS
11397 LIBS="-ldl $LIBS"
11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11400
11401 /* Override any GCC internal prototype to avoid an error.
11402 Use char because int might match the return type of a GCC
11403 builtin and then its argument prototype would still apply. */
11404 #ifdef __cplusplus
11405 extern "C"
11406 #endif
11407 char dlopen ();
11408 int
11409 main ()
11410 {
11411 return dlopen ();
11412 ;
11413 return 0;
11414 }
11415 _ACEOF
11416 if ac_fn_c_try_link "$LINENO"; then :
11417 ac_cv_lib_dl_dlopen=yes
11418 else
11419 ac_cv_lib_dl_dlopen=no
11420 fi
11421 rm -f core conftest.err conftest.$ac_objext \
11422 conftest$ac_exeext conftest.$ac_ext
11423 LIBS=$ac_check_lib_save_LIBS
11424 fi
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11426 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11427 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11428 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11429 else
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11431 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11432 if ${ac_cv_lib_svld_dlopen+:} false; then :
11433 $as_echo_n "(cached) " >&6
11434 else
11435 ac_check_lib_save_LIBS=$LIBS
11436 LIBS="-lsvld $LIBS"
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11439
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dlopen ();
11447 int
11448 main ()
11449 {
11450 return dlopen ();
11451 ;
11452 return 0;
11453 }
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_svld_dlopen=yes
11457 else
11458 ac_cv_lib_svld_dlopen=no
11459 fi
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11463 fi
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11465 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11466 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11467 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11468 else
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11470 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11471 if ${ac_cv_lib_dld_dld_link+:} false; then :
11472 $as_echo_n "(cached) " >&6
11473 else
11474 ac_check_lib_save_LIBS=$LIBS
11475 LIBS="-ldld $LIBS"
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11478
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char dld_link ();
11486 int
11487 main ()
11488 {
11489 return dld_link ();
11490 ;
11491 return 0;
11492 }
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 ac_cv_lib_dld_dld_link=yes
11496 else
11497 ac_cv_lib_dld_dld_link=no
11498 fi
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_lib_save_LIBS
11502 fi
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11504 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11505 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11506 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11507 fi
11508
11509
11510 fi
11511
11512
11513 fi
11514
11515
11516 fi
11517
11518
11519 fi
11520
11521
11522 fi
11523
11524 ;;
11525 esac
11526
11527 if test "x$lt_cv_dlopen" != xno; then
11528 enable_dlopen=yes
11529 else
11530 enable_dlopen=no
11531 fi
11532
11533 case $lt_cv_dlopen in
11534 dlopen)
11535 save_CPPFLAGS="$CPPFLAGS"
11536 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11537
11538 save_LDFLAGS="$LDFLAGS"
11539 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11540
11541 save_LIBS="$LIBS"
11542 LIBS="$lt_cv_dlopen_libs $LIBS"
11543
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11545 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11546 if ${lt_cv_dlopen_self+:} false; then :
11547 $as_echo_n "(cached) " >&6
11548 else
11549 if test "$cross_compiling" = yes; then :
11550 lt_cv_dlopen_self=cross
11551 else
11552 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11553 lt_status=$lt_dlunknown
11554 cat > conftest.$ac_ext <<_LT_EOF
11555 #line __oline__ "configure"
11556 #include "confdefs.h"
11557
11558 #if HAVE_DLFCN_H
11559 #include <dlfcn.h>
11560 #endif
11561
11562 #include <stdio.h>
11563
11564 #ifdef RTLD_GLOBAL
11565 # define LT_DLGLOBAL RTLD_GLOBAL
11566 #else
11567 # ifdef DL_GLOBAL
11568 # define LT_DLGLOBAL DL_GLOBAL
11569 # else
11570 # define LT_DLGLOBAL 0
11571 # endif
11572 #endif
11573
11574 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11575 find out it does not work in some platform. */
11576 #ifndef LT_DLLAZY_OR_NOW
11577 # ifdef RTLD_LAZY
11578 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11579 # else
11580 # ifdef DL_LAZY
11581 # define LT_DLLAZY_OR_NOW DL_LAZY
11582 # else
11583 # ifdef RTLD_NOW
11584 # define LT_DLLAZY_OR_NOW RTLD_NOW
11585 # else
11586 # ifdef DL_NOW
11587 # define LT_DLLAZY_OR_NOW DL_NOW
11588 # else
11589 # define LT_DLLAZY_OR_NOW 0
11590 # endif
11591 # endif
11592 # endif
11593 # endif
11594 #endif
11595
11596 void fnord() { int i=42;}
11597 int main ()
11598 {
11599 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11600 int status = $lt_dlunknown;
11601
11602 if (self)
11603 {
11604 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11605 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11606 /* dlclose (self); */
11607 }
11608 else
11609 puts (dlerror ());
11610
11611 return status;
11612 }
11613 _LT_EOF
11614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11615 (eval $ac_link) 2>&5
11616 ac_status=$?
11617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11618 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11619 (./conftest; exit; ) >&5 2>/dev/null
11620 lt_status=$?
11621 case x$lt_status in
11622 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11623 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11624 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11625 esac
11626 else :
11627 # compilation failed
11628 lt_cv_dlopen_self=no
11629 fi
11630 fi
11631 rm -fr conftest*
11632
11633
11634 fi
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11636 $as_echo "$lt_cv_dlopen_self" >&6; }
11637
11638 if test "x$lt_cv_dlopen_self" = xyes; then
11639 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11641 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11642 if ${lt_cv_dlopen_self_static+:} false; then :
11643 $as_echo_n "(cached) " >&6
11644 else
11645 if test "$cross_compiling" = yes; then :
11646 lt_cv_dlopen_self_static=cross
11647 else
11648 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11649 lt_status=$lt_dlunknown
11650 cat > conftest.$ac_ext <<_LT_EOF
11651 #line __oline__ "configure"
11652 #include "confdefs.h"
11653
11654 #if HAVE_DLFCN_H
11655 #include <dlfcn.h>
11656 #endif
11657
11658 #include <stdio.h>
11659
11660 #ifdef RTLD_GLOBAL
11661 # define LT_DLGLOBAL RTLD_GLOBAL
11662 #else
11663 # ifdef DL_GLOBAL
11664 # define LT_DLGLOBAL DL_GLOBAL
11665 # else
11666 # define LT_DLGLOBAL 0
11667 # endif
11668 #endif
11669
11670 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11671 find out it does not work in some platform. */
11672 #ifndef LT_DLLAZY_OR_NOW
11673 # ifdef RTLD_LAZY
11674 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11675 # else
11676 # ifdef DL_LAZY
11677 # define LT_DLLAZY_OR_NOW DL_LAZY
11678 # else
11679 # ifdef RTLD_NOW
11680 # define LT_DLLAZY_OR_NOW RTLD_NOW
11681 # else
11682 # ifdef DL_NOW
11683 # define LT_DLLAZY_OR_NOW DL_NOW
11684 # else
11685 # define LT_DLLAZY_OR_NOW 0
11686 # endif
11687 # endif
11688 # endif
11689 # endif
11690 #endif
11691
11692 void fnord() { int i=42;}
11693 int main ()
11694 {
11695 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11696 int status = $lt_dlunknown;
11697
11698 if (self)
11699 {
11700 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11701 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11702 /* dlclose (self); */
11703 }
11704 else
11705 puts (dlerror ());
11706
11707 return status;
11708 }
11709 _LT_EOF
11710 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11711 (eval $ac_link) 2>&5
11712 ac_status=$?
11713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11714 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11715 (./conftest; exit; ) >&5 2>/dev/null
11716 lt_status=$?
11717 case x$lt_status in
11718 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11719 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11720 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11721 esac
11722 else :
11723 # compilation failed
11724 lt_cv_dlopen_self_static=no
11725 fi
11726 fi
11727 rm -fr conftest*
11728
11729
11730 fi
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11732 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11733 fi
11734
11735 CPPFLAGS="$save_CPPFLAGS"
11736 LDFLAGS="$save_LDFLAGS"
11737 LIBS="$save_LIBS"
11738 ;;
11739 esac
11740
11741 case $lt_cv_dlopen_self in
11742 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11743 *) enable_dlopen_self=unknown ;;
11744 esac
11745
11746 case $lt_cv_dlopen_self_static in
11747 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11748 *) enable_dlopen_self_static=unknown ;;
11749 esac
11750 fi
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768 striplib=
11769 old_striplib=
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11771 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11772 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11773 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11774 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11776 $as_echo "yes" >&6; }
11777 else
11778 # FIXME - insert some real tests, host_os isn't really good enough
11779 case $host_os in
11780 darwin*)
11781 if test -n "$STRIP" ; then
11782 striplib="$STRIP -x"
11783 old_striplib="$STRIP -S"
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11785 $as_echo "yes" >&6; }
11786 else
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788 $as_echo "no" >&6; }
11789 fi
11790 ;;
11791 *)
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11793 $as_echo "no" >&6; }
11794 ;;
11795 esac
11796 fi
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809 # Report which library types will actually be built
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11811 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11813 $as_echo "$can_build_shared" >&6; }
11814
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11816 $as_echo_n "checking whether to build shared libraries... " >&6; }
11817 test "$can_build_shared" = "no" && enable_shared=no
11818
11819 # On AIX, shared libraries and static libraries use the same namespace, and
11820 # are all built from PIC.
11821 case $host_os in
11822 aix3*)
11823 test "$enable_shared" = yes && enable_static=no
11824 if test -n "$RANLIB"; then
11825 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11826 postinstall_cmds='$RANLIB $lib'
11827 fi
11828 ;;
11829
11830 aix[4-9]*)
11831 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11832 test "$enable_shared" = yes && enable_static=no
11833 fi
11834 ;;
11835 esac
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11837 $as_echo "$enable_shared" >&6; }
11838
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11840 $as_echo_n "checking whether to build static libraries... " >&6; }
11841 # Make sure either enable_shared or enable_static is yes.
11842 test "$enable_shared" = yes || enable_static=yes
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11844 $as_echo "$enable_static" >&6; }
11845
11846
11847
11848
11849 fi
11850 ac_ext=cpp
11851 ac_cpp='$CXXCPP $CPPFLAGS'
11852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11855
11856 CC="$lt_save_CC"
11857
11858
11859 ac_ext=cpp
11860 ac_cpp='$CXXCPP $CPPFLAGS'
11861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11864
11865 archive_cmds_need_lc_CXX=no
11866 allow_undefined_flag_CXX=
11867 always_export_symbols_CXX=no
11868 archive_expsym_cmds_CXX=
11869 compiler_needs_object_CXX=no
11870 export_dynamic_flag_spec_CXX=
11871 hardcode_direct_CXX=no
11872 hardcode_direct_absolute_CXX=no
11873 hardcode_libdir_flag_spec_CXX=
11874 hardcode_libdir_flag_spec_ld_CXX=
11875 hardcode_libdir_separator_CXX=
11876 hardcode_minus_L_CXX=no
11877 hardcode_shlibpath_var_CXX=unsupported
11878 hardcode_automatic_CXX=no
11879 inherit_rpath_CXX=no
11880 module_cmds_CXX=
11881 module_expsym_cmds_CXX=
11882 link_all_deplibs_CXX=unknown
11883 old_archive_cmds_CXX=$old_archive_cmds
11884 no_undefined_flag_CXX=
11885 whole_archive_flag_spec_CXX=
11886 enable_shared_with_static_runtimes_CXX=no
11887
11888 # Source file extension for C++ test sources.
11889 ac_ext=cpp
11890
11891 # Object file extension for compiled C++ test sources.
11892 objext=o
11893 objext_CXX=$objext
11894
11895 # No sense in running all these tests if we already determined that
11896 # the CXX compiler isn't working. Some variables (like enable_shared)
11897 # are currently assumed to apply to all compilers on this platform,
11898 # and will be corrupted by setting them based on a non-working compiler.
11899 if test "$_lt_caught_CXX_error" != yes; then
11900 # Code to be used in simple compile tests
11901 lt_simple_compile_test_code="int some_variable = 0;"
11902
11903 # Code to be used in simple link tests
11904 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11905
11906 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11907
11908
11909
11910
11911
11912
11913 # If no C compiler was specified, use CC.
11914 LTCC=${LTCC-"$CC"}
11915
11916 # If no C compiler flags were specified, use CFLAGS.
11917 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11918
11919 # Allow CC to be a program name with arguments.
11920 compiler=$CC
11921
11922
11923 # save warnings/boilerplate of simple test code
11924 ac_outfile=conftest.$ac_objext
11925 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11926 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11927 _lt_compiler_boilerplate=`cat conftest.err`
11928 $RM conftest*
11929
11930 ac_outfile=conftest.$ac_objext
11931 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11932 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11933 _lt_linker_boilerplate=`cat conftest.err`
11934 $RM -r conftest*
11935
11936
11937 # Allow CC to be a program name with arguments.
11938 lt_save_CC=$CC
11939 lt_save_LD=$LD
11940 lt_save_GCC=$GCC
11941 GCC=$GXX
11942 lt_save_with_gnu_ld=$with_gnu_ld
11943 lt_save_path_LD=$lt_cv_path_LD
11944 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11945 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11946 else
11947 $as_unset lt_cv_prog_gnu_ld
11948 fi
11949 if test -n "${lt_cv_path_LDCXX+set}"; then
11950 lt_cv_path_LD=$lt_cv_path_LDCXX
11951 else
11952 $as_unset lt_cv_path_LD
11953 fi
11954 test -z "${LDCXX+set}" || LD=$LDCXX
11955 CC=${CXX-"c++"}
11956 compiler=$CC
11957 compiler_CXX=$CC
11958 for cc_temp in $compiler""; do
11959 case $cc_temp in
11960 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11961 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11962 \-*) ;;
11963 *) break;;
11964 esac
11965 done
11966 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11967
11968
11969 if test -n "$compiler"; then
11970 # We don't want -fno-exception when compiling C++ code, so set the
11971 # no_builtin_flag separately
11972 if test "$GXX" = yes; then
11973 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11974 else
11975 lt_prog_compiler_no_builtin_flag_CXX=
11976 fi
11977
11978 if test "$GXX" = yes; then
11979 # Set up default GNU C++ configuration
11980
11981
11982
11983 @%:@ Check whether --with-gnu-ld was given.
11984 if test "${with_gnu_ld+set}" = set; then :
11985 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11986 else
11987 with_gnu_ld=no
11988 fi
11989
11990 ac_prog=ld
11991 if test "$GCC" = yes; then
11992 # Check if gcc -print-prog-name=ld gives a path.
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11994 $as_echo_n "checking for ld used by $CC... " >&6; }
11995 case $host in
11996 *-*-mingw*)
11997 # gcc leaves a trailing carriage return which upsets mingw
11998 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11999 *)
12000 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12001 esac
12002 case $ac_prog in
12003 # Accept absolute paths.
12004 [\\/]* | ?:[\\/]*)
12005 re_direlt='/[^/][^/]*/\.\./'
12006 # Canonicalize the pathname of ld
12007 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12008 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12009 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12010 done
12011 test -z "$LD" && LD="$ac_prog"
12012 ;;
12013 "")
12014 # If it fails, then pretend we aren't using GCC.
12015 ac_prog=ld
12016 ;;
12017 *)
12018 # If it is relative, then search for the first ld in PATH.
12019 with_gnu_ld=unknown
12020 ;;
12021 esac
12022 elif test "$with_gnu_ld" = yes; then
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12024 $as_echo_n "checking for GNU ld... " >&6; }
12025 else
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12027 $as_echo_n "checking for non-GNU ld... " >&6; }
12028 fi
12029 if ${lt_cv_path_LD+:} false; then :
12030 $as_echo_n "(cached) " >&6
12031 else
12032 if test -z "$LD"; then
12033 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12034 for ac_dir in $PATH; do
12035 IFS="$lt_save_ifs"
12036 test -z "$ac_dir" && ac_dir=.
12037 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12038 lt_cv_path_LD="$ac_dir/$ac_prog"
12039 # Check to see if the program is GNU ld. I'd rather use --version,
12040 # but apparently some variants of GNU ld only accept -v.
12041 # Break only if it was the GNU/non-GNU ld that we prefer.
12042 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12043 *GNU* | *'with BFD'*)
12044 test "$with_gnu_ld" != no && break
12045 ;;
12046 *)
12047 test "$with_gnu_ld" != yes && break
12048 ;;
12049 esac
12050 fi
12051 done
12052 IFS="$lt_save_ifs"
12053 else
12054 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12055 fi
12056 fi
12057
12058 LD="$lt_cv_path_LD"
12059 if test -n "$LD"; then
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12061 $as_echo "$LD" >&6; }
12062 else
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12064 $as_echo "no" >&6; }
12065 fi
12066 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12068 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12069 if ${lt_cv_prog_gnu_ld+:} false; then :
12070 $as_echo_n "(cached) " >&6
12071 else
12072 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12073 case `$LD -v 2>&1 </dev/null` in
12074 *GNU* | *'with BFD'*)
12075 lt_cv_prog_gnu_ld=yes
12076 ;;
12077 *)
12078 lt_cv_prog_gnu_ld=no
12079 ;;
12080 esac
12081 fi
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12083 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12084 with_gnu_ld=$lt_cv_prog_gnu_ld
12085
12086
12087
12088
12089
12090
12091
12092 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12093 # archiving commands below assume that GNU ld is being used.
12094 if test "$with_gnu_ld" = yes; then
12095 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12096 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12097
12098 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12099 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12100
12101 # If archive_cmds runs LD, not CC, wlarc should be empty
12102 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12103 # investigate it a little bit more. (MM)
12104 wlarc='${wl}'
12105
12106 # ancient GNU ld didn't support --whole-archive et. al.
12107 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12108 $GREP 'no-whole-archive' > /dev/null; then
12109 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12110 else
12111 whole_archive_flag_spec_CXX=
12112 fi
12113 else
12114 with_gnu_ld=no
12115 wlarc=
12116
12117 # A generic and very simple default shared library creation
12118 # command for GNU C++ for the case where it uses the native
12119 # linker, instead of GNU ld. If possible, this setting should
12120 # overridden to take advantage of the native linker features on
12121 # the platform it is being used on.
12122 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12123 fi
12124
12125 # Commands to make compiler produce verbose output that lists
12126 # what "hidden" libraries, object files and flags are used when
12127 # linking a shared library.
12128 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12129
12130 else
12131 GXX=no
12132 with_gnu_ld=no
12133 wlarc=
12134 fi
12135
12136 # PORTME: fill in a description of your system's C++ link characteristics
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12138 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12139 ld_shlibs_CXX=yes
12140 case $host_os in
12141 aix3*)
12142 # FIXME: insert proper C++ library support
12143 ld_shlibs_CXX=no
12144 ;;
12145 aix[4-9]*)
12146 if test "$host_cpu" = ia64; then
12147 # On IA64, the linker does run time linking by default, so we don't
12148 # have to do anything special.
12149 aix_use_runtimelinking=no
12150 exp_sym_flag='-Bexport'
12151 no_entry_flag=""
12152 else
12153 aix_use_runtimelinking=no
12154
12155 # Test if we are trying to use run time linking or normal
12156 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12157 # need to do runtime linking.
12158 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12159 for ld_flag in $LDFLAGS; do
12160 case $ld_flag in
12161 *-brtl*)
12162 aix_use_runtimelinking=yes
12163 break
12164 ;;
12165 esac
12166 done
12167 ;;
12168 esac
12169
12170 exp_sym_flag='-bexport'
12171 no_entry_flag='-bnoentry'
12172 fi
12173
12174 # When large executables or shared objects are built, AIX ld can
12175 # have problems creating the table of contents. If linking a library
12176 # or program results in "error TOC overflow" add -mminimal-toc to
12177 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12178 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12179
12180 archive_cmds_CXX=''
12181 hardcode_direct_CXX=yes
12182 hardcode_direct_absolute_CXX=yes
12183 hardcode_libdir_separator_CXX=':'
12184 link_all_deplibs_CXX=yes
12185 file_list_spec_CXX='${wl}-f,'
12186
12187 if test "$GXX" = yes; then
12188 case $host_os in aix4.[012]|aix4.[012].*)
12189 # We only want to do this on AIX 4.2 and lower, the check
12190 # below for broken collect2 doesn't work under 4.3+
12191 collect2name=`${CC} -print-prog-name=collect2`
12192 if test -f "$collect2name" &&
12193 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12194 then
12195 # We have reworked collect2
12196 :
12197 else
12198 # We have old collect2
12199 hardcode_direct_CXX=unsupported
12200 # It fails to find uninstalled libraries when the uninstalled
12201 # path is not listed in the libpath. Setting hardcode_minus_L
12202 # to unsupported forces relinking
12203 hardcode_minus_L_CXX=yes
12204 hardcode_libdir_flag_spec_CXX='-L$libdir'
12205 hardcode_libdir_separator_CXX=
12206 fi
12207 esac
12208 shared_flag='-shared'
12209 if test "$aix_use_runtimelinking" = yes; then
12210 shared_flag="$shared_flag "'${wl}-G'
12211 fi
12212 else
12213 # not using gcc
12214 if test "$host_cpu" = ia64; then
12215 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12216 # chokes on -Wl,-G. The following line is correct:
12217 shared_flag='-G'
12218 else
12219 if test "$aix_use_runtimelinking" = yes; then
12220 shared_flag='${wl}-G'
12221 else
12222 shared_flag='${wl}-bM:SRE'
12223 fi
12224 fi
12225 fi
12226
12227 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12228 # It seems that -bexpall does not export symbols beginning with
12229 # underscore (_), so it is better to generate a list of symbols to
12230 # export.
12231 always_export_symbols_CXX=yes
12232 if test "$aix_use_runtimelinking" = yes; then
12233 # Warning - without using the other runtime loading flags (-brtl),
12234 # -berok will link without error, but may produce a broken library.
12235 allow_undefined_flag_CXX='-berok'
12236 # Determine the default libpath from the value encoded in an empty
12237 # executable.
12238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12239 /* end confdefs.h. */
12240
12241 int
12242 main ()
12243 {
12244
12245 ;
12246 return 0;
12247 }
12248 _ACEOF
12249 if ac_fn_cxx_try_link "$LINENO"; then :
12250
12251 lt_aix_libpath_sed='
12252 /Import File Strings/,/^$/ {
12253 /^0/ {
12254 s/^0 *\(.*\)$/\1/
12255 p
12256 }
12257 }'
12258 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12259 # Check for a 64-bit object if we didn't find anything.
12260 if test -z "$aix_libpath"; then
12261 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12262 fi
12263 fi
12264 rm -f core conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12266 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12267
12268 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12269
12270 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12271 else
12272 if test "$host_cpu" = ia64; then
12273 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12274 allow_undefined_flag_CXX="-z nodefs"
12275 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12276 else
12277 # Determine the default libpath from the value encoded in an
12278 # empty executable.
12279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h. */
12281
12282 int
12283 main ()
12284 {
12285
12286 ;
12287 return 0;
12288 }
12289 _ACEOF
12290 if ac_fn_cxx_try_link "$LINENO"; then :
12291
12292 lt_aix_libpath_sed='
12293 /Import File Strings/,/^$/ {
12294 /^0/ {
12295 s/^0 *\(.*\)$/\1/
12296 p
12297 }
12298 }'
12299 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12300 # Check for a 64-bit object if we didn't find anything.
12301 if test -z "$aix_libpath"; then
12302 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12303 fi
12304 fi
12305 rm -f core conftest.err conftest.$ac_objext \
12306 conftest$ac_exeext conftest.$ac_ext
12307 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12308
12309 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12310 # Warning - without using the other run time loading flags,
12311 # -berok will link without error, but may produce a broken library.
12312 no_undefined_flag_CXX=' ${wl}-bernotok'
12313 allow_undefined_flag_CXX=' ${wl}-berok'
12314 # Exported symbols can be pulled into shared objects from archives
12315 whole_archive_flag_spec_CXX='$convenience'
12316 archive_cmds_need_lc_CXX=yes
12317 # This is similar to how AIX traditionally builds its shared
12318 # libraries.
12319 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12320 fi
12321 fi
12322 ;;
12323
12324 beos*)
12325 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12326 allow_undefined_flag_CXX=unsupported
12327 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12328 # support --undefined. This deserves some investigation. FIXME
12329 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12330 else
12331 ld_shlibs_CXX=no
12332 fi
12333 ;;
12334
12335 chorus*)
12336 case $cc_basename in
12337 *)
12338 # FIXME: insert proper C++ library support
12339 ld_shlibs_CXX=no
12340 ;;
12341 esac
12342 ;;
12343
12344 cygwin* | mingw* | pw32* | cegcc*)
12345 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12346 # as there is no search path for DLLs.
12347 hardcode_libdir_flag_spec_CXX='-L$libdir'
12348 allow_undefined_flag_CXX=unsupported
12349 always_export_symbols_CXX=no
12350 enable_shared_with_static_runtimes_CXX=yes
12351
12352 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12353 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12354 # If the export-symbols file already is a .def file (1st line
12355 # is EXPORTS), use it as is; otherwise, prepend...
12356 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12357 cp $export_symbols $output_objdir/$soname.def;
12358 else
12359 echo EXPORTS > $output_objdir/$soname.def;
12360 cat $export_symbols >> $output_objdir/$soname.def;
12361 fi~
12362 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12363 else
12364 ld_shlibs_CXX=no
12365 fi
12366 ;;
12367 darwin* | rhapsody*)
12368
12369
12370 archive_cmds_need_lc_CXX=no
12371 hardcode_direct_CXX=no
12372 hardcode_automatic_CXX=yes
12373 hardcode_shlibpath_var_CXX=unsupported
12374 whole_archive_flag_spec_CXX=''
12375 link_all_deplibs_CXX=yes
12376 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12377 case $cc_basename in
12378 ifort*) _lt_dar_can_shared=yes ;;
12379 *) _lt_dar_can_shared=$GCC ;;
12380 esac
12381 if test "$_lt_dar_can_shared" = "yes"; then
12382 output_verbose_link_cmd=echo
12383 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12384 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12385 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12386 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12387 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12388 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12389 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12390 fi
12391
12392 else
12393 ld_shlibs_CXX=no
12394 fi
12395
12396 ;;
12397
12398 dgux*)
12399 case $cc_basename in
12400 ec++*)
12401 # FIXME: insert proper C++ library support
12402 ld_shlibs_CXX=no
12403 ;;
12404 ghcx*)
12405 # Green Hills C++ Compiler
12406 # FIXME: insert proper C++ library support
12407 ld_shlibs_CXX=no
12408 ;;
12409 *)
12410 # FIXME: insert proper C++ library support
12411 ld_shlibs_CXX=no
12412 ;;
12413 esac
12414 ;;
12415
12416 freebsd[12]*)
12417 # C++ shared libraries reported to be fairly broken before
12418 # switch to ELF
12419 ld_shlibs_CXX=no
12420 ;;
12421
12422 freebsd-elf*)
12423 archive_cmds_need_lc_CXX=no
12424 ;;
12425
12426 freebsd* | dragonfly*)
12427 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12428 # conventions
12429 ld_shlibs_CXX=yes
12430 ;;
12431
12432 gnu*)
12433 ;;
12434
12435 hpux9*)
12436 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12437 hardcode_libdir_separator_CXX=:
12438 export_dynamic_flag_spec_CXX='${wl}-E'
12439 hardcode_direct_CXX=yes
12440 hardcode_minus_L_CXX=yes # Not in the search PATH,
12441 # but as the default
12442 # location of the library.
12443
12444 case $cc_basename in
12445 CC*)
12446 # FIXME: insert proper C++ library support
12447 ld_shlibs_CXX=no
12448 ;;
12449 aCC*)
12450 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12451 # Commands to make compiler produce verbose output that lists
12452 # what "hidden" libraries, object files and flags are used when
12453 # linking a shared library.
12454 #
12455 # There doesn't appear to be a way to prevent this compiler from
12456 # explicitly linking system object files so we need to strip them
12457 # from the output so that they don't get included in the library
12458 # dependencies.
12459 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12460 ;;
12461 *)
12462 if test "$GXX" = yes; then
12463 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12464 else
12465 # FIXME: insert proper C++ library support
12466 ld_shlibs_CXX=no
12467 fi
12468 ;;
12469 esac
12470 ;;
12471
12472 hpux10*|hpux11*)
12473 if test $with_gnu_ld = no; then
12474 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12475 hardcode_libdir_separator_CXX=:
12476
12477 case $host_cpu in
12478 hppa*64*|ia64*)
12479 ;;
12480 *)
12481 export_dynamic_flag_spec_CXX='${wl}-E'
12482 ;;
12483 esac
12484 fi
12485 case $host_cpu in
12486 hppa*64*|ia64*)
12487 hardcode_direct_CXX=no
12488 hardcode_shlibpath_var_CXX=no
12489 ;;
12490 *)
12491 hardcode_direct_CXX=yes
12492 hardcode_direct_absolute_CXX=yes
12493 hardcode_minus_L_CXX=yes # Not in the search PATH,
12494 # but as the default
12495 # location of the library.
12496 ;;
12497 esac
12498
12499 case $cc_basename in
12500 CC*)
12501 # FIXME: insert proper C++ library support
12502 ld_shlibs_CXX=no
12503 ;;
12504 aCC*)
12505 case $host_cpu in
12506 hppa*64*)
12507 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12508 ;;
12509 ia64*)
12510 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12511 ;;
12512 *)
12513 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12514 ;;
12515 esac
12516 # Commands to make compiler produce verbose output that lists
12517 # what "hidden" libraries, object files and flags are used when
12518 # linking a shared library.
12519 #
12520 # There doesn't appear to be a way to prevent this compiler from
12521 # explicitly linking system object files so we need to strip them
12522 # from the output so that they don't get included in the library
12523 # dependencies.
12524 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12525 ;;
12526 *)
12527 if test "$GXX" = yes; then
12528 if test $with_gnu_ld = no; then
12529 case $host_cpu in
12530 hppa*64*)
12531 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12532 ;;
12533 ia64*)
12534 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12535 ;;
12536 *)
12537 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12538 ;;
12539 esac
12540 fi
12541 else
12542 # FIXME: insert proper C++ library support
12543 ld_shlibs_CXX=no
12544 fi
12545 ;;
12546 esac
12547 ;;
12548
12549 interix[3-9]*)
12550 hardcode_direct_CXX=no
12551 hardcode_shlibpath_var_CXX=no
12552 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12553 export_dynamic_flag_spec_CXX='${wl}-E'
12554 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12555 # Instead, shared libraries are loaded at an image base (0x10000000 by
12556 # default) and relocated if they conflict, which is a slow very memory
12557 # consuming and fragmenting process. To avoid this, we pick a random,
12558 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12559 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12560 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12561 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12562 ;;
12563 irix5* | irix6*)
12564 case $cc_basename in
12565 CC*)
12566 # SGI C++
12567 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12568
12569 # Archives containing C++ object files must be created using
12570 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12571 # necessary to make sure instantiated templates are included
12572 # in the archive.
12573 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12574 ;;
12575 *)
12576 if test "$GXX" = yes; then
12577 if test "$with_gnu_ld" = no; then
12578 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12579 else
12580 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12581 fi
12582 fi
12583 link_all_deplibs_CXX=yes
12584 ;;
12585 esac
12586 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12587 hardcode_libdir_separator_CXX=:
12588 inherit_rpath_CXX=yes
12589 ;;
12590
12591 linux* | k*bsd*-gnu)
12592 case $cc_basename in
12593 KCC*)
12594 # Kuck and Associates, Inc. (KAI) C++ Compiler
12595
12596 # KCC will only create a shared library if the output file
12597 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12598 # to its proper name (with version) after linking.
12599 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12600 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12601 # Commands to make compiler produce verbose output that lists
12602 # what "hidden" libraries, object files and flags are used when
12603 # linking a shared library.
12604 #
12605 # There doesn't appear to be a way to prevent this compiler from
12606 # explicitly linking system object files so we need to strip them
12607 # from the output so that they don't get included in the library
12608 # dependencies.
12609 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12610
12611 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12612 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12613
12614 # Archives containing C++ object files must be created using
12615 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12616 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12617 ;;
12618 icpc* | ecpc* )
12619 # Intel C++
12620 with_gnu_ld=yes
12621 # version 8.0 and above of icpc choke on multiply defined symbols
12622 # if we add $predep_objects and $postdep_objects, however 7.1 and
12623 # earlier do not add the objects themselves.
12624 case `$CC -V 2>&1` in
12625 *"Version 7."*)
12626 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12627 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12628 ;;
12629 *) # Version 8.0 or newer
12630 tmp_idyn=
12631 case $host_cpu in
12632 ia64*) tmp_idyn=' -i_dynamic';;
12633 esac
12634 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12635 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12636 ;;
12637 esac
12638 archive_cmds_need_lc_CXX=no
12639 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12640 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12641 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12642 ;;
12643 pgCC* | pgcpp*)
12644 # Portland Group C++ compiler
12645 case `$CC -V` in
12646 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12647 prelink_cmds_CXX='tpldir=Template.dir~
12648 rm -rf $tpldir~
12649 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12650 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12651 old_archive_cmds_CXX='tpldir=Template.dir~
12652 rm -rf $tpldir~
12653 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12654 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12655 $RANLIB $oldlib'
12656 archive_cmds_CXX='tpldir=Template.dir~
12657 rm -rf $tpldir~
12658 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12659 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12660 archive_expsym_cmds_CXX='tpldir=Template.dir~
12661 rm -rf $tpldir~
12662 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12663 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12664 ;;
12665 *) # Version 6 will use weak symbols
12666 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12667 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12668 ;;
12669 esac
12670
12671 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12672 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12673 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12674 ;;
12675 cxx*)
12676 # Compaq C++
12677 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12678 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12679
12680 runpath_var=LD_RUN_PATH
12681 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12682 hardcode_libdir_separator_CXX=:
12683
12684 # Commands to make compiler produce verbose output that lists
12685 # what "hidden" libraries, object files and flags are used when
12686 # linking a shared library.
12687 #
12688 # There doesn't appear to be a way to prevent this compiler from
12689 # explicitly linking system object files so we need to strip them
12690 # from the output so that they don't get included in the library
12691 # dependencies.
12692 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12693 ;;
12694 xl*)
12695 # IBM XL 8.0 on PPC, with GNU ld
12696 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12697 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12698 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12699 if test "x$supports_anon_versioning" = xyes; then
12700 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12701 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12702 echo "local: *; };" >> $output_objdir/$libname.ver~
12703 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12704 fi
12705 ;;
12706 *)
12707 case `$CC -V 2>&1 | sed 5q` in
12708 *Sun\ C*)
12709 # Sun C++ 5.9
12710 no_undefined_flag_CXX=' -zdefs'
12711 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12712 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12713 hardcode_libdir_flag_spec_CXX='-R$libdir'
12714 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12715 compiler_needs_object_CXX=yes
12716
12717 # Not sure whether something based on
12718 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12719 # would be better.
12720 output_verbose_link_cmd='echo'
12721
12722 # Archives containing C++ object files must be created using
12723 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12724 # necessary to make sure instantiated templates are included
12725 # in the archive.
12726 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12727 ;;
12728 esac
12729 ;;
12730 esac
12731 ;;
12732
12733 lynxos*)
12734 # FIXME: insert proper C++ library support
12735 ld_shlibs_CXX=no
12736 ;;
12737
12738 m88k*)
12739 # FIXME: insert proper C++ library support
12740 ld_shlibs_CXX=no
12741 ;;
12742
12743 mvs*)
12744 case $cc_basename in
12745 cxx*)
12746 # FIXME: insert proper C++ library support
12747 ld_shlibs_CXX=no
12748 ;;
12749 *)
12750 # FIXME: insert proper C++ library support
12751 ld_shlibs_CXX=no
12752 ;;
12753 esac
12754 ;;
12755
12756 netbsd*)
12757 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12758 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12759 wlarc=
12760 hardcode_libdir_flag_spec_CXX='-R$libdir'
12761 hardcode_direct_CXX=yes
12762 hardcode_shlibpath_var_CXX=no
12763 fi
12764 # Workaround some broken pre-1.5 toolchains
12765 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12766 ;;
12767
12768 *nto* | *qnx*)
12769 ld_shlibs_CXX=yes
12770 ;;
12771
12772 openbsd2*)
12773 # C++ shared libraries are fairly broken
12774 ld_shlibs_CXX=no
12775 ;;
12776
12777 openbsd*)
12778 if test -f /usr/libexec/ld.so; then
12779 hardcode_direct_CXX=yes
12780 hardcode_shlibpath_var_CXX=no
12781 hardcode_direct_absolute_CXX=yes
12782 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12783 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12784 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12785 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12786 export_dynamic_flag_spec_CXX='${wl}-E'
12787 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12788 fi
12789 output_verbose_link_cmd=echo
12790 else
12791 ld_shlibs_CXX=no
12792 fi
12793 ;;
12794
12795 osf3* | osf4* | osf5*)
12796 case $cc_basename in
12797 KCC*)
12798 # Kuck and Associates, Inc. (KAI) C++ Compiler
12799
12800 # KCC will only create a shared library if the output file
12801 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12802 # to its proper name (with version) after linking.
12803 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12804
12805 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12806 hardcode_libdir_separator_CXX=:
12807
12808 # Archives containing C++ object files must be created using
12809 # the KAI C++ compiler.
12810 case $host in
12811 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12812 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12813 esac
12814 ;;
12815 RCC*)
12816 # Rational C++ 2.4.1
12817 # FIXME: insert proper C++ library support
12818 ld_shlibs_CXX=no
12819 ;;
12820 cxx*)
12821 case $host in
12822 osf3*)
12823 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12824 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12825 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12826 ;;
12827 *)
12828 allow_undefined_flag_CXX=' -expect_unresolved \*'
12829 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12830 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12831 echo "-hidden">> $lib.exp~
12832 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
12833 $RM $lib.exp'
12834 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12835 ;;
12836 esac
12837
12838 hardcode_libdir_separator_CXX=:
12839
12840 # Commands to make compiler produce verbose output that lists
12841 # what "hidden" libraries, object files and flags are used when
12842 # linking a shared library.
12843 #
12844 # There doesn't appear to be a way to prevent this compiler from
12845 # explicitly linking system object files so we need to strip them
12846 # from the output so that they don't get included in the library
12847 # dependencies.
12848 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12849 ;;
12850 *)
12851 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12852 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12853 case $host in
12854 osf3*)
12855 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12856 ;;
12857 *)
12858 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12859 ;;
12860 esac
12861
12862 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12863 hardcode_libdir_separator_CXX=:
12864
12865 # Commands to make compiler produce verbose output that lists
12866 # what "hidden" libraries, object files and flags are used when
12867 # linking a shared library.
12868 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12869
12870 else
12871 # FIXME: insert proper C++ library support
12872 ld_shlibs_CXX=no
12873 fi
12874 ;;
12875 esac
12876 ;;
12877
12878 psos*)
12879 # FIXME: insert proper C++ library support
12880 ld_shlibs_CXX=no
12881 ;;
12882
12883 sunos4*)
12884 case $cc_basename in
12885 CC*)
12886 # Sun C++ 4.x
12887 # FIXME: insert proper C++ library support
12888 ld_shlibs_CXX=no
12889 ;;
12890 lcc*)
12891 # Lucid
12892 # FIXME: insert proper C++ library support
12893 ld_shlibs_CXX=no
12894 ;;
12895 *)
12896 # FIXME: insert proper C++ library support
12897 ld_shlibs_CXX=no
12898 ;;
12899 esac
12900 ;;
12901
12902 solaris*)
12903 case $cc_basename in
12904 CC*)
12905 # Sun C++ 4.2, 5.x and Centerline C++
12906 archive_cmds_need_lc_CXX=yes
12907 no_undefined_flag_CXX=' -zdefs'
12908 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12909 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12910 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12911
12912 hardcode_libdir_flag_spec_CXX='-R$libdir'
12913 hardcode_shlibpath_var_CXX=no
12914 case $host_os in
12915 solaris2.[0-5] | solaris2.[0-5].*) ;;
12916 *)
12917 # The compiler driver will combine and reorder linker options,
12918 # but understands `-z linker_flag'.
12919 # Supported since Solaris 2.6 (maybe 2.5.1?)
12920 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12921 ;;
12922 esac
12923 link_all_deplibs_CXX=yes
12924
12925 output_verbose_link_cmd='echo'
12926
12927 # Archives containing C++ object files must be created using
12928 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12929 # necessary to make sure instantiated templates are included
12930 # in the archive.
12931 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12932 ;;
12933 gcx*)
12934 # Green Hills C++ Compiler
12935 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12936
12937 # The C++ compiler must be used to create the archive.
12938 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12939 ;;
12940 *)
12941 # GNU C++ compiler with Solaris linker
12942 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12943 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12944 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12945 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12946 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12947 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12948
12949 # Commands to make compiler produce verbose output that lists
12950 # what "hidden" libraries, object files and flags are used when
12951 # linking a shared library.
12952 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12953 else
12954 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12955 # platform.
12956 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12957 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12958 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12959
12960 # Commands to make compiler produce verbose output that lists
12961 # what "hidden" libraries, object files and flags are used when
12962 # linking a shared library.
12963 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12964 fi
12965
12966 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12967 case $host_os in
12968 solaris2.[0-5] | solaris2.[0-5].*) ;;
12969 *)
12970 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12971 ;;
12972 esac
12973 fi
12974 ;;
12975 esac
12976 ;;
12977
12978 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12979 no_undefined_flag_CXX='${wl}-z,text'
12980 archive_cmds_need_lc_CXX=no
12981 hardcode_shlibpath_var_CXX=no
12982 runpath_var='LD_RUN_PATH'
12983
12984 case $cc_basename in
12985 CC*)
12986 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12987 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12988 ;;
12989 *)
12990 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12991 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12992 ;;
12993 esac
12994 ;;
12995
12996 sysv5* | sco3.2v5* | sco5v6*)
12997 # Note: We can NOT use -z defs as we might desire, because we do not
12998 # link with -lc, and that would cause any symbols used from libc to
12999 # always be unresolved, which means just about no library would
13000 # ever link correctly. If we're not using GNU ld we use -z text
13001 # though, which does catch some bad symbols but isn't as heavy-handed
13002 # as -z defs.
13003 no_undefined_flag_CXX='${wl}-z,text'
13004 allow_undefined_flag_CXX='${wl}-z,nodefs'
13005 archive_cmds_need_lc_CXX=no
13006 hardcode_shlibpath_var_CXX=no
13007 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13008 hardcode_libdir_separator_CXX=':'
13009 link_all_deplibs_CXX=yes
13010 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13011 runpath_var='LD_RUN_PATH'
13012
13013 case $cc_basename in
13014 CC*)
13015 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13016 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13017 ;;
13018 *)
13019 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13020 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13021 ;;
13022 esac
13023 ;;
13024
13025 tandem*)
13026 case $cc_basename in
13027 NCC*)
13028 # NonStop-UX NCC 3.20
13029 # FIXME: insert proper C++ library support
13030 ld_shlibs_CXX=no
13031 ;;
13032 *)
13033 # FIXME: insert proper C++ library support
13034 ld_shlibs_CXX=no
13035 ;;
13036 esac
13037 ;;
13038
13039 vxworks*)
13040 # FIXME: insert proper C++ library support
13041 ld_shlibs_CXX=no
13042 ;;
13043
13044 *)
13045 # FIXME: insert proper C++ library support
13046 ld_shlibs_CXX=no
13047 ;;
13048 esac
13049
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13051 $as_echo "$ld_shlibs_CXX" >&6; }
13052 test "$ld_shlibs_CXX" = no && can_build_shared=no
13053
13054 GCC_CXX="$GXX"
13055 LD_CXX="$LD"
13056
13057 ## CAVEAT EMPTOR:
13058 ## There is no encapsulation within the following macros, do not change
13059 ## the running order or otherwise move them around unless you know exactly
13060 ## what you are doing...
13061 # Dependencies to place before and after the object being linked:
13062 predep_objects_CXX=
13063 postdep_objects_CXX=
13064 predeps_CXX=
13065 postdeps_CXX=
13066 compiler_lib_search_path_CXX=
13067
13068 cat > conftest.$ac_ext <<_LT_EOF
13069 class Foo
13070 {
13071 public:
13072 Foo (void) { a = 0; }
13073 private:
13074 int a;
13075 };
13076 _LT_EOF
13077
13078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13079 (eval $ac_compile) 2>&5
13080 ac_status=$?
13081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13082 test $ac_status = 0; }; then
13083 # Parse the compiler output and extract the necessary
13084 # objects, libraries and library flags.
13085
13086 # Sentinel used to keep track of whether or not we are before
13087 # the conftest object file.
13088 pre_test_object_deps_done=no
13089
13090 for p in `eval "$output_verbose_link_cmd"`; do
13091 case $p in
13092
13093 -L* | -R* | -l*)
13094 # Some compilers place space between "-{L,R}" and the path.
13095 # Remove the space.
13096 if test $p = "-L" ||
13097 test $p = "-R"; then
13098 prev=$p
13099 continue
13100 else
13101 prev=
13102 fi
13103
13104 if test "$pre_test_object_deps_done" = no; then
13105 case $p in
13106 -L* | -R*)
13107 # Internal compiler library paths should come after those
13108 # provided the user. The postdeps already come after the
13109 # user supplied libs so there is no need to process them.
13110 if test -z "$compiler_lib_search_path_CXX"; then
13111 compiler_lib_search_path_CXX="${prev}${p}"
13112 else
13113 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13114 fi
13115 ;;
13116 # The "-l" case would never come before the object being
13117 # linked, so don't bother handling this case.
13118 esac
13119 else
13120 if test -z "$postdeps_CXX"; then
13121 postdeps_CXX="${prev}${p}"
13122 else
13123 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13124 fi
13125 fi
13126 ;;
13127
13128 *.$objext)
13129 # This assumes that the test object file only shows up
13130 # once in the compiler output.
13131 if test "$p" = "conftest.$objext"; then
13132 pre_test_object_deps_done=yes
13133 continue
13134 fi
13135
13136 if test "$pre_test_object_deps_done" = no; then
13137 if test -z "$predep_objects_CXX"; then
13138 predep_objects_CXX="$p"
13139 else
13140 predep_objects_CXX="$predep_objects_CXX $p"
13141 fi
13142 else
13143 if test -z "$postdep_objects_CXX"; then
13144 postdep_objects_CXX="$p"
13145 else
13146 postdep_objects_CXX="$postdep_objects_CXX $p"
13147 fi
13148 fi
13149 ;;
13150
13151 *) ;; # Ignore the rest.
13152
13153 esac
13154 done
13155
13156 # Clean up.
13157 rm -f a.out a.exe
13158 else
13159 echo "libtool.m4: error: problem compiling CXX test program"
13160 fi
13161
13162 $RM -f confest.$objext
13163
13164 # PORTME: override above test on systems where it is broken
13165 case $host_os in
13166 interix[3-9]*)
13167 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13168 # hack all around it, let's just trust "g++" to DTRT.
13169 predep_objects_CXX=
13170 postdep_objects_CXX=
13171 postdeps_CXX=
13172 ;;
13173
13174 linux*)
13175 case `$CC -V 2>&1 | sed 5q` in
13176 *Sun\ C*)
13177 # Sun C++ 5.9
13178
13179 # The more standards-conforming stlport4 library is
13180 # incompatible with the Cstd library. Avoid specifying
13181 # it if it's in CXXFLAGS. Ignore libCrun as
13182 # -library=stlport4 depends on it.
13183 case " $CXX $CXXFLAGS " in
13184 *" -library=stlport4 "*)
13185 solaris_use_stlport4=yes
13186 ;;
13187 esac
13188
13189 if test "$solaris_use_stlport4" != yes; then
13190 postdeps_CXX='-library=Cstd -library=Crun'
13191 fi
13192 ;;
13193 esac
13194 ;;
13195
13196 solaris*)
13197 case $cc_basename in
13198 CC*)
13199 # The more standards-conforming stlport4 library is
13200 # incompatible with the Cstd library. Avoid specifying
13201 # it if it's in CXXFLAGS. Ignore libCrun as
13202 # -library=stlport4 depends on it.
13203 case " $CXX $CXXFLAGS " in
13204 *" -library=stlport4 "*)
13205 solaris_use_stlport4=yes
13206 ;;
13207 esac
13208
13209 # Adding this requires a known-good setup of shared libraries for
13210 # Sun compiler versions before 5.6, else PIC objects from an old
13211 # archive will be linked into the output, leading to subtle bugs.
13212 if test "$solaris_use_stlport4" != yes; then
13213 postdeps_CXX='-library=Cstd -library=Crun'
13214 fi
13215 ;;
13216 esac
13217 ;;
13218 esac
13219
13220
13221 case " $postdeps_CXX " in
13222 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13223 esac
13224 compiler_lib_search_dirs_CXX=
13225 if test -n "${compiler_lib_search_path_CXX}"; then
13226 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13227 fi
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259 lt_prog_compiler_wl_CXX=
13260 lt_prog_compiler_pic_CXX=
13261 lt_prog_compiler_static_CXX=
13262
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13264 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13265
13266 # C++ specific cases for pic, static, wl, etc.
13267 if test "$GXX" = yes; then
13268 lt_prog_compiler_wl_CXX='-Wl,'
13269 lt_prog_compiler_static_CXX='-static'
13270
13271 case $host_os in
13272 aix*)
13273 # All AIX code is PIC.
13274 if test "$host_cpu" = ia64; then
13275 # AIX 5 now supports IA64 processor
13276 lt_prog_compiler_static_CXX='-Bstatic'
13277 fi
13278 ;;
13279
13280 amigaos*)
13281 case $host_cpu in
13282 powerpc)
13283 # see comment about AmigaOS4 .so support
13284 lt_prog_compiler_pic_CXX='-fPIC'
13285 ;;
13286 m68k)
13287 # FIXME: we need at least 68020 code to build shared libraries, but
13288 # adding the `-m68020' flag to GCC prevents building anything better,
13289 # like `-m68040'.
13290 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13291 ;;
13292 esac
13293 ;;
13294
13295 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13296 # PIC is the default for these OSes.
13297 ;;
13298 mingw* | cygwin* | os2* | pw32* | cegcc*)
13299 # This hack is so that the source file can tell whether it is being
13300 # built for inclusion in a dll (and should export symbols for example).
13301 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13302 # (--disable-auto-import) libraries
13303 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13304 ;;
13305 darwin* | rhapsody*)
13306 # PIC is the default on this platform
13307 # Common symbols not allowed in MH_DYLIB files
13308 lt_prog_compiler_pic_CXX='-fno-common'
13309 ;;
13310 *djgpp*)
13311 # DJGPP does not support shared libraries at all
13312 lt_prog_compiler_pic_CXX=
13313 ;;
13314 interix[3-9]*)
13315 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13316 # Instead, we relocate shared libraries at runtime.
13317 ;;
13318 sysv4*MP*)
13319 if test -d /usr/nec; then
13320 lt_prog_compiler_pic_CXX=-Kconform_pic
13321 fi
13322 ;;
13323 hpux*)
13324 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13325 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13326 # sets the default TLS model and affects inlining.
13327 case $host_cpu in
13328 hppa*64*)
13329 ;;
13330 *)
13331 lt_prog_compiler_pic_CXX='-fPIC'
13332 ;;
13333 esac
13334 ;;
13335 *qnx* | *nto*)
13336 # QNX uses GNU C++, but need to define -shared option too, otherwise
13337 # it will coredump.
13338 lt_prog_compiler_pic_CXX='-fPIC -shared'
13339 ;;
13340 *)
13341 lt_prog_compiler_pic_CXX='-fPIC'
13342 ;;
13343 esac
13344 else
13345 case $host_os in
13346 aix[4-9]*)
13347 # All AIX code is PIC.
13348 if test "$host_cpu" = ia64; then
13349 # AIX 5 now supports IA64 processor
13350 lt_prog_compiler_static_CXX='-Bstatic'
13351 else
13352 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13353 fi
13354 ;;
13355 chorus*)
13356 case $cc_basename in
13357 cxch68*)
13358 # Green Hills C++ Compiler
13359 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13360 ;;
13361 esac
13362 ;;
13363 dgux*)
13364 case $cc_basename in
13365 ec++*)
13366 lt_prog_compiler_pic_CXX='-KPIC'
13367 ;;
13368 ghcx*)
13369 # Green Hills C++ Compiler
13370 lt_prog_compiler_pic_CXX='-pic'
13371 ;;
13372 *)
13373 ;;
13374 esac
13375 ;;
13376 freebsd* | dragonfly*)
13377 # FreeBSD uses GNU C++
13378 ;;
13379 hpux9* | hpux10* | hpux11*)
13380 case $cc_basename in
13381 CC*)
13382 lt_prog_compiler_wl_CXX='-Wl,'
13383 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13384 if test "$host_cpu" != ia64; then
13385 lt_prog_compiler_pic_CXX='+Z'
13386 fi
13387 ;;
13388 aCC*)
13389 lt_prog_compiler_wl_CXX='-Wl,'
13390 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13391 case $host_cpu in
13392 hppa*64*|ia64*)
13393 # +Z the default
13394 ;;
13395 *)
13396 lt_prog_compiler_pic_CXX='+Z'
13397 ;;
13398 esac
13399 ;;
13400 *)
13401 ;;
13402 esac
13403 ;;
13404 interix*)
13405 # This is c89, which is MS Visual C++ (no shared libs)
13406 # Anyone wants to do a port?
13407 ;;
13408 irix5* | irix6* | nonstopux*)
13409 case $cc_basename in
13410 CC*)
13411 lt_prog_compiler_wl_CXX='-Wl,'
13412 lt_prog_compiler_static_CXX='-non_shared'
13413 # CC pic flag -KPIC is the default.
13414 ;;
13415 *)
13416 ;;
13417 esac
13418 ;;
13419 linux* | k*bsd*-gnu)
13420 case $cc_basename in
13421 KCC*)
13422 # KAI C++ Compiler
13423 lt_prog_compiler_wl_CXX='--backend -Wl,'
13424 lt_prog_compiler_pic_CXX='-fPIC'
13425 ;;
13426 ecpc* )
13427 # old Intel C++ for x86_64 which still supported -KPIC.
13428 lt_prog_compiler_wl_CXX='-Wl,'
13429 lt_prog_compiler_pic_CXX='-KPIC'
13430 lt_prog_compiler_static_CXX='-static'
13431 ;;
13432 icpc* )
13433 # Intel C++, used to be incompatible with GCC.
13434 # ICC 10 doesn't accept -KPIC any more.
13435 lt_prog_compiler_wl_CXX='-Wl,'
13436 lt_prog_compiler_pic_CXX='-fPIC'
13437 lt_prog_compiler_static_CXX='-static'
13438 ;;
13439 pgCC* | pgcpp*)
13440 # Portland Group C++ compiler
13441 lt_prog_compiler_wl_CXX='-Wl,'
13442 lt_prog_compiler_pic_CXX='-fpic'
13443 lt_prog_compiler_static_CXX='-Bstatic'
13444 ;;
13445 cxx*)
13446 # Compaq C++
13447 # Make sure the PIC flag is empty. It appears that all Alpha
13448 # Linux and Compaq Tru64 Unix objects are PIC.
13449 lt_prog_compiler_pic_CXX=
13450 lt_prog_compiler_static_CXX='-non_shared'
13451 ;;
13452 xlc* | xlC*)
13453 # IBM XL 8.0 on PPC
13454 lt_prog_compiler_wl_CXX='-Wl,'
13455 lt_prog_compiler_pic_CXX='-qpic'
13456 lt_prog_compiler_static_CXX='-qstaticlink'
13457 ;;
13458 *)
13459 case `$CC -V 2>&1 | sed 5q` in
13460 *Sun\ C*)
13461 # Sun C++ 5.9
13462 lt_prog_compiler_pic_CXX='-KPIC'
13463 lt_prog_compiler_static_CXX='-Bstatic'
13464 lt_prog_compiler_wl_CXX='-Qoption ld '
13465 ;;
13466 esac
13467 ;;
13468 esac
13469 ;;
13470 lynxos*)
13471 ;;
13472 m88k*)
13473 ;;
13474 mvs*)
13475 case $cc_basename in
13476 cxx*)
13477 lt_prog_compiler_pic_CXX='-W c,exportall'
13478 ;;
13479 *)
13480 ;;
13481 esac
13482 ;;
13483 netbsd*)
13484 ;;
13485 *qnx* | *nto*)
13486 # QNX uses GNU C++, but need to define -shared option too, otherwise
13487 # it will coredump.
13488 lt_prog_compiler_pic_CXX='-fPIC -shared'
13489 ;;
13490 osf3* | osf4* | osf5*)
13491 case $cc_basename in
13492 KCC*)
13493 lt_prog_compiler_wl_CXX='--backend -Wl,'
13494 ;;
13495 RCC*)
13496 # Rational C++ 2.4.1
13497 lt_prog_compiler_pic_CXX='-pic'
13498 ;;
13499 cxx*)
13500 # Digital/Compaq C++
13501 lt_prog_compiler_wl_CXX='-Wl,'
13502 # Make sure the PIC flag is empty. It appears that all Alpha
13503 # Linux and Compaq Tru64 Unix objects are PIC.
13504 lt_prog_compiler_pic_CXX=
13505 lt_prog_compiler_static_CXX='-non_shared'
13506 ;;
13507 *)
13508 ;;
13509 esac
13510 ;;
13511 psos*)
13512 ;;
13513 solaris*)
13514 case $cc_basename in
13515 CC*)
13516 # Sun C++ 4.2, 5.x and Centerline C++
13517 lt_prog_compiler_pic_CXX='-KPIC'
13518 lt_prog_compiler_static_CXX='-Bstatic'
13519 lt_prog_compiler_wl_CXX='-Qoption ld '
13520 ;;
13521 gcx*)
13522 # Green Hills C++ Compiler
13523 lt_prog_compiler_pic_CXX='-PIC'
13524 ;;
13525 *)
13526 ;;
13527 esac
13528 ;;
13529 sunos4*)
13530 case $cc_basename in
13531 CC*)
13532 # Sun C++ 4.x
13533 lt_prog_compiler_pic_CXX='-pic'
13534 lt_prog_compiler_static_CXX='-Bstatic'
13535 ;;
13536 lcc*)
13537 # Lucid
13538 lt_prog_compiler_pic_CXX='-pic'
13539 ;;
13540 *)
13541 ;;
13542 esac
13543 ;;
13544 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13545 case $cc_basename in
13546 CC*)
13547 lt_prog_compiler_wl_CXX='-Wl,'
13548 lt_prog_compiler_pic_CXX='-KPIC'
13549 lt_prog_compiler_static_CXX='-Bstatic'
13550 ;;
13551 esac
13552 ;;
13553 tandem*)
13554 case $cc_basename in
13555 NCC*)
13556 # NonStop-UX NCC 3.20
13557 lt_prog_compiler_pic_CXX='-KPIC'
13558 ;;
13559 *)
13560 ;;
13561 esac
13562 ;;
13563 vxworks*)
13564 ;;
13565 *)
13566 lt_prog_compiler_can_build_shared_CXX=no
13567 ;;
13568 esac
13569 fi
13570
13571 case $host_os in
13572 # For platforms which do not support PIC, -DPIC is meaningless:
13573 *djgpp*)
13574 lt_prog_compiler_pic_CXX=
13575 ;;
13576 *)
13577 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13578 ;;
13579 esac
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13581 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13582
13583
13584
13585 #
13586 # Check to make sure the PIC flag actually works.
13587 #
13588 if test -n "$lt_prog_compiler_pic_CXX"; then
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13590 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13591 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13592 $as_echo_n "(cached) " >&6
13593 else
13594 lt_cv_prog_compiler_pic_works_CXX=no
13595 ac_outfile=conftest.$ac_objext
13596 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13597 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13598 # Insert the option either (1) after the last *FLAGS variable, or
13599 # (2) before a word containing "conftest.", or (3) at the end.
13600 # Note that $ac_compile itself does not contain backslashes and begins
13601 # with a dollar sign (not a hyphen), so the echo should work correctly.
13602 # The option is referenced via a variable to avoid confusing sed.
13603 lt_compile=`echo "$ac_compile" | $SED \
13604 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13605 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13606 -e 's:$: $lt_compiler_flag:'`
13607 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13608 (eval "$lt_compile" 2>conftest.err)
13609 ac_status=$?
13610 cat conftest.err >&5
13611 echo "$as_me:__oline__: \$? = $ac_status" >&5
13612 if (exit $ac_status) && test -s "$ac_outfile"; then
13613 # The compiler can only warn and ignore the option if not recognized
13614 # So say no if there are warnings other than the usual output.
13615 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13616 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13617 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13618 lt_cv_prog_compiler_pic_works_CXX=yes
13619 fi
13620 fi
13621 $RM conftest*
13622
13623 fi
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13625 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13626
13627 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13628 case $lt_prog_compiler_pic_CXX in
13629 "" | " "*) ;;
13630 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13631 esac
13632 else
13633 lt_prog_compiler_pic_CXX=
13634 lt_prog_compiler_can_build_shared_CXX=no
13635 fi
13636
13637 fi
13638
13639
13640
13641 #
13642 # Check to make sure the static flag actually works.
13643 #
13644 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13646 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13647 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13648 $as_echo_n "(cached) " >&6
13649 else
13650 lt_cv_prog_compiler_static_works_CXX=no
13651 save_LDFLAGS="$LDFLAGS"
13652 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13653 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13654 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13655 # The linker can only warn and ignore the option if not recognized
13656 # So say no if there are warnings
13657 if test -s conftest.err; then
13658 # Append any errors to the config.log.
13659 cat conftest.err 1>&5
13660 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13661 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13662 if diff conftest.exp conftest.er2 >/dev/null; then
13663 lt_cv_prog_compiler_static_works_CXX=yes
13664 fi
13665 else
13666 lt_cv_prog_compiler_static_works_CXX=yes
13667 fi
13668 fi
13669 $RM -r conftest*
13670 LDFLAGS="$save_LDFLAGS"
13671
13672 fi
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13674 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13675
13676 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13677 :
13678 else
13679 lt_prog_compiler_static_CXX=
13680 fi
13681
13682
13683
13684
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13686 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13687 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13688 $as_echo_n "(cached) " >&6
13689 else
13690 lt_cv_prog_compiler_c_o_CXX=no
13691 $RM -r conftest 2>/dev/null
13692 mkdir conftest
13693 cd conftest
13694 mkdir out
13695 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13696
13697 lt_compiler_flag="-o out/conftest2.$ac_objext"
13698 # Insert the option either (1) after the last *FLAGS variable, or
13699 # (2) before a word containing "conftest.", or (3) at the end.
13700 # Note that $ac_compile itself does not contain backslashes and begins
13701 # with a dollar sign (not a hyphen), so the echo should work correctly.
13702 lt_compile=`echo "$ac_compile" | $SED \
13703 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13704 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13705 -e 's:$: $lt_compiler_flag:'`
13706 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13707 (eval "$lt_compile" 2>out/conftest.err)
13708 ac_status=$?
13709 cat out/conftest.err >&5
13710 echo "$as_me:__oline__: \$? = $ac_status" >&5
13711 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13712 then
13713 # The compiler can only warn and ignore the option if not recognized
13714 # So say no if there are warnings
13715 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13716 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13717 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13718 lt_cv_prog_compiler_c_o_CXX=yes
13719 fi
13720 fi
13721 chmod u+w . 2>&5
13722 $RM conftest*
13723 # SGI C++ compiler will create directory out/ii_files/ for
13724 # template instantiation
13725 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13726 $RM out/* && rmdir out
13727 cd ..
13728 $RM -r conftest
13729 $RM conftest*
13730
13731 fi
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13733 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13734
13735
13736
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13738 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13739 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13740 $as_echo_n "(cached) " >&6
13741 else
13742 lt_cv_prog_compiler_c_o_CXX=no
13743 $RM -r conftest 2>/dev/null
13744 mkdir conftest
13745 cd conftest
13746 mkdir out
13747 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13748
13749 lt_compiler_flag="-o out/conftest2.$ac_objext"
13750 # Insert the option either (1) after the last *FLAGS variable, or
13751 # (2) before a word containing "conftest.", or (3) at the end.
13752 # Note that $ac_compile itself does not contain backslashes and begins
13753 # with a dollar sign (not a hyphen), so the echo should work correctly.
13754 lt_compile=`echo "$ac_compile" | $SED \
13755 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13756 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13757 -e 's:$: $lt_compiler_flag:'`
13758 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13759 (eval "$lt_compile" 2>out/conftest.err)
13760 ac_status=$?
13761 cat out/conftest.err >&5
13762 echo "$as_me:__oline__: \$? = $ac_status" >&5
13763 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13764 then
13765 # The compiler can only warn and ignore the option if not recognized
13766 # So say no if there are warnings
13767 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13768 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13769 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13770 lt_cv_prog_compiler_c_o_CXX=yes
13771 fi
13772 fi
13773 chmod u+w . 2>&5
13774 $RM conftest*
13775 # SGI C++ compiler will create directory out/ii_files/ for
13776 # template instantiation
13777 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13778 $RM out/* && rmdir out
13779 cd ..
13780 $RM -r conftest
13781 $RM conftest*
13782
13783 fi
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13785 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13786
13787
13788
13789
13790 hard_links="nottested"
13791 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13792 # do not overwrite the value of need_locks provided by the user
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13794 $as_echo_n "checking if we can lock with hard links... " >&6; }
13795 hard_links=yes
13796 $RM conftest*
13797 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13798 touch conftest.a
13799 ln conftest.a conftest.b 2>&5 || hard_links=no
13800 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13802 $as_echo "$hard_links" >&6; }
13803 if test "$hard_links" = no; then
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13805 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13806 need_locks=warn
13807 fi
13808 else
13809 need_locks=no
13810 fi
13811
13812
13813
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13815 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13816
13817 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13818 case $host_os in
13819 aix[4-9]*)
13820 # If we're using GNU nm, then we don't want the "-C" option.
13821 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13822 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13823 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13824 else
13825 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13826 fi
13827 ;;
13828 pw32*)
13829 export_symbols_cmds_CXX="$ltdll_cmds"
13830 ;;
13831 cygwin* | mingw* | cegcc*)
13832 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13833 ;;
13834 *)
13835 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13836 ;;
13837 esac
13838 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13839
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13841 $as_echo "$ld_shlibs_CXX" >&6; }
13842 test "$ld_shlibs_CXX" = no && can_build_shared=no
13843
13844 with_gnu_ld_CXX=$with_gnu_ld
13845
13846
13847
13848
13849
13850
13851 #
13852 # Do we need to explicitly link libc?
13853 #
13854 case "x$archive_cmds_need_lc_CXX" in
13855 x|xyes)
13856 # Assume -lc should be added
13857 archive_cmds_need_lc_CXX=yes
13858
13859 if test "$enable_shared" = yes && test "$GCC" = yes; then
13860 case $archive_cmds_CXX in
13861 *'~'*)
13862 # FIXME: we may have to deal with multi-command sequences.
13863 ;;
13864 '$CC '*)
13865 # Test whether the compiler implicitly links with -lc since on some
13866 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13867 # to ld, don't add -lc before -lgcc.
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13869 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13870 $RM conftest*
13871 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13872
13873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13874 (eval $ac_compile) 2>&5
13875 ac_status=$?
13876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13877 test $ac_status = 0; } 2>conftest.err; then
13878 soname=conftest
13879 lib=conftest
13880 libobjs=conftest.$ac_objext
13881 deplibs=
13882 wl=$lt_prog_compiler_wl_CXX
13883 pic_flag=$lt_prog_compiler_pic_CXX
13884 compiler_flags=-v
13885 linker_flags=-v
13886 verstring=
13887 output_objdir=.
13888 libname=conftest
13889 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13890 allow_undefined_flag_CXX=
13891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13892 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13893 ac_status=$?
13894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13895 test $ac_status = 0; }
13896 then
13897 archive_cmds_need_lc_CXX=no
13898 else
13899 archive_cmds_need_lc_CXX=yes
13900 fi
13901 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13902 else
13903 cat conftest.err 1>&5
13904 fi
13905 $RM conftest*
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13907 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13908 ;;
13909 esac
13910 fi
13911 ;;
13912 esac
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13978 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13979
13980 library_names_spec=
13981 libname_spec='lib$name'
13982 soname_spec=
13983 shrext_cmds=".so"
13984 postinstall_cmds=
13985 postuninstall_cmds=
13986 finish_cmds=
13987 finish_eval=
13988 shlibpath_var=
13989 shlibpath_overrides_runpath=unknown
13990 version_type=none
13991 dynamic_linker="$host_os ld.so"
13992 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13993 need_lib_prefix=unknown
13994 hardcode_into_libs=no
13995
13996 # when you set need_version to no, make sure it does not cause -set_version
13997 # flags to be left without arguments
13998 need_version=unknown
13999
14000 case $host_os in
14001 aix3*)
14002 version_type=linux
14003 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14004 shlibpath_var=LIBPATH
14005
14006 # AIX 3 has no versioning support, so we append a major version to the name.
14007 soname_spec='${libname}${release}${shared_ext}$major'
14008 ;;
14009
14010 aix[4-9]*)
14011 version_type=linux
14012 need_lib_prefix=no
14013 need_version=no
14014 hardcode_into_libs=yes
14015 if test "$host_cpu" = ia64; then
14016 # AIX 5 supports IA64
14017 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14018 shlibpath_var=LD_LIBRARY_PATH
14019 else
14020 # With GCC up to 2.95.x, collect2 would create an import file
14021 # for dependence libraries. The import file would start with
14022 # the line `#! .'. This would cause the generated library to
14023 # depend on `.', always an invalid library. This was fixed in
14024 # development snapshots of GCC prior to 3.0.
14025 case $host_os in
14026 aix4 | aix4.[01] | aix4.[01].*)
14027 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14028 echo ' yes '
14029 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14030 :
14031 else
14032 can_build_shared=no
14033 fi
14034 ;;
14035 esac
14036 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14037 # soname into executable. Probably we can add versioning support to
14038 # collect2, so additional links can be useful in future.
14039 if test "$aix_use_runtimelinking" = yes; then
14040 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14041 # instead of lib<name>.a to let people know that these are not
14042 # typical AIX shared libraries.
14043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14044 else
14045 # We preserve .a as extension for shared libraries through AIX4.2
14046 # and later when we are not doing run time linking.
14047 library_names_spec='${libname}${release}.a $libname.a'
14048 soname_spec='${libname}${release}${shared_ext}$major'
14049 fi
14050 shlibpath_var=LIBPATH
14051 fi
14052 ;;
14053
14054 amigaos*)
14055 case $host_cpu in
14056 powerpc)
14057 # Since July 2007 AmigaOS4 officially supports .so libraries.
14058 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14060 ;;
14061 m68k)
14062 library_names_spec='$libname.ixlibrary $libname.a'
14063 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14064 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14065 ;;
14066 esac
14067 ;;
14068
14069 beos*)
14070 library_names_spec='${libname}${shared_ext}'
14071 dynamic_linker="$host_os ld.so"
14072 shlibpath_var=LIBRARY_PATH
14073 ;;
14074
14075 bsdi[45]*)
14076 version_type=linux
14077 need_version=no
14078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14079 soname_spec='${libname}${release}${shared_ext}$major'
14080 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14081 shlibpath_var=LD_LIBRARY_PATH
14082 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14083 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14084 # the default ld.so.conf also contains /usr/contrib/lib and
14085 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14086 # libtool to hard-code these into programs
14087 ;;
14088
14089 cygwin* | mingw* | pw32* | cegcc*)
14090 version_type=windows
14091 shrext_cmds=".dll"
14092 need_version=no
14093 need_lib_prefix=no
14094
14095 case $GCC,$host_os in
14096 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14097 library_names_spec='$libname.dll.a'
14098 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14099 postinstall_cmds='base_file=`basename \${file}`~
14100 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14101 dldir=$destdir/`dirname \$dlpath`~
14102 test -d \$dldir || mkdir -p \$dldir~
14103 $install_prog $dir/$dlname \$dldir/$dlname~
14104 chmod a+x \$dldir/$dlname~
14105 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14106 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14107 fi'
14108 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14109 dlpath=$dir/\$dldll~
14110 $RM \$dlpath'
14111 shlibpath_overrides_runpath=yes
14112
14113 case $host_os in
14114 cygwin*)
14115 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14116 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14117 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14118 ;;
14119 mingw* | cegcc*)
14120 # MinGW DLLs use traditional 'lib' prefix
14121 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14122 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14123 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14124 # It is most probably a Windows format PATH printed by
14125 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14126 # path with ; separators, and with drive letters. We can handle the
14127 # drive letters (cygwin fileutils understands them), so leave them,
14128 # especially as we might pass files found there to a mingw objdump,
14129 # which wouldn't understand a cygwinified path. Ahh.
14130 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14131 else
14132 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14133 fi
14134 ;;
14135 pw32*)
14136 # pw32 DLLs use 'pw' prefix rather than 'lib'
14137 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14138 ;;
14139 esac
14140 ;;
14141
14142 *)
14143 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14144 ;;
14145 esac
14146 dynamic_linker='Win32 ld.exe'
14147 # FIXME: first we should search . and the directory the executable is in
14148 shlibpath_var=PATH
14149 ;;
14150
14151 darwin* | rhapsody*)
14152 dynamic_linker="$host_os dyld"
14153 version_type=darwin
14154 need_lib_prefix=no
14155 need_version=no
14156 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14157 soname_spec='${libname}${release}${major}$shared_ext'
14158 shlibpath_overrides_runpath=yes
14159 shlibpath_var=DYLD_LIBRARY_PATH
14160 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14161
14162 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14163 ;;
14164
14165 dgux*)
14166 version_type=linux
14167 need_lib_prefix=no
14168 need_version=no
14169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14170 soname_spec='${libname}${release}${shared_ext}$major'
14171 shlibpath_var=LD_LIBRARY_PATH
14172 ;;
14173
14174 freebsd1*)
14175 dynamic_linker=no
14176 ;;
14177
14178 freebsd* | dragonfly*)
14179 # DragonFly does not have aout. When/if they implement a new
14180 # versioning mechanism, adjust this.
14181 if test -x /usr/bin/objformat; then
14182 objformat=`/usr/bin/objformat`
14183 else
14184 case $host_os in
14185 freebsd[123]*) objformat=aout ;;
14186 *) objformat=elf ;;
14187 esac
14188 fi
14189 version_type=freebsd-$objformat
14190 case $version_type in
14191 freebsd-elf*)
14192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14193 need_version=no
14194 need_lib_prefix=no
14195 ;;
14196 freebsd-*)
14197 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14198 need_version=yes
14199 ;;
14200 esac
14201 shlibpath_var=LD_LIBRARY_PATH
14202 case $host_os in
14203 freebsd2*)
14204 shlibpath_overrides_runpath=yes
14205 ;;
14206 freebsd3.[01]* | freebsdelf3.[01]*)
14207 shlibpath_overrides_runpath=yes
14208 hardcode_into_libs=yes
14209 ;;
14210 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14211 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14212 shlibpath_overrides_runpath=no
14213 hardcode_into_libs=yes
14214 ;;
14215 *) # from 4.6 on, and DragonFly
14216 shlibpath_overrides_runpath=yes
14217 hardcode_into_libs=yes
14218 ;;
14219 esac
14220 ;;
14221
14222 gnu*)
14223 version_type=linux
14224 need_lib_prefix=no
14225 need_version=no
14226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14227 soname_spec='${libname}${release}${shared_ext}$major'
14228 shlibpath_var=LD_LIBRARY_PATH
14229 hardcode_into_libs=yes
14230 ;;
14231
14232 hpux9* | hpux10* | hpux11*)
14233 # Give a soname corresponding to the major version so that dld.sl refuses to
14234 # link against other versions.
14235 version_type=sunos
14236 need_lib_prefix=no
14237 need_version=no
14238 case $host_cpu in
14239 ia64*)
14240 shrext_cmds='.so'
14241 hardcode_into_libs=yes
14242 dynamic_linker="$host_os dld.so"
14243 shlibpath_var=LD_LIBRARY_PATH
14244 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14246 soname_spec='${libname}${release}${shared_ext}$major'
14247 if test "X$HPUX_IA64_MODE" = X32; then
14248 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14249 else
14250 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14251 fi
14252 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14253 ;;
14254 hppa*64*)
14255 shrext_cmds='.sl'
14256 hardcode_into_libs=yes
14257 dynamic_linker="$host_os dld.sl"
14258 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14259 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14261 soname_spec='${libname}${release}${shared_ext}$major'
14262 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14263 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14264 ;;
14265 *)
14266 shrext_cmds='.sl'
14267 dynamic_linker="$host_os dld.sl"
14268 shlibpath_var=SHLIB_PATH
14269 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14271 soname_spec='${libname}${release}${shared_ext}$major'
14272 ;;
14273 esac
14274 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14275 postinstall_cmds='chmod 555 $lib'
14276 ;;
14277
14278 interix[3-9]*)
14279 version_type=linux
14280 need_lib_prefix=no
14281 need_version=no
14282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14283 soname_spec='${libname}${release}${shared_ext}$major'
14284 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14285 shlibpath_var=LD_LIBRARY_PATH
14286 shlibpath_overrides_runpath=no
14287 hardcode_into_libs=yes
14288 ;;
14289
14290 irix5* | irix6* | nonstopux*)
14291 case $host_os in
14292 nonstopux*) version_type=nonstopux ;;
14293 *)
14294 if test "$lt_cv_prog_gnu_ld" = yes; then
14295 version_type=linux
14296 else
14297 version_type=irix
14298 fi ;;
14299 esac
14300 need_lib_prefix=no
14301 need_version=no
14302 soname_spec='${libname}${release}${shared_ext}$major'
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14304 case $host_os in
14305 irix5* | nonstopux*)
14306 libsuff= shlibsuff=
14307 ;;
14308 *)
14309 case $LD in # libtool.m4 will add one of these switches to LD
14310 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14311 libsuff= shlibsuff= libmagic=32-bit;;
14312 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14313 libsuff=32 shlibsuff=N32 libmagic=N32;;
14314 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14315 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14316 *) libsuff= shlibsuff= libmagic=never-match;;
14317 esac
14318 ;;
14319 esac
14320 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14321 shlibpath_overrides_runpath=no
14322 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14323 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14324 hardcode_into_libs=yes
14325 ;;
14326
14327 # No shared lib support for Linux oldld, aout, or coff.
14328 linux*oldld* | linux*aout* | linux*coff*)
14329 dynamic_linker=no
14330 ;;
14331
14332 # This must be Linux ELF.
14333 linux* | k*bsd*-gnu)
14334 version_type=linux
14335 need_lib_prefix=no
14336 need_version=no
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14338 soname_spec='${libname}${release}${shared_ext}$major'
14339 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14340 shlibpath_var=LD_LIBRARY_PATH
14341 shlibpath_overrides_runpath=no
14342 # Some binutils ld are patched to set DT_RUNPATH
14343 save_LDFLAGS=$LDFLAGS
14344 save_libdir=$libdir
14345 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14346 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14349
14350 int
14351 main ()
14352 {
14353
14354 ;
14355 return 0;
14356 }
14357 _ACEOF
14358 if ac_fn_cxx_try_link "$LINENO"; then :
14359 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14360 shlibpath_overrides_runpath=yes
14361 fi
14362 fi
14363 rm -f core conftest.err conftest.$ac_objext \
14364 conftest$ac_exeext conftest.$ac_ext
14365 LDFLAGS=$save_LDFLAGS
14366 libdir=$save_libdir
14367
14368 # This implies no fast_install, which is unacceptable.
14369 # Some rework will be needed to allow for fast_install
14370 # before this can be enabled.
14371 hardcode_into_libs=yes
14372
14373 # Add ABI-specific directories to the system library path.
14374 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
14375
14376 # Append ld.so.conf contents to the search path
14377 if test -f /etc/ld.so.conf; then
14378 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14379 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14380 fi
14381
14382 # We used to test for /lib/ld.so.1 and disable shared libraries on
14383 # powerpc, because MkLinux only supported shared libraries with the
14384 # GNU dynamic linker. Since this was broken with cross compilers,
14385 # most powerpc-linux boxes support dynamic linking these days and
14386 # people can always --disable-shared, the test was removed, and we
14387 # assume the GNU/Linux dynamic linker is in use.
14388 dynamic_linker='GNU/Linux ld.so'
14389 ;;
14390
14391 netbsd*)
14392 version_type=sunos
14393 need_lib_prefix=no
14394 need_version=no
14395 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14397 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14398 dynamic_linker='NetBSD (a.out) ld.so'
14399 else
14400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14401 soname_spec='${libname}${release}${shared_ext}$major'
14402 dynamic_linker='NetBSD ld.elf_so'
14403 fi
14404 shlibpath_var=LD_LIBRARY_PATH
14405 shlibpath_overrides_runpath=yes
14406 hardcode_into_libs=yes
14407 ;;
14408
14409 newsos6)
14410 version_type=linux
14411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14412 shlibpath_var=LD_LIBRARY_PATH
14413 shlibpath_overrides_runpath=yes
14414 ;;
14415
14416 *nto* | *qnx*)
14417 version_type=qnx
14418 need_lib_prefix=no
14419 need_version=no
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14421 soname_spec='${libname}${release}${shared_ext}$major'
14422 shlibpath_var=LD_LIBRARY_PATH
14423 shlibpath_overrides_runpath=no
14424 hardcode_into_libs=yes
14425 dynamic_linker='ldqnx.so'
14426 ;;
14427
14428 openbsd*)
14429 version_type=sunos
14430 sys_lib_dlsearch_path_spec="/usr/lib"
14431 need_lib_prefix=no
14432 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14433 case $host_os in
14434 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14435 *) need_version=no ;;
14436 esac
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14438 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14439 shlibpath_var=LD_LIBRARY_PATH
14440 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14441 case $host_os in
14442 openbsd2.[89] | openbsd2.[89].*)
14443 shlibpath_overrides_runpath=no
14444 ;;
14445 *)
14446 shlibpath_overrides_runpath=yes
14447 ;;
14448 esac
14449 else
14450 shlibpath_overrides_runpath=yes
14451 fi
14452 ;;
14453
14454 os2*)
14455 libname_spec='$name'
14456 shrext_cmds=".dll"
14457 need_lib_prefix=no
14458 library_names_spec='$libname${shared_ext} $libname.a'
14459 dynamic_linker='OS/2 ld.exe'
14460 shlibpath_var=LIBPATH
14461 ;;
14462
14463 osf3* | osf4* | osf5*)
14464 version_type=osf
14465 need_lib_prefix=no
14466 need_version=no
14467 soname_spec='${libname}${release}${shared_ext}$major'
14468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14469 shlibpath_var=LD_LIBRARY_PATH
14470 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14471 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14472 ;;
14473
14474 rdos*)
14475 dynamic_linker=no
14476 ;;
14477
14478 solaris*)
14479 version_type=linux
14480 need_lib_prefix=no
14481 need_version=no
14482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14483 soname_spec='${libname}${release}${shared_ext}$major'
14484 shlibpath_var=LD_LIBRARY_PATH
14485 shlibpath_overrides_runpath=yes
14486 hardcode_into_libs=yes
14487 # ldd complains unless libraries are executable
14488 postinstall_cmds='chmod +x $lib'
14489 ;;
14490
14491 sunos4*)
14492 version_type=sunos
14493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14494 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14495 shlibpath_var=LD_LIBRARY_PATH
14496 shlibpath_overrides_runpath=yes
14497 if test "$with_gnu_ld" = yes; then
14498 need_lib_prefix=no
14499 fi
14500 need_version=yes
14501 ;;
14502
14503 sysv4 | sysv4.3*)
14504 version_type=linux
14505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14506 soname_spec='${libname}${release}${shared_ext}$major'
14507 shlibpath_var=LD_LIBRARY_PATH
14508 case $host_vendor in
14509 sni)
14510 shlibpath_overrides_runpath=no
14511 need_lib_prefix=no
14512 runpath_var=LD_RUN_PATH
14513 ;;
14514 siemens)
14515 need_lib_prefix=no
14516 ;;
14517 motorola)
14518 need_lib_prefix=no
14519 need_version=no
14520 shlibpath_overrides_runpath=no
14521 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14522 ;;
14523 esac
14524 ;;
14525
14526 sysv4*MP*)
14527 if test -d /usr/nec ;then
14528 version_type=linux
14529 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14530 soname_spec='$libname${shared_ext}.$major'
14531 shlibpath_var=LD_LIBRARY_PATH
14532 fi
14533 ;;
14534
14535 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14536 version_type=freebsd-elf
14537 need_lib_prefix=no
14538 need_version=no
14539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14540 soname_spec='${libname}${release}${shared_ext}$major'
14541 shlibpath_var=LD_LIBRARY_PATH
14542 shlibpath_overrides_runpath=yes
14543 hardcode_into_libs=yes
14544 if test "$with_gnu_ld" = yes; then
14545 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14546 else
14547 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14548 case $host_os in
14549 sco3.2v5*)
14550 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14551 ;;
14552 esac
14553 fi
14554 sys_lib_dlsearch_path_spec='/usr/lib'
14555 ;;
14556
14557 tpf*)
14558 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14559 version_type=linux
14560 need_lib_prefix=no
14561 need_version=no
14562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14563 shlibpath_var=LD_LIBRARY_PATH
14564 shlibpath_overrides_runpath=no
14565 hardcode_into_libs=yes
14566 ;;
14567
14568 uts4*)
14569 version_type=linux
14570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14571 soname_spec='${libname}${release}${shared_ext}$major'
14572 shlibpath_var=LD_LIBRARY_PATH
14573 ;;
14574
14575 *)
14576 dynamic_linker=no
14577 ;;
14578 esac
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14580 $as_echo "$dynamic_linker" >&6; }
14581 test "$dynamic_linker" = no && can_build_shared=no
14582
14583 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14584 if test "$GCC" = yes; then
14585 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14586 fi
14587
14588 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14589 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14590 fi
14591 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14592 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14593 fi
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14631 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14632 hardcode_action_CXX=
14633 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14634 test -n "$runpath_var_CXX" ||
14635 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14636
14637 # We can hardcode non-existent directories.
14638 if test "$hardcode_direct_CXX" != no &&
14639 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14640 # have to relink, otherwise we might link with an installed library
14641 # when we should be linking with a yet-to-be-installed one
14642 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14643 test "$hardcode_minus_L_CXX" != no; then
14644 # Linking always hardcodes the temporary library directory.
14645 hardcode_action_CXX=relink
14646 else
14647 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14648 hardcode_action_CXX=immediate
14649 fi
14650 else
14651 # We cannot hardcode anything, or else we can only hardcode existing
14652 # directories.
14653 hardcode_action_CXX=unsupported
14654 fi
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14656 $as_echo "$hardcode_action_CXX" >&6; }
14657
14658 if test "$hardcode_action_CXX" = relink ||
14659 test "$inherit_rpath_CXX" = yes; then
14660 # Fast installation is not supported
14661 enable_fast_install=no
14662 elif test "$shlibpath_overrides_runpath" = yes ||
14663 test "$enable_shared" = no; then
14664 # Fast installation is not necessary
14665 enable_fast_install=needless
14666 fi
14667
14668
14669
14670
14671
14672
14673
14674 fi # test -n "$compiler"
14675
14676 CC=$lt_save_CC
14677 LDCXX=$LD
14678 LD=$lt_save_LD
14679 GCC=$lt_save_GCC
14680 with_gnu_ld=$lt_save_with_gnu_ld
14681 lt_cv_path_LDCXX=$lt_cv_path_LD
14682 lt_cv_path_LD=$lt_save_path_LD
14683 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14684 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14685 fi # test "$_lt_caught_CXX_error" != yes
14686
14687 ac_ext=cpp
14688 ac_cpp='$CXXCPP $CPPFLAGS'
14689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705 ac_config_commands="$ac_config_commands libtool"
14706
14707
14708
14709
14710 # Only expand once:
14711
14712
14713
14714 @%:@ Check whether --enable-libcheck was given.
14715 if test "${enable_libcheck+set}" = set; then :
14716 enableval=$enable_libcheck; case "${enableval}" in
14717 yes) libcheck=true ;;
14718 no) libcheck=false ;;
14719 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;; esac
14720 else
14721 libcheck=true
14722 fi
14723
14724
14725
14726 # --- BEGIN MLX_LANG_TCL ---
14727
14728 if test "x$libcheck" = "xtrue"; then
14729
14730
14731 @%:@ Check whether --with-tclconfig was given.
14732 if test "${with_tclconfig+set}" = set; then :
14733 withval=$with_tclconfig; TclLibBase=`echo ${withval} | sed s/tclConfig.sh\$//`
14734 fi
14735
14736
14737 @%:@ Check whether --with-tcl was given.
14738 if test "${with_tcl+set}" = set; then :
14739 withval=$with_tcl; TclLibBase="${withval}/lib"
14740 fi
14741
14742
14743 @%:@ Check whether --with-tclsh was given.
14744 if test "${with_tclsh+set}" = set; then :
14745 withval=$with_tclsh; TCLSH="${withval}"
14746 fi
14747
14748
14749 if test "x$TCLSH" = "xno" -o "x$with_tclconfig" = "xno" ; then
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&5
14751 $as_echo "$as_me: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&2;}
14752 with_tcl=no
14753 fi
14754
14755 if test "x$with_tcl" != xno; then
14756 if test \! -z "$with_tclconfig" -a \! -d "$with_tclconfig" ; then
14757 as_fn_error $? "--with-tclconfig requires a directory argument." "$LINENO" 5
14758 fi
14759
14760 if test \! -z "$TCLSH" -a \! -x "$TCLSH" ; then
14761 as_fn_error $? "--with-tclsh must specify an executable file." "$LINENO" 5
14762 fi
14763
14764 if test X"$TclLibBase" = X; then # do we already know?
14765 # No? Run tclsh and ask it where it lives.
14766
14767 # Do we know where a tclsh lives?
14768 if test X"$TCLSH" = X; then
14769 # Try and find tclsh. Any tclsh.
14770 # If a new version of tcl comes out and unfortunately adds another
14771 # filename, it should be safe to add it (to the front of the line --
14772 # somef vendors have older, badly installed tclshs that we want to avoid
14773 # if we can)
14774 for ac_prog in tclsh tclsh8.3 tclsh8.4
14775 do
14776 # Extract the first word of "$ac_prog", so it can be a program name with args.
14777 set dummy $ac_prog; ac_word=$2
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14779 $as_echo_n "checking for $ac_word... " >&6; }
14780 if ${ac_cv_path_TCLSH+:} false; then :
14781 $as_echo_n "(cached) " >&6
14782 else
14783 case $TCLSH in
14784 [\\/]* | ?:[\\/]*)
14785 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
14786 ;;
14787 *)
14788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14789 for as_dir in $PATH
14790 do
14791 IFS=$as_save_IFS
14792 test -z "$as_dir" && as_dir=.
14793 for ac_exec_ext in '' $ac_executable_extensions; do
14794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14795 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
14796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14797 break 2
14798 fi
14799 done
14800 done
14801 IFS=$as_save_IFS
14802
14803 ;;
14804 esac
14805 fi
14806 TCLSH=$ac_cv_path_TCLSH
14807 if test -n "$TCLSH"; then
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
14809 $as_echo "$TCLSH" >&6; }
14810 else
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14812 $as_echo "no" >&6; }
14813 fi
14814
14815
14816 test -n "$TCLSH" && break
14817 done
14818 test -n "$TCLSH" || TCLSH=""unknown""
14819
14820 fi
14821
14822 # Do we know where to get a tclsh?
14823 if test "X${TCLSH}" != "Xunknown"; then
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl says it lives" >&5
14825 $as_echo_n "checking where Tcl says it lives... " >&6; }
14826 echo "puts \$tcl_library" > /tmp/tcl.conf.$$
14827 TclLibBase=`${TCLSH} /tmp/tcl.conf.$$ | sed -e 's,^/*$,,'`
14828 rm /tmp/tcl.conf.$$
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TclLibBase" >&5
14830 $as_echo "$TclLibBase" >&6; }
14831 fi
14832 fi
14833
14834 if test -z "$TclLibBase" ; then
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find tclsh" >&5
14836 $as_echo "can't find tclsh" >&6; }
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl installtion; use of Tcl disabled." >&5
14838 $as_echo "$as_me: WARNING: can't find Tcl installtion; use of Tcl disabled." >&2;}
14839 with_tcl=no
14840 else
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5
14842 $as_echo_n "checking for tclConfig.sh... " >&6; }
14843 # Check a list of places where the tclConfig.sh file might be.
14844 # Note we prefer the 64 bit version if exists
14845 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}"
14846 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}/.."
14847 tclCondifSearchPath="$tclCondifSearchPath `echo ${TCLSH} | sed s/sh//`"
14848 tclCondifSearchPath="$tclCondifSearchPath /usr/lib64"
14849 tclCondifSearchPath="$tclCondifSearchPath /usr/lib"
14850 tclCondifSearchPath="$tclCondifSearchPath /usr/local/lib"
14851 for tcldir in $tclCondifSearchPath; do
14852 if test -f "${tcldir}/tclConfig.sh"; then
14853 TclLibBase="${tcldir}"
14854 break
14855 fi
14856 done
14857
14858 if test -z "${TclLibBase}" ; then
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"unknown\"" >&5
14860 $as_echo "\"unknown\"" >&6; }
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl configuration; use of Tcl disabled." >&5
14862 $as_echo "$as_me: WARNING: can't find Tcl configuration; use of Tcl disabled." >&2;}
14863 with_tcl=no
14864 else
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TclLibBase}/" >&5
14866 $as_echo "${TclLibBase}/" >&6; }
14867 fi
14868
14869 if test "X${with_tcl}" != Xno ; then
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl configuration on what Tcl needs to compile" >&5
14871 $as_echo_n "checking Tcl configuration on what Tcl needs to compile... " >&6; }
14872 . ${TclLibBase}/tclConfig.sh
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
14874 $as_echo "ok" >&6; }
14875 fi
14876
14877 if test -d /usr/lib64 ; then
14878 TCL_LIB_SPEC=`echo ${TCL_LIB_SPEC} | sed 's=/usr/lib =/usr/lib64 =g'`
14879 fi
14880
14881 if test "X${with_tcl}" != Xno ; then
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl includes are" >&5
14883 $as_echo_n "checking where Tcl includes are... " >&6; }
14884 for tclinclude in "${TCL_PREFIX}/include/tcl${TCL_VERSION}" \
14885 "${TCL_PREFIX}/include/tcl" \
14886 "${TCL_PREFIX}/include" ; do
14887 if test -r "${tclinclude}/tcl.h" ; then
14888 TCL_CPPFLAGS="-I${tclinclude}"
14889 break
14890 fi
14891 done
14892 if test X"${TCL_CPPFLAGS}" = X ; then
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl includes; use of Tcl disabled." >&5
14894 $as_echo "$as_me: WARNING: can't find Tcl includes; use of Tcl disabled." >&2;}
14895 with_tcl=no
14896 fi
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCL_CPPFLAGS}" >&5
14898 $as_echo "${TCL_CPPFLAGS}" >&6; }
14899 fi
14900
14901 # Finally, pick up the Tcl configuration if we haven't found an
14902 # excuse not to.
14903 if test "X${with_tcl}" != Xno; then
14904 TCL_SEARCH=`echo ${TCL_LD_SEARCH_FLAGS} | sed 's/-Wl,-rpath,/-rpath/'`
14905
14906 if test X"$TCL_LIBS" = X; then
14907 TCL_LIBS=`echo ${TCL_LIB_FILE} | sed 's/lib\([^ \t]*\)\.\(so\|a\)/-l\1/'`
14908 fi
14909
14910 if test X"$TCL_LIB_SPEC" = X; then
14911 TCL_LIB_SPEC='-L/usr/lib'
14912 fi
14913
14914 TCL_LIBS1="${TCL_LIB_SPEC} ${TCL_LIBS}"
14915 TCL_LIBS=`echo ${TCL_LIBS1} | sed 's/-lieee//'`
14916 fi
14917 fi
14918 fi
14919 else
14920 TCL_DEFS=disabled
14921 TCL_LIBS=disabled
14922 TCL_CPPFLAGS=disabled
14923 TCL_PREFIX=disabled
14924 fi
14925
14926
14927
14928
14929
14930
14931 # --- END MLX_LANG_TCL ---
14932
14933
14934
14935
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14937 $as_echo_n "checking for ANSI C header files... " >&6; }
14938 if ${ac_cv_header_stdc+:} false; then :
14939 $as_echo_n "(cached) " >&6
14940 else
14941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14942 /* end confdefs.h. */
14943 #include <stdlib.h>
14944 #include <stdarg.h>
14945 #include <string.h>
14946 #include <float.h>
14947
14948 int
14949 main ()
14950 {
14951
14952 ;
14953 return 0;
14954 }
14955 _ACEOF
14956 if ac_fn_cxx_try_compile "$LINENO"; then :
14957 ac_cv_header_stdc=yes
14958 else
14959 ac_cv_header_stdc=no
14960 fi
14961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14962
14963 if test $ac_cv_header_stdc = yes; then
14964 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14967 #include <string.h>
14968
14969 _ACEOF
14970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14971 $EGREP "memchr" >/dev/null 2>&1; then :
14972
14973 else
14974 ac_cv_header_stdc=no
14975 fi
14976 rm -f conftest*
14977
14978 fi
14979
14980 if test $ac_cv_header_stdc = yes; then
14981 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14983 /* end confdefs.h. */
14984 #include <stdlib.h>
14985
14986 _ACEOF
14987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14988 $EGREP "free" >/dev/null 2>&1; then :
14989
14990 else
14991 ac_cv_header_stdc=no
14992 fi
14993 rm -f conftest*
14994
14995 fi
14996
14997 if test $ac_cv_header_stdc = yes; then
14998 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14999 if test "$cross_compiling" = yes; then :
15000 :
15001 else
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15004 #include <ctype.h>
15005 #include <stdlib.h>
15006 #if ((' ' & 0x0FF) == 0x020)
15007 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15008 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15009 #else
15010 # define ISLOWER(c) \
15011 (('a' <= (c) && (c) <= 'i') \
15012 || ('j' <= (c) && (c) <= 'r') \
15013 || ('s' <= (c) && (c) <= 'z'))
15014 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15015 #endif
15016
15017 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15018 int
15019 main ()
15020 {
15021 int i;
15022 for (i = 0; i < 256; i++)
15023 if (XOR (islower (i), ISLOWER (i))
15024 || toupper (i) != TOUPPER (i))
15025 return 2;
15026 return 0;
15027 }
15028 _ACEOF
15029 if ac_fn_cxx_try_run "$LINENO"; then :
15030
15031 else
15032 ac_cv_header_stdc=no
15033 fi
15034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15035 conftest.$ac_objext conftest.beam conftest.$ac_ext
15036 fi
15037
15038 fi
15039 fi
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15041 $as_echo "$ac_cv_header_stdc" >&6; }
15042 if test $ac_cv_header_stdc = yes; then
15043
15044 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
15045
15046 fi
15047
15048 for ac_header in inttypes.h stdlib.h string.h
15049 do :
15050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15051 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15052 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15053 cat >>confdefs.h <<_ACEOF
15054 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15055 _ACEOF
15056
15057 fi
15058
15059 done
15060
15061
15062
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15064 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15065 if ${ac_cv_c_const+:} false; then :
15066 $as_echo_n "(cached) " >&6
15067 else
15068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15070
15071 int
15072 main ()
15073 {
15074
15075 #ifndef __cplusplus
15076 /* Ultrix mips cc rejects this sort of thing. */
15077 typedef int charset[2];
15078 const charset cs = { 0, 0 };
15079 /* SunOS 4.1.1 cc rejects this. */
15080 char const *const *pcpcc;
15081 char **ppc;
15082 /* NEC SVR4.0.2 mips cc rejects this. */
15083 struct point {int x, y;};
15084 static struct point const zero = {0,0};
15085 /* AIX XL C 1.02.0.0 rejects this.
15086 It does not let you subtract one const X* pointer from another in
15087 an arm of an if-expression whose if-part is not a constant
15088 expression */
15089 const char *g = "string";
15090 pcpcc = &g + (g ? g-g : 0);
15091 /* HPUX 7.0 cc rejects these. */
15092 ++pcpcc;
15093 ppc = (char**) pcpcc;
15094 pcpcc = (char const *const *) ppc;
15095 { /* SCO 3.2v4 cc rejects this sort of thing. */
15096 char tx;
15097 char *t = &tx;
15098 char const *s = 0 ? (char *) 0 : (char const *) 0;
15099
15100 *t++ = 0;
15101 if (s) return 0;
15102 }
15103 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15104 int x[] = {25, 17};
15105 const int *foo = &x[0];
15106 ++foo;
15107 }
15108 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15109 typedef const int *iptr;
15110 iptr p = 0;
15111 ++p;
15112 }
15113 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
15114 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15115 struct s { int j; const int *ap[3]; } bx;
15116 struct s *b = &bx; b->j = 5;
15117 }
15118 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15119 const int foo = 10;
15120 if (!foo) return 0;
15121 }
15122 return !cs[0] && !zero.x;
15123 #endif
15124
15125 ;
15126 return 0;
15127 }
15128 _ACEOF
15129 if ac_fn_cxx_try_compile "$LINENO"; then :
15130 ac_cv_c_const=yes
15131 else
15132 ac_cv_c_const=no
15133 fi
15134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15135 fi
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15137 $as_echo "$ac_cv_c_const" >&6; }
15138 if test $ac_cv_c_const = no; then
15139
15140 $as_echo "@%:@define const /**/" >>confdefs.h
15141
15142 fi
15143
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15145 $as_echo_n "checking for inline... " >&6; }
15146 if ${ac_cv_c_inline+:} false; then :
15147 $as_echo_n "(cached) " >&6
15148 else
15149 ac_cv_c_inline=no
15150 for ac_kw in inline __inline__ __inline; do
15151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15152 /* end confdefs.h. */
15153 #ifndef __cplusplus
15154 typedef int foo_t;
15155 static $ac_kw foo_t static_foo () {return 0; }
15156 $ac_kw foo_t foo () {return 0; }
15157 #endif
15158
15159 _ACEOF
15160 if ac_fn_cxx_try_compile "$LINENO"; then :
15161 ac_cv_c_inline=$ac_kw
15162 fi
15163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15164 test "$ac_cv_c_inline" != no && break
15165 done
15166
15167 fi
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15169 $as_echo "$ac_cv_c_inline" >&6; }
15170
15171 case $ac_cv_c_inline in
15172 inline | yes) ;;
15173 *)
15174 case $ac_cv_c_inline in
15175 no) ac_val=;;
15176 *) ac_val=$ac_cv_c_inline;;
15177 esac
15178 cat >>confdefs.h <<_ACEOF
15179 #ifndef __cplusplus
15180 #define inline $ac_val
15181 #endif
15182 _ACEOF
15183 ;;
15184 esac
15185
15186 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15187 if test "x$ac_cv_type_size_t" = xyes; then :
15188
15189 else
15190
15191 cat >>confdefs.h <<_ACEOF
15192 @%:@define size_t unsigned int
15193 _ACEOF
15194
15195 fi
15196
15197
15198 for ac_func in strchr strstr strtol strtoull regcomp regexec
15199 do :
15200 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15201 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15202 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15203 cat >>confdefs.h <<_ACEOF
15204 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15205 _ACEOF
15206
15207 fi
15208 done
15209
15210
15211 @%:@ Check whether --enable-debug was given.
15212 if test "${enable_debug+set}" = set; then :
15213 enableval=$enable_debug; case "${enableval}" in
15214 yes) debug=true ;;
15215 no) debug=false ;;
15216 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
15217 esac
15218 else
15219 debug=false
15220 fi
15221
15222 if test x$debug = xtrue; then
15223 DEBUG_TRUE=
15224 DEBUG_FALSE='#'
15225 else
15226 DEBUG_TRUE='#'
15227 DEBUG_FALSE=
15228 fi
15229
15230
15231
15232 # --- BEGIN OPENIB_APP_OSM ---
15233
15234
15235 @%:@ Check whether --with-osm was given.
15236 if test "${with_osm+set}" = set; then :
15237 withval=$with_osm; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM from:$with_osm" >&5
15238 $as_echo "$as_me: Using OSM from:$with_osm" >&6;}
15239 else
15240 with_osm="none"
15241 fi
15242
15243
15244
15245 @%:@ Check whether --with-osm-libs was given.
15246 if test "${with_osm_libs+set}" = set; then :
15247 withval=$with_osm_libs; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM libs from:$with_osm_libs" >&5
15248 $as_echo "$as_me: Using OSM libs from:$with_osm_libs" >&6;}
15249 else
15250 with_osm_libs="none"
15251 fi
15252
15253
15254 osm_lib_dir="none"
15255
15256 if test "x$libcheck" = "xtrue"; then
15257 if test "x$with_osm" = xnone; then
15258 if test -d /usr/local/ibgd/apps/osm; then
15259 with_osm=/usr/local/ibgd/apps/osm
15260 elif test -d /usr/mellanox/osm; then
15261 with_osm=/usr/mellanox
15262 elif test -f /etc/infiniband/info; then
15263 ofed_dir=`/etc/infiniband/info | grep prefix | cut -d = -f 2`
15264 if (test -f $ofed_dir/lib/libopensm.so ||
15265 test -f $ofed_dir/lib64/libopensm.so); then
15266 with_osm=$ofed_dir
15267 fi
15268 elif (test -f /usr/local/lib64/libopensm.so ||
15269 test -f /usr/local/lib/libopensm.so); then
15270 with_osm=/usr/local
15271 elif (test -f /usr/lib64/libopensm.so ||
15272 test -f /usr/lib/libopensm.so); then
15273 with_osm=/usr
15274 else
15275 as_fn_error $? "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
15276 fi
15277 fi
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5
15279 $as_echo "$as_me: OSM: used from $with_osm" >&6;}
15280
15281 if test "x$with_osm_libs" = "xnone"; then
15282 if (test -f $with_osm/lib64/libosmvendor_gen1.so ||
15283 test -f $with_osm/lib64/libosmvendor_vapi.so ||
15284 test -f $with_osm/lib64/libopensm.so ||
15285 test -f $with_osm/lib64/libosmvendor_sim.so); then
15286 osm_lib_dir=lib64
15287 else
15288 osm_lib_dir=lib
15289 fi
15290 fi
15291 with_osm_libs=$with_osm/$osm_lib_dir
15292
15293 if test -d $with_osm/include/infiniband; then
15294 OSM_BUILD=openib
15295 else
15296 OSM_BUILD=gen1
15297 fi
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: build type $OSM_BUILD" >&5
15299 $as_echo "$as_me: OSM: build type $OSM_BUILD" >&6;}
15300
15301 OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
15302 if test $OSM_BUILD = openib; then
15303 osm_include_dir="$with_osm/include/infiniband"
15304 osm_extra_includes="-I$with_osm/include"
15305
15306 if test -L $with_osm_libs/libosmvendor_gen1.so; then
15307 OSM_VENDOR=ts
15308 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
15309 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp"
15310 elif test -L $with_osm_libs/libosmvendor_vapi.so; then
15311 OSM_VENDOR=mtl
15312 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
15313 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -lvapi -lib_mgt"
15314 elif test -L $with_osm_libs/libosmvendor_sim.so; then
15315 OSM_VENDOR=sim
15316 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
15317 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -libmscli -losmcomp"
15318 elif test -L $with_osm_libs/libopensm.so; then
15319 OSM_VENDOR=openib
15320 osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
15321 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
15322 else
15323 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
15324 fi
15325 osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
15326 else
15327 # we are in gen1 build
15328 osm_include_dir="$with_osm/include"
15329
15330 if test -L $with_osm_libs/libosmsvc_ts.so; then
15331 OSM_VENDOR=ts
15332 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_ts -lcomplib"
15333 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
15334 elif test -L $with_osm_libs/libosmsvc_mtl.so; then
15335 OSM_VENDOR=mtl
15336 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_mtl -lcomplib -lvapi -lib_mgt"
15337 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
15338 elif test -L $with_osm_libs/libosmsvc_sim.so; then
15339 OSM_VENDOR=sim
15340 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
15341 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
15342 else
15343 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
15344 fi
15345 fi
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5
15347 $as_echo "$as_me: OSM: vendor type $OSM_VENDOR" >&6;}
15348
15349
15350 as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh`
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5
15352 $as_echo_n "checking for $osm_include_dir/opensm/osm_config.h... " >&6; }
15353 if eval \${$as_ac_File+:} false; then :
15354 $as_echo_n "(cached) " >&6
15355 else
15356 test "$cross_compiling" = yes &&
15357 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
15358 if test -r "$osm_include_dir/opensm/osm_config.h"; then
15359 eval "$as_ac_File=yes"
15360 else
15361 eval "$as_ac_File=no"
15362 fi
15363 fi
15364 eval ac_res=\$$as_ac_File
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15366 $as_echo "$ac_res" >&6; }
15367 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
15368
15369 else
15370 as_fn_error $? "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
15371 fi
15372
15373
15374 grep '#define OSM_DEBUG 1' $osm_include_dir/opensm/osm_config.h > /dev/null
15375 if test $? -eq 0 ; then
15376 osm_debug_flags='-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG'
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: compiled in DEBUG mode" >&5
15378 $as_echo "$as_me: OSM: compiled in DEBUG mode" >&6;}
15379 else
15380 osm_debug_flags=
15381 fi
15382
15383 OSM_CFLAGS="-I$osm_include_dir $osm_extra_includes $osm_debug_flags $osm_vendor_sel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1"
15384 else
15385 with_osm=disabled
15386 OSM_CLFAGS=disabled
15387 OSM_LDFLAGS=disabled
15388 OSM_VEDNOR=disabled
15389 OSM_BUILD=disabled
15390 fi
15391
15392 if test "x$OSM_VENDOR" = xts; then
15393 OSM_VENDOR_TS_TRUE=
15394 OSM_VENDOR_TS_FALSE='#'
15395 else
15396 OSM_VENDOR_TS_TRUE='#'
15397 OSM_VENDOR_TS_FALSE=
15398 fi
15399
15400 if test "x$OSM_VENDOR" = xmtl; then
15401 OSM_VENDOR_MTL_TRUE=
15402 OSM_VENDOR_MTL_FALSE='#'
15403 else
15404 OSM_VENDOR_MTL_TRUE='#'
15405 OSM_VENDOR_MTL_FALSE=
15406 fi
15407
15408 if test "x$OSM_VENDOR" = xsim; then
15409 OSM_VENDOR_SIM_TRUE=
15410 OSM_VENDOR_SIM_FALSE='#'
15411 else
15412 OSM_VENDOR_SIM_TRUE='#'
15413 OSM_VENDOR_SIM_FALSE=
15414 fi
15415
15416 if test "x$OSM_BUILD" = xopenib; then
15417 OSM_BUILD_OPENIB_TRUE=
15418 OSM_BUILD_OPENIB_FALSE='#'
15419 else
15420 OSM_BUILD_OPENIB_TRUE='#'
15421 OSM_BUILD_OPENIB_FALSE=
15422 fi
15423
15424
15425
15426
15427
15428
15429
15430
15431 # --- OPENIB_APP_OSM ---
15432
15433
15434 ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile doc/Makefile"
15435
15436 cat >confcache <<\_ACEOF
15437 # This file is a shell script that caches the results of configure
15438 # tests run on this system so they can be shared between configure
15439 # scripts and configure runs, see configure's option --config-cache.
15440 # It is not useful on other systems. If it contains results you don't
15441 # want to keep, you may remove or edit it.
15442 #
15443 # config.status only pays attention to the cache file if you give it
15444 # the --recheck option to rerun configure.
15445 #
15446 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15447 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15448 # following values.
15449
15450 _ACEOF
15451
15452 # The following way of writing the cache mishandles newlines in values,
15453 # but we know of no workaround that is simple, portable, and efficient.
15454 # So, we kill variables containing newlines.
15455 # Ultrix sh set writes to stderr and can't be redirected directly,
15456 # and sets the high bit in the cache file unless we assign to the vars.
15457 (
15458 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15459 eval ac_val=\$$ac_var
15460 case $ac_val in #(
15461 *${as_nl}*)
15462 case $ac_var in #(
15463 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15464 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15465 esac
15466 case $ac_var in #(
15467 _ | IFS | as_nl) ;; #(
15468 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15469 *) { eval $ac_var=; unset $ac_var;} ;;
15470 esac ;;
15471 esac
15472 done
15473
15474 (set) 2>&1 |
15475 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15476 *${as_nl}ac_space=\ *)
15477 # `set' does not quote correctly, so add quotes: double-quote
15478 # substitution turns \\\\ into \\, and sed turns \\ into \.
15479 sed -n \
15480 "s/'/'\\\\''/g;
15481 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15482 ;; #(
15483 *)
15484 # `set' quotes correctly as required by POSIX, so do not add quotes.
15485 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15486 ;;
15487 esac |
15488 sort
15489 ) |
15490 sed '
15491 /^ac_cv_env_/b end
15492 t clear
15493 :clear
15494 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15495 t end
15496 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15497 :end' >>confcache
15498 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15499 if test -w "$cache_file"; then
15500 if test "x$cache_file" != "x/dev/null"; then
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15502 $as_echo "$as_me: updating cache $cache_file" >&6;}
15503 if test ! -f "$cache_file" || test -h "$cache_file"; then
15504 cat confcache >"$cache_file"
15505 else
15506 case $cache_file in #(
15507 */* | ?:*)
15508 mv -f confcache "$cache_file"$$ &&
15509 mv -f "$cache_file"$$ "$cache_file" ;; #(
15510 *)
15511 mv -f confcache "$cache_file" ;;
15512 esac
15513 fi
15514 fi
15515 else
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15517 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15518 fi
15519 fi
15520 rm -f confcache
15521
15522 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15523 # Let make expand exec_prefix.
15524 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15525
15526 DEFS=-DHAVE_CONFIG_H
15527
15528 ac_libobjs=
15529 ac_ltlibobjs=
15530 U=
15531 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15532 # 1. Remove the extension, and $U if already installed.
15533 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15534 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15535 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15536 # will be set to the directory where LIBOBJS objects are built.
15537 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15538 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15539 done
15540 LIB@&t@OBJS=$ac_libobjs
15541
15542 LTLIBOBJS=$ac_ltlibobjs
15543
15544
15545 if test -n "$EXEEXT"; then
15546 am__EXEEXT_TRUE=
15547 am__EXEEXT_FALSE='#'
15548 else
15549 am__EXEEXT_TRUE='#'
15550 am__EXEEXT_FALSE=
15551 fi
15552
15553 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15554 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15556 fi
15557 if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15558 as_fn_error $? "conditional \"HAS_SWIG\" was never defined.
15559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15560 fi
15561 if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15562 as_fn_error $? "conditional \"HAS_SWIG\" was never defined.
15563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15564 fi
15565 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15566 as_fn_error $? "conditional \"AMDEP\" was never defined.
15567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15568 fi
15569 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15570 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15572 fi
15573 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15574 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15576 fi
15577 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15578 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15580 fi
15581 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
15582 as_fn_error $? "conditional \"DEBUG\" was never defined.
15583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15584 fi
15585 if test -z "${OSM_VENDOR_TS_TRUE}" && test -z "${OSM_VENDOR_TS_FALSE}"; then
15586 as_fn_error $? "conditional \"OSM_VENDOR_TS\" was never defined.
15587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15588 fi
15589 if test -z "${OSM_VENDOR_MTL_TRUE}" && test -z "${OSM_VENDOR_MTL_FALSE}"; then
15590 as_fn_error $? "conditional \"OSM_VENDOR_MTL\" was never defined.
15591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15592 fi
15593 if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then
15594 as_fn_error $? "conditional \"OSM_VENDOR_SIM\" was never defined.
15595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15596 fi
15597 if test -z "${OSM_BUILD_OPENIB_TRUE}" && test -z "${OSM_BUILD_OPENIB_FALSE}"; then
15598 as_fn_error $? "conditional \"OSM_BUILD_OPENIB\" was never defined.
15599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15600 fi
15601
15602 : "${CONFIG_STATUS=./config.status}"
15603 ac_write_fail=0
15604 ac_clean_files_save=$ac_clean_files
15605 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15607 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15608 as_write_fail=0
15609 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15610 #! $SHELL
15611 # Generated by $as_me.
15612 # Run this file to recreate the current configuration.
15613 # Compiler output produced by configure, useful for debugging
15614 # configure, is in config.log if it exists.
15615
15616 debug=false
15617 ac_cs_recheck=false
15618 ac_cs_silent=false
15619
15620 SHELL=\${CONFIG_SHELL-$SHELL}
15621 export SHELL
15622 _ASEOF
15623 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15624 ## -------------------- ##
15625 ## M4sh Initialization. ##
15626 ## -------------------- ##
15627
15628 # Be more Bourne compatible
15629 DUALCASE=1; export DUALCASE # for MKS sh
15630 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15631 emulate sh
15632 NULLCMD=:
15633 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15634 # is contrary to our usage. Disable this feature.
15635 alias -g '${1+"$@"}'='"$@"'
15636 setopt NO_GLOB_SUBST
15637 else
15638 case `(set -o) 2>/dev/null` in @%:@(
15639 *posix*) :
15640 set -o posix ;; @%:@(
15641 *) :
15642 ;;
15643 esac
15644 fi
15645
15646
15647 as_nl='
15648 '
15649 export as_nl
15650 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15651 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15652 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15653 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15654 # Prefer a ksh shell builtin over an external printf program on Solaris,
15655 # but without wasting forks for bash or zsh.
15656 if test -z "$BASH_VERSION$ZSH_VERSION" \
15657 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15658 as_echo='print -r --'
15659 as_echo_n='print -rn --'
15660 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15661 as_echo='printf %s\n'
15662 as_echo_n='printf %s'
15663 else
15664 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15665 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15666 as_echo_n='/usr/ucb/echo -n'
15667 else
15668 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15669 as_echo_n_body='eval
15670 arg=$1;
15671 case $arg in @%:@(
15672 *"$as_nl"*)
15673 expr "X$arg" : "X\\(.*\\)$as_nl";
15674 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15675 esac;
15676 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15677 '
15678 export as_echo_n_body
15679 as_echo_n='sh -c $as_echo_n_body as_echo'
15680 fi
15681 export as_echo_body
15682 as_echo='sh -c $as_echo_body as_echo'
15683 fi
15684
15685 # The user is always right.
15686 if test "${PATH_SEPARATOR+set}" != set; then
15687 PATH_SEPARATOR=:
15688 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15689 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15690 PATH_SEPARATOR=';'
15691 }
15692 fi
15693
15694
15695 # IFS
15696 # We need space, tab and new line, in precisely that order. Quoting is
15697 # there to prevent editors from complaining about space-tab.
15698 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15699 # splitting by setting IFS to empty value.)
15700 IFS=" "" $as_nl"
15701
15702 # Find who we are. Look in the path if we contain no directory separator.
15703 as_myself=
15704 case $0 in @%:@((
15705 *[\\/]* ) as_myself=$0 ;;
15706 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15707 for as_dir in $PATH
15708 do
15709 IFS=$as_save_IFS
15710 test -z "$as_dir" && as_dir=.
15711 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15712 done
15713 IFS=$as_save_IFS
15714
15715 ;;
15716 esac
15717 # We did not find ourselves, most probably we were run as `sh COMMAND'
15718 # in which case we are not to be found in the path.
15719 if test "x$as_myself" = x; then
15720 as_myself=$0
15721 fi
15722 if test ! -f "$as_myself"; then
15723 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15724 exit 1
15725 fi
15726
15727 # Unset variables that we do not need and which cause bugs (e.g. in
15728 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15729 # suppresses any "Segmentation fault" message there. '((' could
15730 # trigger a bug in pdksh 5.2.14.
15731 for as_var in BASH_ENV ENV MAIL MAILPATH
15732 do eval test x\${$as_var+set} = xset \
15733 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15734 done
15735 PS1='$ '
15736 PS2='> '
15737 PS4='+ '
15738
15739 # NLS nuisances.
15740 LC_ALL=C
15741 export LC_ALL
15742 LANGUAGE=C
15743 export LANGUAGE
15744
15745 # CDPATH.
15746 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15747
15748
15749 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15750 @%:@ ----------------------------------------
15751 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15752 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15753 @%:@ script with STATUS, using 1 if that was 0.
15754 as_fn_error ()
15755 {
15756 as_status=$1; test $as_status -eq 0 && as_status=1
15757 if test "$4"; then
15758 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15759 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15760 fi
15761 $as_echo "$as_me: error: $2" >&2
15762 as_fn_exit $as_status
15763 } @%:@ as_fn_error
15764
15765
15766 @%:@ as_fn_set_status STATUS
15767 @%:@ -----------------------
15768 @%:@ Set @S|@? to STATUS, without forking.
15769 as_fn_set_status ()
15770 {
15771 return $1
15772 } @%:@ as_fn_set_status
15773
15774 @%:@ as_fn_exit STATUS
15775 @%:@ -----------------
15776 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15777 as_fn_exit ()
15778 {
15779 set +e
15780 as_fn_set_status $1
15781 exit $1
15782 } @%:@ as_fn_exit
15783
15784 @%:@ as_fn_unset VAR
15785 @%:@ ---------------
15786 @%:@ Portably unset VAR.
15787 as_fn_unset ()
15788 {
15789 { eval $1=; unset $1;}
15790 }
15791 as_unset=as_fn_unset
15792 @%:@ as_fn_append VAR VALUE
15793 @%:@ ----------------------
15794 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15795 @%:@ advantage of any shell optimizations that allow amortized linear growth over
15796 @%:@ repeated appends, instead of the typical quadratic growth present in naive
15797 @%:@ implementations.
15798 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15799 eval 'as_fn_append ()
15800 {
15801 eval $1+=\$2
15802 }'
15803 else
15804 as_fn_append ()
15805 {
15806 eval $1=\$$1\$2
15807 }
15808 fi # as_fn_append
15809
15810 @%:@ as_fn_arith ARG...
15811 @%:@ ------------------
15812 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15813 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15814 @%:@ must be portable across @S|@(()) and expr.
15815 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15816 eval 'as_fn_arith ()
15817 {
15818 as_val=$(( $* ))
15819 }'
15820 else
15821 as_fn_arith ()
15822 {
15823 as_val=`expr "$@" || test $? -eq 1`
15824 }
15825 fi # as_fn_arith
15826
15827
15828 if expr a : '\(a\)' >/dev/null 2>&1 &&
15829 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15830 as_expr=expr
15831 else
15832 as_expr=false
15833 fi
15834
15835 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15836 as_basename=basename
15837 else
15838 as_basename=false
15839 fi
15840
15841 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15842 as_dirname=dirname
15843 else
15844 as_dirname=false
15845 fi
15846
15847 as_me=`$as_basename -- "$0" ||
15848 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15849 X"$0" : 'X\(//\)$' \| \
15850 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15851 $as_echo X/"$0" |
15852 sed '/^.*\/\([^/][^/]*\)\/*$/{
15853 s//\1/
15854 q
15855 }
15856 /^X\/\(\/\/\)$/{
15857 s//\1/
15858 q
15859 }
15860 /^X\/\(\/\).*/{
15861 s//\1/
15862 q
15863 }
15864 s/.*/./; q'`
15865
15866 # Avoid depending upon Character Ranges.
15867 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15868 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15869 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15870 as_cr_digits='0123456789'
15871 as_cr_alnum=$as_cr_Letters$as_cr_digits
15872
15873 ECHO_C= ECHO_N= ECHO_T=
15874 case `echo -n x` in @%:@(((((
15875 -n*)
15876 case `echo 'xy\c'` in
15877 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15878 xy) ECHO_C='\c';;
15879 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15880 ECHO_T=' ';;
15881 esac;;
15882 *)
15883 ECHO_N='-n';;
15884 esac
15885
15886 rm -f conf$$ conf$$.exe conf$$.file
15887 if test -d conf$$.dir; then
15888 rm -f conf$$.dir/conf$$.file
15889 else
15890 rm -f conf$$.dir
15891 mkdir conf$$.dir 2>/dev/null
15892 fi
15893 if (echo >conf$$.file) 2>/dev/null; then
15894 if ln -s conf$$.file conf$$ 2>/dev/null; then
15895 as_ln_s='ln -s'
15896 # ... but there are two gotchas:
15897 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15898 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15899 # In both cases, we have to default to `cp -pR'.
15900 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15901 as_ln_s='cp -pR'
15902 elif ln conf$$.file conf$$ 2>/dev/null; then
15903 as_ln_s=ln
15904 else
15905 as_ln_s='cp -pR'
15906 fi
15907 else
15908 as_ln_s='cp -pR'
15909 fi
15910 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15911 rmdir conf$$.dir 2>/dev/null
15912
15913
15914 @%:@ as_fn_mkdir_p
15915 @%:@ -------------
15916 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15917 as_fn_mkdir_p ()
15918 {
15919
15920 case $as_dir in #(
15921 -*) as_dir=./$as_dir;;
15922 esac
15923 test -d "$as_dir" || eval $as_mkdir_p || {
15924 as_dirs=
15925 while :; do
15926 case $as_dir in #(
15927 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15928 *) as_qdir=$as_dir;;
15929 esac
15930 as_dirs="'$as_qdir' $as_dirs"
15931 as_dir=`$as_dirname -- "$as_dir" ||
15932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15933 X"$as_dir" : 'X\(//\)[^/]' \| \
15934 X"$as_dir" : 'X\(//\)$' \| \
15935 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15936 $as_echo X"$as_dir" |
15937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15938 s//\1/
15939 q
15940 }
15941 /^X\(\/\/\)[^/].*/{
15942 s//\1/
15943 q
15944 }
15945 /^X\(\/\/\)$/{
15946 s//\1/
15947 q
15948 }
15949 /^X\(\/\).*/{
15950 s//\1/
15951 q
15952 }
15953 s/.*/./; q'`
15954 test -d "$as_dir" && break
15955 done
15956 test -z "$as_dirs" || eval "mkdir $as_dirs"
15957 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15958
15959
15960 } @%:@ as_fn_mkdir_p
15961 if mkdir -p . 2>/dev/null; then
15962 as_mkdir_p='mkdir -p "$as_dir"'
15963 else
15964 test -d ./-p && rmdir ./-p
15965 as_mkdir_p=false
15966 fi
15967
15968
15969 @%:@ as_fn_executable_p FILE
15970 @%:@ -----------------------
15971 @%:@ Test if FILE is an executable regular file.
15972 as_fn_executable_p ()
15973 {
15974 test -f "$1" && test -x "$1"
15975 } @%:@ as_fn_executable_p
15976 as_test_x='test -x'
15977 as_executable_p=as_fn_executable_p
15978
15979 # Sed expression to map a string onto a valid CPP name.
15980 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15981
15982 # Sed expression to map a string onto a valid variable name.
15983 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15984
15985
15986 exec 6>&1
15987 ## ----------------------------------- ##
15988 ## Main body of $CONFIG_STATUS script. ##
15989 ## ----------------------------------- ##
15990 _ASEOF
15991 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15992
15993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15994 # Save the log message, to keep $0 and so on meaningful, and to
15995 # report actual input values of CONFIG_FILES etc. instead of their
15996 # values after options handling.
15997 ac_log="
15998 This file was extended by ibis $as_me 1.5.7, which was
15999 generated by GNU Autoconf 2.69. Invocation command line was
16000
16001 CONFIG_FILES = $CONFIG_FILES
16002 CONFIG_HEADERS = $CONFIG_HEADERS
16003 CONFIG_LINKS = $CONFIG_LINKS
16004 CONFIG_COMMANDS = $CONFIG_COMMANDS
16005 $ $0 $@
16006
16007 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16008 "
16009
16010 _ACEOF
16011
16012 case $ac_config_files in *"
16013 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16014 esac
16015
16016 case $ac_config_headers in *"
16017 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16018 esac
16019
16020
16021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16022 # Files that config.status was made for.
16023 config_files="$ac_config_files"
16024 config_headers="$ac_config_headers"
16025 config_commands="$ac_config_commands"
16026
16027 _ACEOF
16028
16029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16030 ac_cs_usage="\
16031 \`$as_me' instantiates files and other configuration actions
16032 from templates according to the current configuration. Unless the files
16033 and actions are specified as TAGs, all are instantiated by default.
16034
16035 Usage: $0 [OPTION]... [TAG]...
16036
16037 -h, --help print this help, then exit
16038 -V, --version print version number and configuration settings, then exit
16039 --config print configuration, then exit
16040 -q, --quiet, --silent
16041 do not print progress messages
16042 -d, --debug don't remove temporary files
16043 --recheck update $as_me by reconfiguring in the same conditions
16044 --file=FILE[:TEMPLATE]
16045 instantiate the configuration file FILE
16046 --header=FILE[:TEMPLATE]
16047 instantiate the configuration header FILE
16048
16049 Configuration files:
16050 $config_files
16051
16052 Configuration headers:
16053 $config_headers
16054
16055 Configuration commands:
16056 $config_commands
16057
16058 Report bugs to the package provider."
16059
16060 _ACEOF
16061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16062 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16063 ac_cs_version="\\
16064 ibis config.status 1.5.7
16065 configured by $0, generated by GNU Autoconf 2.69,
16066 with options \\"\$ac_cs_config\\"
16067
16068 Copyright (C) 2012 Free Software Foundation, Inc.
16069 This config.status script is free software; the Free Software Foundation
16070 gives unlimited permission to copy, distribute and modify it."
16071
16072 ac_pwd='$ac_pwd'
16073 srcdir='$srcdir'
16074 INSTALL='$INSTALL'
16075 MKDIR_P='$MKDIR_P'
16076 AWK='$AWK'
16077 test -n "\$AWK" || AWK=awk
16078 _ACEOF
16079
16080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16081 # The default lists apply if the user does not specify any file.
16082 ac_need_defaults=:
16083 while test $# != 0
16084 do
16085 case $1 in
16086 --*=?*)
16087 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16088 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16089 ac_shift=:
16090 ;;
16091 --*=)
16092 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16093 ac_optarg=
16094 ac_shift=:
16095 ;;
16096 *)
16097 ac_option=$1
16098 ac_optarg=$2
16099 ac_shift=shift
16100 ;;
16101 esac
16102
16103 case $ac_option in
16104 # Handling of the options.
16105 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16106 ac_cs_recheck=: ;;
16107 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16108 $as_echo "$ac_cs_version"; exit ;;
16109 --config | --confi | --conf | --con | --co | --c )
16110 $as_echo "$ac_cs_config"; exit ;;
16111 --debug | --debu | --deb | --de | --d | -d )
16112 debug=: ;;
16113 --file | --fil | --fi | --f )
16114 $ac_shift
16115 case $ac_optarg in
16116 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16117 '') as_fn_error $? "missing file argument" ;;
16118 esac
16119 as_fn_append CONFIG_FILES " '$ac_optarg'"
16120 ac_need_defaults=false;;
16121 --header | --heade | --head | --hea )
16122 $ac_shift
16123 case $ac_optarg in
16124 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16125 esac
16126 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16127 ac_need_defaults=false;;
16128 --he | --h)
16129 # Conflict between --help and --header
16130 as_fn_error $? "ambiguous option: \`$1'
16131 Try \`$0 --help' for more information.";;
16132 --help | --hel | -h )
16133 $as_echo "$ac_cs_usage"; exit ;;
16134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16135 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16136 ac_cs_silent=: ;;
16137
16138 # This is an error.
16139 -*) as_fn_error $? "unrecognized option: \`$1'
16140 Try \`$0 --help' for more information." ;;
16141
16142 *) as_fn_append ac_config_targets " $1"
16143 ac_need_defaults=false ;;
16144
16145 esac
16146 shift
16147 done
16148
16149 ac_configure_extra_args=
16150
16151 if $ac_cs_silent; then
16152 exec 6>/dev/null
16153 ac_configure_extra_args="$ac_configure_extra_args --silent"
16154 fi
16155
16156 _ACEOF
16157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16158 if \$ac_cs_recheck; then
16159 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16160 shift
16161 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16162 CONFIG_SHELL='$SHELL'
16163 export CONFIG_SHELL
16164 exec "\$@"
16165 fi
16166
16167 _ACEOF
16168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16169 exec 5>>config.log
16170 {
16171 echo
16172 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16173 @%:@@%:@ Running $as_me. @%:@@%:@
16174 _ASBOX
16175 $as_echo "$ac_log"
16176 } >&5
16177
16178 _ACEOF
16179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16180 #
16181 # INIT-COMMANDS
16182 #
16183 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16184
16185
16186 # The HP-UX ksh and POSIX shell print the target directory to stdout
16187 # if CDPATH is set.
16188 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16189
16190 sed_quote_subst='$sed_quote_subst'
16191 double_quote_subst='$double_quote_subst'
16192 delay_variable_subst='$delay_variable_subst'
16193 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16194 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16195 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16196 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16197 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16198 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16199 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16200 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16201 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16202 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16203 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16204 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16205 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16206 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16207 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16208 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16209 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16210 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16211 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16212 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16213 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16214 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16215 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16216 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16217 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16218 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16219 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16220 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16221 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16222 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16223 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16224 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16225 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16226 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16227 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16228 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16229 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16230 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16231 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16232 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16233 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16234 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16235 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16236 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16237 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16238 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16239 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16240 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16241 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16242 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16243 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16244 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16245 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16246 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16247 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16248 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16249 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16250 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16251 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16252 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16253 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16254 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16255 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16256 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16257 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16258 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16259 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16260 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16261 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16262 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16263 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16264 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16265 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16266 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16267 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16268 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16269 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16270 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16271 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16272 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16273 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16274 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16275 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16276 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16277 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16278 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16279 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16280 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16281 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16282 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16283 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16284 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16285 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16286 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16287 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16288 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16289 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16290 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16291 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16292 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16293 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16294 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16295 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16296 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16297 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16298 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16299 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16300 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16301 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16302 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16303 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16304 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16305 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16306 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16307 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16308 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16309 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16310 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16311 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16312 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16313 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16314 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16315 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16316 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16317 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16318 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16319 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16320 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16321 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16322 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16323 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16324 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16325 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16326 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16327 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16328 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16329 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16330 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16331 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16332 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16333 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16334 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16335 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16336 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16337 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16338 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16339 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16340 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16341 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16342 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16343 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16344 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16345 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16346 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16347 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16348 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16349 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16350 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16351 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16352 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16353 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16354 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16355 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16356 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16357 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16358 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16359 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16360 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16361 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16362 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16363 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16364
16365 LTCC='$LTCC'
16366 LTCFLAGS='$LTCFLAGS'
16367 compiler='$compiler_DEFAULT'
16368
16369 # Quote evaled strings.
16370 for var in SED \
16371 GREP \
16372 EGREP \
16373 FGREP \
16374 LD \
16375 NM \
16376 LN_S \
16377 lt_SP2NL \
16378 lt_NL2SP \
16379 reload_flag \
16380 OBJDUMP \
16381 deplibs_check_method \
16382 file_magic_cmd \
16383 AR \
16384 AR_FLAGS \
16385 STRIP \
16386 RANLIB \
16387 CC \
16388 CFLAGS \
16389 compiler \
16390 lt_cv_sys_global_symbol_pipe \
16391 lt_cv_sys_global_symbol_to_cdecl \
16392 lt_cv_sys_global_symbol_to_c_name_address \
16393 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16394 SHELL \
16395 ECHO \
16396 lt_prog_compiler_no_builtin_flag \
16397 lt_prog_compiler_wl \
16398 lt_prog_compiler_pic \
16399 lt_prog_compiler_static \
16400 lt_cv_prog_compiler_c_o \
16401 need_locks \
16402 DSYMUTIL \
16403 NMEDIT \
16404 LIPO \
16405 OTOOL \
16406 OTOOL64 \
16407 shrext_cmds \
16408 export_dynamic_flag_spec \
16409 whole_archive_flag_spec \
16410 compiler_needs_object \
16411 with_gnu_ld \
16412 allow_undefined_flag \
16413 no_undefined_flag \
16414 hardcode_libdir_flag_spec \
16415 hardcode_libdir_flag_spec_ld \
16416 hardcode_libdir_separator \
16417 fix_srcfile_path \
16418 exclude_expsyms \
16419 include_expsyms \
16420 file_list_spec \
16421 variables_saved_for_relink \
16422 libname_spec \
16423 library_names_spec \
16424 soname_spec \
16425 finish_eval \
16426 old_striplib \
16427 striplib \
16428 compiler_lib_search_dirs \
16429 predep_objects \
16430 postdep_objects \
16431 predeps \
16432 postdeps \
16433 compiler_lib_search_path \
16434 LD_CXX \
16435 compiler_CXX \
16436 lt_prog_compiler_no_builtin_flag_CXX \
16437 lt_prog_compiler_wl_CXX \
16438 lt_prog_compiler_pic_CXX \
16439 lt_prog_compiler_static_CXX \
16440 lt_cv_prog_compiler_c_o_CXX \
16441 export_dynamic_flag_spec_CXX \
16442 whole_archive_flag_spec_CXX \
16443 compiler_needs_object_CXX \
16444 with_gnu_ld_CXX \
16445 allow_undefined_flag_CXX \
16446 no_undefined_flag_CXX \
16447 hardcode_libdir_flag_spec_CXX \
16448 hardcode_libdir_flag_spec_ld_CXX \
16449 hardcode_libdir_separator_CXX \
16450 fix_srcfile_path_CXX \
16451 exclude_expsyms_CXX \
16452 include_expsyms_CXX \
16453 file_list_spec_CXX \
16454 compiler_lib_search_dirs_CXX \
16455 predep_objects_CXX \
16456 postdep_objects_CXX \
16457 predeps_CXX \
16458 postdeps_CXX \
16459 compiler_lib_search_path_CXX; do
16460 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16461 *[\\\\\\\`\\"\\\$]*)
16462 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16463 ;;
16464 *)
16465 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16466 ;;
16467 esac
16468 done
16469
16470 # Double-quote double-evaled strings.
16471 for var in reload_cmds \
16472 old_postinstall_cmds \
16473 old_postuninstall_cmds \
16474 old_archive_cmds \
16475 extract_expsyms_cmds \
16476 old_archive_from_new_cmds \
16477 old_archive_from_expsyms_cmds \
16478 archive_cmds \
16479 archive_expsym_cmds \
16480 module_cmds \
16481 module_expsym_cmds \
16482 export_symbols_cmds \
16483 prelink_cmds \
16484 postinstall_cmds \
16485 postuninstall_cmds \
16486 finish_cmds \
16487 sys_lib_search_path_spec \
16488 sys_lib_dlsearch_path_spec \
16489 old_archive_cmds_CXX \
16490 old_archive_from_new_cmds_CXX \
16491 old_archive_from_expsyms_cmds_CXX \
16492 archive_cmds_CXX \
16493 archive_expsym_cmds_CXX \
16494 module_cmds_CXX \
16495 module_expsym_cmds_CXX \
16496 export_symbols_cmds_CXX \
16497 prelink_cmds_CXX; do
16498 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16499 *[\\\\\\\`\\"\\\$]*)
16500 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16501 ;;
16502 *)
16503 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16504 ;;
16505 esac
16506 done
16507
16508 # Fix-up fallback echo if it was mangled by the above quoting rules.
16509 case \$lt_ECHO in
16510 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16511 ;;
16512 esac
16513
16514 ac_aux_dir='$ac_aux_dir'
16515 xsi_shell='$xsi_shell'
16516 lt_shell_append='$lt_shell_append'
16517
16518 # See if we are running on zsh, and set the options which allow our
16519 # commands through without removal of \ escapes INIT.
16520 if test -n "\${ZSH_VERSION+set}" ; then
16521 setopt NO_GLOB_SUBST
16522 fi
16523
16524
16525 PACKAGE='$PACKAGE'
16526 VERSION='$VERSION'
16527 TIMESTAMP='$TIMESTAMP'
16528 RM='$RM'
16529 ofile='$ofile'
16530
16531
16532
16533
16534
16535
16536 _ACEOF
16537
16538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16539
16540 # Handling of arguments.
16541 for ac_config_target in $ac_config_targets
16542 do
16543 case $ac_config_target in
16544 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16545 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16546 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16547 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16548 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16549 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16550 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16551
16552 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16553 esac
16554 done
16555
16556
16557 # If the user did not use the arguments to specify the items to instantiate,
16558 # then the envvar interface is used. Set only those that are not.
16559 # We use the long form for the default assignment because of an extremely
16560 # bizarre bug on SunOS 4.1.3.
16561 if $ac_need_defaults; then
16562 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16563 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16564 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16565 fi
16566
16567 # Have a temporary directory for convenience. Make it in the build tree
16568 # simply because there is no reason against having it here, and in addition,
16569 # creating and moving files from /tmp can sometimes cause problems.
16570 # Hook for its removal unless debugging.
16571 # Note that there is a small window in which the directory will not be cleaned:
16572 # after its creation but before its name has been assigned to `$tmp'.
16573 $debug ||
16574 {
16575 tmp= ac_tmp=
16576 trap 'exit_status=$?
16577 : "${ac_tmp:=$tmp}"
16578 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16579 ' 0
16580 trap 'as_fn_exit 1' 1 2 13 15
16581 }
16582 # Create a (secure) tmp directory for tmp files.
16583
16584 {
16585 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16586 test -d "$tmp"
16587 } ||
16588 {
16589 tmp=./conf$$-$RANDOM
16590 (umask 077 && mkdir "$tmp")
16591 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16592 ac_tmp=$tmp
16593
16594 # Set up the scripts for CONFIG_FILES section.
16595 # No need to generate them if there are no CONFIG_FILES.
16596 # This happens for instance with `./config.status config.h'.
16597 if test -n "$CONFIG_FILES"; then
16598
16599
16600 ac_cr=`echo X | tr X '\015'`
16601 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16602 # But we know of no other shell where ac_cr would be empty at this
16603 # point, so we can use a bashism as a fallback.
16604 if test "x$ac_cr" = x; then
16605 eval ac_cr=\$\'\\r\'
16606 fi
16607 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16608 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16609 ac_cs_awk_cr='\\r'
16610 else
16611 ac_cs_awk_cr=$ac_cr
16612 fi
16613
16614 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16615 _ACEOF
16616
16617
16618 {
16619 echo "cat >conf$$subs.awk <<_ACEOF" &&
16620 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16621 echo "_ACEOF"
16622 } >conf$$subs.sh ||
16623 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16624 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16625 ac_delim='%!_!# '
16626 for ac_last_try in false false false false false :; do
16627 . ./conf$$subs.sh ||
16628 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16629
16630 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16631 if test $ac_delim_n = $ac_delim_num; then
16632 break
16633 elif $ac_last_try; then
16634 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16635 else
16636 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16637 fi
16638 done
16639 rm -f conf$$subs.sh
16640
16641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16642 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16643 _ACEOF
16644 sed -n '
16645 h
16646 s/^/S["/; s/!.*/"]=/
16647 p
16648 g
16649 s/^[^!]*!//
16650 :repl
16651 t repl
16652 s/'"$ac_delim"'$//
16653 t delim
16654 :nl
16655 h
16656 s/\(.\{148\}\)..*/\1/
16657 t more1
16658 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16659 p
16660 n
16661 b repl
16662 :more1
16663 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16664 p
16665 g
16666 s/.\{148\}//
16667 t nl
16668 :delim
16669 h
16670 s/\(.\{148\}\)..*/\1/
16671 t more2
16672 s/["\\]/\\&/g; s/^/"/; s/$/"/
16673 p
16674 b
16675 :more2
16676 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16677 p
16678 g
16679 s/.\{148\}//
16680 t delim
16681 ' <conf$$subs.awk | sed '
16682 /^[^""]/{
16683 N
16684 s/\n//
16685 }
16686 ' >>$CONFIG_STATUS || ac_write_fail=1
16687 rm -f conf$$subs.awk
16688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16689 _ACAWK
16690 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16691 for (key in S) S_is_set[key] = 1
16692 FS = ""
16693
16694 }
16695 {
16696 line = $ 0
16697 nfields = split(line, field, "@")
16698 substed = 0
16699 len = length(field[1])
16700 for (i = 2; i < nfields; i++) {
16701 key = field[i]
16702 keylen = length(key)
16703 if (S_is_set[key]) {
16704 value = S[key]
16705 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16706 len += length(value) + length(field[++i])
16707 substed = 1
16708 } else
16709 len += 1 + keylen
16710 }
16711
16712 print line
16713 }
16714
16715 _ACAWK
16716 _ACEOF
16717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16718 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16719 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16720 else
16721 cat
16722 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16723 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16724 _ACEOF
16725
16726 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16727 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16728 # trailing colons and then remove the whole line if VPATH becomes empty
16729 # (actually we leave an empty line to preserve line numbers).
16730 if test "x$srcdir" = x.; then
16731 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16732 h
16733 s///
16734 s/^/:/
16735 s/[ ]*$/:/
16736 s/:\$(srcdir):/:/g
16737 s/:\${srcdir}:/:/g
16738 s/:@srcdir@:/:/g
16739 s/^:*//
16740 s/:*$//
16741 x
16742 s/\(=[ ]*\).*/\1/
16743 G
16744 s/\n//
16745 s/^[^=]*=[ ]*$//
16746 }'
16747 fi
16748
16749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16750 fi # test -n "$CONFIG_FILES"
16751
16752 # Set up the scripts for CONFIG_HEADERS section.
16753 # No need to generate them if there are no CONFIG_HEADERS.
16754 # This happens for instance with `./config.status Makefile'.
16755 if test -n "$CONFIG_HEADERS"; then
16756 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16757 BEGIN {
16758 _ACEOF
16759
16760 # Transform confdefs.h into an awk script `defines.awk', embedded as
16761 # here-document in config.status, that substitutes the proper values into
16762 # config.h.in to produce config.h.
16763
16764 # Create a delimiter string that does not exist in confdefs.h, to ease
16765 # handling of long lines.
16766 ac_delim='%!_!# '
16767 for ac_last_try in false false :; do
16768 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16769 if test -z "$ac_tt"; then
16770 break
16771 elif $ac_last_try; then
16772 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16773 else
16774 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16775 fi
16776 done
16777
16778 # For the awk script, D is an array of macro values keyed by name,
16779 # likewise P contains macro parameters if any. Preserve backslash
16780 # newline sequences.
16781
16782 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16783 sed -n '
16784 s/.\{148\}/&'"$ac_delim"'/g
16785 t rset
16786 :rset
16787 s/^[ ]*#[ ]*define[ ][ ]*/ /
16788 t def
16789 d
16790 :def
16791 s/\\$//
16792 t bsnl
16793 s/["\\]/\\&/g
16794 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16795 D["\1"]=" \3"/p
16796 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16797 d
16798 :bsnl
16799 s/["\\]/\\&/g
16800 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16801 D["\1"]=" \3\\\\\\n"\\/p
16802 t cont
16803 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16804 t cont
16805 d
16806 :cont
16807 n
16808 s/.\{148\}/&'"$ac_delim"'/g
16809 t clear
16810 :clear
16811 s/\\$//
16812 t bsnlc
16813 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16814 d
16815 :bsnlc
16816 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16817 b cont
16818 ' <confdefs.h | sed '
16819 s/'"$ac_delim"'/"\\\
16820 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16821
16822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16823 for (key in D) D_is_set[key] = 1
16824 FS = ""
16825 }
16826 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16827 line = \$ 0
16828 split(line, arg, " ")
16829 if (arg[1] == "#") {
16830 defundef = arg[2]
16831 mac1 = arg[3]
16832 } else {
16833 defundef = substr(arg[1], 2)
16834 mac1 = arg[2]
16835 }
16836 split(mac1, mac2, "(") #)
16837 macro = mac2[1]
16838 prefix = substr(line, 1, index(line, defundef) - 1)
16839 if (D_is_set[macro]) {
16840 # Preserve the white space surrounding the "#".
16841 print prefix "define", macro P[macro] D[macro]
16842 next
16843 } else {
16844 # Replace #undef with comments. This is necessary, for example,
16845 # in the case of _POSIX_SOURCE, which is predefined and required
16846 # on some systems where configure will not decide to define it.
16847 if (defundef == "undef") {
16848 print "/*", prefix defundef, macro, "*/"
16849 next
16850 }
16851 }
16852 }
16853 { print }
16854 _ACAWK
16855 _ACEOF
16856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16857 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16858 fi # test -n "$CONFIG_HEADERS"
16859
16860
16861 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16862 shift
16863 for ac_tag
16864 do
16865 case $ac_tag in
16866 :[FHLC]) ac_mode=$ac_tag; continue;;
16867 esac
16868 case $ac_mode$ac_tag in
16869 :[FHL]*:*);;
16870 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16871 :[FH]-) ac_tag=-:-;;
16872 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16873 esac
16874 ac_save_IFS=$IFS
16875 IFS=:
16876 set x $ac_tag
16877 IFS=$ac_save_IFS
16878 shift
16879 ac_file=$1
16880 shift
16881
16882 case $ac_mode in
16883 :L) ac_source=$1;;
16884 :[FH])
16885 ac_file_inputs=
16886 for ac_f
16887 do
16888 case $ac_f in
16889 -) ac_f="$ac_tmp/stdin";;
16890 *) # Look for the file first in the build tree, then in the source tree
16891 # (if the path is not absolute). The absolute path cannot be DOS-style,
16892 # because $ac_f cannot contain `:'.
16893 test -f "$ac_f" ||
16894 case $ac_f in
16895 [\\/$]*) false;;
16896 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16897 esac ||
16898 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16899 esac
16900 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16901 as_fn_append ac_file_inputs " '$ac_f'"
16902 done
16903
16904 # Let's still pretend it is `configure' which instantiates (i.e., don't
16905 # use $as_me), people would be surprised to read:
16906 # /* config.h. Generated by config.status. */
16907 configure_input='Generated from '`
16908 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16909 `' by configure.'
16910 if test x"$ac_file" != x-; then
16911 configure_input="$ac_file. $configure_input"
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16913 $as_echo "$as_me: creating $ac_file" >&6;}
16914 fi
16915 # Neutralize special characters interpreted by sed in replacement strings.
16916 case $configure_input in #(
16917 *\&* | *\|* | *\\* )
16918 ac_sed_conf_input=`$as_echo "$configure_input" |
16919 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16920 *) ac_sed_conf_input=$configure_input;;
16921 esac
16922
16923 case $ac_tag in
16924 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16925 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16926 esac
16927 ;;
16928 esac
16929
16930 ac_dir=`$as_dirname -- "$ac_file" ||
16931 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16932 X"$ac_file" : 'X\(//\)[^/]' \| \
16933 X"$ac_file" : 'X\(//\)$' \| \
16934 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16935 $as_echo X"$ac_file" |
16936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16937 s//\1/
16938 q
16939 }
16940 /^X\(\/\/\)[^/].*/{
16941 s//\1/
16942 q
16943 }
16944 /^X\(\/\/\)$/{
16945 s//\1/
16946 q
16947 }
16948 /^X\(\/\).*/{
16949 s//\1/
16950 q
16951 }
16952 s/.*/./; q'`
16953 as_dir="$ac_dir"; as_fn_mkdir_p
16954 ac_builddir=.
16955
16956 case "$ac_dir" in
16957 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16958 *)
16959 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16960 # A ".." for each directory in $ac_dir_suffix.
16961 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16962 case $ac_top_builddir_sub in
16963 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16964 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16965 esac ;;
16966 esac
16967 ac_abs_top_builddir=$ac_pwd
16968 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16969 # for backward compatibility:
16970 ac_top_builddir=$ac_top_build_prefix
16971
16972 case $srcdir in
16973 .) # We are building in place.
16974 ac_srcdir=.
16975 ac_top_srcdir=$ac_top_builddir_sub
16976 ac_abs_top_srcdir=$ac_pwd ;;
16977 [\\/]* | ?:[\\/]* ) # Absolute name.
16978 ac_srcdir=$srcdir$ac_dir_suffix;
16979 ac_top_srcdir=$srcdir
16980 ac_abs_top_srcdir=$srcdir ;;
16981 *) # Relative name.
16982 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16983 ac_top_srcdir=$ac_top_build_prefix$srcdir
16984 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16985 esac
16986 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16987
16988
16989 case $ac_mode in
16990 :F)
16991 #
16992 # CONFIG_FILE
16993 #
16994
16995 case $INSTALL in
16996 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16997 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16998 esac
16999 ac_MKDIR_P=$MKDIR_P
17000 case $MKDIR_P in
17001 [\\/$]* | ?:[\\/]* ) ;;
17002 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17003 esac
17004 _ACEOF
17005
17006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17007 # If the template does not know about datarootdir, expand it.
17008 # FIXME: This hack should be removed a few years after 2.60.
17009 ac_datarootdir_hack=; ac_datarootdir_seen=
17010 ac_sed_dataroot='
17011 /datarootdir/ {
17012 p
17013 q
17014 }
17015 /@datadir@/p
17016 /@docdir@/p
17017 /@infodir@/p
17018 /@localedir@/p
17019 /@mandir@/p'
17020 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17021 *datarootdir*) ac_datarootdir_seen=yes;;
17022 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17024 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17025 _ACEOF
17026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17027 ac_datarootdir_hack='
17028 s&@datadir@&$datadir&g
17029 s&@docdir@&$docdir&g
17030 s&@infodir@&$infodir&g
17031 s&@localedir@&$localedir&g
17032 s&@mandir@&$mandir&g
17033 s&\\\${datarootdir}&$datarootdir&g' ;;
17034 esac
17035 _ACEOF
17036
17037 # Neutralize VPATH when `$srcdir' = `.'.
17038 # Shell code in configure.ac might set extrasub.
17039 # FIXME: do we really want to maintain this feature?
17040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17041 ac_sed_extra="$ac_vpsub
17042 $extrasub
17043 _ACEOF
17044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17045 :t
17046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17047 s|@configure_input@|$ac_sed_conf_input|;t t
17048 s&@top_builddir@&$ac_top_builddir_sub&;t t
17049 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17050 s&@srcdir@&$ac_srcdir&;t t
17051 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17052 s&@top_srcdir@&$ac_top_srcdir&;t t
17053 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17054 s&@builddir@&$ac_builddir&;t t
17055 s&@abs_builddir@&$ac_abs_builddir&;t t
17056 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17057 s&@INSTALL@&$ac_INSTALL&;t t
17058 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17059 $ac_datarootdir_hack
17060 "
17061 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17062 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17063
17064 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17065 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17066 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17067 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17069 which seems to be undefined. Please make sure it is defined" >&5
17070 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17071 which seems to be undefined. Please make sure it is defined" >&2;}
17072
17073 rm -f "$ac_tmp/stdin"
17074 case $ac_file in
17075 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17076 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17077 esac \
17078 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17079 ;;
17080 :H)
17081 #
17082 # CONFIG_HEADER
17083 #
17084 if test x"$ac_file" != x-; then
17085 {
17086 $as_echo "/* $configure_input */" \
17087 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17088 } >"$ac_tmp/config.h" \
17089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17090 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17092 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17093 else
17094 rm -f "$ac_file"
17095 mv "$ac_tmp/config.h" "$ac_file" \
17096 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17097 fi
17098 else
17099 $as_echo "/* $configure_input */" \
17100 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17101 || as_fn_error $? "could not create -" "$LINENO" 5
17102 fi
17103 # Compute "$ac_file"'s index in $config_headers.
17104 _am_arg="$ac_file"
17105 _am_stamp_count=1
17106 for _am_header in $config_headers :; do
17107 case $_am_header in
17108 $_am_arg | $_am_arg:* )
17109 break ;;
17110 * )
17111 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17112 esac
17113 done
17114 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17115 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17116 X"$_am_arg" : 'X\(//\)[^/]' \| \
17117 X"$_am_arg" : 'X\(//\)$' \| \
17118 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17119 $as_echo X"$_am_arg" |
17120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17121 s//\1/
17122 q
17123 }
17124 /^X\(\/\/\)[^/].*/{
17125 s//\1/
17126 q
17127 }
17128 /^X\(\/\/\)$/{
17129 s//\1/
17130 q
17131 }
17132 /^X\(\/\).*/{
17133 s//\1/
17134 q
17135 }
17136 s/.*/./; q'`/stamp-h$_am_stamp_count
17137 ;;
17138
17139 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17140 $as_echo "$as_me: executing $ac_file commands" >&6;}
17141 ;;
17142 esac
17143
17144
17145 case $ac_file$ac_mode in
17146 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17147 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17148 # are listed without --file. Let's play safe and only enable the eval
17149 # if we detect the quoting.
17150 case $CONFIG_FILES in
17151 *\'*) eval set x "$CONFIG_FILES" ;;
17152 *) set x $CONFIG_FILES ;;
17153 esac
17154 shift
17155 for mf
17156 do
17157 # Strip MF so we end up with the name of the file.
17158 mf=`echo "$mf" | sed -e 's/:.*$//'`
17159 # Check whether this is an Automake generated Makefile or not.
17160 # We used to match only the files named `Makefile.in', but
17161 # some people rename them; so instead we look at the file content.
17162 # Grep'ing the first line is not enough: some people post-process
17163 # each Makefile.in and add a new line on top of each file to say so.
17164 # Grep'ing the whole file is not good either: AIX grep has a line
17165 # limit of 2048, but all sed's we know have understand at least 4000.
17166 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17167 dirpart=`$as_dirname -- "$mf" ||
17168 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17169 X"$mf" : 'X\(//\)[^/]' \| \
17170 X"$mf" : 'X\(//\)$' \| \
17171 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17172 $as_echo X"$mf" |
17173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17174 s//\1/
17175 q
17176 }
17177 /^X\(\/\/\)[^/].*/{
17178 s//\1/
17179 q
17180 }
17181 /^X\(\/\/\)$/{
17182 s//\1/
17183 q
17184 }
17185 /^X\(\/\).*/{
17186 s//\1/
17187 q
17188 }
17189 s/.*/./; q'`
17190 else
17191 continue
17192 fi
17193 # Extract the definition of DEPDIR, am__include, and am__quote
17194 # from the Makefile without running `make'.
17195 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17196 test -z "$DEPDIR" && continue
17197 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17198 test -z "am__include" && continue
17199 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17200 # When using ansi2knr, U may be empty or an underscore; expand it
17201 U=`sed -n 's/^U = //p' < "$mf"`
17202 # Find all dependency output files, they are included files with
17203 # $(DEPDIR) in their names. We invoke sed twice because it is the
17204 # simplest approach to changing $(DEPDIR) to its actual value in the
17205 # expansion.
17206 for file in `sed -n "
17207 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17208 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17209 # Make sure the directory exists.
17210 test -f "$dirpart/$file" && continue
17211 fdir=`$as_dirname -- "$file" ||
17212 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17213 X"$file" : 'X\(//\)[^/]' \| \
17214 X"$file" : 'X\(//\)$' \| \
17215 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17216 $as_echo X"$file" |
17217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17218 s//\1/
17219 q
17220 }
17221 /^X\(\/\/\)[^/].*/{
17222 s//\1/
17223 q
17224 }
17225 /^X\(\/\/\)$/{
17226 s//\1/
17227 q
17228 }
17229 /^X\(\/\).*/{
17230 s//\1/
17231 q
17232 }
17233 s/.*/./; q'`
17234 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17235 # echo "creating $dirpart/$file"
17236 echo '# dummy' > "$dirpart/$file"
17237 done
17238 done
17239 }
17240 ;;
17241 "libtool":C)
17242
17243 # See if we are running on zsh, and set the options which allow our
17244 # commands through without removal of \ escapes.
17245 if test -n "${ZSH_VERSION+set}" ; then
17246 setopt NO_GLOB_SUBST
17247 fi
17248
17249 cfgfile="${ofile}T"
17250 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17251 $RM "$cfgfile"
17252
17253 cat <<_LT_EOF >> "$cfgfile"
17254 #! $SHELL
17255
17256 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17257 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17258 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17259 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17260 #
17261 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17262 # 2006, 2007, 2008 Free Software Foundation, Inc.
17263 # Written by Gordon Matzigkeit, 1996
17264 #
17265 # This file is part of GNU Libtool.
17266 #
17267 # GNU Libtool is free software; you can redistribute it and/or
17268 # modify it under the terms of the GNU General Public License as
17269 # published by the Free Software Foundation; either version 2 of
17270 # the License, or (at your option) any later version.
17271 #
17272 # As a special exception to the GNU General Public License,
17273 # if you distribute this file as part of a program or library that
17274 # is built using GNU Libtool, you may include this file under the
17275 # same distribution terms that you use for the rest of that program.
17276 #
17277 # GNU Libtool is distributed in the hope that it will be useful,
17278 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17279 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17280 # GNU General Public License for more details.
17281 #
17282 # You should have received a copy of the GNU General Public License
17283 # along with GNU Libtool; see the file COPYING. If not, a copy
17284 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17285 # obtained by writing to the Free Software Foundation, Inc.,
17286 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17287
17288
17289 # The names of the tagged configurations supported by this script.
17290 available_tags="CXX "
17291
17292 # ### BEGIN LIBTOOL CONFIG
17293
17294 # Which release of libtool.m4 was used?
17295 macro_version=$macro_version
17296 macro_revision=$macro_revision
17297
17298 # Whether or not to build shared libraries.
17299 build_libtool_libs=$enable_shared
17300
17301 # Whether or not to build static libraries.
17302 build_old_libs=$enable_static
17303
17304 # What type of objects to build.
17305 pic_mode=$pic_mode
17306
17307 # Whether or not to optimize for fast installation.
17308 fast_install=$enable_fast_install
17309
17310 # The host system.
17311 host_alias=$host_alias
17312 host=$host
17313 host_os=$host_os
17314
17315 # The build system.
17316 build_alias=$build_alias
17317 build=$build
17318 build_os=$build_os
17319
17320 # A sed program that does not truncate output.
17321 SED=$lt_SED
17322
17323 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17324 Xsed="\$SED -e 1s/^X//"
17325
17326 # A grep program that handles long lines.
17327 GREP=$lt_GREP
17328
17329 # An ERE matcher.
17330 EGREP=$lt_EGREP
17331
17332 # A literal string matcher.
17333 FGREP=$lt_FGREP
17334
17335 # A BSD- or MS-compatible name lister.
17336 NM=$lt_NM
17337
17338 # Whether we need soft or hard links.
17339 LN_S=$lt_LN_S
17340
17341 # What is the maximum length of a command?
17342 max_cmd_len=$max_cmd_len
17343
17344 # Object file suffix (normally "o").
17345 objext=$ac_objext
17346
17347 # Executable file suffix (normally "").
17348 exeext=$exeext
17349
17350 # whether the shell understands "unset".
17351 lt_unset=$lt_unset
17352
17353 # turn spaces into newlines.
17354 SP2NL=$lt_lt_SP2NL
17355
17356 # turn newlines into spaces.
17357 NL2SP=$lt_lt_NL2SP
17358
17359 # How to create reloadable object files.
17360 reload_flag=$lt_reload_flag
17361 reload_cmds=$lt_reload_cmds
17362
17363 # An object symbol dumper.
17364 OBJDUMP=$lt_OBJDUMP
17365
17366 # Method to check whether dependent libraries are shared objects.
17367 deplibs_check_method=$lt_deplibs_check_method
17368
17369 # Command to use when deplibs_check_method == "file_magic".
17370 file_magic_cmd=$lt_file_magic_cmd
17371
17372 # The archiver.
17373 AR=$lt_AR
17374 AR_FLAGS=$lt_AR_FLAGS
17375
17376 # A symbol stripping program.
17377 STRIP=$lt_STRIP
17378
17379 # Commands used to install an old-style archive.
17380 RANLIB=$lt_RANLIB
17381 old_postinstall_cmds=$lt_old_postinstall_cmds
17382 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17383
17384 # A C compiler.
17385 LTCC=$lt_CC
17386
17387 # LTCC compiler flags.
17388 LTCFLAGS=$lt_CFLAGS
17389
17390 # Take the output of nm and produce a listing of raw symbols and C names.
17391 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17392
17393 # Transform the output of nm in a proper C declaration.
17394 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17395
17396 # Transform the output of nm in a C name address pair.
17397 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17398
17399 # Transform the output of nm in a C name address pair when lib prefix is needed.
17400 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17401
17402 # The name of the directory that contains temporary libtool files.
17403 objdir=$objdir
17404
17405 # Shell to use when invoking shell scripts.
17406 SHELL=$lt_SHELL
17407
17408 # An echo program that does not interpret backslashes.
17409 ECHO=$lt_ECHO
17410
17411 # Used to examine libraries when file_magic_cmd begins with "file".
17412 MAGIC_CMD=$MAGIC_CMD
17413
17414 # Must we lock files when doing compilation?
17415 need_locks=$lt_need_locks
17416
17417 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17418 DSYMUTIL=$lt_DSYMUTIL
17419
17420 # Tool to change global to local symbols on Mac OS X.
17421 NMEDIT=$lt_NMEDIT
17422
17423 # Tool to manipulate fat objects and archives on Mac OS X.
17424 LIPO=$lt_LIPO
17425
17426 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17427 OTOOL=$lt_OTOOL
17428
17429 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17430 OTOOL64=$lt_OTOOL64
17431
17432 # Old archive suffix (normally "a").
17433 libext=$libext
17434
17435 # Shared library suffix (normally ".so").
17436 shrext_cmds=$lt_shrext_cmds
17437
17438 # The commands to extract the exported symbol list from a shared archive.
17439 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17440
17441 # Variables whose values should be saved in libtool wrapper scripts and
17442 # restored at link time.
17443 variables_saved_for_relink=$lt_variables_saved_for_relink
17444
17445 # Do we need the "lib" prefix for modules?
17446 need_lib_prefix=$need_lib_prefix
17447
17448 # Do we need a version for libraries?
17449 need_version=$need_version
17450
17451 # Library versioning type.
17452 version_type=$version_type
17453
17454 # Shared library runtime path variable.
17455 runpath_var=$runpath_var
17456
17457 # Shared library path variable.
17458 shlibpath_var=$shlibpath_var
17459
17460 # Is shlibpath searched before the hard-coded library search path?
17461 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17462
17463 # Format of library name prefix.
17464 libname_spec=$lt_libname_spec
17465
17466 # List of archive names. First name is the real one, the rest are links.
17467 # The last name is the one that the linker finds with -lNAME
17468 library_names_spec=$lt_library_names_spec
17469
17470 # The coded name of the library, if different from the real name.
17471 soname_spec=$lt_soname_spec
17472
17473 # Command to use after installation of a shared archive.
17474 postinstall_cmds=$lt_postinstall_cmds
17475
17476 # Command to use after uninstallation of a shared archive.
17477 postuninstall_cmds=$lt_postuninstall_cmds
17478
17479 # Commands used to finish a libtool library installation in a directory.
17480 finish_cmds=$lt_finish_cmds
17481
17482 # As "finish_cmds", except a single script fragment to be evaled but
17483 # not shown.
17484 finish_eval=$lt_finish_eval
17485
17486 # Whether we should hardcode library paths into libraries.
17487 hardcode_into_libs=$hardcode_into_libs
17488
17489 # Compile-time system search path for libraries.
17490 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17491
17492 # Run-time system search path for libraries.
17493 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17494
17495 # Whether dlopen is supported.
17496 dlopen_support=$enable_dlopen
17497
17498 # Whether dlopen of programs is supported.
17499 dlopen_self=$enable_dlopen_self
17500
17501 # Whether dlopen of statically linked programs is supported.
17502 dlopen_self_static=$enable_dlopen_self_static
17503
17504 # Commands to strip libraries.
17505 old_striplib=$lt_old_striplib
17506 striplib=$lt_striplib
17507
17508
17509 # The linker used to build libraries.
17510 LD=$lt_LD
17511
17512 # Commands used to build an old-style archive.
17513 old_archive_cmds=$lt_old_archive_cmds
17514
17515 # A language specific compiler.
17516 CC=$lt_compiler
17517
17518 # Is the compiler the GNU compiler?
17519 with_gcc=$GCC
17520
17521 # Compiler flag to turn off builtin functions.
17522 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17523
17524 # How to pass a linker flag through the compiler.
17525 wl=$lt_lt_prog_compiler_wl
17526
17527 # Additional compiler flags for building library objects.
17528 pic_flag=$lt_lt_prog_compiler_pic
17529
17530 # Compiler flag to prevent dynamic linking.
17531 link_static_flag=$lt_lt_prog_compiler_static
17532
17533 # Does compiler simultaneously support -c and -o options?
17534 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17535
17536 # Whether or not to add -lc for building shared libraries.
17537 build_libtool_need_lc=$archive_cmds_need_lc
17538
17539 # Whether or not to disallow shared libs when runtime libs are static.
17540 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17541
17542 # Compiler flag to allow reflexive dlopens.
17543 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17544
17545 # Compiler flag to generate shared objects directly from archives.
17546 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17547
17548 # Whether the compiler copes with passing no objects directly.
17549 compiler_needs_object=$lt_compiler_needs_object
17550
17551 # Create an old-style archive from a shared archive.
17552 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17553
17554 # Create a temporary old-style archive to link instead of a shared archive.
17555 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17556
17557 # Commands used to build a shared archive.
17558 archive_cmds=$lt_archive_cmds
17559 archive_expsym_cmds=$lt_archive_expsym_cmds
17560
17561 # Commands used to build a loadable module if different from building
17562 # a shared archive.
17563 module_cmds=$lt_module_cmds
17564 module_expsym_cmds=$lt_module_expsym_cmds
17565
17566 # Whether we are building with GNU ld or not.
17567 with_gnu_ld=$lt_with_gnu_ld
17568
17569 # Flag that allows shared libraries with undefined symbols to be built.
17570 allow_undefined_flag=$lt_allow_undefined_flag
17571
17572 # Flag that enforces no undefined symbols.
17573 no_undefined_flag=$lt_no_undefined_flag
17574
17575 # Flag to hardcode \$libdir into a binary during linking.
17576 # This must work even if \$libdir does not exist
17577 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17578
17579 # If ld is used when linking, flag to hardcode \$libdir into a binary
17580 # during linking. This must work even if \$libdir does not exist.
17581 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17582
17583 # Whether we need a single "-rpath" flag with a separated argument.
17584 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17585
17586 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17587 # DIR into the resulting binary.
17588 hardcode_direct=$hardcode_direct
17589
17590 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17591 # DIR into the resulting binary and the resulting library dependency is
17592 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17593 # library is relocated.
17594 hardcode_direct_absolute=$hardcode_direct_absolute
17595
17596 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17597 # into the resulting binary.
17598 hardcode_minus_L=$hardcode_minus_L
17599
17600 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17601 # into the resulting binary.
17602 hardcode_shlibpath_var=$hardcode_shlibpath_var
17603
17604 # Set to "yes" if building a shared library automatically hardcodes DIR
17605 # into the library and all subsequent libraries and executables linked
17606 # against it.
17607 hardcode_automatic=$hardcode_automatic
17608
17609 # Set to yes if linker adds runtime paths of dependent libraries
17610 # to runtime path list.
17611 inherit_rpath=$inherit_rpath
17612
17613 # Whether libtool must link a program against all its dependency libraries.
17614 link_all_deplibs=$link_all_deplibs
17615
17616 # Fix the shell variable \$srcfile for the compiler.
17617 fix_srcfile_path=$lt_fix_srcfile_path
17618
17619 # Set to "yes" if exported symbols are required.
17620 always_export_symbols=$always_export_symbols
17621
17622 # The commands to list exported symbols.
17623 export_symbols_cmds=$lt_export_symbols_cmds
17624
17625 # Symbols that should not be listed in the preloaded symbols.
17626 exclude_expsyms=$lt_exclude_expsyms
17627
17628 # Symbols that must always be exported.
17629 include_expsyms=$lt_include_expsyms
17630
17631 # Commands necessary for linking programs (against libraries) with templates.
17632 prelink_cmds=$lt_prelink_cmds
17633
17634 # Specify filename containing input files.
17635 file_list_spec=$lt_file_list_spec
17636
17637 # How to hardcode a shared library path into an executable.
17638 hardcode_action=$hardcode_action
17639
17640 # The directories searched by this compiler when creating a shared library.
17641 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17642
17643 # Dependencies to place before and after the objects being linked to
17644 # create a shared library.
17645 predep_objects=$lt_predep_objects
17646 postdep_objects=$lt_postdep_objects
17647 predeps=$lt_predeps
17648 postdeps=$lt_postdeps
17649
17650 # The library search path used internally by the compiler when linking
17651 # a shared library.
17652 compiler_lib_search_path=$lt_compiler_lib_search_path
17653
17654 # ### END LIBTOOL CONFIG
17655
17656 _LT_EOF
17657
17658 case $host_os in
17659 aix3*)
17660 cat <<\_LT_EOF >> "$cfgfile"
17661 # AIX sometimes has problems with the GCC collect2 program. For some
17662 # reason, if we set the COLLECT_NAMES environment variable, the problems
17663 # vanish in a puff of smoke.
17664 if test "X${COLLECT_NAMES+set}" != Xset; then
17665 COLLECT_NAMES=
17666 export COLLECT_NAMES
17667 fi
17668 _LT_EOF
17669 ;;
17670 esac
17671
17672
17673 ltmain="$ac_aux_dir/ltmain.sh"
17674
17675
17676 # We use sed instead of cat because bash on DJGPP gets confused if
17677 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17678 # text mode, it properly converts lines to CR/LF. This bash problem
17679 # is reportedly fixed, but why not run on old versions too?
17680 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17681 || (rm -f "$cfgfile"; exit 1)
17682
17683 case $xsi_shell in
17684 yes)
17685 cat << \_LT_EOF >> "$cfgfile"
17686
17687 # func_dirname file append nondir_replacement
17688 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17689 # otherwise set result to NONDIR_REPLACEMENT.
17690 func_dirname ()
17691 {
17692 case ${1} in
17693 */*) func_dirname_result="${1%/*}${2}" ;;
17694 * ) func_dirname_result="${3}" ;;
17695 esac
17696 }
17697
17698 # func_basename file
17699 func_basename ()
17700 {
17701 func_basename_result="${1##*/}"
17702 }
17703
17704 # func_dirname_and_basename file append nondir_replacement
17705 # perform func_basename and func_dirname in a single function
17706 # call:
17707 # dirname: Compute the dirname of FILE. If nonempty,
17708 # add APPEND to the result, otherwise set result
17709 # to NONDIR_REPLACEMENT.
17710 # value returned in "$func_dirname_result"
17711 # basename: Compute filename of FILE.
17712 # value retuned in "$func_basename_result"
17713 # Implementation must be kept synchronized with func_dirname
17714 # and func_basename. For efficiency, we do not delegate to
17715 # those functions but instead duplicate the functionality here.
17716 func_dirname_and_basename ()
17717 {
17718 case ${1} in
17719 */*) func_dirname_result="${1%/*}${2}" ;;
17720 * ) func_dirname_result="${3}" ;;
17721 esac
17722 func_basename_result="${1##*/}"
17723 }
17724
17725 # func_stripname prefix suffix name
17726 # strip PREFIX and SUFFIX off of NAME.
17727 # PREFIX and SUFFIX must not contain globbing or regex special
17728 # characters, hashes, percent signs, but SUFFIX may contain a leading
17729 # dot (in which case that matches only a dot).
17730 func_stripname ()
17731 {
17732 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17733 # positional parameters, so assign one to ordinary parameter first.
17734 func_stripname_result=${3}
17735 func_stripname_result=${func_stripname_result#"${1}"}
17736 func_stripname_result=${func_stripname_result%"${2}"}
17737 }
17738
17739 # func_opt_split
17740 func_opt_split ()
17741 {
17742 func_opt_split_opt=${1%%=*}
17743 func_opt_split_arg=${1#*=}
17744 }
17745
17746 # func_lo2o object
17747 func_lo2o ()
17748 {
17749 case ${1} in
17750 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17751 *) func_lo2o_result=${1} ;;
17752 esac
17753 }
17754
17755 # func_xform libobj-or-source
17756 func_xform ()
17757 {
17758 func_xform_result=${1%.*}.lo
17759 }
17760
17761 # func_arith arithmetic-term...
17762 func_arith ()
17763 {
17764 func_arith_result=$(( $* ))
17765 }
17766
17767 # func_len string
17768 # STRING may not start with a hyphen.
17769 func_len ()
17770 {
17771 func_len_result=${#1}
17772 }
17773
17774 _LT_EOF
17775 ;;
17776 *) # Bourne compatible functions.
17777 cat << \_LT_EOF >> "$cfgfile"
17778
17779 # func_dirname file append nondir_replacement
17780 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17781 # otherwise set result to NONDIR_REPLACEMENT.
17782 func_dirname ()
17783 {
17784 # Extract subdirectory from the argument.
17785 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17786 if test "X$func_dirname_result" = "X${1}"; then
17787 func_dirname_result="${3}"
17788 else
17789 func_dirname_result="$func_dirname_result${2}"
17790 fi
17791 }
17792
17793 # func_basename file
17794 func_basename ()
17795 {
17796 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17797 }
17798
17799
17800 # func_stripname prefix suffix name
17801 # strip PREFIX and SUFFIX off of NAME.
17802 # PREFIX and SUFFIX must not contain globbing or regex special
17803 # characters, hashes, percent signs, but SUFFIX may contain a leading
17804 # dot (in which case that matches only a dot).
17805 # func_strip_suffix prefix name
17806 func_stripname ()
17807 {
17808 case ${2} in
17809 .*) func_stripname_result=`$ECHO "X${3}" \
17810 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17811 *) func_stripname_result=`$ECHO "X${3}" \
17812 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17813 esac
17814 }
17815
17816 # sed scripts:
17817 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17818 my_sed_long_arg='1s/^-[^=]*=//'
17819
17820 # func_opt_split
17821 func_opt_split ()
17822 {
17823 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17824 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17825 }
17826
17827 # func_lo2o object
17828 func_lo2o ()
17829 {
17830 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17831 }
17832
17833 # func_xform libobj-or-source
17834 func_xform ()
17835 {
17836 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17837 }
17838
17839 # func_arith arithmetic-term...
17840 func_arith ()
17841 {
17842 func_arith_result=`expr "$@"`
17843 }
17844
17845 # func_len string
17846 # STRING may not start with a hyphen.
17847 func_len ()
17848 {
17849 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17850 }
17851
17852 _LT_EOF
17853 esac
17854
17855 case $lt_shell_append in
17856 yes)
17857 cat << \_LT_EOF >> "$cfgfile"
17858
17859 # func_append var value
17860 # Append VALUE to the end of shell variable VAR.
17861 func_append ()
17862 {
17863 eval "$1+=\$2"
17864 }
17865 _LT_EOF
17866 ;;
17867 *)
17868 cat << \_LT_EOF >> "$cfgfile"
17869
17870 # func_append var value
17871 # Append VALUE to the end of shell variable VAR.
17872 func_append ()
17873 {
17874 eval "$1=\$$1\$2"
17875 }
17876
17877 _LT_EOF
17878 ;;
17879 esac
17880
17881
17882 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17883 || (rm -f "$cfgfile"; exit 1)
17884
17885 mv -f "$cfgfile" "$ofile" ||
17886 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17887 chmod +x "$ofile"
17888
17889
17890 cat <<_LT_EOF >> "$ofile"
17891
17892 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17893
17894 # The linker used to build libraries.
17895 LD=$lt_LD_CXX
17896
17897 # Commands used to build an old-style archive.
17898 old_archive_cmds=$lt_old_archive_cmds_CXX
17899
17900 # A language specific compiler.
17901 CC=$lt_compiler_CXX
17902
17903 # Is the compiler the GNU compiler?
17904 with_gcc=$GCC_CXX
17905
17906 # Compiler flag to turn off builtin functions.
17907 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17908
17909 # How to pass a linker flag through the compiler.
17910 wl=$lt_lt_prog_compiler_wl_CXX
17911
17912 # Additional compiler flags for building library objects.
17913 pic_flag=$lt_lt_prog_compiler_pic_CXX
17914
17915 # Compiler flag to prevent dynamic linking.
17916 link_static_flag=$lt_lt_prog_compiler_static_CXX
17917
17918 # Does compiler simultaneously support -c and -o options?
17919 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17920
17921 # Whether or not to add -lc for building shared libraries.
17922 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17923
17924 # Whether or not to disallow shared libs when runtime libs are static.
17925 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17926
17927 # Compiler flag to allow reflexive dlopens.
17928 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17929
17930 # Compiler flag to generate shared objects directly from archives.
17931 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17932
17933 # Whether the compiler copes with passing no objects directly.
17934 compiler_needs_object=$lt_compiler_needs_object_CXX
17935
17936 # Create an old-style archive from a shared archive.
17937 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17938
17939 # Create a temporary old-style archive to link instead of a shared archive.
17940 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17941
17942 # Commands used to build a shared archive.
17943 archive_cmds=$lt_archive_cmds_CXX
17944 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17945
17946 # Commands used to build a loadable module if different from building
17947 # a shared archive.
17948 module_cmds=$lt_module_cmds_CXX
17949 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17950
17951 # Whether we are building with GNU ld or not.
17952 with_gnu_ld=$lt_with_gnu_ld_CXX
17953
17954 # Flag that allows shared libraries with undefined symbols to be built.
17955 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17956
17957 # Flag that enforces no undefined symbols.
17958 no_undefined_flag=$lt_no_undefined_flag_CXX
17959
17960 # Flag to hardcode \$libdir into a binary during linking.
17961 # This must work even if \$libdir does not exist
17962 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17963
17964 # If ld is used when linking, flag to hardcode \$libdir into a binary
17965 # during linking. This must work even if \$libdir does not exist.
17966 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17967
17968 # Whether we need a single "-rpath" flag with a separated argument.
17969 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17970
17971 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17972 # DIR into the resulting binary.
17973 hardcode_direct=$hardcode_direct_CXX
17974
17975 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17976 # DIR into the resulting binary and the resulting library dependency is
17977 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17978 # library is relocated.
17979 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17980
17981 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17982 # into the resulting binary.
17983 hardcode_minus_L=$hardcode_minus_L_CXX
17984
17985 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17986 # into the resulting binary.
17987 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17988
17989 # Set to "yes" if building a shared library automatically hardcodes DIR
17990 # into the library and all subsequent libraries and executables linked
17991 # against it.
17992 hardcode_automatic=$hardcode_automatic_CXX
17993
17994 # Set to yes if linker adds runtime paths of dependent libraries
17995 # to runtime path list.
17996 inherit_rpath=$inherit_rpath_CXX
17997
17998 # Whether libtool must link a program against all its dependency libraries.
17999 link_all_deplibs=$link_all_deplibs_CXX
18000
18001 # Fix the shell variable \$srcfile for the compiler.
18002 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18003
18004 # Set to "yes" if exported symbols are required.
18005 always_export_symbols=$always_export_symbols_CXX
18006
18007 # The commands to list exported symbols.
18008 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18009
18010 # Symbols that should not be listed in the preloaded symbols.
18011 exclude_expsyms=$lt_exclude_expsyms_CXX
18012
18013 # Symbols that must always be exported.
18014 include_expsyms=$lt_include_expsyms_CXX
18015
18016 # Commands necessary for linking programs (against libraries) with templates.
18017 prelink_cmds=$lt_prelink_cmds_CXX
18018
18019 # Specify filename containing input files.
18020 file_list_spec=$lt_file_list_spec_CXX
18021
18022 # How to hardcode a shared library path into an executable.
18023 hardcode_action=$hardcode_action_CXX
18024
18025 # The directories searched by this compiler when creating a shared library.
18026 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18027
18028 # Dependencies to place before and after the objects being linked to
18029 # create a shared library.
18030 predep_objects=$lt_predep_objects_CXX
18031 postdep_objects=$lt_postdep_objects_CXX
18032 predeps=$lt_predeps_CXX
18033 postdeps=$lt_postdeps_CXX
18034
18035 # The library search path used internally by the compiler when linking
18036 # a shared library.
18037 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18038
18039 # ### END LIBTOOL TAG CONFIG: CXX
18040 _LT_EOF
18041
18042 ;;
18043
18044 esac
18045 done # for ac_tag
18046
18047
18048 as_fn_exit 0
18049 _ACEOF
18050 ac_clean_files=$ac_clean_files_save
18051
18052 test $ac_write_fail = 0 ||
18053 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18054
18055
18056 # configure is writing to config.log, and then calls config.status.
18057 # config.status does its own redirection, appending to config.log.
18058 # Unfortunately, on DOS this fails, as config.log is still kept open
18059 # by configure, so config.status won't be able to write to it; its
18060 # output is simply discarded. So we exec the FD to /dev/null,
18061 # effectively closing config.log, so it can be properly (re)opened and
18062 # appended to by config.status. When coming back to configure, we
18063 # need to make the FD available again.
18064 if test "$no_create" != yes; then
18065 ac_cs_success=:
18066 ac_config_status_args=
18067 test "$silent" = yes &&
18068 ac_config_status_args="$ac_config_status_args --quiet"
18069 exec 5>/dev/null
18070 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18071 exec 5>>config.log
18072 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18073 # would make configure fail if this is the last instruction.
18074 $ac_cs_success || as_fn_exit 1
18075 fi
18076 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18078 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18079 fi
18080
18081
+0
-293
ibis/autom4te.cache/requests less more
0 # This file was generated.
1 # It contains the lists of macros which have been traced.
2 # It can be safely removed.
3
4 @request = (
5 bless( [
6 '0',
7 1,
8 [
9 '/usr/share/autoconf'
10 ],
11 [
12 '/usr/share/autoconf/autoconf/autoconf.m4f',
13 '/usr/share/aclocal/argz.m4',
14 '/usr/share/aclocal/libtool.m4',
15 '/usr/share/aclocal/ltdl.m4',
16 '/usr/share/aclocal/ltoptions.m4',
17 '/usr/share/aclocal/ltsugar.m4',
18 '/usr/share/aclocal/ltversion.m4',
19 '/usr/share/aclocal/lt~obsolete.m4',
20 '/usr/share/aclocal-1.11/amversion.m4',
21 '/usr/share/aclocal-1.11/auxdir.m4',
22 '/usr/share/aclocal-1.11/cond.m4',
23 '/usr/share/aclocal-1.11/depend.m4',
24 '/usr/share/aclocal-1.11/depout.m4',
25 '/usr/share/aclocal-1.11/header.m4',
26 '/usr/share/aclocal-1.11/init.m4',
27 '/usr/share/aclocal-1.11/install-sh.m4',
28 '/usr/share/aclocal-1.11/lead-dot.m4',
29 '/usr/share/aclocal-1.11/maintainer.m4',
30 '/usr/share/aclocal-1.11/make.m4',
31 '/usr/share/aclocal-1.11/missing.m4',
32 '/usr/share/aclocal-1.11/mkdirp.m4',
33 '/usr/share/aclocal-1.11/options.m4',
34 '/usr/share/aclocal-1.11/runlog.m4',
35 '/usr/share/aclocal-1.11/sanity.m4',
36 '/usr/share/aclocal-1.11/silent.m4',
37 '/usr/share/aclocal-1.11/strip.m4',
38 '/usr/share/aclocal-1.11/substnot.m4',
39 '/usr/share/aclocal-1.11/tar.m4',
40 'config/osm.m4',
41 'config/swig.m4',
42 'config/tcl.m4',
43 'configure.in'
44 ],
45 {
46 'AM_ENABLE_STATIC' => 1,
47 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
48 '_LT_AC_SHELL_INIT' => 1,
49 'AC_DEFUN' => 1,
50 'AC_PROG_LIBTOOL' => 1,
51 '_LT_AC_LANG_CXX_CONFIG' => 1,
52 'AM_PROG_MKDIR_P' => 1,
53 'AM_AUTOMAKE_VERSION' => 1,
54 'AM_SUBST_NOTMAKE' => 1,
55 'AM_MISSING_PROG' => 1,
56 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
57 '_LT_AC_LANG_C_CONFIG' => 1,
58 'AM_PROG_INSTALL_STRIP' => 1,
59 '_m4_warn' => 1,
60 'AC_LIBTOOL_OBJDIR' => 1,
61 'gl_FUNC_ARGZ' => 1,
62 'LTOBSOLETE_VERSION' => 1,
63 'AM_SANITY_CHECK' => 1,
64 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
65 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
66 'LT_LIB_M' => 1,
67 '_LT_AC_CHECK_DLFCN' => 1,
68 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
69 'LTSUGAR_VERSION' => 1,
70 '_LT_PROG_LTMAIN' => 1,
71 'LT_SYS_SYMBOL_USCORE' => 1,
72 '_AM_PROG_TAR' => 1,
73 'AC_LIBTOOL_GCJ' => 1,
74 'LT_SYS_DLOPEN_DEPLIBS' => 1,
75 'LT_FUNC_DLSYM_USCORE' => 1,
76 '_LT_AC_LANG_F77' => 1,
77 'AC_LIBTOOL_CONFIG' => 1,
78 '_AM_SUBST_NOTMAKE' => 1,
79 'AC_LTDL_DLLIB' => 1,
80 '_AM_AUTOCONF_VERSION' => 1,
81 'AM_DISABLE_SHARED' => 1,
82 '_LTDL_SETUP' => 1,
83 '_LT_AC_LANG_CXX' => 1,
84 'AM_PROG_LIBTOOL' => 1,
85 'AC_LIB_LTDL' => 1,
86 '_LT_AC_FILE_LTDLL_C' => 1,
87 'AM_PROG_LD' => 1,
88 'AU_DEFUN' => 1,
89 'AC_PROG_NM' => 1,
90 'AC_LIBTOOL_DLOPEN' => 1,
91 'AC_PROG_LD' => 1,
92 'OPENIB_APP_OSM' => 1,
93 'AC_PROG_LD_GNU' => 1,
94 'AC_ENABLE_FAST_INSTALL' => 1,
95 'AC_LIBTOOL_FC' => 1,
96 'LTDL_CONVENIENCE' => 1,
97 'MLX_LANG_TCL' => 1,
98 '_AM_SET_OPTION' => 1,
99 'AC_LTDL_PREOPEN' => 1,
100 '_LT_LINKER_BOILERPLATE' => 1,
101 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
102 'AC_LIBTOOL_PROG_CC_C_O' => 1,
103 'gl_PREREQ_ARGZ' => 1,
104 'LT_SUPPORTED_TAG' => 1,
105 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
106 'LT_PROG_RC' => 1,
107 'LT_SYS_MODULE_EXT' => 1,
108 'AC_DEFUN_ONCE' => 1,
109 '_LT_AC_LANG_GCJ' => 1,
110 'AC_LTDL_OBJDIR' => 1,
111 '_LT_PATH_TOOL_PREFIX' => 1,
112 'AC_LIBTOOL_RC' => 1,
113 'AM_SILENT_RULES' => 1,
114 'AC_DISABLE_FAST_INSTALL' => 1,
115 '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
116 '_LT_AC_SYS_LIBPATH_AIX' => 1,
117 '_LT_AC_TRY_DLOPEN_SELF' => 1,
118 'include' => 1,
119 'LT_AC_PROG_SED' => 1,
120 'AM_ENABLE_SHARED' => 1,
121 'LTDL_INSTALLABLE' => 1,
122 '_LT_AC_LANG_GCJ_CONFIG' => 1,
123 'AC_ENABLE_SHARED' => 1,
124 'AC_ENABLE_STATIC' => 1,
125 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
126 '_LT_AC_TAGVAR' => 1,
127 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
128 'AM_CONDITIONAL' => 1,
129 'LT_LIB_DLLOAD' => 1,
130 'LTDL_INIT' => 1,
131 'LTVERSION_VERSION' => 1,
132 'AM_PROG_INSTALL_SH' => 1,
133 'm4_include' => 1,
134 'AC_PROG_EGREP' => 1,
135 '_AC_AM_CONFIG_HEADER_HOOK' => 1,
136 'AC_PATH_MAGIC' => 1,
137 'AC_LTDL_SYSSEARCHPATH' => 1,
138 'AM_MAKE_INCLUDE' => 1,
139 'LT_CMD_MAX_LEN' => 1,
140 '_LT_AC_TAGCONFIG' => 1,
141 'm4_pattern_forbid' => 1,
142 '_LT_LINKER_OPTION' => 1,
143 'AC_LIBTOOL_COMPILER_OPTION' => 1,
144 'AC_DISABLE_SHARED' => 1,
145 '_LT_COMPILER_BOILERPLATE' => 1,
146 'AC_LIBTOOL_WIN32_DLL' => 1,
147 'AC_LIBTOOL_SETUP' => 1,
148 'AC_PROG_LD_RELOAD_FLAG' => 1,
149 'AC_LTDL_DLSYM_USCORE' => 1,
150 'AM_MISSING_HAS_RUN' => 1,
151 'LT_LANG' => 1,
152 'LT_SYS_DLSEARCH_PATH' => 1,
153 'LT_CONFIG_LTDL_DIR' => 1,
154 'AC_LIBTOOL_DLOPEN_SELF' => 1,
155 'LT_OUTPUT' => 1,
156 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
157 'AC_WITH_LTDL' => 1,
158 'AC_LIBTOOL_LINKER_OPTION' => 1,
159 'LT_AC_PROG_RC' => 1,
160 'AC_LIBTOOL_CXX' => 1,
161 'LT_INIT' => 1,
162 'LT_AC_PROG_GCJ' => 1,
163 'LT_SYS_DLOPEN_SELF' => 1,
164 'AM_DEP_TRACK' => 1,
165 'AM_DISABLE_STATIC' => 1,
166 'AM_CONFIG_HEADER' => 1,
167 '_AC_PROG_LIBTOOL' => 1,
168 '_AM_IF_OPTION' => 1,
169 'AC_PATH_TOOL_PREFIX' => 1,
170 'm4_pattern_allow' => 1,
171 'AC_LIBTOOL_F77' => 1,
172 'AM_SET_LEADING_DOT' => 1,
173 'LT_AC_PROG_EGREP' => 1,
174 '_AM_DEPENDENCIES' => 1,
175 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
176 'LTOPTIONS_VERSION' => 1,
177 '_LT_AC_SYS_COMPILER' => 1,
178 'AM_PROG_NM' => 1,
179 'AC_LIBLTDL_CONVENIENCE' => 1,
180 'AC_DEPLIBS_CHECK_METHOD' => 1,
181 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
182 'jm_MAINTAINER_MODE' => 1,
183 'AC_LIBLTDL_INSTALLABLE' => 1,
184 'AC_LTDL_ENABLE_INSTALL' => 1,
185 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
186 'LT_PROG_GCJ' => 1,
187 'AM_INIT_AUTOMAKE' => 1,
188 'AC_DISABLE_STATIC' => 1,
189 'LT_PATH_NM' => 1,
190 'AM_MAINTAINER_MODE' => 1,
191 'AC_LTDL_SHLIBEXT' => 1,
192 '_LT_AC_LOCK' => 1,
193 '_LT_AC_LANG_RC_CONFIG' => 1,
194 'LT_SYS_MODULE_PATH' => 1,
195 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
196 'LT_WITH_LTDL' => 1,
197 'AC_LTDL_SHLIBPATH' => 1,
198 'AM_AUX_DIR_EXPAND' => 1,
199 'MLX_PROG_SWIG' => 1,
200 '_LT_AC_LANG_F77_CONFIG' => 1,
201 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
202 '_AM_SET_OPTIONS' => 1,
203 '_LT_COMPILER_OPTION' => 1,
204 '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
205 'AM_RUN_LOG' => 1,
206 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
207 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
208 'AC_LIBTOOL_PICMODE' => 1,
209 'LT_PATH_LD' => 1,
210 'AC_CHECK_LIBM' => 1,
211 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
212 '_AM_MANGLE_OPTION' => 1,
213 'AC_LTDL_SYMBOL_USCORE' => 1,
214 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
215 'AM_SET_DEPDIR' => 1,
216 '_LT_CC_BASENAME' => 1,
217 '_LT_LIBOBJ' => 1
218 }
219 ], 'Autom4te::Request' ),
220 bless( [
221 '1',
222 1,
223 [
224 '/usr/share/autoconf'
225 ],
226 [
227 '/usr/share/autoconf/autoconf/autoconf.m4f',
228 'aclocal.m4',
229 'configure.in'
230 ],
231 {
232 '_LT_AC_TAGCONFIG' => 1,
233 'AM_PROG_F77_C_O' => 1,
234 'AC_INIT' => 1,
235 'm4_pattern_forbid' => 1,
236 '_AM_COND_IF' => 1,
237 'AC_CANONICAL_TARGET' => 1,
238 'AC_SUBST' => 1,
239 'AC_CONFIG_LIBOBJ_DIR' => 1,
240 'AC_FC_SRCEXT' => 1,
241 'AC_CANONICAL_HOST' => 1,
242 'AC_PROG_LIBTOOL' => 1,
243 'AM_INIT_AUTOMAKE' => 1,
244 'AM_PATH_GUILE' => 1,
245 'AC_CONFIG_SUBDIRS' => 1,
246 'AM_AUTOMAKE_VERSION' => 1,
247 'LT_CONFIG_LTDL_DIR' => 1,
248 'AC_REQUIRE_AUX_FILE' => 1,
249 'AC_CONFIG_LINKS' => 1,
250 'm4_sinclude' => 1,
251 'LT_SUPPORTED_TAG' => 1,
252 'AM_MAINTAINER_MODE' => 1,
253 'AM_NLS' => 1,
254 'AC_FC_PP_DEFINE' => 1,
255 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
256 'AM_MAKEFILE_INCLUDE' => 1,
257 '_m4_warn' => 1,
258 'AM_PROG_CXX_C_O' => 1,
259 '_AM_COND_ENDIF' => 1,
260 '_AM_MAKEFILE_INCLUDE' => 1,
261 'AM_ENABLE_MULTILIB' => 1,
262 'AM_SILENT_RULES' => 1,
263 'AM_PROG_MOC' => 1,
264 'AC_CONFIG_FILES' => 1,
265 'include' => 1,
266 'LT_INIT' => 1,
267 'AM_PROG_AR' => 1,
268 'AM_GNU_GETTEXT' => 1,
269 'AC_LIBSOURCE' => 1,
270 'AM_PROG_FC_C_O' => 1,
271 'AC_CANONICAL_BUILD' => 1,
272 'AC_FC_FREEFORM' => 1,
273 'AH_OUTPUT' => 1,
274 'AC_FC_PP_SRCEXT' => 1,
275 '_AM_SUBST_NOTMAKE' => 1,
276 'AC_CONFIG_AUX_DIR' => 1,
277 'sinclude' => 1,
278 'AM_PROG_CC_C_O' => 1,
279 'm4_pattern_allow' => 1,
280 'AM_XGETTEXT_OPTION' => 1,
281 'AC_CANONICAL_SYSTEM' => 1,
282 'AM_CONDITIONAL' => 1,
283 'AC_CONFIG_HEADERS' => 1,
284 'AC_DEFINE_TRACE_LITERAL' => 1,
285 'AM_POT_TOOLS' => 1,
286 'm4_include' => 1,
287 '_AM_COND_ELSE' => 1,
288 'AC_SUBST_TRACE' => 1
289 }
290 ], 'Autom4te::Request' )
291 );
292
+0
-2957
ibis/autom4te.cache/traces.0 less more
0 m4trace:/usr/share/aclocal/argz.m4:12: -1- AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ
1
2 AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
3
4 AC_CHECK_TYPES([error_t],
5 [],
6 [AC_DEFINE([error_t], [int],
7 [Define to a type to use for `error_t' if it is not otherwise available.])
8 AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
9 does not typedef error_t.])],
10 [#if defined(HAVE_ARGZ_H)
11 # include <argz.h>
12 #endif])
13
14 ARGZ_H=
15 AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
16 argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
17
18 dnl if have system argz functions, allow forced use of
19 dnl libltdl-supplied implementation (and default to do so
20 dnl on "known bad" systems). Could use a runtime check, but
21 dnl (a) detecting malloc issues is notoriously unreliable
22 dnl (b) only known system that declares argz functions,
23 dnl provides them, yet they are broken, is cygwin
24 dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
25 dnl So, it's more straightforward simply to special case
26 dnl this for known bad systems.
27 AS_IF([test -z "$ARGZ_H"],
28 [AC_CACHE_CHECK(
29 [if argz actually works],
30 [lt_cv_sys_argz_works],
31 [[case $host_os in #(
32 *cygwin*)
33 lt_cv_sys_argz_works=no
34 if test "$cross_compiling" != no; then
35 lt_cv_sys_argz_works="guessing no"
36 else
37 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
38 save_IFS=$IFS
39 IFS=-.
40 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
41 IFS=$save_IFS
42 lt_os_major=${2-0}
43 lt_os_minor=${3-0}
44 lt_os_micro=${4-0}
45 if test "$lt_os_major" -gt 1 \
46 || { test "$lt_os_major" -eq 1 \
47 && { test "$lt_os_minor" -gt 5 \
48 || { test "$lt_os_minor" -eq 5 \
49 && test "$lt_os_micro" -gt 24; }; }; }; then
50 lt_cv_sys_argz_works=yes
51 fi
52 fi
53 ;; #(
54 *) lt_cv_sys_argz_works=yes ;;
55 esac]])
56 AS_IF([test $lt_cv_sys_argz_works = yes],
57 [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
58 [This value is set to 1 to indicate that the system argz facility works])],
59 [ARGZ_H=argz.h
60 AC_LIBOBJ([argz])])])
61
62 AC_SUBST([ARGZ_H])
63 ])
64 m4trace:/usr/share/aclocal/argz.m4:79: -1- AC_DEFUN([gl_PREREQ_ARGZ], [:])
65 m4trace:/usr/share/aclocal/libtool.m4:67: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
66 AC_BEFORE([$0], [LT_LANG])dnl
67 AC_BEFORE([$0], [LT_OUTPUT])dnl
68 AC_BEFORE([$0], [LTDL_INIT])dnl
69 m4_require([_LT_CHECK_BUILDDIR])dnl
70
71 dnl Autoconf doesn't catch unexpanded LT_ macros by default:
72 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
73 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
74 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
75 dnl unless we require an AC_DEFUNed macro:
76 AC_REQUIRE([LTOPTIONS_VERSION])dnl
77 AC_REQUIRE([LTSUGAR_VERSION])dnl
78 AC_REQUIRE([LTVERSION_VERSION])dnl
79 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
80 m4_require([_LT_PROG_LTMAIN])dnl
81
82 dnl Parse OPTIONS
83 _LT_SET_OPTIONS([$0], [$1])
84
85 # This can be used to rebuild libtool when needed
86 LIBTOOL_DEPS="$ltmain"
87
88 # Always use our own libtool.
89 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
90 AC_SUBST(LIBTOOL)dnl
91
92 _LT_SETUP
93
94 # Only expand once:
95 m4_define([LT_INIT])
96 ])
97 m4trace:/usr/share/aclocal/libtool.m4:102: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
98 m4trace:/usr/share/aclocal/libtool.m4:102: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
99 You should run autoupdate.])dnl
100 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
101 m4trace:/usr/share/aclocal/libtool.m4:103: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
102 m4trace:/usr/share/aclocal/libtool.m4:103: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
103 You should run autoupdate.])dnl
104 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
105 m4trace:/usr/share/aclocal/libtool.m4:562: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
106 AC_MSG_NOTICE([creating $CONFIG_LT])
107 cat >"$CONFIG_LT" <<_LTEOF
108 #! $SHELL
109 # Generated by $as_me.
110 # Run this file to recreate a libtool stub with the current configuration.
111
112 lt_cl_silent=false
113 SHELL=\${CONFIG_SHELL-$SHELL}
114 _LTEOF
115
116 cat >>"$CONFIG_LT" <<\_LTEOF
117 AS_SHELL_SANITIZE
118 _AS_PREPARE
119
120 exec AS_MESSAGE_FD>&1
121 exec AS_MESSAGE_LOG_FD>>config.log
122 {
123 echo
124 AS_BOX([Running $as_me.])
125 } >&AS_MESSAGE_LOG_FD
126
127 lt_cl_help="\
128 \`$as_me' creates a local libtool stub from the current configuration,
129 for use in further configure time tests before the real libtool is
130 generated.
131
132 Usage: $[0] [[OPTIONS]]
133
134 -h, --help print this help, then exit
135 -V, --version print version number, then exit
136 -q, --quiet do not print progress messages
137 -d, --debug don't remove temporary files
138
139 Report bugs to <bug-libtool@gnu.org>."
140
141 lt_cl_version="\
142 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
143 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
144 configured by $[0], generated by m4_PACKAGE_STRING.
145
146 Copyright (C) 2008 Free Software Foundation, Inc.
147 This config.lt script is free software; the Free Software Foundation
148 gives unlimited permision to copy, distribute and modify it."
149
150 while test $[#] != 0
151 do
152 case $[1] in
153 --version | --v* | -V )
154 echo "$lt_cl_version"; exit 0 ;;
155 --help | --h* | -h )
156 echo "$lt_cl_help"; exit 0 ;;
157 --debug | --d* | -d )
158 debug=: ;;
159 --quiet | --q* | --silent | --s* | -q )
160 lt_cl_silent=: ;;
161
162 -*) AC_MSG_ERROR([unrecognized option: $[1]
163 Try \`$[0] --help' for more information.]) ;;
164
165 *) AC_MSG_ERROR([unrecognized argument: $[1]
166 Try \`$[0] --help' for more information.]) ;;
167 esac
168 shift
169 done
170
171 if $lt_cl_silent; then
172 exec AS_MESSAGE_FD>/dev/null
173 fi
174 _LTEOF
175
176 cat >>"$CONFIG_LT" <<_LTEOF
177 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
178 _LTEOF
179
180 cat >>"$CONFIG_LT" <<\_LTEOF
181 AC_MSG_NOTICE([creating $ofile])
182 _LT_OUTPUT_LIBTOOL_COMMANDS
183 AS_EXIT(0)
184 _LTEOF
185 chmod +x "$CONFIG_LT"
186
187 # configure is writing to config.log, but config.lt does its own redirection,
188 # appending to config.log, which fails on DOS, as config.log is still kept
189 # open by configure. Here we exec the FD to /dev/null, effectively closing
190 # config.log, so it can be properly (re)opened and appended to by config.lt.
191 if test "$no_create" != yes; then
192 lt_cl_success=:
193 test "$silent" = yes &&
194 lt_config_lt_args="$lt_config_lt_args --quiet"
195 exec AS_MESSAGE_LOG_FD>/dev/null
196 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
197 exec AS_MESSAGE_LOG_FD>>config.log
198 $lt_cl_success || AS_EXIT(1)
199 fi
200 ])
201 m4trace:/usr/share/aclocal/libtool.m4:757: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
202 m4trace:/usr/share/aclocal/libtool.m4:768: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
203 m4_case([$1],
204 [C], [_LT_LANG(C)],
205 [C++], [_LT_LANG(CXX)],
206 [Java], [_LT_LANG(GCJ)],
207 [Fortran 77], [_LT_LANG(F77)],
208 [Fortran], [_LT_LANG(FC)],
209 [Windows Resource], [_LT_LANG(RC)],
210 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
211 [_LT_LANG($1)],
212 [m4_fatal([$0: unsupported language: "$1"])])])dnl
213 ])
214 m4trace:/usr/share/aclocal/libtool.m4:830: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
215 m4trace:/usr/share/aclocal/libtool.m4:830: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
216 You should run autoupdate.])dnl
217 LT_LANG(C++)])
218 m4trace:/usr/share/aclocal/libtool.m4:831: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
219 m4trace:/usr/share/aclocal/libtool.m4:831: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
220 You should run autoupdate.])dnl
221 LT_LANG(Fortran 77)])
222 m4trace:/usr/share/aclocal/libtool.m4:832: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
223 m4trace:/usr/share/aclocal/libtool.m4:832: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
224 You should run autoupdate.])dnl
225 LT_LANG(Fortran)])
226 m4trace:/usr/share/aclocal/libtool.m4:833: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
227 m4trace:/usr/share/aclocal/libtool.m4:833: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
228 You should run autoupdate.])dnl
229 LT_LANG(Java)])
230 m4trace:/usr/share/aclocal/libtool.m4:1402: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
231 m4_require([_LT_DECL_SED])dnl
232 AC_CACHE_CHECK([$1], [$2],
233 [$2=no
234 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
235 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
236 lt_compiler_flag="$3"
237 # Insert the option either (1) after the last *FLAGS variable, or
238 # (2) before a word containing "conftest.", or (3) at the end.
239 # Note that $ac_compile itself does not contain backslashes and begins
240 # with a dollar sign (not a hyphen), so the echo should work correctly.
241 # The option is referenced via a variable to avoid confusing sed.
242 lt_compile=`echo "$ac_compile" | $SED \
243 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
244 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
245 -e 's:$: $lt_compiler_flag:'`
246 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
247 (eval "$lt_compile" 2>conftest.err)
248 ac_status=$?
249 cat conftest.err >&AS_MESSAGE_LOG_FD
250 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
251 if (exit $ac_status) && test -s "$ac_outfile"; then
252 # The compiler can only warn and ignore the option if not recognized
253 # So say no if there are warnings other than the usual output.
254 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
255 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
256 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
257 $2=yes
258 fi
259 fi
260 $RM conftest*
261 ])
262
263 if test x"[$]$2" = xyes; then
264 m4_if([$5], , :, [$5])
265 else
266 m4_if([$6], , :, [$6])
267 fi
268 ])
269 m4trace:/usr/share/aclocal/libtool.m4:1444: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
270 m4trace:/usr/share/aclocal/libtool.m4:1444: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
271 You should run autoupdate.])dnl
272 m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
273 m4trace:/usr/share/aclocal/libtool.m4:1453: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
274 m4_require([_LT_DECL_SED])dnl
275 AC_CACHE_CHECK([$1], [$2],
276 [$2=no
277 save_LDFLAGS="$LDFLAGS"
278 LDFLAGS="$LDFLAGS $3"
279 echo "$lt_simple_link_test_code" > conftest.$ac_ext
280 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
281 # The linker can only warn and ignore the option if not recognized
282 # So say no if there are warnings
283 if test -s conftest.err; then
284 # Append any errors to the config.log.
285 cat conftest.err 1>&AS_MESSAGE_LOG_FD
286 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
287 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
288 if diff conftest.exp conftest.er2 >/dev/null; then
289 $2=yes
290 fi
291 else
292 $2=yes
293 fi
294 fi
295 $RM -r conftest*
296 LDFLAGS="$save_LDFLAGS"
297 ])
298
299 if test x"[$]$2" = xyes; then
300 m4_if([$4], , :, [$4])
301 else
302 m4_if([$5], , :, [$5])
303 fi
304 ])
305 m4trace:/usr/share/aclocal/libtool.m4:1488: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
306 m4trace:/usr/share/aclocal/libtool.m4:1488: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
307 You should run autoupdate.])dnl
308 m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
309 m4trace:/usr/share/aclocal/libtool.m4:1495: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
310 # find the maximum length of command line arguments
311 AC_MSG_CHECKING([the maximum length of command line arguments])
312 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
313 i=0
314 teststring="ABCD"
315
316 case $build_os in
317 msdosdjgpp*)
318 # On DJGPP, this test can blow up pretty badly due to problems in libc
319 # (any single argument exceeding 2000 bytes causes a buffer overrun
320 # during glob expansion). Even if it were fixed, the result of this
321 # check would be larger than it should be.
322 lt_cv_sys_max_cmd_len=12288; # 12K is about right
323 ;;
324
325 gnu*)
326 # Under GNU Hurd, this test is not required because there is
327 # no limit to the length of command line arguments.
328 # Libtool will interpret -1 as no limit whatsoever
329 lt_cv_sys_max_cmd_len=-1;
330 ;;
331
332 cygwin* | mingw* | cegcc*)
333 # On Win9x/ME, this test blows up -- it succeeds, but takes
334 # about 5 minutes as the teststring grows exponentially.
335 # Worse, since 9x/ME are not pre-emptively multitasking,
336 # you end up with a "frozen" computer, even though with patience
337 # the test eventually succeeds (with a max line length of 256k).
338 # Instead, let's just punt: use the minimum linelength reported by
339 # all of the supported platforms: 8192 (on NT/2K/XP).
340 lt_cv_sys_max_cmd_len=8192;
341 ;;
342
343 amigaos*)
344 # On AmigaOS with pdksh, this test takes hours, literally.
345 # So we just punt and use a minimum line length of 8192.
346 lt_cv_sys_max_cmd_len=8192;
347 ;;
348
349 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
350 # This has been around since 386BSD, at least. Likely further.
351 if test -x /sbin/sysctl; then
352 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
353 elif test -x /usr/sbin/sysctl; then
354 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
355 else
356 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
357 fi
358 # And add a safety zone
359 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
360 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
361 ;;
362
363 interix*)
364 # We know the value 262144 and hardcode it with a safety zone (like BSD)
365 lt_cv_sys_max_cmd_len=196608
366 ;;
367
368 osf*)
369 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
370 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
371 # nice to cause kernel panics so lets avoid the loop below.
372 # First set a reasonable default.
373 lt_cv_sys_max_cmd_len=16384
374 #
375 if test -x /sbin/sysconfig; then
376 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
377 *1*) lt_cv_sys_max_cmd_len=-1 ;;
378 esac
379 fi
380 ;;
381 sco3.2v5*)
382 lt_cv_sys_max_cmd_len=102400
383 ;;
384 sysv5* | sco5v6* | sysv4.2uw2*)
385 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
386 if test -n "$kargmax"; then
387 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
388 else
389 lt_cv_sys_max_cmd_len=32768
390 fi
391 ;;
392 *)
393 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
394 if test -n "$lt_cv_sys_max_cmd_len"; then
395 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
396 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
397 else
398 # Make teststring a little bigger before we do anything with it.
399 # a 1K string should be a reasonable start.
400 for i in 1 2 3 4 5 6 7 8 ; do
401 teststring=$teststring$teststring
402 done
403 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
404 # If test is not a shell built-in, we'll probably end up computing a
405 # maximum length that is only half of the actual maximum length, but
406 # we can't tell.
407 while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
408 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
409 test $i != 17 # 1/2 MB should be enough
410 do
411 i=`expr $i + 1`
412 teststring=$teststring$teststring
413 done
414 # Only check the string length outside the loop.
415 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
416 teststring=
417 # Add a significant safety factor because C++ compilers can tack on
418 # massive amounts of additional arguments before passing them to the
419 # linker. It appears as though 1/2 is a usable value.
420 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
421 fi
422 ;;
423 esac
424 ])
425 if test -n $lt_cv_sys_max_cmd_len ; then
426 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
427 else
428 AC_MSG_RESULT(none)
429 fi
430 max_cmd_len=$lt_cv_sys_max_cmd_len
431 _LT_DECL([], [max_cmd_len], [0],
432 [What is the maximum length of a command?])
433 ])
434 m4trace:/usr/share/aclocal/libtool.m4:1623: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
435 m4trace:/usr/share/aclocal/libtool.m4:1623: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
436 You should run autoupdate.])dnl
437 m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
438 m4trace:/usr/share/aclocal/libtool.m4:1724: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
439 if test "x$enable_dlopen" != xyes; then
440 enable_dlopen=unknown
441 enable_dlopen_self=unknown
442 enable_dlopen_self_static=unknown
443 else
444 lt_cv_dlopen=no
445 lt_cv_dlopen_libs=
446
447 case $host_os in
448 beos*)
449 lt_cv_dlopen="load_add_on"
450 lt_cv_dlopen_libs=
451 lt_cv_dlopen_self=yes
452 ;;
453
454 mingw* | pw32* | cegcc*)
455 lt_cv_dlopen="LoadLibrary"
456 lt_cv_dlopen_libs=
457 ;;
458
459 cygwin*)
460 lt_cv_dlopen="dlopen"
461 lt_cv_dlopen_libs=
462 ;;
463
464 darwin*)
465 # if libdl is installed we need to link against it
466 AC_CHECK_LIB([dl], [dlopen],
467 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
468 lt_cv_dlopen="dyld"
469 lt_cv_dlopen_libs=
470 lt_cv_dlopen_self=yes
471 ])
472 ;;
473
474 *)
475 AC_CHECK_FUNC([shl_load],
476 [lt_cv_dlopen="shl_load"],
477 [AC_CHECK_LIB([dld], [shl_load],
478 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
479 [AC_CHECK_FUNC([dlopen],
480 [lt_cv_dlopen="dlopen"],
481 [AC_CHECK_LIB([dl], [dlopen],
482 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
483 [AC_CHECK_LIB([svld], [dlopen],
484 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
485 [AC_CHECK_LIB([dld], [dld_link],
486 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
487 ])
488 ])
489 ])
490 ])
491 ])
492 ;;
493 esac
494
495 if test "x$lt_cv_dlopen" != xno; then
496 enable_dlopen=yes
497 else
498 enable_dlopen=no
499 fi
500
501 case $lt_cv_dlopen in
502 dlopen)
503 save_CPPFLAGS="$CPPFLAGS"
504 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
505
506 save_LDFLAGS="$LDFLAGS"
507 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
508
509 save_LIBS="$LIBS"
510 LIBS="$lt_cv_dlopen_libs $LIBS"
511
512 AC_CACHE_CHECK([whether a program can dlopen itself],
513 lt_cv_dlopen_self, [dnl
514 _LT_TRY_DLOPEN_SELF(
515 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
516 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
517 ])
518
519 if test "x$lt_cv_dlopen_self" = xyes; then
520 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
521 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
522 lt_cv_dlopen_self_static, [dnl
523 _LT_TRY_DLOPEN_SELF(
524 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
525 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
526 ])
527 fi
528
529 CPPFLAGS="$save_CPPFLAGS"
530 LDFLAGS="$save_LDFLAGS"
531 LIBS="$save_LIBS"
532 ;;
533 esac
534
535 case $lt_cv_dlopen_self in
536 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
537 *) enable_dlopen_self=unknown ;;
538 esac
539
540 case $lt_cv_dlopen_self_static in
541 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
542 *) enable_dlopen_self_static=unknown ;;
543 esac
544 fi
545 _LT_DECL([dlopen_support], [enable_dlopen], [0],
546 [Whether dlopen is supported])
547 _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
548 [Whether dlopen of programs is supported])
549 _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
550 [Whether dlopen of statically linked programs is supported])
551 ])
552 m4trace:/usr/share/aclocal/libtool.m4:1841: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
553 m4trace:/usr/share/aclocal/libtool.m4:1841: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
554 You should run autoupdate.])dnl
555 m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
556 m4trace:/usr/share/aclocal/libtool.m4:2732: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
557 AC_MSG_CHECKING([for $1])
558 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
559 [case $MAGIC_CMD in
560 [[\\/*] | ?:[\\/]*])
561 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
562 ;;
563 *)
564 lt_save_MAGIC_CMD="$MAGIC_CMD"
565 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
566 dnl $ac_dummy forces splitting on constant user-supplied paths.
567 dnl POSIX.2 word splitting is done only on the output of word expansions,
568 dnl not every word. This closes a longstanding sh security hole.
569 ac_dummy="m4_if([$2], , $PATH, [$2])"
570 for ac_dir in $ac_dummy; do
571 IFS="$lt_save_ifs"
572 test -z "$ac_dir" && ac_dir=.
573 if test -f $ac_dir/$1; then
574 lt_cv_path_MAGIC_CMD="$ac_dir/$1"
575 if test -n "$file_magic_test_file"; then
576 case $deplibs_check_method in
577 "file_magic "*)
578 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
579 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
580 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
581 $EGREP "$file_magic_regex" > /dev/null; then
582 :
583 else
584 cat <<_LT_EOF 1>&2
585
586 *** Warning: the command libtool uses to detect shared libraries,
587 *** $file_magic_cmd, produces output that libtool cannot recognize.
588 *** The result is that libtool may fail to recognize shared libraries
589 *** as such. This will affect the creation of libtool libraries that
590 *** depend on shared libraries, but programs linked with such libtool
591 *** libraries will work regardless of this problem. Nevertheless, you
592 *** may want to report the problem to your system manager and/or to
593 *** bug-libtool@gnu.org
594
595 _LT_EOF
596 fi ;;
597 esac
598 fi
599 break
600 fi
601 done
602 IFS="$lt_save_ifs"
603 MAGIC_CMD="$lt_save_MAGIC_CMD"
604 ;;
605 esac])
606 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
607 if test -n "$MAGIC_CMD"; then
608 AC_MSG_RESULT($MAGIC_CMD)
609 else
610 AC_MSG_RESULT(no)
611 fi
612 _LT_DECL([], [MAGIC_CMD], [0],
613 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
614 ])
615 m4trace:/usr/share/aclocal/libtool.m4:2794: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
616 m4trace:/usr/share/aclocal/libtool.m4:2794: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
617 You should run autoupdate.])dnl
618 m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
619 m4trace:/usr/share/aclocal/libtool.m4:2817: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
620 AC_REQUIRE([AC_CANONICAL_HOST])dnl
621 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
622 m4_require([_LT_DECL_SED])dnl
623 m4_require([_LT_DECL_EGREP])dnl
624
625 AC_ARG_WITH([gnu-ld],
626 [AS_HELP_STRING([--with-gnu-ld],
627 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
628 [test "$withval" = no || with_gnu_ld=yes],
629 [with_gnu_ld=no])dnl
630
631 ac_prog=ld
632 if test "$GCC" = yes; then
633 # Check if gcc -print-prog-name=ld gives a path.
634 AC_MSG_CHECKING([for ld used by $CC])
635 case $host in
636 *-*-mingw*)
637 # gcc leaves a trailing carriage return which upsets mingw
638 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
639 *)
640 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
641 esac
642 case $ac_prog in
643 # Accept absolute paths.
644 [[\\/]]* | ?:[[\\/]]*)
645 re_direlt='/[[^/]][[^/]]*/\.\./'
646 # Canonicalize the pathname of ld
647 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
648 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
649 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
650 done
651 test -z "$LD" && LD="$ac_prog"
652 ;;
653 "")
654 # If it fails, then pretend we aren't using GCC.
655 ac_prog=ld
656 ;;
657 *)
658 # If it is relative, then search for the first ld in PATH.
659 with_gnu_ld=unknown
660 ;;
661 esac
662 elif test "$with_gnu_ld" = yes; then
663 AC_MSG_CHECKING([for GNU ld])
664 else
665 AC_MSG_CHECKING([for non-GNU ld])
666 fi
667 AC_CACHE_VAL(lt_cv_path_LD,
668 [if test -z "$LD"; then
669 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
670 for ac_dir in $PATH; do
671 IFS="$lt_save_ifs"
672 test -z "$ac_dir" && ac_dir=.
673 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
674 lt_cv_path_LD="$ac_dir/$ac_prog"
675 # Check to see if the program is GNU ld. I'd rather use --version,
676 # but apparently some variants of GNU ld only accept -v.
677 # Break only if it was the GNU/non-GNU ld that we prefer.
678 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
679 *GNU* | *'with BFD'*)
680 test "$with_gnu_ld" != no && break
681 ;;
682 *)
683 test "$with_gnu_ld" != yes && break
684 ;;
685 esac
686 fi
687 done
688 IFS="$lt_save_ifs"
689 else
690 lt_cv_path_LD="$LD" # Let the user override the test with a path.
691 fi])
692 LD="$lt_cv_path_LD"
693 if test -n "$LD"; then
694 AC_MSG_RESULT($LD)
695 else
696 AC_MSG_RESULT(no)
697 fi
698 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
699 _LT_PATH_LD_GNU
700 AC_SUBST([LD])
701
702 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
703 ])
704 m4trace:/usr/share/aclocal/libtool.m4:2905: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
705 m4trace:/usr/share/aclocal/libtool.m4:2905: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
706 You should run autoupdate.])dnl
707 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
708 m4trace:/usr/share/aclocal/libtool.m4:2906: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
709 m4trace:/usr/share/aclocal/libtool.m4:2906: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
710 You should run autoupdate.])dnl
711 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
712 m4trace:/usr/share/aclocal/libtool.m4:3170: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
713 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
714 [if test -n "$NM"; then
715 # Let the user override the test.
716 lt_cv_path_NM="$NM"
717 else
718 lt_nm_to_check="${ac_tool_prefix}nm"
719 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
720 lt_nm_to_check="$lt_nm_to_check nm"
721 fi
722 for lt_tmp_nm in $lt_nm_to_check; do
723 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
724 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
725 IFS="$lt_save_ifs"
726 test -z "$ac_dir" && ac_dir=.
727 tmp_nm="$ac_dir/$lt_tmp_nm"
728 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
729 # Check to see if the nm accepts a BSD-compat flag.
730 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
731 # nm: unknown option "B" ignored
732 # Tru64's nm complains that /dev/null is an invalid object file
733 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
734 */dev/null* | *'Invalid file or object type'*)
735 lt_cv_path_NM="$tmp_nm -B"
736 break
737 ;;
738 *)
739 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
740 */dev/null*)
741 lt_cv_path_NM="$tmp_nm -p"
742 break
743 ;;
744 *)
745 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
746 continue # so that we can try to find one that supports BSD flags
747 ;;
748 esac
749 ;;
750 esac
751 fi
752 done
753 IFS="$lt_save_ifs"
754 done
755 : ${lt_cv_path_NM=no}
756 fi])
757 if test "$lt_cv_path_NM" != "no"; then
758 NM="$lt_cv_path_NM"
759 else
760 # Didn't find any BSD compatible name lister, look for dumpbin.
761 AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
762 AC_SUBST([DUMPBIN])
763 if test "$DUMPBIN" != ":"; then
764 NM="$DUMPBIN"
765 fi
766 fi
767 test -z "$NM" && NM=nm
768 AC_SUBST([NM])
769 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
770
771 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
772 [lt_cv_nm_interface="BSD nm"
773 echo "int some_variable = 0;" > conftest.$ac_ext
774 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
775 (eval "$ac_compile" 2>conftest.err)
776 cat conftest.err >&AS_MESSAGE_LOG_FD
777 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
778 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
779 cat conftest.err >&AS_MESSAGE_LOG_FD
780 (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
781 cat conftest.out >&AS_MESSAGE_LOG_FD
782 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
783 lt_cv_nm_interface="MS dumpbin"
784 fi
785 rm -f conftest*])
786 ])
787 m4trace:/usr/share/aclocal/libtool.m4:3248: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
788 m4trace:/usr/share/aclocal/libtool.m4:3248: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
789 You should run autoupdate.])dnl
790 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
791 m4trace:/usr/share/aclocal/libtool.m4:3249: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
792 m4trace:/usr/share/aclocal/libtool.m4:3249: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
793 You should run autoupdate.])dnl
794 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
795 m4trace:/usr/share/aclocal/libtool.m4:3258: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
796 LIBM=
797 case $host in
798 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
799 # These system don't have libm, or don't need it
800 ;;
801 *-ncr-sysv4.3*)
802 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
803 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
804 ;;
805 *)
806 AC_CHECK_LIB(m, cos, LIBM="-lm")
807 ;;
808 esac
809 AC_SUBST([LIBM])
810 ])
811 m4trace:/usr/share/aclocal/libtool.m4:3277: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
812 m4trace:/usr/share/aclocal/libtool.m4:3277: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
813 You should run autoupdate.])dnl
814 m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
815 m4trace:/usr/share/aclocal/libtool.m4:6970: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
816 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
817 [AC_CHECK_TOOL(GCJ, gcj,)
818 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
819 AC_SUBST(GCJFLAGS)])])[]dnl
820 ])
821 m4trace:/usr/share/aclocal/libtool.m4:6979: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
822 m4trace:/usr/share/aclocal/libtool.m4:6979: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
823 You should run autoupdate.])dnl
824 m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
825 m4trace:/usr/share/aclocal/libtool.m4:6986: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
826 ])
827 m4trace:/usr/share/aclocal/libtool.m4:6991: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
828 m4trace:/usr/share/aclocal/libtool.m4:6991: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
829 You should run autoupdate.])dnl
830 m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
831 m4trace:/usr/share/aclocal/libtool.m4:7102: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
832 m4trace:/usr/share/aclocal/libtool.m4:7102: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
833 You should run autoupdate.])dnl
834 m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
835 m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
836 _$0($*)
837 ])
838 m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
839 dnl Although the argument is deprecated and no longer documented,
840 dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
841 dnl here make sure it is the same as any other declaration of libltdl's
842 dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
843 dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
844 m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
845 _$0()
846 ])
847 m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
848 _LTDL_CONVENIENCE])
849 m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
850 You should run autoupdate.])dnl
851 _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
852 _LTDL_CONVENIENCE])
853 m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
854 dnl Although the argument is deprecated and no longer documented,
855 dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
856 dnl here make sure it is the same as any other declaration of libltdl's
857 dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
858 dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
859 m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
860 _$0()
861 ])
862 m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
863 _LTDL_INSTALLABLE])
864 m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
865 You should run autoupdate.])dnl
866 _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
867 _LTDL_INSTALLABLE])
868 m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
869 m4_pattern_allow([^_LT_LIBOBJS$])
870 _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
871 ])
872 m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
873 _LT_SET_OPTIONS([$0], [$1])
874
875 dnl We need to keep our own list of libobjs separate from our parent project,
876 dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
877 dnl we look for our own LIBOBJs.
878 m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
879 m4_pushdef([AC_LIBSOURCES])
880
881 dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
882 m4_if(_LTDL_MODE, [],
883 [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
884 m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
885 [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
886
887 AC_ARG_WITH([included_ltdl],
888 [AS_HELP_STRING([--with-included-ltdl],
889 [use the GNU ltdl sources included here])])
890
891 if test "x$with_included_ltdl" != xyes; then
892 # We are not being forced to use the included libltdl sources, so
893 # decide whether there is a useful installed version we can use.
894 AC_CHECK_HEADER([ltdl.h],
895 [AC_CHECK_DECL([lt_dlinterface_register],
896 [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
897 [with_included_ltdl=no],
898 [with_included_ltdl=yes])],
899 [with_included_ltdl=yes],
900 [AC_INCLUDES_DEFAULT
901 #include <ltdl.h>])],
902 [with_included_ltdl=yes],
903 [AC_INCLUDES_DEFAULT]
904 )
905 fi
906
907 dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
908 dnl was called yet, then for old times' sake, we assume libltdl is in an
909 dnl eponymous directory:
910 AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
911
912 AC_ARG_WITH([ltdl_include],
913 [AS_HELP_STRING([--with-ltdl-include=DIR],
914 [use the ltdl headers installed in DIR])])
915
916 if test -n "$with_ltdl_include"; then
917 if test -f "$with_ltdl_include/ltdl.h"; then :
918 else
919 AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
920 fi
921 else
922 with_ltdl_include=no
923 fi
924
925 AC_ARG_WITH([ltdl_lib],
926 [AS_HELP_STRING([--with-ltdl-lib=DIR],
927 [use the libltdl.la installed in DIR])])
928
929 if test -n "$with_ltdl_lib"; then
930 if test -f "$with_ltdl_lib/libltdl.la"; then :
931 else
932 AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
933 fi
934 else
935 with_ltdl_lib=no
936 fi
937
938 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
939 ,yes,no,no,)
940 m4_case(m4_default(_LTDL_TYPE, [convenience]),
941 [convenience], [_LTDL_CONVENIENCE],
942 [installable], [_LTDL_INSTALLABLE],
943 [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
944 ;;
945 ,no,no,no,)
946 # If the included ltdl is not to be used, then use the
947 # preinstalled libltdl we found.
948 AC_DEFINE([HAVE_LTDL], [1],
949 [Define this if a modern libltdl is already installed])
950 LIBLTDL=-lltdl
951 LTDLDEPS=
952 LTDLINCL=
953 ;;
954 ,no*,no,*)
955 AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
956 ;;
957 *) with_included_ltdl=no
958 LIBLTDL="-L$with_ltdl_lib -lltdl"
959 LTDLDEPS=
960 LTDLINCL="-I$with_ltdl_include"
961 ;;
962 esac
963 INCLTDL="$LTDLINCL"
964
965 # Report our decision...
966 AC_MSG_CHECKING([where to find libltdl headers])
967 AC_MSG_RESULT([$LTDLINCL])
968 AC_MSG_CHECKING([where to find libltdl library])
969 AC_MSG_RESULT([$LIBLTDL])
970
971 _LTDL_SETUP
972
973 dnl restore autoconf definition.
974 m4_popdef([AC_LIBOBJ])
975 m4_popdef([AC_LIBSOURCES])
976
977 AC_CONFIG_COMMANDS_PRE([
978 _ltdl_libobjs=
979 _ltdl_ltlibobjs=
980 if test -n "$_LT_LIBOBJS"; then
981 # Remove the extension.
982 _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
983 for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
984 _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
985 _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
986 done
987 fi
988 AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
989 AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
990 ])
991
992 # Only expand once:
993 m4_define([LTDL_INIT])
994 ])
995 m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
996 m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
997 You should run autoupdate.])dnl
998 LTDL_INIT($@)])
999 m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
1000 m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
1001 You should run autoupdate.])dnl
1002 LTDL_INIT($@)])
1003 m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
1004 m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
1005 You should run autoupdate.])dnl
1006 LTDL_INIT($@)])
1007 m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
1008 AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
1009 AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
1010 AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
1011 AC_REQUIRE([LT_LIB_DLLOAD])dnl
1012 AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1013 AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
1014 AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
1015 AC_REQUIRE([gl_FUNC_ARGZ])dnl
1016
1017 m4_require([_LT_CHECK_OBJDIR])dnl
1018 m4_require([_LT_HEADER_DLFCN])dnl
1019 m4_require([_LT_CHECK_DLPREOPEN])dnl
1020 m4_require([_LT_DECL_SED])dnl
1021
1022 dnl Don't require this, or it will be expanded earlier than the code
1023 dnl that sets the variables it relies on:
1024 _LT_ENABLE_INSTALL
1025
1026 dnl _LTDL_MODE specific code must be called at least once:
1027 _LTDL_MODE_DISPATCH
1028
1029 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
1030 # the user used. This is so that ltdl.h can pick up the parent projects
1031 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
1032 # definitions required by ltdl.c.
1033 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
1034 AC_CONFIG_COMMANDS_PRE([dnl
1035 m4_pattern_allow([^LT_CONFIG_H$])dnl
1036 m4_ifset([AH_HEADER],
1037 [LT_CONFIG_H=AH_HEADER],
1038 [m4_ifset([AC_LIST_HEADERS],
1039 [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
1040 [])])])
1041 AC_SUBST([LT_CONFIG_H])
1042
1043 AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
1044 [], [], [AC_INCLUDES_DEFAULT])
1045
1046 AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
1047 AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
1048
1049 AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
1050
1051 name=ltdl
1052 LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
1053 AC_SUBST([LTDLOPEN])
1054 ])
1055 m4trace:/usr/share/aclocal/ltdl.m4:437: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1056 AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
1057 [lt_cv_sys_dlopen_deplibs],
1058 [# PORTME does your system automatically load deplibs for dlopen?
1059 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
1060 # For now, we just catch OSes we know something about -- in the
1061 # future, we'll try test this programmatically.
1062 lt_cv_sys_dlopen_deplibs=unknown
1063 case $host_os in
1064 aix3*|aix4.1.*|aix4.2.*)
1065 # Unknown whether this is true for these versions of AIX, but
1066 # we want this `case' here to explicitly catch those versions.
1067 lt_cv_sys_dlopen_deplibs=unknown
1068 ;;
1069 aix[[4-9]]*)
1070 lt_cv_sys_dlopen_deplibs=yes
1071 ;;
1072 amigaos*)
1073 case $host_cpu in
1074 powerpc)
1075 lt_cv_sys_dlopen_deplibs=no
1076 ;;
1077 esac
1078 ;;
1079 darwin*)
1080 # Assuming the user has installed a libdl from somewhere, this is true
1081 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
1082 lt_cv_sys_dlopen_deplibs=yes
1083 ;;
1084 freebsd* | dragonfly*)
1085 lt_cv_sys_dlopen_deplibs=yes
1086 ;;
1087 gnu* | linux* | k*bsd*-gnu)
1088 # GNU and its variants, using gnu ld.so (Glibc)
1089 lt_cv_sys_dlopen_deplibs=yes
1090 ;;
1091 hpux10*|hpux11*)
1092 lt_cv_sys_dlopen_deplibs=yes
1093 ;;
1094 interix*)
1095 lt_cv_sys_dlopen_deplibs=yes
1096 ;;
1097 irix[[12345]]*|irix6.[[01]]*)
1098 # Catch all versions of IRIX before 6.2, and indicate that we don't
1099 # know how it worked for any of those versions.
1100 lt_cv_sys_dlopen_deplibs=unknown
1101 ;;
1102 irix*)
1103 # The case above catches anything before 6.2, and it's known that
1104 # at 6.2 and later dlopen does load deplibs.
1105 lt_cv_sys_dlopen_deplibs=yes
1106 ;;
1107 netbsd*)
1108 lt_cv_sys_dlopen_deplibs=yes
1109 ;;
1110 openbsd*)
1111 lt_cv_sys_dlopen_deplibs=yes
1112 ;;
1113 osf[[1234]]*)
1114 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
1115 # it did *not* use an RPATH in a shared library to find objects the
1116 # library depends on, so we explicitly say `no'.
1117 lt_cv_sys_dlopen_deplibs=no
1118 ;;
1119 osf5.0|osf5.0a|osf5.1)
1120 # dlopen *does* load deplibs and with the right loader patch applied
1121 # it even uses RPATH in a shared library to search for shared objects
1122 # that the library depends on, but there's no easy way to know if that
1123 # patch is installed. Since this is the case, all we can really
1124 # say is unknown -- it depends on the patch being installed. If
1125 # it is, this changes to `yes'. Without it, it would be `no'.
1126 lt_cv_sys_dlopen_deplibs=unknown
1127 ;;
1128 osf*)
1129 # the two cases above should catch all versions of osf <= 5.1. Read
1130 # the comments above for what we know about them.
1131 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
1132 # is used to find them so we can finally say `yes'.
1133 lt_cv_sys_dlopen_deplibs=yes
1134 ;;
1135 qnx*)
1136 lt_cv_sys_dlopen_deplibs=yes
1137 ;;
1138 solaris*)
1139 lt_cv_sys_dlopen_deplibs=yes
1140 ;;
1141 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1142 libltdl_cv_sys_dlopen_deplibs=yes
1143 ;;
1144 esac
1145 ])
1146 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
1147 AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
1148 [Define if the OS needs help to load dependent libraries for dlopen().])
1149 fi
1150 ])
1151 m4trace:/usr/share/aclocal/ltdl.m4:536: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1152 m4trace:/usr/share/aclocal/ltdl.m4:536: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
1153 You should run autoupdate.])dnl
1154 m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1155 m4trace:/usr/share/aclocal/ltdl.m4:543: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1156 AC_CACHE_CHECK([which extension is used for runtime loadable modules],
1157 [libltdl_cv_shlibext],
1158 [
1159 module=yes
1160 eval libltdl_cv_shlibext=$shrext_cmds
1161 ])
1162 if test -n "$libltdl_cv_shlibext"; then
1163 m4_pattern_allow([LT_MODULE_EXT])dnl
1164 AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
1165 [Define to the extension used for runtime loadable modules, say, ".so".])
1166 fi
1167 ])
1168 m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1169 m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
1170 You should run autoupdate.])dnl
1171 m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1172 m4trace:/usr/share/aclocal/ltdl.m4:566: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1173 AC_CACHE_CHECK([which variable specifies run-time module search path],
1174 [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
1175 if test -n "$lt_cv_module_path_var"; then
1176 m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
1177 AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
1178 [Define to the name of the environment variable that determines the run-time module search path.])
1179 fi
1180 ])
1181 m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1182 m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
1183 You should run autoupdate.])dnl
1184 m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1185 m4trace:/usr/share/aclocal/ltdl.m4:585: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1186 AC_CACHE_CHECK([for the default library search path],
1187 [lt_cv_sys_dlsearch_path],
1188 [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
1189 if test -n "$lt_cv_sys_dlsearch_path"; then
1190 sys_dlsearch_path=
1191 for dir in $lt_cv_sys_dlsearch_path; do
1192 if test -z "$sys_dlsearch_path"; then
1193 sys_dlsearch_path="$dir"
1194 else
1195 sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
1196 fi
1197 done
1198 m4_pattern_allow([LT_DLSEARCH_PATH])dnl
1199 AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
1200 [Define to the system default library search path.])
1201 fi
1202 ])
1203 m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1204 m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
1205 You should run autoupdate.])dnl
1206 m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1207 m4trace:/usr/share/aclocal/ltdl.m4:632: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
1208 LT_DLLOADERS=
1209 AC_SUBST([LT_DLLOADERS])
1210
1211 AC_LANG_PUSH([C])
1212
1213 LIBADD_DLOPEN=
1214 AC_SEARCH_LIBS([dlopen], [dl],
1215 [AC_DEFINE([HAVE_LIBDL], [1],
1216 [Define if you have the libdl library or equivalent.])
1217 if test "$ac_cv_search_dlopen" != "none required" ; then
1218 LIBADD_DLOPEN="-ldl"
1219 fi
1220 libltdl_cv_lib_dl_dlopen="yes"
1221 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1222 [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
1223 # include <dlfcn.h>
1224 #endif
1225 ]], [[dlopen(0, 0);]])],
1226 [AC_DEFINE([HAVE_LIBDL], [1],
1227 [Define if you have the libdl library or equivalent.])
1228 libltdl_cv_func_dlopen="yes"
1229 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1230 [AC_CHECK_LIB([svld], [dlopen],
1231 [AC_DEFINE([HAVE_LIBDL], [1],
1232 [Define if you have the libdl library or equivalent.])
1233 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
1234 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
1235 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
1236 then
1237 lt_save_LIBS="$LIBS"
1238 LIBS="$LIBS $LIBADD_DLOPEN"
1239 AC_CHECK_FUNCS([dlerror])
1240 LIBS="$lt_save_LIBS"
1241 fi
1242 AC_SUBST([LIBADD_DLOPEN])
1243
1244 LIBADD_SHL_LOAD=
1245 AC_CHECK_FUNC([shl_load],
1246 [AC_DEFINE([HAVE_SHL_LOAD], [1],
1247 [Define if you have the shl_load function.])
1248 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
1249 [AC_CHECK_LIB([dld], [shl_load],
1250 [AC_DEFINE([HAVE_SHL_LOAD], [1],
1251 [Define if you have the shl_load function.])
1252 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1253 LIBADD_SHL_LOAD="-ldld"])])
1254 AC_SUBST([LIBADD_SHL_LOAD])
1255
1256 case $host_os in
1257 darwin[[1567]].*)
1258 # We only want this for pre-Mac OS X 10.4.
1259 AC_CHECK_FUNC([_dyld_func_lookup],
1260 [AC_DEFINE([HAVE_DYLD], [1],
1261 [Define if you have the _dyld_func_lookup function.])
1262 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
1263 ;;
1264 beos*)
1265 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
1266 ;;
1267 cygwin* | mingw* | os2* | pw32*)
1268 AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
1269 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
1270 ;;
1271 esac
1272
1273 AC_CHECK_LIB([dld], [dld_link],
1274 [AC_DEFINE([HAVE_DLD], [1],
1275 [Define if you have the GNU dld library.])
1276 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
1277 AC_SUBST([LIBADD_DLD_LINK])
1278
1279 m4_pattern_allow([^LT_DLPREOPEN$])
1280 LT_DLPREOPEN=
1281 if test -n "$LT_DLLOADERS"
1282 then
1283 for lt_loader in $LT_DLLOADERS; do
1284 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
1285 done
1286 AC_DEFINE([HAVE_LIBDLLOADER], [1],
1287 [Define if libdlloader will be built on this platform])
1288 fi
1289 AC_SUBST([LT_DLPREOPEN])
1290
1291 dnl This isn't used anymore, but set it for backwards compatibility
1292 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
1293 AC_SUBST([LIBADD_DL])
1294
1295 AC_LANG_POP
1296 ])
1297 m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1298 m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
1299 You should run autoupdate.])dnl
1300 m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1301 m4trace:/usr/share/aclocal/ltdl.m4:733: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
1302 AC_CACHE_CHECK([for _ prefix in compiled symbols],
1303 [lt_cv_sys_symbol_underscore],
1304 [lt_cv_sys_symbol_underscore=no
1305 cat > conftest.$ac_ext <<_LT_EOF
1306 void nm_test_func(){}
1307 int main(){nm_test_func;return 0;}
1308 _LT_EOF
1309 if AC_TRY_EVAL(ac_compile); then
1310 # Now try to grab the symbols.
1311 ac_nlist=conftest.nm
1312 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
1313 # See whether the symbols have a leading underscore.
1314 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
1315 lt_cv_sys_symbol_underscore=yes
1316 else
1317 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
1318 :
1319 else
1320 echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
1321 fi
1322 fi
1323 else
1324 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
1325 fi
1326 else
1327 echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
1328 cat conftest.c >&AS_MESSAGE_LOG_FD
1329 fi
1330 rm -rf conftest*
1331 ])
1332 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1333 AC_SUBST([sys_symbol_underscore])
1334 ])
1335 m4trace:/usr/share/aclocal/ltdl.m4:770: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1336 m4trace:/usr/share/aclocal/ltdl.m4:770: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
1337 You should run autoupdate.])dnl
1338 m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1339 m4trace:/usr/share/aclocal/ltdl.m4:777: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1340 if test x"$lt_cv_sys_symbol_underscore" = xyes; then
1341 if test x"$libltdl_cv_func_dlopen" = xyes ||
1342 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1343 AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
1344 [libltdl_cv_need_uscore],
1345 [libltdl_cv_need_uscore=unknown
1346 save_LIBS="$LIBS"
1347 LIBS="$LIBS $LIBADD_DLOPEN"
1348 _LT_TRY_DLOPEN_SELF(
1349 [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
1350 [], [libltdl_cv_need_uscore=cross])
1351 LIBS="$save_LIBS"
1352 ])
1353 fi
1354 fi
1355
1356 if test x"$libltdl_cv_need_uscore" = xyes; then
1357 AC_DEFINE([NEED_USCORE], [1],
1358 [Define if dlsym() requires a leading underscore in symbol names.])
1359 fi
1360 ])
1361 m4trace:/usr/share/aclocal/ltdl.m4:802: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1362 m4trace:/usr/share/aclocal/ltdl.m4:802: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
1363 You should run autoupdate.])dnl
1364 m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1365 m4trace:/usr/share/aclocal/ltoptions.m4:13: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
1366 m4trace:/usr/share/aclocal/ltoptions.m4:110: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
1367 AC_DIAGNOSE([obsolete],
1368 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1369 put the `dlopen' option into LT_INIT's first parameter.])
1370 ])
1371 m4trace:/usr/share/aclocal/ltoptions.m4:110: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
1372 You should run autoupdate.])dnl
1373 _LT_SET_OPTION([LT_INIT], [dlopen])
1374 AC_DIAGNOSE([obsolete],
1375 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1376 put the `dlopen' option into LT_INIT's first parameter.])
1377 ])
1378 m4trace:/usr/share/aclocal/ltoptions.m4:145: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1379 _LT_SET_OPTION([LT_INIT], [win32-dll])
1380 AC_DIAGNOSE([obsolete],
1381 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1382 put the `win32-dll' option into LT_INIT's first parameter.])
1383 ])
1384 m4trace:/usr/share/aclocal/ltoptions.m4:145: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
1385 You should run autoupdate.])dnl
1386 AC_REQUIRE([AC_CANONICAL_HOST])dnl
1387 _LT_SET_OPTION([LT_INIT], [win32-dll])
1388 AC_DIAGNOSE([obsolete],
1389 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1390 put the `win32-dll' option into LT_INIT's first parameter.])
1391 ])
1392 m4trace:/usr/share/aclocal/ltoptions.m4:194: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
1393 ])
1394 m4trace:/usr/share/aclocal/ltoptions.m4:198: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
1395 ])
1396 m4trace:/usr/share/aclocal/ltoptions.m4:202: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
1397 m4trace:/usr/share/aclocal/ltoptions.m4:202: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
1398 You should run autoupdate.])dnl
1399 AC_ENABLE_SHARED($@)])
1400 m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
1401 m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
1402 You should run autoupdate.])dnl
1403 AC_DISABLE_SHARED($@)])
1404 m4trace:/usr/share/aclocal/ltoptions.m4:248: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
1405 ])
1406 m4trace:/usr/share/aclocal/ltoptions.m4:252: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
1407 ])
1408 m4trace:/usr/share/aclocal/ltoptions.m4:256: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
1409 m4trace:/usr/share/aclocal/ltoptions.m4:256: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
1410 You should run autoupdate.])dnl
1411 AC_ENABLE_STATIC($@)])
1412 m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
1413 m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
1414 You should run autoupdate.])dnl
1415 AC_DISABLE_STATIC($@)])
1416 m4trace:/usr/share/aclocal/ltoptions.m4:302: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1417 AC_DIAGNOSE([obsolete],
1418 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1419 the `fast-install' option into LT_INIT's first parameter.])
1420 ])
1421 m4trace:/usr/share/aclocal/ltoptions.m4:302: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
1422 You should run autoupdate.])dnl
1423 _LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1424 AC_DIAGNOSE([obsolete],
1425 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1426 the `fast-install' option into LT_INIT's first parameter.])
1427 ])
1428 m4trace:/usr/share/aclocal/ltoptions.m4:309: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1429 AC_DIAGNOSE([obsolete],
1430 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1431 the `disable-fast-install' option into LT_INIT's first parameter.])
1432 ])
1433 m4trace:/usr/share/aclocal/ltoptions.m4:309: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
1434 You should run autoupdate.])dnl
1435 _LT_SET_OPTION([LT_INIT], [disable-fast-install])
1436 AC_DIAGNOSE([obsolete],
1437 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1438 the `disable-fast-install' option into LT_INIT's first parameter.])
1439 ])
1440 m4trace:/usr/share/aclocal/ltoptions.m4:342: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
1441 AC_DIAGNOSE([obsolete],
1442 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1443 put the `pic-only' option into LT_INIT's first parameter.])
1444 ])
1445 m4trace:/usr/share/aclocal/ltoptions.m4:342: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
1446 You should run autoupdate.])dnl
1447 _LT_SET_OPTION([LT_INIT], [pic-only])
1448 AC_DIAGNOSE([obsolete],
1449 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1450 put the `pic-only' option into LT_INIT's first parameter.])
1451 ])
1452 m4trace:/usr/share/aclocal/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
1453 m4trace:/usr/share/aclocal/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6b'
1454 macro_revision='1.3017'
1455 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
1456 _LT_DECL(, macro_revision, 0)
1457 ])
1458 m4trace:/usr/share/aclocal/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
1459 m4trace:/usr/share/aclocal/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
1460 m4trace:/usr/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
1461 m4trace:/usr/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
1462 m4trace:/usr/share/aclocal/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
1463 m4trace:/usr/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
1464 m4trace:/usr/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
1465 m4trace:/usr/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
1466 m4trace:/usr/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
1467 m4trace:/usr/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
1468 m4trace:/usr/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
1469 m4trace:/usr/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
1470 m4trace:/usr/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
1471 m4trace:/usr/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
1472 m4trace:/usr/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
1473 m4trace:/usr/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
1474 m4trace:/usr/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
1475 m4trace:/usr/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
1476 m4trace:/usr/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
1477 m4trace:/usr/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
1478 m4trace:/usr/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
1479 m4trace:/usr/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
1480 m4trace:/usr/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
1481 m4trace:/usr/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
1482 m4trace:/usr/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
1483 m4trace:/usr/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
1484 m4trace:/usr/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
1485 m4trace:/usr/share/aclocal/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
1486 m4trace:/usr/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
1487 m4trace:/usr/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
1488 m4trace:/usr/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
1489 m4trace:/usr/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
1490 m4trace:/usr/share/aclocal/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
1491 m4trace:/usr/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
1492 m4trace:/usr/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
1493 m4trace:/usr/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_RC])
1494 m4trace:/usr/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
1495 m4trace:/usr/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
1496 m4trace:/usr/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
1497 m4trace:/usr/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
1498 m4trace:/usr/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
1499 m4trace:/usr/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
1500 m4trace:/usr/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
1501 m4trace:/usr/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
1502 m4trace:/usr/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
1503 m4trace:/usr/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
1504 m4trace:/usr/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
1505 m4trace:/usr/share/aclocal/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
1506 m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
1507 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1508 dnl require some minimum version. Point them to the right macro.
1509 m4_if([$1], [1.11.1], [],
1510 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1511 ])
1512 m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
1513 m4_ifndef([AC_AUTOCONF_VERSION],
1514 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1515 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1516 m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
1517 AC_PREREQ([2.50])dnl
1518 # expand $ac_aux_dir to an absolute path
1519 am_aux_dir=`cd $ac_aux_dir && pwd`
1520 ])
1521 m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
1522 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1523 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1524 AC_SUBST([$1_TRUE])dnl
1525 AC_SUBST([$1_FALSE])dnl
1526 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
1527 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
1528 m4_define([_AM_COND_VALUE_$1], [$2])dnl
1529 if $2; then
1530 $1_TRUE=
1531 $1_FALSE='#'
1532 else
1533 $1_TRUE='#'
1534 $1_FALSE=
1535 fi
1536 AC_CONFIG_COMMANDS_PRE(
1537 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1538 AC_MSG_ERROR([[conditional "$1" was never defined.
1539 Usually this means the macro was only invoked conditionally.]])
1540 fi])])
1541 m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
1542 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1543 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1544 AC_REQUIRE([AM_DEP_TRACK])dnl
1545
1546 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1547 [$1], CXX, [depcc="$CXX" am_compiler_list=],
1548 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1549 [$1], UPC, [depcc="$UPC" am_compiler_list=],
1550 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1551 [depcc="$$1" am_compiler_list=])
1552
1553 AC_CACHE_CHECK([dependency style of $depcc],
1554 [am_cv_$1_dependencies_compiler_type],
1555 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1556 # We make a subdir and do the tests there. Otherwise we can end up
1557 # making bogus files that we don't know about and never remove. For
1558 # instance it was reported that on HP-UX the gcc test will end up
1559 # making a dummy file named `D' -- because `-MD' means `put the output
1560 # in D'.
1561 mkdir conftest.dir
1562 # Copy depcomp to subdir because otherwise we won't find it if we're
1563 # using a relative directory.
1564 cp "$am_depcomp" conftest.dir
1565 cd conftest.dir
1566 # We will build objects and dependencies in a subdirectory because
1567 # it helps to detect inapplicable dependency modes. For instance
1568 # both Tru64's cc and ICC support -MD to output dependencies as a
1569 # side effect of compilation, but ICC will put the dependencies in
1570 # the current directory while Tru64 will put them in the object
1571 # directory.
1572 mkdir sub
1573
1574 am_cv_$1_dependencies_compiler_type=none
1575 if test "$am_compiler_list" = ""; then
1576 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1577 fi
1578 am__universal=false
1579 m4_case([$1], [CC],
1580 [case " $depcc " in #(
1581 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1582 esac],
1583 [CXX],
1584 [case " $depcc " in #(
1585 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1586 esac])
1587
1588 for depmode in $am_compiler_list; do
1589 # Setup a source with many dependencies, because some compilers
1590 # like to wrap large dependency lists on column 80 (with \), and
1591 # we should not choose a depcomp mode which is confused by this.
1592 #
1593 # We need to recreate these files for each test, as the compiler may
1594 # overwrite some of them when testing with obscure command lines.
1595 # This happens at least with the AIX C compiler.
1596 : > sub/conftest.c
1597 for i in 1 2 3 4 5 6; do
1598 echo '#include "conftst'$i'.h"' >> sub/conftest.c
1599 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1600 # Solaris 8's {/usr,}/bin/sh.
1601 touch sub/conftst$i.h
1602 done
1603 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1604
1605 # We check with `-c' and `-o' for the sake of the "dashmstdout"
1606 # mode. It turns out that the SunPro C++ compiler does not properly
1607 # handle `-M -o', and we need to detect this. Also, some Intel
1608 # versions had trouble with output in subdirs
1609 am__obj=sub/conftest.${OBJEXT-o}
1610 am__minus_obj="-o $am__obj"
1611 case $depmode in
1612 gcc)
1613 # This depmode causes a compiler race in universal mode.
1614 test "$am__universal" = false || continue
1615 ;;
1616 nosideeffect)
1617 # after this tag, mechanisms are not by side-effect, so they'll
1618 # only be used when explicitly requested
1619 if test "x$enable_dependency_tracking" = xyes; then
1620 continue
1621 else
1622 break
1623 fi
1624 ;;
1625 msvisualcpp | msvcmsys)
1626 # This compiler won't grok `-c -o', but also, the minuso test has
1627 # not run yet. These depmodes are late enough in the game, and
1628 # so weak that their functioning should not be impacted.
1629 am__obj=conftest.${OBJEXT-o}
1630 am__minus_obj=
1631 ;;
1632 none) break ;;
1633 esac
1634 if depmode=$depmode \
1635 source=sub/conftest.c object=$am__obj \
1636 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1637 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1638 >/dev/null 2>conftest.err &&
1639 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1640 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1641 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1642 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1643 # icc doesn't choke on unknown options, it will just issue warnings
1644 # or remarks (even with -Werror). So we grep stderr for any message
1645 # that says an option was ignored or not supported.
1646 # When given -MP, icc 7.0 and 7.1 complain thusly:
1647 # icc: Command line warning: ignoring option '-M'; no argument required
1648 # The diagnosis changed in icc 8.0:
1649 # icc: Command line remark: option '-MP' not supported
1650 if (grep 'ignoring option' conftest.err ||
1651 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1652 am_cv_$1_dependencies_compiler_type=$depmode
1653 break
1654 fi
1655 fi
1656 done
1657
1658 cd ..
1659 rm -rf conftest.dir
1660 else
1661 am_cv_$1_dependencies_compiler_type=none
1662 fi
1663 ])
1664 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1665 AM_CONDITIONAL([am__fastdep$1], [
1666 test "x$enable_dependency_tracking" != xno \
1667 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1668 ])
1669 m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1670 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1671 ])
1672 m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
1673 [ --disable-dependency-tracking speeds up one-time build
1674 --enable-dependency-tracking do not reject slow dependency extractors])
1675 if test "x$enable_dependency_tracking" != xno; then
1676 am_depcomp="$ac_aux_dir/depcomp"
1677 AMDEPBACKSLASH='\'
1678 fi
1679 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1680 AC_SUBST([AMDEPBACKSLASH])dnl
1681 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1682 ])
1683 m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
1684 # Autoconf 2.62 quotes --file arguments for eval, but not when files
1685 # are listed without --file. Let's play safe and only enable the eval
1686 # if we detect the quoting.
1687 case $CONFIG_FILES in
1688 *\'*) eval set x "$CONFIG_FILES" ;;
1689 *) set x $CONFIG_FILES ;;
1690 esac
1691 shift
1692 for mf
1693 do
1694 # Strip MF so we end up with the name of the file.
1695 mf=`echo "$mf" | sed -e 's/:.*$//'`
1696 # Check whether this is an Automake generated Makefile or not.
1697 # We used to match only the files named `Makefile.in', but
1698 # some people rename them; so instead we look at the file content.
1699 # Grep'ing the first line is not enough: some people post-process
1700 # each Makefile.in and add a new line on top of each file to say so.
1701 # Grep'ing the whole file is not good either: AIX grep has a line
1702 # limit of 2048, but all sed's we know have understand at least 4000.
1703 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1704 dirpart=`AS_DIRNAME("$mf")`
1705 else
1706 continue
1707 fi
1708 # Extract the definition of DEPDIR, am__include, and am__quote
1709 # from the Makefile without running `make'.
1710 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1711 test -z "$DEPDIR" && continue
1712 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1713 test -z "am__include" && continue
1714 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1715 # When using ansi2knr, U may be empty or an underscore; expand it
1716 U=`sed -n 's/^U = //p' < "$mf"`
1717 # Find all dependency output files, they are included files with
1718 # $(DEPDIR) in their names. We invoke sed twice because it is the
1719 # simplest approach to changing $(DEPDIR) to its actual value in the
1720 # expansion.
1721 for file in `sed -n "
1722 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1723 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1724 # Make sure the directory exists.
1725 test -f "$dirpart/$file" && continue
1726 fdir=`AS_DIRNAME(["$file"])`
1727 AS_MKDIR_P([$dirpart/$fdir])
1728 # echo "creating $dirpart/$file"
1729 echo '# dummy' > "$dirpart/$file"
1730 done
1731 done
1732 }
1733 ])
1734 m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
1735 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1736 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1737 ])
1738 m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
1739 m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
1740 You should run autoupdate.])dnl
1741 AC_CONFIG_HEADERS($@)])
1742 m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
1743 dnl Autoconf wants to disallow AM_ names. We explicitly allow
1744 dnl the ones we care about.
1745 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1746 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1747 AC_REQUIRE([AC_PROG_INSTALL])dnl
1748 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1749 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1750 # is not polluted with repeated "-I."
1751 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1752 # test to see if srcdir already configured
1753 if test -f $srcdir/config.status; then
1754 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1755 fi
1756 fi
1757
1758 # test whether we have cygpath
1759 if test -z "$CYGPATH_W"; then
1760 if (cygpath --version) >/dev/null 2>/dev/null; then
1761 CYGPATH_W='cygpath -w'
1762 else
1763 CYGPATH_W=echo
1764 fi
1765 fi
1766 AC_SUBST([CYGPATH_W])
1767
1768 # Define the identity of the package.
1769 dnl Distinguish between old-style and new-style calls.
1770 m4_ifval([$2],
1771 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1772 AC_SUBST([PACKAGE], [$1])dnl
1773 AC_SUBST([VERSION], [$2])],
1774 [_AM_SET_OPTIONS([$1])dnl
1775 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1776 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1777 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1778 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1779 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1780
1781 _AM_IF_OPTION([no-define],,
1782 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1783 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1784
1785 # Some tools Automake needs.
1786 AC_REQUIRE([AM_SANITY_CHECK])dnl
1787 AC_REQUIRE([AC_ARG_PROGRAM])dnl
1788 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1789 AM_MISSING_PROG(AUTOCONF, autoconf)
1790 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1791 AM_MISSING_PROG(AUTOHEADER, autoheader)
1792 AM_MISSING_PROG(MAKEINFO, makeinfo)
1793 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1794 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1795 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1796 # We need awk for the "check" target. The system "awk" is bad on
1797 # some platforms.
1798 AC_REQUIRE([AC_PROG_AWK])dnl
1799 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1800 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1801 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1802 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1803 [_AM_PROG_TAR([v7])])])
1804 _AM_IF_OPTION([no-dependencies],,
1805 [AC_PROVIDE_IFELSE([AC_PROG_CC],
1806 [_AM_DEPENDENCIES(CC)],
1807 [define([AC_PROG_CC],
1808 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1809 AC_PROVIDE_IFELSE([AC_PROG_CXX],
1810 [_AM_DEPENDENCIES(CXX)],
1811 [define([AC_PROG_CXX],
1812 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1813 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1814 [_AM_DEPENDENCIES(OBJC)],
1815 [define([AC_PROG_OBJC],
1816 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1817 ])
1818 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1819 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1820 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1821 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1822 AC_CONFIG_COMMANDS_PRE(dnl
1823 [m4_provide_if([_AM_COMPILER_EXEEXT],
1824 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1825 ])
1826 m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1827 _am_arg=$1
1828 _am_stamp_count=1
1829 for _am_header in $config_headers :; do
1830 case $_am_header in
1831 $_am_arg | $_am_arg:* )
1832 break ;;
1833 * )
1834 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1835 esac
1836 done
1837 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1838 m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1839 if test x"${install_sh}" != xset; then
1840 case $am_aux_dir in
1841 *\ * | *\ *)
1842 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1843 *)
1844 install_sh="\${SHELL} $am_aux_dir/install-sh"
1845 esac
1846 fi
1847 AC_SUBST(install_sh)])
1848 m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1849 mkdir .tst 2>/dev/null
1850 if test -d .tst; then
1851 am__leading_dot=.
1852 else
1853 am__leading_dot=_
1854 fi
1855 rmdir .tst 2>/dev/null
1856 AC_SUBST([am__leading_dot])])
1857 m4trace:/usr/share/aclocal-1.11/maintainer.m4:19: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]),
1858 [enable], [m4_define([am_maintainer_other], [disable])],
1859 [disable], [m4_define([am_maintainer_other], [enable])],
1860 [m4_define([am_maintainer_other], [enable])
1861 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1862 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
1863 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1864 AC_ARG_ENABLE([maintainer-mode],
1865 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
1866 (and sometimes confusing) to the casual installer],
1867 [USE_MAINTAINER_MODE=$enableval],
1868 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1869 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1870 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1871 MAINT=$MAINTAINER_MODE_TRUE
1872 AC_SUBST([MAINT])dnl
1873
1874 ])
1875 m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
1876 m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete.
1877 You should run autoupdate.])dnl
1878 AM_MAINTAINER_MODE])
1879 m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1880 cat > confinc << 'END'
1881 am__doit:
1882 @echo this is the am__doit target
1883 .PHONY: am__doit
1884 END
1885 # If we don't find an include directive, just comment out the code.
1886 AC_MSG_CHECKING([for style of include used by $am_make])
1887 am__include="#"
1888 am__quote=
1889 _am_result=none
1890 # First try GNU make style include.
1891 echo "include confinc" > confmf
1892 # Ignore all kinds of additional output from `make'.
1893 case `$am_make -s -f confmf 2> /dev/null` in #(
1894 *the\ am__doit\ target*)
1895 am__include=include
1896 am__quote=
1897 _am_result=GNU
1898 ;;
1899 esac
1900 # Now try BSD make style include.
1901 if test "$am__include" = "#"; then
1902 echo '.include "confinc"' > confmf
1903 case `$am_make -s -f confmf 2> /dev/null` in #(
1904 *the\ am__doit\ target*)
1905 am__include=.include
1906 am__quote="\""
1907 _am_result=BSD
1908 ;;
1909 esac
1910 fi
1911 AC_SUBST([am__include])
1912 AC_SUBST([am__quote])
1913 AC_MSG_RESULT([$_am_result])
1914 rm -f confinc confmf
1915 ])
1916 m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1917 $1=${$1-"${am_missing_run}$2"}
1918 AC_SUBST($1)])
1919 m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1920 AC_REQUIRE_AUX_FILE([missing])dnl
1921 if test x"${MISSING+set}" != xset; then
1922 case $am_aux_dir in
1923 *\ * | *\ *)
1924 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1925 *)
1926 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1927 esac
1928 fi
1929 # Use eval to expand $SHELL
1930 if eval "$MISSING --run true"; then
1931 am_missing_run="$MISSING --run "
1932 else
1933 am_missing_run=
1934 AC_MSG_WARN([`missing' script is too old or missing])
1935 fi
1936 ])
1937 m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
1938 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1939 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1940 dnl while keeping a definition of mkdir_p for backward compatibility.
1941 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1942 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1943 dnl Makefile.ins that do not define MKDIR_P, so we do our own
1944 dnl adjustment using top_builddir (which is defined more often than
1945 dnl MKDIR_P).
1946 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1947 case $mkdir_p in
1948 [[\\/$]]* | ?:[[\\/]]*) ;;
1949 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1950 esac
1951 ])
1952 m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1953 m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1954 m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1955 m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1956 m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1957 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1958 ac_status=$?
1959 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1960 (exit $ac_status); }])
1961 m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
1962 # Just in case
1963 sleep 1
1964 echo timestamp > conftest.file
1965 # Reject unsafe characters in $srcdir or the absolute working directory
1966 # name. Accept space and tab only in the latter.
1967 am_lf='
1968 '
1969 case `pwd` in
1970 *[[\\\"\#\$\&\'\`$am_lf]]*)
1971 AC_MSG_ERROR([unsafe absolute working directory name]);;
1972 esac
1973 case $srcdir in
1974 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1975 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1976 esac
1977
1978 # Do `set' in a subshell so we don't clobber the current shell's
1979 # arguments. Must try -L first in case configure is actually a
1980 # symlink; some systems play weird games with the mod time of symlinks
1981 # (eg FreeBSD returns the mod time of the symlink's containing
1982 # directory).
1983 if (
1984 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1985 if test "$[*]" = "X"; then
1986 # -L didn't work.
1987 set X `ls -t "$srcdir/configure" conftest.file`
1988 fi
1989 rm -f conftest.file
1990 if test "$[*]" != "X $srcdir/configure conftest.file" \
1991 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1992
1993 # If neither matched, then we have a broken ls. This can happen
1994 # if, for instance, CONFIG_SHELL is bash and it inherits a
1995 # broken ls alias from the environment. This has actually
1996 # happened. Such a system could not be considered "sane".
1997 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1998 alias in your environment])
1999 fi
2000
2001 test "$[2]" = conftest.file
2002 )
2003 then
2004 # Ok.
2005 :
2006 else
2007 AC_MSG_ERROR([newly created file is older than distributed files!
2008 Check your system clock])
2009 fi
2010 AC_MSG_RESULT(yes)])
2011 m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
2012 [ --enable-silent-rules less verbose build output (undo: `make V=1')
2013 --disable-silent-rules verbose build output (undo: `make V=0')])
2014 case $enable_silent_rules in
2015 yes) AM_DEFAULT_VERBOSITY=0;;
2016 no) AM_DEFAULT_VERBOSITY=1;;
2017 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
2018 esac
2019 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
2020 AM_BACKSLASH='\'
2021 AC_SUBST([AM_BACKSLASH])dnl
2022 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
2023 ])
2024 m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2025 # Installed binaries are usually stripped using `strip' when the user
2026 # run `make install-strip'. However `strip' might not be the right
2027 # tool to use in cross-compilation environments, therefore Automake
2028 # will honor the `STRIP' environment variable to overrule this program.
2029 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
2030 if test "$cross_compiling" != no; then
2031 AC_CHECK_TOOL([STRIP], [strip], :)
2032 fi
2033 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2034 AC_SUBST([INSTALL_STRIP_PROGRAM])])
2035 m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
2036 m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
2037 m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
2038 AM_MISSING_PROG([AMTAR], [tar])
2039 m4_if([$1], [v7],
2040 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
2041 [m4_case([$1], [ustar],, [pax],,
2042 [m4_fatal([Unknown tar format])])
2043 AC_MSG_CHECKING([how to create a $1 tar archive])
2044 # Loop over all known methods to create a tar archive until one works.
2045 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
2046 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
2047 # Do not fold the above two line into one, because Tru64 sh and
2048 # Solaris sh will not grok spaces in the rhs of `-'.
2049 for _am_tool in $_am_tools
2050 do
2051 case $_am_tool in
2052 gnutar)
2053 for _am_tar in tar gnutar gtar;
2054 do
2055 AM_RUN_LOG([$_am_tar --version]) && break
2056 done
2057 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
2058 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
2059 am__untar="$_am_tar -xf -"
2060 ;;
2061 plaintar)
2062 # Must skip GNU tar: if it does not support --format= it doesn't create
2063 # ustar tarball either.
2064 (tar --version) >/dev/null 2>&1 && continue
2065 am__tar='tar chf - "$$tardir"'
2066 am__tar_='tar chf - "$tardir"'
2067 am__untar='tar xf -'
2068 ;;
2069 pax)
2070 am__tar='pax -L -x $1 -w "$$tardir"'
2071 am__tar_='pax -L -x $1 -w "$tardir"'
2072 am__untar='pax -r'
2073 ;;
2074 cpio)
2075 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
2076 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
2077 am__untar='cpio -i -H $1 -d'
2078 ;;
2079 none)
2080 am__tar=false
2081 am__tar_=false
2082 am__untar=false
2083 ;;
2084 esac
2085
2086 # If the value was cached, stop now. We just wanted to have am__tar
2087 # and am__untar set.
2088 test -n "${am_cv_prog_tar_$1}" && break
2089
2090 # tar/untar a dummy directory, and stop if the command works
2091 rm -rf conftest.dir
2092 mkdir conftest.dir
2093 echo GrepMe > conftest.dir/file
2094 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2095 rm -rf conftest.dir
2096 if test -s conftest.tar; then
2097 AM_RUN_LOG([$am__untar <conftest.tar])
2098 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2099 fi
2100 done
2101 rm -rf conftest.dir
2102
2103 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2104 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2105 AC_SUBST([am__tar])
2106 AC_SUBST([am__untar])
2107 ])
2108 m4trace:config/osm.m4:20: -1- AC_DEFUN([OPENIB_APP_OSM], [
2109 # --- BEGIN OPENIB_APP_OSM ---
2110 dnl To link against OpenSM Vendor or Complib, configure does several
2111 dnl things to make my life "easier".
2112 dnl
2113 dnl * if the user did define where opensm is look for it in "standard" places
2114 dnl * if can not be found - ask the user for --with-osm
2115 dnl * figure out if OpenSM was compiles in debug mode or not
2116 dnl
2117 dnl As we might have an OpenSM installation of IBGD or OpenIB and
2118 dnl different vendors too we need to use some heuristics for
2119 dnl figuring out the type of both STACK and VENDOR.
2120 dnl Heuristics is:
2121 dnl
2122 dnl If with_osm is not provided look fo it under:
2123 dnl /usr/local/ibgd/apps/osm
2124 dnl /usr/mellanox/osm
2125 dnl /usr/mellanox/osm-sim
2126 dnl /usr/local/lib/libopensm.a
2127 dnl /usr/lib/libopensm.a
2128 dnl
2129 dnl Figure out what kind of BUILD it is gen1 or gen2:
2130 dnl if the with_osm/include/infiniband exists we are on gen2 stack
2131 dnl
2132 dnl Now decide what vendor was built:
2133 dnl if gen2 build
2134 dnl if $with_osm/lib/osmvendor_gen1.so -> ts
2135 dnl if $with_osm/lib/osmvendor_mtl.so -> mtl
2136 dnl if $with_osm/lib/osmvendor_sim.so -> sim
2137 dnl if $with_osm/lib/osmvendor.so -> openib
2138 dnl if gen1 build
2139 dnl if $with_osm/lib/osmsvc_ts.so -> ts
2140 dnl if $with_osm/lib/osmsvc_mtl.so -> mtl
2141 dnl if $with_osm/lib/osmsvc_sim.so -> sim
2142 dnl ----------------------------------------------------------------
2143
2144 dnl Define a way for the user to provide path to OpenSM
2145 AC_ARG_WITH(osm,
2146 [ --with-osm=<dir> define OSM prefix],
2147 AC_MSG_NOTICE(Using OSM from:$with_osm),
2148 with_osm="none")
2149
2150 dnl Define a way for the user to provide path to OpenSM libs
2151 AC_ARG_WITH(osm-libs,
2152 [ --with-osm-libs=<dir> define where to find OSM libs],
2153 AC_MSG_NOTICE(Using OSM libs from:$with_osm_libs),
2154 with_osm_libs="none")
2155
2156 osm_lib_dir="none"
2157
2158 if test "x$libcheck" = "xtrue"; then
2159 dnl if the user did not provide --with-osm look for it in reasonable places
2160 if test "x$with_osm" = xnone; then
2161 if test -d /usr/local/ibgd/apps/osm; then
2162 with_osm=/usr/local/ibgd/apps/osm
2163 elif test -d /usr/mellanox/osm; then
2164 with_osm=/usr/mellanox
2165 dnl if it is an ofed or gen2 install, we can use /etc/infiniband/info for searching opensm prefix
2166 elif test -f /etc/infiniband/info; then
2167 ofed_dir=`/etc/infiniband/info | grep prefix | cut -d = -f 2`
2168 if (test -f $ofed_dir/lib/libopensm.so ||
2169 test -f $ofed_dir/lib64/libopensm.so); then
2170 with_osm=$ofed_dir
2171 fi
2172 elif (test -f /usr/local/lib64/libopensm.so ||
2173 test -f /usr/local/lib/libopensm.so); then
2174 with_osm=/usr/local
2175 elif (test -f /usr/lib64/libopensm.so ||
2176 test -f /usr/lib/libopensm.so); then
2177 with_osm=/usr
2178 else
2179 AC_MSG_ERROR([OSM: --with-osm must be provided - fail to find standard OpenSM installation])
2180 fi
2181 fi
2182 AC_MSG_NOTICE(OSM: used from $with_osm)
2183
2184 if test "x$with_osm_libs" = "xnone"; then
2185 dnl if the user did not provide --with-osm-libs then look for it based on $with_osm
2186 if (test -f $with_osm/lib64/libosmvendor_gen1.so ||
2187 test -f $with_osm/lib64/libosmvendor_vapi.so ||
2188 test -f $with_osm/lib64/libopensm.so ||
2189 test -f $with_osm/lib64/libosmvendor_sim.so); then
2190 osm_lib_dir=lib64
2191 else
2192 osm_lib_dir=lib
2193 fi
2194 fi
2195 with_osm_libs=$with_osm/$osm_lib_dir
2196
2197 dnl check what build we have gen1 or gen2
2198 if test -d $with_osm/include/infiniband; then
2199 OSM_BUILD=openib
2200 else
2201 OSM_BUILD=gen1
2202 fi
2203 AC_MSG_NOTICE(OSM: build type $OSM_BUILD)
2204
2205 OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
2206 dnl based on the with_osm dir and the libs available
2207 dnl we can try and decide what vendor was used:
2208 if test $OSM_BUILD = openib; then
2209 dnl it is an OpenIB based build but can be any vendor too.
2210 osm_include_dir="$with_osm/include/infiniband"
2211 osm_extra_includes="-I$with_osm/include"
2212
2213 if test -L $with_osm_libs/libosmvendor_gen1.so; then
2214 OSM_VENDOR=ts
2215 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
2216 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp"
2217 elif test -L $with_osm_libs/libosmvendor_vapi.so; then
2218 OSM_VENDOR=mtl
2219 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
2220 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -lvapi -lib_mgt"
2221 elif test -L $with_osm_libs/libosmvendor_sim.so; then
2222 OSM_VENDOR=sim
2223 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
2224 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -libmscli -losmcomp"
2225 elif test -L $with_osm_libs/libopensm.so; then
2226 OSM_VENDOR=openib
2227 osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
2228 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
2229 else
2230 AC_MSG_ERROR([OSM: Fail to recognize vendor type])
2231 fi
2232 osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
2233 else
2234 # we are in gen1 build
2235 osm_include_dir="$with_osm/include"
2236
2237 if test -L $with_osm_libs/libosmsvc_ts.so; then
2238 OSM_VENDOR=ts
2239 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_ts -lcomplib"
2240 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
2241 elif test -L $with_osm_libs/libosmsvc_mtl.so; then
2242 OSM_VENDOR=mtl
2243 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_mtl -lcomplib -lvapi -lib_mgt"
2244 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
2245 elif test -L $with_osm_libs/libosmsvc_sim.so; then
2246 OSM_VENDOR=sim
2247 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
2248 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
2249 else
2250 AC_MSG_ERROR([OSM: Fail to recognize vendor type])
2251 fi
2252 fi
2253 AC_MSG_NOTICE(OSM: vendor type $OSM_VENDOR)
2254
2255
2256 dnl validate the defined path - so the build id header is there
2257 AC_CHECK_FILE($osm_include_dir/opensm/osm_config.h,,
2258 AC_MSG_ERROR([OSM: could not find $with_osm/include/opensm/osm_config.h]))
2259
2260 dnl now figure out somehow if the build was for debug or not
2261 grep '#define OSM_DEBUG 1' $osm_include_dir/opensm/osm_config.h > /dev/null
2262 if test $? -eq 0 ; then
2263 dnl why did they need so many ???
2264 osm_debug_flags='-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG'
2265 AC_MSG_NOTICE(OSM: compiled in DEBUG mode)
2266 else
2267 osm_debug_flags=
2268 fi
2269
2270 OSM_CFLAGS="-I$osm_include_dir $osm_extra_includes $osm_debug_flags $osm_vendor_sel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1"
2271 else
2272 dnl dummy values
2273 with_osm=disabled
2274 OSM_CLFAGS=disabled
2275 OSM_LDFLAGS=disabled
2276 OSM_VEDNOR=disabled
2277 OSM_BUILD=disabled
2278 fi
2279
2280 AM_CONDITIONAL(OSM_VENDOR_TS, test "x$OSM_VENDOR" = xts)
2281 AM_CONDITIONAL(OSM_VENDOR_MTL, test "x$OSM_VENDOR" = xmtl)
2282 AM_CONDITIONAL(OSM_VENDOR_SIM, test "x$OSM_VENDOR" = xsim)
2283 AM_CONDITIONAL(OSM_BUILD_OPENIB, test "x$OSM_BUILD" = xopenib)
2284
2285 AC_SUBST(with_osm)
2286 AC_SUBST(OSM_CFLAGS)
2287 AC_SUBST(OSM_LDFLAGS)
2288 AC_SUBST(OSM_VENDOR)
2289 AC_SUBST(OSM_BUILD)
2290
2291 # --- OPENIB_APP_OSM ---
2292 ])
2293 m4trace:config/swig.m4:15: -1- AC_DEFUN([MLX_PROG_SWIG], [
2294 AC_PATH_PROG([SWIG],[swig])
2295 # we use this to track the existance of swig
2296 has_swig=0
2297 if test -z "$SWIG" ; then
2298 AC_MSG_WARN([cannot find 'swig' program. You should look at http://www.swig.org])
2299 SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
2300 elif test -n "$1" ; then
2301 AC_MSG_CHECKING([for SWIG version])
2302 [swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
2303 AC_MSG_RESULT([$swig_version])
2304 if test -n "$swig_version" ; then
2305 # Calculate the required version number components
2306 [required=$1]
2307 [required_major=`echo $required | sed 's/[^0-9].*//'`]
2308 if test -z "$required_major" ; then
2309 [required_major=0]
2310 fi
2311 [required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
2312 [required_minor=`echo $required | sed 's/[^0-9].*//'`]
2313 if test -z "$required_minor" ; then
2314 [required_minor=0]
2315 fi
2316 [required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
2317 [required_patch=`echo $required | sed 's/[^0-9].*//'`]
2318 if test -z "$required_patch" ; then
2319 [required_patch=0]
2320 fi
2321 # Calculate the available version number components
2322 [available=`echo $swig_version | sed 's/[^0-9]*//'`]
2323 [available_major=`echo $available | sed 's/[^0-9].*//'`]
2324 if test -z "$available_major" ; then
2325 [available_major=0]
2326 fi
2327 [available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
2328 [available_minor=`echo $available | sed 's/[^0-9].*//'`]
2329 if test -z "$available_minor" ; then
2330 [available_minor=0]
2331 fi
2332 [available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
2333 [available_patch=`echo $available | sed -e 's/.*Patch[^0-9]*//' -e 's/[^0-9]*//g' `]
2334 if test -z "$available_patch" ; then
2335 [available_patch=0]
2336 fi
2337 # we have two modes of comparison...
2338 if test x"$2" == xeq; then
2339 if test $available_major -ne $required_major \
2340 -o $available_minor -ne $required_minor \
2341 -o $available_patch -ne $required_patch ; then
2342 AC_MSG_WARN([SWIG version == $1 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org ])
2343 SWIG='echo "Error: SWIG version == $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
2344 else
2345 has_swig=1
2346 fi
2347 else
2348 if test $available_major -ne $required_major \
2349 -o $available_minor -ne $required_minor \
2350 -o $available_patch -lt $required_patch ; then
2351 AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version. You should look at http://www.swig.org])
2352 SWIG='echo "Error: SWIG version >= $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
2353 else
2354 has_swig=1
2355 fi
2356 fi
2357 else
2358 AC_MSG_WARN([cannot determine SWIG version])
2359 SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
2360 fi
2361 fi
2362 if test ! -z "$has_swig"; then
2363 dnl AC_MSG_INFO([SWIG executable is '$SWIG'])
2364 SWIG_LIB=`$SWIG -swiglib`
2365 dnl AC_MSG_INFO([SWIG runtime library directory is '$SWIG_LIB'])
2366 AM_CONDITIONAL(HAS_SWIG,[test 1])
2367 else
2368 AM_CONDITIONAL(HAS_SWIG,[test 0])
2369 fi
2370 AC_SUBST([SWIG_LIB])
2371 ])
2372 m4trace:config/tcl.m4:14: -1- AC_DEFUN([MLX_LANG_TCL], [
2373 # --- BEGIN MLX_LANG_TCL ---
2374 dnl To link against Tcl, configure does several things to make my life
2375 dnl "easier".
2376 dnl
2377 dnl * maybe ask the user where they think Tcl lives, and try to find it
2378 dnl * maybe ask the user what "tclsh" is called this week (i.e., "tclsh8.0")
2379 dnl * run tclsh, ask it for a path, then run that path through sed
2380 dnl * sanity check its result (many installs are a little broken)
2381 dnl * try to figure out where Tcl is based on this result
2382 dnl * try to guess where the Tcl include files are
2383 dnl
2384 dnl Notes from previous incarnations:
2385 dnl > XXX MUST CHECK FOR TCL BEFORE KERBEROS V4 XXX
2386 dnl > This is because some genius at MIT named one of the Kerberos v4
2387 dnl > library functions log(). This of course conflicts with the
2388 dnl > logarithm function in the standard math library, used by Tcl.
2389 dnl
2390 dnl > Checking for Tcl first puts -lm before -lkrb on the library list.
2391 dnl
2392
2393 dnl do not do anything if we are in disabled libcheck mode...
2394 if test "x$libcheck" = "xtrue"; then
2395
2396 dnl Check for some information from the user on what the world looks like
2397 AC_ARG_WITH(tclconfig,[ --with-tclconfig=PATH use tclConfig.sh from PATH
2398 (configure gets Tcl configuration from here)],
2399 dnl trim tclConfig.sh off the end so we can add it back on later.
2400 TclLibBase=`echo ${withval} | sed s/tclConfig.sh\$//`)
2401 AC_ARG_WITH(tcl, [ --with-tcl=PATH use Tcl from PATH],
2402 TclLibBase="${withval}/lib")
2403 AC_ARG_WITH(tclsh, [ --with-tclsh=TCLSH use TCLSH as the tclsh program
2404 (let configure find Tcl using this program)],
2405 TCLSH="${withval}")
2406
2407 if test "x$TCLSH" = "xno" -o "x$with_tclconfig" = "xno" ; then
2408 AC_MSG_WARN([Tcl disabled because tclsh or tclconfig specified as "no"])
2409 with_tcl=no
2410 fi
2411
2412 if test "x$with_tcl" != xno; then
2413 if test \! -z "$with_tclconfig" -a \! -d "$with_tclconfig" ; then
2414 AC_MSG_ERROR([--with-tclconfig requires a directory argument.])
2415 fi
2416
2417 if test \! -z "$TCLSH" -a \! -x "$TCLSH" ; then
2418 AC_MSG_ERROR([--with-tclsh must specify an executable file.])
2419 fi
2420
2421 if test X"$TclLibBase" = X; then # do we already know?
2422 # No? Run tclsh and ask it where it lives.
2423
2424 # Do we know where a tclsh lives?
2425 if test X"$TCLSH" = X; then
2426 # Try and find tclsh. Any tclsh.
2427 # If a new version of tcl comes out and unfortunately adds another
2428 # filename, it should be safe to add it (to the front of the line --
2429 # somef vendors have older, badly installed tclshs that we want to avoid
2430 # if we can)
2431 AC_PATH_PROGS(TCLSH, [tclsh tclsh8.3 tclsh8.4], "unknown")
2432 fi
2433
2434 # Do we know where to get a tclsh?
2435 if test "X${TCLSH}" != "Xunknown"; then
2436 AC_MSG_CHECKING([where Tcl says it lives])
2437 dnl to avoid .tclshrc issues use from a file...
2438 echo "puts \$tcl_library" > /tmp/tcl.conf.$$
2439 TclLibBase=`${TCLSH} /tmp/tcl.conf.$$ | sed -e 's,[^/]*$,,'`
2440 rm /tmp/tcl.conf.$$
2441 AC_MSG_RESULT($TclLibBase)
2442 fi
2443 fi
2444
2445 if test -z "$TclLibBase" ; then
2446 AC_MSG_RESULT([can't find tclsh])
2447 AC_MSG_WARN([can't find Tcl installtion; use of Tcl disabled.])
2448 with_tcl=no
2449 else
2450 AC_MSG_CHECKING([for tclConfig.sh])
2451 # Check a list of places where the tclConfig.sh file might be.
2452 # Note we prefer the 64 bit version if exists
2453 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}"
2454 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}/.."
2455 tclCondifSearchPath="$tclCondifSearchPath `echo ${TCLSH} | sed s/sh//`"
2456 tclCondifSearchPath="$tclCondifSearchPath /usr/lib64"
2457 tclCondifSearchPath="$tclCondifSearchPath /usr/lib"
2458 tclCondifSearchPath="$tclCondifSearchPath /usr/local/lib"
2459 for tcldir in $tclCondifSearchPath; do
2460 if test -f "${tcldir}/tclConfig.sh"; then
2461 TclLibBase="${tcldir}"
2462 break
2463 fi
2464 done
2465
2466 if test -z "${TclLibBase}" ; then
2467 AC_MSG_RESULT("unknown")
2468 AC_MSG_WARN([can't find Tcl configuration; use of Tcl disabled.])
2469 with_tcl=no
2470 else
2471 AC_MSG_RESULT(${TclLibBase}/)
2472 fi
2473
2474 if test "X${with_tcl}" != Xno ; then
2475 AC_MSG_CHECKING([Tcl configuration on what Tcl needs to compile])
2476 . ${TclLibBase}/tclConfig.sh
2477 AC_MSG_RESULT(ok)
2478 dnl no TK stuff for us.
2479 dnl . ${TclLibBase}/tkConfig.sh
2480 fi
2481
2482 dnl We hack the provided TCL_LIB_SPEC since it is using the /usr/lib even
2483 dnl if the build was using lib64
2484 if test -d /usr/lib64 ; then
2485 TCL_LIB_SPEC=`echo ${TCL_LIB_SPEC} | sed 's=/usr/lib =/usr/lib64 =g'`
2486 fi
2487
2488 if test "X${with_tcl}" != Xno ; then
2489 dnl Now, hunt for the Tcl include files, since we don't strictly
2490 dnl know where they are; some folks put them (properly) in the
2491 dnl default include path, or maybe in /usr/local; the *BSD folks
2492 dnl put them in other places.
2493 AC_MSG_CHECKING([where Tcl includes are])
2494 for tclinclude in "${TCL_PREFIX}/include/tcl${TCL_VERSION}" \
2495 "${TCL_PREFIX}/include/tcl" \
2496 "${TCL_PREFIX}/include" ; do
2497 if test -r "${tclinclude}/tcl.h" ; then
2498 TCL_CPPFLAGS="-I${tclinclude}"
2499 break
2500 fi
2501 done
2502 if test X"${TCL_CPPFLAGS}" = X ; then
2503 AC_MSG_WARN(can't find Tcl includes; use of Tcl disabled.)
2504 with_tcl=no
2505 fi
2506 AC_MSG_RESULT(${TCL_CPPFLAGS})
2507 fi
2508
2509 # Finally, pick up the Tcl configuration if we haven't found an
2510 # excuse not to.
2511 if test "X${with_tcl}" != Xno; then
2512 dnl TCL_LIBS="${TK_LIB_SPEC} ${TK_XLIBSW} ${TCL_LD_SEARCH_FLAGS} ${TCL_LIB_SPEC}"
2513 dnl we are using libtool so need to convert to -rpath if at all
2514 TCL_SEARCH=`echo ${TCL_LD_SEARCH_FLAGS} | sed 's/-Wl,-rpath,/-rpath/'`
2515
2516 dnl sometimes we got empty libs: use TCL_LIB_FILE
2517 if test X"$TCL_LIBS" = X; then
2518 dnl extract the lib style name...
2519 TCL_LIBS=`echo ${TCL_LIB_FILE} | sed 's/lib\([[^ \t]]*\)\.\(so\|a\)/-l\1/'`
2520 fi
2521
2522 dnl sometimes we got empty libs: use TCL_LIB_SPEC
2523 if test X"$TCL_LIB_SPEC" = X; then
2524 dnl extract the lib style name...
2525 TCL_LIB_SPEC='-L/usr/lib'
2526 fi
2527
2528 TCL_LIBS1="${TCL_LIB_SPEC} ${TCL_LIBS}"
2529 dnl Filter out the ieee - I do not see a shared version for it.
2530 TCL_LIBS=`echo ${TCL_LIBS1} | sed 's/-lieee//'`
2531 fi
2532 fi
2533 fi
2534 else
2535 dnl disbled libcheck mode - we do not need anything...
2536 TCL_DEFS=disabled
2537 TCL_LIBS=disabled
2538 TCL_CPPFLAGS=disabled
2539 TCL_PREFIX=disabled
2540 fi
2541
2542 AC_SUBST(TCL_DEFS)
2543 AC_SUBST(TCL_LIBS)
2544 AC_SUBST(TCL_CPPFLAGS)
2545 AC_SUBST(TCL_PREFIX)
2546
2547 # --- END MLX_LANG_TCL ---
2548 ])
2549 m4trace:configure.in:34: -1- m4_pattern_forbid([^_?A[CHUM]_])
2550 m4trace:configure.in:34: -1- m4_pattern_forbid([_AC_])
2551 m4trace:configure.in:34: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
2552 m4trace:configure.in:34: -1- m4_pattern_allow([^AS_FLAGS$])
2553 m4trace:configure.in:34: -1- m4_pattern_forbid([^_?m4_])
2554 m4trace:configure.in:34: -1- m4_pattern_forbid([^dnl$])
2555 m4trace:configure.in:34: -1- m4_pattern_forbid([^_?AS_])
2556 m4trace:configure.in:34: -1- m4_pattern_allow([^SHELL$])
2557 m4trace:configure.in:34: -1- m4_pattern_allow([^PATH_SEPARATOR$])
2558 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_NAME$])
2559 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
2560 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_VERSION$])
2561 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_STRING$])
2562 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
2563 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_URL$])
2564 m4trace:configure.in:34: -1- m4_pattern_allow([^exec_prefix$])
2565 m4trace:configure.in:34: -1- m4_pattern_allow([^prefix$])
2566 m4trace:configure.in:34: -1- m4_pattern_allow([^program_transform_name$])
2567 m4trace:configure.in:34: -1- m4_pattern_allow([^bindir$])
2568 m4trace:configure.in:34: -1- m4_pattern_allow([^sbindir$])
2569 m4trace:configure.in:34: -1- m4_pattern_allow([^libexecdir$])
2570 m4trace:configure.in:34: -1- m4_pattern_allow([^datarootdir$])
2571 m4trace:configure.in:34: -1- m4_pattern_allow([^datadir$])
2572 m4trace:configure.in:34: -1- m4_pattern_allow([^sysconfdir$])
2573 m4trace:configure.in:34: -1- m4_pattern_allow([^sharedstatedir$])
2574 m4trace:configure.in:34: -1- m4_pattern_allow([^localstatedir$])
2575 m4trace:configure.in:34: -1- m4_pattern_allow([^includedir$])
2576 m4trace:configure.in:34: -1- m4_pattern_allow([^oldincludedir$])
2577 m4trace:configure.in:34: -1- m4_pattern_allow([^docdir$])
2578 m4trace:configure.in:34: -1- m4_pattern_allow([^infodir$])
2579 m4trace:configure.in:34: -1- m4_pattern_allow([^htmldir$])
2580 m4trace:configure.in:34: -1- m4_pattern_allow([^dvidir$])
2581 m4trace:configure.in:34: -1- m4_pattern_allow([^pdfdir$])
2582 m4trace:configure.in:34: -1- m4_pattern_allow([^psdir$])
2583 m4trace:configure.in:34: -1- m4_pattern_allow([^libdir$])
2584 m4trace:configure.in:34: -1- m4_pattern_allow([^localedir$])
2585 m4trace:configure.in:34: -1- m4_pattern_allow([^mandir$])
2586 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_NAME$])
2587 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
2588 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_VERSION$])
2589 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_STRING$])
2590 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
2591 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_URL$])
2592 m4trace:configure.in:34: -1- m4_pattern_allow([^DEFS$])
2593 m4trace:configure.in:34: -1- m4_pattern_allow([^ECHO_C$])
2594 m4trace:configure.in:34: -1- m4_pattern_allow([^ECHO_N$])
2595 m4trace:configure.in:34: -1- m4_pattern_allow([^ECHO_T$])
2596 m4trace:configure.in:34: -1- m4_pattern_allow([^LIBS$])
2597 m4trace:configure.in:34: -1- m4_pattern_allow([^build_alias$])
2598 m4trace:configure.in:34: -1- m4_pattern_allow([^host_alias$])
2599 m4trace:configure.in:34: -1- m4_pattern_allow([^target_alias$])
2600 m4trace:configure.in:41: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
2601 You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
2602 configure.in:41: the top level])
2603 m4trace:configure.in:44: -1- AM_CONFIG_HEADER([config.h])
2604 m4trace:configure.in:44: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
2605 You should run autoupdate.], [/usr/share/aclocal-1.11/header.m4:12: AM_CONFIG_HEADER is expanded from...
2606 configure.in:44: the top level])
2607 m4trace:configure.in:47: -1- AM_INIT_AUTOMAKE
2608 m4trace:configure.in:47: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
2609 m4trace:configure.in:47: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
2610 m4trace:configure.in:47: -1- AM_AUTOMAKE_VERSION([1.11.1])
2611 m4trace:configure.in:47: -1- _AM_AUTOCONF_VERSION([2.69])
2612 m4trace:configure.in:47: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
2613 m4trace:configure.in:47: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
2614 m4trace:configure.in:47: -1- m4_pattern_allow([^INSTALL_DATA$])
2615 m4trace:configure.in:47: -1- m4_pattern_allow([^am__isrc$])
2616 m4trace:configure.in:47: -1- _AM_SUBST_NOTMAKE([am__isrc])
2617 m4trace:configure.in:47: -1- m4_pattern_allow([^CYGPATH_W$])
2618 m4trace:configure.in:47: -1- _AM_SET_OPTIONS([])
2619 m4trace:configure.in:47: -1- m4_pattern_allow([^PACKAGE$])
2620 m4trace:configure.in:47: -1- m4_pattern_allow([^VERSION$])
2621 m4trace:configure.in:47: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
2622 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
2623 m4trace:configure.in:47: -2- _AM_MANGLE_OPTION([no-define])
2624 m4trace:configure.in:47: -1- m4_pattern_allow([^PACKAGE$])
2625 m4trace:configure.in:47: -1- m4_pattern_allow([^VERSION$])
2626 m4trace:configure.in:47: -1- AM_SANITY_CHECK
2627 m4trace:configure.in:47: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
2628 m4trace:configure.in:47: -1- AM_MISSING_HAS_RUN
2629 m4trace:configure.in:47: -1- AM_AUX_DIR_EXPAND
2630 m4trace:configure.in:47: -1- m4_pattern_allow([^ACLOCAL$])
2631 m4trace:configure.in:47: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
2632 m4trace:configure.in:47: -1- m4_pattern_allow([^AUTOCONF$])
2633 m4trace:configure.in:47: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
2634 m4trace:configure.in:47: -1- m4_pattern_allow([^AUTOMAKE$])
2635 m4trace:configure.in:47: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
2636 m4trace:configure.in:47: -1- m4_pattern_allow([^AUTOHEADER$])
2637 m4trace:configure.in:47: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
2638 m4trace:configure.in:47: -1- m4_pattern_allow([^MAKEINFO$])
2639 m4trace:configure.in:47: -1- AM_PROG_INSTALL_SH
2640 m4trace:configure.in:47: -1- m4_pattern_allow([^install_sh$])
2641 m4trace:configure.in:47: -1- AM_PROG_INSTALL_STRIP
2642 m4trace:configure.in:47: -1- m4_pattern_allow([^STRIP$])
2643 m4trace:configure.in:47: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
2644 m4trace:configure.in:47: -1- AM_PROG_MKDIR_P
2645 m4trace:configure.in:47: -1- m4_pattern_allow([^MKDIR_P$])
2646 m4trace:configure.in:47: -1- m4_pattern_allow([^mkdir_p$])
2647 m4trace:configure.in:47: -1- m4_pattern_allow([^AWK$])
2648 m4trace:configure.in:47: -1- m4_pattern_allow([^SET_MAKE$])
2649 m4trace:configure.in:47: -1- AM_SET_LEADING_DOT
2650 m4trace:configure.in:47: -1- m4_pattern_allow([^am__leading_dot$])
2651 m4trace:configure.in:47: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
2652 [_AM_PROG_TAR([v7])])])
2653 m4trace:configure.in:47: -2- _AM_MANGLE_OPTION([tar-ustar])
2654 m4trace:configure.in:47: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
2655 m4trace:configure.in:47: -2- _AM_MANGLE_OPTION([tar-pax])
2656 m4trace:configure.in:47: -1- _AM_PROG_TAR([v7])
2657 m4trace:configure.in:47: -1- AM_MISSING_PROG([AMTAR], [tar])
2658 m4trace:configure.in:47: -1- m4_pattern_allow([^AMTAR$])
2659 m4trace:configure.in:47: -1- m4_pattern_allow([^am__tar$])
2660 m4trace:configure.in:47: -1- m4_pattern_allow([^am__untar$])
2661 m4trace:configure.in:47: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
2662 [_AM_DEPENDENCIES(CC)],
2663 [define([AC_PROG_CC],
2664 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
2665 AC_PROVIDE_IFELSE([AC_PROG_CXX],
2666 [_AM_DEPENDENCIES(CXX)],
2667 [define([AC_PROG_CXX],
2668 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
2669 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
2670 [_AM_DEPENDENCIES(OBJC)],
2671 [define([AC_PROG_OBJC],
2672 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
2673 ])
2674 m4trace:configure.in:47: -2- _AM_MANGLE_OPTION([no-dependencies])
2675 m4trace:configure.in:47: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
2676 m4trace:configure.in:47: -2- _AM_MANGLE_OPTION([silent-rules])
2677 m4trace:configure.in:52: -1- AM_MAINTAINER_MODE
2678 m4trace:configure.in:52: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
2679 m4trace:configure.in:52: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
2680 m4trace:configure.in:52: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
2681 m4trace:configure.in:52: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
2682 m4trace:configure.in:52: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
2683 m4trace:configure.in:52: -1- m4_pattern_allow([^MAINT$])
2684 m4trace:configure.in:55: -1- m4_pattern_allow([^SET_MAKE$])
2685 m4trace:configure.in:59: -1- m4_pattern_allow([^LN_S$])
2686 m4trace:configure.in:60: -1- MLX_PROG_SWIG([1.1.5], [eq])
2687 m4trace:configure.in:60: -1- m4_pattern_allow([^SWIG$])
2688 m4trace:configure.in:60: -1- AM_CONDITIONAL([HAS_SWIG], [test 1])
2689 m4trace:configure.in:60: -1- m4_pattern_allow([^HAS_SWIG_TRUE$])
2690 m4trace:configure.in:60: -1- m4_pattern_allow([^HAS_SWIG_FALSE$])
2691 m4trace:configure.in:60: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_TRUE])
2692 m4trace:configure.in:60: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_FALSE])
2693 m4trace:configure.in:60: -1- AM_CONDITIONAL([HAS_SWIG], [test 0])
2694 m4trace:configure.in:60: -1- m4_pattern_allow([^HAS_SWIG_TRUE$])
2695 m4trace:configure.in:60: -1- m4_pattern_allow([^HAS_SWIG_FALSE$])
2696 m4trace:configure.in:60: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_TRUE])
2697 m4trace:configure.in:60: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_FALSE])
2698 m4trace:configure.in:60: -1- m4_pattern_allow([^SWIG_LIB$])
2699 m4trace:configure.in:63: -1- m4_pattern_allow([^CXX$])
2700 m4trace:configure.in:63: -1- m4_pattern_allow([^CXXFLAGS$])
2701 m4trace:configure.in:63: -1- m4_pattern_allow([^LDFLAGS$])
2702 m4trace:configure.in:63: -1- m4_pattern_allow([^LIBS$])
2703 m4trace:configure.in:63: -1- m4_pattern_allow([^CPPFLAGS$])
2704 m4trace:configure.in:63: -1- m4_pattern_allow([^CXX$])
2705 m4trace:configure.in:63: -1- m4_pattern_allow([^ac_ct_CXX$])
2706 m4trace:configure.in:63: -1- m4_pattern_allow([^EXEEXT$])
2707 m4trace:configure.in:63: -1- m4_pattern_allow([^OBJEXT$])
2708 m4trace:configure.in:63: -1- _AM_DEPENDENCIES([CXX])
2709 m4trace:configure.in:63: -1- AM_SET_DEPDIR
2710 m4trace:configure.in:63: -1- m4_pattern_allow([^DEPDIR$])
2711 m4trace:configure.in:63: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
2712 m4trace:configure.in:63: -1- AM_MAKE_INCLUDE
2713 m4trace:configure.in:63: -1- m4_pattern_allow([^am__include$])
2714 m4trace:configure.in:63: -1- m4_pattern_allow([^am__quote$])
2715 m4trace:configure.in:63: -1- AM_DEP_TRACK
2716 m4trace:configure.in:63: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
2717 m4trace:configure.in:63: -1- m4_pattern_allow([^AMDEP_TRUE$])
2718 m4trace:configure.in:63: -1- m4_pattern_allow([^AMDEP_FALSE$])
2719 m4trace:configure.in:63: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
2720 m4trace:configure.in:63: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
2721 m4trace:configure.in:63: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
2722 m4trace:configure.in:63: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
2723 m4trace:configure.in:63: -1- m4_pattern_allow([^CXXDEPMODE$])
2724 m4trace:configure.in:63: -1- AM_CONDITIONAL([am__fastdepCXX], [
2725 test "x$enable_dependency_tracking" != xno \
2726 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
2727 m4trace:configure.in:63: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
2728 m4trace:configure.in:63: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
2729 m4trace:configure.in:63: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
2730 m4trace:configure.in:63: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
2731 m4trace:configure.in:64: -1- m4_pattern_allow([^CC$])
2732 m4trace:configure.in:64: -1- m4_pattern_allow([^CFLAGS$])
2733 m4trace:configure.in:64: -1- m4_pattern_allow([^LDFLAGS$])
2734 m4trace:configure.in:64: -1- m4_pattern_allow([^LIBS$])
2735 m4trace:configure.in:64: -1- m4_pattern_allow([^CPPFLAGS$])
2736 m4trace:configure.in:64: -1- m4_pattern_allow([^CC$])
2737 m4trace:configure.in:64: -1- m4_pattern_allow([^CC$])
2738 m4trace:configure.in:64: -1- m4_pattern_allow([^CC$])
2739 m4trace:configure.in:64: -1- m4_pattern_allow([^CC$])
2740 m4trace:configure.in:64: -1- m4_pattern_allow([^ac_ct_CC$])
2741 m4trace:configure.in:64: -1- _AM_DEPENDENCIES([CC])
2742 m4trace:configure.in:64: -1- m4_pattern_allow([^CCDEPMODE$])
2743 m4trace:configure.in:64: -1- AM_CONDITIONAL([am__fastdepCC], [
2744 test "x$enable_dependency_tracking" != xno \
2745 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
2746 m4trace:configure.in:64: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
2747 m4trace:configure.in:64: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
2748 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
2749 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
2750 m4trace:configure.in:64: -1- m4_pattern_allow([^CPP$])
2751 m4trace:configure.in:64: -1- m4_pattern_allow([^CPPFLAGS$])
2752 m4trace:configure.in:64: -1- m4_pattern_allow([^CPP$])
2753 m4trace:configure.in:65: -1- AC_PROG_LIBTOOL
2754 m4trace:configure.in:65: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
2755 You should run autoupdate.], [/usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2756 configure.in:65: the top level])
2757 m4trace:configure.in:65: -1- LT_INIT
2758 m4trace:configure.in:65: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
2759 m4trace:configure.in:65: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
2760 m4trace:configure.in:65: -1- LTOPTIONS_VERSION
2761 m4trace:configure.in:65: -1- LTSUGAR_VERSION
2762 m4trace:configure.in:65: -1- LTVERSION_VERSION
2763 m4trace:configure.in:65: -1- LTOBSOLETE_VERSION
2764 m4trace:configure.in:65: -1- _LT_PROG_LTMAIN
2765 m4trace:configure.in:65: -1- m4_pattern_allow([^LIBTOOL$])
2766 m4trace:configure.in:65: -1- m4_pattern_allow([^build$])
2767 m4trace:configure.in:65: -1- m4_pattern_allow([^build_cpu$])
2768 m4trace:configure.in:65: -1- m4_pattern_allow([^build_vendor$])
2769 m4trace:configure.in:65: -1- m4_pattern_allow([^build_os$])
2770 m4trace:configure.in:65: -1- m4_pattern_allow([^host$])
2771 m4trace:configure.in:65: -1- m4_pattern_allow([^host_cpu$])
2772 m4trace:configure.in:65: -1- m4_pattern_allow([^host_vendor$])
2773 m4trace:configure.in:65: -1- m4_pattern_allow([^host_os$])
2774 m4trace:configure.in:65: -1- LT_PATH_LD
2775 m4trace:configure.in:65: -1- m4_pattern_allow([^SED$])
2776 m4trace:configure.in:65: -1- AC_PROG_EGREP
2777 m4trace:configure.in:65: -1- m4_pattern_allow([^GREP$])
2778 m4trace:configure.in:65: -1- m4_pattern_allow([^EGREP$])
2779 m4trace:configure.in:65: -1- m4_pattern_allow([^FGREP$])
2780 m4trace:configure.in:65: -1- m4_pattern_allow([^GREP$])
2781 m4trace:configure.in:65: -1- m4_pattern_allow([^LD$])
2782 m4trace:configure.in:65: -1- LT_PATH_NM
2783 m4trace:configure.in:65: -1- m4_pattern_allow([^DUMPBIN$])
2784 m4trace:configure.in:65: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
2785 m4trace:configure.in:65: -1- m4_pattern_allow([^DUMPBIN$])
2786 m4trace:configure.in:65: -1- m4_pattern_allow([^NM$])
2787 m4trace:configure.in:65: -1- LT_CMD_MAX_LEN
2788 m4trace:configure.in:65: -1- m4_pattern_allow([^OBJDUMP$])
2789 m4trace:configure.in:65: -1- m4_pattern_allow([^OBJDUMP$])
2790 m4trace:configure.in:65: -1- m4_pattern_allow([^AR$])
2791 m4trace:configure.in:65: -1- m4_pattern_allow([^STRIP$])
2792 m4trace:configure.in:65: -1- m4_pattern_allow([^RANLIB$])
2793 m4trace:configure.in:65: -1- m4_pattern_allow([LT_OBJDIR])
2794 m4trace:configure.in:65: -1- m4_pattern_allow([^LT_OBJDIR$])
2795 m4trace:configure.in:65: -1- m4_pattern_allow([^lt_ECHO$])
2796 m4trace:configure.in:65: -1- _LT_CC_BASENAME([$compiler])
2797 m4trace:configure.in:65: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
2798 m4trace:configure.in:65: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
2799 m4trace:configure.in:65: -1- LT_SUPPORTED_TAG([CC])
2800 m4trace:configure.in:65: -1- _LT_COMPILER_BOILERPLATE
2801 m4trace:configure.in:65: -1- _LT_LINKER_BOILERPLATE
2802 m4trace:configure.in:65: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
2803 m4trace:configure.in:65: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
2804 "" | " "*) ;;
2805 *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
2806 esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
2807 _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
2808 m4trace:configure.in:65: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
2809 m4trace:configure.in:65: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2810 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2811 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2812 /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
2813 /usr/share/aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
2814 /usr/share/aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
2815 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2816 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2817 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2818 configure.in:65: the top level])
2819 m4trace:configure.in:65: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2820 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2821 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2822 /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
2823 /usr/share/aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
2824 /usr/share/aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
2825 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2826 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2827 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2828 configure.in:65: the top level])
2829 m4trace:configure.in:65: -1- m4_pattern_allow([^DSYMUTIL$])
2830 m4trace:configure.in:65: -1- m4_pattern_allow([^NMEDIT$])
2831 m4trace:configure.in:65: -1- m4_pattern_allow([^LIPO$])
2832 m4trace:configure.in:65: -1- m4_pattern_allow([^OTOOL$])
2833 m4trace:configure.in:65: -1- m4_pattern_allow([^OTOOL64$])
2834 m4trace:configure.in:65: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2835 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2836 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2837 /usr/share/aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
2838 /usr/share/aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
2839 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2840 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2841 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2842 configure.in:65: the top level])
2843 m4trace:configure.in:65: -1- LT_SYS_DLOPEN_SELF
2844 m4trace:configure.in:65: -1- m4_pattern_allow([^STDC_HEADERS$])
2845 m4trace:configure.in:65: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
2846 m4trace:configure.in:65: -1- LT_LANG([CXX])
2847 m4trace:configure.in:65: -1- LT_SUPPORTED_TAG([CXX])
2848 m4trace:configure.in:65: -1- m4_pattern_allow([^CXX$])
2849 m4trace:configure.in:65: -1- m4_pattern_allow([^CXXFLAGS$])
2850 m4trace:configure.in:65: -1- m4_pattern_allow([^LDFLAGS$])
2851 m4trace:configure.in:65: -1- m4_pattern_allow([^LIBS$])
2852 m4trace:configure.in:65: -1- m4_pattern_allow([^CPPFLAGS$])
2853 m4trace:configure.in:65: -1- m4_pattern_allow([^CXX$])
2854 m4trace:configure.in:65: -1- m4_pattern_allow([^ac_ct_CXX$])
2855 m4trace:configure.in:65: -1- _AM_DEPENDENCIES([CXX])
2856 m4trace:configure.in:65: -1- m4_pattern_allow([^CXXDEPMODE$])
2857 m4trace:configure.in:65: -1- AM_CONDITIONAL([am__fastdepCXX], [
2858 test "x$enable_dependency_tracking" != xno \
2859 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
2860 m4trace:configure.in:65: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
2861 m4trace:configure.in:65: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
2862 m4trace:configure.in:65: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
2863 m4trace:configure.in:65: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
2864 m4trace:configure.in:65: -1- m4_pattern_allow([^CXXCPP$])
2865 m4trace:configure.in:65: -1- m4_pattern_allow([^CPPFLAGS$])
2866 m4trace:configure.in:65: -1- m4_pattern_allow([^CXXCPP$])
2867 m4trace:configure.in:65: -1- _LT_COMPILER_BOILERPLATE
2868 m4trace:configure.in:65: -1- _LT_LINKER_BOILERPLATE
2869 m4trace:configure.in:65: -1- _LT_CC_BASENAME([$compiler])
2870 m4trace:configure.in:65: -1- LT_PATH_LD
2871 m4trace:configure.in:65: -1- m4_pattern_allow([^LD$])
2872 m4trace:configure.in:65: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2873 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2874 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2875 /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
2876 /usr/share/aclocal/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
2877 /usr/share/aclocal/libtool.m4:785: _LT_LANG is expanded from...
2878 /usr/share/aclocal/libtool.m4:768: LT_LANG is expanded from...
2879 /usr/share/aclocal/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
2880 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2881 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2882 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2883 configure.in:65: the top level])
2884 m4trace:configure.in:65: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2885 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2886 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2887 /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
2888 /usr/share/aclocal/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
2889 /usr/share/aclocal/libtool.m4:785: _LT_LANG is expanded from...
2890 /usr/share/aclocal/libtool.m4:768: LT_LANG is expanded from...
2891 /usr/share/aclocal/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
2892 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2893 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2894 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2895 configure.in:65: the top level])
2896 m4trace:configure.in:65: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, CXX) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, CXX)], [$_LT_TAGVAR(lt_prog_compiler_pic, CXX)@&t@m4_if([CXX],[],[ -DPIC],[m4_if([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, CXX) in
2897 "" | " "*) ;;
2898 *) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
2899 esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)=
2900 _LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
2901 m4trace:configure.in:65: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works_CXX], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, CXX)=])
2902 m4trace:configure.in:76: -1- MLX_LANG_TCL
2903 m4trace:configure.in:76: -1- m4_pattern_allow([^TCLSH$])
2904 m4trace:configure.in:76: -1- m4_pattern_allow([^TCL_DEFS$])
2905 m4trace:configure.in:76: -1- m4_pattern_allow([^TCL_LIBS$])
2906 m4trace:configure.in:76: -1- m4_pattern_allow([^TCL_CPPFLAGS$])
2907 m4trace:configure.in:76: -1- m4_pattern_allow([^TCL_PREFIX$])
2908 m4trace:configure.in:81: -1- m4_pattern_allow([^STDC_HEADERS$])
2909 m4trace:configure.in:87: -1- m4_pattern_allow([^const$])
2910 m4trace:configure.in:89: -1- m4_pattern_allow([^size_t$])
2911 m4trace:configure.in:104: -1- AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])
2912 m4trace:configure.in:104: -1- m4_pattern_allow([^DEBUG_TRUE$])
2913 m4trace:configure.in:104: -1- m4_pattern_allow([^DEBUG_FALSE$])
2914 m4trace:configure.in:104: -1- _AM_SUBST_NOTMAKE([DEBUG_TRUE])
2915 m4trace:configure.in:104: -1- _AM_SUBST_NOTMAKE([DEBUG_FALSE])
2916 m4trace:configure.in:109: -1- OPENIB_APP_OSM
2917 m4trace:configure.in:109: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [../../lib/autoconf/general.m4:2777: AC_CHECK_FILE is expanded from...
2918 config/osm.m4:20: OPENIB_APP_OSM is expanded from...
2919 configure.in:109: the top level])
2920 m4trace:configure.in:109: -1- AM_CONDITIONAL([OSM_VENDOR_TS], [test "x$OSM_VENDOR" = xts])
2921 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR_TS_TRUE$])
2922 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR_TS_FALSE$])
2923 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_TS_TRUE])
2924 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_TS_FALSE])
2925 m4trace:configure.in:109: -1- AM_CONDITIONAL([OSM_VENDOR_MTL], [test "x$OSM_VENDOR" = xmtl])
2926 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR_MTL_TRUE$])
2927 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR_MTL_FALSE$])
2928 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_MTL_TRUE])
2929 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_MTL_FALSE])
2930 m4trace:configure.in:109: -1- AM_CONDITIONAL([OSM_VENDOR_SIM], [test "x$OSM_VENDOR" = xsim])
2931 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR_SIM_TRUE$])
2932 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR_SIM_FALSE$])
2933 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_SIM_TRUE])
2934 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_SIM_FALSE])
2935 m4trace:configure.in:109: -1- AM_CONDITIONAL([OSM_BUILD_OPENIB], [test "x$OSM_BUILD" = xopenib])
2936 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_BUILD_OPENIB_TRUE$])
2937 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_BUILD_OPENIB_FALSE$])
2938 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_BUILD_OPENIB_TRUE])
2939 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_BUILD_OPENIB_FALSE])
2940 m4trace:configure.in:109: -1- m4_pattern_allow([^with_osm$])
2941 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_CFLAGS$])
2942 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_LDFLAGS$])
2943 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR$])
2944 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_BUILD$])
2945 m4trace:configure.in:112: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
2946 You should run autoupdate.], [])
2947 m4trace:configure.in:112: -1- m4_pattern_allow([^LIB@&t@OBJS$])
2948 m4trace:configure.in:112: -1- m4_pattern_allow([^LTLIBOBJS$])
2949 m4trace:configure.in:112: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
2950 m4trace:configure.in:112: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
2951 m4trace:configure.in:112: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
2952 m4trace:configure.in:112: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
2953 m4trace:configure.in:112: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
2954 m4trace:configure.in:112: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
2955 m4trace:configure.in:112: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
2956 m4trace:configure.in:112: -1- _LT_PROG_LTMAIN
+0
-781
ibis/autom4te.cache/traces.1 less more
0 m4trace:aclocal.m4:8953: -1- m4_include([config/osm.m4])
1 m4trace:aclocal.m4:8954: -1- m4_include([config/swig.m4])
2 m4trace:aclocal.m4:8955: -1- m4_include([config/tcl.m4])
3 m4trace:configure.in:34: -1- AC_INIT([ibis], [1.5.7])
4 m4trace:configure.in:34: -1- m4_pattern_forbid([^_?A[CHUM]_])
5 m4trace:configure.in:34: -1- m4_pattern_forbid([_AC_])
6 m4trace:configure.in:34: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
7 m4trace:configure.in:34: -1- m4_pattern_allow([^AS_FLAGS$])
8 m4trace:configure.in:34: -1- m4_pattern_forbid([^_?m4_])
9 m4trace:configure.in:34: -1- m4_pattern_forbid([^dnl$])
10 m4trace:configure.in:34: -1- m4_pattern_forbid([^_?AS_])
11 m4trace:configure.in:34: -1- AC_SUBST([SHELL])
12 m4trace:configure.in:34: -1- AC_SUBST_TRACE([SHELL])
13 m4trace:configure.in:34: -1- m4_pattern_allow([^SHELL$])
14 m4trace:configure.in:34: -1- AC_SUBST([PATH_SEPARATOR])
15 m4trace:configure.in:34: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
16 m4trace:configure.in:34: -1- m4_pattern_allow([^PATH_SEPARATOR$])
17 m4trace:configure.in:34: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
18 m4trace:configure.in:34: -1- AC_SUBST_TRACE([PACKAGE_NAME])
19 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_NAME$])
20 m4trace:configure.in:34: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
21 m4trace:configure.in:34: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
22 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
23 m4trace:configure.in:34: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
24 m4trace:configure.in:34: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
25 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_VERSION$])
26 m4trace:configure.in:34: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
27 m4trace:configure.in:34: -1- AC_SUBST_TRACE([PACKAGE_STRING])
28 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_STRING$])
29 m4trace:configure.in:34: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
30 m4trace:configure.in:34: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
31 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
32 m4trace:configure.in:34: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
33 m4trace:configure.in:34: -1- AC_SUBST_TRACE([PACKAGE_URL])
34 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_URL$])
35 m4trace:configure.in:34: -1- AC_SUBST([exec_prefix], [NONE])
36 m4trace:configure.in:34: -1- AC_SUBST_TRACE([exec_prefix])
37 m4trace:configure.in:34: -1- m4_pattern_allow([^exec_prefix$])
38 m4trace:configure.in:34: -1- AC_SUBST([prefix], [NONE])
39 m4trace:configure.in:34: -1- AC_SUBST_TRACE([prefix])
40 m4trace:configure.in:34: -1- m4_pattern_allow([^prefix$])
41 m4trace:configure.in:34: -1- AC_SUBST([program_transform_name], [s,x,x,])
42 m4trace:configure.in:34: -1- AC_SUBST_TRACE([program_transform_name])
43 m4trace:configure.in:34: -1- m4_pattern_allow([^program_transform_name$])
44 m4trace:configure.in:34: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
45 m4trace:configure.in:34: -1- AC_SUBST_TRACE([bindir])
46 m4trace:configure.in:34: -1- m4_pattern_allow([^bindir$])
47 m4trace:configure.in:34: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
48 m4trace:configure.in:34: -1- AC_SUBST_TRACE([sbindir])
49 m4trace:configure.in:34: -1- m4_pattern_allow([^sbindir$])
50 m4trace:configure.in:34: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
51 m4trace:configure.in:34: -1- AC_SUBST_TRACE([libexecdir])
52 m4trace:configure.in:34: -1- m4_pattern_allow([^libexecdir$])
53 m4trace:configure.in:34: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
54 m4trace:configure.in:34: -1- AC_SUBST_TRACE([datarootdir])
55 m4trace:configure.in:34: -1- m4_pattern_allow([^datarootdir$])
56 m4trace:configure.in:34: -1- AC_SUBST([datadir], ['${datarootdir}'])
57 m4trace:configure.in:34: -1- AC_SUBST_TRACE([datadir])
58 m4trace:configure.in:34: -1- m4_pattern_allow([^datadir$])
59 m4trace:configure.in:34: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
60 m4trace:configure.in:34: -1- AC_SUBST_TRACE([sysconfdir])
61 m4trace:configure.in:34: -1- m4_pattern_allow([^sysconfdir$])
62 m4trace:configure.in:34: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
63 m4trace:configure.in:34: -1- AC_SUBST_TRACE([sharedstatedir])
64 m4trace:configure.in:34: -1- m4_pattern_allow([^sharedstatedir$])
65 m4trace:configure.in:34: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
66 m4trace:configure.in:34: -1- AC_SUBST_TRACE([localstatedir])
67 m4trace:configure.in:34: -1- m4_pattern_allow([^localstatedir$])
68 m4trace:configure.in:34: -1- AC_SUBST([includedir], ['${prefix}/include'])
69 m4trace:configure.in:34: -1- AC_SUBST_TRACE([includedir])
70 m4trace:configure.in:34: -1- m4_pattern_allow([^includedir$])
71 m4trace:configure.in:34: -1- AC_SUBST([oldincludedir], ['/usr/include'])
72 m4trace:configure.in:34: -1- AC_SUBST_TRACE([oldincludedir])
73 m4trace:configure.in:34: -1- m4_pattern_allow([^oldincludedir$])
74 m4trace:configure.in:34: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
75 ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
76 ['${datarootdir}/doc/${PACKAGE}'])])
77 m4trace:configure.in:34: -1- AC_SUBST_TRACE([docdir])
78 m4trace:configure.in:34: -1- m4_pattern_allow([^docdir$])
79 m4trace:configure.in:34: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
80 m4trace:configure.in:34: -1- AC_SUBST_TRACE([infodir])
81 m4trace:configure.in:34: -1- m4_pattern_allow([^infodir$])
82 m4trace:configure.in:34: -1- AC_SUBST([htmldir], ['${docdir}'])
83 m4trace:configure.in:34: -1- AC_SUBST_TRACE([htmldir])
84 m4trace:configure.in:34: -1- m4_pattern_allow([^htmldir$])
85 m4trace:configure.in:34: -1- AC_SUBST([dvidir], ['${docdir}'])
86 m4trace:configure.in:34: -1- AC_SUBST_TRACE([dvidir])
87 m4trace:configure.in:34: -1- m4_pattern_allow([^dvidir$])
88 m4trace:configure.in:34: -1- AC_SUBST([pdfdir], ['${docdir}'])
89 m4trace:configure.in:34: -1- AC_SUBST_TRACE([pdfdir])
90 m4trace:configure.in:34: -1- m4_pattern_allow([^pdfdir$])
91 m4trace:configure.in:34: -1- AC_SUBST([psdir], ['${docdir}'])
92 m4trace:configure.in:34: -1- AC_SUBST_TRACE([psdir])
93 m4trace:configure.in:34: -1- m4_pattern_allow([^psdir$])
94 m4trace:configure.in:34: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
95 m4trace:configure.in:34: -1- AC_SUBST_TRACE([libdir])
96 m4trace:configure.in:34: -1- m4_pattern_allow([^libdir$])
97 m4trace:configure.in:34: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
98 m4trace:configure.in:34: -1- AC_SUBST_TRACE([localedir])
99 m4trace:configure.in:34: -1- m4_pattern_allow([^localedir$])
100 m4trace:configure.in:34: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
101 m4trace:configure.in:34: -1- AC_SUBST_TRACE([mandir])
102 m4trace:configure.in:34: -1- m4_pattern_allow([^mandir$])
103 m4trace:configure.in:34: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
104 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_NAME$])
105 m4trace:configure.in:34: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
106 @%:@undef PACKAGE_NAME])
107 m4trace:configure.in:34: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
108 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
109 m4trace:configure.in:34: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
110 @%:@undef PACKAGE_TARNAME])
111 m4trace:configure.in:34: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
112 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_VERSION$])
113 m4trace:configure.in:34: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
114 @%:@undef PACKAGE_VERSION])
115 m4trace:configure.in:34: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
116 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_STRING$])
117 m4trace:configure.in:34: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
118 @%:@undef PACKAGE_STRING])
119 m4trace:configure.in:34: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
120 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
121 m4trace:configure.in:34: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
122 @%:@undef PACKAGE_BUGREPORT])
123 m4trace:configure.in:34: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
124 m4trace:configure.in:34: -1- m4_pattern_allow([^PACKAGE_URL$])
125 m4trace:configure.in:34: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
126 @%:@undef PACKAGE_URL])
127 m4trace:configure.in:34: -1- AC_SUBST([DEFS])
128 m4trace:configure.in:34: -1- AC_SUBST_TRACE([DEFS])
129 m4trace:configure.in:34: -1- m4_pattern_allow([^DEFS$])
130 m4trace:configure.in:34: -1- AC_SUBST([ECHO_C])
131 m4trace:configure.in:34: -1- AC_SUBST_TRACE([ECHO_C])
132 m4trace:configure.in:34: -1- m4_pattern_allow([^ECHO_C$])
133 m4trace:configure.in:34: -1- AC_SUBST([ECHO_N])
134 m4trace:configure.in:34: -1- AC_SUBST_TRACE([ECHO_N])
135 m4trace:configure.in:34: -1- m4_pattern_allow([^ECHO_N$])
136 m4trace:configure.in:34: -1- AC_SUBST([ECHO_T])
137 m4trace:configure.in:34: -1- AC_SUBST_TRACE([ECHO_T])
138 m4trace:configure.in:34: -1- m4_pattern_allow([^ECHO_T$])
139 m4trace:configure.in:34: -1- AC_SUBST([LIBS])
140 m4trace:configure.in:34: -1- AC_SUBST_TRACE([LIBS])
141 m4trace:configure.in:34: -1- m4_pattern_allow([^LIBS$])
142 m4trace:configure.in:34: -1- AC_SUBST([build_alias])
143 m4trace:configure.in:34: -1- AC_SUBST_TRACE([build_alias])
144 m4trace:configure.in:34: -1- m4_pattern_allow([^build_alias$])
145 m4trace:configure.in:34: -1- AC_SUBST([host_alias])
146 m4trace:configure.in:34: -1- AC_SUBST_TRACE([host_alias])
147 m4trace:configure.in:34: -1- m4_pattern_allow([^host_alias$])
148 m4trace:configure.in:34: -1- AC_SUBST([target_alias])
149 m4trace:configure.in:34: -1- AC_SUBST_TRACE([target_alias])
150 m4trace:configure.in:34: -1- m4_pattern_allow([^target_alias$])
151 m4trace:configure.in:38: -1- AC_CONFIG_AUX_DIR([config])
152 m4trace:configure.in:41: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
153 You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
154 configure.in:41: the top level])
155 m4trace:configure.in:44: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
156 You should run autoupdate.], [aclocal.m4:8368: AM_CONFIG_HEADER is expanded from...
157 configure.in:44: the top level])
158 m4trace:configure.in:44: -1- AC_CONFIG_HEADERS([config.h])
159 m4trace:configure.in:47: -1- AM_INIT_AUTOMAKE
160 m4trace:configure.in:47: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
161 m4trace:configure.in:47: -1- AM_AUTOMAKE_VERSION([1.11.1])
162 m4trace:configure.in:47: -1- AC_REQUIRE_AUX_FILE([install-sh])
163 m4trace:configure.in:47: -1- AC_SUBST([INSTALL_PROGRAM])
164 m4trace:configure.in:47: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
165 m4trace:configure.in:47: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
166 m4trace:configure.in:47: -1- AC_SUBST([INSTALL_SCRIPT])
167 m4trace:configure.in:47: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
168 m4trace:configure.in:47: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
169 m4trace:configure.in:47: -1- AC_SUBST([INSTALL_DATA])
170 m4trace:configure.in:47: -1- AC_SUBST_TRACE([INSTALL_DATA])
171 m4trace:configure.in:47: -1- m4_pattern_allow([^INSTALL_DATA$])
172 m4trace:configure.in:47: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
173 m4trace:configure.in:47: -1- AC_SUBST_TRACE([am__isrc])
174 m4trace:configure.in:47: -1- m4_pattern_allow([^am__isrc$])
175 m4trace:configure.in:47: -1- _AM_SUBST_NOTMAKE([am__isrc])
176 m4trace:configure.in:47: -1- AC_SUBST([CYGPATH_W])
177 m4trace:configure.in:47: -1- AC_SUBST_TRACE([CYGPATH_W])
178 m4trace:configure.in:47: -1- m4_pattern_allow([^CYGPATH_W$])
179 m4trace:configure.in:47: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
180 m4trace:configure.in:47: -1- AC_SUBST_TRACE([PACKAGE])
181 m4trace:configure.in:47: -1- m4_pattern_allow([^PACKAGE$])
182 m4trace:configure.in:47: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
183 m4trace:configure.in:47: -1- AC_SUBST_TRACE([VERSION])
184 m4trace:configure.in:47: -1- m4_pattern_allow([^VERSION$])
185 m4trace:configure.in:47: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
186 m4trace:configure.in:47: -1- m4_pattern_allow([^PACKAGE$])
187 m4trace:configure.in:47: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
188 @%:@undef PACKAGE])
189 m4trace:configure.in:47: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
190 m4trace:configure.in:47: -1- m4_pattern_allow([^VERSION$])
191 m4trace:configure.in:47: -1- AH_OUTPUT([VERSION], [/* Version number of package */
192 @%:@undef VERSION])
193 m4trace:configure.in:47: -1- AC_REQUIRE_AUX_FILE([missing])
194 m4trace:configure.in:47: -1- AC_SUBST([ACLOCAL])
195 m4trace:configure.in:47: -1- AC_SUBST_TRACE([ACLOCAL])
196 m4trace:configure.in:47: -1- m4_pattern_allow([^ACLOCAL$])
197 m4trace:configure.in:47: -1- AC_SUBST([AUTOCONF])
198 m4trace:configure.in:47: -1- AC_SUBST_TRACE([AUTOCONF])
199 m4trace:configure.in:47: -1- m4_pattern_allow([^AUTOCONF$])
200 m4trace:configure.in:47: -1- AC_SUBST([AUTOMAKE])
201 m4trace:configure.in:47: -1- AC_SUBST_TRACE([AUTOMAKE])
202 m4trace:configure.in:47: -1- m4_pattern_allow([^AUTOMAKE$])
203 m4trace:configure.in:47: -1- AC_SUBST([AUTOHEADER])
204 m4trace:configure.in:47: -1- AC_SUBST_TRACE([AUTOHEADER])
205 m4trace:configure.in:47: -1- m4_pattern_allow([^AUTOHEADER$])
206 m4trace:configure.in:47: -1- AC_SUBST([MAKEINFO])
207 m4trace:configure.in:47: -1- AC_SUBST_TRACE([MAKEINFO])
208 m4trace:configure.in:47: -1- m4_pattern_allow([^MAKEINFO$])
209 m4trace:configure.in:47: -1- AC_SUBST([install_sh])
210 m4trace:configure.in:47: -1- AC_SUBST_TRACE([install_sh])
211 m4trace:configure.in:47: -1- m4_pattern_allow([^install_sh$])
212 m4trace:configure.in:47: -1- AC_SUBST([STRIP])
213 m4trace:configure.in:47: -1- AC_SUBST_TRACE([STRIP])
214 m4trace:configure.in:47: -1- m4_pattern_allow([^STRIP$])
215 m4trace:configure.in:47: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
216 m4trace:configure.in:47: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
217 m4trace:configure.in:47: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
218 m4trace:configure.in:47: -1- AC_REQUIRE_AUX_FILE([install-sh])
219 m4trace:configure.in:47: -1- AC_SUBST([MKDIR_P])
220 m4trace:configure.in:47: -1- AC_SUBST_TRACE([MKDIR_P])
221 m4trace:configure.in:47: -1- m4_pattern_allow([^MKDIR_P$])
222 m4trace:configure.in:47: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
223 m4trace:configure.in:47: -1- AC_SUBST_TRACE([mkdir_p])
224 m4trace:configure.in:47: -1- m4_pattern_allow([^mkdir_p$])
225 m4trace:configure.in:47: -1- AC_SUBST([AWK])
226 m4trace:configure.in:47: -1- AC_SUBST_TRACE([AWK])
227 m4trace:configure.in:47: -1- m4_pattern_allow([^AWK$])
228 m4trace:configure.in:47: -1- AC_SUBST([SET_MAKE])
229 m4trace:configure.in:47: -1- AC_SUBST_TRACE([SET_MAKE])
230 m4trace:configure.in:47: -1- m4_pattern_allow([^SET_MAKE$])
231 m4trace:configure.in:47: -1- AC_SUBST([am__leading_dot])
232 m4trace:configure.in:47: -1- AC_SUBST_TRACE([am__leading_dot])
233 m4trace:configure.in:47: -1- m4_pattern_allow([^am__leading_dot$])
234 m4trace:configure.in:47: -1- AC_SUBST([AMTAR])
235 m4trace:configure.in:47: -1- AC_SUBST_TRACE([AMTAR])
236 m4trace:configure.in:47: -1- m4_pattern_allow([^AMTAR$])
237 m4trace:configure.in:47: -1- AC_SUBST([am__tar])
238 m4trace:configure.in:47: -1- AC_SUBST_TRACE([am__tar])
239 m4trace:configure.in:47: -1- m4_pattern_allow([^am__tar$])
240 m4trace:configure.in:47: -1- AC_SUBST([am__untar])
241 m4trace:configure.in:47: -1- AC_SUBST_TRACE([am__untar])
242 m4trace:configure.in:47: -1- m4_pattern_allow([^am__untar$])
243 m4trace:configure.in:52: -1- AM_MAINTAINER_MODE
244 m4trace:configure.in:52: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
245 m4trace:configure.in:52: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
246 m4trace:configure.in:52: -1- AC_SUBST_TRACE([MAINTAINER_MODE_TRUE])
247 m4trace:configure.in:52: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
248 m4trace:configure.in:52: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
249 m4trace:configure.in:52: -1- AC_SUBST_TRACE([MAINTAINER_MODE_FALSE])
250 m4trace:configure.in:52: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
251 m4trace:configure.in:52: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
252 m4trace:configure.in:52: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
253 m4trace:configure.in:52: -1- AC_SUBST([MAINT])
254 m4trace:configure.in:52: -1- AC_SUBST_TRACE([MAINT])
255 m4trace:configure.in:52: -1- m4_pattern_allow([^MAINT$])
256 m4trace:configure.in:55: -1- AC_SUBST([SET_MAKE])
257 m4trace:configure.in:55: -1- AC_SUBST_TRACE([SET_MAKE])
258 m4trace:configure.in:55: -1- m4_pattern_allow([^SET_MAKE$])
259 m4trace:configure.in:59: -1- AC_SUBST([LN_S], [$as_ln_s])
260 m4trace:configure.in:59: -1- AC_SUBST_TRACE([LN_S])
261 m4trace:configure.in:59: -1- m4_pattern_allow([^LN_S$])
262 m4trace:configure.in:60: -1- AC_SUBST([SWIG])
263 m4trace:configure.in:60: -1- AC_SUBST_TRACE([SWIG])
264 m4trace:configure.in:60: -1- m4_pattern_allow([^SWIG$])
265 m4trace:configure.in:60: -1- AM_CONDITIONAL([HAS_SWIG], [test 1])
266 m4trace:configure.in:60: -1- AC_SUBST([HAS_SWIG_TRUE])
267 m4trace:configure.in:60: -1- AC_SUBST_TRACE([HAS_SWIG_TRUE])
268 m4trace:configure.in:60: -1- m4_pattern_allow([^HAS_SWIG_TRUE$])
269 m4trace:configure.in:60: -1- AC_SUBST([HAS_SWIG_FALSE])
270 m4trace:configure.in:60: -1- AC_SUBST_TRACE([HAS_SWIG_FALSE])
271 m4trace:configure.in:60: -1- m4_pattern_allow([^HAS_SWIG_FALSE$])
272 m4trace:configure.in:60: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_TRUE])
273 m4trace:configure.in:60: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_FALSE])
274 m4trace:configure.in:60: -1- AM_CONDITIONAL([HAS_SWIG], [test 0])
275 m4trace:configure.in:60: -1- AC_SUBST([HAS_SWIG_TRUE])
276 m4trace:configure.in:60: -1- AC_SUBST_TRACE([HAS_SWIG_TRUE])
277 m4trace:configure.in:60: -1- m4_pattern_allow([^HAS_SWIG_TRUE$])
278 m4trace:configure.in:60: -1- AC_SUBST([HAS_SWIG_FALSE])
279 m4trace:configure.in:60: -1- AC_SUBST_TRACE([HAS_SWIG_FALSE])
280 m4trace:configure.in:60: -1- m4_pattern_allow([^HAS_SWIG_FALSE$])
281 m4trace:configure.in:60: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_TRUE])
282 m4trace:configure.in:60: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_FALSE])
283 m4trace:configure.in:60: -1- AC_SUBST([SWIG_LIB])
284 m4trace:configure.in:60: -1- AC_SUBST_TRACE([SWIG_LIB])
285 m4trace:configure.in:60: -1- m4_pattern_allow([^SWIG_LIB$])
286 m4trace:configure.in:63: -1- AC_SUBST([CXX])
287 m4trace:configure.in:63: -1- AC_SUBST_TRACE([CXX])
288 m4trace:configure.in:63: -1- m4_pattern_allow([^CXX$])
289 m4trace:configure.in:63: -1- AC_SUBST([CXXFLAGS])
290 m4trace:configure.in:63: -1- AC_SUBST_TRACE([CXXFLAGS])
291 m4trace:configure.in:63: -1- m4_pattern_allow([^CXXFLAGS$])
292 m4trace:configure.in:63: -1- AC_SUBST([LDFLAGS])
293 m4trace:configure.in:63: -1- AC_SUBST_TRACE([LDFLAGS])
294 m4trace:configure.in:63: -1- m4_pattern_allow([^LDFLAGS$])
295 m4trace:configure.in:63: -1- AC_SUBST([LIBS])
296 m4trace:configure.in:63: -1- AC_SUBST_TRACE([LIBS])
297 m4trace:configure.in:63: -1- m4_pattern_allow([^LIBS$])
298 m4trace:configure.in:63: -1- AC_SUBST([CPPFLAGS])
299 m4trace:configure.in:63: -1- AC_SUBST_TRACE([CPPFLAGS])
300 m4trace:configure.in:63: -1- m4_pattern_allow([^CPPFLAGS$])
301 m4trace:configure.in:63: -1- AC_SUBST([CXX])
302 m4trace:configure.in:63: -1- AC_SUBST_TRACE([CXX])
303 m4trace:configure.in:63: -1- m4_pattern_allow([^CXX$])
304 m4trace:configure.in:63: -1- AC_SUBST([ac_ct_CXX])
305 m4trace:configure.in:63: -1- AC_SUBST_TRACE([ac_ct_CXX])
306 m4trace:configure.in:63: -1- m4_pattern_allow([^ac_ct_CXX$])
307 m4trace:configure.in:63: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
308 m4trace:configure.in:63: -1- AC_SUBST_TRACE([EXEEXT])
309 m4trace:configure.in:63: -1- m4_pattern_allow([^EXEEXT$])
310 m4trace:configure.in:63: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
311 m4trace:configure.in:63: -1- AC_SUBST_TRACE([OBJEXT])
312 m4trace:configure.in:63: -1- m4_pattern_allow([^OBJEXT$])
313 m4trace:configure.in:63: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
314 m4trace:configure.in:63: -1- AC_SUBST_TRACE([DEPDIR])
315 m4trace:configure.in:63: -1- m4_pattern_allow([^DEPDIR$])
316 m4trace:configure.in:63: -1- AC_SUBST([am__include])
317 m4trace:configure.in:63: -1- AC_SUBST_TRACE([am__include])
318 m4trace:configure.in:63: -1- m4_pattern_allow([^am__include$])
319 m4trace:configure.in:63: -1- AC_SUBST([am__quote])
320 m4trace:configure.in:63: -1- AC_SUBST_TRACE([am__quote])
321 m4trace:configure.in:63: -1- m4_pattern_allow([^am__quote$])
322 m4trace:configure.in:63: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
323 m4trace:configure.in:63: -1- AC_SUBST([AMDEP_TRUE])
324 m4trace:configure.in:63: -1- AC_SUBST_TRACE([AMDEP_TRUE])
325 m4trace:configure.in:63: -1- m4_pattern_allow([^AMDEP_TRUE$])
326 m4trace:configure.in:63: -1- AC_SUBST([AMDEP_FALSE])
327 m4trace:configure.in:63: -1- AC_SUBST_TRACE([AMDEP_FALSE])
328 m4trace:configure.in:63: -1- m4_pattern_allow([^AMDEP_FALSE$])
329 m4trace:configure.in:63: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
330 m4trace:configure.in:63: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
331 m4trace:configure.in:63: -1- AC_SUBST([AMDEPBACKSLASH])
332 m4trace:configure.in:63: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
333 m4trace:configure.in:63: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
334 m4trace:configure.in:63: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
335 m4trace:configure.in:63: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
336 m4trace:configure.in:63: -1- AC_SUBST_TRACE([CXXDEPMODE])
337 m4trace:configure.in:63: -1- m4_pattern_allow([^CXXDEPMODE$])
338 m4trace:configure.in:63: -1- AM_CONDITIONAL([am__fastdepCXX], [
339 test "x$enable_dependency_tracking" != xno \
340 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
341 m4trace:configure.in:63: -1- AC_SUBST([am__fastdepCXX_TRUE])
342 m4trace:configure.in:63: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
343 m4trace:configure.in:63: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
344 m4trace:configure.in:63: -1- AC_SUBST([am__fastdepCXX_FALSE])
345 m4trace:configure.in:63: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
346 m4trace:configure.in:63: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
347 m4trace:configure.in:63: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
348 m4trace:configure.in:63: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
349 m4trace:configure.in:64: -1- AC_SUBST([CC])
350 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CC])
351 m4trace:configure.in:64: -1- m4_pattern_allow([^CC$])
352 m4trace:configure.in:64: -1- AC_SUBST([CFLAGS])
353 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CFLAGS])
354 m4trace:configure.in:64: -1- m4_pattern_allow([^CFLAGS$])
355 m4trace:configure.in:64: -1- AC_SUBST([LDFLAGS])
356 m4trace:configure.in:64: -1- AC_SUBST_TRACE([LDFLAGS])
357 m4trace:configure.in:64: -1- m4_pattern_allow([^LDFLAGS$])
358 m4trace:configure.in:64: -1- AC_SUBST([LIBS])
359 m4trace:configure.in:64: -1- AC_SUBST_TRACE([LIBS])
360 m4trace:configure.in:64: -1- m4_pattern_allow([^LIBS$])
361 m4trace:configure.in:64: -1- AC_SUBST([CPPFLAGS])
362 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CPPFLAGS])
363 m4trace:configure.in:64: -1- m4_pattern_allow([^CPPFLAGS$])
364 m4trace:configure.in:64: -1- AC_SUBST([CC])
365 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CC])
366 m4trace:configure.in:64: -1- m4_pattern_allow([^CC$])
367 m4trace:configure.in:64: -1- AC_SUBST([CC])
368 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CC])
369 m4trace:configure.in:64: -1- m4_pattern_allow([^CC$])
370 m4trace:configure.in:64: -1- AC_SUBST([CC])
371 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CC])
372 m4trace:configure.in:64: -1- m4_pattern_allow([^CC$])
373 m4trace:configure.in:64: -1- AC_SUBST([CC])
374 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CC])
375 m4trace:configure.in:64: -1- m4_pattern_allow([^CC$])
376 m4trace:configure.in:64: -1- AC_SUBST([ac_ct_CC])
377 m4trace:configure.in:64: -1- AC_SUBST_TRACE([ac_ct_CC])
378 m4trace:configure.in:64: -1- m4_pattern_allow([^ac_ct_CC$])
379 m4trace:configure.in:64: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
380 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CCDEPMODE])
381 m4trace:configure.in:64: -1- m4_pattern_allow([^CCDEPMODE$])
382 m4trace:configure.in:64: -1- AM_CONDITIONAL([am__fastdepCC], [
383 test "x$enable_dependency_tracking" != xno \
384 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
385 m4trace:configure.in:64: -1- AC_SUBST([am__fastdepCC_TRUE])
386 m4trace:configure.in:64: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
387 m4trace:configure.in:64: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
388 m4trace:configure.in:64: -1- AC_SUBST([am__fastdepCC_FALSE])
389 m4trace:configure.in:64: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
390 m4trace:configure.in:64: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
391 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
392 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
393 m4trace:configure.in:64: -1- AC_SUBST([CPP])
394 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CPP])
395 m4trace:configure.in:64: -1- m4_pattern_allow([^CPP$])
396 m4trace:configure.in:64: -1- AC_SUBST([CPPFLAGS])
397 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CPPFLAGS])
398 m4trace:configure.in:64: -1- m4_pattern_allow([^CPPFLAGS$])
399 m4trace:configure.in:64: -1- AC_SUBST([CPP])
400 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CPP])
401 m4trace:configure.in:64: -1- m4_pattern_allow([^CPP$])
402 m4trace:configure.in:65: -1- AC_PROG_LIBTOOL
403 m4trace:configure.in:65: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
404 You should run autoupdate.], [aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
405 configure.in:65: the top level])
406 m4trace:configure.in:65: -1- LT_INIT
407 m4trace:configure.in:65: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
408 m4trace:configure.in:65: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
409 m4trace:configure.in:65: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
410 m4trace:configure.in:65: -1- AC_SUBST([LIBTOOL])
411 m4trace:configure.in:65: -1- AC_SUBST_TRACE([LIBTOOL])
412 m4trace:configure.in:65: -1- m4_pattern_allow([^LIBTOOL$])
413 m4trace:configure.in:65: -1- AC_CANONICAL_HOST
414 m4trace:configure.in:65: -1- AC_CANONICAL_BUILD
415 m4trace:configure.in:65: -1- AC_REQUIRE_AUX_FILE([config.sub])
416 m4trace:configure.in:65: -1- AC_REQUIRE_AUX_FILE([config.guess])
417 m4trace:configure.in:65: -1- AC_SUBST([build], [$ac_cv_build])
418 m4trace:configure.in:65: -1- AC_SUBST_TRACE([build])
419 m4trace:configure.in:65: -1- m4_pattern_allow([^build$])
420 m4trace:configure.in:65: -1- AC_SUBST([build_cpu], [$[1]])
421 m4trace:configure.in:65: -1- AC_SUBST_TRACE([build_cpu])
422 m4trace:configure.in:65: -1- m4_pattern_allow([^build_cpu$])
423 m4trace:configure.in:65: -1- AC_SUBST([build_vendor], [$[2]])
424 m4trace:configure.in:65: -1- AC_SUBST_TRACE([build_vendor])
425 m4trace:configure.in:65: -1- m4_pattern_allow([^build_vendor$])
426 m4trace:configure.in:65: -1- AC_SUBST([build_os])
427 m4trace:configure.in:65: -1- AC_SUBST_TRACE([build_os])
428 m4trace:configure.in:65: -1- m4_pattern_allow([^build_os$])
429 m4trace:configure.in:65: -1- AC_SUBST([host], [$ac_cv_host])
430 m4trace:configure.in:65: -1- AC_SUBST_TRACE([host])
431 m4trace:configure.in:65: -1- m4_pattern_allow([^host$])
432 m4trace:configure.in:65: -1- AC_SUBST([host_cpu], [$[1]])
433 m4trace:configure.in:65: -1- AC_SUBST_TRACE([host_cpu])
434 m4trace:configure.in:65: -1- m4_pattern_allow([^host_cpu$])
435 m4trace:configure.in:65: -1- AC_SUBST([host_vendor], [$[2]])
436 m4trace:configure.in:65: -1- AC_SUBST_TRACE([host_vendor])
437 m4trace:configure.in:65: -1- m4_pattern_allow([^host_vendor$])
438 m4trace:configure.in:65: -1- AC_SUBST([host_os])
439 m4trace:configure.in:65: -1- AC_SUBST_TRACE([host_os])
440 m4trace:configure.in:65: -1- m4_pattern_allow([^host_os$])
441 m4trace:configure.in:65: -1- AC_SUBST([SED])
442 m4trace:configure.in:65: -1- AC_SUBST_TRACE([SED])
443 m4trace:configure.in:65: -1- m4_pattern_allow([^SED$])
444 m4trace:configure.in:65: -1- AC_SUBST([GREP])
445 m4trace:configure.in:65: -1- AC_SUBST_TRACE([GREP])
446 m4trace:configure.in:65: -1- m4_pattern_allow([^GREP$])
447 m4trace:configure.in:65: -1- AC_SUBST([EGREP])
448 m4trace:configure.in:65: -1- AC_SUBST_TRACE([EGREP])
449 m4trace:configure.in:65: -1- m4_pattern_allow([^EGREP$])
450 m4trace:configure.in:65: -1- AC_SUBST([FGREP])
451 m4trace:configure.in:65: -1- AC_SUBST_TRACE([FGREP])
452 m4trace:configure.in:65: -1- m4_pattern_allow([^FGREP$])
453 m4trace:configure.in:65: -1- AC_SUBST([GREP])
454 m4trace:configure.in:65: -1- AC_SUBST_TRACE([GREP])
455 m4trace:configure.in:65: -1- m4_pattern_allow([^GREP$])
456 m4trace:configure.in:65: -1- AC_SUBST([LD])
457 m4trace:configure.in:65: -1- AC_SUBST_TRACE([LD])
458 m4trace:configure.in:65: -1- m4_pattern_allow([^LD$])
459 m4trace:configure.in:65: -1- AC_SUBST([DUMPBIN])
460 m4trace:configure.in:65: -1- AC_SUBST_TRACE([DUMPBIN])
461 m4trace:configure.in:65: -1- m4_pattern_allow([^DUMPBIN$])
462 m4trace:configure.in:65: -1- AC_SUBST([ac_ct_DUMPBIN])
463 m4trace:configure.in:65: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
464 m4trace:configure.in:65: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
465 m4trace:configure.in:65: -1- AC_SUBST([DUMPBIN])
466 m4trace:configure.in:65: -1- AC_SUBST_TRACE([DUMPBIN])
467 m4trace:configure.in:65: -1- m4_pattern_allow([^DUMPBIN$])
468 m4trace:configure.in:65: -1- AC_SUBST([NM])
469 m4trace:configure.in:65: -1- AC_SUBST_TRACE([NM])
470 m4trace:configure.in:65: -1- m4_pattern_allow([^NM$])
471 m4trace:configure.in:65: -1- AC_SUBST([OBJDUMP])
472 m4trace:configure.in:65: -1- AC_SUBST_TRACE([OBJDUMP])
473 m4trace:configure.in:65: -1- m4_pattern_allow([^OBJDUMP$])
474 m4trace:configure.in:65: -1- AC_SUBST([OBJDUMP])
475 m4trace:configure.in:65: -1- AC_SUBST_TRACE([OBJDUMP])
476 m4trace:configure.in:65: -1- m4_pattern_allow([^OBJDUMP$])
477 m4trace:configure.in:65: -1- AC_SUBST([AR])
478 m4trace:configure.in:65: -1- AC_SUBST_TRACE([AR])
479 m4trace:configure.in:65: -1- m4_pattern_allow([^AR$])
480 m4trace:configure.in:65: -1- AC_SUBST([STRIP])
481 m4trace:configure.in:65: -1- AC_SUBST_TRACE([STRIP])
482 m4trace:configure.in:65: -1- m4_pattern_allow([^STRIP$])
483 m4trace:configure.in:65: -1- AC_SUBST([RANLIB])
484 m4trace:configure.in:65: -1- AC_SUBST_TRACE([RANLIB])
485 m4trace:configure.in:65: -1- m4_pattern_allow([^RANLIB$])
486 m4trace:configure.in:65: -1- m4_pattern_allow([LT_OBJDIR])
487 m4trace:configure.in:65: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
488 m4trace:configure.in:65: -1- m4_pattern_allow([^LT_OBJDIR$])
489 m4trace:configure.in:65: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries.
490 */
491 @%:@undef LT_OBJDIR])
492 m4trace:configure.in:65: -1- AC_SUBST([lt_ECHO])
493 m4trace:configure.in:65: -1- AC_SUBST_TRACE([lt_ECHO])
494 m4trace:configure.in:65: -1- m4_pattern_allow([^lt_ECHO$])
495 m4trace:configure.in:65: -1- LT_SUPPORTED_TAG([CC])
496 m4trace:configure.in:65: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
497 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
498 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
499 aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
500 aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
501 aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
502 aclocal.m4:159: _LT_SETUP is expanded from...
503 aclocal.m4:88: LT_INIT is expanded from...
504 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
505 configure.in:65: the top level])
506 m4trace:configure.in:65: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
507 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
508 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
509 aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
510 aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
511 aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
512 aclocal.m4:159: _LT_SETUP is expanded from...
513 aclocal.m4:88: LT_INIT is expanded from...
514 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
515 configure.in:65: the top level])
516 m4trace:configure.in:65: -1- AC_SUBST([DSYMUTIL])
517 m4trace:configure.in:65: -1- AC_SUBST_TRACE([DSYMUTIL])
518 m4trace:configure.in:65: -1- m4_pattern_allow([^DSYMUTIL$])
519 m4trace:configure.in:65: -1- AC_SUBST([NMEDIT])
520 m4trace:configure.in:65: -1- AC_SUBST_TRACE([NMEDIT])
521 m4trace:configure.in:65: -1- m4_pattern_allow([^NMEDIT$])
522 m4trace:configure.in:65: -1- AC_SUBST([LIPO])
523 m4trace:configure.in:65: -1- AC_SUBST_TRACE([LIPO])
524 m4trace:configure.in:65: -1- m4_pattern_allow([^LIPO$])
525 m4trace:configure.in:65: -1- AC_SUBST([OTOOL])
526 m4trace:configure.in:65: -1- AC_SUBST_TRACE([OTOOL])
527 m4trace:configure.in:65: -1- m4_pattern_allow([^OTOOL$])
528 m4trace:configure.in:65: -1- AC_SUBST([OTOOL64])
529 m4trace:configure.in:65: -1- AC_SUBST_TRACE([OTOOL64])
530 m4trace:configure.in:65: -1- m4_pattern_allow([^OTOOL64$])
531 m4trace:configure.in:65: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
532 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
533 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
534 aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
535 aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
536 aclocal.m4:159: _LT_SETUP is expanded from...
537 aclocal.m4:88: LT_INIT is expanded from...
538 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
539 configure.in:65: the top level])
540 m4trace:configure.in:65: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
541 @%:@undef HAVE_DLFCN_H])
542 m4trace:configure.in:65: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
543 m4trace:configure.in:65: -1- m4_pattern_allow([^STDC_HEADERS$])
544 m4trace:configure.in:65: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
545 @%:@undef STDC_HEADERS])
546 m4trace:configure.in:65: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
547 @%:@undef HAVE_SYS_TYPES_H])
548 m4trace:configure.in:65: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
549 @%:@undef HAVE_SYS_STAT_H])
550 m4trace:configure.in:65: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
551 @%:@undef HAVE_STDLIB_H])
552 m4trace:configure.in:65: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
553 @%:@undef HAVE_STRING_H])
554 m4trace:configure.in:65: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
555 @%:@undef HAVE_MEMORY_H])
556 m4trace:configure.in:65: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
557 @%:@undef HAVE_STRINGS_H])
558 m4trace:configure.in:65: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
559 @%:@undef HAVE_INTTYPES_H])
560 m4trace:configure.in:65: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
561 @%:@undef HAVE_STDINT_H])
562 m4trace:configure.in:65: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
563 @%:@undef HAVE_UNISTD_H])
564 m4trace:configure.in:65: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
565 m4trace:configure.in:65: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
566 m4trace:configure.in:65: -1- LT_SUPPORTED_TAG([CXX])
567 m4trace:configure.in:65: -1- AC_SUBST([CXX])
568 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CXX])
569 m4trace:configure.in:65: -1- m4_pattern_allow([^CXX$])
570 m4trace:configure.in:65: -1- AC_SUBST([CXXFLAGS])
571 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CXXFLAGS])
572 m4trace:configure.in:65: -1- m4_pattern_allow([^CXXFLAGS$])
573 m4trace:configure.in:65: -1- AC_SUBST([LDFLAGS])
574 m4trace:configure.in:65: -1- AC_SUBST_TRACE([LDFLAGS])
575 m4trace:configure.in:65: -1- m4_pattern_allow([^LDFLAGS$])
576 m4trace:configure.in:65: -1- AC_SUBST([LIBS])
577 m4trace:configure.in:65: -1- AC_SUBST_TRACE([LIBS])
578 m4trace:configure.in:65: -1- m4_pattern_allow([^LIBS$])
579 m4trace:configure.in:65: -1- AC_SUBST([CPPFLAGS])
580 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CPPFLAGS])
581 m4trace:configure.in:65: -1- m4_pattern_allow([^CPPFLAGS$])
582 m4trace:configure.in:65: -1- AC_SUBST([CXX])
583 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CXX])
584 m4trace:configure.in:65: -1- m4_pattern_allow([^CXX$])
585 m4trace:configure.in:65: -1- AC_SUBST([ac_ct_CXX])
586 m4trace:configure.in:65: -1- AC_SUBST_TRACE([ac_ct_CXX])
587 m4trace:configure.in:65: -1- m4_pattern_allow([^ac_ct_CXX$])
588 m4trace:configure.in:65: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
589 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CXXDEPMODE])
590 m4trace:configure.in:65: -1- m4_pattern_allow([^CXXDEPMODE$])
591 m4trace:configure.in:65: -1- AM_CONDITIONAL([am__fastdepCXX], [
592 test "x$enable_dependency_tracking" != xno \
593 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
594 m4trace:configure.in:65: -1- AC_SUBST([am__fastdepCXX_TRUE])
595 m4trace:configure.in:65: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
596 m4trace:configure.in:65: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
597 m4trace:configure.in:65: -1- AC_SUBST([am__fastdepCXX_FALSE])
598 m4trace:configure.in:65: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
599 m4trace:configure.in:65: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
600 m4trace:configure.in:65: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
601 m4trace:configure.in:65: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
602 m4trace:configure.in:65: -1- AC_SUBST([CXXCPP])
603 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CXXCPP])
604 m4trace:configure.in:65: -1- m4_pattern_allow([^CXXCPP$])
605 m4trace:configure.in:65: -1- AC_SUBST([CPPFLAGS])
606 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CPPFLAGS])
607 m4trace:configure.in:65: -1- m4_pattern_allow([^CPPFLAGS$])
608 m4trace:configure.in:65: -1- AC_SUBST([CXXCPP])
609 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CXXCPP])
610 m4trace:configure.in:65: -1- m4_pattern_allow([^CXXCPP$])
611 m4trace:configure.in:65: -1- AC_SUBST([LD])
612 m4trace:configure.in:65: -1- AC_SUBST_TRACE([LD])
613 m4trace:configure.in:65: -1- m4_pattern_allow([^LD$])
614 m4trace:configure.in:65: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
615 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
616 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
617 aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
618 aclocal.m4:5354: _LT_LANG_CXX_CONFIG is expanded from...
619 aclocal.m4:800: _LT_LANG is expanded from...
620 aclocal.m4:783: LT_LANG is expanded from...
621 aclocal.m4:811: _LT_LANG_DEFAULT_CONFIG is expanded from...
622 aclocal.m4:159: _LT_SETUP is expanded from...
623 aclocal.m4:88: LT_INIT is expanded from...
624 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
625 configure.in:65: the top level])
626 m4trace:configure.in:65: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
627 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
628 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
629 aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
630 aclocal.m4:5354: _LT_LANG_CXX_CONFIG is expanded from...
631 aclocal.m4:800: _LT_LANG is expanded from...
632 aclocal.m4:783: LT_LANG is expanded from...
633 aclocal.m4:811: _LT_LANG_DEFAULT_CONFIG is expanded from...
634 aclocal.m4:159: _LT_SETUP is expanded from...
635 aclocal.m4:88: LT_INIT is expanded from...
636 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
637 configure.in:65: the top level])
638 m4trace:configure.in:76: -1- AC_SUBST([TCLSH])
639 m4trace:configure.in:76: -1- AC_SUBST_TRACE([TCLSH])
640 m4trace:configure.in:76: -1- m4_pattern_allow([^TCLSH$])
641 m4trace:configure.in:76: -1- AC_SUBST([TCL_DEFS])
642 m4trace:configure.in:76: -1- AC_SUBST_TRACE([TCL_DEFS])
643 m4trace:configure.in:76: -1- m4_pattern_allow([^TCL_DEFS$])
644 m4trace:configure.in:76: -1- AC_SUBST([TCL_LIBS])
645 m4trace:configure.in:76: -1- AC_SUBST_TRACE([TCL_LIBS])
646 m4trace:configure.in:76: -1- m4_pattern_allow([^TCL_LIBS$])
647 m4trace:configure.in:76: -1- AC_SUBST([TCL_CPPFLAGS])
648 m4trace:configure.in:76: -1- AC_SUBST_TRACE([TCL_CPPFLAGS])
649 m4trace:configure.in:76: -1- m4_pattern_allow([^TCL_CPPFLAGS$])
650 m4trace:configure.in:76: -1- AC_SUBST([TCL_PREFIX])
651 m4trace:configure.in:76: -1- AC_SUBST_TRACE([TCL_PREFIX])
652 m4trace:configure.in:76: -1- m4_pattern_allow([^TCL_PREFIX$])
653 m4trace:configure.in:81: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
654 m4trace:configure.in:81: -1- m4_pattern_allow([^STDC_HEADERS$])
655 m4trace:configure.in:81: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
656 @%:@undef STDC_HEADERS])
657 m4trace:configure.in:82: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
658 @%:@undef HAVE_INTTYPES_H])
659 m4trace:configure.in:82: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
660 @%:@undef HAVE_STDLIB_H])
661 m4trace:configure.in:82: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
662 @%:@undef HAVE_STRING_H])
663 m4trace:configure.in:87: -1- AC_DEFINE_TRACE_LITERAL([const])
664 m4trace:configure.in:87: -1- m4_pattern_allow([^const$])
665 m4trace:configure.in:87: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
666 @%:@undef const])
667 m4trace:configure.in:88: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
668 calls it, or to nothing if \'inline\' is not supported under any name. */
669 #ifndef __cplusplus
670 #undef inline
671 #endif])
672 m4trace:configure.in:89: -1- AC_DEFINE_TRACE_LITERAL([size_t])
673 m4trace:configure.in:89: -1- m4_pattern_allow([^size_t$])
674 m4trace:configure.in:89: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
675 @%:@undef size_t])
676 m4trace:configure.in:94: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */
677 @%:@undef HAVE_STRCHR])
678 m4trace:configure.in:94: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
679 @%:@undef HAVE_STRSTR])
680 m4trace:configure.in:94: -1- AH_OUTPUT([HAVE_STRTOL], [/* Define to 1 if you have the `strtol\' function. */
681 @%:@undef HAVE_STRTOL])
682 m4trace:configure.in:94: -1- AH_OUTPUT([HAVE_STRTOULL], [/* Define to 1 if you have the `strtoull\' function. */
683 @%:@undef HAVE_STRTOULL])
684 m4trace:configure.in:94: -1- AH_OUTPUT([HAVE_REGCOMP], [/* Define to 1 if you have the `regcomp\' function. */
685 @%:@undef HAVE_REGCOMP])
686 m4trace:configure.in:94: -1- AH_OUTPUT([HAVE_REGEXEC], [/* Define to 1 if you have the `regexec\' function. */
687 @%:@undef HAVE_REGEXEC])
688 m4trace:configure.in:104: -1- AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])
689 m4trace:configure.in:104: -1- AC_SUBST([DEBUG_TRUE])
690 m4trace:configure.in:104: -1- AC_SUBST_TRACE([DEBUG_TRUE])
691 m4trace:configure.in:104: -1- m4_pattern_allow([^DEBUG_TRUE$])
692 m4trace:configure.in:104: -1- AC_SUBST([DEBUG_FALSE])
693 m4trace:configure.in:104: -1- AC_SUBST_TRACE([DEBUG_FALSE])
694 m4trace:configure.in:104: -1- m4_pattern_allow([^DEBUG_FALSE$])
695 m4trace:configure.in:104: -1- _AM_SUBST_NOTMAKE([DEBUG_TRUE])
696 m4trace:configure.in:104: -1- _AM_SUBST_NOTMAKE([DEBUG_FALSE])
697 m4trace:configure.in:109: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [../../lib/autoconf/general.m4:2777: AC_CHECK_FILE is expanded from...
698 config/osm.m4:20: OPENIB_APP_OSM is expanded from...
699 configure.in:109: the top level])
700 m4trace:configure.in:109: -1- AM_CONDITIONAL([OSM_VENDOR_TS], [test "x$OSM_VENDOR" = xts])
701 m4trace:configure.in:109: -1- AC_SUBST([OSM_VENDOR_TS_TRUE])
702 m4trace:configure.in:109: -1- AC_SUBST_TRACE([OSM_VENDOR_TS_TRUE])
703 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR_TS_TRUE$])
704 m4trace:configure.in:109: -1- AC_SUBST([OSM_VENDOR_TS_FALSE])
705 m4trace:configure.in:109: -1- AC_SUBST_TRACE([OSM_VENDOR_TS_FALSE])
706 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR_TS_FALSE$])
707 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_TS_TRUE])
708 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_TS_FALSE])
709 m4trace:configure.in:109: -1- AM_CONDITIONAL([OSM_VENDOR_MTL], [test "x$OSM_VENDOR" = xmtl])
710 m4trace:configure.in:109: -1- AC_SUBST([OSM_VENDOR_MTL_TRUE])
711 m4trace:configure.in:109: -1- AC_SUBST_TRACE([OSM_VENDOR_MTL_TRUE])
712 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR_MTL_TRUE$])
713 m4trace:configure.in:109: -1- AC_SUBST([OSM_VENDOR_MTL_FALSE])
714 m4trace:configure.in:109: -1- AC_SUBST_TRACE([OSM_VENDOR_MTL_FALSE])
715 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR_MTL_FALSE$])
716 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_MTL_TRUE])
717 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_MTL_FALSE])
718 m4trace:configure.in:109: -1- AM_CONDITIONAL([OSM_VENDOR_SIM], [test "x$OSM_VENDOR" = xsim])
719 m4trace:configure.in:109: -1- AC_SUBST([OSM_VENDOR_SIM_TRUE])
720 m4trace:configure.in:109: -1- AC_SUBST_TRACE([OSM_VENDOR_SIM_TRUE])
721 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR_SIM_TRUE$])
722 m4trace:configure.in:109: -1- AC_SUBST([OSM_VENDOR_SIM_FALSE])
723 m4trace:configure.in:109: -1- AC_SUBST_TRACE([OSM_VENDOR_SIM_FALSE])
724 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR_SIM_FALSE$])
725 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_SIM_TRUE])
726 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_SIM_FALSE])
727 m4trace:configure.in:109: -1- AM_CONDITIONAL([OSM_BUILD_OPENIB], [test "x$OSM_BUILD" = xopenib])
728 m4trace:configure.in:109: -1- AC_SUBST([OSM_BUILD_OPENIB_TRUE])
729 m4trace:configure.in:109: -1- AC_SUBST_TRACE([OSM_BUILD_OPENIB_TRUE])
730 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_BUILD_OPENIB_TRUE$])
731 m4trace:configure.in:109: -1- AC_SUBST([OSM_BUILD_OPENIB_FALSE])
732 m4trace:configure.in:109: -1- AC_SUBST_TRACE([OSM_BUILD_OPENIB_FALSE])
733 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_BUILD_OPENIB_FALSE$])
734 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_BUILD_OPENIB_TRUE])
735 m4trace:configure.in:109: -1- _AM_SUBST_NOTMAKE([OSM_BUILD_OPENIB_FALSE])
736 m4trace:configure.in:109: -1- AC_SUBST([with_osm])
737 m4trace:configure.in:109: -1- AC_SUBST_TRACE([with_osm])
738 m4trace:configure.in:109: -1- m4_pattern_allow([^with_osm$])
739 m4trace:configure.in:109: -1- AC_SUBST([OSM_CFLAGS])
740 m4trace:configure.in:109: -1- AC_SUBST_TRACE([OSM_CFLAGS])
741 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_CFLAGS$])
742 m4trace:configure.in:109: -1- AC_SUBST([OSM_LDFLAGS])
743 m4trace:configure.in:109: -1- AC_SUBST_TRACE([OSM_LDFLAGS])
744 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_LDFLAGS$])
745 m4trace:configure.in:109: -1- AC_SUBST([OSM_VENDOR])
746 m4trace:configure.in:109: -1- AC_SUBST_TRACE([OSM_VENDOR])
747 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_VENDOR$])
748 m4trace:configure.in:109: -1- AC_SUBST([OSM_BUILD])
749 m4trace:configure.in:109: -1- AC_SUBST_TRACE([OSM_BUILD])
750 m4trace:configure.in:109: -1- m4_pattern_allow([^OSM_BUILD$])
751 m4trace:configure.in:112: -1- AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile doc/Makefile])
752 m4trace:configure.in:112: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
753 You should run autoupdate.], [])
754 m4trace:configure.in:112: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
755 m4trace:configure.in:112: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
756 m4trace:configure.in:112: -1- m4_pattern_allow([^LIB@&t@OBJS$])
757 m4trace:configure.in:112: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
758 m4trace:configure.in:112: -1- AC_SUBST_TRACE([LTLIBOBJS])
759 m4trace:configure.in:112: -1- m4_pattern_allow([^LTLIBOBJS$])
760 m4trace:configure.in:112: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
761 m4trace:configure.in:112: -1- AC_SUBST([am__EXEEXT_TRUE])
762 m4trace:configure.in:112: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
763 m4trace:configure.in:112: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
764 m4trace:configure.in:112: -1- AC_SUBST([am__EXEEXT_FALSE])
765 m4trace:configure.in:112: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
766 m4trace:configure.in:112: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
767 m4trace:configure.in:112: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
768 m4trace:configure.in:112: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
769 m4trace:configure.in:112: -1- AC_SUBST_TRACE([top_builddir])
770 m4trace:configure.in:112: -1- AC_SUBST_TRACE([top_build_prefix])
771 m4trace:configure.in:112: -1- AC_SUBST_TRACE([srcdir])
772 m4trace:configure.in:112: -1- AC_SUBST_TRACE([abs_srcdir])
773 m4trace:configure.in:112: -1- AC_SUBST_TRACE([top_srcdir])
774 m4trace:configure.in:112: -1- AC_SUBST_TRACE([abs_top_srcdir])
775 m4trace:configure.in:112: -1- AC_SUBST_TRACE([builddir])
776 m4trace:configure.in:112: -1- AC_SUBST_TRACE([abs_builddir])
777 m4trace:configure.in:112: -1- AC_SUBST_TRACE([abs_top_builddir])
778 m4trace:configure.in:112: -1- AC_SUBST_TRACE([INSTALL])
779 m4trace:configure.in:112: -1- AC_SUBST_TRACE([MKDIR_P])
780 m4trace:configure.in:112: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
+0
-18072
ibmgtsim/autom4te.cache/output.0 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.69 for ibmgtsim 1.5.7.
3 @%:@
4 @%:@
5 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 @%:@
7 @%:@
8 @%:@ This configure script is free software; the Free Software Foundation
9 @%:@ gives unlimited permission to copy, distribute and modify it.
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 emulate sh
18 NULLCMD=:
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in @%:@(
25 *posix*) :
26 set -o posix ;; @%:@(
27 *) :
28 ;;
29 esac
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in @%:@(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
70
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
78 fi
79
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
87
88 # Find who we are. Look in the path if we contain no directory separator.
89 as_myself=
90 case $0 in @%:@((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in @%:@ ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in @%:@(
169 *posix*) :
170 set -o posix ;; @%:@(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198 test \$(( 1 + 1 )) = 2 || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in @%:@(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in @%:@ ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
270 fi
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 @%:@ as_fn_unset VAR
285 @%:@ ---------------
286 @%:@ Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 @%:@ as_fn_set_status STATUS
294 @%:@ -----------------------
295 @%:@ Set @S|@? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } @%:@ as_fn_set_status
300
301 @%:@ as_fn_exit STATUS
302 @%:@ -----------------
303 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } @%:@ as_fn_exit
310
311 @%:@ as_fn_mkdir_p
312 @%:@ -------------
313 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } @%:@ as_fn_mkdir_p
358
359 @%:@ as_fn_executable_p FILE
360 @%:@ -----------------------
361 @%:@ Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } @%:@ as_fn_executable_p
366 @%:@ as_fn_append VAR VALUE
367 @%:@ ----------------------
368 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
369 @%:@ advantage of any shell optimizations that allow amortized linear growth over
370 @%:@ repeated appends, instead of the typical quadratic growth present in naive
371 @%:@ implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 @%:@ as_fn_arith ARG...
385 @%:@ ------------------
386 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
387 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
388 @%:@ must be portable across @S|@(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
403 @%:@ ----------------------------------------
404 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 @%:@ script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } @%:@ as_fn_error
417
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
423 fi
424
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
429 fi
430
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
455
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
478 N
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
497 }
498
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in @%:@(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
508 *)
509 ECHO_N='-n';;
510 esac
511
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
538
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
544 fi
545
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
548
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556
557 # Check that we are running under the correct shell.
558 SHELL=${CONFIG_SHELL-/bin/sh}
559
560 case X$lt_ECHO in
561 X*--fallback-echo)
562 # Remove one level of quotation (which was required for Make).
563 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 ;;
565 esac
566
567 ECHO=${lt_ECHO-echo}
568 if test "X$1" = X--no-reexec; then
569 # Discard the --no-reexec flag, and continue.
570 shift
571 elif test "X$1" = X--fallback-echo; then
572 # Avoid inline document here, it may be left over
573 :
574 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
575 # Yippee, $ECHO works!
576 :
577 else
578 # Restart under the correct shell.
579 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 fi
581
582 if test "X$1" = X--fallback-echo; then
583 # used as fallback echo
584 shift
585 cat <<_LT_EOF
586 $*
587 _LT_EOF
588 exit 0
589 fi
590
591 # The HP-UX ksh and POSIX shell print the target directory to stdout
592 # if CDPATH is set.
593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
594
595 if test -z "$lt_ECHO"; then
596 if test "X${echo_test_string+set}" != Xset; then
597 # find a string as large as possible, as long as the shell can cope with it
598 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
599 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
600 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
601 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
602 then
603 break
604 fi
605 done
606 fi
607
608 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
609 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
611 :
612 else
613 # The Solaris, AIX, and Digital Unix default echo programs unquote
614 # backslashes. This makes it impossible to quote backslashes using
615 # echo "$something" | sed 's/\\/\\\\/g'
616 #
617 # So, first we look for a working echo in the user's PATH.
618
619 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
620 for dir in $PATH /usr/ucb; do
621 IFS="$lt_save_ifs"
622 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
623 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
626 ECHO="$dir/echo"
627 break
628 fi
629 done
630 IFS="$lt_save_ifs"
631
632 if test "X$ECHO" = Xecho; then
633 # We didn't find a better echo, so look for alternatives.
634 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
635 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 # This shell has a builtin print -r that does the trick.
638 ECHO='print -r'
639 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
640 test "X$CONFIG_SHELL" != X/bin/ksh; then
641 # If we have ksh, try running configure again with it.
642 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
643 export ORIGINAL_CONFIG_SHELL
644 CONFIG_SHELL=/bin/ksh
645 export CONFIG_SHELL
646 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 else
648 # Try using printf.
649 ECHO='printf %s\n'
650 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
651 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
653 # Cool, printf works
654 :
655 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
656 test "X$echo_testing_string" = 'X\t' &&
657 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
660 export CONFIG_SHELL
661 SHELL="$CONFIG_SHELL"
662 export SHELL
663 ECHO="$CONFIG_SHELL $0 --fallback-echo"
664 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
665 test "X$echo_testing_string" = 'X\t' &&
666 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
667 test "X$echo_testing_string" = "X$echo_test_string"; then
668 ECHO="$CONFIG_SHELL $0 --fallback-echo"
669 else
670 # maybe with a smaller string...
671 prev=:
672
673 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
674 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
675 then
676 break
677 fi
678 prev="$cmd"
679 done
680
681 if test "$prev" != 'sed 50q "$0"'; then
682 echo_test_string=`eval $prev`
683 export echo_test_string
684 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 else
686 # Oops. We lost completely, so just stick with echo.
687 ECHO=echo
688 fi
689 fi
690 fi
691 fi
692 fi
693 fi
694
695 # Copy echo and quote the copy suitably for passing to libtool from
696 # the Makefile, instead of quoting the original, which is used later.
697 lt_ECHO=$ECHO
698 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
699 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
700 fi
701
702
703
704
705 test -n "$DJDIR" || exec 7<&0 </dev/null
706 exec 6>&1
707
708 # Name of the host.
709 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
713 #
714 # Initializations.
715 #
716 ac_default_prefix=/usr/local
717 ac_clean_files=
718 ac_config_libobj_dir=.
719 LIB@&t@OBJS=
720 cross_compiling=no
721 subdirs=
722 MFLAGS=
723 MAKEFLAGS=
724
725 # Identity of this package.
726 PACKAGE_NAME='ibmgtsim'
727 PACKAGE_TARNAME='ibmgtsim'
728 PACKAGE_VERSION='1.5.7'
729 PACKAGE_STRING='ibmgtsim 1.5.7'
730 PACKAGE_BUGREPORT=''
731 PACKAGE_URL=''
732
733 ac_unique_file="src/sim.h"
734 # Factoring default headers for most tests.
735 ac_includes_default="\
736 #include <stdio.h>
737 #ifdef HAVE_SYS_TYPES_H
738 # include <sys/types.h>
739 #endif
740 #ifdef HAVE_SYS_STAT_H
741 # include <sys/stat.h>
742 #endif
743 #ifdef STDC_HEADERS
744 # include <stdlib.h>
745 # include <stddef.h>
746 #else
747 # ifdef HAVE_STDLIB_H
748 # include <stdlib.h>
749 # endif
750 #endif
751 #ifdef HAVE_STRING_H
752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753 # include <memory.h>
754 # endif
755 # include <string.h>
756 #endif
757 #ifdef HAVE_STRINGS_H
758 # include <strings.h>
759 #endif
760 #ifdef HAVE_INTTYPES_H
761 # include <inttypes.h>
762 #endif
763 #ifdef HAVE_STDINT_H
764 # include <stdint.h>
765 #endif
766 #ifdef HAVE_UNISTD_H
767 # include <unistd.h>
768 #endif"
769
770 ac_subst_vars='am__EXEEXT_FALSE
771 am__EXEEXT_TRUE
772 LTLIBOBJS
773 LIB@&t@OBJS
774 OSM_BUILD
775 OSM_VENDOR
776 OSM_LDFLAGS
777 OSM_CFLAGS
778 with_osm
779 OSM_BUILD_OPENIB_FALSE
780 OSM_BUILD_OPENIB_TRUE
781 OSM_VENDOR_SIM_FALSE
782 OSM_VENDOR_SIM_TRUE
783 OSM_VENDOR_MTL_FALSE
784 OSM_VENDOR_MTL_TRUE
785 OSM_VENDOR_TS_FALSE
786 OSM_VENDOR_TS_TRUE
787 with_ibdm
788 IBDM_REF_IS_USED_FALSE
789 IBDM_REF_IS_USED_TRUE
790 DEBUG_FALSE
791 DEBUG_TRUE
792 TCL_PREFIX
793 TCL_CPPFLAGS
794 TCL_LIBS
795 TCL_DEFS
796 TCLSH
797 CXXCPP
798 OTOOL64
799 OTOOL
800 LIPO
801 NMEDIT
802 DSYMUTIL
803 lt_ECHO
804 RANLIB
805 AR
806 OBJDUMP
807 NM
808 ac_ct_DUMPBIN
809 DUMPBIN
810 LD
811 FGREP
812 EGREP
813 GREP
814 SED
815 host_os
816 host_vendor
817 host_cpu
818 host
819 build_os
820 build_vendor
821 build_cpu
822 build
823 LIBTOOL
824 SWIG_LIB
825 HAS_SWIG_FALSE
826 HAS_SWIG_TRUE
827 SWIG
828 LN_S
829 CPP
830 am__fastdepCC_FALSE
831 am__fastdepCC_TRUE
832 CCDEPMODE
833 ac_ct_CC
834 CFLAGS
835 CC
836 am__fastdepCXX_FALSE
837 am__fastdepCXX_TRUE
838 CXXDEPMODE
839 AMDEPBACKSLASH
840 AMDEP_FALSE
841 AMDEP_TRUE
842 am__quote
843 am__include
844 DEPDIR
845 OBJEXT
846 EXEEXT
847 ac_ct_CXX
848 CPPFLAGS
849 LDFLAGS
850 CXXFLAGS
851 CXX
852 MAINT
853 MAINTAINER_MODE_FALSE
854 MAINTAINER_MODE_TRUE
855 am__untar
856 am__tar
857 AMTAR
858 am__leading_dot
859 SET_MAKE
860 AWK
861 mkdir_p
862 MKDIR_P
863 INSTALL_STRIP_PROGRAM
864 STRIP
865 install_sh
866 MAKEINFO
867 AUTOHEADER
868 AUTOMAKE
869 AUTOCONF
870 ACLOCAL
871 VERSION
872 PACKAGE
873 CYGPATH_W
874 am__isrc
875 INSTALL_DATA
876 INSTALL_SCRIPT
877 INSTALL_PROGRAM
878 target_alias
879 host_alias
880 build_alias
881 LIBS
882 ECHO_T
883 ECHO_N
884 ECHO_C
885 DEFS
886 mandir
887 localedir
888 libdir
889 psdir
890 pdfdir
891 dvidir
892 htmldir
893 infodir
894 docdir
895 oldincludedir
896 includedir
897 localstatedir
898 sharedstatedir
899 sysconfdir
900 datadir
901 datarootdir
902 libexecdir
903 sbindir
904 bindir
905 program_transform_name
906 prefix
907 exec_prefix
908 PACKAGE_URL
909 PACKAGE_BUGREPORT
910 PACKAGE_STRING
911 PACKAGE_VERSION
912 PACKAGE_TARNAME
913 PACKAGE_NAME
914 PATH_SEPARATOR
915 SHELL'
916 ac_subst_files=''
917 ac_user_opts='
918 enable_option_checking
919 enable_maintainer_mode
920 enable_dependency_tracking
921 enable_shared
922 enable_static
923 with_pic
924 enable_fast_install
925 with_gnu_ld
926 enable_libtool_lock
927 enable_libcheck
928 with_tclconfig
929 with_tcl
930 with_tclsh
931 enable_debug
932 with_ibdm
933 with_osm
934 with_osm_libs
935 '
936 ac_precious_vars='build_alias
937 host_alias
938 target_alias
939 CXX
940 CXXFLAGS
941 LDFLAGS
942 LIBS
943 CPPFLAGS
944 CCC
945 CC
946 CFLAGS
947 CPP
948 CXXCPP'
949
950
951 # Initialize some variables set by options.
952 ac_init_help=
953 ac_init_version=false
954 ac_unrecognized_opts=
955 ac_unrecognized_sep=
956 # The variables have the same names as the options, with
957 # dashes changed to underlines.
958 cache_file=/dev/null
959 exec_prefix=NONE
960 no_create=
961 no_recursion=
962 prefix=NONE
963 program_prefix=NONE
964 program_suffix=NONE
965 program_transform_name=s,x,x,
966 silent=
967 site=
968 srcdir=
969 verbose=
970 x_includes=NONE
971 x_libraries=NONE
972
973 # Installation directory options.
974 # These are left unexpanded so users can "make install exec_prefix=/foo"
975 # and all the variables that are supposed to be based on exec_prefix
976 # by default will actually change.
977 # Use braces instead of parens because sh, perl, etc. also accept them.
978 # (The list follows the same order as the GNU Coding Standards.)
979 bindir='${exec_prefix}/bin'
980 sbindir='${exec_prefix}/sbin'
981 libexecdir='${exec_prefix}/libexec'
982 datarootdir='${prefix}/share'
983 datadir='${datarootdir}'
984 sysconfdir='${prefix}/etc'
985 sharedstatedir='${prefix}/com'
986 localstatedir='${prefix}/var'
987 includedir='${prefix}/include'
988 oldincludedir='/usr/include'
989 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
990 infodir='${datarootdir}/info'
991 htmldir='${docdir}'
992 dvidir='${docdir}'
993 pdfdir='${docdir}'
994 psdir='${docdir}'
995 libdir='${exec_prefix}/lib'
996 localedir='${datarootdir}/locale'
997 mandir='${datarootdir}/man'
998
999 ac_prev=
1000 ac_dashdash=
1001 for ac_option
1002 do
1003 # If the previous option needs an argument, assign it.
1004 if test -n "$ac_prev"; then
1005 eval $ac_prev=\$ac_option
1006 ac_prev=
1007 continue
1008 fi
1009
1010 case $ac_option in
1011 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1012 *=) ac_optarg= ;;
1013 *) ac_optarg=yes ;;
1014 esac
1015
1016 # Accept the important Cygnus configure options, so we can diagnose typos.
1017
1018 case $ac_dashdash$ac_option in
1019 --)
1020 ac_dashdash=yes ;;
1021
1022 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1023 ac_prev=bindir ;;
1024 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1025 bindir=$ac_optarg ;;
1026
1027 -build | --build | --buil | --bui | --bu)
1028 ac_prev=build_alias ;;
1029 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1030 build_alias=$ac_optarg ;;
1031
1032 -cache-file | --cache-file | --cache-fil | --cache-fi \
1033 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1034 ac_prev=cache_file ;;
1035 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1036 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1037 cache_file=$ac_optarg ;;
1038
1039 --config-cache | -C)
1040 cache_file=config.cache ;;
1041
1042 -datadir | --datadir | --datadi | --datad)
1043 ac_prev=datadir ;;
1044 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1045 datadir=$ac_optarg ;;
1046
1047 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1048 | --dataroo | --dataro | --datar)
1049 ac_prev=datarootdir ;;
1050 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1051 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1052 datarootdir=$ac_optarg ;;
1053
1054 -disable-* | --disable-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid feature name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1062 *"
1063 "enable_$ac_useropt"
1064 "*) ;;
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1067 esac
1068 eval enable_$ac_useropt=no ;;
1069
1070 -docdir | --docdir | --docdi | --doc | --do)
1071 ac_prev=docdir ;;
1072 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1073 docdir=$ac_optarg ;;
1074
1075 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1076 ac_prev=dvidir ;;
1077 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1078 dvidir=$ac_optarg ;;
1079
1080 -enable-* | --enable-*)
1081 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 as_fn_error $? "invalid feature name: $ac_useropt"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1088 *"
1089 "enable_$ac_useropt"
1090 "*) ;;
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1093 esac
1094 eval enable_$ac_useropt=\$ac_optarg ;;
1095
1096 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1097 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1098 | --exec | --exe | --ex)
1099 ac_prev=exec_prefix ;;
1100 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1101 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1102 | --exec=* | --exe=* | --ex=*)
1103 exec_prefix=$ac_optarg ;;
1104
1105 -gas | --gas | --ga | --g)
1106 # Obsolete; use --with-gas.
1107 with_gas=yes ;;
1108
1109 -help | --help | --hel | --he | -h)
1110 ac_init_help=long ;;
1111 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1112 ac_init_help=recursive ;;
1113 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1114 ac_init_help=short ;;
1115
1116 -host | --host | --hos | --ho)
1117 ac_prev=host_alias ;;
1118 -host=* | --host=* | --hos=* | --ho=*)
1119 host_alias=$ac_optarg ;;
1120
1121 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1122 ac_prev=htmldir ;;
1123 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1124 | --ht=*)
1125 htmldir=$ac_optarg ;;
1126
1127 -includedir | --includedir | --includedi | --included | --include \
1128 | --includ | --inclu | --incl | --inc)
1129 ac_prev=includedir ;;
1130 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1131 | --includ=* | --inclu=* | --incl=* | --inc=*)
1132 includedir=$ac_optarg ;;
1133
1134 -infodir | --infodir | --infodi | --infod | --info | --inf)
1135 ac_prev=infodir ;;
1136 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1137 infodir=$ac_optarg ;;
1138
1139 -libdir | --libdir | --libdi | --libd)
1140 ac_prev=libdir ;;
1141 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1142 libdir=$ac_optarg ;;
1143
1144 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1145 | --libexe | --libex | --libe)
1146 ac_prev=libexecdir ;;
1147 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1148 | --libexe=* | --libex=* | --libe=*)
1149 libexecdir=$ac_optarg ;;
1150
1151 -localedir | --localedir | --localedi | --localed | --locale)
1152 ac_prev=localedir ;;
1153 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1154 localedir=$ac_optarg ;;
1155
1156 -localstatedir | --localstatedir | --localstatedi | --localstated \
1157 | --localstate | --localstat | --localsta | --localst | --locals)
1158 ac_prev=localstatedir ;;
1159 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1160 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1161 localstatedir=$ac_optarg ;;
1162
1163 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1164 ac_prev=mandir ;;
1165 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1166 mandir=$ac_optarg ;;
1167
1168 -nfp | --nfp | --nf)
1169 # Obsolete; use --without-fp.
1170 with_fp=no ;;
1171
1172 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1173 | --no-cr | --no-c | -n)
1174 no_create=yes ;;
1175
1176 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1177 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1178 no_recursion=yes ;;
1179
1180 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1181 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1182 | --oldin | --oldi | --old | --ol | --o)
1183 ac_prev=oldincludedir ;;
1184 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1185 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1186 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1187 oldincludedir=$ac_optarg ;;
1188
1189 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1190 ac_prev=prefix ;;
1191 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1192 prefix=$ac_optarg ;;
1193
1194 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1195 | --program-pre | --program-pr | --program-p)
1196 ac_prev=program_prefix ;;
1197 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1198 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1199 program_prefix=$ac_optarg ;;
1200
1201 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1202 | --program-suf | --program-su | --program-s)
1203 ac_prev=program_suffix ;;
1204 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1205 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1206 program_suffix=$ac_optarg ;;
1207
1208 -program-transform-name | --program-transform-name \
1209 | --program-transform-nam | --program-transform-na \
1210 | --program-transform-n | --program-transform- \
1211 | --program-transform | --program-transfor \
1212 | --program-transfo | --program-transf \
1213 | --program-trans | --program-tran \
1214 | --progr-tra | --program-tr | --program-t)
1215 ac_prev=program_transform_name ;;
1216 -program-transform-name=* | --program-transform-name=* \
1217 | --program-transform-nam=* | --program-transform-na=* \
1218 | --program-transform-n=* | --program-transform-=* \
1219 | --program-transform=* | --program-transfor=* \
1220 | --program-transfo=* | --program-transf=* \
1221 | --program-trans=* | --program-tran=* \
1222 | --progr-tra=* | --program-tr=* | --program-t=*)
1223 program_transform_name=$ac_optarg ;;
1224
1225 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1226 ac_prev=pdfdir ;;
1227 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1228 pdfdir=$ac_optarg ;;
1229
1230 -psdir | --psdir | --psdi | --psd | --ps)
1231 ac_prev=psdir ;;
1232 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1233 psdir=$ac_optarg ;;
1234
1235 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1236 | -silent | --silent | --silen | --sile | --sil)
1237 silent=yes ;;
1238
1239 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1240 ac_prev=sbindir ;;
1241 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1242 | --sbi=* | --sb=*)
1243 sbindir=$ac_optarg ;;
1244
1245 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1246 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1247 | --sharedst | --shareds | --shared | --share | --shar \
1248 | --sha | --sh)
1249 ac_prev=sharedstatedir ;;
1250 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1251 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1252 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1253 | --sha=* | --sh=*)
1254 sharedstatedir=$ac_optarg ;;
1255
1256 -site | --site | --sit)
1257 ac_prev=site ;;
1258 -site=* | --site=* | --sit=*)
1259 site=$ac_optarg ;;
1260
1261 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1262 ac_prev=srcdir ;;
1263 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1264 srcdir=$ac_optarg ;;
1265
1266 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1267 | --syscon | --sysco | --sysc | --sys | --sy)
1268 ac_prev=sysconfdir ;;
1269 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1270 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1271 sysconfdir=$ac_optarg ;;
1272
1273 -target | --target | --targe | --targ | --tar | --ta | --t)
1274 ac_prev=target_alias ;;
1275 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1276 target_alias=$ac_optarg ;;
1277
1278 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1279 verbose=yes ;;
1280
1281 -version | --version | --versio | --versi | --vers | -V)
1282 ac_init_version=: ;;
1283
1284 -with-* | --with-*)
1285 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1286 # Reject names that are not valid shell variable names.
1287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1288 as_fn_error $? "invalid package name: $ac_useropt"
1289 ac_useropt_orig=$ac_useropt
1290 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291 case $ac_user_opts in
1292 *"
1293 "with_$ac_useropt"
1294 "*) ;;
1295 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1296 ac_unrecognized_sep=', ';;
1297 esac
1298 eval with_$ac_useropt=\$ac_optarg ;;
1299
1300 -without-* | --without-*)
1301 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1302 # Reject names that are not valid shell variable names.
1303 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1304 as_fn_error $? "invalid package name: $ac_useropt"
1305 ac_useropt_orig=$ac_useropt
1306 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1307 case $ac_user_opts in
1308 *"
1309 "with_$ac_useropt"
1310 "*) ;;
1311 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1312 ac_unrecognized_sep=', ';;
1313 esac
1314 eval with_$ac_useropt=no ;;
1315
1316 --x)
1317 # Obsolete; use --with-x.
1318 with_x=yes ;;
1319
1320 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1321 | --x-incl | --x-inc | --x-in | --x-i)
1322 ac_prev=x_includes ;;
1323 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1324 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1325 x_includes=$ac_optarg ;;
1326
1327 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1328 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1329 ac_prev=x_libraries ;;
1330 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1331 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1332 x_libraries=$ac_optarg ;;
1333
1334 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1335 Try \`$0 --help' for more information"
1336 ;;
1337
1338 *=*)
1339 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1340 # Reject names that are not valid shell variable names.
1341 case $ac_envvar in #(
1342 '' | [0-9]* | *[!_$as_cr_alnum]* )
1343 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1344 esac
1345 eval $ac_envvar=\$ac_optarg
1346 export $ac_envvar ;;
1347
1348 *)
1349 # FIXME: should be removed in autoconf 3.0.
1350 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1351 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1352 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1353 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1354 ;;
1355
1356 esac
1357 done
1358
1359 if test -n "$ac_prev"; then
1360 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1361 as_fn_error $? "missing argument to $ac_option"
1362 fi
1363
1364 if test -n "$ac_unrecognized_opts"; then
1365 case $enable_option_checking in
1366 no) ;;
1367 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1368 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1369 esac
1370 fi
1371
1372 # Check all directory arguments for consistency.
1373 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1374 datadir sysconfdir sharedstatedir localstatedir includedir \
1375 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1376 libdir localedir mandir
1377 do
1378 eval ac_val=\$$ac_var
1379 # Remove trailing slashes.
1380 case $ac_val in
1381 */ )
1382 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1383 eval $ac_var=\$ac_val;;
1384 esac
1385 # Be sure to have absolute directory names.
1386 case $ac_val in
1387 [\\/$]* | ?:[\\/]* ) continue;;
1388 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1389 esac
1390 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1391 done
1392
1393 # There might be people who depend on the old broken behavior: `$host'
1394 # used to hold the argument of --host etc.
1395 # FIXME: To remove some day.
1396 build=$build_alias
1397 host=$host_alias
1398 target=$target_alias
1399
1400 # FIXME: To remove some day.
1401 if test "x$host_alias" != x; then
1402 if test "x$build_alias" = x; then
1403 cross_compiling=maybe
1404 elif test "x$build_alias" != "x$host_alias"; then
1405 cross_compiling=yes
1406 fi
1407 fi
1408
1409 ac_tool_prefix=
1410 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1411
1412 test "$silent" = yes && exec 6>/dev/null
1413
1414
1415 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1416 ac_ls_di=`ls -di .` &&
1417 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1418 as_fn_error $? "working directory cannot be determined"
1419 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1420 as_fn_error $? "pwd does not report name of working directory"
1421
1422
1423 # Find the source files, if location was not specified.
1424 if test -z "$srcdir"; then
1425 ac_srcdir_defaulted=yes
1426 # Try the directory containing this script, then the parent directory.
1427 ac_confdir=`$as_dirname -- "$as_myself" ||
1428 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1429 X"$as_myself" : 'X\(//\)[^/]' \| \
1430 X"$as_myself" : 'X\(//\)$' \| \
1431 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1432 $as_echo X"$as_myself" |
1433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1434 s//\1/
1435 q
1436 }
1437 /^X\(\/\/\)[^/].*/{
1438 s//\1/
1439 q
1440 }
1441 /^X\(\/\/\)$/{
1442 s//\1/
1443 q
1444 }
1445 /^X\(\/\).*/{
1446 s//\1/
1447 q
1448 }
1449 s/.*/./; q'`
1450 srcdir=$ac_confdir
1451 if test ! -r "$srcdir/$ac_unique_file"; then
1452 srcdir=..
1453 fi
1454 else
1455 ac_srcdir_defaulted=no
1456 fi
1457 if test ! -r "$srcdir/$ac_unique_file"; then
1458 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1459 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1460 fi
1461 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1462 ac_abs_confdir=`(
1463 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1464 pwd)`
1465 # When building in place, set srcdir=.
1466 if test "$ac_abs_confdir" = "$ac_pwd"; then
1467 srcdir=.
1468 fi
1469 # Remove unnecessary trailing slashes from srcdir.
1470 # Double slashes in file names in object file debugging info
1471 # mess up M-x gdb in Emacs.
1472 case $srcdir in
1473 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1474 esac
1475 for ac_var in $ac_precious_vars; do
1476 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1477 eval ac_env_${ac_var}_value=\$${ac_var}
1478 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1479 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1480 done
1481
1482 #
1483 # Report the --help message.
1484 #
1485 if test "$ac_init_help" = "long"; then
1486 # Omit some internal or obsolete options to make the list less imposing.
1487 # This message is too long to be a string in the A/UX 3.1 sh.
1488 cat <<_ACEOF
1489 \`configure' configures ibmgtsim 1.5.7 to adapt to many kinds of systems.
1490
1491 Usage: $0 [OPTION]... [VAR=VALUE]...
1492
1493 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1494 VAR=VALUE. See below for descriptions of some of the useful variables.
1495
1496 Defaults for the options are specified in brackets.
1497
1498 Configuration:
1499 -h, --help display this help and exit
1500 --help=short display options specific to this package
1501 --help=recursive display the short help of all the included packages
1502 -V, --version display version information and exit
1503 -q, --quiet, --silent do not print \`checking ...' messages
1504 --cache-file=FILE cache test results in FILE [disabled]
1505 -C, --config-cache alias for \`--cache-file=config.cache'
1506 -n, --no-create do not create output files
1507 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1508
1509 Installation directories:
1510 --prefix=PREFIX install architecture-independent files in PREFIX
1511 @<:@@S|@ac_default_prefix@:>@
1512 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1513 @<:@PREFIX@:>@
1514
1515 By default, \`make install' will install all the files in
1516 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1517 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1518 for instance \`--prefix=\$HOME'.
1519
1520 For better control, use the options below.
1521
1522 Fine tuning of the installation directories:
1523 --bindir=DIR user executables [EPREFIX/bin]
1524 --sbindir=DIR system admin executables [EPREFIX/sbin]
1525 --libexecdir=DIR program executables [EPREFIX/libexec]
1526 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1527 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1528 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1529 --libdir=DIR object code libraries [EPREFIX/lib]
1530 --includedir=DIR C header files [PREFIX/include]
1531 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1532 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1533 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1534 --infodir=DIR info documentation [DATAROOTDIR/info]
1535 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1536 --mandir=DIR man documentation [DATAROOTDIR/man]
1537 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ibmgtsim@:>@
1538 --htmldir=DIR html documentation [DOCDIR]
1539 --dvidir=DIR dvi documentation [DOCDIR]
1540 --pdfdir=DIR pdf documentation [DOCDIR]
1541 --psdir=DIR ps documentation [DOCDIR]
1542 _ACEOF
1543
1544 cat <<\_ACEOF
1545
1546 Program names:
1547 --program-prefix=PREFIX prepend PREFIX to installed program names
1548 --program-suffix=SUFFIX append SUFFIX to installed program names
1549 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1550
1551 System types:
1552 --build=BUILD configure for building on BUILD [guessed]
1553 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1554 _ACEOF
1555 fi
1556
1557 if test -n "$ac_init_help"; then
1558 case $ac_init_help in
1559 short | recursive ) echo "Configuration of ibmgtsim 1.5.7:";;
1560 esac
1561 cat <<\_ACEOF
1562
1563 Optional Features:
1564 --disable-option-checking ignore unrecognized --enable/--with options
1565 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1566 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1567 --enable-maintainer-mode enable make rules and dependencies not useful
1568 (and sometimes confusing) to the casual installer
1569 --disable-dependency-tracking speeds up one-time build
1570 --enable-dependency-tracking do not reject slow dependency extractors
1571 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1572 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1573 --enable-fast-install@<:@=PKGS@:>@
1574 optimize for fast installation @<:@default=yes@:>@
1575 --disable-libtool-lock avoid locking (might break parallel builds)
1576 --enable-libcheck Enable Dependency Checking
1577 --enable-debug Turn on debugging
1578
1579 Optional Packages:
1580 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1581 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1582 --with-pic try to use only PIC/non-PIC objects @<:@default=use
1583 both@:>@
1584 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1585 --with-tclconfig=PATH use tclConfig.sh from PATH
1586 (configure gets Tcl configuration from here)
1587 --with-tcl=PATH use Tcl from PATH
1588 --with-tclsh=TCLSH use TCLSH as the tclsh program
1589 (let configure find Tcl using this program)
1590 --with-ibdm=<dir> define where to find IBDM
1591 --with-osm=<dir> define OSM prefix
1592 --with-osm-libs=<dir> define where to find OSM libs
1593
1594 Some influential environment variables:
1595 CXX C++ compiler command
1596 CXXFLAGS C++ compiler flags
1597 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1598 nonstandard directory <lib dir>
1599 LIBS libraries to pass to the linker, e.g. -l<library>
1600 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1601 you have headers in a nonstandard directory <include dir>
1602 CC C compiler command
1603 CFLAGS C compiler flags
1604 CPP C preprocessor
1605 CXXCPP C++ preprocessor
1606
1607 Use these variables to override the choices made by `configure' or to help
1608 it to find libraries and programs with nonstandard names/locations.
1609
1610 Report bugs to the package provider.
1611 _ACEOF
1612 ac_status=$?
1613 fi
1614
1615 if test "$ac_init_help" = "recursive"; then
1616 # If there are subdirs, report their specific --help.
1617 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1618 test -d "$ac_dir" ||
1619 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1620 continue
1621 ac_builddir=.
1622
1623 case "$ac_dir" in
1624 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1625 *)
1626 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1627 # A ".." for each directory in $ac_dir_suffix.
1628 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1629 case $ac_top_builddir_sub in
1630 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1631 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1632 esac ;;
1633 esac
1634 ac_abs_top_builddir=$ac_pwd
1635 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1636 # for backward compatibility:
1637 ac_top_builddir=$ac_top_build_prefix
1638
1639 case $srcdir in
1640 .) # We are building in place.
1641 ac_srcdir=.
1642 ac_top_srcdir=$ac_top_builddir_sub
1643 ac_abs_top_srcdir=$ac_pwd ;;
1644 [\\/]* | ?:[\\/]* ) # Absolute name.
1645 ac_srcdir=$srcdir$ac_dir_suffix;
1646 ac_top_srcdir=$srcdir
1647 ac_abs_top_srcdir=$srcdir ;;
1648 *) # Relative name.
1649 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1650 ac_top_srcdir=$ac_top_build_prefix$srcdir
1651 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1652 esac
1653 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1654
1655 cd "$ac_dir" || { ac_status=$?; continue; }
1656 # Check for guested configure.
1657 if test -f "$ac_srcdir/configure.gnu"; then
1658 echo &&
1659 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1660 elif test -f "$ac_srcdir/configure"; then
1661 echo &&
1662 $SHELL "$ac_srcdir/configure" --help=recursive
1663 else
1664 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1665 fi || ac_status=$?
1666 cd "$ac_pwd" || { ac_status=$?; break; }
1667 done
1668 fi
1669
1670 test -n "$ac_init_help" && exit $ac_status
1671 if $ac_init_version; then
1672 cat <<\_ACEOF
1673 ibmgtsim configure 1.5.7
1674 generated by GNU Autoconf 2.69
1675
1676 Copyright (C) 2012 Free Software Foundation, Inc.
1677 This configure script is free software; the Free Software Foundation
1678 gives unlimited permission to copy, distribute and modify it.
1679 _ACEOF
1680 exit
1681 fi
1682
1683 ## ------------------------ ##
1684 ## Autoconf initialization. ##
1685 ## ------------------------ ##
1686
1687 @%:@ ac_fn_cxx_try_compile LINENO
1688 @%:@ ----------------------------
1689 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1690 ac_fn_cxx_try_compile ()
1691 {
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 rm -f conftest.$ac_objext
1694 if { { ac_try="$ac_compile"
1695 case "(($ac_try" in
1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1698 esac
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_compile") 2>conftest.err
1702 ac_status=$?
1703 if test -s conftest.err; then
1704 grep -v '^ *+' conftest.err >conftest.er1
1705 cat conftest.er1 >&5
1706 mv -f conftest.er1 conftest.err
1707 fi
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && {
1710 test -z "$ac_cxx_werror_flag" ||
1711 test ! -s conftest.err
1712 } && test -s conftest.$ac_objext; then :
1713 ac_retval=0
1714 else
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1717
1718 ac_retval=1
1719 fi
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status $ac_retval
1722
1723 } @%:@ ac_fn_cxx_try_compile
1724
1725 @%:@ ac_fn_c_try_compile LINENO
1726 @%:@ --------------------------
1727 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1728 ac_fn_c_try_compile ()
1729 {
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 rm -f conftest.$ac_objext
1732 if { { ac_try="$ac_compile"
1733 case "(($ac_try" in
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_compile") 2>conftest.err
1740 ac_status=$?
1741 if test -s conftest.err; then
1742 grep -v '^ *+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1745 fi
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest.$ac_objext; then :
1751 ac_retval=0
1752 else
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1755
1756 ac_retval=1
1757 fi
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 as_fn_set_status $ac_retval
1760
1761 } @%:@ ac_fn_c_try_compile
1762
1763 @%:@ ac_fn_c_try_cpp LINENO
1764 @%:@ ----------------------
1765 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1766 ac_fn_c_try_cpp ()
1767 {
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 if { { ac_try="$ac_cpp conftest.$ac_ext"
1770 case "(($ac_try" in
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1777 ac_status=$?
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1782 fi
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } > conftest.i && {
1785 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1787 }; then :
1788 ac_retval=0
1789 else
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1792
1793 ac_retval=1
1794 fi
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 as_fn_set_status $ac_retval
1797
1798 } @%:@ ac_fn_c_try_cpp
1799
1800 @%:@ ac_fn_c_try_link LINENO
1801 @%:@ -----------------------
1802 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1803 ac_fn_c_try_link ()
1804 {
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 rm -f conftest.$ac_objext conftest$ac_exeext
1807 if { { ac_try="$ac_link"
1808 case "(($ac_try" in
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1811 esac
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_link") 2>conftest.err
1815 ac_status=$?
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1820 fi
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && {
1823 test -z "$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 } && test -s conftest$ac_exeext && {
1826 test "$cross_compiling" = yes ||
1827 test -x conftest$ac_exeext
1828 }; then :
1829 ac_retval=0
1830 else
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1833
1834 ac_retval=1
1835 fi
1836 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1837 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1838 # interfere with the next link command; also delete a directory that is
1839 # left behind by Apple's compiler. We do this before executing the actions.
1840 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842 as_fn_set_status $ac_retval
1843
1844 } @%:@ ac_fn_c_try_link
1845
1846 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1847 @%:@ -------------------------------------------------------
1848 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1849 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1850 ac_fn_c_check_header_compile ()
1851 {
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if eval \${$3+:} false; then :
1856 $as_echo_n "(cached) " >&6
1857 else
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1860 $4
1861 @%:@include <$2>
1862 _ACEOF
1863 if ac_fn_c_try_compile "$LINENO"; then :
1864 eval "$3=yes"
1865 else
1866 eval "$3=no"
1867 fi
1868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869 fi
1870 eval ac_res=\$$3
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874
1875 } @%:@ ac_fn_c_check_header_compile
1876
1877 @%:@ ac_fn_c_try_run LINENO
1878 @%:@ ----------------------
1879 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1880 @%:@ that executables *can* be run.
1881 ac_fn_c_try_run ()
1882 {
1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884 if { { ac_try="$ac_link"
1885 case "(($ac_try" in
1886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1887 *) ac_try_echo=$ac_try;;
1888 esac
1889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1890 $as_echo "$ac_try_echo"; } >&5
1891 (eval "$ac_link") 2>&5
1892 ac_status=$?
1893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1894 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1895 { { case "(($ac_try" in
1896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1897 *) ac_try_echo=$ac_try;;
1898 esac
1899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1900 $as_echo "$ac_try_echo"; } >&5
1901 (eval "$ac_try") 2>&5
1902 ac_status=$?
1903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904 test $ac_status = 0; }; }; then :
1905 ac_retval=0
1906 else
1907 $as_echo "$as_me: program exited with status $ac_status" >&5
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1910
1911 ac_retval=$ac_status
1912 fi
1913 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915 as_fn_set_status $ac_retval
1916
1917 } @%:@ ac_fn_c_try_run
1918
1919 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1920 @%:@ ----------------------------------
1921 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1922 ac_fn_c_check_func ()
1923 {
1924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926 $as_echo_n "checking for $2... " >&6; }
1927 if eval \${$3+:} false; then :
1928 $as_echo_n "(cached) " >&6
1929 else
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1932 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1934 #define $2 innocuous_$2
1935
1936 /* System header to define __stub macros and hopefully few prototypes,
1937 which can conflict with char $2 (); below.
1938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1939 <limits.h> exists even on freestanding compilers. */
1940
1941 #ifdef __STDC__
1942 # include <limits.h>
1943 #else
1944 # include <assert.h>
1945 #endif
1946
1947 #undef $2
1948
1949 /* Override any GCC internal prototype to avoid an error.
1950 Use char because int might match the return type of a GCC
1951 builtin and then its argument prototype would still apply. */
1952 #ifdef __cplusplus
1953 extern "C"
1954 #endif
1955 char $2 ();
1956 /* The GNU C library defines this for functions which it implements
1957 to always fail with ENOSYS. Some functions are actually named
1958 something starting with __ and the normal name is an alias. */
1959 #if defined __stub_$2 || defined __stub___$2
1960 choke me
1961 #endif
1962
1963 int
1964 main ()
1965 {
1966 return $2 ();
1967 ;
1968 return 0;
1969 }
1970 _ACEOF
1971 if ac_fn_c_try_link "$LINENO"; then :
1972 eval "$3=yes"
1973 else
1974 eval "$3=no"
1975 fi
1976 rm -f core conftest.err conftest.$ac_objext \
1977 conftest$ac_exeext conftest.$ac_ext
1978 fi
1979 eval ac_res=\$$3
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983
1984 } @%:@ ac_fn_c_check_func
1985
1986 @%:@ ac_fn_cxx_try_cpp LINENO
1987 @%:@ ------------------------
1988 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_cpp ()
1990 {
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 if { { ac_try="$ac_cpp conftest.$ac_ext"
1993 case "(($ac_try" in
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2000 ac_status=$?
2001 if test -s conftest.err; then
2002 grep -v '^ *+' conftest.err >conftest.er1
2003 cat conftest.er1 >&5
2004 mv -f conftest.er1 conftest.err
2005 fi
2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007 test $ac_status = 0; } > conftest.i && {
2008 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2009 test ! -s conftest.err
2010 }; then :
2011 ac_retval=0
2012 else
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2015
2016 ac_retval=1
2017 fi
2018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019 as_fn_set_status $ac_retval
2020
2021 } @%:@ ac_fn_cxx_try_cpp
2022
2023 @%:@ ac_fn_cxx_try_link LINENO
2024 @%:@ -------------------------
2025 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2026 ac_fn_cxx_try_link ()
2027 {
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 rm -f conftest.$ac_objext conftest$ac_exeext
2030 if { { ac_try="$ac_link"
2031 case "(($ac_try" in
2032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2033 *) ac_try_echo=$ac_try;;
2034 esac
2035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2036 $as_echo "$ac_try_echo"; } >&5
2037 (eval "$ac_link") 2>conftest.err
2038 ac_status=$?
2039 if test -s conftest.err; then
2040 grep -v '^ *+' conftest.err >conftest.er1
2041 cat conftest.er1 >&5
2042 mv -f conftest.er1 conftest.err
2043 fi
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; } && {
2046 test -z "$ac_cxx_werror_flag" ||
2047 test ! -s conftest.err
2048 } && test -s conftest$ac_exeext && {
2049 test "$cross_compiling" = yes ||
2050 test -x conftest$ac_exeext
2051 }; then :
2052 ac_retval=0
2053 else
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2056
2057 ac_retval=1
2058 fi
2059 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2060 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2061 # interfere with the next link command; also delete a directory that is
2062 # left behind by Apple's compiler. We do this before executing the actions.
2063 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2064 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2065 as_fn_set_status $ac_retval
2066
2067 } @%:@ ac_fn_cxx_try_link
2068
2069 @%:@ ac_fn_cxx_try_run LINENO
2070 @%:@ ------------------------
2071 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2072 @%:@ that executables *can* be run.
2073 ac_fn_cxx_try_run ()
2074 {
2075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2076 if { { ac_try="$ac_link"
2077 case "(($ac_try" in
2078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2079 *) ac_try_echo=$ac_try;;
2080 esac
2081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2082 $as_echo "$ac_try_echo"; } >&5
2083 (eval "$ac_link") 2>&5
2084 ac_status=$?
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2087 { { case "(($ac_try" in
2088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2089 *) ac_try_echo=$ac_try;;
2090 esac
2091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2092 $as_echo "$ac_try_echo"; } >&5
2093 (eval "$ac_try") 2>&5
2094 ac_status=$?
2095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2096 test $ac_status = 0; }; }; then :
2097 ac_retval=0
2098 else
2099 $as_echo "$as_me: program exited with status $ac_status" >&5
2100 $as_echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.$ac_ext >&5
2102
2103 ac_retval=$ac_status
2104 fi
2105 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2107 as_fn_set_status $ac_retval
2108
2109 } @%:@ ac_fn_cxx_try_run
2110
2111 @%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2112 @%:@ ---------------------------------------------------------
2113 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2114 @%:@ the include files in INCLUDES and setting the cache variable VAR
2115 @%:@ accordingly.
2116 ac_fn_cxx_check_header_mongrel ()
2117 {
2118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119 if eval \${$3+:} false; then :
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121 $as_echo_n "checking for $2... " >&6; }
2122 if eval \${$3+:} false; then :
2123 $as_echo_n "(cached) " >&6
2124 fi
2125 eval ac_res=\$$3
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2128 else
2129 # Is the header compilable?
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2131 $as_echo_n "checking $2 usability... " >&6; }
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2134 $4
2135 @%:@include <$2>
2136 _ACEOF
2137 if ac_fn_cxx_try_compile "$LINENO"; then :
2138 ac_header_compiler=yes
2139 else
2140 ac_header_compiler=no
2141 fi
2142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2144 $as_echo "$ac_header_compiler" >&6; }
2145
2146 # Is the header present?
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2148 $as_echo_n "checking $2 presence... " >&6; }
2149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2150 /* end confdefs.h. */
2151 @%:@include <$2>
2152 _ACEOF
2153 if ac_fn_cxx_try_cpp "$LINENO"; then :
2154 ac_header_preproc=yes
2155 else
2156 ac_header_preproc=no
2157 fi
2158 rm -f conftest.err conftest.i conftest.$ac_ext
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2160 $as_echo "$ac_header_preproc" >&6; }
2161
2162 # So? What about this header?
2163 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2164 yes:no: )
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2166 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2169 ;;
2170 no:yes:* )
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2172 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2174 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2176 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2178 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2180 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2181 ;;
2182 esac
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2184 $as_echo_n "checking for $2... " >&6; }
2185 if eval \${$3+:} false; then :
2186 $as_echo_n "(cached) " >&6
2187 else
2188 eval "$3=\$ac_header_compiler"
2189 fi
2190 eval ac_res=\$$3
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2192 $as_echo "$ac_res" >&6; }
2193 fi
2194 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2195
2196 } @%:@ ac_fn_cxx_check_header_mongrel
2197
2198 @%:@ ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2199 @%:@ ---------------------------------------------
2200 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2201 @%:@ variable VAR accordingly.
2202 ac_fn_cxx_check_type ()
2203 {
2204 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2206 $as_echo_n "checking for $2... " >&6; }
2207 if eval \${$3+:} false; then :
2208 $as_echo_n "(cached) " >&6
2209 else
2210 eval "$3=no"
2211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2212 /* end confdefs.h. */
2213 $4
2214 int
2215 main ()
2216 {
2217 if (sizeof ($2))
2218 return 0;
2219 ;
2220 return 0;
2221 }
2222 _ACEOF
2223 if ac_fn_cxx_try_compile "$LINENO"; then :
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2226 $4
2227 int
2228 main ()
2229 {
2230 if (sizeof (($2)))
2231 return 0;
2232 ;
2233 return 0;
2234 }
2235 _ACEOF
2236 if ac_fn_cxx_try_compile "$LINENO"; then :
2237
2238 else
2239 eval "$3=yes"
2240 fi
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2242 fi
2243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2244 fi
2245 eval ac_res=\$$3
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2248 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2249
2250 } @%:@ ac_fn_cxx_check_type
2251
2252 @%:@ ac_fn_cxx_check_func LINENO FUNC VAR
2253 @%:@ ------------------------------------
2254 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2255 ac_fn_cxx_check_func ()
2256 {
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2259 $as_echo_n "checking for $2... " >&6; }
2260 if eval \${$3+:} false; then :
2261 $as_echo_n "(cached) " >&6
2262 else
2263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2264 /* end confdefs.h. */
2265 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2267 #define $2 innocuous_$2
2268
2269 /* System header to define __stub macros and hopefully few prototypes,
2270 which can conflict with char $2 (); below.
2271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2272 <limits.h> exists even on freestanding compilers. */
2273
2274 #ifdef __STDC__
2275 # include <limits.h>
2276 #else
2277 # include <assert.h>
2278 #endif
2279
2280 #undef $2
2281
2282 /* Override any GCC internal prototype to avoid an error.
2283 Use char because int might match the return type of a GCC
2284 builtin and then its argument prototype would still apply. */
2285 #ifdef __cplusplus
2286 extern "C"
2287 #endif
2288 char $2 ();
2289 /* The GNU C library defines this for functions which it implements
2290 to always fail with ENOSYS. Some functions are actually named
2291 something starting with __ and the normal name is an alias. */
2292 #if defined __stub_$2 || defined __stub___$2
2293 choke me
2294 #endif
2295
2296 int
2297 main ()
2298 {
2299 return $2 ();
2300 ;
2301 return 0;
2302 }
2303 _ACEOF
2304 if ac_fn_cxx_try_link "$LINENO"; then :
2305 eval "$3=yes"
2306 else
2307 eval "$3=no"
2308 fi
2309 rm -f core conftest.err conftest.$ac_objext \
2310 conftest$ac_exeext conftest.$ac_ext
2311 fi
2312 eval ac_res=\$$3
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2314 $as_echo "$ac_res" >&6; }
2315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2316
2317 } @%:@ ac_fn_cxx_check_func
2318 cat >config.log <<_ACEOF
2319 This file contains any messages produced by compilers while
2320 running configure, to aid debugging if configure makes a mistake.
2321
2322 It was created by ibmgtsim $as_me 1.5.7, which was
2323 generated by GNU Autoconf 2.69. Invocation command line was
2324
2325 $ $0 $@
2326
2327 _ACEOF
2328 exec 5>>config.log
2329 {
2330 cat <<_ASUNAME
2331 ## --------- ##
2332 ## Platform. ##
2333 ## --------- ##
2334
2335 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2336 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2337 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2338 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2339 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2340
2341 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2342 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2343
2344 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2345 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2346 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2347 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2348 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2349 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2350 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2351
2352 _ASUNAME
2353
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 for as_dir in $PATH
2356 do
2357 IFS=$as_save_IFS
2358 test -z "$as_dir" && as_dir=.
2359 $as_echo "PATH: $as_dir"
2360 done
2361 IFS=$as_save_IFS
2362
2363 } >&5
2364
2365 cat >&5 <<_ACEOF
2366
2367
2368 ## ----------- ##
2369 ## Core tests. ##
2370 ## ----------- ##
2371
2372 _ACEOF
2373
2374
2375 # Keep a trace of the command line.
2376 # Strip out --no-create and --no-recursion so they do not pile up.
2377 # Strip out --silent because we don't want to record it for future runs.
2378 # Also quote any args containing shell meta-characters.
2379 # Make two passes to allow for proper duplicate-argument suppression.
2380 ac_configure_args=
2381 ac_configure_args0=
2382 ac_configure_args1=
2383 ac_must_keep_next=false
2384 for ac_pass in 1 2
2385 do
2386 for ac_arg
2387 do
2388 case $ac_arg in
2389 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2391 | -silent | --silent | --silen | --sile | --sil)
2392 continue ;;
2393 *\'*)
2394 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2395 esac
2396 case $ac_pass in
2397 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2398 2)
2399 as_fn_append ac_configure_args1 " '$ac_arg'"
2400 if test $ac_must_keep_next = true; then
2401 ac_must_keep_next=false # Got value, back to normal.
2402 else
2403 case $ac_arg in
2404 *=* | --config-cache | -C | -disable-* | --disable-* \
2405 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2406 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2407 | -with-* | --with-* | -without-* | --without-* | --x)
2408 case "$ac_configure_args0 " in
2409 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2410 esac
2411 ;;
2412 -* ) ac_must_keep_next=true ;;
2413 esac
2414 fi
2415 as_fn_append ac_configure_args " '$ac_arg'"
2416 ;;
2417 esac
2418 done
2419 done
2420 { ac_configure_args0=; unset ac_configure_args0;}
2421 { ac_configure_args1=; unset ac_configure_args1;}
2422
2423 # When interrupted or exit'd, cleanup temporary files, and complete
2424 # config.log. We remove comments because anyway the quotes in there
2425 # would cause problems or look ugly.
2426 # WARNING: Use '\'' to represent an apostrophe within the trap.
2427 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2428 trap 'exit_status=$?
2429 # Save into config.log some information that might help in debugging.
2430 {
2431 echo
2432
2433 $as_echo "## ---------------- ##
2434 ## Cache variables. ##
2435 ## ---------------- ##"
2436 echo
2437 # The following way of writing the cache mishandles newlines in values,
2438 (
2439 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2440 eval ac_val=\$$ac_var
2441 case $ac_val in #(
2442 *${as_nl}*)
2443 case $ac_var in #(
2444 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2446 esac
2447 case $ac_var in #(
2448 _ | IFS | as_nl) ;; #(
2449 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2450 *) { eval $ac_var=; unset $ac_var;} ;;
2451 esac ;;
2452 esac
2453 done
2454 (set) 2>&1 |
2455 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2456 *${as_nl}ac_space=\ *)
2457 sed -n \
2458 "s/'\''/'\''\\\\'\'''\''/g;
2459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2460 ;; #(
2461 *)
2462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2463 ;;
2464 esac |
2465 sort
2466 )
2467 echo
2468
2469 $as_echo "## ----------------- ##
2470 ## Output variables. ##
2471 ## ----------------- ##"
2472 echo
2473 for ac_var in $ac_subst_vars
2474 do
2475 eval ac_val=\$$ac_var
2476 case $ac_val in
2477 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2478 esac
2479 $as_echo "$ac_var='\''$ac_val'\''"
2480 done | sort
2481 echo
2482
2483 if test -n "$ac_subst_files"; then
2484 $as_echo "## ------------------- ##
2485 ## File substitutions. ##
2486 ## ------------------- ##"
2487 echo
2488 for ac_var in $ac_subst_files
2489 do
2490 eval ac_val=\$$ac_var
2491 case $ac_val in
2492 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2493 esac
2494 $as_echo "$ac_var='\''$ac_val'\''"
2495 done | sort
2496 echo
2497 fi
2498
2499 if test -s confdefs.h; then
2500 $as_echo "## ----------- ##
2501 ## confdefs.h. ##
2502 ## ----------- ##"
2503 echo
2504 cat confdefs.h
2505 echo
2506 fi
2507 test "$ac_signal" != 0 &&
2508 $as_echo "$as_me: caught signal $ac_signal"
2509 $as_echo "$as_me: exit $exit_status"
2510 } >&5
2511 rm -f core *.core core.conftest.* &&
2512 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2513 exit $exit_status
2514 ' 0
2515 for ac_signal in 1 2 13 15; do
2516 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2517 done
2518 ac_signal=0
2519
2520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2521 rm -f -r conftest* confdefs.h
2522
2523 $as_echo "/* confdefs.h */" > confdefs.h
2524
2525 # Predefined preprocessor variables.
2526
2527 cat >>confdefs.h <<_ACEOF
2528 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2529 _ACEOF
2530
2531 cat >>confdefs.h <<_ACEOF
2532 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2533 _ACEOF
2534
2535 cat >>confdefs.h <<_ACEOF
2536 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2537 _ACEOF
2538
2539 cat >>confdefs.h <<_ACEOF
2540 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2541 _ACEOF
2542
2543 cat >>confdefs.h <<_ACEOF
2544 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2545 _ACEOF
2546
2547 cat >>confdefs.h <<_ACEOF
2548 @%:@define PACKAGE_URL "$PACKAGE_URL"
2549 _ACEOF
2550
2551
2552 # Let the site file select an alternate cache file if it wants to.
2553 # Prefer an explicitly selected file to automatically selected ones.
2554 ac_site_file1=NONE
2555 ac_site_file2=NONE
2556 if test -n "$CONFIG_SITE"; then
2557 # We do not want a PATH search for config.site.
2558 case $CONFIG_SITE in @%:@((
2559 -*) ac_site_file1=./$CONFIG_SITE;;
2560 */*) ac_site_file1=$CONFIG_SITE;;
2561 *) ac_site_file1=./$CONFIG_SITE;;
2562 esac
2563 elif test "x$prefix" != xNONE; then
2564 ac_site_file1=$prefix/share/config.site
2565 ac_site_file2=$prefix/etc/config.site
2566 else
2567 ac_site_file1=$ac_default_prefix/share/config.site
2568 ac_site_file2=$ac_default_prefix/etc/config.site
2569 fi
2570 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2571 do
2572 test "x$ac_site_file" = xNONE && continue
2573 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2575 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2576 sed 's/^/| /' "$ac_site_file" >&5
2577 . "$ac_site_file" \
2578 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580 as_fn_error $? "failed to load site script $ac_site_file
2581 See \`config.log' for more details" "$LINENO" 5; }
2582 fi
2583 done
2584
2585 if test -r "$cache_file"; then
2586 # Some versions of bash will fail to source /dev/null (special files
2587 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2588 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2590 $as_echo "$as_me: loading cache $cache_file" >&6;}
2591 case $cache_file in
2592 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2593 *) . "./$cache_file";;
2594 esac
2595 fi
2596 else
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2598 $as_echo "$as_me: creating cache $cache_file" >&6;}
2599 >$cache_file
2600 fi
2601
2602 # Check that the precious variables saved in the cache have kept the same
2603 # value.
2604 ac_cache_corrupted=false
2605 for ac_var in $ac_precious_vars; do
2606 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2607 eval ac_new_set=\$ac_env_${ac_var}_set
2608 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2609 eval ac_new_val=\$ac_env_${ac_var}_value
2610 case $ac_old_set,$ac_new_set in
2611 set,)
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2613 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2614 ac_cache_corrupted=: ;;
2615 ,set)
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2617 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2618 ac_cache_corrupted=: ;;
2619 ,);;
2620 *)
2621 if test "x$ac_old_val" != "x$ac_new_val"; then
2622 # differences in whitespace do not lead to failure.
2623 ac_old_val_w=`echo x $ac_old_val`
2624 ac_new_val_w=`echo x $ac_new_val`
2625 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2627 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2628 ac_cache_corrupted=:
2629 else
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2631 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2632 eval $ac_var=\$ac_old_val
2633 fi
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2635 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2637 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2638 fi;;
2639 esac
2640 # Pass precious variables to config.status.
2641 if test "$ac_new_set" = set; then
2642 case $ac_new_val in
2643 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2644 *) ac_arg=$ac_var=$ac_new_val ;;
2645 esac
2646 case " $ac_configure_args " in
2647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2648 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2649 esac
2650 fi
2651 done
2652 if $ac_cache_corrupted; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2656 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2657 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2658 fi
2659 ## -------------------- ##
2660 ## Main body of script. ##
2661 ## -------------------- ##
2662
2663 ac_ext=c
2664 ac_cpp='$CPP $CPPFLAGS'
2665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2668
2669
2670
2671
2672 ac_aux_dir=
2673 for ac_dir in config "$srcdir"/config; do
2674 if test -f "$ac_dir/install-sh"; then
2675 ac_aux_dir=$ac_dir
2676 ac_install_sh="$ac_aux_dir/install-sh -c"
2677 break
2678 elif test -f "$ac_dir/install.sh"; then
2679 ac_aux_dir=$ac_dir
2680 ac_install_sh="$ac_aux_dir/install.sh -c"
2681 break
2682 elif test -f "$ac_dir/shtool"; then
2683 ac_aux_dir=$ac_dir
2684 ac_install_sh="$ac_aux_dir/shtool install -c"
2685 break
2686 fi
2687 done
2688 if test -z "$ac_aux_dir"; then
2689 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2690 fi
2691
2692 # These three variables are undocumented and unsupported,
2693 # and are intended to be withdrawn in a future Autoconf release.
2694 # They can cause serious problems if a builder's source tree is in a directory
2695 # whose full name contains unusual characters.
2696 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2697 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2698 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2699
2700
2701
2702 ac_ext=cpp
2703 ac_cpp='$CXXCPP $CPPFLAGS'
2704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2707
2708
2709 ac_config_headers="$ac_config_headers config.h"
2710
2711
2712 am__api_version='1.11'
2713
2714 # Find a good install program. We prefer a C program (faster),
2715 # so one script is as good as another. But avoid the broken or
2716 # incompatible versions:
2717 # SysV /etc/install, /usr/sbin/install
2718 # SunOS /usr/etc/install
2719 # IRIX /sbin/install
2720 # AIX /bin/install
2721 # AmigaOS /C/install, which installs bootblocks on floppy discs
2722 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2723 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2724 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2725 # OS/2's system install, which has a completely different semantic
2726 # ./install, which can be erroneously created by make from ./install.sh.
2727 # Reject install programs that cannot install multiple files.
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2729 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2730 if test -z "$INSTALL"; then
2731 if ${ac_cv_path_install+:} false; then :
2732 $as_echo_n "(cached) " >&6
2733 else
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 for as_dir in $PATH
2736 do
2737 IFS=$as_save_IFS
2738 test -z "$as_dir" && as_dir=.
2739 # Account for people who put trailing slashes in PATH elements.
2740 case $as_dir/ in @%:@((
2741 ./ | .// | /[cC]/* | \
2742 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2743 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2744 /usr/ucb/* ) ;;
2745 *)
2746 # OSF1 and SCO ODT 3.0 have their own names for install.
2747 # Don't use installbsd from OSF since it installs stuff as root
2748 # by default.
2749 for ac_prog in ginstall scoinst install; do
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2752 if test $ac_prog = install &&
2753 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2754 # AIX install. It has an incompatible calling convention.
2755 :
2756 elif test $ac_prog = install &&
2757 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2758 # program-specific install script used by HP pwplus--don't use.
2759 :
2760 else
2761 rm -rf conftest.one conftest.two conftest.dir
2762 echo one > conftest.one
2763 echo two > conftest.two
2764 mkdir conftest.dir
2765 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2766 test -s conftest.one && test -s conftest.two &&
2767 test -s conftest.dir/conftest.one &&
2768 test -s conftest.dir/conftest.two
2769 then
2770 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2771 break 3
2772 fi
2773 fi
2774 fi
2775 done
2776 done
2777 ;;
2778 esac
2779
2780 done
2781 IFS=$as_save_IFS
2782
2783 rm -rf conftest.one conftest.two conftest.dir
2784
2785 fi
2786 if test "${ac_cv_path_install+set}" = set; then
2787 INSTALL=$ac_cv_path_install
2788 else
2789 # As a last resort, use the slow shell script. Don't cache a
2790 # value for INSTALL within a source directory, because that will
2791 # break other packages using the cache if that directory is
2792 # removed, or if the value is a relative name.
2793 INSTALL=$ac_install_sh
2794 fi
2795 fi
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2797 $as_echo "$INSTALL" >&6; }
2798
2799 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2800 # It thinks the first close brace ends the variable substitution.
2801 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2802
2803 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2804
2805 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2806
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2808 $as_echo_n "checking whether build environment is sane... " >&6; }
2809 # Just in case
2810 sleep 1
2811 echo timestamp > conftest.file
2812 # Reject unsafe characters in $srcdir or the absolute working directory
2813 # name. Accept space and tab only in the latter.
2814 am_lf='
2815 '
2816 case `pwd` in
2817 *[\\\"\#\$\&\'\`$am_lf]*)
2818 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2819 esac
2820 case $srcdir in
2821 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2822 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2823 esac
2824
2825 # Do `set' in a subshell so we don't clobber the current shell's
2826 # arguments. Must try -L first in case configure is actually a
2827 # symlink; some systems play weird games with the mod time of symlinks
2828 # (eg FreeBSD returns the mod time of the symlink's containing
2829 # directory).
2830 if (
2831 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2832 if test "$*" = "X"; then
2833 # -L didn't work.
2834 set X `ls -t "$srcdir/configure" conftest.file`
2835 fi
2836 rm -f conftest.file
2837 if test "$*" != "X $srcdir/configure conftest.file" \
2838 && test "$*" != "X conftest.file $srcdir/configure"; then
2839
2840 # If neither matched, then we have a broken ls. This can happen
2841 # if, for instance, CONFIG_SHELL is bash and it inherits a
2842 # broken ls alias from the environment. This has actually
2843 # happened. Such a system could not be considered "sane".
2844 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2845 alias in your environment" "$LINENO" 5
2846 fi
2847
2848 test "$2" = conftest.file
2849 )
2850 then
2851 # Ok.
2852 :
2853 else
2854 as_fn_error $? "newly created file is older than distributed files!
2855 Check your system clock" "$LINENO" 5
2856 fi
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2858 $as_echo "yes" >&6; }
2859 test "$program_prefix" != NONE &&
2860 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2861 # Use a double $ so make ignores it.
2862 test "$program_suffix" != NONE &&
2863 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2864 # Double any \ or $.
2865 # By default was `s,x,x', remove it if useless.
2866 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2867 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2868
2869 # expand $ac_aux_dir to an absolute path
2870 am_aux_dir=`cd $ac_aux_dir && pwd`
2871
2872 if test x"${MISSING+set}" != xset; then
2873 case $am_aux_dir in
2874 *\ * | *\ *)
2875 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2876 *)
2877 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2878 esac
2879 fi
2880 # Use eval to expand $SHELL
2881 if eval "$MISSING --run true"; then
2882 am_missing_run="$MISSING --run "
2883 else
2884 am_missing_run=
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2886 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2887 fi
2888
2889 if test x"${install_sh}" != xset; then
2890 case $am_aux_dir in
2891 *\ * | *\ *)
2892 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2893 *)
2894 install_sh="\${SHELL} $am_aux_dir/install-sh"
2895 esac
2896 fi
2897
2898 # Installed binaries are usually stripped using `strip' when the user
2899 # run `make install-strip'. However `strip' might not be the right
2900 # tool to use in cross-compilation environments, therefore Automake
2901 # will honor the `STRIP' environment variable to overrule this program.
2902 if test "$cross_compiling" != no; then
2903 if test -n "$ac_tool_prefix"; then
2904 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2905 set dummy ${ac_tool_prefix}strip; ac_word=$2
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2907 $as_echo_n "checking for $ac_word... " >&6; }
2908 if ${ac_cv_prog_STRIP+:} false; then :
2909 $as_echo_n "(cached) " >&6
2910 else
2911 if test -n "$STRIP"; then
2912 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2913 else
2914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2915 for as_dir in $PATH
2916 do
2917 IFS=$as_save_IFS
2918 test -z "$as_dir" && as_dir=.
2919 for ac_exec_ext in '' $ac_executable_extensions; do
2920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2921 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 break 2
2924 fi
2925 done
2926 done
2927 IFS=$as_save_IFS
2928
2929 fi
2930 fi
2931 STRIP=$ac_cv_prog_STRIP
2932 if test -n "$STRIP"; then
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2934 $as_echo "$STRIP" >&6; }
2935 else
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2937 $as_echo "no" >&6; }
2938 fi
2939
2940
2941 fi
2942 if test -z "$ac_cv_prog_STRIP"; then
2943 ac_ct_STRIP=$STRIP
2944 # Extract the first word of "strip", so it can be a program name with args.
2945 set dummy strip; ac_word=$2
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2947 $as_echo_n "checking for $ac_word... " >&6; }
2948 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2949 $as_echo_n "(cached) " >&6
2950 else
2951 if test -n "$ac_ct_STRIP"; then
2952 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2953 else
2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 for as_dir in $PATH
2956 do
2957 IFS=$as_save_IFS
2958 test -z "$as_dir" && as_dir=.
2959 for ac_exec_ext in '' $ac_executable_extensions; do
2960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2961 ac_cv_prog_ac_ct_STRIP="strip"
2962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 break 2
2964 fi
2965 done
2966 done
2967 IFS=$as_save_IFS
2968
2969 fi
2970 fi
2971 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2972 if test -n "$ac_ct_STRIP"; then
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2974 $as_echo "$ac_ct_STRIP" >&6; }
2975 else
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2977 $as_echo "no" >&6; }
2978 fi
2979
2980 if test "x$ac_ct_STRIP" = x; then
2981 STRIP=":"
2982 else
2983 case $cross_compiling:$ac_tool_warned in
2984 yes:)
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2987 ac_tool_warned=yes ;;
2988 esac
2989 STRIP=$ac_ct_STRIP
2990 fi
2991 else
2992 STRIP="$ac_cv_prog_STRIP"
2993 fi
2994
2995 fi
2996 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2997
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2999 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3000 if test -z "$MKDIR_P"; then
3001 if ${ac_cv_path_mkdir+:} false; then :
3002 $as_echo_n "(cached) " >&6
3003 else
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3006 do
3007 IFS=$as_save_IFS
3008 test -z "$as_dir" && as_dir=.
3009 for ac_prog in mkdir gmkdir; do
3010 for ac_exec_ext in '' $ac_executable_extensions; do
3011 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3012 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3013 'mkdir (GNU coreutils) '* | \
3014 'mkdir (coreutils) '* | \
3015 'mkdir (fileutils) '4.1*)
3016 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3017 break 3;;
3018 esac
3019 done
3020 done
3021 done
3022 IFS=$as_save_IFS
3023
3024 fi
3025
3026 test -d ./--version && rmdir ./--version
3027 if test "${ac_cv_path_mkdir+set}" = set; then
3028 MKDIR_P="$ac_cv_path_mkdir -p"
3029 else
3030 # As a last resort, use the slow shell script. Don't cache a
3031 # value for MKDIR_P within a source directory, because that will
3032 # break other packages using the cache if that directory is
3033 # removed, or if the value is a relative name.
3034 MKDIR_P="$ac_install_sh -d"
3035 fi
3036 fi
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3038 $as_echo "$MKDIR_P" >&6; }
3039
3040 mkdir_p="$MKDIR_P"
3041 case $mkdir_p in
3042 [\\/$]* | ?:[\\/]*) ;;
3043 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3044 esac
3045
3046 for ac_prog in gawk mawk nawk awk
3047 do
3048 # Extract the first word of "$ac_prog", so it can be a program name with args.
3049 set dummy $ac_prog; ac_word=$2
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3051 $as_echo_n "checking for $ac_word... " >&6; }
3052 if ${ac_cv_prog_AWK+:} false; then :
3053 $as_echo_n "(cached) " >&6
3054 else
3055 if test -n "$AWK"; then
3056 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3057 else
3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059 for as_dir in $PATH
3060 do
3061 IFS=$as_save_IFS
3062 test -z "$as_dir" && as_dir=.
3063 for ac_exec_ext in '' $ac_executable_extensions; do
3064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3065 ac_cv_prog_AWK="$ac_prog"
3066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3067 break 2
3068 fi
3069 done
3070 done
3071 IFS=$as_save_IFS
3072
3073 fi
3074 fi
3075 AWK=$ac_cv_prog_AWK
3076 if test -n "$AWK"; then
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3078 $as_echo "$AWK" >&6; }
3079 else
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3081 $as_echo "no" >&6; }
3082 fi
3083
3084
3085 test -n "$AWK" && break
3086 done
3087
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3089 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3090 set x ${MAKE-make}
3091 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3092 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3093 $as_echo_n "(cached) " >&6
3094 else
3095 cat >conftest.make <<\_ACEOF
3096 SHELL = /bin/sh
3097 all:
3098 @echo '@@@%%%=$(MAKE)=@@@%%%'
3099 _ACEOF
3100 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3101 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3102 *@@@%%%=?*=@@@%%%*)
3103 eval ac_cv_prog_make_${ac_make}_set=yes;;
3104 *)
3105 eval ac_cv_prog_make_${ac_make}_set=no;;
3106 esac
3107 rm -f conftest.make
3108 fi
3109 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3111 $as_echo "yes" >&6; }
3112 SET_MAKE=
3113 else
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3116 SET_MAKE="MAKE=${MAKE-make}"
3117 fi
3118
3119 rm -rf .tst 2>/dev/null
3120 mkdir .tst 2>/dev/null
3121 if test -d .tst; then
3122 am__leading_dot=.
3123 else
3124 am__leading_dot=_
3125 fi
3126 rmdir .tst 2>/dev/null
3127
3128 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3129 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3130 # is not polluted with repeated "-I."
3131 am__isrc=' -I$(srcdir)'
3132 # test to see if srcdir already configured
3133 if test -f $srcdir/config.status; then
3134 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3135 fi
3136 fi
3137
3138 # test whether we have cygpath
3139 if test -z "$CYGPATH_W"; then
3140 if (cygpath --version) >/dev/null 2>/dev/null; then
3141 CYGPATH_W='cygpath -w'
3142 else
3143 CYGPATH_W=echo
3144 fi
3145 fi
3146
3147
3148 # Define the identity of the package.
3149 PACKAGE='ibmgtsim'
3150 VERSION='1.5.7'
3151
3152
3153 cat >>confdefs.h <<_ACEOF
3154 @%:@define PACKAGE "$PACKAGE"
3155 _ACEOF
3156
3157
3158 cat >>confdefs.h <<_ACEOF
3159 @%:@define VERSION "$VERSION"
3160 _ACEOF
3161
3162 # Some tools Automake needs.
3163
3164 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3165
3166
3167 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3168
3169
3170 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3171
3172
3173 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3174
3175
3176 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3177
3178 # We need awk for the "check" target. The system "awk" is bad on
3179 # some platforms.
3180 # Always define AMTAR for backward compatibility.
3181
3182 AMTAR=${AMTAR-"${am_missing_run}tar"}
3183
3184 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3185
3186
3187
3188
3189
3190
3191
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3193 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3194 @%:@ Check whether --enable-maintainer-mode was given.
3195 if test "${enable_maintainer_mode+set}" = set; then :
3196 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3197 else
3198 USE_MAINTAINER_MODE=no
3199 fi
3200
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3202 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3203 if test $USE_MAINTAINER_MODE = yes; then
3204 MAINTAINER_MODE_TRUE=
3205 MAINTAINER_MODE_FALSE='#'
3206 else
3207 MAINTAINER_MODE_TRUE='#'
3208 MAINTAINER_MODE_FALSE=
3209 fi
3210
3211 MAINT=$MAINTAINER_MODE_TRUE
3212
3213
3214
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3216 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3217 set x ${MAKE-make}
3218 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3219 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3220 $as_echo_n "(cached) " >&6
3221 else
3222 cat >conftest.make <<\_ACEOF
3223 SHELL = /bin/sh
3224 all:
3225 @echo '@@@%%%=$(MAKE)=@@@%%%'
3226 _ACEOF
3227 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3228 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3229 *@@@%%%=?*=@@@%%%*)
3230 eval ac_cv_prog_make_${ac_make}_set=yes;;
3231 *)
3232 eval ac_cv_prog_make_${ac_make}_set=no;;
3233 esac
3234 rm -f conftest.make
3235 fi
3236 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238 $as_echo "yes" >&6; }
3239 SET_MAKE=
3240 else
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3243 SET_MAKE="MAKE=${MAKE-make}"
3244 fi
3245
3246
3247 save_cflags="$CFLAGS"
3248 save_cxxflags="$CXXFLAGS"
3249
3250 ac_ext=cpp
3251 ac_cpp='$CXXCPP $CPPFLAGS'
3252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3255 if test -z "$CXX"; then
3256 if test -n "$CCC"; then
3257 CXX=$CCC
3258 else
3259 if test -n "$ac_tool_prefix"; then
3260 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3261 do
3262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if ${ac_cv_prog_CXX+:} false; then :
3267 $as_echo_n "(cached) " >&6
3268 else
3269 if test -n "$CXX"; then
3270 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3271 else
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 for as_dir in $PATH
3274 do
3275 IFS=$as_save_IFS
3276 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 break 2
3282 fi
3283 done
3284 done
3285 IFS=$as_save_IFS
3286
3287 fi
3288 fi
3289 CXX=$ac_cv_prog_CXX
3290 if test -n "$CXX"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3292 $as_echo "$CXX" >&6; }
3293 else
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3296 fi
3297
3298
3299 test -n "$CXX" && break
3300 done
3301 fi
3302 if test -z "$CXX"; then
3303 ac_ct_CXX=$CXX
3304 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3305 do
3306 # Extract the first word of "$ac_prog", so it can be a program name with args.
3307 set dummy $ac_prog; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_CXX"; then
3314 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3318 do
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3323 ac_cv_prog_ac_ct_CXX="$ac_prog"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3326 fi
3327 done
3328 done
3329 IFS=$as_save_IFS
3330
3331 fi
3332 fi
3333 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3334 if test -n "$ac_ct_CXX"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3336 $as_echo "$ac_ct_CXX" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 fi
3341
3342
3343 test -n "$ac_ct_CXX" && break
3344 done
3345
3346 if test "x$ac_ct_CXX" = x; then
3347 CXX="g++"
3348 else
3349 case $cross_compiling:$ac_tool_warned in
3350 yes:)
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3353 ac_tool_warned=yes ;;
3354 esac
3355 CXX=$ac_ct_CXX
3356 fi
3357 fi
3358
3359 fi
3360 fi
3361 # Provide some information about the compiler.
3362 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3363 set X $ac_compile
3364 ac_compiler=$2
3365 for ac_option in --version -v -V -qversion; do
3366 { { ac_try="$ac_compiler $ac_option >&5"
3367 case "(($ac_try" in
3368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369 *) ac_try_echo=$ac_try;;
3370 esac
3371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3372 $as_echo "$ac_try_echo"; } >&5
3373 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3374 ac_status=$?
3375 if test -s conftest.err; then
3376 sed '10a\
3377 ... rest of stderr output deleted ...
3378 10q' conftest.err >conftest.er1
3379 cat conftest.er1 >&5
3380 fi
3381 rm -f conftest.er1 conftest.err
3382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3383 test $ac_status = 0; }
3384 done
3385
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3388
3389 int
3390 main ()
3391 {
3392
3393 ;
3394 return 0;
3395 }
3396 _ACEOF
3397 ac_clean_files_save=$ac_clean_files
3398 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3399 # Try to create an executable without -o first, disregard a.out.
3400 # It will help us diagnose broken compilers, and finding out an intuition
3401 # of exeext.
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3403 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3404 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3405
3406 # The possible output files:
3407 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3408
3409 ac_rmfiles=
3410 for ac_file in $ac_files
3411 do
3412 case $ac_file in
3413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3414 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3415 esac
3416 done
3417 rm -f $ac_rmfiles
3418
3419 if { { ac_try="$ac_link_default"
3420 case "(($ac_try" in
3421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422 *) ac_try_echo=$ac_try;;
3423 esac
3424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3425 $as_echo "$ac_try_echo"; } >&5
3426 (eval "$ac_link_default") 2>&5
3427 ac_status=$?
3428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3429 test $ac_status = 0; }; then :
3430 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3431 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3432 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3433 # so that the user can short-circuit this test for compilers unknown to
3434 # Autoconf.
3435 for ac_file in $ac_files ''
3436 do
3437 test -f "$ac_file" || continue
3438 case $ac_file in
3439 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3440 ;;
3441 [ab].out )
3442 # We found the default executable, but exeext='' is most
3443 # certainly right.
3444 break;;
3445 *.* )
3446 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3447 then :; else
3448 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3449 fi
3450 # We set ac_cv_exeext here because the later test for it is not
3451 # safe: cross compilers may not add the suffix if given an `-o'
3452 # argument, so we may need to know it at that point already.
3453 # Even if this section looks crufty: it has the advantage of
3454 # actually working.
3455 break;;
3456 * )
3457 break;;
3458 esac
3459 done
3460 test "$ac_cv_exeext" = no && ac_cv_exeext=
3461
3462 else
3463 ac_file=''
3464 fi
3465 if test -z "$ac_file"; then :
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467 $as_echo "no" >&6; }
3468 $as_echo "$as_me: failed program was:" >&5
3469 sed 's/^/| /' conftest.$ac_ext >&5
3470
3471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473 as_fn_error 77 "C++ compiler cannot create executables
3474 See \`config.log' for more details" "$LINENO" 5; }
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3477 $as_echo "yes" >&6; }
3478 fi
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3480 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3482 $as_echo "$ac_file" >&6; }
3483 ac_exeext=$ac_cv_exeext
3484
3485 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3486 ac_clean_files=$ac_clean_files_save
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3488 $as_echo_n "checking for suffix of executables... " >&6; }
3489 if { { ac_try="$ac_link"
3490 case "(($ac_try" in
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3493 esac
3494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3495 $as_echo "$ac_try_echo"; } >&5
3496 (eval "$ac_link") 2>&5
3497 ac_status=$?
3498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3499 test $ac_status = 0; }; then :
3500 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3501 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3502 # work properly (i.e., refer to `conftest.exe'), while it won't with
3503 # `rm'.
3504 for ac_file in conftest.exe conftest conftest.*; do
3505 test -f "$ac_file" || continue
3506 case $ac_file in
3507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3508 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3509 break;;
3510 * ) break;;
3511 esac
3512 done
3513 else
3514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3516 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3517 See \`config.log' for more details" "$LINENO" 5; }
3518 fi
3519 rm -f conftest conftest$ac_cv_exeext
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3521 $as_echo "$ac_cv_exeext" >&6; }
3522
3523 rm -f conftest.$ac_ext
3524 EXEEXT=$ac_cv_exeext
3525 ac_exeext=$EXEEXT
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3528 @%:@include <stdio.h>
3529 int
3530 main ()
3531 {
3532 FILE *f = fopen ("conftest.out", "w");
3533 return ferror (f) || fclose (f) != 0;
3534
3535 ;
3536 return 0;
3537 }
3538 _ACEOF
3539 ac_clean_files="$ac_clean_files conftest.out"
3540 # Check that the compiler produces executables we can run. If not, either
3541 # the compiler is broken, or we cross compile.
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3543 $as_echo_n "checking whether we are cross compiling... " >&6; }
3544 if test "$cross_compiling" != yes; then
3545 { { ac_try="$ac_link"
3546 case "(($ac_try" in
3547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3549 esac
3550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3551 $as_echo "$ac_try_echo"; } >&5
3552 (eval "$ac_link") 2>&5
3553 ac_status=$?
3554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3555 test $ac_status = 0; }
3556 if { ac_try='./conftest$ac_cv_exeext'
3557 { { case "(($ac_try" in
3558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3559 *) ac_try_echo=$ac_try;;
3560 esac
3561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3562 $as_echo "$ac_try_echo"; } >&5
3563 (eval "$ac_try") 2>&5
3564 ac_status=$?
3565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3566 test $ac_status = 0; }; }; then
3567 cross_compiling=no
3568 else
3569 if test "$cross_compiling" = maybe; then
3570 cross_compiling=yes
3571 else
3572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3574 as_fn_error $? "cannot run C++ compiled programs.
3575 If you meant to cross compile, use \`--host'.
3576 See \`config.log' for more details" "$LINENO" 5; }
3577 fi
3578 fi
3579 fi
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3581 $as_echo "$cross_compiling" >&6; }
3582
3583 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3584 ac_clean_files=$ac_clean_files_save
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3586 $as_echo_n "checking for suffix of object files... " >&6; }
3587 if ${ac_cv_objext+:} false; then :
3588 $as_echo_n "(cached) " >&6
3589 else
3590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3592
3593 int
3594 main ()
3595 {
3596
3597 ;
3598 return 0;
3599 }
3600 _ACEOF
3601 rm -f conftest.o conftest.obj
3602 if { { ac_try="$ac_compile"
3603 case "(($ac_try" in
3604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3605 *) ac_try_echo=$ac_try;;
3606 esac
3607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3608 $as_echo "$ac_try_echo"; } >&5
3609 (eval "$ac_compile") 2>&5
3610 ac_status=$?
3611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3612 test $ac_status = 0; }; then :
3613 for ac_file in conftest.o conftest.obj conftest.*; do
3614 test -f "$ac_file" || continue;
3615 case $ac_file in
3616 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3617 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3618 break;;
3619 esac
3620 done
3621 else
3622 $as_echo "$as_me: failed program was:" >&5
3623 sed 's/^/| /' conftest.$ac_ext >&5
3624
3625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3627 as_fn_error $? "cannot compute suffix of object files: cannot compile
3628 See \`config.log' for more details" "$LINENO" 5; }
3629 fi
3630 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3631 fi
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3633 $as_echo "$ac_cv_objext" >&6; }
3634 OBJEXT=$ac_cv_objext
3635 ac_objext=$OBJEXT
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3637 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3638 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3643
3644 int
3645 main ()
3646 {
3647 #ifndef __GNUC__
3648 choke me
3649 #endif
3650
3651 ;
3652 return 0;
3653 }
3654 _ACEOF
3655 if ac_fn_cxx_try_compile "$LINENO"; then :
3656 ac_compiler_gnu=yes
3657 else
3658 ac_compiler_gnu=no
3659 fi
3660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3661 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3662
3663 fi
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3665 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3666 if test $ac_compiler_gnu = yes; then
3667 GXX=yes
3668 else
3669 GXX=
3670 fi
3671 ac_test_CXXFLAGS=${CXXFLAGS+set}
3672 ac_save_CXXFLAGS=$CXXFLAGS
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3674 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3675 if ${ac_cv_prog_cxx_g+:} false; then :
3676 $as_echo_n "(cached) " >&6
3677 else
3678 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3679 ac_cxx_werror_flag=yes
3680 ac_cv_prog_cxx_g=no
3681 CXXFLAGS="-g"
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3684
3685 int
3686 main ()
3687 {
3688
3689 ;
3690 return 0;
3691 }
3692 _ACEOF
3693 if ac_fn_cxx_try_compile "$LINENO"; then :
3694 ac_cv_prog_cxx_g=yes
3695 else
3696 CXXFLAGS=""
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3699
3700 int
3701 main ()
3702 {
3703
3704 ;
3705 return 0;
3706 }
3707 _ACEOF
3708 if ac_fn_cxx_try_compile "$LINENO"; then :
3709
3710 else
3711 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3712 CXXFLAGS="-g"
3713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3714 /* end confdefs.h. */
3715
3716 int
3717 main ()
3718 {
3719
3720 ;
3721 return 0;
3722 }
3723 _ACEOF
3724 if ac_fn_cxx_try_compile "$LINENO"; then :
3725 ac_cv_prog_cxx_g=yes
3726 fi
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 fi
3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3730 fi
3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3732 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3733 fi
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3735 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3736 if test "$ac_test_CXXFLAGS" = set; then
3737 CXXFLAGS=$ac_save_CXXFLAGS
3738 elif test $ac_cv_prog_cxx_g = yes; then
3739 if test "$GXX" = yes; then
3740 CXXFLAGS="-g -O2"
3741 else
3742 CXXFLAGS="-g"
3743 fi
3744 else
3745 if test "$GXX" = yes; then
3746 CXXFLAGS="-O2"
3747 else
3748 CXXFLAGS=
3749 fi
3750 fi
3751 ac_ext=cpp
3752 ac_cpp='$CXXCPP $CPPFLAGS'
3753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3756 DEPDIR="${am__leading_dot}deps"
3757
3758 ac_config_commands="$ac_config_commands depfiles"
3759
3760
3761 am_make=${MAKE-make}
3762 cat > confinc << 'END'
3763 am__doit:
3764 @echo this is the am__doit target
3765 .PHONY: am__doit
3766 END
3767 # If we don't find an include directive, just comment out the code.
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3769 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3770 am__include="#"
3771 am__quote=
3772 _am_result=none
3773 # First try GNU make style include.
3774 echo "include confinc" > confmf
3775 # Ignore all kinds of additional output from `make'.
3776 case `$am_make -s -f confmf 2> /dev/null` in #(
3777 *the\ am__doit\ target*)
3778 am__include=include
3779 am__quote=
3780 _am_result=GNU
3781 ;;
3782 esac
3783 # Now try BSD make style include.
3784 if test "$am__include" = "#"; then
3785 echo '.include "confinc"' > confmf
3786 case `$am_make -s -f confmf 2> /dev/null` in #(
3787 *the\ am__doit\ target*)
3788 am__include=.include
3789 am__quote="\""
3790 _am_result=BSD
3791 ;;
3792 esac
3793 fi
3794
3795
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3797 $as_echo "$_am_result" >&6; }
3798 rm -f confinc confmf
3799
3800 @%:@ Check whether --enable-dependency-tracking was given.
3801 if test "${enable_dependency_tracking+set}" = set; then :
3802 enableval=$enable_dependency_tracking;
3803 fi
3804
3805 if test "x$enable_dependency_tracking" != xno; then
3806 am_depcomp="$ac_aux_dir/depcomp"
3807 AMDEPBACKSLASH='\'
3808 fi
3809 if test "x$enable_dependency_tracking" != xno; then
3810 AMDEP_TRUE=
3811 AMDEP_FALSE='#'
3812 else
3813 AMDEP_TRUE='#'
3814 AMDEP_FALSE=
3815 fi
3816
3817
3818
3819 depcc="$CXX" am_compiler_list=
3820
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3822 $as_echo_n "checking dependency style of $depcc... " >&6; }
3823 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3824 $as_echo_n "(cached) " >&6
3825 else
3826 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3827 # We make a subdir and do the tests there. Otherwise we can end up
3828 # making bogus files that we don't know about and never remove. For
3829 # instance it was reported that on HP-UX the gcc test will end up
3830 # making a dummy file named `D' -- because `-MD' means `put the output
3831 # in D'.
3832 mkdir conftest.dir
3833 # Copy depcomp to subdir because otherwise we won't find it if we're
3834 # using a relative directory.
3835 cp "$am_depcomp" conftest.dir
3836 cd conftest.dir
3837 # We will build objects and dependencies in a subdirectory because
3838 # it helps to detect inapplicable dependency modes. For instance
3839 # both Tru64's cc and ICC support -MD to output dependencies as a
3840 # side effect of compilation, but ICC will put the dependencies in
3841 # the current directory while Tru64 will put them in the object
3842 # directory.
3843 mkdir sub
3844
3845 am_cv_CXX_dependencies_compiler_type=none
3846 if test "$am_compiler_list" = ""; then
3847 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3848 fi
3849 am__universal=false
3850 case " $depcc " in #(
3851 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3852 esac
3853
3854 for depmode in $am_compiler_list; do
3855 # Setup a source with many dependencies, because some compilers
3856 # like to wrap large dependency lists on column 80 (with \), and
3857 # we should not choose a depcomp mode which is confused by this.
3858 #
3859 # We need to recreate these files for each test, as the compiler may
3860 # overwrite some of them when testing with obscure command lines.
3861 # This happens at least with the AIX C compiler.
3862 : > sub/conftest.c
3863 for i in 1 2 3 4 5 6; do
3864 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3865 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3866 # Solaris 8's {/usr,}/bin/sh.
3867 touch sub/conftst$i.h
3868 done
3869 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3870
3871 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3872 # mode. It turns out that the SunPro C++ compiler does not properly
3873 # handle `-M -o', and we need to detect this. Also, some Intel
3874 # versions had trouble with output in subdirs
3875 am__obj=sub/conftest.${OBJEXT-o}
3876 am__minus_obj="-o $am__obj"
3877 case $depmode in
3878 gcc)
3879 # This depmode causes a compiler race in universal mode.
3880 test "$am__universal" = false || continue
3881 ;;
3882 nosideeffect)
3883 # after this tag, mechanisms are not by side-effect, so they'll
3884 # only be used when explicitly requested
3885 if test "x$enable_dependency_tracking" = xyes; then
3886 continue
3887 else
3888 break
3889 fi
3890 ;;
3891 msvisualcpp | msvcmsys)
3892 # This compiler won't grok `-c -o', but also, the minuso test has
3893 # not run yet. These depmodes are late enough in the game, and
3894 # so weak that their functioning should not be impacted.
3895 am__obj=conftest.${OBJEXT-o}
3896 am__minus_obj=
3897 ;;
3898 none) break ;;
3899 esac
3900 if depmode=$depmode \
3901 source=sub/conftest.c object=$am__obj \
3902 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3903 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3904 >/dev/null 2>conftest.err &&
3905 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3906 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3907 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3908 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3909 # icc doesn't choke on unknown options, it will just issue warnings
3910 # or remarks (even with -Werror). So we grep stderr for any message
3911 # that says an option was ignored or not supported.
3912 # When given -MP, icc 7.0 and 7.1 complain thusly:
3913 # icc: Command line warning: ignoring option '-M'; no argument required
3914 # The diagnosis changed in icc 8.0:
3915 # icc: Command line remark: option '-MP' not supported
3916 if (grep 'ignoring option' conftest.err ||
3917 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3918 am_cv_CXX_dependencies_compiler_type=$depmode
3919 break
3920 fi
3921 fi
3922 done
3923
3924 cd ..
3925 rm -rf conftest.dir
3926 else
3927 am_cv_CXX_dependencies_compiler_type=none
3928 fi
3929
3930 fi
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3932 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3933 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3934
3935 if
3936 test "x$enable_dependency_tracking" != xno \
3937 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3938 am__fastdepCXX_TRUE=
3939 am__fastdepCXX_FALSE='#'
3940 else
3941 am__fastdepCXX_TRUE='#'
3942 am__fastdepCXX_FALSE=
3943 fi
3944
3945
3946 ac_ext=c
3947 ac_cpp='$CPP $CPPFLAGS'
3948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3951 if test -n "$ac_tool_prefix"; then
3952 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3953 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3955 $as_echo_n "checking for $ac_word... " >&6; }
3956 if ${ac_cv_prog_CC+:} false; then :
3957 $as_echo_n "(cached) " >&6
3958 else
3959 if test -n "$CC"; then
3960 ac_cv_prog_CC="$CC" # Let the user override the test.
3961 else
3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 for as_dir in $PATH
3964 do
3965 IFS=$as_save_IFS
3966 test -z "$as_dir" && as_dir=.
3967 for ac_exec_ext in '' $ac_executable_extensions; do
3968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3969 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 break 2
3972 fi
3973 done
3974 done
3975 IFS=$as_save_IFS
3976
3977 fi
3978 fi
3979 CC=$ac_cv_prog_CC
3980 if test -n "$CC"; then
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3982 $as_echo "$CC" >&6; }
3983 else
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985 $as_echo "no" >&6; }
3986 fi
3987
3988
3989 fi
3990 if test -z "$ac_cv_prog_CC"; then
3991 ac_ct_CC=$CC
3992 # Extract the first word of "gcc", so it can be a program name with args.
3993 set dummy gcc; ac_word=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3997 $as_echo_n "(cached) " >&6
3998 else
3999 if test -n "$ac_ct_CC"; then
4000 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4001 else
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 for as_dir in $PATH
4004 do
4005 IFS=$as_save_IFS
4006 test -z "$as_dir" && as_dir=.
4007 for ac_exec_ext in '' $ac_executable_extensions; do
4008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4009 ac_cv_prog_ac_ct_CC="gcc"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 break 2
4012 fi
4013 done
4014 done
4015 IFS=$as_save_IFS
4016
4017 fi
4018 fi
4019 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4020 if test -n "$ac_ct_CC"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4022 $as_echo "$ac_ct_CC" >&6; }
4023 else
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4026 fi
4027
4028 if test "x$ac_ct_CC" = x; then
4029 CC=""
4030 else
4031 case $cross_compiling:$ac_tool_warned in
4032 yes:)
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4035 ac_tool_warned=yes ;;
4036 esac
4037 CC=$ac_ct_CC
4038 fi
4039 else
4040 CC="$ac_cv_prog_CC"
4041 fi
4042
4043 if test -z "$CC"; then
4044 if test -n "$ac_tool_prefix"; then
4045 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4046 set dummy ${ac_tool_prefix}cc; ac_word=$2
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048 $as_echo_n "checking for $ac_word... " >&6; }
4049 if ${ac_cv_prog_CC+:} false; then :
4050 $as_echo_n "(cached) " >&6
4051 else
4052 if test -n "$CC"; then
4053 ac_cv_prog_CC="$CC" # Let the user override the test.
4054 else
4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056 for as_dir in $PATH
4057 do
4058 IFS=$as_save_IFS
4059 test -z "$as_dir" && as_dir=.
4060 for ac_exec_ext in '' $ac_executable_extensions; do
4061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4062 ac_cv_prog_CC="${ac_tool_prefix}cc"
4063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 break 2
4065 fi
4066 done
4067 done
4068 IFS=$as_save_IFS
4069
4070 fi
4071 fi
4072 CC=$ac_cv_prog_CC
4073 if test -n "$CC"; then
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4075 $as_echo "$CC" >&6; }
4076 else
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4079 fi
4080
4081
4082 fi
4083 fi
4084 if test -z "$CC"; then
4085 # Extract the first word of "cc", so it can be a program name with args.
4086 set dummy cc; ac_word=$2
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088 $as_echo_n "checking for $ac_word... " >&6; }
4089 if ${ac_cv_prog_CC+:} false; then :
4090 $as_echo_n "(cached) " >&6
4091 else
4092 if test -n "$CC"; then
4093 ac_cv_prog_CC="$CC" # Let the user override the test.
4094 else
4095 ac_prog_rejected=no
4096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 for as_dir in $PATH
4098 do
4099 IFS=$as_save_IFS
4100 test -z "$as_dir" && as_dir=.
4101 for ac_exec_ext in '' $ac_executable_extensions; do
4102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4103 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4104 ac_prog_rejected=yes
4105 continue
4106 fi
4107 ac_cv_prog_CC="cc"
4108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 break 2
4110 fi
4111 done
4112 done
4113 IFS=$as_save_IFS
4114
4115 if test $ac_prog_rejected = yes; then
4116 # We found a bogon in the path, so make sure we never use it.
4117 set dummy $ac_cv_prog_CC
4118 shift
4119 if test $@%:@ != 0; then
4120 # We chose a different compiler from the bogus one.
4121 # However, it has the same basename, so the bogon will be chosen
4122 # first if we set CC to just the basename; use the full file name.
4123 shift
4124 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4125 fi
4126 fi
4127 fi
4128 fi
4129 CC=$ac_cv_prog_CC
4130 if test -n "$CC"; then
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4132 $as_echo "$CC" >&6; }
4133 else
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4136 fi
4137
4138
4139 fi
4140 if test -z "$CC"; then
4141 if test -n "$ac_tool_prefix"; then
4142 for ac_prog in cl.exe
4143 do
4144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4147 $as_echo_n "checking for $ac_word... " >&6; }
4148 if ${ac_cv_prog_CC+:} false; then :
4149 $as_echo_n "(cached) " >&6
4150 else
4151 if test -n "$CC"; then
4152 ac_cv_prog_CC="$CC" # Let the user override the test.
4153 else
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4155 for as_dir in $PATH
4156 do
4157 IFS=$as_save_IFS
4158 test -z "$as_dir" && as_dir=.
4159 for ac_exec_ext in '' $ac_executable_extensions; do
4160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4161 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4163 break 2
4164 fi
4165 done
4166 done
4167 IFS=$as_save_IFS
4168
4169 fi
4170 fi
4171 CC=$ac_cv_prog_CC
4172 if test -n "$CC"; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4174 $as_echo "$CC" >&6; }
4175 else
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4177 $as_echo "no" >&6; }
4178 fi
4179
4180
4181 test -n "$CC" && break
4182 done
4183 fi
4184 if test -z "$CC"; then
4185 ac_ct_CC=$CC
4186 for ac_prog in cl.exe
4187 do
4188 # Extract the first word of "$ac_prog", so it can be a program name with args.
4189 set dummy $ac_prog; ac_word=$2
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191 $as_echo_n "checking for $ac_word... " >&6; }
4192 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4193 $as_echo_n "(cached) " >&6
4194 else
4195 if test -n "$ac_ct_CC"; then
4196 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4197 else
4198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4199 for as_dir in $PATH
4200 do
4201 IFS=$as_save_IFS
4202 test -z "$as_dir" && as_dir=.
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4205 ac_cv_prog_ac_ct_CC="$ac_prog"
4206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 break 2
4208 fi
4209 done
4210 done
4211 IFS=$as_save_IFS
4212
4213 fi
4214 fi
4215 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4216 if test -n "$ac_ct_CC"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4218 $as_echo "$ac_ct_CC" >&6; }
4219 else
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4222 fi
4223
4224
4225 test -n "$ac_ct_CC" && break
4226 done
4227
4228 if test "x$ac_ct_CC" = x; then
4229 CC=""
4230 else
4231 case $cross_compiling:$ac_tool_warned in
4232 yes:)
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4235 ac_tool_warned=yes ;;
4236 esac
4237 CC=$ac_ct_CC
4238 fi
4239 fi
4240
4241 fi
4242
4243
4244 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4246 as_fn_error $? "no acceptable C compiler found in \$PATH
4247 See \`config.log' for more details" "$LINENO" 5; }
4248
4249 # Provide some information about the compiler.
4250 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4251 set X $ac_compile
4252 ac_compiler=$2
4253 for ac_option in --version -v -V -qversion; do
4254 { { ac_try="$ac_compiler $ac_option >&5"
4255 case "(($ac_try" in
4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4258 esac
4259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4260 $as_echo "$ac_try_echo"; } >&5
4261 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4262 ac_status=$?
4263 if test -s conftest.err; then
4264 sed '10a\
4265 ... rest of stderr output deleted ...
4266 10q' conftest.err >conftest.er1
4267 cat conftest.er1 >&5
4268 fi
4269 rm -f conftest.er1 conftest.err
4270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4271 test $ac_status = 0; }
4272 done
4273
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4275 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4276 if ${ac_cv_c_compiler_gnu+:} false; then :
4277 $as_echo_n "(cached) " >&6
4278 else
4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4281
4282 int
4283 main ()
4284 {
4285 #ifndef __GNUC__
4286 choke me
4287 #endif
4288
4289 ;
4290 return 0;
4291 }
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4294 ac_compiler_gnu=yes
4295 else
4296 ac_compiler_gnu=no
4297 fi
4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4299 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4300
4301 fi
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4303 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4304 if test $ac_compiler_gnu = yes; then
4305 GCC=yes
4306 else
4307 GCC=
4308 fi
4309 ac_test_CFLAGS=${CFLAGS+set}
4310 ac_save_CFLAGS=$CFLAGS
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4312 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4313 if ${ac_cv_prog_cc_g+:} false; then :
4314 $as_echo_n "(cached) " >&6
4315 else
4316 ac_save_c_werror_flag=$ac_c_werror_flag
4317 ac_c_werror_flag=yes
4318 ac_cv_prog_cc_g=no
4319 CFLAGS="-g"
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4322
4323 int
4324 main ()
4325 {
4326
4327 ;
4328 return 0;
4329 }
4330 _ACEOF
4331 if ac_fn_c_try_compile "$LINENO"; then :
4332 ac_cv_prog_cc_g=yes
4333 else
4334 CFLAGS=""
4335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4336 /* end confdefs.h. */
4337
4338 int
4339 main ()
4340 {
4341
4342 ;
4343 return 0;
4344 }
4345 _ACEOF
4346 if ac_fn_c_try_compile "$LINENO"; then :
4347
4348 else
4349 ac_c_werror_flag=$ac_save_c_werror_flag
4350 CFLAGS="-g"
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4353
4354 int
4355 main ()
4356 {
4357
4358 ;
4359 return 0;
4360 }
4361 _ACEOF
4362 if ac_fn_c_try_compile "$LINENO"; then :
4363 ac_cv_prog_cc_g=yes
4364 fi
4365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4366 fi
4367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4368 fi
4369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4370 ac_c_werror_flag=$ac_save_c_werror_flag
4371 fi
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4373 $as_echo "$ac_cv_prog_cc_g" >&6; }
4374 if test "$ac_test_CFLAGS" = set; then
4375 CFLAGS=$ac_save_CFLAGS
4376 elif test $ac_cv_prog_cc_g = yes; then
4377 if test "$GCC" = yes; then
4378 CFLAGS="-g -O2"
4379 else
4380 CFLAGS="-g"
4381 fi
4382 else
4383 if test "$GCC" = yes; then
4384 CFLAGS="-O2"
4385 else
4386 CFLAGS=
4387 fi
4388 fi
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4390 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4391 if ${ac_cv_prog_cc_c89+:} false; then :
4392 $as_echo_n "(cached) " >&6
4393 else
4394 ac_cv_prog_cc_c89=no
4395 ac_save_CC=$CC
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4398 #include <stdarg.h>
4399 #include <stdio.h>
4400 struct stat;
4401 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4402 struct buf { int x; };
4403 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4404 static char *e (p, i)
4405 char **p;
4406 int i;
4407 {
4408 return p[i];
4409 }
4410 static char *f (char * (*g) (char **, int), char **p, ...)
4411 {
4412 char *s;
4413 va_list v;
4414 va_start (v,p);
4415 s = g (p, va_arg (v,int));
4416 va_end (v);
4417 return s;
4418 }
4419
4420 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4421 function prototypes and stuff, but not '\xHH' hex character constants.
4422 These don't provoke an error unfortunately, instead are silently treated
4423 as 'x'. The following induces an error, until -std is added to get
4424 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4425 array size at least. It's necessary to write '\x00'==0 to get something
4426 that's true only with -std. */
4427 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4428
4429 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4430 inside strings and character constants. */
4431 #define FOO(x) 'x'
4432 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4433
4434 int test (int i, double x);
4435 struct s1 {int (*f) (int a);};
4436 struct s2 {int (*f) (double a);};
4437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4438 int argc;
4439 char **argv;
4440 int
4441 main ()
4442 {
4443 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4444 ;
4445 return 0;
4446 }
4447 _ACEOF
4448 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4449 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4450 do
4451 CC="$ac_save_CC $ac_arg"
4452 if ac_fn_c_try_compile "$LINENO"; then :
4453 ac_cv_prog_cc_c89=$ac_arg
4454 fi
4455 rm -f core conftest.err conftest.$ac_objext
4456 test "x$ac_cv_prog_cc_c89" != "xno" && break
4457 done
4458 rm -f conftest.$ac_ext
4459 CC=$ac_save_CC
4460
4461 fi
4462 # AC_CACHE_VAL
4463 case "x$ac_cv_prog_cc_c89" in
4464 x)
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4466 $as_echo "none needed" >&6; } ;;
4467 xno)
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4469 $as_echo "unsupported" >&6; } ;;
4470 *)
4471 CC="$CC $ac_cv_prog_cc_c89"
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4473 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4474 esac
4475 if test "x$ac_cv_prog_cc_c89" != xno; then :
4476
4477 fi
4478
4479 ac_ext=cpp
4480 ac_cpp='$CXXCPP $CPPFLAGS'
4481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4484
4485 depcc="$CC" am_compiler_list=
4486
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4488 $as_echo_n "checking dependency style of $depcc... " >&6; }
4489 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4490 $as_echo_n "(cached) " >&6
4491 else
4492 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4493 # We make a subdir and do the tests there. Otherwise we can end up
4494 # making bogus files that we don't know about and never remove. For
4495 # instance it was reported that on HP-UX the gcc test will end up
4496 # making a dummy file named `D' -- because `-MD' means `put the output
4497 # in D'.
4498 mkdir conftest.dir
4499 # Copy depcomp to subdir because otherwise we won't find it if we're
4500 # using a relative directory.
4501 cp "$am_depcomp" conftest.dir
4502 cd conftest.dir
4503 # We will build objects and dependencies in a subdirectory because
4504 # it helps to detect inapplicable dependency modes. For instance
4505 # both Tru64's cc and ICC support -MD to output dependencies as a
4506 # side effect of compilation, but ICC will put the dependencies in
4507 # the current directory while Tru64 will put them in the object
4508 # directory.
4509 mkdir sub
4510
4511 am_cv_CC_dependencies_compiler_type=none
4512 if test "$am_compiler_list" = ""; then
4513 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4514 fi
4515 am__universal=false
4516 case " $depcc " in #(
4517 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4518 esac
4519
4520 for depmode in $am_compiler_list; do
4521 # Setup a source with many dependencies, because some compilers
4522 # like to wrap large dependency lists on column 80 (with \), and
4523 # we should not choose a depcomp mode which is confused by this.
4524 #
4525 # We need to recreate these files for each test, as the compiler may
4526 # overwrite some of them when testing with obscure command lines.
4527 # This happens at least with the AIX C compiler.
4528 : > sub/conftest.c
4529 for i in 1 2 3 4 5 6; do
4530 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4531 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4532 # Solaris 8's {/usr,}/bin/sh.
4533 touch sub/conftst$i.h
4534 done
4535 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4536
4537 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4538 # mode. It turns out that the SunPro C++ compiler does not properly
4539 # handle `-M -o', and we need to detect this. Also, some Intel
4540 # versions had trouble with output in subdirs
4541 am__obj=sub/conftest.${OBJEXT-o}
4542 am__minus_obj="-o $am__obj"
4543 case $depmode in
4544 gcc)
4545 # This depmode causes a compiler race in universal mode.
4546 test "$am__universal" = false || continue
4547 ;;
4548 nosideeffect)
4549 # after this tag, mechanisms are not by side-effect, so they'll
4550 # only be used when explicitly requested
4551 if test "x$enable_dependency_tracking" = xyes; then
4552 continue
4553 else
4554 break
4555 fi
4556 ;;
4557 msvisualcpp | msvcmsys)
4558 # This compiler won't grok `-c -o', but also, the minuso test has
4559 # not run yet. These depmodes are late enough in the game, and
4560 # so weak that their functioning should not be impacted.
4561 am__obj=conftest.${OBJEXT-o}
4562 am__minus_obj=
4563 ;;
4564 none) break ;;
4565 esac
4566 if depmode=$depmode \
4567 source=sub/conftest.c object=$am__obj \
4568 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4569 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4570 >/dev/null 2>conftest.err &&
4571 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4572 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4573 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4574 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4575 # icc doesn't choke on unknown options, it will just issue warnings
4576 # or remarks (even with -Werror). So we grep stderr for any message
4577 # that says an option was ignored or not supported.
4578 # When given -MP, icc 7.0 and 7.1 complain thusly:
4579 # icc: Command line warning: ignoring option '-M'; no argument required
4580 # The diagnosis changed in icc 8.0:
4581 # icc: Command line remark: option '-MP' not supported
4582 if (grep 'ignoring option' conftest.err ||
4583 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4584 am_cv_CC_dependencies_compiler_type=$depmode
4585 break
4586 fi
4587 fi
4588 done
4589
4590 cd ..
4591 rm -rf conftest.dir
4592 else
4593 am_cv_CC_dependencies_compiler_type=none
4594 fi
4595
4596 fi
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4598 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4599 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4600
4601 if
4602 test "x$enable_dependency_tracking" != xno \
4603 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4604 am__fastdepCC_TRUE=
4605 am__fastdepCC_FALSE='#'
4606 else
4607 am__fastdepCC_TRUE='#'
4608 am__fastdepCC_FALSE=
4609 fi
4610
4611
4612 ac_ext=c
4613 ac_cpp='$CPP $CPPFLAGS'
4614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4618 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4619 # On Suns, sometimes $CPP names a directory.
4620 if test -n "$CPP" && test -d "$CPP"; then
4621 CPP=
4622 fi
4623 if test -z "$CPP"; then
4624 if ${ac_cv_prog_CPP+:} false; then :
4625 $as_echo_n "(cached) " >&6
4626 else
4627 # Double quotes because CPP needs to be expanded
4628 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4629 do
4630 ac_preproc_ok=false
4631 for ac_c_preproc_warn_flag in '' yes
4632 do
4633 # Use a header file that comes with gcc, so configuring glibc
4634 # with a fresh cross-compiler works.
4635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4636 # <limits.h> exists even on freestanding compilers.
4637 # On the NeXT, cc -E runs the code through the compiler's parser,
4638 # not just through cpp. "Syntax error" is here to catch this case.
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4641 @%:@ifdef __STDC__
4642 @%:@ include <limits.h>
4643 @%:@else
4644 @%:@ include <assert.h>
4645 @%:@endif
4646 Syntax error
4647 _ACEOF
4648 if ac_fn_c_try_cpp "$LINENO"; then :
4649
4650 else
4651 # Broken: fails on valid input.
4652 continue
4653 fi
4654 rm -f conftest.err conftest.i conftest.$ac_ext
4655
4656 # OK, works on sane cases. Now check whether nonexistent headers
4657 # can be detected and how.
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4660 @%:@include <ac_nonexistent.h>
4661 _ACEOF
4662 if ac_fn_c_try_cpp "$LINENO"; then :
4663 # Broken: success on invalid input.
4664 continue
4665 else
4666 # Passes both tests.
4667 ac_preproc_ok=:
4668 break
4669 fi
4670 rm -f conftest.err conftest.i conftest.$ac_ext
4671
4672 done
4673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4674 rm -f conftest.i conftest.err conftest.$ac_ext
4675 if $ac_preproc_ok; then :
4676 break
4677 fi
4678
4679 done
4680 ac_cv_prog_CPP=$CPP
4681
4682 fi
4683 CPP=$ac_cv_prog_CPP
4684 else
4685 ac_cv_prog_CPP=$CPP
4686 fi
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4688 $as_echo "$CPP" >&6; }
4689 ac_preproc_ok=false
4690 for ac_c_preproc_warn_flag in '' yes
4691 do
4692 # Use a header file that comes with gcc, so configuring glibc
4693 # with a fresh cross-compiler works.
4694 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4695 # <limits.h> exists even on freestanding compilers.
4696 # On the NeXT, cc -E runs the code through the compiler's parser,
4697 # not just through cpp. "Syntax error" is here to catch this case.
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4700 @%:@ifdef __STDC__
4701 @%:@ include <limits.h>
4702 @%:@else
4703 @%:@ include <assert.h>
4704 @%:@endif
4705 Syntax error
4706 _ACEOF
4707 if ac_fn_c_try_cpp "$LINENO"; then :
4708
4709 else
4710 # Broken: fails on valid input.
4711 continue
4712 fi
4713 rm -f conftest.err conftest.i conftest.$ac_ext
4714
4715 # OK, works on sane cases. Now check whether nonexistent headers
4716 # can be detected and how.
4717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4719 @%:@include <ac_nonexistent.h>
4720 _ACEOF
4721 if ac_fn_c_try_cpp "$LINENO"; then :
4722 # Broken: success on invalid input.
4723 continue
4724 else
4725 # Passes both tests.
4726 ac_preproc_ok=:
4727 break
4728 fi
4729 rm -f conftest.err conftest.i conftest.$ac_ext
4730
4731 done
4732 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4733 rm -f conftest.i conftest.err conftest.$ac_ext
4734 if $ac_preproc_ok; then :
4735
4736 else
4737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4739 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4740 See \`config.log' for more details" "$LINENO" 5; }
4741 fi
4742
4743 ac_ext=cpp
4744 ac_cpp='$CXXCPP $CPPFLAGS'
4745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4748
4749
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4751 $as_echo_n "checking whether ln -s works... " >&6; }
4752 LN_S=$as_ln_s
4753 if test "$LN_S" = "ln -s"; then
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4755 $as_echo "yes" >&6; }
4756 else
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4758 $as_echo "no, using $LN_S" >&6; }
4759 fi
4760
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4762 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4763 set x ${MAKE-make}
4764 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4765 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4766 $as_echo_n "(cached) " >&6
4767 else
4768 cat >conftest.make <<\_ACEOF
4769 SHELL = /bin/sh
4770 all:
4771 @echo '@@@%%%=$(MAKE)=@@@%%%'
4772 _ACEOF
4773 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4774 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4775 *@@@%%%=?*=@@@%%%*)
4776 eval ac_cv_prog_make_${ac_make}_set=yes;;
4777 *)
4778 eval ac_cv_prog_make_${ac_make}_set=no;;
4779 esac
4780 rm -f conftest.make
4781 fi
4782 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4784 $as_echo "yes" >&6; }
4785 SET_MAKE=
4786 else
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4789 SET_MAKE="MAKE=${MAKE-make}"
4790 fi
4791
4792
4793 # Extract the first word of "swig", so it can be a program name with args.
4794 set dummy swig; ac_word=$2
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4796 $as_echo_n "checking for $ac_word... " >&6; }
4797 if ${ac_cv_path_SWIG+:} false; then :
4798 $as_echo_n "(cached) " >&6
4799 else
4800 case $SWIG in
4801 [\\/]* | ?:[\\/]*)
4802 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
4803 ;;
4804 *)
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 for as_dir in $PATH
4807 do
4808 IFS=$as_save_IFS
4809 test -z "$as_dir" && as_dir=.
4810 for ac_exec_ext in '' $ac_executable_extensions; do
4811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4812 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
4813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 break 2
4815 fi
4816 done
4817 done
4818 IFS=$as_save_IFS
4819
4820 ;;
4821 esac
4822 fi
4823 SWIG=$ac_cv_path_SWIG
4824 if test -n "$SWIG"; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
4826 $as_echo "$SWIG" >&6; }
4827 else
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4830 fi
4831
4832
4833 # we use this to track the existance of swig
4834 has_swig=0
4835 if test -z "$SWIG" ; then
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&5
4837 $as_echo "$as_me: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&2;}
4838 SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
4839 elif test -n "1.1.5" ; then
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWIG version" >&5
4841 $as_echo_n "checking for SWIG version... " >&6; }
4842 swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
4844 $as_echo "$swig_version" >&6; }
4845 if test -n "$swig_version" ; then
4846 # Calculate the required version number components
4847 required=1.1.5
4848 required_major=`echo $required | sed 's/[^0-9].*//'`
4849 if test -z "$required_major" ; then
4850 required_major=0
4851 fi
4852 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
4853 required_minor=`echo $required | sed 's/[^0-9].*//'`
4854 if test -z "$required_minor" ; then
4855 required_minor=0
4856 fi
4857 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
4858 required_patch=`echo $required | sed 's/[^0-9].*//'`
4859 if test -z "$required_patch" ; then
4860 required_patch=0
4861 fi
4862 # Calculate the available version number components
4863 available=`echo $swig_version | sed 's/[^0-9]*//'`
4864 available_major=`echo $available | sed 's/[^0-9].*//'`
4865 if test -z "$available_major" ; then
4866 available_major=0
4867 fi
4868 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
4869 available_minor=`echo $available | sed 's/[^0-9].*//'`
4870 if test -z "$available_minor" ; then
4871 available_minor=0
4872 fi
4873 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
4874 available_patch=`echo $available | sed -e 's/.*Patch[^0-9]*//' -e 's/[^0-9]*//g' `
4875 if test -z "$available_patch" ; then
4876 available_patch=0
4877 fi
4878 # we have two modes of comparison...
4879 if test x"eq" == xeq; then
4880 if test $available_major -ne $required_major \
4881 -o $available_minor -ne $required_minor \
4882 -o $available_patch -ne $required_patch ; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&5
4884 $as_echo "$as_me: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&2;}
4885 SWIG='echo "Error: SWIG version == 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
4886 else
4887 has_swig=1
4888 fi
4889 else
4890 if test $available_major -ne $required_major \
4891 -o $available_minor -ne $required_minor \
4892 -o $available_patch -lt $required_patch ; then
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&5
4894 $as_echo "$as_me: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
4895 SWIG='echo "Error: SWIG version >= 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
4896 else
4897 has_swig=1
4898 fi
4899 fi
4900 else
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
4902 $as_echo "$as_me: WARNING: cannot determine SWIG version" >&2;}
4903 SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
4904 fi
4905 fi
4906 if test ! -z "$has_swig"; then
4907 SWIG_LIB=`$SWIG -swiglib`
4908 if test 1; then
4909 HAS_SWIG_TRUE=
4910 HAS_SWIG_FALSE='#'
4911 else
4912 HAS_SWIG_TRUE='#'
4913 HAS_SWIG_FALSE=
4914 fi
4915
4916 else
4917 if test 0; then
4918 HAS_SWIG_TRUE=
4919 HAS_SWIG_FALSE='#'
4920 else
4921 HAS_SWIG_TRUE='#'
4922 HAS_SWIG_FALSE=
4923 fi
4924
4925 fi
4926
4927
4928
4929 CFLAGS="$save_cflags"
4930 CXXFLAGS="$save_cxxflags"
4931
4932 case `pwd` in
4933 *\ * | *\ *)
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4935 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4936 esac
4937
4938
4939
4940 macro_version='2.2.6b'
4941 macro_revision='1.3017'
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955 ltmain="$ac_aux_dir/ltmain.sh"
4956
4957 # Make sure we can run config.sub.
4958 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4959 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4960
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4962 $as_echo_n "checking build system type... " >&6; }
4963 if ${ac_cv_build+:} false; then :
4964 $as_echo_n "(cached) " >&6
4965 else
4966 ac_build_alias=$build_alias
4967 test "x$ac_build_alias" = x &&
4968 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4969 test "x$ac_build_alias" = x &&
4970 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4971 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4972 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4973
4974 fi
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4976 $as_echo "$ac_cv_build" >&6; }
4977 case $ac_cv_build in
4978 *-*-*) ;;
4979 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4980 esac
4981 build=$ac_cv_build
4982 ac_save_IFS=$IFS; IFS='-'
4983 set x $ac_cv_build
4984 shift
4985 build_cpu=$1
4986 build_vendor=$2
4987 shift; shift
4988 # Remember, the first character of IFS is used to create $*,
4989 # except with old shells:
4990 build_os=$*
4991 IFS=$ac_save_IFS
4992 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4993
4994
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4996 $as_echo_n "checking host system type... " >&6; }
4997 if ${ac_cv_host+:} false; then :
4998 $as_echo_n "(cached) " >&6
4999 else
5000 if test "x$host_alias" = x; then
5001 ac_cv_host=$ac_cv_build
5002 else
5003 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5004 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5005 fi
5006
5007 fi
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5009 $as_echo "$ac_cv_host" >&6; }
5010 case $ac_cv_host in
5011 *-*-*) ;;
5012 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5013 esac
5014 host=$ac_cv_host
5015 ac_save_IFS=$IFS; IFS='-'
5016 set x $ac_cv_host
5017 shift
5018 host_cpu=$1
5019 host_vendor=$2
5020 shift; shift
5021 # Remember, the first character of IFS is used to create $*,
5022 # except with old shells:
5023 host_os=$*
5024 IFS=$ac_save_IFS
5025 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5026
5027
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5029 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5030 if ${ac_cv_path_SED+:} false; then :
5031 $as_echo_n "(cached) " >&6
5032 else
5033 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5034 for ac_i in 1 2 3 4 5 6 7; do
5035 ac_script="$ac_script$as_nl$ac_script"
5036 done
5037 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5038 { ac_script=; unset ac_script;}
5039 if test -z "$SED"; then
5040 ac_path_SED_found=false
5041 # Loop through the user's path and test for each of PROGNAME-LIST
5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 for as_dir in $PATH
5044 do
5045 IFS=$as_save_IFS
5046 test -z "$as_dir" && as_dir=.
5047 for ac_prog in sed gsed; do
5048 for ac_exec_ext in '' $ac_executable_extensions; do
5049 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5050 as_fn_executable_p "$ac_path_SED" || continue
5051 # Check for GNU ac_path_SED and select it if it is found.
5052 # Check for GNU $ac_path_SED
5053 case `"$ac_path_SED" --version 2>&1` in
5054 *GNU*)
5055 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5056 *)
5057 ac_count=0
5058 $as_echo_n 0123456789 >"conftest.in"
5059 while :
5060 do
5061 cat "conftest.in" "conftest.in" >"conftest.tmp"
5062 mv "conftest.tmp" "conftest.in"
5063 cp "conftest.in" "conftest.nl"
5064 $as_echo '' >> "conftest.nl"
5065 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5066 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5067 as_fn_arith $ac_count + 1 && ac_count=$as_val
5068 if test $ac_count -gt ${ac_path_SED_max-0}; then
5069 # Best one so far, save it but keep looking for a better one
5070 ac_cv_path_SED="$ac_path_SED"
5071 ac_path_SED_max=$ac_count
5072 fi
5073 # 10*(2^10) chars as input seems more than enough
5074 test $ac_count -gt 10 && break
5075 done
5076 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5077 esac
5078
5079 $ac_path_SED_found && break 3
5080 done
5081 done
5082 done
5083 IFS=$as_save_IFS
5084 if test -z "$ac_cv_path_SED"; then
5085 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5086 fi
5087 else
5088 ac_cv_path_SED=$SED
5089 fi
5090
5091 fi
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5093 $as_echo "$ac_cv_path_SED" >&6; }
5094 SED="$ac_cv_path_SED"
5095 rm -f conftest.sed
5096
5097 test -z "$SED" && SED=sed
5098 Xsed="$SED -e 1s/^X//"
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5111 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5112 if ${ac_cv_path_GREP+:} false; then :
5113 $as_echo_n "(cached) " >&6
5114 else
5115 if test -z "$GREP"; then
5116 ac_path_GREP_found=false
5117 # Loop through the user's path and test for each of PROGNAME-LIST
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5120 do
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_prog in grep ggrep; do
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5126 as_fn_executable_p "$ac_path_GREP" || continue
5127 # Check for GNU ac_path_GREP and select it if it is found.
5128 # Check for GNU $ac_path_GREP
5129 case `"$ac_path_GREP" --version 2>&1` in
5130 *GNU*)
5131 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5132 *)
5133 ac_count=0
5134 $as_echo_n 0123456789 >"conftest.in"
5135 while :
5136 do
5137 cat "conftest.in" "conftest.in" >"conftest.tmp"
5138 mv "conftest.tmp" "conftest.in"
5139 cp "conftest.in" "conftest.nl"
5140 $as_echo 'GREP' >> "conftest.nl"
5141 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5142 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5143 as_fn_arith $ac_count + 1 && ac_count=$as_val
5144 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5145 # Best one so far, save it but keep looking for a better one
5146 ac_cv_path_GREP="$ac_path_GREP"
5147 ac_path_GREP_max=$ac_count
5148 fi
5149 # 10*(2^10) chars as input seems more than enough
5150 test $ac_count -gt 10 && break
5151 done
5152 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5153 esac
5154
5155 $ac_path_GREP_found && break 3
5156 done
5157 done
5158 done
5159 IFS=$as_save_IFS
5160 if test -z "$ac_cv_path_GREP"; then
5161 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5162 fi
5163 else
5164 ac_cv_path_GREP=$GREP
5165 fi
5166
5167 fi
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5169 $as_echo "$ac_cv_path_GREP" >&6; }
5170 GREP="$ac_cv_path_GREP"
5171
5172
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5174 $as_echo_n "checking for egrep... " >&6; }
5175 if ${ac_cv_path_EGREP+:} false; then :
5176 $as_echo_n "(cached) " >&6
5177 else
5178 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5179 then ac_cv_path_EGREP="$GREP -E"
5180 else
5181 if test -z "$EGREP"; then
5182 ac_path_EGREP_found=false
5183 # Loop through the user's path and test for each of PROGNAME-LIST
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5186 do
5187 IFS=$as_save_IFS
5188 test -z "$as_dir" && as_dir=.
5189 for ac_prog in egrep; do
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5192 as_fn_executable_p "$ac_path_EGREP" || continue
5193 # Check for GNU ac_path_EGREP and select it if it is found.
5194 # Check for GNU $ac_path_EGREP
5195 case `"$ac_path_EGREP" --version 2>&1` in
5196 *GNU*)
5197 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5198 *)
5199 ac_count=0
5200 $as_echo_n 0123456789 >"conftest.in"
5201 while :
5202 do
5203 cat "conftest.in" "conftest.in" >"conftest.tmp"
5204 mv "conftest.tmp" "conftest.in"
5205 cp "conftest.in" "conftest.nl"
5206 $as_echo 'EGREP' >> "conftest.nl"
5207 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5208 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5209 as_fn_arith $ac_count + 1 && ac_count=$as_val
5210 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5211 # Best one so far, save it but keep looking for a better one
5212 ac_cv_path_EGREP="$ac_path_EGREP"
5213 ac_path_EGREP_max=$ac_count
5214 fi
5215 # 10*(2^10) chars as input seems more than enough
5216 test $ac_count -gt 10 && break
5217 done
5218 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5219 esac
5220
5221 $ac_path_EGREP_found && break 3
5222 done
5223 done
5224 done
5225 IFS=$as_save_IFS
5226 if test -z "$ac_cv_path_EGREP"; then
5227 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5228 fi
5229 else
5230 ac_cv_path_EGREP=$EGREP
5231 fi
5232
5233 fi
5234 fi
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5236 $as_echo "$ac_cv_path_EGREP" >&6; }
5237 EGREP="$ac_cv_path_EGREP"
5238
5239
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5241 $as_echo_n "checking for fgrep... " >&6; }
5242 if ${ac_cv_path_FGREP+:} false; then :
5243 $as_echo_n "(cached) " >&6
5244 else
5245 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5246 then ac_cv_path_FGREP="$GREP -F"
5247 else
5248 if test -z "$FGREP"; then
5249 ac_path_FGREP_found=false
5250 # Loop through the user's path and test for each of PROGNAME-LIST
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5253 do
5254 IFS=$as_save_IFS
5255 test -z "$as_dir" && as_dir=.
5256 for ac_prog in fgrep; do
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5259 as_fn_executable_p "$ac_path_FGREP" || continue
5260 # Check for GNU ac_path_FGREP and select it if it is found.
5261 # Check for GNU $ac_path_FGREP
5262 case `"$ac_path_FGREP" --version 2>&1` in
5263 *GNU*)
5264 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5265 *)
5266 ac_count=0
5267 $as_echo_n 0123456789 >"conftest.in"
5268 while :
5269 do
5270 cat "conftest.in" "conftest.in" >"conftest.tmp"
5271 mv "conftest.tmp" "conftest.in"
5272 cp "conftest.in" "conftest.nl"
5273 $as_echo 'FGREP' >> "conftest.nl"
5274 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5275 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5276 as_fn_arith $ac_count + 1 && ac_count=$as_val
5277 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5278 # Best one so far, save it but keep looking for a better one
5279 ac_cv_path_FGREP="$ac_path_FGREP"
5280 ac_path_FGREP_max=$ac_count
5281 fi
5282 # 10*(2^10) chars as input seems more than enough
5283 test $ac_count -gt 10 && break
5284 done
5285 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5286 esac
5287
5288 $ac_path_FGREP_found && break 3
5289 done
5290 done
5291 done
5292 IFS=$as_save_IFS
5293 if test -z "$ac_cv_path_FGREP"; then
5294 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5295 fi
5296 else
5297 ac_cv_path_FGREP=$FGREP
5298 fi
5299
5300 fi
5301 fi
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5303 $as_echo "$ac_cv_path_FGREP" >&6; }
5304 FGREP="$ac_cv_path_FGREP"
5305
5306
5307 test -z "$GREP" && GREP=grep
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327 @%:@ Check whether --with-gnu-ld was given.
5328 if test "${with_gnu_ld+set}" = set; then :
5329 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5330 else
5331 with_gnu_ld=no
5332 fi
5333
5334 ac_prog=ld
5335 if test "$GCC" = yes; then
5336 # Check if gcc -print-prog-name=ld gives a path.
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5338 $as_echo_n "checking for ld used by $CC... " >&6; }
5339 case $host in
5340 *-*-mingw*)
5341 # gcc leaves a trailing carriage return which upsets mingw
5342 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5343 *)
5344 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5345 esac
5346 case $ac_prog in
5347 # Accept absolute paths.
5348 [\\/]* | ?:[\\/]*)
5349 re_direlt='/[^/][^/]*/\.\./'
5350 # Canonicalize the pathname of ld
5351 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5352 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5353 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5354 done
5355 test -z "$LD" && LD="$ac_prog"
5356 ;;
5357 "")
5358 # If it fails, then pretend we aren't using GCC.
5359 ac_prog=ld
5360 ;;
5361 *)
5362 # If it is relative, then search for the first ld in PATH.
5363 with_gnu_ld=unknown
5364 ;;
5365 esac
5366 elif test "$with_gnu_ld" = yes; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5368 $as_echo_n "checking for GNU ld... " >&6; }
5369 else
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5371 $as_echo_n "checking for non-GNU ld... " >&6; }
5372 fi
5373 if ${lt_cv_path_LD+:} false; then :
5374 $as_echo_n "(cached) " >&6
5375 else
5376 if test -z "$LD"; then
5377 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5378 for ac_dir in $PATH; do
5379 IFS="$lt_save_ifs"
5380 test -z "$ac_dir" && ac_dir=.
5381 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5382 lt_cv_path_LD="$ac_dir/$ac_prog"
5383 # Check to see if the program is GNU ld. I'd rather use --version,
5384 # but apparently some variants of GNU ld only accept -v.
5385 # Break only if it was the GNU/non-GNU ld that we prefer.
5386 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5387 *GNU* | *'with BFD'*)
5388 test "$with_gnu_ld" != no && break
5389 ;;
5390 *)
5391 test "$with_gnu_ld" != yes && break
5392 ;;
5393 esac
5394 fi
5395 done
5396 IFS="$lt_save_ifs"
5397 else
5398 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5399 fi
5400 fi
5401
5402 LD="$lt_cv_path_LD"
5403 if test -n "$LD"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5405 $as_echo "$LD" >&6; }
5406 else
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5409 fi
5410 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5412 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5413 if ${lt_cv_prog_gnu_ld+:} false; then :
5414 $as_echo_n "(cached) " >&6
5415 else
5416 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5417 case `$LD -v 2>&1 </dev/null` in
5418 *GNU* | *'with BFD'*)
5419 lt_cv_prog_gnu_ld=yes
5420 ;;
5421 *)
5422 lt_cv_prog_gnu_ld=no
5423 ;;
5424 esac
5425 fi
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5427 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5428 with_gnu_ld=$lt_cv_prog_gnu_ld
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5439 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5440 if ${lt_cv_path_NM+:} false; then :
5441 $as_echo_n "(cached) " >&6
5442 else
5443 if test -n "$NM"; then
5444 # Let the user override the test.
5445 lt_cv_path_NM="$NM"
5446 else
5447 lt_nm_to_check="${ac_tool_prefix}nm"
5448 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5449 lt_nm_to_check="$lt_nm_to_check nm"
5450 fi
5451 for lt_tmp_nm in $lt_nm_to_check; do
5452 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5453 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5454 IFS="$lt_save_ifs"
5455 test -z "$ac_dir" && ac_dir=.
5456 tmp_nm="$ac_dir/$lt_tmp_nm"
5457 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5458 # Check to see if the nm accepts a BSD-compat flag.
5459 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5460 # nm: unknown option "B" ignored
5461 # Tru64's nm complains that /dev/null is an invalid object file
5462 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5463 */dev/null* | *'Invalid file or object type'*)
5464 lt_cv_path_NM="$tmp_nm -B"
5465 break
5466 ;;
5467 *)
5468 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5469 */dev/null*)
5470 lt_cv_path_NM="$tmp_nm -p"
5471 break
5472 ;;
5473 *)
5474 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5475 continue # so that we can try to find one that supports BSD flags
5476 ;;
5477 esac
5478 ;;
5479 esac
5480 fi
5481 done
5482 IFS="$lt_save_ifs"
5483 done
5484 : ${lt_cv_path_NM=no}
5485 fi
5486 fi
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5488 $as_echo "$lt_cv_path_NM" >&6; }
5489 if test "$lt_cv_path_NM" != "no"; then
5490 NM="$lt_cv_path_NM"
5491 else
5492 # Didn't find any BSD compatible name lister, look for dumpbin.
5493 if test -n "$ac_tool_prefix"; then
5494 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5495 do
5496 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5497 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_DUMPBIN+:} false; then :
5501 $as_echo_n "(cached) " >&6
5502 else
5503 if test -n "$DUMPBIN"; then
5504 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5505 else
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH
5508 do
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 break 2
5516 fi
5517 done
5518 done
5519 IFS=$as_save_IFS
5520
5521 fi
5522 fi
5523 DUMPBIN=$ac_cv_prog_DUMPBIN
5524 if test -n "$DUMPBIN"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5526 $as_echo "$DUMPBIN" >&6; }
5527 else
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5530 fi
5531
5532
5533 test -n "$DUMPBIN" && break
5534 done
5535 fi
5536 if test -z "$DUMPBIN"; then
5537 ac_ct_DUMPBIN=$DUMPBIN
5538 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5539 do
5540 # Extract the first word of "$ac_prog", so it can be a program name with args.
5541 set dummy $ac_prog; ac_word=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5545 $as_echo_n "(cached) " >&6
5546 else
5547 if test -n "$ac_ct_DUMPBIN"; then
5548 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5549 else
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 for as_dir in $PATH
5552 do
5553 IFS=$as_save_IFS
5554 test -z "$as_dir" && as_dir=.
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5557 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559 break 2
5560 fi
5561 done
5562 done
5563 IFS=$as_save_IFS
5564
5565 fi
5566 fi
5567 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5568 if test -n "$ac_ct_DUMPBIN"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5570 $as_echo "$ac_ct_DUMPBIN" >&6; }
5571 else
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5574 fi
5575
5576
5577 test -n "$ac_ct_DUMPBIN" && break
5578 done
5579
5580 if test "x$ac_ct_DUMPBIN" = x; then
5581 DUMPBIN=":"
5582 else
5583 case $cross_compiling:$ac_tool_warned in
5584 yes:)
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5587 ac_tool_warned=yes ;;
5588 esac
5589 DUMPBIN=$ac_ct_DUMPBIN
5590 fi
5591 fi
5592
5593
5594 if test "$DUMPBIN" != ":"; then
5595 NM="$DUMPBIN"
5596 fi
5597 fi
5598 test -z "$NM" && NM=nm
5599
5600
5601
5602
5603
5604
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5606 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5607 if ${lt_cv_nm_interface+:} false; then :
5608 $as_echo_n "(cached) " >&6
5609 else
5610 lt_cv_nm_interface="BSD nm"
5611 echo "int some_variable = 0;" > conftest.$ac_ext
5612 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
5613 (eval "$ac_compile" 2>conftest.err)
5614 cat conftest.err >&5
5615 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5616 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5617 cat conftest.err >&5
5618 (eval echo "\"\$as_me:__oline__: output\"" >&5)
5619 cat conftest.out >&5
5620 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5621 lt_cv_nm_interface="MS dumpbin"
5622 fi
5623 rm -f conftest*
5624 fi
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5626 $as_echo "$lt_cv_nm_interface" >&6; }
5627
5628 # find the maximum length of command line arguments
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5630 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5631 if ${lt_cv_sys_max_cmd_len+:} false; then :
5632 $as_echo_n "(cached) " >&6
5633 else
5634 i=0
5635 teststring="ABCD"
5636
5637 case $build_os in
5638 msdosdjgpp*)
5639 # On DJGPP, this test can blow up pretty badly due to problems in libc
5640 # (any single argument exceeding 2000 bytes causes a buffer overrun
5641 # during glob expansion). Even if it were fixed, the result of this
5642 # check would be larger than it should be.
5643 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5644 ;;
5645
5646 gnu*)
5647 # Under GNU Hurd, this test is not required because there is
5648 # no limit to the length of command line arguments.
5649 # Libtool will interpret -1 as no limit whatsoever
5650 lt_cv_sys_max_cmd_len=-1;
5651 ;;
5652
5653 cygwin* | mingw* | cegcc*)
5654 # On Win9x/ME, this test blows up -- it succeeds, but takes
5655 # about 5 minutes as the teststring grows exponentially.
5656 # Worse, since 9x/ME are not pre-emptively multitasking,
5657 # you end up with a "frozen" computer, even though with patience
5658 # the test eventually succeeds (with a max line length of 256k).
5659 # Instead, let's just punt: use the minimum linelength reported by
5660 # all of the supported platforms: 8192 (on NT/2K/XP).
5661 lt_cv_sys_max_cmd_len=8192;
5662 ;;
5663
5664 amigaos*)
5665 # On AmigaOS with pdksh, this test takes hours, literally.
5666 # So we just punt and use a minimum line length of 8192.
5667 lt_cv_sys_max_cmd_len=8192;
5668 ;;
5669
5670 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5671 # This has been around since 386BSD, at least. Likely further.
5672 if test -x /sbin/sysctl; then
5673 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5674 elif test -x /usr/sbin/sysctl; then
5675 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5676 else
5677 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5678 fi
5679 # And add a safety zone
5680 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5681 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5682 ;;
5683
5684 interix*)
5685 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5686 lt_cv_sys_max_cmd_len=196608
5687 ;;
5688
5689 osf*)
5690 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5691 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5692 # nice to cause kernel panics so lets avoid the loop below.
5693 # First set a reasonable default.
5694 lt_cv_sys_max_cmd_len=16384
5695 #
5696 if test -x /sbin/sysconfig; then
5697 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5698 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5699 esac
5700 fi
5701 ;;
5702 sco3.2v5*)
5703 lt_cv_sys_max_cmd_len=102400
5704 ;;
5705 sysv5* | sco5v6* | sysv4.2uw2*)
5706 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5707 if test -n "$kargmax"; then
5708 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5709 else
5710 lt_cv_sys_max_cmd_len=32768
5711 fi
5712 ;;
5713 *)
5714 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5715 if test -n "$lt_cv_sys_max_cmd_len"; then
5716 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5717 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5718 else
5719 # Make teststring a little bigger before we do anything with it.
5720 # a 1K string should be a reasonable start.
5721 for i in 1 2 3 4 5 6 7 8 ; do
5722 teststring=$teststring$teststring
5723 done
5724 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5725 # If test is not a shell built-in, we'll probably end up computing a
5726 # maximum length that is only half of the actual maximum length, but
5727 # we can't tell.
5728 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5729 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5730 test $i != 17 # 1/2 MB should be enough
5731 do
5732 i=`expr $i + 1`
5733 teststring=$teststring$teststring
5734 done
5735 # Only check the string length outside the loop.
5736 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5737 teststring=
5738 # Add a significant safety factor because C++ compilers can tack on
5739 # massive amounts of additional arguments before passing them to the
5740 # linker. It appears as though 1/2 is a usable value.
5741 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5742 fi
5743 ;;
5744 esac
5745
5746 fi
5747
5748 if test -n $lt_cv_sys_max_cmd_len ; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5750 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5751 else
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5753 $as_echo "none" >&6; }
5754 fi
5755 max_cmd_len=$lt_cv_sys_max_cmd_len
5756
5757
5758
5759
5760
5761
5762 : ${CP="cp -f"}
5763 : ${MV="mv -f"}
5764 : ${RM="rm -f"}
5765
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5767 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5768 # Try some XSI features
5769 xsi_shell=no
5770 ( _lt_dummy="a/b/c"
5771 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5772 = c,a/b,, \
5773 && eval 'test $(( 1 + 1 )) -eq 2 \
5774 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5775 && xsi_shell=yes
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5777 $as_echo "$xsi_shell" >&6; }
5778
5779
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5781 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5782 lt_shell_append=no
5783 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5784 >/dev/null 2>&1 \
5785 && lt_shell_append=yes
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5787 $as_echo "$lt_shell_append" >&6; }
5788
5789
5790 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5791 lt_unset=unset
5792 else
5793 lt_unset=false
5794 fi
5795
5796
5797
5798
5799
5800 # test EBCDIC or ASCII
5801 case `echo X|tr X '\101'` in
5802 A) # ASCII based system
5803 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5804 lt_SP2NL='tr \040 \012'
5805 lt_NL2SP='tr \015\012 \040\040'
5806 ;;
5807 *) # EBCDIC based system
5808 lt_SP2NL='tr \100 \n'
5809 lt_NL2SP='tr \r\n \100\100'
5810 ;;
5811 esac
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5822 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5823 if ${lt_cv_ld_reload_flag+:} false; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 lt_cv_ld_reload_flag='-r'
5827 fi
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5829 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5830 reload_flag=$lt_cv_ld_reload_flag
5831 case $reload_flag in
5832 "" | " "*) ;;
5833 *) reload_flag=" $reload_flag" ;;
5834 esac
5835 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5836 case $host_os in
5837 darwin*)
5838 if test "$GCC" = yes; then
5839 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5840 else
5841 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5842 fi
5843 ;;
5844 esac
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854 if test -n "$ac_tool_prefix"; then
5855 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5856 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_OBJDUMP+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 if test -n "$OBJDUMP"; then
5863 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5867 do
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5875 fi
5876 done
5877 done
5878 IFS=$as_save_IFS
5879
5880 fi
5881 fi
5882 OBJDUMP=$ac_cv_prog_OBJDUMP
5883 if test -n "$OBJDUMP"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5885 $as_echo "$OBJDUMP" >&6; }
5886 else
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5889 fi
5890
5891
5892 fi
5893 if test -z "$ac_cv_prog_OBJDUMP"; then
5894 ac_ct_OBJDUMP=$OBJDUMP
5895 # Extract the first word of "objdump", so it can be a program name with args.
5896 set dummy objdump; ac_word=$2
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5898 $as_echo_n "checking for $ac_word... " >&6; }
5899 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5900 $as_echo_n "(cached) " >&6
5901 else
5902 if test -n "$ac_ct_OBJDUMP"; then
5903 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5904 else
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 for as_dir in $PATH
5907 do
5908 IFS=$as_save_IFS
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5912 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 break 2
5915 fi
5916 done
5917 done
5918 IFS=$as_save_IFS
5919
5920 fi
5921 fi
5922 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5923 if test -n "$ac_ct_OBJDUMP"; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5925 $as_echo "$ac_ct_OBJDUMP" >&6; }
5926 else
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5928 $as_echo "no" >&6; }
5929 fi
5930
5931 if test "x$ac_ct_OBJDUMP" = x; then
5932 OBJDUMP="false"
5933 else
5934 case $cross_compiling:$ac_tool_warned in
5935 yes:)
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5938 ac_tool_warned=yes ;;
5939 esac
5940 OBJDUMP=$ac_ct_OBJDUMP
5941 fi
5942 else
5943 OBJDUMP="$ac_cv_prog_OBJDUMP"
5944 fi
5945
5946 test -z "$OBJDUMP" && OBJDUMP=objdump
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5957 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5958 if ${lt_cv_deplibs_check_method+:} false; then :
5959 $as_echo_n "(cached) " >&6
5960 else
5961 lt_cv_file_magic_cmd='$MAGIC_CMD'
5962 lt_cv_file_magic_test_file=
5963 lt_cv_deplibs_check_method='unknown'
5964 # Need to set the preceding variable on all platforms that support
5965 # interlibrary dependencies.
5966 # 'none' -- dependencies not supported.
5967 # `unknown' -- same as none, but documents that we really don't know.
5968 # 'pass_all' -- all dependencies passed with no checks.
5969 # 'test_compile' -- check by making test program.
5970 # 'file_magic [[regex]]' -- check by looking for files in library path
5971 # which responds to the $file_magic_cmd with a given extended regex.
5972 # If you have `file' or equivalent on your system and you're not sure
5973 # whether `pass_all' will *always* work, you probably want this one.
5974
5975 case $host_os in
5976 aix[4-9]*)
5977 lt_cv_deplibs_check_method=pass_all
5978 ;;
5979
5980 beos*)
5981 lt_cv_deplibs_check_method=pass_all
5982 ;;
5983
5984 bsdi[45]*)
5985 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5986 lt_cv_file_magic_cmd='/usr/bin/file -L'
5987 lt_cv_file_magic_test_file=/shlib/libc.so
5988 ;;
5989
5990 cygwin*)
5991 # func_win32_libid is a shell function defined in ltmain.sh
5992 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5993 lt_cv_file_magic_cmd='func_win32_libid'
5994 ;;
5995
5996 mingw* | pw32*)
5997 # Base MSYS/MinGW do not provide the 'file' command needed by
5998 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5999 # unless we find 'file', for example because we are cross-compiling.
6000 if ( file / ) >/dev/null 2>&1; then
6001 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6002 lt_cv_file_magic_cmd='func_win32_libid'
6003 else
6004 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6005 lt_cv_file_magic_cmd='$OBJDUMP -f'
6006 fi
6007 ;;
6008
6009 cegcc)
6010 # use the weaker test based on 'objdump'. See mingw*.
6011 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6012 lt_cv_file_magic_cmd='$OBJDUMP -f'
6013 ;;
6014
6015 darwin* | rhapsody*)
6016 lt_cv_deplibs_check_method=pass_all
6017 ;;
6018
6019 freebsd* | dragonfly*)
6020 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6021 case $host_cpu in
6022 i*86 )
6023 # Not sure whether the presence of OpenBSD here was a mistake.
6024 # Let's accept both of them until this is cleared up.
6025 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6026 lt_cv_file_magic_cmd=/usr/bin/file
6027 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6028 ;;
6029 esac
6030 else
6031 lt_cv_deplibs_check_method=pass_all
6032 fi
6033 ;;
6034
6035 gnu*)
6036 lt_cv_deplibs_check_method=pass_all
6037 ;;
6038
6039 hpux10.20* | hpux11*)
6040 lt_cv_file_magic_cmd=/usr/bin/file
6041 case $host_cpu in
6042 ia64*)
6043 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6044 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6045 ;;
6046 hppa*64*)
6047 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6048 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6049 ;;
6050 *)
6051 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6052 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6053 ;;
6054 esac
6055 ;;
6056
6057 interix[3-9]*)
6058 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6059 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6060 ;;
6061
6062 irix5* | irix6* | nonstopux*)
6063 case $LD in
6064 *-32|*"-32 ") libmagic=32-bit;;
6065 *-n32|*"-n32 ") libmagic=N32;;
6066 *-64|*"-64 ") libmagic=64-bit;;
6067 *) libmagic=never-match;;
6068 esac
6069 lt_cv_deplibs_check_method=pass_all
6070 ;;
6071
6072 # This must be Linux ELF.
6073 linux* | k*bsd*-gnu)
6074 lt_cv_deplibs_check_method=pass_all
6075 ;;
6076
6077 netbsd*)
6078 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6079 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6080 else
6081 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6082 fi
6083 ;;
6084
6085 newos6*)
6086 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6087 lt_cv_file_magic_cmd=/usr/bin/file
6088 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6089 ;;
6090
6091 *nto* | *qnx*)
6092 lt_cv_deplibs_check_method=pass_all
6093 ;;
6094
6095 openbsd*)
6096 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6097 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6098 else
6099 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6100 fi
6101 ;;
6102
6103 osf3* | osf4* | osf5*)
6104 lt_cv_deplibs_check_method=pass_all
6105 ;;
6106
6107 rdos*)
6108 lt_cv_deplibs_check_method=pass_all
6109 ;;
6110
6111 solaris*)
6112 lt_cv_deplibs_check_method=pass_all
6113 ;;
6114
6115 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6116 lt_cv_deplibs_check_method=pass_all
6117 ;;
6118
6119 sysv4 | sysv4.3*)
6120 case $host_vendor in
6121 motorola)
6122 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]'
6123 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6124 ;;
6125 ncr)
6126 lt_cv_deplibs_check_method=pass_all
6127 ;;
6128 sequent)
6129 lt_cv_file_magic_cmd='/bin/file'
6130 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6131 ;;
6132 sni)
6133 lt_cv_file_magic_cmd='/bin/file'
6134 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6135 lt_cv_file_magic_test_file=/lib/libc.so
6136 ;;
6137 siemens)
6138 lt_cv_deplibs_check_method=pass_all
6139 ;;
6140 pc)
6141 lt_cv_deplibs_check_method=pass_all
6142 ;;
6143 esac
6144 ;;
6145
6146 tpf*)
6147 lt_cv_deplibs_check_method=pass_all
6148 ;;
6149 esac
6150
6151 fi
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6153 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6154 file_magic_cmd=$lt_cv_file_magic_cmd
6155 deplibs_check_method=$lt_cv_deplibs_check_method
6156 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169 if test -n "$ac_tool_prefix"; then
6170 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6171 set dummy ${ac_tool_prefix}ar; ac_word=$2
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6173 $as_echo_n "checking for $ac_word... " >&6; }
6174 if ${ac_cv_prog_AR+:} false; then :
6175 $as_echo_n "(cached) " >&6
6176 else
6177 if test -n "$AR"; then
6178 ac_cv_prog_AR="$AR" # Let the user override the test.
6179 else
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181 for as_dir in $PATH
6182 do
6183 IFS=$as_save_IFS
6184 test -z "$as_dir" && as_dir=.
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6187 ac_cv_prog_AR="${ac_tool_prefix}ar"
6188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6189 break 2
6190 fi
6191 done
6192 done
6193 IFS=$as_save_IFS
6194
6195 fi
6196 fi
6197 AR=$ac_cv_prog_AR
6198 if test -n "$AR"; then
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6200 $as_echo "$AR" >&6; }
6201 else
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6203 $as_echo "no" >&6; }
6204 fi
6205
6206
6207 fi
6208 if test -z "$ac_cv_prog_AR"; then
6209 ac_ct_AR=$AR
6210 # Extract the first word of "ar", so it can be a program name with args.
6211 set dummy ar; ac_word=$2
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6213 $as_echo_n "checking for $ac_word... " >&6; }
6214 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6215 $as_echo_n "(cached) " >&6
6216 else
6217 if test -n "$ac_ct_AR"; then
6218 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6219 else
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH
6222 do
6223 IFS=$as_save_IFS
6224 test -z "$as_dir" && as_dir=.
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227 ac_cv_prog_ac_ct_AR="ar"
6228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 break 2
6230 fi
6231 done
6232 done
6233 IFS=$as_save_IFS
6234
6235 fi
6236 fi
6237 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6238 if test -n "$ac_ct_AR"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6240 $as_echo "$ac_ct_AR" >&6; }
6241 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6243 $as_echo "no" >&6; }
6244 fi
6245
6246 if test "x$ac_ct_AR" = x; then
6247 AR="false"
6248 else
6249 case $cross_compiling:$ac_tool_warned in
6250 yes:)
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6253 ac_tool_warned=yes ;;
6254 esac
6255 AR=$ac_ct_AR
6256 fi
6257 else
6258 AR="$ac_cv_prog_AR"
6259 fi
6260
6261 test -z "$AR" && AR=ar
6262 test -z "$AR_FLAGS" && AR_FLAGS=cru
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274 if test -n "$ac_tool_prefix"; then
6275 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6276 set dummy ${ac_tool_prefix}strip; ac_word=$2
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278 $as_echo_n "checking for $ac_word... " >&6; }
6279 if ${ac_cv_prog_STRIP+:} false; then :
6280 $as_echo_n "(cached) " >&6
6281 else
6282 if test -n "$STRIP"; then
6283 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6284 else
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286 for as_dir in $PATH
6287 do
6288 IFS=$as_save_IFS
6289 test -z "$as_dir" && as_dir=.
6290 for ac_exec_ext in '' $ac_executable_extensions; do
6291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6292 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6294 break 2
6295 fi
6296 done
6297 done
6298 IFS=$as_save_IFS
6299
6300 fi
6301 fi
6302 STRIP=$ac_cv_prog_STRIP
6303 if test -n "$STRIP"; then
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6305 $as_echo "$STRIP" >&6; }
6306 else
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308 $as_echo "no" >&6; }
6309 fi
6310
6311
6312 fi
6313 if test -z "$ac_cv_prog_STRIP"; then
6314 ac_ct_STRIP=$STRIP
6315 # Extract the first word of "strip", so it can be a program name with args.
6316 set dummy strip; ac_word=$2
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6318 $as_echo_n "checking for $ac_word... " >&6; }
6319 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6320 $as_echo_n "(cached) " >&6
6321 else
6322 if test -n "$ac_ct_STRIP"; then
6323 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6324 else
6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326 for as_dir in $PATH
6327 do
6328 IFS=$as_save_IFS
6329 test -z "$as_dir" && as_dir=.
6330 for ac_exec_ext in '' $ac_executable_extensions; do
6331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6332 ac_cv_prog_ac_ct_STRIP="strip"
6333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6334 break 2
6335 fi
6336 done
6337 done
6338 IFS=$as_save_IFS
6339
6340 fi
6341 fi
6342 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6343 if test -n "$ac_ct_STRIP"; then
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6345 $as_echo "$ac_ct_STRIP" >&6; }
6346 else
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6348 $as_echo "no" >&6; }
6349 fi
6350
6351 if test "x$ac_ct_STRIP" = x; then
6352 STRIP=":"
6353 else
6354 case $cross_compiling:$ac_tool_warned in
6355 yes:)
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6358 ac_tool_warned=yes ;;
6359 esac
6360 STRIP=$ac_ct_STRIP
6361 fi
6362 else
6363 STRIP="$ac_cv_prog_STRIP"
6364 fi
6365
6366 test -z "$STRIP" && STRIP=:
6367
6368
6369
6370
6371
6372
6373 if test -n "$ac_tool_prefix"; then
6374 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6375 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6377 $as_echo_n "checking for $ac_word... " >&6; }
6378 if ${ac_cv_prog_RANLIB+:} false; then :
6379 $as_echo_n "(cached) " >&6
6380 else
6381 if test -n "$RANLIB"; then
6382 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6383 else
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385 for as_dir in $PATH
6386 do
6387 IFS=$as_save_IFS
6388 test -z "$as_dir" && as_dir=.
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6391 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 break 2
6394 fi
6395 done
6396 done
6397 IFS=$as_save_IFS
6398
6399 fi
6400 fi
6401 RANLIB=$ac_cv_prog_RANLIB
6402 if test -n "$RANLIB"; then
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6404 $as_echo "$RANLIB" >&6; }
6405 else
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6407 $as_echo "no" >&6; }
6408 fi
6409
6410
6411 fi
6412 if test -z "$ac_cv_prog_RANLIB"; then
6413 ac_ct_RANLIB=$RANLIB
6414 # Extract the first word of "ranlib", so it can be a program name with args.
6415 set dummy ranlib; ac_word=$2
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6417 $as_echo_n "checking for $ac_word... " >&6; }
6418 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6419 $as_echo_n "(cached) " >&6
6420 else
6421 if test -n "$ac_ct_RANLIB"; then
6422 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6423 else
6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425 for as_dir in $PATH
6426 do
6427 IFS=$as_save_IFS
6428 test -z "$as_dir" && as_dir=.
6429 for ac_exec_ext in '' $ac_executable_extensions; do
6430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6431 ac_cv_prog_ac_ct_RANLIB="ranlib"
6432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6433 break 2
6434 fi
6435 done
6436 done
6437 IFS=$as_save_IFS
6438
6439 fi
6440 fi
6441 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6442 if test -n "$ac_ct_RANLIB"; then
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6444 $as_echo "$ac_ct_RANLIB" >&6; }
6445 else
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447 $as_echo "no" >&6; }
6448 fi
6449
6450 if test "x$ac_ct_RANLIB" = x; then
6451 RANLIB=":"
6452 else
6453 case $cross_compiling:$ac_tool_warned in
6454 yes:)
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6457 ac_tool_warned=yes ;;
6458 esac
6459 RANLIB=$ac_ct_RANLIB
6460 fi
6461 else
6462 RANLIB="$ac_cv_prog_RANLIB"
6463 fi
6464
6465 test -z "$RANLIB" && RANLIB=:
6466
6467
6468
6469
6470
6471
6472 # Determine commands to create old-style static archives.
6473 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6474 old_postinstall_cmds='chmod 644 $oldlib'
6475 old_postuninstall_cmds=
6476
6477 if test -n "$RANLIB"; then
6478 case $host_os in
6479 openbsd*)
6480 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6481 ;;
6482 *)
6483 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6484 ;;
6485 esac
6486 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6487 fi
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522 # If no C compiler was specified, use CC.
6523 LTCC=${LTCC-"$CC"}
6524
6525 # If no C compiler flags were specified, use CFLAGS.
6526 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6527
6528 # Allow CC to be a program name with arguments.
6529 compiler=$CC
6530
6531
6532 # Check for command to grab the raw symbol name followed by C symbol from nm.
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6534 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6535 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6536 $as_echo_n "(cached) " >&6
6537 else
6538
6539 # These are sane defaults that work on at least a few old systems.
6540 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6541
6542 # Character class describing NM global symbol codes.
6543 symcode='[BCDEGRST]'
6544
6545 # Regexp to match symbols that can be accessed directly from C.
6546 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6547
6548 # Define system-specific variables.
6549 case $host_os in
6550 aix*)
6551 symcode='[BCDT]'
6552 ;;
6553 cygwin* | mingw* | pw32* | cegcc*)
6554 symcode='[ABCDGISTW]'
6555 ;;
6556 hpux*)
6557 if test "$host_cpu" = ia64; then
6558 symcode='[ABCDEGRST]'
6559 fi
6560 ;;
6561 irix* | nonstopux*)
6562 symcode='[BCDEGRST]'
6563 ;;
6564 osf*)
6565 symcode='[BCDEGQRST]'
6566 ;;
6567 solaris*)
6568 symcode='[BDRT]'
6569 ;;
6570 sco3.2v5*)
6571 symcode='[DT]'
6572 ;;
6573 sysv4.2uw2*)
6574 symcode='[DT]'
6575 ;;
6576 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6577 symcode='[ABDT]'
6578 ;;
6579 sysv4)
6580 symcode='[DFNSTU]'
6581 ;;
6582 esac
6583
6584 # If we're using GNU nm, then use its standard symbol codes.
6585 case `$NM -V 2>&1` in
6586 *GNU* | *'with BFD'*)
6587 symcode='[ABCDGIRSTW]' ;;
6588 esac
6589
6590 # Transform an extracted symbol line into a proper C declaration.
6591 # Some systems (esp. on ia64) link data and code symbols differently,
6592 # so use this general approach.
6593 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6594
6595 # Transform an extracted symbol line into symbol name and symbol address
6596 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6597 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'"
6598
6599 # Handle CRLF in mingw tool chain
6600 opt_cr=
6601 case $build_os in
6602 mingw*)
6603 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6604 ;;
6605 esac
6606
6607 # Try without a prefix underscore, then with it.
6608 for ac_symprfx in "" "_"; do
6609
6610 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6611 symxfrm="\\1 $ac_symprfx\\2 \\2"
6612
6613 # Write the raw and C identifiers.
6614 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6615 # Fake it for dumpbin and say T for any non-static function
6616 # and D for any global variable.
6617 # Also find C++ and __fastcall symbols from MSVC++,
6618 # which start with @ or ?.
6619 lt_cv_sys_global_symbol_pipe="$AWK '"\
6620 " {last_section=section; section=\$ 3};"\
6621 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6622 " \$ 0!~/External *\|/{next};"\
6623 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6624 " {if(hide[section]) next};"\
6625 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6626 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6627 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6628 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6629 " ' prfx=^$ac_symprfx"
6630 else
6631 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6632 fi
6633
6634 # Check to see that the pipe works correctly.
6635 pipe_works=no
6636
6637 rm -f conftest*
6638 cat > conftest.$ac_ext <<_LT_EOF
6639 #ifdef __cplusplus
6640 extern "C" {
6641 #endif
6642 char nm_test_var;
6643 void nm_test_func(void);
6644 void nm_test_func(void){}
6645 #ifdef __cplusplus
6646 }
6647 #endif
6648 int main(){nm_test_var='a';nm_test_func();return(0);}
6649 _LT_EOF
6650
6651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6652 (eval $ac_compile) 2>&5
6653 ac_status=$?
6654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6655 test $ac_status = 0; }; then
6656 # Now try to grab the symbols.
6657 nlist=conftest.nm
6658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6659 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6660 ac_status=$?
6661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6662 test $ac_status = 0; } && test -s "$nlist"; then
6663 # Try sorting and uniquifying the output.
6664 if sort "$nlist" | uniq > "$nlist"T; then
6665 mv -f "$nlist"T "$nlist"
6666 else
6667 rm -f "$nlist"T
6668 fi
6669
6670 # Make sure that we snagged all the symbols we need.
6671 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6672 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6673 cat <<_LT_EOF > conftest.$ac_ext
6674 #ifdef __cplusplus
6675 extern "C" {
6676 #endif
6677
6678 _LT_EOF
6679 # Now generate the symbol file.
6680 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6681
6682 cat <<_LT_EOF >> conftest.$ac_ext
6683
6684 /* The mapping between symbol names and symbols. */
6685 const struct {
6686 const char *name;
6687 void *address;
6688 }
6689 lt__PROGRAM__LTX_preloaded_symbols[] =
6690 {
6691 { "@PROGRAM@", (void *) 0 },
6692 _LT_EOF
6693 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6694 cat <<\_LT_EOF >> conftest.$ac_ext
6695 {0, (void *) 0}
6696 };
6697
6698 /* This works around a problem in FreeBSD linker */
6699 #ifdef FREEBSD_WORKAROUND
6700 static const void *lt_preloaded_setup() {
6701 return lt__PROGRAM__LTX_preloaded_symbols;
6702 }
6703 #endif
6704
6705 #ifdef __cplusplus
6706 }
6707 #endif
6708 _LT_EOF
6709 # Now try linking the two files.
6710 mv conftest.$ac_objext conftstm.$ac_objext
6711 lt_save_LIBS="$LIBS"
6712 lt_save_CFLAGS="$CFLAGS"
6713 LIBS="conftstm.$ac_objext"
6714 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6715 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6716 (eval $ac_link) 2>&5
6717 ac_status=$?
6718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6719 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6720 pipe_works=yes
6721 fi
6722 LIBS="$lt_save_LIBS"
6723 CFLAGS="$lt_save_CFLAGS"
6724 else
6725 echo "cannot find nm_test_func in $nlist" >&5
6726 fi
6727 else
6728 echo "cannot find nm_test_var in $nlist" >&5
6729 fi
6730 else
6731 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6732 fi
6733 else
6734 echo "$progname: failed program was:" >&5
6735 cat conftest.$ac_ext >&5
6736 fi
6737 rm -rf conftest* conftst*
6738
6739 # Do not use the global_symbol_pipe unless it works.
6740 if test "$pipe_works" = yes; then
6741 break
6742 else
6743 lt_cv_sys_global_symbol_pipe=
6744 fi
6745 done
6746
6747 fi
6748
6749 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6750 lt_cv_sys_global_symbol_to_cdecl=
6751 fi
6752 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6754 $as_echo "failed" >&6; }
6755 else
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6757 $as_echo "ok" >&6; }
6758 fi
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782 @%:@ Check whether --enable-libtool-lock was given.
6783 if test "${enable_libtool_lock+set}" = set; then :
6784 enableval=$enable_libtool_lock;
6785 fi
6786
6787 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6788
6789 # Some flags need to be propagated to the compiler or linker for good
6790 # libtool support.
6791 case $host in
6792 ia64-*-hpux*)
6793 # Find out which ABI we are using.
6794 echo 'int i;' > conftest.$ac_ext
6795 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6796 (eval $ac_compile) 2>&5
6797 ac_status=$?
6798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6799 test $ac_status = 0; }; then
6800 case `/usr/bin/file conftest.$ac_objext` in
6801 *ELF-32*)
6802 HPUX_IA64_MODE="32"
6803 ;;
6804 *ELF-64*)
6805 HPUX_IA64_MODE="64"
6806 ;;
6807 esac
6808 fi
6809 rm -rf conftest*
6810 ;;
6811 *-*-irix6*)
6812 # Find out which ABI we are using.
6813 echo '#line __oline__ "configure"' > conftest.$ac_ext
6814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6815 (eval $ac_compile) 2>&5
6816 ac_status=$?
6817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6818 test $ac_status = 0; }; then
6819 if test "$lt_cv_prog_gnu_ld" = yes; then
6820 case `/usr/bin/file conftest.$ac_objext` in
6821 *32-bit*)
6822 LD="${LD-ld} -melf32bsmip"
6823 ;;
6824 *N32*)
6825 LD="${LD-ld} -melf32bmipn32"
6826 ;;
6827 *64-bit*)
6828 LD="${LD-ld} -melf64bmip"
6829 ;;
6830 esac
6831 else
6832 case `/usr/bin/file conftest.$ac_objext` in
6833 *32-bit*)
6834 LD="${LD-ld} -32"
6835 ;;
6836 *N32*)
6837 LD="${LD-ld} -n32"
6838 ;;
6839 *64-bit*)
6840 LD="${LD-ld} -64"
6841 ;;
6842 esac
6843 fi
6844 fi
6845 rm -rf conftest*
6846 ;;
6847
6848 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6849 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6850 # Find out which ABI we are using.
6851 echo 'int i;' > conftest.$ac_ext
6852 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6853 (eval $ac_compile) 2>&5
6854 ac_status=$?
6855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6856 test $ac_status = 0; }; then
6857 case `/usr/bin/file conftest.o` in
6858 *32-bit*)
6859 case $host in
6860 x86_64-*kfreebsd*-gnu)
6861 LD="${LD-ld} -m elf_i386_fbsd"
6862 ;;
6863 x86_64-*linux*)
6864 LD="${LD-ld} -m elf_i386"
6865 ;;
6866 ppc64-*linux*|powerpc64-*linux*)
6867 LD="${LD-ld} -m elf32ppclinux"
6868 ;;
6869 s390x-*linux*)
6870 LD="${LD-ld} -m elf_s390"
6871 ;;
6872 sparc64-*linux*)
6873 LD="${LD-ld} -m elf32_sparc"
6874 ;;
6875 esac
6876 ;;
6877 *64-bit*)
6878 case $host in
6879 x86_64-*kfreebsd*-gnu)
6880 LD="${LD-ld} -m elf_x86_64_fbsd"
6881 ;;
6882 x86_64-*linux*)
6883 LD="${LD-ld} -m elf_x86_64"
6884 ;;
6885 ppc*-*linux*|powerpc*-*linux*)
6886 LD="${LD-ld} -m elf64ppc"
6887 ;;
6888 s390*-*linux*|s390*-*tpf*)
6889 LD="${LD-ld} -m elf64_s390"
6890 ;;
6891 sparc*-*linux*)
6892 LD="${LD-ld} -m elf64_sparc"
6893 ;;
6894 esac
6895 ;;
6896 esac
6897 fi
6898 rm -rf conftest*
6899 ;;
6900
6901 *-*-sco3.2v5*)
6902 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6903 SAVE_CFLAGS="$CFLAGS"
6904 CFLAGS="$CFLAGS -belf"
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6906 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6907 if ${lt_cv_cc_needs_belf+:} false; then :
6908 $as_echo_n "(cached) " >&6
6909 else
6910 ac_ext=c
6911 ac_cpp='$CPP $CPPFLAGS'
6912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6915
6916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6917 /* end confdefs.h. */
6918
6919 int
6920 main ()
6921 {
6922
6923 ;
6924 return 0;
6925 }
6926 _ACEOF
6927 if ac_fn_c_try_link "$LINENO"; then :
6928 lt_cv_cc_needs_belf=yes
6929 else
6930 lt_cv_cc_needs_belf=no
6931 fi
6932 rm -f core conftest.err conftest.$ac_objext \
6933 conftest$ac_exeext conftest.$ac_ext
6934 ac_ext=c
6935 ac_cpp='$CPP $CPPFLAGS'
6936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6939
6940 fi
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6942 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6943 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6944 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6945 CFLAGS="$SAVE_CFLAGS"
6946 fi
6947 ;;
6948 sparc*-*solaris*)
6949 # Find out which ABI we are using.
6950 echo 'int i;' > conftest.$ac_ext
6951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6952 (eval $ac_compile) 2>&5
6953 ac_status=$?
6954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6955 test $ac_status = 0; }; then
6956 case `/usr/bin/file conftest.o` in
6957 *64-bit*)
6958 case $lt_cv_prog_gnu_ld in
6959 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6960 *)
6961 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6962 LD="${LD-ld} -64"
6963 fi
6964 ;;
6965 esac
6966 ;;
6967 esac
6968 fi
6969 rm -rf conftest*
6970 ;;
6971 esac
6972
6973 need_locks="$enable_libtool_lock"
6974
6975
6976 case $host_os in
6977 rhapsody* | darwin*)
6978 if test -n "$ac_tool_prefix"; then
6979 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6980 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6982 $as_echo_n "checking for $ac_word... " >&6; }
6983 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6984 $as_echo_n "(cached) " >&6
6985 else
6986 if test -n "$DSYMUTIL"; then
6987 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6988 else
6989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990 for as_dir in $PATH
6991 do
6992 IFS=$as_save_IFS
6993 test -z "$as_dir" && as_dir=.
6994 for ac_exec_ext in '' $ac_executable_extensions; do
6995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6996 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6998 break 2
6999 fi
7000 done
7001 done
7002 IFS=$as_save_IFS
7003
7004 fi
7005 fi
7006 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7007 if test -n "$DSYMUTIL"; then
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7009 $as_echo "$DSYMUTIL" >&6; }
7010 else
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7012 $as_echo "no" >&6; }
7013 fi
7014
7015
7016 fi
7017 if test -z "$ac_cv_prog_DSYMUTIL"; then
7018 ac_ct_DSYMUTIL=$DSYMUTIL
7019 # Extract the first word of "dsymutil", so it can be a program name with args.
7020 set dummy dsymutil; ac_word=$2
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7022 $as_echo_n "checking for $ac_word... " >&6; }
7023 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7024 $as_echo_n "(cached) " >&6
7025 else
7026 if test -n "$ac_ct_DSYMUTIL"; then
7027 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7028 else
7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030 for as_dir in $PATH
7031 do
7032 IFS=$as_save_IFS
7033 test -z "$as_dir" && as_dir=.
7034 for ac_exec_ext in '' $ac_executable_extensions; do
7035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7036 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7038 break 2
7039 fi
7040 done
7041 done
7042 IFS=$as_save_IFS
7043
7044 fi
7045 fi
7046 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7047 if test -n "$ac_ct_DSYMUTIL"; then
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7049 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7050 else
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7052 $as_echo "no" >&6; }
7053 fi
7054
7055 if test "x$ac_ct_DSYMUTIL" = x; then
7056 DSYMUTIL=":"
7057 else
7058 case $cross_compiling:$ac_tool_warned in
7059 yes:)
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7062 ac_tool_warned=yes ;;
7063 esac
7064 DSYMUTIL=$ac_ct_DSYMUTIL
7065 fi
7066 else
7067 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7068 fi
7069
7070 if test -n "$ac_tool_prefix"; then
7071 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7072 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7074 $as_echo_n "checking for $ac_word... " >&6; }
7075 if ${ac_cv_prog_NMEDIT+:} false; then :
7076 $as_echo_n "(cached) " >&6
7077 else
7078 if test -n "$NMEDIT"; then
7079 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7080 else
7081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7082 for as_dir in $PATH
7083 do
7084 IFS=$as_save_IFS
7085 test -z "$as_dir" && as_dir=.
7086 for ac_exec_ext in '' $ac_executable_extensions; do
7087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7088 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 break 2
7091 fi
7092 done
7093 done
7094 IFS=$as_save_IFS
7095
7096 fi
7097 fi
7098 NMEDIT=$ac_cv_prog_NMEDIT
7099 if test -n "$NMEDIT"; then
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7101 $as_echo "$NMEDIT" >&6; }
7102 else
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 $as_echo "no" >&6; }
7105 fi
7106
7107
7108 fi
7109 if test -z "$ac_cv_prog_NMEDIT"; then
7110 ac_ct_NMEDIT=$NMEDIT
7111 # Extract the first word of "nmedit", so it can be a program name with args.
7112 set dummy nmedit; ac_word=$2
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 $as_echo_n "checking for $ac_word... " >&6; }
7115 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7116 $as_echo_n "(cached) " >&6
7117 else
7118 if test -n "$ac_ct_NMEDIT"; then
7119 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7120 else
7121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122 for as_dir in $PATH
7123 do
7124 IFS=$as_save_IFS
7125 test -z "$as_dir" && as_dir=.
7126 for ac_exec_ext in '' $ac_executable_extensions; do
7127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7128 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7130 break 2
7131 fi
7132 done
7133 done
7134 IFS=$as_save_IFS
7135
7136 fi
7137 fi
7138 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7139 if test -n "$ac_ct_NMEDIT"; then
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7141 $as_echo "$ac_ct_NMEDIT" >&6; }
7142 else
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7144 $as_echo "no" >&6; }
7145 fi
7146
7147 if test "x$ac_ct_NMEDIT" = x; then
7148 NMEDIT=":"
7149 else
7150 case $cross_compiling:$ac_tool_warned in
7151 yes:)
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7154 ac_tool_warned=yes ;;
7155 esac
7156 NMEDIT=$ac_ct_NMEDIT
7157 fi
7158 else
7159 NMEDIT="$ac_cv_prog_NMEDIT"
7160 fi
7161
7162 if test -n "$ac_tool_prefix"; then
7163 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7164 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if ${ac_cv_prog_LIPO+:} false; then :
7168 $as_echo_n "(cached) " >&6
7169 else
7170 if test -n "$LIPO"; then
7171 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7172 else
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 for as_dir in $PATH
7175 do
7176 IFS=$as_save_IFS
7177 test -z "$as_dir" && as_dir=.
7178 for ac_exec_ext in '' $ac_executable_extensions; do
7179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7180 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 break 2
7183 fi
7184 done
7185 done
7186 IFS=$as_save_IFS
7187
7188 fi
7189 fi
7190 LIPO=$ac_cv_prog_LIPO
7191 if test -n "$LIPO"; then
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7193 $as_echo "$LIPO" >&6; }
7194 else
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 $as_echo "no" >&6; }
7197 fi
7198
7199
7200 fi
7201 if test -z "$ac_cv_prog_LIPO"; then
7202 ac_ct_LIPO=$LIPO
7203 # Extract the first word of "lipo", so it can be a program name with args.
7204 set dummy lipo; ac_word=$2
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206 $as_echo_n "checking for $ac_word... " >&6; }
7207 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7208 $as_echo_n "(cached) " >&6
7209 else
7210 if test -n "$ac_ct_LIPO"; then
7211 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7212 else
7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 for as_dir in $PATH
7215 do
7216 IFS=$as_save_IFS
7217 test -z "$as_dir" && as_dir=.
7218 for ac_exec_ext in '' $ac_executable_extensions; do
7219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7220 ac_cv_prog_ac_ct_LIPO="lipo"
7221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 break 2
7223 fi
7224 done
7225 done
7226 IFS=$as_save_IFS
7227
7228 fi
7229 fi
7230 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7231 if test -n "$ac_ct_LIPO"; then
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7233 $as_echo "$ac_ct_LIPO" >&6; }
7234 else
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7237 fi
7238
7239 if test "x$ac_ct_LIPO" = x; then
7240 LIPO=":"
7241 else
7242 case $cross_compiling:$ac_tool_warned in
7243 yes:)
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7246 ac_tool_warned=yes ;;
7247 esac
7248 LIPO=$ac_ct_LIPO
7249 fi
7250 else
7251 LIPO="$ac_cv_prog_LIPO"
7252 fi
7253
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}otool; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if ${ac_cv_prog_OTOOL+:} false; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$OTOOL"; then
7263 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7267 do
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7272 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7275 fi
7276 done
7277 done
7278 IFS=$as_save_IFS
7279
7280 fi
7281 fi
7282 OTOOL=$ac_cv_prog_OTOOL
7283 if test -n "$OTOOL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7285 $as_echo "$OTOOL" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7289 fi
7290
7291
7292 fi
7293 if test -z "$ac_cv_prog_OTOOL"; then
7294 ac_ct_OTOOL=$OTOOL
7295 # Extract the first word of "otool", so it can be a program name with args.
7296 set dummy otool; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$ac_ct_OTOOL"; then
7303 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7307 do
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7312 ac_cv_prog_ac_ct_OTOOL="otool"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7315 fi
7316 done
7317 done
7318 IFS=$as_save_IFS
7319
7320 fi
7321 fi
7322 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7323 if test -n "$ac_ct_OTOOL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7325 $as_echo "$ac_ct_OTOOL" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7329 fi
7330
7331 if test "x$ac_ct_OTOOL" = x; then
7332 OTOOL=":"
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 OTOOL=$ac_ct_OTOOL
7341 fi
7342 else
7343 OTOOL="$ac_cv_prog_OTOOL"
7344 fi
7345
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if ${ac_cv_prog_OTOOL64+:} false; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$OTOOL64"; then
7355 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7359 do
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7367 fi
7368 done
7369 done
7370 IFS=$as_save_IFS
7371
7372 fi
7373 fi
7374 OTOOL64=$ac_cv_prog_OTOOL64
7375 if test -n "$OTOOL64"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7377 $as_echo "$OTOOL64" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7381 fi
7382
7383
7384 fi
7385 if test -z "$ac_cv_prog_OTOOL64"; then
7386 ac_ct_OTOOL64=$OTOOL64
7387 # Extract the first word of "otool64", so it can be a program name with args.
7388 set dummy otool64; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_OTOOL64"; then
7395 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7399 do
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_ac_ct_OTOOL64="otool64"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7407 fi
7408 done
7409 done
7410 IFS=$as_save_IFS
7411
7412 fi
7413 fi
7414 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7415 if test -n "$ac_ct_OTOOL64"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7417 $as_echo "$ac_ct_OTOOL64" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7421 fi
7422
7423 if test "x$ac_ct_OTOOL64" = x; then
7424 OTOOL64=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 OTOOL64=$ac_ct_OTOOL64
7433 fi
7434 else
7435 OTOOL64="$ac_cv_prog_OTOOL64"
7436 fi
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7465 $as_echo_n "checking for -single_module linker flag... " >&6; }
7466 if ${lt_cv_apple_cc_single_mod+:} false; then :
7467 $as_echo_n "(cached) " >&6
7468 else
7469 lt_cv_apple_cc_single_mod=no
7470 if test -z "${LT_MULTI_MODULE}"; then
7471 # By default we will add the -single_module flag. You can override
7472 # by either setting the environment variable LT_MULTI_MODULE
7473 # non-empty at configure time, or by adding -multi_module to the
7474 # link flags.
7475 rm -rf libconftest.dylib*
7476 echo "int foo(void){return 1;}" > conftest.c
7477 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7478 -dynamiclib -Wl,-single_module conftest.c" >&5
7479 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7480 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7481 _lt_result=$?
7482 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7483 lt_cv_apple_cc_single_mod=yes
7484 else
7485 cat conftest.err >&5
7486 fi
7487 rm -rf libconftest.dylib*
7488 rm -f conftest.*
7489 fi
7490 fi
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7492 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7494 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7495 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7496 $as_echo_n "(cached) " >&6
7497 else
7498 lt_cv_ld_exported_symbols_list=no
7499 save_LDFLAGS=$LDFLAGS
7500 echo "_main" > conftest.sym
7501 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7504
7505 int
7506 main ()
7507 {
7508
7509 ;
7510 return 0;
7511 }
7512 _ACEOF
7513 if ac_fn_c_try_link "$LINENO"; then :
7514 lt_cv_ld_exported_symbols_list=yes
7515 else
7516 lt_cv_ld_exported_symbols_list=no
7517 fi
7518 rm -f core conftest.err conftest.$ac_objext \
7519 conftest$ac_exeext conftest.$ac_ext
7520 LDFLAGS="$save_LDFLAGS"
7521
7522 fi
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7524 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7525 case $host_os in
7526 rhapsody* | darwin1.[012])
7527 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7528 darwin1.*)
7529 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7530 darwin*) # darwin 5.x on
7531 # if running on 10.5 or later, the deployment target defaults
7532 # to the OS version, if on x86, and 10.4, the deployment
7533 # target defaults to 10.4. Don't you love it?
7534 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7535 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7536 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7537 10.[012]*)
7538 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7539 10.*)
7540 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7541 esac
7542 ;;
7543 esac
7544 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7545 _lt_dar_single_mod='$single_module'
7546 fi
7547 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7548 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7549 else
7550 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7551 fi
7552 if test "$DSYMUTIL" != ":"; then
7553 _lt_dsymutil='~$DSYMUTIL $lib || :'
7554 else
7555 _lt_dsymutil=
7556 fi
7557 ;;
7558 esac
7559
7560
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7562 $as_echo_n "checking for ANSI C header files... " >&6; }
7563 if ${ac_cv_header_stdc+:} false; then :
7564 $as_echo_n "(cached) " >&6
7565 else
7566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7567 /* end confdefs.h. */
7568 #include <stdlib.h>
7569 #include <stdarg.h>
7570 #include <string.h>
7571 #include <float.h>
7572
7573 int
7574 main ()
7575 {
7576
7577 ;
7578 return 0;
7579 }
7580 _ACEOF
7581 if ac_fn_c_try_compile "$LINENO"; then :
7582 ac_cv_header_stdc=yes
7583 else
7584 ac_cv_header_stdc=no
7585 fi
7586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7587
7588 if test $ac_cv_header_stdc = yes; then
7589 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7592 #include <string.h>
7593
7594 _ACEOF
7595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7596 $EGREP "memchr" >/dev/null 2>&1; then :
7597
7598 else
7599 ac_cv_header_stdc=no
7600 fi
7601 rm -f conftest*
7602
7603 fi
7604
7605 if test $ac_cv_header_stdc = yes; then
7606 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h. */
7609 #include <stdlib.h>
7610
7611 _ACEOF
7612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7613 $EGREP "free" >/dev/null 2>&1; then :
7614
7615 else
7616 ac_cv_header_stdc=no
7617 fi
7618 rm -f conftest*
7619
7620 fi
7621
7622 if test $ac_cv_header_stdc = yes; then
7623 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7624 if test "$cross_compiling" = yes; then :
7625 :
7626 else
7627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7628 /* end confdefs.h. */
7629 #include <ctype.h>
7630 #include <stdlib.h>
7631 #if ((' ' & 0x0FF) == 0x020)
7632 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7633 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7634 #else
7635 # define ISLOWER(c) \
7636 (('a' <= (c) && (c) <= 'i') \
7637 || ('j' <= (c) && (c) <= 'r') \
7638 || ('s' <= (c) && (c) <= 'z'))
7639 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7640 #endif
7641
7642 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7643 int
7644 main ()
7645 {
7646 int i;
7647 for (i = 0; i < 256; i++)
7648 if (XOR (islower (i), ISLOWER (i))
7649 || toupper (i) != TOUPPER (i))
7650 return 2;
7651 return 0;
7652 }
7653 _ACEOF
7654 if ac_fn_c_try_run "$LINENO"; then :
7655
7656 else
7657 ac_cv_header_stdc=no
7658 fi
7659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7660 conftest.$ac_objext conftest.beam conftest.$ac_ext
7661 fi
7662
7663 fi
7664 fi
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7666 $as_echo "$ac_cv_header_stdc" >&6; }
7667 if test $ac_cv_header_stdc = yes; then
7668
7669 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7670
7671 fi
7672
7673 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7674 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7675 inttypes.h stdint.h unistd.h
7676 do :
7677 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7678 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7679 "
7680 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7681 cat >>confdefs.h <<_ACEOF
7682 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7683 _ACEOF
7684
7685 fi
7686
7687 done
7688
7689
7690 for ac_header in dlfcn.h
7691 do :
7692 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7693 "
7694 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7695 cat >>confdefs.h <<_ACEOF
7696 @%:@define HAVE_DLFCN_H 1
7697 _ACEOF
7698
7699 fi
7700
7701 done
7702
7703
7704
7705 ac_ext=cpp
7706 ac_cpp='$CXXCPP $CPPFLAGS'
7707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7710 if test -z "$CXX"; then
7711 if test -n "$CCC"; then
7712 CXX=$CCC
7713 else
7714 if test -n "$ac_tool_prefix"; then
7715 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7716 do
7717 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7718 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if ${ac_cv_prog_CXX+:} false; then :
7722 $as_echo_n "(cached) " >&6
7723 else
7724 if test -n "$CXX"; then
7725 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7726 else
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 for as_dir in $PATH
7729 do
7730 IFS=$as_save_IFS
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7734 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736 break 2
7737 fi
7738 done
7739 done
7740 IFS=$as_save_IFS
7741
7742 fi
7743 fi
7744 CXX=$ac_cv_prog_CXX
7745 if test -n "$CXX"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7747 $as_echo "$CXX" >&6; }
7748 else
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7751 fi
7752
7753
7754 test -n "$CXX" && break
7755 done
7756 fi
7757 if test -z "$CXX"; then
7758 ac_ct_CXX=$CXX
7759 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7760 do
7761 # Extract the first word of "$ac_prog", so it can be a program name with args.
7762 set dummy $ac_prog; ac_word=$2
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7764 $as_echo_n "checking for $ac_word... " >&6; }
7765 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7766 $as_echo_n "(cached) " >&6
7767 else
7768 if test -n "$ac_ct_CXX"; then
7769 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7770 else
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 for as_dir in $PATH
7773 do
7774 IFS=$as_save_IFS
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7778 ac_cv_prog_ac_ct_CXX="$ac_prog"
7779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 break 2
7781 fi
7782 done
7783 done
7784 IFS=$as_save_IFS
7785
7786 fi
7787 fi
7788 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7789 if test -n "$ac_ct_CXX"; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7791 $as_echo "$ac_ct_CXX" >&6; }
7792 else
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794 $as_echo "no" >&6; }
7795 fi
7796
7797
7798 test -n "$ac_ct_CXX" && break
7799 done
7800
7801 if test "x$ac_ct_CXX" = x; then
7802 CXX="g++"
7803 else
7804 case $cross_compiling:$ac_tool_warned in
7805 yes:)
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7808 ac_tool_warned=yes ;;
7809 esac
7810 CXX=$ac_ct_CXX
7811 fi
7812 fi
7813
7814 fi
7815 fi
7816 # Provide some information about the compiler.
7817 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7818 set X $ac_compile
7819 ac_compiler=$2
7820 for ac_option in --version -v -V -qversion; do
7821 { { ac_try="$ac_compiler $ac_option >&5"
7822 case "(($ac_try" in
7823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7824 *) ac_try_echo=$ac_try;;
7825 esac
7826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7827 $as_echo "$ac_try_echo"; } >&5
7828 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7829 ac_status=$?
7830 if test -s conftest.err; then
7831 sed '10a\
7832 ... rest of stderr output deleted ...
7833 10q' conftest.err >conftest.er1
7834 cat conftest.er1 >&5
7835 fi
7836 rm -f conftest.er1 conftest.err
7837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7838 test $ac_status = 0; }
7839 done
7840
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7842 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7843 if ${ac_cv_cxx_compiler_gnu+:} false; then :
7844 $as_echo_n "(cached) " >&6
7845 else
7846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7847 /* end confdefs.h. */
7848
7849 int
7850 main ()
7851 {
7852 #ifndef __GNUC__
7853 choke me
7854 #endif
7855
7856 ;
7857 return 0;
7858 }
7859 _ACEOF
7860 if ac_fn_cxx_try_compile "$LINENO"; then :
7861 ac_compiler_gnu=yes
7862 else
7863 ac_compiler_gnu=no
7864 fi
7865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7866 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7867
7868 fi
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7870 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7871 if test $ac_compiler_gnu = yes; then
7872 GXX=yes
7873 else
7874 GXX=
7875 fi
7876 ac_test_CXXFLAGS=${CXXFLAGS+set}
7877 ac_save_CXXFLAGS=$CXXFLAGS
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7879 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7880 if ${ac_cv_prog_cxx_g+:} false; then :
7881 $as_echo_n "(cached) " >&6
7882 else
7883 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7884 ac_cxx_werror_flag=yes
7885 ac_cv_prog_cxx_g=no
7886 CXXFLAGS="-g"
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7889
7890 int
7891 main ()
7892 {
7893
7894 ;
7895 return 0;
7896 }
7897 _ACEOF
7898 if ac_fn_cxx_try_compile "$LINENO"; then :
7899 ac_cv_prog_cxx_g=yes
7900 else
7901 CXXFLAGS=""
7902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7903 /* end confdefs.h. */
7904
7905 int
7906 main ()
7907 {
7908
7909 ;
7910 return 0;
7911 }
7912 _ACEOF
7913 if ac_fn_cxx_try_compile "$LINENO"; then :
7914
7915 else
7916 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7917 CXXFLAGS="-g"
7918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7919 /* end confdefs.h. */
7920
7921 int
7922 main ()
7923 {
7924
7925 ;
7926 return 0;
7927 }
7928 _ACEOF
7929 if ac_fn_cxx_try_compile "$LINENO"; then :
7930 ac_cv_prog_cxx_g=yes
7931 fi
7932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7933 fi
7934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7935 fi
7936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7937 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7938 fi
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7940 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7941 if test "$ac_test_CXXFLAGS" = set; then
7942 CXXFLAGS=$ac_save_CXXFLAGS
7943 elif test $ac_cv_prog_cxx_g = yes; then
7944 if test "$GXX" = yes; then
7945 CXXFLAGS="-g -O2"
7946 else
7947 CXXFLAGS="-g"
7948 fi
7949 else
7950 if test "$GXX" = yes; then
7951 CXXFLAGS="-O2"
7952 else
7953 CXXFLAGS=
7954 fi
7955 fi
7956 ac_ext=cpp
7957 ac_cpp='$CXXCPP $CPPFLAGS'
7958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7961
7962 depcc="$CXX" am_compiler_list=
7963
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7965 $as_echo_n "checking dependency style of $depcc... " >&6; }
7966 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
7967 $as_echo_n "(cached) " >&6
7968 else
7969 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7970 # We make a subdir and do the tests there. Otherwise we can end up
7971 # making bogus files that we don't know about and never remove. For
7972 # instance it was reported that on HP-UX the gcc test will end up
7973 # making a dummy file named `D' -- because `-MD' means `put the output
7974 # in D'.
7975 mkdir conftest.dir
7976 # Copy depcomp to subdir because otherwise we won't find it if we're
7977 # using a relative directory.
7978 cp "$am_depcomp" conftest.dir
7979 cd conftest.dir
7980 # We will build objects and dependencies in a subdirectory because
7981 # it helps to detect inapplicable dependency modes. For instance
7982 # both Tru64's cc and ICC support -MD to output dependencies as a
7983 # side effect of compilation, but ICC will put the dependencies in
7984 # the current directory while Tru64 will put them in the object
7985 # directory.
7986 mkdir sub
7987
7988 am_cv_CXX_dependencies_compiler_type=none
7989 if test "$am_compiler_list" = ""; then
7990 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7991 fi
7992 am__universal=false
7993 case " $depcc " in #(
7994 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7995 esac
7996
7997 for depmode in $am_compiler_list; do
7998 # Setup a source with many dependencies, because some compilers
7999 # like to wrap large dependency lists on column 80 (with \), and
8000 # we should not choose a depcomp mode which is confused by this.
8001 #
8002 # We need to recreate these files for each test, as the compiler may
8003 # overwrite some of them when testing with obscure command lines.
8004 # This happens at least with the AIX C compiler.
8005 : > sub/conftest.c
8006 for i in 1 2 3 4 5 6; do
8007 echo '#include "conftst'$i'.h"' >> sub/conftest.c
8008 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8009 # Solaris 8's {/usr,}/bin/sh.
8010 touch sub/conftst$i.h
8011 done
8012 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8013
8014 # We check with `-c' and `-o' for the sake of the "dashmstdout"
8015 # mode. It turns out that the SunPro C++ compiler does not properly
8016 # handle `-M -o', and we need to detect this. Also, some Intel
8017 # versions had trouble with output in subdirs
8018 am__obj=sub/conftest.${OBJEXT-o}
8019 am__minus_obj="-o $am__obj"
8020 case $depmode in
8021 gcc)
8022 # This depmode causes a compiler race in universal mode.
8023 test "$am__universal" = false || continue
8024 ;;
8025 nosideeffect)
8026 # after this tag, mechanisms are not by side-effect, so they'll
8027 # only be used when explicitly requested
8028 if test "x$enable_dependency_tracking" = xyes; then
8029 continue
8030 else
8031 break
8032 fi
8033 ;;
8034 msvisualcpp | msvcmsys)
8035 # This compiler won't grok `-c -o', but also, the minuso test has
8036 # not run yet. These depmodes are late enough in the game, and
8037 # so weak that their functioning should not be impacted.
8038 am__obj=conftest.${OBJEXT-o}
8039 am__minus_obj=
8040 ;;
8041 none) break ;;
8042 esac
8043 if depmode=$depmode \
8044 source=sub/conftest.c object=$am__obj \
8045 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8046 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8047 >/dev/null 2>conftest.err &&
8048 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8049 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8050 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8051 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8052 # icc doesn't choke on unknown options, it will just issue warnings
8053 # or remarks (even with -Werror). So we grep stderr for any message
8054 # that says an option was ignored or not supported.
8055 # When given -MP, icc 7.0 and 7.1 complain thusly:
8056 # icc: Command line warning: ignoring option '-M'; no argument required
8057 # The diagnosis changed in icc 8.0:
8058 # icc: Command line remark: option '-MP' not supported
8059 if (grep 'ignoring option' conftest.err ||
8060 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8061 am_cv_CXX_dependencies_compiler_type=$depmode
8062 break
8063 fi
8064 fi
8065 done
8066
8067 cd ..
8068 rm -rf conftest.dir
8069 else
8070 am_cv_CXX_dependencies_compiler_type=none
8071 fi
8072
8073 fi
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8075 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8076 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8077
8078 if
8079 test "x$enable_dependency_tracking" != xno \
8080 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8081 am__fastdepCXX_TRUE=
8082 am__fastdepCXX_FALSE='#'
8083 else
8084 am__fastdepCXX_TRUE='#'
8085 am__fastdepCXX_FALSE=
8086 fi
8087
8088
8089 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8090 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8091 (test "X$CXX" != "Xg++"))) ; then
8092 ac_ext=cpp
8093 ac_cpp='$CXXCPP $CPPFLAGS'
8094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8098 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8099 if test -z "$CXXCPP"; then
8100 if ${ac_cv_prog_CXXCPP+:} false; then :
8101 $as_echo_n "(cached) " >&6
8102 else
8103 # Double quotes because CXXCPP needs to be expanded
8104 for CXXCPP in "$CXX -E" "/lib/cpp"
8105 do
8106 ac_preproc_ok=false
8107 for ac_cxx_preproc_warn_flag in '' yes
8108 do
8109 # Use a header file that comes with gcc, so configuring glibc
8110 # with a fresh cross-compiler works.
8111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8112 # <limits.h> exists even on freestanding compilers.
8113 # On the NeXT, cc -E runs the code through the compiler's parser,
8114 # not just through cpp. "Syntax error" is here to catch this case.
8115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8116 /* end confdefs.h. */
8117 @%:@ifdef __STDC__
8118 @%:@ include <limits.h>
8119 @%:@else
8120 @%:@ include <assert.h>
8121 @%:@endif
8122 Syntax error
8123 _ACEOF
8124 if ac_fn_cxx_try_cpp "$LINENO"; then :
8125
8126 else
8127 # Broken: fails on valid input.
8128 continue
8129 fi
8130 rm -f conftest.err conftest.i conftest.$ac_ext
8131
8132 # OK, works on sane cases. Now check whether nonexistent headers
8133 # can be detected and how.
8134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8136 @%:@include <ac_nonexistent.h>
8137 _ACEOF
8138 if ac_fn_cxx_try_cpp "$LINENO"; then :
8139 # Broken: success on invalid input.
8140 continue
8141 else
8142 # Passes both tests.
8143 ac_preproc_ok=:
8144 break
8145 fi
8146 rm -f conftest.err conftest.i conftest.$ac_ext
8147
8148 done
8149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8150 rm -f conftest.i conftest.err conftest.$ac_ext
8151 if $ac_preproc_ok; then :
8152 break
8153 fi
8154
8155 done
8156 ac_cv_prog_CXXCPP=$CXXCPP
8157
8158 fi
8159 CXXCPP=$ac_cv_prog_CXXCPP
8160 else
8161 ac_cv_prog_CXXCPP=$CXXCPP
8162 fi
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8164 $as_echo "$CXXCPP" >&6; }
8165 ac_preproc_ok=false
8166 for ac_cxx_preproc_warn_flag in '' yes
8167 do
8168 # Use a header file that comes with gcc, so configuring glibc
8169 # with a fresh cross-compiler works.
8170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8171 # <limits.h> exists even on freestanding compilers.
8172 # On the NeXT, cc -E runs the code through the compiler's parser,
8173 # not just through cpp. "Syntax error" is here to catch this case.
8174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8176 @%:@ifdef __STDC__
8177 @%:@ include <limits.h>
8178 @%:@else
8179 @%:@ include <assert.h>
8180 @%:@endif
8181 Syntax error
8182 _ACEOF
8183 if ac_fn_cxx_try_cpp "$LINENO"; then :
8184
8185 else
8186 # Broken: fails on valid input.
8187 continue
8188 fi
8189 rm -f conftest.err conftest.i conftest.$ac_ext
8190
8191 # OK, works on sane cases. Now check whether nonexistent headers
8192 # can be detected and how.
8193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8195 @%:@include <ac_nonexistent.h>
8196 _ACEOF
8197 if ac_fn_cxx_try_cpp "$LINENO"; then :
8198 # Broken: success on invalid input.
8199 continue
8200 else
8201 # Passes both tests.
8202 ac_preproc_ok=:
8203 break
8204 fi
8205 rm -f conftest.err conftest.i conftest.$ac_ext
8206
8207 done
8208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8209 rm -f conftest.i conftest.err conftest.$ac_ext
8210 if $ac_preproc_ok; then :
8211
8212 else
8213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8215 _lt_caught_CXX_error=yes; }
8216 fi
8217
8218 ac_ext=cpp
8219 ac_cpp='$CXXCPP $CPPFLAGS'
8220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8223
8224 else
8225 _lt_caught_CXX_error=yes
8226 fi
8227
8228
8229
8230
8231
8232 # Set options
8233
8234
8235
8236 enable_dlopen=no
8237
8238
8239 enable_win32_dll=no
8240
8241
8242 @%:@ Check whether --enable-shared was given.
8243 if test "${enable_shared+set}" = set; then :
8244 enableval=$enable_shared; p=${PACKAGE-default}
8245 case $enableval in
8246 yes) enable_shared=yes ;;
8247 no) enable_shared=no ;;
8248 *)
8249 enable_shared=no
8250 # Look at the argument we got. We use all the common list separators.
8251 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8252 for pkg in $enableval; do
8253 IFS="$lt_save_ifs"
8254 if test "X$pkg" = "X$p"; then
8255 enable_shared=yes
8256 fi
8257 done
8258 IFS="$lt_save_ifs"
8259 ;;
8260 esac
8261 else
8262 enable_shared=yes
8263 fi
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273 @%:@ Check whether --enable-static was given.
8274 if test "${enable_static+set}" = set; then :
8275 enableval=$enable_static; p=${PACKAGE-default}
8276 case $enableval in
8277 yes) enable_static=yes ;;
8278 no) enable_static=no ;;
8279 *)
8280 enable_static=no
8281 # Look at the argument we got. We use all the common list separators.
8282 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8283 for pkg in $enableval; do
8284 IFS="$lt_save_ifs"
8285 if test "X$pkg" = "X$p"; then
8286 enable_static=yes
8287 fi
8288 done
8289 IFS="$lt_save_ifs"
8290 ;;
8291 esac
8292 else
8293 enable_static=yes
8294 fi
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305 @%:@ Check whether --with-pic was given.
8306 if test "${with_pic+set}" = set; then :
8307 withval=$with_pic; pic_mode="$withval"
8308 else
8309 pic_mode=default
8310 fi
8311
8312
8313 test -z "$pic_mode" && pic_mode=default
8314
8315
8316
8317
8318
8319
8320
8321 @%:@ Check whether --enable-fast-install was given.
8322 if test "${enable_fast_install+set}" = set; then :
8323 enableval=$enable_fast_install; p=${PACKAGE-default}
8324 case $enableval in
8325 yes) enable_fast_install=yes ;;
8326 no) enable_fast_install=no ;;
8327 *)
8328 enable_fast_install=no
8329 # Look at the argument we got. We use all the common list separators.
8330 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8331 for pkg in $enableval; do
8332 IFS="$lt_save_ifs"
8333 if test "X$pkg" = "X$p"; then
8334 enable_fast_install=yes
8335 fi
8336 done
8337 IFS="$lt_save_ifs"
8338 ;;
8339 esac
8340 else
8341 enable_fast_install=yes
8342 fi
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354 # This can be used to rebuild libtool when needed
8355 LIBTOOL_DEPS="$ltmain"
8356
8357 # Always use our own libtool.
8358 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384 test -z "$LN_S" && LN_S="ln -s"
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399 if test -n "${ZSH_VERSION+set}" ; then
8400 setopt NO_GLOB_SUBST
8401 fi
8402
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8404 $as_echo_n "checking for objdir... " >&6; }
8405 if ${lt_cv_objdir+:} false; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 rm -f .libs 2>/dev/null
8409 mkdir .libs 2>/dev/null
8410 if test -d .libs; then
8411 lt_cv_objdir=.libs
8412 else
8413 # MS-DOS does not allow filenames that begin with a dot.
8414 lt_cv_objdir=_libs
8415 fi
8416 rmdir .libs 2>/dev/null
8417 fi
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8419 $as_echo "$lt_cv_objdir" >&6; }
8420 objdir=$lt_cv_objdir
8421
8422
8423
8424
8425
8426 cat >>confdefs.h <<_ACEOF
8427 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8428 _ACEOF
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446 case $host_os in
8447 aix3*)
8448 # AIX sometimes has problems with the GCC collect2 program. For some
8449 # reason, if we set the COLLECT_NAMES environment variable, the problems
8450 # vanish in a puff of smoke.
8451 if test "X${COLLECT_NAMES+set}" != Xset; then
8452 COLLECT_NAMES=
8453 export COLLECT_NAMES
8454 fi
8455 ;;
8456 esac
8457
8458 # Sed substitution that helps us do robust quoting. It backslashifies
8459 # metacharacters that are still active within double-quoted strings.
8460 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8461
8462 # Same as above, but do not quote variable references.
8463 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8464
8465 # Sed substitution to delay expansion of an escaped shell variable in a
8466 # double_quote_subst'ed string.
8467 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8468
8469 # Sed substitution to delay expansion of an escaped single quote.
8470 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8471
8472 # Sed substitution to avoid accidental globbing in evaled expressions
8473 no_glob_subst='s/\*/\\\*/g'
8474
8475 # Global variables:
8476 ofile=libtool
8477 can_build_shared=yes
8478
8479 # All known linkers require a `.a' archive for static linking (except MSVC,
8480 # which needs '.lib').
8481 libext=a
8482
8483 with_gnu_ld="$lt_cv_prog_gnu_ld"
8484
8485 old_CC="$CC"
8486 old_CFLAGS="$CFLAGS"
8487
8488 # Set sane defaults for various variables
8489 test -z "$CC" && CC=cc
8490 test -z "$LTCC" && LTCC=$CC
8491 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8492 test -z "$LD" && LD=ld
8493 test -z "$ac_objext" && ac_objext=o
8494
8495 for cc_temp in $compiler""; do
8496 case $cc_temp in
8497 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8498 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8499 \-*) ;;
8500 *) break;;
8501 esac
8502 done
8503 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8504
8505
8506 # Only perform the check for file, if the check method requires it
8507 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8508 case $deplibs_check_method in
8509 file_magic*)
8510 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8512 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8513 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8514 $as_echo_n "(cached) " >&6
8515 else
8516 case $MAGIC_CMD in
8517 [\\/*] | ?:[\\/]*)
8518 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8519 ;;
8520 *)
8521 lt_save_MAGIC_CMD="$MAGIC_CMD"
8522 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8523 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8524 for ac_dir in $ac_dummy; do
8525 IFS="$lt_save_ifs"
8526 test -z "$ac_dir" && ac_dir=.
8527 if test -f $ac_dir/${ac_tool_prefix}file; then
8528 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8529 if test -n "$file_magic_test_file"; then
8530 case $deplibs_check_method in
8531 "file_magic "*)
8532 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8533 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8534 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8535 $EGREP "$file_magic_regex" > /dev/null; then
8536 :
8537 else
8538 cat <<_LT_EOF 1>&2
8539
8540 *** Warning: the command libtool uses to detect shared libraries,
8541 *** $file_magic_cmd, produces output that libtool cannot recognize.
8542 *** The result is that libtool may fail to recognize shared libraries
8543 *** as such. This will affect the creation of libtool libraries that
8544 *** depend on shared libraries, but programs linked with such libtool
8545 *** libraries will work regardless of this problem. Nevertheless, you
8546 *** may want to report the problem to your system manager and/or to
8547 *** bug-libtool@gnu.org
8548
8549 _LT_EOF
8550 fi ;;
8551 esac
8552 fi
8553 break
8554 fi
8555 done
8556 IFS="$lt_save_ifs"
8557 MAGIC_CMD="$lt_save_MAGIC_CMD"
8558 ;;
8559 esac
8560 fi
8561
8562 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8563 if test -n "$MAGIC_CMD"; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8565 $as_echo "$MAGIC_CMD" >&6; }
8566 else
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8568 $as_echo "no" >&6; }
8569 fi
8570
8571
8572
8573
8574
8575 if test -z "$lt_cv_path_MAGIC_CMD"; then
8576 if test -n "$ac_tool_prefix"; then
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8578 $as_echo_n "checking for file... " >&6; }
8579 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 case $MAGIC_CMD in
8583 [\\/*] | ?:[\\/]*)
8584 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8585 ;;
8586 *)
8587 lt_save_MAGIC_CMD="$MAGIC_CMD"
8588 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8589 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8590 for ac_dir in $ac_dummy; do
8591 IFS="$lt_save_ifs"
8592 test -z "$ac_dir" && ac_dir=.
8593 if test -f $ac_dir/file; then
8594 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8595 if test -n "$file_magic_test_file"; then
8596 case $deplibs_check_method in
8597 "file_magic "*)
8598 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8599 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8600 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8601 $EGREP "$file_magic_regex" > /dev/null; then
8602 :
8603 else
8604 cat <<_LT_EOF 1>&2
8605
8606 *** Warning: the command libtool uses to detect shared libraries,
8607 *** $file_magic_cmd, produces output that libtool cannot recognize.
8608 *** The result is that libtool may fail to recognize shared libraries
8609 *** as such. This will affect the creation of libtool libraries that
8610 *** depend on shared libraries, but programs linked with such libtool
8611 *** libraries will work regardless of this problem. Nevertheless, you
8612 *** may want to report the problem to your system manager and/or to
8613 *** bug-libtool@gnu.org
8614
8615 _LT_EOF
8616 fi ;;
8617 esac
8618 fi
8619 break
8620 fi
8621 done
8622 IFS="$lt_save_ifs"
8623 MAGIC_CMD="$lt_save_MAGIC_CMD"
8624 ;;
8625 esac
8626 fi
8627
8628 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8629 if test -n "$MAGIC_CMD"; then
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8631 $as_echo "$MAGIC_CMD" >&6; }
8632 else
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8634 $as_echo "no" >&6; }
8635 fi
8636
8637
8638 else
8639 MAGIC_CMD=:
8640 fi
8641 fi
8642
8643 fi
8644 ;;
8645 esac
8646
8647 # Use C for the default configuration in the libtool script
8648
8649 lt_save_CC="$CC"
8650 ac_ext=c
8651 ac_cpp='$CPP $CPPFLAGS'
8652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8655
8656
8657 # Source file extension for C test sources.
8658 ac_ext=c
8659
8660 # Object file extension for compiled C test sources.
8661 objext=o
8662 objext=$objext
8663
8664 # Code to be used in simple compile tests
8665 lt_simple_compile_test_code="int some_variable = 0;"
8666
8667 # Code to be used in simple link tests
8668 lt_simple_link_test_code='int main(){return(0);}'
8669
8670
8671
8672
8673
8674
8675
8676 # If no C compiler was specified, use CC.
8677 LTCC=${LTCC-"$CC"}
8678
8679 # If no C compiler flags were specified, use CFLAGS.
8680 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8681
8682 # Allow CC to be a program name with arguments.
8683 compiler=$CC
8684
8685 # Save the default compiler, since it gets overwritten when the other
8686 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8687 compiler_DEFAULT=$CC
8688
8689 # save warnings/boilerplate of simple test code
8690 ac_outfile=conftest.$ac_objext
8691 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8692 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8693 _lt_compiler_boilerplate=`cat conftest.err`
8694 $RM conftest*
8695
8696 ac_outfile=conftest.$ac_objext
8697 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8698 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8699 _lt_linker_boilerplate=`cat conftest.err`
8700 $RM -r conftest*
8701
8702
8703 ## CAVEAT EMPTOR:
8704 ## There is no encapsulation within the following macros, do not change
8705 ## the running order or otherwise move them around unless you know exactly
8706 ## what you are doing...
8707 if test -n "$compiler"; then
8708
8709 lt_prog_compiler_no_builtin_flag=
8710
8711 if test "$GCC" = yes; then
8712 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8713
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8715 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8716 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8717 $as_echo_n "(cached) " >&6
8718 else
8719 lt_cv_prog_compiler_rtti_exceptions=no
8720 ac_outfile=conftest.$ac_objext
8721 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8722 lt_compiler_flag="-fno-rtti -fno-exceptions"
8723 # Insert the option either (1) after the last *FLAGS variable, or
8724 # (2) before a word containing "conftest.", or (3) at the end.
8725 # Note that $ac_compile itself does not contain backslashes and begins
8726 # with a dollar sign (not a hyphen), so the echo should work correctly.
8727 # The option is referenced via a variable to avoid confusing sed.
8728 lt_compile=`echo "$ac_compile" | $SED \
8729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8731 -e 's:$: $lt_compiler_flag:'`
8732 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8733 (eval "$lt_compile" 2>conftest.err)
8734 ac_status=$?
8735 cat conftest.err >&5
8736 echo "$as_me:__oline__: \$? = $ac_status" >&5
8737 if (exit $ac_status) && test -s "$ac_outfile"; then
8738 # The compiler can only warn and ignore the option if not recognized
8739 # So say no if there are warnings other than the usual output.
8740 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8741 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8742 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8743 lt_cv_prog_compiler_rtti_exceptions=yes
8744 fi
8745 fi
8746 $RM conftest*
8747
8748 fi
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8750 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8751
8752 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8753 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8754 else
8755 :
8756 fi
8757
8758 fi
8759
8760
8761
8762
8763
8764
8765 lt_prog_compiler_wl=
8766 lt_prog_compiler_pic=
8767 lt_prog_compiler_static=
8768
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8770 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8771
8772 if test "$GCC" = yes; then
8773 lt_prog_compiler_wl='-Wl,'
8774 lt_prog_compiler_static='-static'
8775
8776 case $host_os in
8777 aix*)
8778 # All AIX code is PIC.
8779 if test "$host_cpu" = ia64; then
8780 # AIX 5 now supports IA64 processor
8781 lt_prog_compiler_static='-Bstatic'
8782 fi
8783 ;;
8784
8785 amigaos*)
8786 case $host_cpu in
8787 powerpc)
8788 # see comment about AmigaOS4 .so support
8789 lt_prog_compiler_pic='-fPIC'
8790 ;;
8791 m68k)
8792 # FIXME: we need at least 68020 code to build shared libraries, but
8793 # adding the `-m68020' flag to GCC prevents building anything better,
8794 # like `-m68040'.
8795 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8796 ;;
8797 esac
8798 ;;
8799
8800 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8801 # PIC is the default for these OSes.
8802 ;;
8803
8804 mingw* | cygwin* | pw32* | os2* | cegcc*)
8805 # This hack is so that the source file can tell whether it is being
8806 # built for inclusion in a dll (and should export symbols for example).
8807 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8808 # (--disable-auto-import) libraries
8809 lt_prog_compiler_pic='-DDLL_EXPORT'
8810 ;;
8811
8812 darwin* | rhapsody*)
8813 # PIC is the default on this platform
8814 # Common symbols not allowed in MH_DYLIB files
8815 lt_prog_compiler_pic='-fno-common'
8816 ;;
8817
8818 hpux*)
8819 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8820 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8821 # sets the default TLS model and affects inlining.
8822 case $host_cpu in
8823 hppa*64*)
8824 # +Z the default
8825 ;;
8826 *)
8827 lt_prog_compiler_pic='-fPIC'
8828 ;;
8829 esac
8830 ;;
8831
8832 interix[3-9]*)
8833 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8834 # Instead, we relocate shared libraries at runtime.
8835 ;;
8836
8837 msdosdjgpp*)
8838 # Just because we use GCC doesn't mean we suddenly get shared libraries
8839 # on systems that don't support them.
8840 lt_prog_compiler_can_build_shared=no
8841 enable_shared=no
8842 ;;
8843
8844 *nto* | *qnx*)
8845 # QNX uses GNU C++, but need to define -shared option too, otherwise
8846 # it will coredump.
8847 lt_prog_compiler_pic='-fPIC -shared'
8848 ;;
8849
8850 sysv4*MP*)
8851 if test -d /usr/nec; then
8852 lt_prog_compiler_pic=-Kconform_pic
8853 fi
8854 ;;
8855
8856 *)
8857 lt_prog_compiler_pic='-fPIC'
8858 ;;
8859 esac
8860 else
8861 # PORTME Check for flag to pass linker flags through the system compiler.
8862 case $host_os in
8863 aix*)
8864 lt_prog_compiler_wl='-Wl,'
8865 if test "$host_cpu" = ia64; then
8866 # AIX 5 now supports IA64 processor
8867 lt_prog_compiler_static='-Bstatic'
8868 else
8869 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8870 fi
8871 ;;
8872
8873 mingw* | cygwin* | pw32* | os2* | cegcc*)
8874 # This hack is so that the source file can tell whether it is being
8875 # built for inclusion in a dll (and should export symbols for example).
8876 lt_prog_compiler_pic='-DDLL_EXPORT'
8877 ;;
8878
8879 hpux9* | hpux10* | hpux11*)
8880 lt_prog_compiler_wl='-Wl,'
8881 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8882 # not for PA HP-UX.
8883 case $host_cpu in
8884 hppa*64*|ia64*)
8885 # +Z the default
8886 ;;
8887 *)
8888 lt_prog_compiler_pic='+Z'
8889 ;;
8890 esac
8891 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8892 lt_prog_compiler_static='${wl}-a ${wl}archive'
8893 ;;
8894
8895 irix5* | irix6* | nonstopux*)
8896 lt_prog_compiler_wl='-Wl,'
8897 # PIC (with -KPIC) is the default.
8898 lt_prog_compiler_static='-non_shared'
8899 ;;
8900
8901 linux* | k*bsd*-gnu)
8902 case $cc_basename in
8903 # old Intel for x86_64 which still supported -KPIC.
8904 ecc*)
8905 lt_prog_compiler_wl='-Wl,'
8906 lt_prog_compiler_pic='-KPIC'
8907 lt_prog_compiler_static='-static'
8908 ;;
8909 # icc used to be incompatible with GCC.
8910 # ICC 10 doesn't accept -KPIC any more.
8911 icc* | ifort*)
8912 lt_prog_compiler_wl='-Wl,'
8913 lt_prog_compiler_pic='-fPIC'
8914 lt_prog_compiler_static='-static'
8915 ;;
8916 # Lahey Fortran 8.1.
8917 lf95*)
8918 lt_prog_compiler_wl='-Wl,'
8919 lt_prog_compiler_pic='--shared'
8920 lt_prog_compiler_static='--static'
8921 ;;
8922 pgcc* | pgf77* | pgf90* | pgf95*)
8923 # Portland Group compilers (*not* the Pentium gcc compiler,
8924 # which looks to be a dead project)
8925 lt_prog_compiler_wl='-Wl,'
8926 lt_prog_compiler_pic='-fpic'
8927 lt_prog_compiler_static='-Bstatic'
8928 ;;
8929 ccc*)
8930 lt_prog_compiler_wl='-Wl,'
8931 # All Alpha code is PIC.
8932 lt_prog_compiler_static='-non_shared'
8933 ;;
8934 xl*)
8935 # IBM XL C 8.0/Fortran 10.1 on PPC
8936 lt_prog_compiler_wl='-Wl,'
8937 lt_prog_compiler_pic='-qpic'
8938 lt_prog_compiler_static='-qstaticlink'
8939 ;;
8940 *)
8941 case `$CC -V 2>&1 | sed 5q` in
8942 *Sun\ C*)
8943 # Sun C 5.9
8944 lt_prog_compiler_pic='-KPIC'
8945 lt_prog_compiler_static='-Bstatic'
8946 lt_prog_compiler_wl='-Wl,'
8947 ;;
8948 *Sun\ F*)
8949 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8950 lt_prog_compiler_pic='-KPIC'
8951 lt_prog_compiler_static='-Bstatic'
8952 lt_prog_compiler_wl=''
8953 ;;
8954 esac
8955 ;;
8956 esac
8957 ;;
8958
8959 newsos6)
8960 lt_prog_compiler_pic='-KPIC'
8961 lt_prog_compiler_static='-Bstatic'
8962 ;;
8963
8964 *nto* | *qnx*)
8965 # QNX uses GNU C++, but need to define -shared option too, otherwise
8966 # it will coredump.
8967 lt_prog_compiler_pic='-fPIC -shared'
8968 ;;
8969
8970 osf3* | osf4* | osf5*)
8971 lt_prog_compiler_wl='-Wl,'
8972 # All OSF/1 code is PIC.
8973 lt_prog_compiler_static='-non_shared'
8974 ;;
8975
8976 rdos*)
8977 lt_prog_compiler_static='-non_shared'
8978 ;;
8979
8980 solaris*)
8981 lt_prog_compiler_pic='-KPIC'
8982 lt_prog_compiler_static='-Bstatic'
8983 case $cc_basename in
8984 f77* | f90* | f95*)
8985 lt_prog_compiler_wl='-Qoption ld ';;
8986 *)
8987 lt_prog_compiler_wl='-Wl,';;
8988 esac
8989 ;;
8990
8991 sunos4*)
8992 lt_prog_compiler_wl='-Qoption ld '
8993 lt_prog_compiler_pic='-PIC'
8994 lt_prog_compiler_static='-Bstatic'
8995 ;;
8996
8997 sysv4 | sysv4.2uw2* | sysv4.3*)
8998 lt_prog_compiler_wl='-Wl,'
8999 lt_prog_compiler_pic='-KPIC'
9000 lt_prog_compiler_static='-Bstatic'
9001 ;;
9002
9003 sysv4*MP*)
9004 if test -d /usr/nec ;then
9005 lt_prog_compiler_pic='-Kconform_pic'
9006 lt_prog_compiler_static='-Bstatic'
9007 fi
9008 ;;
9009
9010 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9011 lt_prog_compiler_wl='-Wl,'
9012 lt_prog_compiler_pic='-KPIC'
9013 lt_prog_compiler_static='-Bstatic'
9014 ;;
9015
9016 unicos*)
9017 lt_prog_compiler_wl='-Wl,'
9018 lt_prog_compiler_can_build_shared=no
9019 ;;
9020
9021 uts4*)
9022 lt_prog_compiler_pic='-pic'
9023 lt_prog_compiler_static='-Bstatic'
9024 ;;
9025
9026 *)
9027 lt_prog_compiler_can_build_shared=no
9028 ;;
9029 esac
9030 fi
9031
9032 case $host_os in
9033 # For platforms which do not support PIC, -DPIC is meaningless:
9034 *djgpp*)
9035 lt_prog_compiler_pic=
9036 ;;
9037 *)
9038 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
9039 ;;
9040 esac
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9042 $as_echo "$lt_prog_compiler_pic" >&6; }
9043
9044
9045
9046
9047
9048
9049 #
9050 # Check to make sure the PIC flag actually works.
9051 #
9052 if test -n "$lt_prog_compiler_pic"; then
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9054 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9055 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9056 $as_echo_n "(cached) " >&6
9057 else
9058 lt_cv_prog_compiler_pic_works=no
9059 ac_outfile=conftest.$ac_objext
9060 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9061 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
9062 # Insert the option either (1) after the last *FLAGS variable, or
9063 # (2) before a word containing "conftest.", or (3) at the end.
9064 # Note that $ac_compile itself does not contain backslashes and begins
9065 # with a dollar sign (not a hyphen), so the echo should work correctly.
9066 # The option is referenced via a variable to avoid confusing sed.
9067 lt_compile=`echo "$ac_compile" | $SED \
9068 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9069 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9070 -e 's:$: $lt_compiler_flag:'`
9071 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9072 (eval "$lt_compile" 2>conftest.err)
9073 ac_status=$?
9074 cat conftest.err >&5
9075 echo "$as_me:__oline__: \$? = $ac_status" >&5
9076 if (exit $ac_status) && test -s "$ac_outfile"; then
9077 # The compiler can only warn and ignore the option if not recognized
9078 # So say no if there are warnings other than the usual output.
9079 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9080 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9081 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9082 lt_cv_prog_compiler_pic_works=yes
9083 fi
9084 fi
9085 $RM conftest*
9086
9087 fi
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9089 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9090
9091 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9092 case $lt_prog_compiler_pic in
9093 "" | " "*) ;;
9094 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9095 esac
9096 else
9097 lt_prog_compiler_pic=
9098 lt_prog_compiler_can_build_shared=no
9099 fi
9100
9101 fi
9102
9103
9104
9105
9106
9107
9108 #
9109 # Check to make sure the static flag actually works.
9110 #
9111 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9113 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9114 if ${lt_cv_prog_compiler_static_works+:} false; then :
9115 $as_echo_n "(cached) " >&6
9116 else
9117 lt_cv_prog_compiler_static_works=no
9118 save_LDFLAGS="$LDFLAGS"
9119 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9120 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9121 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9122 # The linker can only warn and ignore the option if not recognized
9123 # So say no if there are warnings
9124 if test -s conftest.err; then
9125 # Append any errors to the config.log.
9126 cat conftest.err 1>&5
9127 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9128 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9129 if diff conftest.exp conftest.er2 >/dev/null; then
9130 lt_cv_prog_compiler_static_works=yes
9131 fi
9132 else
9133 lt_cv_prog_compiler_static_works=yes
9134 fi
9135 fi
9136 $RM -r conftest*
9137 LDFLAGS="$save_LDFLAGS"
9138
9139 fi
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9141 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9142
9143 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9144 :
9145 else
9146 lt_prog_compiler_static=
9147 fi
9148
9149
9150
9151
9152
9153
9154
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9156 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9157 if ${lt_cv_prog_compiler_c_o+:} false; then :
9158 $as_echo_n "(cached) " >&6
9159 else
9160 lt_cv_prog_compiler_c_o=no
9161 $RM -r conftest 2>/dev/null
9162 mkdir conftest
9163 cd conftest
9164 mkdir out
9165 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9166
9167 lt_compiler_flag="-o out/conftest2.$ac_objext"
9168 # Insert the option either (1) after the last *FLAGS variable, or
9169 # (2) before a word containing "conftest.", or (3) at the end.
9170 # Note that $ac_compile itself does not contain backslashes and begins
9171 # with a dollar sign (not a hyphen), so the echo should work correctly.
9172 lt_compile=`echo "$ac_compile" | $SED \
9173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9175 -e 's:$: $lt_compiler_flag:'`
9176 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9177 (eval "$lt_compile" 2>out/conftest.err)
9178 ac_status=$?
9179 cat out/conftest.err >&5
9180 echo "$as_me:__oline__: \$? = $ac_status" >&5
9181 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9182 then
9183 # The compiler can only warn and ignore the option if not recognized
9184 # So say no if there are warnings
9185 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9186 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9187 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9188 lt_cv_prog_compiler_c_o=yes
9189 fi
9190 fi
9191 chmod u+w . 2>&5
9192 $RM conftest*
9193 # SGI C++ compiler will create directory out/ii_files/ for
9194 # template instantiation
9195 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9196 $RM out/* && rmdir out
9197 cd ..
9198 $RM -r conftest
9199 $RM conftest*
9200
9201 fi
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9203 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9204
9205
9206
9207
9208
9209
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9211 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9212 if ${lt_cv_prog_compiler_c_o+:} false; then :
9213 $as_echo_n "(cached) " >&6
9214 else
9215 lt_cv_prog_compiler_c_o=no
9216 $RM -r conftest 2>/dev/null
9217 mkdir conftest
9218 cd conftest
9219 mkdir out
9220 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9221
9222 lt_compiler_flag="-o out/conftest2.$ac_objext"
9223 # Insert the option either (1) after the last *FLAGS variable, or
9224 # (2) before a word containing "conftest.", or (3) at the end.
9225 # Note that $ac_compile itself does not contain backslashes and begins
9226 # with a dollar sign (not a hyphen), so the echo should work correctly.
9227 lt_compile=`echo "$ac_compile" | $SED \
9228 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9229 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9230 -e 's:$: $lt_compiler_flag:'`
9231 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9232 (eval "$lt_compile" 2>out/conftest.err)
9233 ac_status=$?
9234 cat out/conftest.err >&5
9235 echo "$as_me:__oline__: \$? = $ac_status" >&5
9236 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9237 then
9238 # The compiler can only warn and ignore the option if not recognized
9239 # So say no if there are warnings
9240 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9241 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9242 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9243 lt_cv_prog_compiler_c_o=yes
9244 fi
9245 fi
9246 chmod u+w . 2>&5
9247 $RM conftest*
9248 # SGI C++ compiler will create directory out/ii_files/ for
9249 # template instantiation
9250 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9251 $RM out/* && rmdir out
9252 cd ..
9253 $RM -r conftest
9254 $RM conftest*
9255
9256 fi
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9258 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9259
9260
9261
9262
9263 hard_links="nottested"
9264 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9265 # do not overwrite the value of need_locks provided by the user
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9267 $as_echo_n "checking if we can lock with hard links... " >&6; }
9268 hard_links=yes
9269 $RM conftest*
9270 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9271 touch conftest.a
9272 ln conftest.a conftest.b 2>&5 || hard_links=no
9273 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9275 $as_echo "$hard_links" >&6; }
9276 if test "$hard_links" = no; then
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9278 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9279 need_locks=warn
9280 fi
9281 else
9282 need_locks=no
9283 fi
9284
9285
9286
9287
9288
9289
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9291 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9292
9293 runpath_var=
9294 allow_undefined_flag=
9295 always_export_symbols=no
9296 archive_cmds=
9297 archive_expsym_cmds=
9298 compiler_needs_object=no
9299 enable_shared_with_static_runtimes=no
9300 export_dynamic_flag_spec=
9301 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9302 hardcode_automatic=no
9303 hardcode_direct=no
9304 hardcode_direct_absolute=no
9305 hardcode_libdir_flag_spec=
9306 hardcode_libdir_flag_spec_ld=
9307 hardcode_libdir_separator=
9308 hardcode_minus_L=no
9309 hardcode_shlibpath_var=unsupported
9310 inherit_rpath=no
9311 link_all_deplibs=unknown
9312 module_cmds=
9313 module_expsym_cmds=
9314 old_archive_from_new_cmds=
9315 old_archive_from_expsyms_cmds=
9316 thread_safe_flag_spec=
9317 whole_archive_flag_spec=
9318 # include_expsyms should be a list of space-separated symbols to be *always*
9319 # included in the symbol list
9320 include_expsyms=
9321 # exclude_expsyms can be an extended regexp of symbols to exclude
9322 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9323 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9324 # as well as any symbol that contains `d'.
9325 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9326 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9327 # platforms (ab)use it in PIC code, but their linkers get confused if
9328 # the symbol is explicitly referenced. Since portable code cannot
9329 # rely on this symbol name, it's probably fine to never include it in
9330 # preloaded symbol tables.
9331 # Exclude shared library initialization/finalization symbols.
9332 extract_expsyms_cmds=
9333
9334 case $host_os in
9335 cygwin* | mingw* | pw32* | cegcc*)
9336 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9337 # When not using gcc, we currently assume that we are using
9338 # Microsoft Visual C++.
9339 if test "$GCC" != yes; then
9340 with_gnu_ld=no
9341 fi
9342 ;;
9343 interix*)
9344 # we just hope/assume this is gcc and not c89 (= MSVC++)
9345 with_gnu_ld=yes
9346 ;;
9347 openbsd*)
9348 with_gnu_ld=no
9349 ;;
9350 esac
9351
9352 ld_shlibs=yes
9353 if test "$with_gnu_ld" = yes; then
9354 # If archive_cmds runs LD, not CC, wlarc should be empty
9355 wlarc='${wl}'
9356
9357 # Set some defaults for GNU ld with shared library support. These
9358 # are reset later if shared libraries are not supported. Putting them
9359 # here allows them to be overridden if necessary.
9360 runpath_var=LD_RUN_PATH
9361 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9362 export_dynamic_flag_spec='${wl}--export-dynamic'
9363 # ancient GNU ld didn't support --whole-archive et. al.
9364 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9365 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9366 else
9367 whole_archive_flag_spec=
9368 fi
9369 supports_anon_versioning=no
9370 case `$LD -v 2>&1` in
9371 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9372 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9373 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9374 *\ 2.11.*) ;; # other 2.11 versions
9375 *) supports_anon_versioning=yes ;;
9376 esac
9377
9378 # See if GNU ld supports shared libraries.
9379 case $host_os in
9380 aix[3-9]*)
9381 # On AIX/PPC, the GNU linker is very broken
9382 if test "$host_cpu" != ia64; then
9383 ld_shlibs=no
9384 cat <<_LT_EOF 1>&2
9385
9386 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9387 *** to be unable to reliably create shared libraries on AIX.
9388 *** Therefore, libtool is disabling shared libraries support. If you
9389 *** really care for shared libraries, you may want to modify your PATH
9390 *** so that a non-GNU linker is found, and then restart.
9391
9392 _LT_EOF
9393 fi
9394 ;;
9395
9396 amigaos*)
9397 case $host_cpu in
9398 powerpc)
9399 # see comment about AmigaOS4 .so support
9400 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401 archive_expsym_cmds=''
9402 ;;
9403 m68k)
9404 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)'
9405 hardcode_libdir_flag_spec='-L$libdir'
9406 hardcode_minus_L=yes
9407 ;;
9408 esac
9409 ;;
9410
9411 beos*)
9412 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9413 allow_undefined_flag=unsupported
9414 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9415 # support --undefined. This deserves some investigation. FIXME
9416 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9417 else
9418 ld_shlibs=no
9419 fi
9420 ;;
9421
9422 cygwin* | mingw* | pw32* | cegcc*)
9423 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9424 # as there is no search path for DLLs.
9425 hardcode_libdir_flag_spec='-L$libdir'
9426 allow_undefined_flag=unsupported
9427 always_export_symbols=no
9428 enable_shared_with_static_runtimes=yes
9429 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9430
9431 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9432 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9433 # If the export-symbols file already is a .def file (1st line
9434 # is EXPORTS), use it as is; otherwise, prepend...
9435 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9436 cp $export_symbols $output_objdir/$soname.def;
9437 else
9438 echo EXPORTS > $output_objdir/$soname.def;
9439 cat $export_symbols >> $output_objdir/$soname.def;
9440 fi~
9441 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9442 else
9443 ld_shlibs=no
9444 fi
9445 ;;
9446
9447 interix[3-9]*)
9448 hardcode_direct=no
9449 hardcode_shlibpath_var=no
9450 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9451 export_dynamic_flag_spec='${wl}-E'
9452 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9453 # Instead, shared libraries are loaded at an image base (0x10000000 by
9454 # default) and relocated if they conflict, which is a slow very memory
9455 # consuming and fragmenting process. To avoid this, we pick a random,
9456 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9457 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9458 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9459 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'
9460 ;;
9461
9462 gnu* | linux* | tpf* | k*bsd*-gnu)
9463 tmp_diet=no
9464 if test "$host_os" = linux-dietlibc; then
9465 case $cc_basename in
9466 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9467 esac
9468 fi
9469 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9470 && test "$tmp_diet" = no
9471 then
9472 tmp_addflag=
9473 tmp_sharedflag='-shared'
9474 case $cc_basename,$host_cpu in
9475 pgcc*) # Portland Group C compiler
9476 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9477 tmp_addflag=' $pic_flag'
9478 ;;
9479 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9480 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9481 tmp_addflag=' $pic_flag -Mnomain' ;;
9482 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9483 tmp_addflag=' -i_dynamic' ;;
9484 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9485 tmp_addflag=' -i_dynamic -nofor_main' ;;
9486 ifc* | ifort*) # Intel Fortran compiler
9487 tmp_addflag=' -nofor_main' ;;
9488 lf95*) # Lahey Fortran 8.1
9489 whole_archive_flag_spec=
9490 tmp_sharedflag='--shared' ;;
9491 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9492 tmp_sharedflag='-qmkshrobj'
9493 tmp_addflag= ;;
9494 esac
9495 case `$CC -V 2>&1 | sed 5q` in
9496 *Sun\ C*) # Sun C 5.9
9497 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9498 compiler_needs_object=yes
9499 tmp_sharedflag='-G' ;;
9500 *Sun\ F*) # Sun Fortran 8.3
9501 tmp_sharedflag='-G' ;;
9502 esac
9503 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9504
9505 if test "x$supports_anon_versioning" = xyes; then
9506 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9507 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9508 echo "local: *; };" >> $output_objdir/$libname.ver~
9509 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9510 fi
9511
9512 case $cc_basename in
9513 xlf*)
9514 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9515 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9516 hardcode_libdir_flag_spec=
9517 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9518 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9519 if test "x$supports_anon_versioning" = xyes; then
9520 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9521 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9522 echo "local: *; };" >> $output_objdir/$libname.ver~
9523 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9524 fi
9525 ;;
9526 esac
9527 else
9528 ld_shlibs=no
9529 fi
9530 ;;
9531
9532 netbsd*)
9533 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9534 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9535 wlarc=
9536 else
9537 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9538 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9539 fi
9540 ;;
9541
9542 solaris*)
9543 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9544 ld_shlibs=no
9545 cat <<_LT_EOF 1>&2
9546
9547 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9548 *** create shared libraries on Solaris systems. Therefore, libtool
9549 *** is disabling shared libraries support. We urge you to upgrade GNU
9550 *** binutils to release 2.9.1 or newer. Another option is to modify
9551 *** your PATH or compiler configuration so that the native linker is
9552 *** used, and then restart.
9553
9554 _LT_EOF
9555 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9556 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9557 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9558 else
9559 ld_shlibs=no
9560 fi
9561 ;;
9562
9563 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9564 case `$LD -v 2>&1` in
9565 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9566 ld_shlibs=no
9567 cat <<_LT_EOF 1>&2
9568
9569 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9570 *** reliably create shared libraries on SCO systems. Therefore, libtool
9571 *** is disabling shared libraries support. We urge you to upgrade GNU
9572 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9573 *** your PATH or compiler configuration so that the native linker is
9574 *** used, and then restart.
9575
9576 _LT_EOF
9577 ;;
9578 *)
9579 # For security reasons, it is highly recommended that you always
9580 # use absolute paths for naming shared libraries, and exclude the
9581 # DT_RUNPATH tag from executables and libraries. But doing so
9582 # requires that you compile everything twice, which is a pain.
9583 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9584 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9585 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9586 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9587 else
9588 ld_shlibs=no
9589 fi
9590 ;;
9591 esac
9592 ;;
9593
9594 sunos4*)
9595 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9596 wlarc=
9597 hardcode_direct=yes
9598 hardcode_shlibpath_var=no
9599 ;;
9600
9601 *)
9602 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9603 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9604 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9605 else
9606 ld_shlibs=no
9607 fi
9608 ;;
9609 esac
9610
9611 if test "$ld_shlibs" = no; then
9612 runpath_var=
9613 hardcode_libdir_flag_spec=
9614 export_dynamic_flag_spec=
9615 whole_archive_flag_spec=
9616 fi
9617 else
9618 # PORTME fill in a description of your system's linker (not GNU ld)
9619 case $host_os in
9620 aix3*)
9621 allow_undefined_flag=unsupported
9622 always_export_symbols=yes
9623 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'
9624 # Note: this linker hardcodes the directories in LIBPATH if there
9625 # are no directories specified by -L.
9626 hardcode_minus_L=yes
9627 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9628 # Neither direct hardcoding nor static linking is supported with a
9629 # broken collect2.
9630 hardcode_direct=unsupported
9631 fi
9632 ;;
9633
9634 aix[4-9]*)
9635 if test "$host_cpu" = ia64; then
9636 # On IA64, the linker does run time linking by default, so we don't
9637 # have to do anything special.
9638 aix_use_runtimelinking=no
9639 exp_sym_flag='-Bexport'
9640 no_entry_flag=""
9641 else
9642 # If we're using GNU nm, then we don't want the "-C" option.
9643 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9644 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9645 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9646 else
9647 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'
9648 fi
9649 aix_use_runtimelinking=no
9650
9651 # Test if we are trying to use run time linking or normal
9652 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9653 # need to do runtime linking.
9654 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9655 for ld_flag in $LDFLAGS; do
9656 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9657 aix_use_runtimelinking=yes
9658 break
9659 fi
9660 done
9661 ;;
9662 esac
9663
9664 exp_sym_flag='-bexport'
9665 no_entry_flag='-bnoentry'
9666 fi
9667
9668 # When large executables or shared objects are built, AIX ld can
9669 # have problems creating the table of contents. If linking a library
9670 # or program results in "error TOC overflow" add -mminimal-toc to
9671 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9672 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9673
9674 archive_cmds=''
9675 hardcode_direct=yes
9676 hardcode_direct_absolute=yes
9677 hardcode_libdir_separator=':'
9678 link_all_deplibs=yes
9679 file_list_spec='${wl}-f,'
9680
9681 if test "$GCC" = yes; then
9682 case $host_os in aix4.[012]|aix4.[012].*)
9683 # We only want to do this on AIX 4.2 and lower, the check
9684 # below for broken collect2 doesn't work under 4.3+
9685 collect2name=`${CC} -print-prog-name=collect2`
9686 if test -f "$collect2name" &&
9687 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9688 then
9689 # We have reworked collect2
9690 :
9691 else
9692 # We have old collect2
9693 hardcode_direct=unsupported
9694 # It fails to find uninstalled libraries when the uninstalled
9695 # path is not listed in the libpath. Setting hardcode_minus_L
9696 # to unsupported forces relinking
9697 hardcode_minus_L=yes
9698 hardcode_libdir_flag_spec='-L$libdir'
9699 hardcode_libdir_separator=
9700 fi
9701 ;;
9702 esac
9703 shared_flag='-shared'
9704 if test "$aix_use_runtimelinking" = yes; then
9705 shared_flag="$shared_flag "'${wl}-G'
9706 fi
9707 else
9708 # not using gcc
9709 if test "$host_cpu" = ia64; then
9710 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9711 # chokes on -Wl,-G. The following line is correct:
9712 shared_flag='-G'
9713 else
9714 if test "$aix_use_runtimelinking" = yes; then
9715 shared_flag='${wl}-G'
9716 else
9717 shared_flag='${wl}-bM:SRE'
9718 fi
9719 fi
9720 fi
9721
9722 export_dynamic_flag_spec='${wl}-bexpall'
9723 # It seems that -bexpall does not export symbols beginning with
9724 # underscore (_), so it is better to generate a list of symbols to export.
9725 always_export_symbols=yes
9726 if test "$aix_use_runtimelinking" = yes; then
9727 # Warning - without using the other runtime loading flags (-brtl),
9728 # -berok will link without error, but may produce a broken library.
9729 allow_undefined_flag='-berok'
9730 # Determine the default libpath from the value encoded in an
9731 # empty executable.
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9734
9735 int
9736 main ()
9737 {
9738
9739 ;
9740 return 0;
9741 }
9742 _ACEOF
9743 if ac_fn_c_try_link "$LINENO"; then :
9744
9745 lt_aix_libpath_sed='
9746 /Import File Strings/,/^$/ {
9747 /^0/ {
9748 s/^0 *\(.*\)$/\1/
9749 p
9750 }
9751 }'
9752 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9753 # Check for a 64-bit object if we didn't find anything.
9754 if test -z "$aix_libpath"; then
9755 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9756 fi
9757 fi
9758 rm -f core conftest.err conftest.$ac_objext \
9759 conftest$ac_exeext conftest.$ac_ext
9760 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9761
9762 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9763 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9764 else
9765 if test "$host_cpu" = ia64; then
9766 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9767 allow_undefined_flag="-z nodefs"
9768 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"
9769 else
9770 # Determine the default libpath from the value encoded in an
9771 # empty executable.
9772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9774
9775 int
9776 main ()
9777 {
9778
9779 ;
9780 return 0;
9781 }
9782 _ACEOF
9783 if ac_fn_c_try_link "$LINENO"; then :
9784
9785 lt_aix_libpath_sed='
9786 /Import File Strings/,/^$/ {
9787 /^0/ {
9788 s/^0 *\(.*\)$/\1/
9789 p
9790 }
9791 }'
9792 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9793 # Check for a 64-bit object if we didn't find anything.
9794 if test -z "$aix_libpath"; then
9795 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9796 fi
9797 fi
9798 rm -f core conftest.err conftest.$ac_objext \
9799 conftest$ac_exeext conftest.$ac_ext
9800 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9801
9802 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9803 # Warning - without using the other run time loading flags,
9804 # -berok will link without error, but may produce a broken library.
9805 no_undefined_flag=' ${wl}-bernotok'
9806 allow_undefined_flag=' ${wl}-berok'
9807 # Exported symbols can be pulled into shared objects from archives
9808 whole_archive_flag_spec='$convenience'
9809 archive_cmds_need_lc=yes
9810 # This is similar to how AIX traditionally builds its shared libraries.
9811 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'
9812 fi
9813 fi
9814 ;;
9815
9816 amigaos*)
9817 case $host_cpu in
9818 powerpc)
9819 # see comment about AmigaOS4 .so support
9820 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9821 archive_expsym_cmds=''
9822 ;;
9823 m68k)
9824 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)'
9825 hardcode_libdir_flag_spec='-L$libdir'
9826 hardcode_minus_L=yes
9827 ;;
9828 esac
9829 ;;
9830
9831 bsdi[45]*)
9832 export_dynamic_flag_spec=-rdynamic
9833 ;;
9834
9835 cygwin* | mingw* | pw32* | cegcc*)
9836 # When not using gcc, we currently assume that we are using
9837 # Microsoft Visual C++.
9838 # hardcode_libdir_flag_spec is actually meaningless, as there is
9839 # no search path for DLLs.
9840 hardcode_libdir_flag_spec=' '
9841 allow_undefined_flag=unsupported
9842 # Tell ltmain to make .lib files, not .a files.
9843 libext=lib
9844 # Tell ltmain to make .dll files, not .so files.
9845 shrext_cmds=".dll"
9846 # FIXME: Setting linknames here is a bad hack.
9847 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9848 # The linker will automatically build a .lib file if we build a DLL.
9849 old_archive_from_new_cmds='true'
9850 # FIXME: Should let the user specify the lib program.
9851 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9852 fix_srcfile_path='`cygpath -w "$srcfile"`'
9853 enable_shared_with_static_runtimes=yes
9854 ;;
9855
9856 darwin* | rhapsody*)
9857
9858
9859 archive_cmds_need_lc=no
9860 hardcode_direct=no
9861 hardcode_automatic=yes
9862 hardcode_shlibpath_var=unsupported
9863 whole_archive_flag_spec=''
9864 link_all_deplibs=yes
9865 allow_undefined_flag="$_lt_dar_allow_undefined"
9866 case $cc_basename in
9867 ifort*) _lt_dar_can_shared=yes ;;
9868 *) _lt_dar_can_shared=$GCC ;;
9869 esac
9870 if test "$_lt_dar_can_shared" = "yes"; then
9871 output_verbose_link_cmd=echo
9872 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9873 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9874 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}"
9875 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}"
9876
9877 else
9878 ld_shlibs=no
9879 fi
9880
9881 ;;
9882
9883 dgux*)
9884 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9885 hardcode_libdir_flag_spec='-L$libdir'
9886 hardcode_shlibpath_var=no
9887 ;;
9888
9889 freebsd1*)
9890 ld_shlibs=no
9891 ;;
9892
9893 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9894 # support. Future versions do this automatically, but an explicit c++rt0.o
9895 # does not break anything, and helps significantly (at the cost of a little
9896 # extra space).
9897 freebsd2.2*)
9898 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9899 hardcode_libdir_flag_spec='-R$libdir'
9900 hardcode_direct=yes
9901 hardcode_shlibpath_var=no
9902 ;;
9903
9904 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9905 freebsd2*)
9906 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9907 hardcode_direct=yes
9908 hardcode_minus_L=yes
9909 hardcode_shlibpath_var=no
9910 ;;
9911
9912 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9913 freebsd* | dragonfly*)
9914 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9915 hardcode_libdir_flag_spec='-R$libdir'
9916 hardcode_direct=yes
9917 hardcode_shlibpath_var=no
9918 ;;
9919
9920 hpux9*)
9921 if test "$GCC" = yes; then
9922 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9923 else
9924 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'
9925 fi
9926 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9927 hardcode_libdir_separator=:
9928 hardcode_direct=yes
9929
9930 # hardcode_minus_L: Not really in the search PATH,
9931 # but as the default location of the library.
9932 hardcode_minus_L=yes
9933 export_dynamic_flag_spec='${wl}-E'
9934 ;;
9935
9936 hpux10*)
9937 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9938 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9939 else
9940 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9941 fi
9942 if test "$with_gnu_ld" = no; then
9943 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9944 hardcode_libdir_flag_spec_ld='+b $libdir'
9945 hardcode_libdir_separator=:
9946 hardcode_direct=yes
9947 hardcode_direct_absolute=yes
9948 export_dynamic_flag_spec='${wl}-E'
9949 # hardcode_minus_L: Not really in the search PATH,
9950 # but as the default location of the library.
9951 hardcode_minus_L=yes
9952 fi
9953 ;;
9954
9955 hpux11*)
9956 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9957 case $host_cpu in
9958 hppa*64*)
9959 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9960 ;;
9961 ia64*)
9962 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9963 ;;
9964 *)
9965 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9966 ;;
9967 esac
9968 else
9969 case $host_cpu in
9970 hppa*64*)
9971 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9972 ;;
9973 ia64*)
9974 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9975 ;;
9976 *)
9977 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9978 ;;
9979 esac
9980 fi
9981 if test "$with_gnu_ld" = no; then
9982 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9983 hardcode_libdir_separator=:
9984
9985 case $host_cpu in
9986 hppa*64*|ia64*)
9987 hardcode_direct=no
9988 hardcode_shlibpath_var=no
9989 ;;
9990 *)
9991 hardcode_direct=yes
9992 hardcode_direct_absolute=yes
9993 export_dynamic_flag_spec='${wl}-E'
9994
9995 # hardcode_minus_L: Not really in the search PATH,
9996 # but as the default location of the library.
9997 hardcode_minus_L=yes
9998 ;;
9999 esac
10000 fi
10001 ;;
10002
10003 irix5* | irix6* | nonstopux*)
10004 if test "$GCC" = yes; then
10005 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10006 # Try to use the -exported_symbol ld option, if it does not
10007 # work, assume that -exports_file does not work either and
10008 # implicitly export all symbols.
10009 save_LDFLAGS="$LDFLAGS"
10010 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10013 int foo(void) {}
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10017
10018 fi
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LDFLAGS="$save_LDFLAGS"
10022 else
10023 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10024 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10025 fi
10026 archive_cmds_need_lc='no'
10027 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10028 hardcode_libdir_separator=:
10029 inherit_rpath=yes
10030 link_all_deplibs=yes
10031 ;;
10032
10033 netbsd*)
10034 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10035 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10036 else
10037 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10038 fi
10039 hardcode_libdir_flag_spec='-R$libdir'
10040 hardcode_direct=yes
10041 hardcode_shlibpath_var=no
10042 ;;
10043
10044 newsos6)
10045 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10046 hardcode_direct=yes
10047 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10048 hardcode_libdir_separator=:
10049 hardcode_shlibpath_var=no
10050 ;;
10051
10052 *nto* | *qnx*)
10053 ;;
10054
10055 openbsd*)
10056 if test -f /usr/libexec/ld.so; then
10057 hardcode_direct=yes
10058 hardcode_shlibpath_var=no
10059 hardcode_direct_absolute=yes
10060 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10061 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10063 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10064 export_dynamic_flag_spec='${wl}-E'
10065 else
10066 case $host_os in
10067 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10068 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10069 hardcode_libdir_flag_spec='-R$libdir'
10070 ;;
10071 *)
10072 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10073 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10074 ;;
10075 esac
10076 fi
10077 else
10078 ld_shlibs=no
10079 fi
10080 ;;
10081
10082 os2*)
10083 hardcode_libdir_flag_spec='-L$libdir'
10084 hardcode_minus_L=yes
10085 allow_undefined_flag=unsupported
10086 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'
10087 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10088 ;;
10089
10090 osf3*)
10091 if test "$GCC" = yes; then
10092 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10093 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10094 else
10095 allow_undefined_flag=' -expect_unresolved \*'
10096 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10097 fi
10098 archive_cmds_need_lc='no'
10099 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10100 hardcode_libdir_separator=:
10101 ;;
10102
10103 osf4* | osf5*) # as osf3* with the addition of -msym flag
10104 if test "$GCC" = yes; then
10105 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10106 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10107 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10108 else
10109 allow_undefined_flag=' -expect_unresolved \*'
10110 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10111 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~
10112 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10113
10114 # Both c and cxx compiler support -rpath directly
10115 hardcode_libdir_flag_spec='-rpath $libdir'
10116 fi
10117 archive_cmds_need_lc='no'
10118 hardcode_libdir_separator=:
10119 ;;
10120
10121 solaris*)
10122 no_undefined_flag=' -z defs'
10123 if test "$GCC" = yes; then
10124 wlarc='${wl}'
10125 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10126 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10127 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10128 else
10129 case `$CC -V 2>&1` in
10130 *"Compilers 5.0"*)
10131 wlarc=''
10132 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10133 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10134 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10135 ;;
10136 *)
10137 wlarc='${wl}'
10138 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10139 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10140 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10141 ;;
10142 esac
10143 fi
10144 hardcode_libdir_flag_spec='-R$libdir'
10145 hardcode_shlibpath_var=no
10146 case $host_os in
10147 solaris2.[0-5] | solaris2.[0-5].*) ;;
10148 *)
10149 # The compiler driver will combine and reorder linker options,
10150 # but understands `-z linker_flag'. GCC discards it without `$wl',
10151 # but is careful enough not to reorder.
10152 # Supported since Solaris 2.6 (maybe 2.5.1?)
10153 if test "$GCC" = yes; then
10154 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10155 else
10156 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10157 fi
10158 ;;
10159 esac
10160 link_all_deplibs=yes
10161 ;;
10162
10163 sunos4*)
10164 if test "x$host_vendor" = xsequent; then
10165 # Use $CC to link under sequent, because it throws in some extra .o
10166 # files that make .init and .fini sections work.
10167 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10168 else
10169 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10170 fi
10171 hardcode_libdir_flag_spec='-L$libdir'
10172 hardcode_direct=yes
10173 hardcode_minus_L=yes
10174 hardcode_shlibpath_var=no
10175 ;;
10176
10177 sysv4)
10178 case $host_vendor in
10179 sni)
10180 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10181 hardcode_direct=yes # is this really true???
10182 ;;
10183 siemens)
10184 ## LD is ld it makes a PLAMLIB
10185 ## CC just makes a GrossModule.
10186 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10187 reload_cmds='$CC -r -o $output$reload_objs'
10188 hardcode_direct=no
10189 ;;
10190 motorola)
10191 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10192 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10193 ;;
10194 esac
10195 runpath_var='LD_RUN_PATH'
10196 hardcode_shlibpath_var=no
10197 ;;
10198
10199 sysv4.3*)
10200 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10201 hardcode_shlibpath_var=no
10202 export_dynamic_flag_spec='-Bexport'
10203 ;;
10204
10205 sysv4*MP*)
10206 if test -d /usr/nec; then
10207 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_shlibpath_var=no
10209 runpath_var=LD_RUN_PATH
10210 hardcode_runpath_var=yes
10211 ld_shlibs=yes
10212 fi
10213 ;;
10214
10215 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10216 no_undefined_flag='${wl}-z,text'
10217 archive_cmds_need_lc=no
10218 hardcode_shlibpath_var=no
10219 runpath_var='LD_RUN_PATH'
10220
10221 if test "$GCC" = yes; then
10222 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10223 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10224 else
10225 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10226 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10227 fi
10228 ;;
10229
10230 sysv5* | sco3.2v5* | sco5v6*)
10231 # Note: We can NOT use -z defs as we might desire, because we do not
10232 # link with -lc, and that would cause any symbols used from libc to
10233 # always be unresolved, which means just about no library would
10234 # ever link correctly. If we're not using GNU ld we use -z text
10235 # though, which does catch some bad symbols but isn't as heavy-handed
10236 # as -z defs.
10237 no_undefined_flag='${wl}-z,text'
10238 allow_undefined_flag='${wl}-z,nodefs'
10239 archive_cmds_need_lc=no
10240 hardcode_shlibpath_var=no
10241 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10242 hardcode_libdir_separator=':'
10243 link_all_deplibs=yes
10244 export_dynamic_flag_spec='${wl}-Bexport'
10245 runpath_var='LD_RUN_PATH'
10246
10247 if test "$GCC" = yes; then
10248 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10249 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10250 else
10251 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10252 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10253 fi
10254 ;;
10255
10256 uts4*)
10257 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10258 hardcode_libdir_flag_spec='-L$libdir'
10259 hardcode_shlibpath_var=no
10260 ;;
10261
10262 *)
10263 ld_shlibs=no
10264 ;;
10265 esac
10266
10267 if test x$host_vendor = xsni; then
10268 case $host in
10269 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10270 export_dynamic_flag_spec='${wl}-Blargedynsym'
10271 ;;
10272 esac
10273 fi
10274 fi
10275
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10277 $as_echo "$ld_shlibs" >&6; }
10278 test "$ld_shlibs" = no && can_build_shared=no
10279
10280 with_gnu_ld=$with_gnu_ld
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296 #
10297 # Do we need to explicitly link libc?
10298 #
10299 case "x$archive_cmds_need_lc" in
10300 x|xyes)
10301 # Assume -lc should be added
10302 archive_cmds_need_lc=yes
10303
10304 if test "$enable_shared" = yes && test "$GCC" = yes; then
10305 case $archive_cmds in
10306 *'~'*)
10307 # FIXME: we may have to deal with multi-command sequences.
10308 ;;
10309 '$CC '*)
10310 # Test whether the compiler implicitly links with -lc since on some
10311 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10312 # to ld, don't add -lc before -lgcc.
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10314 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10315 $RM conftest*
10316 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10317
10318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10319 (eval $ac_compile) 2>&5
10320 ac_status=$?
10321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10322 test $ac_status = 0; } 2>conftest.err; then
10323 soname=conftest
10324 lib=conftest
10325 libobjs=conftest.$ac_objext
10326 deplibs=
10327 wl=$lt_prog_compiler_wl
10328 pic_flag=$lt_prog_compiler_pic
10329 compiler_flags=-v
10330 linker_flags=-v
10331 verstring=
10332 output_objdir=.
10333 libname=conftest
10334 lt_save_allow_undefined_flag=$allow_undefined_flag
10335 allow_undefined_flag=
10336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10337 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10338 ac_status=$?
10339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10340 test $ac_status = 0; }
10341 then
10342 archive_cmds_need_lc=no
10343 else
10344 archive_cmds_need_lc=yes
10345 fi
10346 allow_undefined_flag=$lt_save_allow_undefined_flag
10347 else
10348 cat conftest.err 1>&5
10349 fi
10350 $RM conftest*
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10352 $as_echo "$archive_cmds_need_lc" >&6; }
10353 ;;
10354 esac
10355 fi
10356 ;;
10357 esac
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10516 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10517
10518 if test "$GCC" = yes; then
10519 case $host_os in
10520 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10521 *) lt_awk_arg="/^libraries:/" ;;
10522 esac
10523 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10524 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10525 # if the path contains ";" then we assume it to be the separator
10526 # otherwise default to the standard path separator (i.e. ":") - it is
10527 # assumed that no part of a normal pathname contains ";" but that should
10528 # okay in the real world where ";" in dirpaths is itself problematic.
10529 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10530 else
10531 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10532 fi
10533 # Ok, now we have the path, separated by spaces, we can step through it
10534 # and add multilib dir if necessary.
10535 lt_tmp_lt_search_path_spec=
10536 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10537 for lt_sys_path in $lt_search_path_spec; do
10538 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10539 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10540 else
10541 test -d "$lt_sys_path" && \
10542 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10543 fi
10544 done
10545 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10546 BEGIN {RS=" "; FS="/|\n";} {
10547 lt_foo="";
10548 lt_count=0;
10549 for (lt_i = NF; lt_i > 0; lt_i--) {
10550 if ($lt_i != "" && $lt_i != ".") {
10551 if ($lt_i == "..") {
10552 lt_count++;
10553 } else {
10554 if (lt_count == 0) {
10555 lt_foo="/" $lt_i lt_foo;
10556 } else {
10557 lt_count--;
10558 }
10559 }
10560 }
10561 }
10562 if (lt_foo != "") { lt_freq[lt_foo]++; }
10563 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10564 }'`
10565 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10566 else
10567 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10568 fi
10569 library_names_spec=
10570 libname_spec='lib$name'
10571 soname_spec=
10572 shrext_cmds=".so"
10573 postinstall_cmds=
10574 postuninstall_cmds=
10575 finish_cmds=
10576 finish_eval=
10577 shlibpath_var=
10578 shlibpath_overrides_runpath=unknown
10579 version_type=none
10580 dynamic_linker="$host_os ld.so"
10581 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10582 need_lib_prefix=unknown
10583 hardcode_into_libs=no
10584
10585 # when you set need_version to no, make sure it does not cause -set_version
10586 # flags to be left without arguments
10587 need_version=unknown
10588
10589 case $host_os in
10590 aix3*)
10591 version_type=linux
10592 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10593 shlibpath_var=LIBPATH
10594
10595 # AIX 3 has no versioning support, so we append a major version to the name.
10596 soname_spec='${libname}${release}${shared_ext}$major'
10597 ;;
10598
10599 aix[4-9]*)
10600 version_type=linux
10601 need_lib_prefix=no
10602 need_version=no
10603 hardcode_into_libs=yes
10604 if test "$host_cpu" = ia64; then
10605 # AIX 5 supports IA64
10606 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10607 shlibpath_var=LD_LIBRARY_PATH
10608 else
10609 # With GCC up to 2.95.x, collect2 would create an import file
10610 # for dependence libraries. The import file would start with
10611 # the line `#! .'. This would cause the generated library to
10612 # depend on `.', always an invalid library. This was fixed in
10613 # development snapshots of GCC prior to 3.0.
10614 case $host_os in
10615 aix4 | aix4.[01] | aix4.[01].*)
10616 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10617 echo ' yes '
10618 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10619 :
10620 else
10621 can_build_shared=no
10622 fi
10623 ;;
10624 esac
10625 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10626 # soname into executable. Probably we can add versioning support to
10627 # collect2, so additional links can be useful in future.
10628 if test "$aix_use_runtimelinking" = yes; then
10629 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10630 # instead of lib<name>.a to let people know that these are not
10631 # typical AIX shared libraries.
10632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10633 else
10634 # We preserve .a as extension for shared libraries through AIX4.2
10635 # and later when we are not doing run time linking.
10636 library_names_spec='${libname}${release}.a $libname.a'
10637 soname_spec='${libname}${release}${shared_ext}$major'
10638 fi
10639 shlibpath_var=LIBPATH
10640 fi
10641 ;;
10642
10643 amigaos*)
10644 case $host_cpu in
10645 powerpc)
10646 # Since July 2007 AmigaOS4 officially supports .so libraries.
10647 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649 ;;
10650 m68k)
10651 library_names_spec='$libname.ixlibrary $libname.a'
10652 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10653 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10654 ;;
10655 esac
10656 ;;
10657
10658 beos*)
10659 library_names_spec='${libname}${shared_ext}'
10660 dynamic_linker="$host_os ld.so"
10661 shlibpath_var=LIBRARY_PATH
10662 ;;
10663
10664 bsdi[45]*)
10665 version_type=linux
10666 need_version=no
10667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10668 soname_spec='${libname}${release}${shared_ext}$major'
10669 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10670 shlibpath_var=LD_LIBRARY_PATH
10671 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10672 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10673 # the default ld.so.conf also contains /usr/contrib/lib and
10674 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10675 # libtool to hard-code these into programs
10676 ;;
10677
10678 cygwin* | mingw* | pw32* | cegcc*)
10679 version_type=windows
10680 shrext_cmds=".dll"
10681 need_version=no
10682 need_lib_prefix=no
10683
10684 case $GCC,$host_os in
10685 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10686 library_names_spec='$libname.dll.a'
10687 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10688 postinstall_cmds='base_file=`basename \${file}`~
10689 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10690 dldir=$destdir/`dirname \$dlpath`~
10691 test -d \$dldir || mkdir -p \$dldir~
10692 $install_prog $dir/$dlname \$dldir/$dlname~
10693 chmod a+x \$dldir/$dlname~
10694 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10695 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10696 fi'
10697 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10698 dlpath=$dir/\$dldll~
10699 $RM \$dlpath'
10700 shlibpath_overrides_runpath=yes
10701
10702 case $host_os in
10703 cygwin*)
10704 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10705 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10706 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10707 ;;
10708 mingw* | cegcc*)
10709 # MinGW DLLs use traditional 'lib' prefix
10710 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10711 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10712 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10713 # It is most probably a Windows format PATH printed by
10714 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10715 # path with ; separators, and with drive letters. We can handle the
10716 # drive letters (cygwin fileutils understands them), so leave them,
10717 # especially as we might pass files found there to a mingw objdump,
10718 # which wouldn't understand a cygwinified path. Ahh.
10719 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10720 else
10721 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10722 fi
10723 ;;
10724 pw32*)
10725 # pw32 DLLs use 'pw' prefix rather than 'lib'
10726 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10727 ;;
10728 esac
10729 ;;
10730
10731 *)
10732 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10733 ;;
10734 esac
10735 dynamic_linker='Win32 ld.exe'
10736 # FIXME: first we should search . and the directory the executable is in
10737 shlibpath_var=PATH
10738 ;;
10739
10740 darwin* | rhapsody*)
10741 dynamic_linker="$host_os dyld"
10742 version_type=darwin
10743 need_lib_prefix=no
10744 need_version=no
10745 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10746 soname_spec='${libname}${release}${major}$shared_ext'
10747 shlibpath_overrides_runpath=yes
10748 shlibpath_var=DYLD_LIBRARY_PATH
10749 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10750
10751 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10752 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10753 ;;
10754
10755 dgux*)
10756 version_type=linux
10757 need_lib_prefix=no
10758 need_version=no
10759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10760 soname_spec='${libname}${release}${shared_ext}$major'
10761 shlibpath_var=LD_LIBRARY_PATH
10762 ;;
10763
10764 freebsd1*)
10765 dynamic_linker=no
10766 ;;
10767
10768 freebsd* | dragonfly*)
10769 # DragonFly does not have aout. When/if they implement a new
10770 # versioning mechanism, adjust this.
10771 if test -x /usr/bin/objformat; then
10772 objformat=`/usr/bin/objformat`
10773 else
10774 case $host_os in
10775 freebsd[123]*) objformat=aout ;;
10776 *) objformat=elf ;;
10777 esac
10778 fi
10779 version_type=freebsd-$objformat
10780 case $version_type in
10781 freebsd-elf*)
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10783 need_version=no
10784 need_lib_prefix=no
10785 ;;
10786 freebsd-*)
10787 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10788 need_version=yes
10789 ;;
10790 esac
10791 shlibpath_var=LD_LIBRARY_PATH
10792 case $host_os in
10793 freebsd2*)
10794 shlibpath_overrides_runpath=yes
10795 ;;
10796 freebsd3.[01]* | freebsdelf3.[01]*)
10797 shlibpath_overrides_runpath=yes
10798 hardcode_into_libs=yes
10799 ;;
10800 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10801 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10802 shlibpath_overrides_runpath=no
10803 hardcode_into_libs=yes
10804 ;;
10805 *) # from 4.6 on, and DragonFly
10806 shlibpath_overrides_runpath=yes
10807 hardcode_into_libs=yes
10808 ;;
10809 esac
10810 ;;
10811
10812 gnu*)
10813 version_type=linux
10814 need_lib_prefix=no
10815 need_version=no
10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10817 soname_spec='${libname}${release}${shared_ext}$major'
10818 shlibpath_var=LD_LIBRARY_PATH
10819 hardcode_into_libs=yes
10820 ;;
10821
10822 hpux9* | hpux10* | hpux11*)
10823 # Give a soname corresponding to the major version so that dld.sl refuses to
10824 # link against other versions.
10825 version_type=sunos
10826 need_lib_prefix=no
10827 need_version=no
10828 case $host_cpu in
10829 ia64*)
10830 shrext_cmds='.so'
10831 hardcode_into_libs=yes
10832 dynamic_linker="$host_os dld.so"
10833 shlibpath_var=LD_LIBRARY_PATH
10834 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10836 soname_spec='${libname}${release}${shared_ext}$major'
10837 if test "X$HPUX_IA64_MODE" = X32; then
10838 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10839 else
10840 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10841 fi
10842 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10843 ;;
10844 hppa*64*)
10845 shrext_cmds='.sl'
10846 hardcode_into_libs=yes
10847 dynamic_linker="$host_os dld.sl"
10848 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10849 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 soname_spec='${libname}${release}${shared_ext}$major'
10852 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10853 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10854 ;;
10855 *)
10856 shrext_cmds='.sl'
10857 dynamic_linker="$host_os dld.sl"
10858 shlibpath_var=SHLIB_PATH
10859 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 ;;
10863 esac
10864 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10865 postinstall_cmds='chmod 555 $lib'
10866 ;;
10867
10868 interix[3-9]*)
10869 version_type=linux
10870 need_lib_prefix=no
10871 need_version=no
10872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10873 soname_spec='${libname}${release}${shared_ext}$major'
10874 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10875 shlibpath_var=LD_LIBRARY_PATH
10876 shlibpath_overrides_runpath=no
10877 hardcode_into_libs=yes
10878 ;;
10879
10880 irix5* | irix6* | nonstopux*)
10881 case $host_os in
10882 nonstopux*) version_type=nonstopux ;;
10883 *)
10884 if test "$lt_cv_prog_gnu_ld" = yes; then
10885 version_type=linux
10886 else
10887 version_type=irix
10888 fi ;;
10889 esac
10890 need_lib_prefix=no
10891 need_version=no
10892 soname_spec='${libname}${release}${shared_ext}$major'
10893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10894 case $host_os in
10895 irix5* | nonstopux*)
10896 libsuff= shlibsuff=
10897 ;;
10898 *)
10899 case $LD in # libtool.m4 will add one of these switches to LD
10900 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10901 libsuff= shlibsuff= libmagic=32-bit;;
10902 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10903 libsuff=32 shlibsuff=N32 libmagic=N32;;
10904 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10905 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10906 *) libsuff= shlibsuff= libmagic=never-match;;
10907 esac
10908 ;;
10909 esac
10910 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10911 shlibpath_overrides_runpath=no
10912 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10913 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10914 hardcode_into_libs=yes
10915 ;;
10916
10917 # No shared lib support for Linux oldld, aout, or coff.
10918 linux*oldld* | linux*aout* | linux*coff*)
10919 dynamic_linker=no
10920 ;;
10921
10922 # This must be Linux ELF.
10923 linux* | k*bsd*-gnu)
10924 version_type=linux
10925 need_lib_prefix=no
10926 need_version=no
10927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10928 soname_spec='${libname}${release}${shared_ext}$major'
10929 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10930 shlibpath_var=LD_LIBRARY_PATH
10931 shlibpath_overrides_runpath=no
10932 # Some binutils ld are patched to set DT_RUNPATH
10933 save_LDFLAGS=$LDFLAGS
10934 save_libdir=$libdir
10935 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10936 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10939
10940 int
10941 main ()
10942 {
10943
10944 ;
10945 return 0;
10946 }
10947 _ACEOF
10948 if ac_fn_c_try_link "$LINENO"; then :
10949 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10950 shlibpath_overrides_runpath=yes
10951 fi
10952 fi
10953 rm -f core conftest.err conftest.$ac_objext \
10954 conftest$ac_exeext conftest.$ac_ext
10955 LDFLAGS=$save_LDFLAGS
10956 libdir=$save_libdir
10957
10958 # This implies no fast_install, which is unacceptable.
10959 # Some rework will be needed to allow for fast_install
10960 # before this can be enabled.
10961 hardcode_into_libs=yes
10962
10963 # Add ABI-specific directories to the system library path.
10964 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10965
10966 # Append ld.so.conf contents to the search path
10967 if test -f /etc/ld.so.conf; then
10968 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10969 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10970 fi
10971
10972 # We used to test for /lib/ld.so.1 and disable shared libraries on
10973 # powerpc, because MkLinux only supported shared libraries with the
10974 # GNU dynamic linker. Since this was broken with cross compilers,
10975 # most powerpc-linux boxes support dynamic linking these days and
10976 # people can always --disable-shared, the test was removed, and we
10977 # assume the GNU/Linux dynamic linker is in use.
10978 dynamic_linker='GNU/Linux ld.so'
10979 ;;
10980
10981 netbsd*)
10982 version_type=sunos
10983 need_lib_prefix=no
10984 need_version=no
10985 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10987 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10988 dynamic_linker='NetBSD (a.out) ld.so'
10989 else
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 dynamic_linker='NetBSD ld.elf_so'
10993 fi
10994 shlibpath_var=LD_LIBRARY_PATH
10995 shlibpath_overrides_runpath=yes
10996 hardcode_into_libs=yes
10997 ;;
10998
10999 newsos6)
11000 version_type=linux
11001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11002 shlibpath_var=LD_LIBRARY_PATH
11003 shlibpath_overrides_runpath=yes
11004 ;;
11005
11006 *nto* | *qnx*)
11007 version_type=qnx
11008 need_lib_prefix=no
11009 need_version=no
11010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11011 soname_spec='${libname}${release}${shared_ext}$major'
11012 shlibpath_var=LD_LIBRARY_PATH
11013 shlibpath_overrides_runpath=no
11014 hardcode_into_libs=yes
11015 dynamic_linker='ldqnx.so'
11016 ;;
11017
11018 openbsd*)
11019 version_type=sunos
11020 sys_lib_dlsearch_path_spec="/usr/lib"
11021 need_lib_prefix=no
11022 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11023 case $host_os in
11024 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11025 *) need_version=no ;;
11026 esac
11027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11028 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11029 shlibpath_var=LD_LIBRARY_PATH
11030 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11031 case $host_os in
11032 openbsd2.[89] | openbsd2.[89].*)
11033 shlibpath_overrides_runpath=no
11034 ;;
11035 *)
11036 shlibpath_overrides_runpath=yes
11037 ;;
11038 esac
11039 else
11040 shlibpath_overrides_runpath=yes
11041 fi
11042 ;;
11043
11044 os2*)
11045 libname_spec='$name'
11046 shrext_cmds=".dll"
11047 need_lib_prefix=no
11048 library_names_spec='$libname${shared_ext} $libname.a'
11049 dynamic_linker='OS/2 ld.exe'
11050 shlibpath_var=LIBPATH
11051 ;;
11052
11053 osf3* | osf4* | osf5*)
11054 version_type=osf
11055 need_lib_prefix=no
11056 need_version=no
11057 soname_spec='${libname}${release}${shared_ext}$major'
11058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11059 shlibpath_var=LD_LIBRARY_PATH
11060 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11061 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11062 ;;
11063
11064 rdos*)
11065 dynamic_linker=no
11066 ;;
11067
11068 solaris*)
11069 version_type=linux
11070 need_lib_prefix=no
11071 need_version=no
11072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11073 soname_spec='${libname}${release}${shared_ext}$major'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=yes
11076 hardcode_into_libs=yes
11077 # ldd complains unless libraries are executable
11078 postinstall_cmds='chmod +x $lib'
11079 ;;
11080
11081 sunos4*)
11082 version_type=sunos
11083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11084 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11085 shlibpath_var=LD_LIBRARY_PATH
11086 shlibpath_overrides_runpath=yes
11087 if test "$with_gnu_ld" = yes; then
11088 need_lib_prefix=no
11089 fi
11090 need_version=yes
11091 ;;
11092
11093 sysv4 | sysv4.3*)
11094 version_type=linux
11095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096 soname_spec='${libname}${release}${shared_ext}$major'
11097 shlibpath_var=LD_LIBRARY_PATH
11098 case $host_vendor in
11099 sni)
11100 shlibpath_overrides_runpath=no
11101 need_lib_prefix=no
11102 runpath_var=LD_RUN_PATH
11103 ;;
11104 siemens)
11105 need_lib_prefix=no
11106 ;;
11107 motorola)
11108 need_lib_prefix=no
11109 need_version=no
11110 shlibpath_overrides_runpath=no
11111 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11112 ;;
11113 esac
11114 ;;
11115
11116 sysv4*MP*)
11117 if test -d /usr/nec ;then
11118 version_type=linux
11119 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11120 soname_spec='$libname${shared_ext}.$major'
11121 shlibpath_var=LD_LIBRARY_PATH
11122 fi
11123 ;;
11124
11125 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11126 version_type=freebsd-elf
11127 need_lib_prefix=no
11128 need_version=no
11129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11130 soname_spec='${libname}${release}${shared_ext}$major'
11131 shlibpath_var=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath=yes
11133 hardcode_into_libs=yes
11134 if test "$with_gnu_ld" = yes; then
11135 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11136 else
11137 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11138 case $host_os in
11139 sco3.2v5*)
11140 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11141 ;;
11142 esac
11143 fi
11144 sys_lib_dlsearch_path_spec='/usr/lib'
11145 ;;
11146
11147 tpf*)
11148 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11149 version_type=linux
11150 need_lib_prefix=no
11151 need_version=no
11152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11153 shlibpath_var=LD_LIBRARY_PATH
11154 shlibpath_overrides_runpath=no
11155 hardcode_into_libs=yes
11156 ;;
11157
11158 uts4*)
11159 version_type=linux
11160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11161 soname_spec='${libname}${release}${shared_ext}$major'
11162 shlibpath_var=LD_LIBRARY_PATH
11163 ;;
11164
11165 *)
11166 dynamic_linker=no
11167 ;;
11168 esac
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11170 $as_echo "$dynamic_linker" >&6; }
11171 test "$dynamic_linker" = no && can_build_shared=no
11172
11173 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11174 if test "$GCC" = yes; then
11175 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11176 fi
11177
11178 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11179 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11180 fi
11181 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11182 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11183 fi
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11272 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11273 hardcode_action=
11274 if test -n "$hardcode_libdir_flag_spec" ||
11275 test -n "$runpath_var" ||
11276 test "X$hardcode_automatic" = "Xyes" ; then
11277
11278 # We can hardcode non-existent directories.
11279 if test "$hardcode_direct" != no &&
11280 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11281 # have to relink, otherwise we might link with an installed library
11282 # when we should be linking with a yet-to-be-installed one
11283 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11284 test "$hardcode_minus_L" != no; then
11285 # Linking always hardcodes the temporary library directory.
11286 hardcode_action=relink
11287 else
11288 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11289 hardcode_action=immediate
11290 fi
11291 else
11292 # We cannot hardcode anything, or else we can only hardcode existing
11293 # directories.
11294 hardcode_action=unsupported
11295 fi
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11297 $as_echo "$hardcode_action" >&6; }
11298
11299 if test "$hardcode_action" = relink ||
11300 test "$inherit_rpath" = yes; then
11301 # Fast installation is not supported
11302 enable_fast_install=no
11303 elif test "$shlibpath_overrides_runpath" = yes ||
11304 test "$enable_shared" = no; then
11305 # Fast installation is not necessary
11306 enable_fast_install=needless
11307 fi
11308
11309
11310
11311
11312
11313
11314 if test "x$enable_dlopen" != xyes; then
11315 enable_dlopen=unknown
11316 enable_dlopen_self=unknown
11317 enable_dlopen_self_static=unknown
11318 else
11319 lt_cv_dlopen=no
11320 lt_cv_dlopen_libs=
11321
11322 case $host_os in
11323 beos*)
11324 lt_cv_dlopen="load_add_on"
11325 lt_cv_dlopen_libs=
11326 lt_cv_dlopen_self=yes
11327 ;;
11328
11329 mingw* | pw32* | cegcc*)
11330 lt_cv_dlopen="LoadLibrary"
11331 lt_cv_dlopen_libs=
11332 ;;
11333
11334 cygwin*)
11335 lt_cv_dlopen="dlopen"
11336 lt_cv_dlopen_libs=
11337 ;;
11338
11339 darwin*)
11340 # if libdl is installed we need to link against it
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11342 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11343 if ${ac_cv_lib_dl_dlopen+:} false; then :
11344 $as_echo_n "(cached) " >&6
11345 else
11346 ac_check_lib_save_LIBS=$LIBS
11347 LIBS="-ldl $LIBS"
11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349 /* end confdefs.h. */
11350
11351 /* Override any GCC internal prototype to avoid an error.
11352 Use char because int might match the return type of a GCC
11353 builtin and then its argument prototype would still apply. */
11354 #ifdef __cplusplus
11355 extern "C"
11356 #endif
11357 char dlopen ();
11358 int
11359 main ()
11360 {
11361 return dlopen ();
11362 ;
11363 return 0;
11364 }
11365 _ACEOF
11366 if ac_fn_c_try_link "$LINENO"; then :
11367 ac_cv_lib_dl_dlopen=yes
11368 else
11369 ac_cv_lib_dl_dlopen=no
11370 fi
11371 rm -f core conftest.err conftest.$ac_objext \
11372 conftest$ac_exeext conftest.$ac_ext
11373 LIBS=$ac_check_lib_save_LIBS
11374 fi
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11376 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11377 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11378 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11379 else
11380
11381 lt_cv_dlopen="dyld"
11382 lt_cv_dlopen_libs=
11383 lt_cv_dlopen_self=yes
11384
11385 fi
11386
11387 ;;
11388
11389 *)
11390 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11391 if test "x$ac_cv_func_shl_load" = xyes; then :
11392 lt_cv_dlopen="shl_load"
11393 else
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11395 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11396 if ${ac_cv_lib_dld_shl_load+:} false; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_lib_save_LIBS=$LIBS
11400 LIBS="-ldld $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11403
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char shl_load ();
11411 int
11412 main ()
11413 {
11414 return shl_load ();
11415 ;
11416 return 0;
11417 }
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 ac_cv_lib_dld_shl_load=yes
11421 else
11422 ac_cv_lib_dld_shl_load=no
11423 fi
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11427 fi
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11429 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11430 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11431 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11432 else
11433 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11434 if test "x$ac_cv_func_dlopen" = xyes; then :
11435 lt_cv_dlopen="dlopen"
11436 else
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11438 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11439 if ${ac_cv_lib_dl_dlopen+:} false; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-ldl $LIBS"
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11446
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11450 #ifdef __cplusplus
11451 extern "C"
11452 #endif
11453 char dlopen ();
11454 int
11455 main ()
11456 {
11457 return dlopen ();
11458 ;
11459 return 0;
11460 }
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 ac_cv_lib_dl_dlopen=yes
11464 else
11465 ac_cv_lib_dl_dlopen=no
11466 fi
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11470 fi
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11472 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11473 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11474 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11475 else
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11477 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11478 if ${ac_cv_lib_svld_dlopen+:} false; then :
11479 $as_echo_n "(cached) " >&6
11480 else
11481 ac_check_lib_save_LIBS=$LIBS
11482 LIBS="-lsvld $LIBS"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11485
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char dlopen ();
11493 int
11494 main ()
11495 {
11496 return dlopen ();
11497 ;
11498 return 0;
11499 }
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 ac_cv_lib_svld_dlopen=yes
11503 else
11504 ac_cv_lib_svld_dlopen=no
11505 fi
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_lib_save_LIBS
11509 fi
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11511 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11512 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11513 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11514 else
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11516 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11517 if ${ac_cv_lib_dld_dld_link+:} false; then :
11518 $as_echo_n "(cached) " >&6
11519 else
11520 ac_check_lib_save_LIBS=$LIBS
11521 LIBS="-ldld $LIBS"
11522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11524
11525 /* Override any GCC internal prototype to avoid an error.
11526 Use char because int might match the return type of a GCC
11527 builtin and then its argument prototype would still apply. */
11528 #ifdef __cplusplus
11529 extern "C"
11530 #endif
11531 char dld_link ();
11532 int
11533 main ()
11534 {
11535 return dld_link ();
11536 ;
11537 return 0;
11538 }
11539 _ACEOF
11540 if ac_fn_c_try_link "$LINENO"; then :
11541 ac_cv_lib_dld_dld_link=yes
11542 else
11543 ac_cv_lib_dld_dld_link=no
11544 fi
11545 rm -f core conftest.err conftest.$ac_objext \
11546 conftest$ac_exeext conftest.$ac_ext
11547 LIBS=$ac_check_lib_save_LIBS
11548 fi
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11550 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11551 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11552 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11553 fi
11554
11555
11556 fi
11557
11558
11559 fi
11560
11561
11562 fi
11563
11564
11565 fi
11566
11567
11568 fi
11569
11570 ;;
11571 esac
11572
11573 if test "x$lt_cv_dlopen" != xno; then
11574 enable_dlopen=yes
11575 else
11576 enable_dlopen=no
11577 fi
11578
11579 case $lt_cv_dlopen in
11580 dlopen)
11581 save_CPPFLAGS="$CPPFLAGS"
11582 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11583
11584 save_LDFLAGS="$LDFLAGS"
11585 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11586
11587 save_LIBS="$LIBS"
11588 LIBS="$lt_cv_dlopen_libs $LIBS"
11589
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11591 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11592 if ${lt_cv_dlopen_self+:} false; then :
11593 $as_echo_n "(cached) " >&6
11594 else
11595 if test "$cross_compiling" = yes; then :
11596 lt_cv_dlopen_self=cross
11597 else
11598 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11599 lt_status=$lt_dlunknown
11600 cat > conftest.$ac_ext <<_LT_EOF
11601 #line __oline__ "configure"
11602 #include "confdefs.h"
11603
11604 #if HAVE_DLFCN_H
11605 #include <dlfcn.h>
11606 #endif
11607
11608 #include <stdio.h>
11609
11610 #ifdef RTLD_GLOBAL
11611 # define LT_DLGLOBAL RTLD_GLOBAL
11612 #else
11613 # ifdef DL_GLOBAL
11614 # define LT_DLGLOBAL DL_GLOBAL
11615 # else
11616 # define LT_DLGLOBAL 0
11617 # endif
11618 #endif
11619
11620 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11621 find out it does not work in some platform. */
11622 #ifndef LT_DLLAZY_OR_NOW
11623 # ifdef RTLD_LAZY
11624 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11625 # else
11626 # ifdef DL_LAZY
11627 # define LT_DLLAZY_OR_NOW DL_LAZY
11628 # else
11629 # ifdef RTLD_NOW
11630 # define LT_DLLAZY_OR_NOW RTLD_NOW
11631 # else
11632 # ifdef DL_NOW
11633 # define LT_DLLAZY_OR_NOW DL_NOW
11634 # else
11635 # define LT_DLLAZY_OR_NOW 0
11636 # endif
11637 # endif
11638 # endif
11639 # endif
11640 #endif
11641
11642 void fnord() { int i=42;}
11643 int main ()
11644 {
11645 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11646 int status = $lt_dlunknown;
11647
11648 if (self)
11649 {
11650 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11651 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11652 /* dlclose (self); */
11653 }
11654 else
11655 puts (dlerror ());
11656
11657 return status;
11658 }
11659 _LT_EOF
11660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11661 (eval $ac_link) 2>&5
11662 ac_status=$?
11663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11664 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11665 (./conftest; exit; ) >&5 2>/dev/null
11666 lt_status=$?
11667 case x$lt_status in
11668 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11669 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11670 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11671 esac
11672 else :
11673 # compilation failed
11674 lt_cv_dlopen_self=no
11675 fi
11676 fi
11677 rm -fr conftest*
11678
11679
11680 fi
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11682 $as_echo "$lt_cv_dlopen_self" >&6; }
11683
11684 if test "x$lt_cv_dlopen_self" = xyes; then
11685 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11687 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11688 if ${lt_cv_dlopen_self_static+:} false; then :
11689 $as_echo_n "(cached) " >&6
11690 else
11691 if test "$cross_compiling" = yes; then :
11692 lt_cv_dlopen_self_static=cross
11693 else
11694 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11695 lt_status=$lt_dlunknown
11696 cat > conftest.$ac_ext <<_LT_EOF
11697 #line __oline__ "configure"
11698 #include "confdefs.h"
11699
11700 #if HAVE_DLFCN_H
11701 #include <dlfcn.h>
11702 #endif
11703
11704 #include <stdio.h>
11705
11706 #ifdef RTLD_GLOBAL
11707 # define LT_DLGLOBAL RTLD_GLOBAL
11708 #else
11709 # ifdef DL_GLOBAL
11710 # define LT_DLGLOBAL DL_GLOBAL
11711 # else
11712 # define LT_DLGLOBAL 0
11713 # endif
11714 #endif
11715
11716 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11717 find out it does not work in some platform. */
11718 #ifndef LT_DLLAZY_OR_NOW
11719 # ifdef RTLD_LAZY
11720 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11721 # else
11722 # ifdef DL_LAZY
11723 # define LT_DLLAZY_OR_NOW DL_LAZY
11724 # else
11725 # ifdef RTLD_NOW
11726 # define LT_DLLAZY_OR_NOW RTLD_NOW
11727 # else
11728 # ifdef DL_NOW
11729 # define LT_DLLAZY_OR_NOW DL_NOW
11730 # else
11731 # define LT_DLLAZY_OR_NOW 0
11732 # endif
11733 # endif
11734 # endif
11735 # endif
11736 #endif
11737
11738 void fnord() { int i=42;}
11739 int main ()
11740 {
11741 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11742 int status = $lt_dlunknown;
11743
11744 if (self)
11745 {
11746 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11747 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11748 /* dlclose (self); */
11749 }
11750 else
11751 puts (dlerror ());
11752
11753 return status;
11754 }
11755 _LT_EOF
11756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11757 (eval $ac_link) 2>&5
11758 ac_status=$?
11759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11760 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11761 (./conftest; exit; ) >&5 2>/dev/null
11762 lt_status=$?
11763 case x$lt_status in
11764 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11765 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11766 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11767 esac
11768 else :
11769 # compilation failed
11770 lt_cv_dlopen_self_static=no
11771 fi
11772 fi
11773 rm -fr conftest*
11774
11775
11776 fi
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11778 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11779 fi
11780
11781 CPPFLAGS="$save_CPPFLAGS"
11782 LDFLAGS="$save_LDFLAGS"
11783 LIBS="$save_LIBS"
11784 ;;
11785 esac
11786
11787 case $lt_cv_dlopen_self in
11788 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11789 *) enable_dlopen_self=unknown ;;
11790 esac
11791
11792 case $lt_cv_dlopen_self_static in
11793 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11794 *) enable_dlopen_self_static=unknown ;;
11795 esac
11796 fi
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814 striplib=
11815 old_striplib=
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11817 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11818 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11819 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11820 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11822 $as_echo "yes" >&6; }
11823 else
11824 # FIXME - insert some real tests, host_os isn't really good enough
11825 case $host_os in
11826 darwin*)
11827 if test -n "$STRIP" ; then
11828 striplib="$STRIP -x"
11829 old_striplib="$STRIP -S"
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11831 $as_echo "yes" >&6; }
11832 else
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11834 $as_echo "no" >&6; }
11835 fi
11836 ;;
11837 *)
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11839 $as_echo "no" >&6; }
11840 ;;
11841 esac
11842 fi
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855 # Report which library types will actually be built
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11857 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11859 $as_echo "$can_build_shared" >&6; }
11860
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11862 $as_echo_n "checking whether to build shared libraries... " >&6; }
11863 test "$can_build_shared" = "no" && enable_shared=no
11864
11865 # On AIX, shared libraries and static libraries use the same namespace, and
11866 # are all built from PIC.
11867 case $host_os in
11868 aix3*)
11869 test "$enable_shared" = yes && enable_static=no
11870 if test -n "$RANLIB"; then
11871 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11872 postinstall_cmds='$RANLIB $lib'
11873 fi
11874 ;;
11875
11876 aix[4-9]*)
11877 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11878 test "$enable_shared" = yes && enable_static=no
11879 fi
11880 ;;
11881 esac
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11883 $as_echo "$enable_shared" >&6; }
11884
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11886 $as_echo_n "checking whether to build static libraries... " >&6; }
11887 # Make sure either enable_shared or enable_static is yes.
11888 test "$enable_shared" = yes || enable_static=yes
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11890 $as_echo "$enable_static" >&6; }
11891
11892
11893
11894
11895 fi
11896 ac_ext=cpp
11897 ac_cpp='$CXXCPP $CPPFLAGS'
11898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11901
11902 CC="$lt_save_CC"
11903
11904
11905 ac_ext=cpp
11906 ac_cpp='$CXXCPP $CPPFLAGS'
11907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11910
11911 archive_cmds_need_lc_CXX=no
11912 allow_undefined_flag_CXX=
11913 always_export_symbols_CXX=no
11914 archive_expsym_cmds_CXX=
11915 compiler_needs_object_CXX=no
11916 export_dynamic_flag_spec_CXX=
11917 hardcode_direct_CXX=no
11918 hardcode_direct_absolute_CXX=no
11919 hardcode_libdir_flag_spec_CXX=
11920 hardcode_libdir_flag_spec_ld_CXX=
11921 hardcode_libdir_separator_CXX=
11922 hardcode_minus_L_CXX=no
11923 hardcode_shlibpath_var_CXX=unsupported
11924 hardcode_automatic_CXX=no
11925 inherit_rpath_CXX=no
11926 module_cmds_CXX=
11927 module_expsym_cmds_CXX=
11928 link_all_deplibs_CXX=unknown
11929 old_archive_cmds_CXX=$old_archive_cmds
11930 no_undefined_flag_CXX=
11931 whole_archive_flag_spec_CXX=
11932 enable_shared_with_static_runtimes_CXX=no
11933
11934 # Source file extension for C++ test sources.
11935 ac_ext=cpp
11936
11937 # Object file extension for compiled C++ test sources.
11938 objext=o
11939 objext_CXX=$objext
11940
11941 # No sense in running all these tests if we already determined that
11942 # the CXX compiler isn't working. Some variables (like enable_shared)
11943 # are currently assumed to apply to all compilers on this platform,
11944 # and will be corrupted by setting them based on a non-working compiler.
11945 if test "$_lt_caught_CXX_error" != yes; then
11946 # Code to be used in simple compile tests
11947 lt_simple_compile_test_code="int some_variable = 0;"
11948
11949 # Code to be used in simple link tests
11950 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11951
11952 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11953
11954
11955
11956
11957
11958
11959 # If no C compiler was specified, use CC.
11960 LTCC=${LTCC-"$CC"}
11961
11962 # If no C compiler flags were specified, use CFLAGS.
11963 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11964
11965 # Allow CC to be a program name with arguments.
11966 compiler=$CC
11967
11968
11969 # save warnings/boilerplate of simple test code
11970 ac_outfile=conftest.$ac_objext
11971 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11972 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11973 _lt_compiler_boilerplate=`cat conftest.err`
11974 $RM conftest*
11975
11976 ac_outfile=conftest.$ac_objext
11977 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11978 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11979 _lt_linker_boilerplate=`cat conftest.err`
11980 $RM -r conftest*
11981
11982
11983 # Allow CC to be a program name with arguments.
11984 lt_save_CC=$CC
11985 lt_save_LD=$LD
11986 lt_save_GCC=$GCC
11987 GCC=$GXX
11988 lt_save_with_gnu_ld=$with_gnu_ld
11989 lt_save_path_LD=$lt_cv_path_LD
11990 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11991 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11992 else
11993 $as_unset lt_cv_prog_gnu_ld
11994 fi
11995 if test -n "${lt_cv_path_LDCXX+set}"; then
11996 lt_cv_path_LD=$lt_cv_path_LDCXX
11997 else
11998 $as_unset lt_cv_path_LD
11999 fi
12000 test -z "${LDCXX+set}" || LD=$LDCXX
12001 CC=${CXX-"c++"}
12002 compiler=$CC
12003 compiler_CXX=$CC
12004 for cc_temp in $compiler""; do
12005 case $cc_temp in
12006 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12007 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12008 \-*) ;;
12009 *) break;;
12010 esac
12011 done
12012 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12013
12014
12015 if test -n "$compiler"; then
12016 # We don't want -fno-exception when compiling C++ code, so set the
12017 # no_builtin_flag separately
12018 if test "$GXX" = yes; then
12019 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12020 else
12021 lt_prog_compiler_no_builtin_flag_CXX=
12022 fi
12023
12024 if test "$GXX" = yes; then
12025 # Set up default GNU C++ configuration
12026
12027
12028
12029 @%:@ Check whether --with-gnu-ld was given.
12030 if test "${with_gnu_ld+set}" = set; then :
12031 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12032 else
12033 with_gnu_ld=no
12034 fi
12035
12036 ac_prog=ld
12037 if test "$GCC" = yes; then
12038 # Check if gcc -print-prog-name=ld gives a path.
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12040 $as_echo_n "checking for ld used by $CC... " >&6; }
12041 case $host in
12042 *-*-mingw*)
12043 # gcc leaves a trailing carriage return which upsets mingw
12044 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12045 *)
12046 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12047 esac
12048 case $ac_prog in
12049 # Accept absolute paths.
12050 [\\/]* | ?:[\\/]*)
12051 re_direlt='/[^/][^/]*/\.\./'
12052 # Canonicalize the pathname of ld
12053 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12054 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12055 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12056 done
12057 test -z "$LD" && LD="$ac_prog"
12058 ;;
12059 "")
12060 # If it fails, then pretend we aren't using GCC.
12061 ac_prog=ld
12062 ;;
12063 *)
12064 # If it is relative, then search for the first ld in PATH.
12065 with_gnu_ld=unknown
12066 ;;
12067 esac
12068 elif test "$with_gnu_ld" = yes; then
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12070 $as_echo_n "checking for GNU ld... " >&6; }
12071 else
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12073 $as_echo_n "checking for non-GNU ld... " >&6; }
12074 fi
12075 if ${lt_cv_path_LD+:} false; then :
12076 $as_echo_n "(cached) " >&6
12077 else
12078 if test -z "$LD"; then
12079 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12080 for ac_dir in $PATH; do
12081 IFS="$lt_save_ifs"
12082 test -z "$ac_dir" && ac_dir=.
12083 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12084 lt_cv_path_LD="$ac_dir/$ac_prog"
12085 # Check to see if the program is GNU ld. I'd rather use --version,
12086 # but apparently some variants of GNU ld only accept -v.
12087 # Break only if it was the GNU/non-GNU ld that we prefer.
12088 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12089 *GNU* | *'with BFD'*)
12090 test "$with_gnu_ld" != no && break
12091 ;;
12092 *)
12093 test "$with_gnu_ld" != yes && break
12094 ;;
12095 esac
12096 fi
12097 done
12098 IFS="$lt_save_ifs"
12099 else
12100 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12101 fi
12102 fi
12103
12104 LD="$lt_cv_path_LD"
12105 if test -n "$LD"; then
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12107 $as_echo "$LD" >&6; }
12108 else
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12110 $as_echo "no" >&6; }
12111 fi
12112 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12114 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12115 if ${lt_cv_prog_gnu_ld+:} false; then :
12116 $as_echo_n "(cached) " >&6
12117 else
12118 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12119 case `$LD -v 2>&1 </dev/null` in
12120 *GNU* | *'with BFD'*)
12121 lt_cv_prog_gnu_ld=yes
12122 ;;
12123 *)
12124 lt_cv_prog_gnu_ld=no
12125 ;;
12126 esac
12127 fi
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12129 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12130 with_gnu_ld=$lt_cv_prog_gnu_ld
12131
12132
12133
12134
12135
12136
12137
12138 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12139 # archiving commands below assume that GNU ld is being used.
12140 if test "$with_gnu_ld" = yes; then
12141 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12142 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12143
12144 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12145 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12146
12147 # If archive_cmds runs LD, not CC, wlarc should be empty
12148 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12149 # investigate it a little bit more. (MM)
12150 wlarc='${wl}'
12151
12152 # ancient GNU ld didn't support --whole-archive et. al.
12153 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12154 $GREP 'no-whole-archive' > /dev/null; then
12155 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12156 else
12157 whole_archive_flag_spec_CXX=
12158 fi
12159 else
12160 with_gnu_ld=no
12161 wlarc=
12162
12163 # A generic and very simple default shared library creation
12164 # command for GNU C++ for the case where it uses the native
12165 # linker, instead of GNU ld. If possible, this setting should
12166 # overridden to take advantage of the native linker features on
12167 # the platform it is being used on.
12168 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12169 fi
12170
12171 # Commands to make compiler produce verbose output that lists
12172 # what "hidden" libraries, object files and flags are used when
12173 # linking a shared library.
12174 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12175
12176 else
12177 GXX=no
12178 with_gnu_ld=no
12179 wlarc=
12180 fi
12181
12182 # PORTME: fill in a description of your system's C++ link characteristics
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12184 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12185 ld_shlibs_CXX=yes
12186 case $host_os in
12187 aix3*)
12188 # FIXME: insert proper C++ library support
12189 ld_shlibs_CXX=no
12190 ;;
12191 aix[4-9]*)
12192 if test "$host_cpu" = ia64; then
12193 # On IA64, the linker does run time linking by default, so we don't
12194 # have to do anything special.
12195 aix_use_runtimelinking=no
12196 exp_sym_flag='-Bexport'
12197 no_entry_flag=""
12198 else
12199 aix_use_runtimelinking=no
12200
12201 # Test if we are trying to use run time linking or normal
12202 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12203 # need to do runtime linking.
12204 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12205 for ld_flag in $LDFLAGS; do
12206 case $ld_flag in
12207 *-brtl*)
12208 aix_use_runtimelinking=yes
12209 break
12210 ;;
12211 esac
12212 done
12213 ;;
12214 esac
12215
12216 exp_sym_flag='-bexport'
12217 no_entry_flag='-bnoentry'
12218 fi
12219
12220 # When large executables or shared objects are built, AIX ld can
12221 # have problems creating the table of contents. If linking a library
12222 # or program results in "error TOC overflow" add -mminimal-toc to
12223 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12224 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12225
12226 archive_cmds_CXX=''
12227 hardcode_direct_CXX=yes
12228 hardcode_direct_absolute_CXX=yes
12229 hardcode_libdir_separator_CXX=':'
12230 link_all_deplibs_CXX=yes
12231 file_list_spec_CXX='${wl}-f,'
12232
12233 if test "$GXX" = yes; then
12234 case $host_os in aix4.[012]|aix4.[012].*)
12235 # We only want to do this on AIX 4.2 and lower, the check
12236 # below for broken collect2 doesn't work under 4.3+
12237 collect2name=`${CC} -print-prog-name=collect2`
12238 if test -f "$collect2name" &&
12239 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12240 then
12241 # We have reworked collect2
12242 :
12243 else
12244 # We have old collect2
12245 hardcode_direct_CXX=unsupported
12246 # It fails to find uninstalled libraries when the uninstalled
12247 # path is not listed in the libpath. Setting hardcode_minus_L
12248 # to unsupported forces relinking
12249 hardcode_minus_L_CXX=yes
12250 hardcode_libdir_flag_spec_CXX='-L$libdir'
12251 hardcode_libdir_separator_CXX=
12252 fi
12253 esac
12254 shared_flag='-shared'
12255 if test "$aix_use_runtimelinking" = yes; then
12256 shared_flag="$shared_flag "'${wl}-G'
12257 fi
12258 else
12259 # not using gcc
12260 if test "$host_cpu" = ia64; then
12261 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12262 # chokes on -Wl,-G. The following line is correct:
12263 shared_flag='-G'
12264 else
12265 if test "$aix_use_runtimelinking" = yes; then
12266 shared_flag='${wl}-G'
12267 else
12268 shared_flag='${wl}-bM:SRE'
12269 fi
12270 fi
12271 fi
12272
12273 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12274 # It seems that -bexpall does not export symbols beginning with
12275 # underscore (_), so it is better to generate a list of symbols to
12276 # export.
12277 always_export_symbols_CXX=yes
12278 if test "$aix_use_runtimelinking" = yes; then
12279 # Warning - without using the other runtime loading flags (-brtl),
12280 # -berok will link without error, but may produce a broken library.
12281 allow_undefined_flag_CXX='-berok'
12282 # Determine the default libpath from the value encoded in an empty
12283 # executable.
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12286
12287 int
12288 main ()
12289 {
12290
12291 ;
12292 return 0;
12293 }
12294 _ACEOF
12295 if ac_fn_cxx_try_link "$LINENO"; then :
12296
12297 lt_aix_libpath_sed='
12298 /Import File Strings/,/^$/ {
12299 /^0/ {
12300 s/^0 *\(.*\)$/\1/
12301 p
12302 }
12303 }'
12304 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12305 # Check for a 64-bit object if we didn't find anything.
12306 if test -z "$aix_libpath"; then
12307 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12308 fi
12309 fi
12310 rm -f core conftest.err conftest.$ac_objext \
12311 conftest$ac_exeext conftest.$ac_ext
12312 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12313
12314 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12315
12316 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12317 else
12318 if test "$host_cpu" = ia64; then
12319 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12320 allow_undefined_flag_CXX="-z nodefs"
12321 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12322 else
12323 # Determine the default libpath from the value encoded in an
12324 # empty executable.
12325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12326 /* end confdefs.h. */
12327
12328 int
12329 main ()
12330 {
12331
12332 ;
12333 return 0;
12334 }
12335 _ACEOF
12336 if ac_fn_cxx_try_link "$LINENO"; then :
12337
12338 lt_aix_libpath_sed='
12339 /Import File Strings/,/^$/ {
12340 /^0/ {
12341 s/^0 *\(.*\)$/\1/
12342 p
12343 }
12344 }'
12345 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12346 # Check for a 64-bit object if we didn't find anything.
12347 if test -z "$aix_libpath"; then
12348 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12349 fi
12350 fi
12351 rm -f core conftest.err conftest.$ac_objext \
12352 conftest$ac_exeext conftest.$ac_ext
12353 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12354
12355 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12356 # Warning - without using the other run time loading flags,
12357 # -berok will link without error, but may produce a broken library.
12358 no_undefined_flag_CXX=' ${wl}-bernotok'
12359 allow_undefined_flag_CXX=' ${wl}-berok'
12360 # Exported symbols can be pulled into shared objects from archives
12361 whole_archive_flag_spec_CXX='$convenience'
12362 archive_cmds_need_lc_CXX=yes
12363 # This is similar to how AIX traditionally builds its shared
12364 # libraries.
12365 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12366 fi
12367 fi
12368 ;;
12369
12370 beos*)
12371 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12372 allow_undefined_flag_CXX=unsupported
12373 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12374 # support --undefined. This deserves some investigation. FIXME
12375 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12376 else
12377 ld_shlibs_CXX=no
12378 fi
12379 ;;
12380
12381 chorus*)
12382 case $cc_basename in
12383 *)
12384 # FIXME: insert proper C++ library support
12385 ld_shlibs_CXX=no
12386 ;;
12387 esac
12388 ;;
12389
12390 cygwin* | mingw* | pw32* | cegcc*)
12391 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12392 # as there is no search path for DLLs.
12393 hardcode_libdir_flag_spec_CXX='-L$libdir'
12394 allow_undefined_flag_CXX=unsupported
12395 always_export_symbols_CXX=no
12396 enable_shared_with_static_runtimes_CXX=yes
12397
12398 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12399 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12400 # If the export-symbols file already is a .def file (1st line
12401 # is EXPORTS), use it as is; otherwise, prepend...
12402 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12403 cp $export_symbols $output_objdir/$soname.def;
12404 else
12405 echo EXPORTS > $output_objdir/$soname.def;
12406 cat $export_symbols >> $output_objdir/$soname.def;
12407 fi~
12408 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12409 else
12410 ld_shlibs_CXX=no
12411 fi
12412 ;;
12413 darwin* | rhapsody*)
12414
12415
12416 archive_cmds_need_lc_CXX=no
12417 hardcode_direct_CXX=no
12418 hardcode_automatic_CXX=yes
12419 hardcode_shlibpath_var_CXX=unsupported
12420 whole_archive_flag_spec_CXX=''
12421 link_all_deplibs_CXX=yes
12422 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12423 case $cc_basename in
12424 ifort*) _lt_dar_can_shared=yes ;;
12425 *) _lt_dar_can_shared=$GCC ;;
12426 esac
12427 if test "$_lt_dar_can_shared" = "yes"; then
12428 output_verbose_link_cmd=echo
12429 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12430 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12431 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12432 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12433 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12434 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12435 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12436 fi
12437
12438 else
12439 ld_shlibs_CXX=no
12440 fi
12441
12442 ;;
12443
12444 dgux*)
12445 case $cc_basename in
12446 ec++*)
12447 # FIXME: insert proper C++ library support
12448 ld_shlibs_CXX=no
12449 ;;
12450 ghcx*)
12451 # Green Hills C++ Compiler
12452 # FIXME: insert proper C++ library support
12453 ld_shlibs_CXX=no
12454 ;;
12455 *)
12456 # FIXME: insert proper C++ library support
12457 ld_shlibs_CXX=no
12458 ;;
12459 esac
12460 ;;
12461
12462 freebsd[12]*)
12463 # C++ shared libraries reported to be fairly broken before
12464 # switch to ELF
12465 ld_shlibs_CXX=no
12466 ;;
12467
12468 freebsd-elf*)
12469 archive_cmds_need_lc_CXX=no
12470 ;;
12471
12472 freebsd* | dragonfly*)
12473 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12474 # conventions
12475 ld_shlibs_CXX=yes
12476 ;;
12477
12478 gnu*)
12479 ;;
12480
12481 hpux9*)
12482 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12483 hardcode_libdir_separator_CXX=:
12484 export_dynamic_flag_spec_CXX='${wl}-E'
12485 hardcode_direct_CXX=yes
12486 hardcode_minus_L_CXX=yes # Not in the search PATH,
12487 # but as the default
12488 # location of the library.
12489
12490 case $cc_basename in
12491 CC*)
12492 # FIXME: insert proper C++ library support
12493 ld_shlibs_CXX=no
12494 ;;
12495 aCC*)
12496 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12497 # Commands to make compiler produce verbose output that lists
12498 # what "hidden" libraries, object files and flags are used when
12499 # linking a shared library.
12500 #
12501 # There doesn't appear to be a way to prevent this compiler from
12502 # explicitly linking system object files so we need to strip them
12503 # from the output so that they don't get included in the library
12504 # dependencies.
12505 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12506 ;;
12507 *)
12508 if test "$GXX" = yes; then
12509 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12510 else
12511 # FIXME: insert proper C++ library support
12512 ld_shlibs_CXX=no
12513 fi
12514 ;;
12515 esac
12516 ;;
12517
12518 hpux10*|hpux11*)
12519 if test $with_gnu_ld = no; then
12520 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12521 hardcode_libdir_separator_CXX=:
12522
12523 case $host_cpu in
12524 hppa*64*|ia64*)
12525 ;;
12526 *)
12527 export_dynamic_flag_spec_CXX='${wl}-E'
12528 ;;
12529 esac
12530 fi
12531 case $host_cpu in
12532 hppa*64*|ia64*)
12533 hardcode_direct_CXX=no
12534 hardcode_shlibpath_var_CXX=no
12535 ;;
12536 *)
12537 hardcode_direct_CXX=yes
12538 hardcode_direct_absolute_CXX=yes
12539 hardcode_minus_L_CXX=yes # Not in the search PATH,
12540 # but as the default
12541 # location of the library.
12542 ;;
12543 esac
12544
12545 case $cc_basename in
12546 CC*)
12547 # FIXME: insert proper C++ library support
12548 ld_shlibs_CXX=no
12549 ;;
12550 aCC*)
12551 case $host_cpu in
12552 hppa*64*)
12553 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12554 ;;
12555 ia64*)
12556 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12557 ;;
12558 *)
12559 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12560 ;;
12561 esac
12562 # Commands to make compiler produce verbose output that lists
12563 # what "hidden" libraries, object files and flags are used when
12564 # linking a shared library.
12565 #
12566 # There doesn't appear to be a way to prevent this compiler from
12567 # explicitly linking system object files so we need to strip them
12568 # from the output so that they don't get included in the library
12569 # dependencies.
12570 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12571 ;;
12572 *)
12573 if test "$GXX" = yes; then
12574 if test $with_gnu_ld = no; then
12575 case $host_cpu in
12576 hppa*64*)
12577 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12578 ;;
12579 ia64*)
12580 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12581 ;;
12582 *)
12583 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12584 ;;
12585 esac
12586 fi
12587 else
12588 # FIXME: insert proper C++ library support
12589 ld_shlibs_CXX=no
12590 fi
12591 ;;
12592 esac
12593 ;;
12594
12595 interix[3-9]*)
12596 hardcode_direct_CXX=no
12597 hardcode_shlibpath_var_CXX=no
12598 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12599 export_dynamic_flag_spec_CXX='${wl}-E'
12600 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12601 # Instead, shared libraries are loaded at an image base (0x10000000 by
12602 # default) and relocated if they conflict, which is a slow very memory
12603 # consuming and fragmenting process. To avoid this, we pick a random,
12604 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12605 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12606 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12607 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12608 ;;
12609 irix5* | irix6*)
12610 case $cc_basename in
12611 CC*)
12612 # SGI C++
12613 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12614
12615 # Archives containing C++ object files must be created using
12616 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12617 # necessary to make sure instantiated templates are included
12618 # in the archive.
12619 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12620 ;;
12621 *)
12622 if test "$GXX" = yes; then
12623 if test "$with_gnu_ld" = no; then
12624 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12625 else
12626 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12627 fi
12628 fi
12629 link_all_deplibs_CXX=yes
12630 ;;
12631 esac
12632 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12633 hardcode_libdir_separator_CXX=:
12634 inherit_rpath_CXX=yes
12635 ;;
12636
12637 linux* | k*bsd*-gnu)
12638 case $cc_basename in
12639 KCC*)
12640 # Kuck and Associates, Inc. (KAI) C++ Compiler
12641
12642 # KCC will only create a shared library if the output file
12643 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12644 # to its proper name (with version) after linking.
12645 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12646 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12647 # Commands to make compiler produce verbose output that lists
12648 # what "hidden" libraries, object files and flags are used when
12649 # linking a shared library.
12650 #
12651 # There doesn't appear to be a way to prevent this compiler from
12652 # explicitly linking system object files so we need to strip them
12653 # from the output so that they don't get included in the library
12654 # dependencies.
12655 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12656
12657 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12658 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12659
12660 # Archives containing C++ object files must be created using
12661 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12662 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12663 ;;
12664 icpc* | ecpc* )
12665 # Intel C++
12666 with_gnu_ld=yes
12667 # version 8.0 and above of icpc choke on multiply defined symbols
12668 # if we add $predep_objects and $postdep_objects, however 7.1 and
12669 # earlier do not add the objects themselves.
12670 case `$CC -V 2>&1` in
12671 *"Version 7."*)
12672 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12673 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12674 ;;
12675 *) # Version 8.0 or newer
12676 tmp_idyn=
12677 case $host_cpu in
12678 ia64*) tmp_idyn=' -i_dynamic';;
12679 esac
12680 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12681 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12682 ;;
12683 esac
12684 archive_cmds_need_lc_CXX=no
12685 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12686 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12687 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12688 ;;
12689 pgCC* | pgcpp*)
12690 # Portland Group C++ compiler
12691 case `$CC -V` in
12692 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12693 prelink_cmds_CXX='tpldir=Template.dir~
12694 rm -rf $tpldir~
12695 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12696 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12697 old_archive_cmds_CXX='tpldir=Template.dir~
12698 rm -rf $tpldir~
12699 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12700 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12701 $RANLIB $oldlib'
12702 archive_cmds_CXX='tpldir=Template.dir~
12703 rm -rf $tpldir~
12704 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12705 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12706 archive_expsym_cmds_CXX='tpldir=Template.dir~
12707 rm -rf $tpldir~
12708 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12709 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12710 ;;
12711 *) # Version 6 will use weak symbols
12712 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12713 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12714 ;;
12715 esac
12716
12717 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12718 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12719 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12720 ;;
12721 cxx*)
12722 # Compaq C++
12723 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12724 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12725
12726 runpath_var=LD_RUN_PATH
12727 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12728 hardcode_libdir_separator_CXX=:
12729
12730 # Commands to make compiler produce verbose output that lists
12731 # what "hidden" libraries, object files and flags are used when
12732 # linking a shared library.
12733 #
12734 # There doesn't appear to be a way to prevent this compiler from
12735 # explicitly linking system object files so we need to strip them
12736 # from the output so that they don't get included in the library
12737 # dependencies.
12738 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12739 ;;
12740 xl*)
12741 # IBM XL 8.0 on PPC, with GNU ld
12742 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12743 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12744 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12745 if test "x$supports_anon_versioning" = xyes; then
12746 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12747 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12748 echo "local: *; };" >> $output_objdir/$libname.ver~
12749 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12750 fi
12751 ;;
12752 *)
12753 case `$CC -V 2>&1 | sed 5q` in
12754 *Sun\ C*)
12755 # Sun C++ 5.9
12756 no_undefined_flag_CXX=' -zdefs'
12757 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12758 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12759 hardcode_libdir_flag_spec_CXX='-R$libdir'
12760 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12761 compiler_needs_object_CXX=yes
12762
12763 # Not sure whether something based on
12764 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12765 # would be better.
12766 output_verbose_link_cmd='echo'
12767
12768 # Archives containing C++ object files must be created using
12769 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12770 # necessary to make sure instantiated templates are included
12771 # in the archive.
12772 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12773 ;;
12774 esac
12775 ;;
12776 esac
12777 ;;
12778
12779 lynxos*)
12780 # FIXME: insert proper C++ library support
12781 ld_shlibs_CXX=no
12782 ;;
12783
12784 m88k*)
12785 # FIXME: insert proper C++ library support
12786 ld_shlibs_CXX=no
12787 ;;
12788
12789 mvs*)
12790 case $cc_basename in
12791 cxx*)
12792 # FIXME: insert proper C++ library support
12793 ld_shlibs_CXX=no
12794 ;;
12795 *)
12796 # FIXME: insert proper C++ library support
12797 ld_shlibs_CXX=no
12798 ;;
12799 esac
12800 ;;
12801
12802 netbsd*)
12803 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12804 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12805 wlarc=
12806 hardcode_libdir_flag_spec_CXX='-R$libdir'
12807 hardcode_direct_CXX=yes
12808 hardcode_shlibpath_var_CXX=no
12809 fi
12810 # Workaround some broken pre-1.5 toolchains
12811 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12812 ;;
12813
12814 *nto* | *qnx*)
12815 ld_shlibs_CXX=yes
12816 ;;
12817
12818 openbsd2*)
12819 # C++ shared libraries are fairly broken
12820 ld_shlibs_CXX=no
12821 ;;
12822
12823 openbsd*)
12824 if test -f /usr/libexec/ld.so; then
12825 hardcode_direct_CXX=yes
12826 hardcode_shlibpath_var_CXX=no
12827 hardcode_direct_absolute_CXX=yes
12828 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12829 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12830 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12831 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12832 export_dynamic_flag_spec_CXX='${wl}-E'
12833 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12834 fi
12835 output_verbose_link_cmd=echo
12836 else
12837 ld_shlibs_CXX=no
12838 fi
12839 ;;
12840
12841 osf3* | osf4* | osf5*)
12842 case $cc_basename in
12843 KCC*)
12844 # Kuck and Associates, Inc. (KAI) C++ Compiler
12845
12846 # KCC will only create a shared library if the output file
12847 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12848 # to its proper name (with version) after linking.
12849 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12850
12851 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12852 hardcode_libdir_separator_CXX=:
12853
12854 # Archives containing C++ object files must be created using
12855 # the KAI C++ compiler.
12856 case $host in
12857 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12858 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12859 esac
12860 ;;
12861 RCC*)
12862 # Rational C++ 2.4.1
12863 # FIXME: insert proper C++ library support
12864 ld_shlibs_CXX=no
12865 ;;
12866 cxx*)
12867 case $host in
12868 osf3*)
12869 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12870 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12871 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12872 ;;
12873 *)
12874 allow_undefined_flag_CXX=' -expect_unresolved \*'
12875 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12876 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12877 echo "-hidden">> $lib.exp~
12878 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
12879 $RM $lib.exp'
12880 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12881 ;;
12882 esac
12883
12884 hardcode_libdir_separator_CXX=:
12885
12886 # Commands to make compiler produce verbose output that lists
12887 # what "hidden" libraries, object files and flags are used when
12888 # linking a shared library.
12889 #
12890 # There doesn't appear to be a way to prevent this compiler from
12891 # explicitly linking system object files so we need to strip them
12892 # from the output so that they don't get included in the library
12893 # dependencies.
12894 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12895 ;;
12896 *)
12897 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12898 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12899 case $host in
12900 osf3*)
12901 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12902 ;;
12903 *)
12904 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12905 ;;
12906 esac
12907
12908 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12909 hardcode_libdir_separator_CXX=:
12910
12911 # Commands to make compiler produce verbose output that lists
12912 # what "hidden" libraries, object files and flags are used when
12913 # linking a shared library.
12914 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12915
12916 else
12917 # FIXME: insert proper C++ library support
12918 ld_shlibs_CXX=no
12919 fi
12920 ;;
12921 esac
12922 ;;
12923
12924 psos*)
12925 # FIXME: insert proper C++ library support
12926 ld_shlibs_CXX=no
12927 ;;
12928
12929 sunos4*)
12930 case $cc_basename in
12931 CC*)
12932 # Sun C++ 4.x
12933 # FIXME: insert proper C++ library support
12934 ld_shlibs_CXX=no
12935 ;;
12936 lcc*)
12937 # Lucid
12938 # FIXME: insert proper C++ library support
12939 ld_shlibs_CXX=no
12940 ;;
12941 *)
12942 # FIXME: insert proper C++ library support
12943 ld_shlibs_CXX=no
12944 ;;
12945 esac
12946 ;;
12947
12948 solaris*)
12949 case $cc_basename in
12950 CC*)
12951 # Sun C++ 4.2, 5.x and Centerline C++
12952 archive_cmds_need_lc_CXX=yes
12953 no_undefined_flag_CXX=' -zdefs'
12954 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12955 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12956 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12957
12958 hardcode_libdir_flag_spec_CXX='-R$libdir'
12959 hardcode_shlibpath_var_CXX=no
12960 case $host_os in
12961 solaris2.[0-5] | solaris2.[0-5].*) ;;
12962 *)
12963 # The compiler driver will combine and reorder linker options,
12964 # but understands `-z linker_flag'.
12965 # Supported since Solaris 2.6 (maybe 2.5.1?)
12966 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12967 ;;
12968 esac
12969 link_all_deplibs_CXX=yes
12970
12971 output_verbose_link_cmd='echo'
12972
12973 # Archives containing C++ object files must be created using
12974 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12975 # necessary to make sure instantiated templates are included
12976 # in the archive.
12977 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12978 ;;
12979 gcx*)
12980 # Green Hills C++ Compiler
12981 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12982
12983 # The C++ compiler must be used to create the archive.
12984 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12985 ;;
12986 *)
12987 # GNU C++ compiler with Solaris linker
12988 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12989 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12990 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12991 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12992 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12993 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12994
12995 # Commands to make compiler produce verbose output that lists
12996 # what "hidden" libraries, object files and flags are used when
12997 # linking a shared library.
12998 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12999 else
13000 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13001 # platform.
13002 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13003 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13004 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13005
13006 # Commands to make compiler produce verbose output that lists
13007 # what "hidden" libraries, object files and flags are used when
13008 # linking a shared library.
13009 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13010 fi
13011
13012 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13013 case $host_os in
13014 solaris2.[0-5] | solaris2.[0-5].*) ;;
13015 *)
13016 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13017 ;;
13018 esac
13019 fi
13020 ;;
13021 esac
13022 ;;
13023
13024 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13025 no_undefined_flag_CXX='${wl}-z,text'
13026 archive_cmds_need_lc_CXX=no
13027 hardcode_shlibpath_var_CXX=no
13028 runpath_var='LD_RUN_PATH'
13029
13030 case $cc_basename in
13031 CC*)
13032 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13033 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13034 ;;
13035 *)
13036 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13037 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13038 ;;
13039 esac
13040 ;;
13041
13042 sysv5* | sco3.2v5* | sco5v6*)
13043 # Note: We can NOT use -z defs as we might desire, because we do not
13044 # link with -lc, and that would cause any symbols used from libc to
13045 # always be unresolved, which means just about no library would
13046 # ever link correctly. If we're not using GNU ld we use -z text
13047 # though, which does catch some bad symbols but isn't as heavy-handed
13048 # as -z defs.
13049 no_undefined_flag_CXX='${wl}-z,text'
13050 allow_undefined_flag_CXX='${wl}-z,nodefs'
13051 archive_cmds_need_lc_CXX=no
13052 hardcode_shlibpath_var_CXX=no
13053 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13054 hardcode_libdir_separator_CXX=':'
13055 link_all_deplibs_CXX=yes
13056 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13057 runpath_var='LD_RUN_PATH'
13058
13059 case $cc_basename in
13060 CC*)
13061 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13062 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13063 ;;
13064 *)
13065 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13066 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13067 ;;
13068 esac
13069 ;;
13070
13071 tandem*)
13072 case $cc_basename in
13073 NCC*)
13074 # NonStop-UX NCC 3.20
13075 # FIXME: insert proper C++ library support
13076 ld_shlibs_CXX=no
13077 ;;
13078 *)
13079 # FIXME: insert proper C++ library support
13080 ld_shlibs_CXX=no
13081 ;;
13082 esac
13083 ;;
13084
13085 vxworks*)
13086 # FIXME: insert proper C++ library support
13087 ld_shlibs_CXX=no
13088 ;;
13089
13090 *)
13091 # FIXME: insert proper C++ library support
13092 ld_shlibs_CXX=no
13093 ;;
13094 esac
13095
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13097 $as_echo "$ld_shlibs_CXX" >&6; }
13098 test "$ld_shlibs_CXX" = no && can_build_shared=no
13099
13100 GCC_CXX="$GXX"
13101 LD_CXX="$LD"
13102
13103 ## CAVEAT EMPTOR:
13104 ## There is no encapsulation within the following macros, do not change
13105 ## the running order or otherwise move them around unless you know exactly
13106 ## what you are doing...
13107 # Dependencies to place before and after the object being linked:
13108 predep_objects_CXX=
13109 postdep_objects_CXX=
13110 predeps_CXX=
13111 postdeps_CXX=
13112 compiler_lib_search_path_CXX=
13113
13114 cat > conftest.$ac_ext <<_LT_EOF
13115 class Foo
13116 {
13117 public:
13118 Foo (void) { a = 0; }
13119 private:
13120 int a;
13121 };
13122 _LT_EOF
13123
13124 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13125 (eval $ac_compile) 2>&5
13126 ac_status=$?
13127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13128 test $ac_status = 0; }; then
13129 # Parse the compiler output and extract the necessary
13130 # objects, libraries and library flags.
13131
13132 # Sentinel used to keep track of whether or not we are before
13133 # the conftest object file.
13134 pre_test_object_deps_done=no
13135
13136 for p in `eval "$output_verbose_link_cmd"`; do
13137 case $p in
13138
13139 -L* | -R* | -l*)
13140 # Some compilers place space between "-{L,R}" and the path.
13141 # Remove the space.
13142 if test $p = "-L" ||
13143 test $p = "-R"; then
13144 prev=$p
13145 continue
13146 else
13147 prev=
13148 fi
13149
13150 if test "$pre_test_object_deps_done" = no; then
13151 case $p in
13152 -L* | -R*)
13153 # Internal compiler library paths should come after those
13154 # provided the user. The postdeps already come after the
13155 # user supplied libs so there is no need to process them.
13156 if test -z "$compiler_lib_search_path_CXX"; then
13157 compiler_lib_search_path_CXX="${prev}${p}"
13158 else
13159 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13160 fi
13161 ;;
13162 # The "-l" case would never come before the object being
13163 # linked, so don't bother handling this case.
13164 esac
13165 else
13166 if test -z "$postdeps_CXX"; then
13167 postdeps_CXX="${prev}${p}"
13168 else
13169 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13170 fi
13171 fi
13172 ;;
13173
13174 *.$objext)
13175 # This assumes that the test object file only shows up
13176 # once in the compiler output.
13177 if test "$p" = "conftest.$objext"; then
13178 pre_test_object_deps_done=yes
13179 continue
13180 fi
13181
13182 if test "$pre_test_object_deps_done" = no; then
13183 if test -z "$predep_objects_CXX"; then
13184 predep_objects_CXX="$p"
13185 else
13186 predep_objects_CXX="$predep_objects_CXX $p"
13187 fi
13188 else
13189 if test -z "$postdep_objects_CXX"; then
13190 postdep_objects_CXX="$p"
13191 else
13192 postdep_objects_CXX="$postdep_objects_CXX $p"
13193 fi
13194 fi
13195 ;;
13196
13197 *) ;; # Ignore the rest.
13198
13199 esac
13200 done
13201
13202 # Clean up.
13203 rm -f a.out a.exe
13204 else
13205 echo "libtool.m4: error: problem compiling CXX test program"
13206 fi
13207
13208 $RM -f confest.$objext
13209
13210 # PORTME: override above test on systems where it is broken
13211 case $host_os in
13212 interix[3-9]*)
13213 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13214 # hack all around it, let's just trust "g++" to DTRT.
13215 predep_objects_CXX=
13216 postdep_objects_CXX=
13217 postdeps_CXX=
13218 ;;
13219
13220 linux*)
13221 case `$CC -V 2>&1 | sed 5q` in
13222 *Sun\ C*)
13223 # Sun C++ 5.9
13224
13225 # The more standards-conforming stlport4 library is
13226 # incompatible with the Cstd library. Avoid specifying
13227 # it if it's in CXXFLAGS. Ignore libCrun as
13228 # -library=stlport4 depends on it.
13229 case " $CXX $CXXFLAGS " in
13230 *" -library=stlport4 "*)
13231 solaris_use_stlport4=yes
13232 ;;
13233 esac
13234
13235 if test "$solaris_use_stlport4" != yes; then
13236 postdeps_CXX='-library=Cstd -library=Crun'
13237 fi
13238 ;;
13239 esac
13240 ;;
13241
13242 solaris*)
13243 case $cc_basename in
13244 CC*)
13245 # The more standards-conforming stlport4 library is
13246 # incompatible with the Cstd library. Avoid specifying
13247 # it if it's in CXXFLAGS. Ignore libCrun as
13248 # -library=stlport4 depends on it.
13249 case " $CXX $CXXFLAGS " in
13250 *" -library=stlport4 "*)
13251 solaris_use_stlport4=yes
13252 ;;
13253 esac
13254
13255 # Adding this requires a known-good setup of shared libraries for
13256 # Sun compiler versions before 5.6, else PIC objects from an old
13257 # archive will be linked into the output, leading to subtle bugs.
13258 if test "$solaris_use_stlport4" != yes; then
13259 postdeps_CXX='-library=Cstd -library=Crun'
13260 fi
13261 ;;
13262 esac
13263 ;;
13264 esac
13265
13266
13267 case " $postdeps_CXX " in
13268 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13269 esac
13270 compiler_lib_search_dirs_CXX=
13271 if test -n "${compiler_lib_search_path_CXX}"; then
13272 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13273 fi
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305 lt_prog_compiler_wl_CXX=
13306 lt_prog_compiler_pic_CXX=
13307 lt_prog_compiler_static_CXX=
13308
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13310 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13311
13312 # C++ specific cases for pic, static, wl, etc.
13313 if test "$GXX" = yes; then
13314 lt_prog_compiler_wl_CXX='-Wl,'
13315 lt_prog_compiler_static_CXX='-static'
13316
13317 case $host_os in
13318 aix*)
13319 # All AIX code is PIC.
13320 if test "$host_cpu" = ia64; then
13321 # AIX 5 now supports IA64 processor
13322 lt_prog_compiler_static_CXX='-Bstatic'
13323 fi
13324 ;;
13325
13326 amigaos*)
13327 case $host_cpu in
13328 powerpc)
13329 # see comment about AmigaOS4 .so support
13330 lt_prog_compiler_pic_CXX='-fPIC'
13331 ;;
13332 m68k)
13333 # FIXME: we need at least 68020 code to build shared libraries, but
13334 # adding the `-m68020' flag to GCC prevents building anything better,
13335 # like `-m68040'.
13336 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13337 ;;
13338 esac
13339 ;;
13340
13341 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13342 # PIC is the default for these OSes.
13343 ;;
13344 mingw* | cygwin* | os2* | pw32* | cegcc*)
13345 # This hack is so that the source file can tell whether it is being
13346 # built for inclusion in a dll (and should export symbols for example).
13347 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13348 # (--disable-auto-import) libraries
13349 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13350 ;;
13351 darwin* | rhapsody*)
13352 # PIC is the default on this platform
13353 # Common symbols not allowed in MH_DYLIB files
13354 lt_prog_compiler_pic_CXX='-fno-common'
13355 ;;
13356 *djgpp*)
13357 # DJGPP does not support shared libraries at all
13358 lt_prog_compiler_pic_CXX=
13359 ;;
13360 interix[3-9]*)
13361 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13362 # Instead, we relocate shared libraries at runtime.
13363 ;;
13364 sysv4*MP*)
13365 if test -d /usr/nec; then
13366 lt_prog_compiler_pic_CXX=-Kconform_pic
13367 fi
13368 ;;
13369 hpux*)
13370 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13371 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13372 # sets the default TLS model and affects inlining.
13373 case $host_cpu in
13374 hppa*64*)
13375 ;;
13376 *)
13377 lt_prog_compiler_pic_CXX='-fPIC'
13378 ;;
13379 esac
13380 ;;
13381 *qnx* | *nto*)
13382 # QNX uses GNU C++, but need to define -shared option too, otherwise
13383 # it will coredump.
13384 lt_prog_compiler_pic_CXX='-fPIC -shared'
13385 ;;
13386 *)
13387 lt_prog_compiler_pic_CXX='-fPIC'
13388 ;;
13389 esac
13390 else
13391 case $host_os in
13392 aix[4-9]*)
13393 # All AIX code is PIC.
13394 if test "$host_cpu" = ia64; then
13395 # AIX 5 now supports IA64 processor
13396 lt_prog_compiler_static_CXX='-Bstatic'
13397 else
13398 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13399 fi
13400 ;;
13401 chorus*)
13402 case $cc_basename in
13403 cxch68*)
13404 # Green Hills C++ Compiler
13405 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13406 ;;
13407 esac
13408 ;;
13409 dgux*)
13410 case $cc_basename in
13411 ec++*)
13412 lt_prog_compiler_pic_CXX='-KPIC'
13413 ;;
13414 ghcx*)
13415 # Green Hills C++ Compiler
13416 lt_prog_compiler_pic_CXX='-pic'
13417 ;;
13418 *)
13419 ;;
13420 esac
13421 ;;
13422 freebsd* | dragonfly*)
13423 # FreeBSD uses GNU C++
13424 ;;
13425 hpux9* | hpux10* | hpux11*)
13426 case $cc_basename in
13427 CC*)
13428 lt_prog_compiler_wl_CXX='-Wl,'
13429 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13430 if test "$host_cpu" != ia64; then
13431 lt_prog_compiler_pic_CXX='+Z'
13432 fi
13433 ;;
13434 aCC*)
13435 lt_prog_compiler_wl_CXX='-Wl,'
13436 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13437 case $host_cpu in
13438 hppa*64*|ia64*)
13439 # +Z the default
13440 ;;
13441 *)
13442 lt_prog_compiler_pic_CXX='+Z'
13443 ;;
13444 esac
13445 ;;
13446 *)
13447 ;;
13448 esac
13449 ;;
13450 interix*)
13451 # This is c89, which is MS Visual C++ (no shared libs)
13452 # Anyone wants to do a port?
13453 ;;
13454 irix5* | irix6* | nonstopux*)
13455 case $cc_basename in
13456 CC*)
13457 lt_prog_compiler_wl_CXX='-Wl,'
13458 lt_prog_compiler_static_CXX='-non_shared'
13459 # CC pic flag -KPIC is the default.
13460 ;;
13461 *)
13462 ;;
13463 esac
13464 ;;
13465 linux* | k*bsd*-gnu)
13466 case $cc_basename in
13467 KCC*)
13468 # KAI C++ Compiler
13469 lt_prog_compiler_wl_CXX='--backend -Wl,'
13470 lt_prog_compiler_pic_CXX='-fPIC'
13471 ;;
13472 ecpc* )
13473 # old Intel C++ for x86_64 which still supported -KPIC.
13474 lt_prog_compiler_wl_CXX='-Wl,'
13475 lt_prog_compiler_pic_CXX='-KPIC'
13476 lt_prog_compiler_static_CXX='-static'
13477 ;;
13478 icpc* )
13479 # Intel C++, used to be incompatible with GCC.
13480 # ICC 10 doesn't accept -KPIC any more.
13481 lt_prog_compiler_wl_CXX='-Wl,'
13482 lt_prog_compiler_pic_CXX='-fPIC'
13483 lt_prog_compiler_static_CXX='-static'
13484 ;;
13485 pgCC* | pgcpp*)
13486 # Portland Group C++ compiler
13487 lt_prog_compiler_wl_CXX='-Wl,'
13488 lt_prog_compiler_pic_CXX='-fpic'
13489 lt_prog_compiler_static_CXX='-Bstatic'
13490 ;;
13491 cxx*)
13492 # Compaq C++
13493 # Make sure the PIC flag is empty. It appears that all Alpha
13494 # Linux and Compaq Tru64 Unix objects are PIC.
13495 lt_prog_compiler_pic_CXX=
13496 lt_prog_compiler_static_CXX='-non_shared'
13497 ;;
13498 xlc* | xlC*)
13499 # IBM XL 8.0 on PPC
13500 lt_prog_compiler_wl_CXX='-Wl,'
13501 lt_prog_compiler_pic_CXX='-qpic'
13502 lt_prog_compiler_static_CXX='-qstaticlink'
13503 ;;
13504 *)
13505 case `$CC -V 2>&1 | sed 5q` in
13506 *Sun\ C*)
13507 # Sun C++ 5.9
13508 lt_prog_compiler_pic_CXX='-KPIC'
13509 lt_prog_compiler_static_CXX='-Bstatic'
13510 lt_prog_compiler_wl_CXX='-Qoption ld '
13511 ;;
13512 esac
13513 ;;
13514 esac
13515 ;;
13516 lynxos*)
13517 ;;
13518 m88k*)
13519 ;;
13520 mvs*)
13521 case $cc_basename in
13522 cxx*)
13523 lt_prog_compiler_pic_CXX='-W c,exportall'
13524 ;;
13525 *)
13526 ;;
13527 esac
13528 ;;
13529 netbsd*)
13530 ;;
13531 *qnx* | *nto*)
13532 # QNX uses GNU C++, but need to define -shared option too, otherwise
13533 # it will coredump.
13534 lt_prog_compiler_pic_CXX='-fPIC -shared'
13535 ;;
13536 osf3* | osf4* | osf5*)
13537 case $cc_basename in
13538 KCC*)
13539 lt_prog_compiler_wl_CXX='--backend -Wl,'
13540 ;;
13541 RCC*)
13542 # Rational C++ 2.4.1
13543 lt_prog_compiler_pic_CXX='-pic'
13544 ;;
13545 cxx*)
13546 # Digital/Compaq C++
13547 lt_prog_compiler_wl_CXX='-Wl,'
13548 # Make sure the PIC flag is empty. It appears that all Alpha
13549 # Linux and Compaq Tru64 Unix objects are PIC.
13550 lt_prog_compiler_pic_CXX=
13551 lt_prog_compiler_static_CXX='-non_shared'
13552 ;;
13553 *)
13554 ;;
13555 esac
13556 ;;
13557 psos*)
13558 ;;
13559 solaris*)
13560 case $cc_basename in
13561 CC*)
13562 # Sun C++ 4.2, 5.x and Centerline C++
13563 lt_prog_compiler_pic_CXX='-KPIC'
13564 lt_prog_compiler_static_CXX='-Bstatic'
13565 lt_prog_compiler_wl_CXX='-Qoption ld '
13566 ;;
13567 gcx*)
13568 # Green Hills C++ Compiler
13569 lt_prog_compiler_pic_CXX='-PIC'
13570 ;;
13571 *)
13572 ;;
13573 esac
13574 ;;
13575 sunos4*)
13576 case $cc_basename in
13577 CC*)
13578 # Sun C++ 4.x
13579 lt_prog_compiler_pic_CXX='-pic'
13580 lt_prog_compiler_static_CXX='-Bstatic'
13581 ;;
13582 lcc*)
13583 # Lucid
13584 lt_prog_compiler_pic_CXX='-pic'
13585 ;;
13586 *)
13587 ;;
13588 esac
13589 ;;
13590 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13591 case $cc_basename in
13592 CC*)
13593 lt_prog_compiler_wl_CXX='-Wl,'
13594 lt_prog_compiler_pic_CXX='-KPIC'
13595 lt_prog_compiler_static_CXX='-Bstatic'
13596 ;;
13597 esac
13598 ;;
13599 tandem*)
13600 case $cc_basename in
13601 NCC*)
13602 # NonStop-UX NCC 3.20
13603 lt_prog_compiler_pic_CXX='-KPIC'
13604 ;;
13605 *)
13606 ;;
13607 esac
13608 ;;
13609 vxworks*)
13610 ;;
13611 *)
13612 lt_prog_compiler_can_build_shared_CXX=no
13613 ;;
13614 esac
13615 fi
13616
13617 case $host_os in
13618 # For platforms which do not support PIC, -DPIC is meaningless:
13619 *djgpp*)
13620 lt_prog_compiler_pic_CXX=
13621 ;;
13622 *)
13623 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13624 ;;
13625 esac
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13627 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13628
13629
13630
13631 #
13632 # Check to make sure the PIC flag actually works.
13633 #
13634 if test -n "$lt_prog_compiler_pic_CXX"; then
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13636 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13637 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13638 $as_echo_n "(cached) " >&6
13639 else
13640 lt_cv_prog_compiler_pic_works_CXX=no
13641 ac_outfile=conftest.$ac_objext
13642 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13643 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13644 # Insert the option either (1) after the last *FLAGS variable, or
13645 # (2) before a word containing "conftest.", or (3) at the end.
13646 # Note that $ac_compile itself does not contain backslashes and begins
13647 # with a dollar sign (not a hyphen), so the echo should work correctly.
13648 # The option is referenced via a variable to avoid confusing sed.
13649 lt_compile=`echo "$ac_compile" | $SED \
13650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13652 -e 's:$: $lt_compiler_flag:'`
13653 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13654 (eval "$lt_compile" 2>conftest.err)
13655 ac_status=$?
13656 cat conftest.err >&5
13657 echo "$as_me:__oline__: \$? = $ac_status" >&5
13658 if (exit $ac_status) && test -s "$ac_outfile"; then
13659 # The compiler can only warn and ignore the option if not recognized
13660 # So say no if there are warnings other than the usual output.
13661 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13662 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13663 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13664 lt_cv_prog_compiler_pic_works_CXX=yes
13665 fi
13666 fi
13667 $RM conftest*
13668
13669 fi
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13671 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13672
13673 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13674 case $lt_prog_compiler_pic_CXX in
13675 "" | " "*) ;;
13676 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13677 esac
13678 else
13679 lt_prog_compiler_pic_CXX=
13680 lt_prog_compiler_can_build_shared_CXX=no
13681 fi
13682
13683 fi
13684
13685
13686
13687 #
13688 # Check to make sure the static flag actually works.
13689 #
13690 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13692 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13693 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13694 $as_echo_n "(cached) " >&6
13695 else
13696 lt_cv_prog_compiler_static_works_CXX=no
13697 save_LDFLAGS="$LDFLAGS"
13698 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13699 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13700 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13701 # The linker can only warn and ignore the option if not recognized
13702 # So say no if there are warnings
13703 if test -s conftest.err; then
13704 # Append any errors to the config.log.
13705 cat conftest.err 1>&5
13706 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13707 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13708 if diff conftest.exp conftest.er2 >/dev/null; then
13709 lt_cv_prog_compiler_static_works_CXX=yes
13710 fi
13711 else
13712 lt_cv_prog_compiler_static_works_CXX=yes
13713 fi
13714 fi
13715 $RM -r conftest*
13716 LDFLAGS="$save_LDFLAGS"
13717
13718 fi
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13720 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13721
13722 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13723 :
13724 else
13725 lt_prog_compiler_static_CXX=
13726 fi
13727
13728
13729
13730
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13732 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13733 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 lt_cv_prog_compiler_c_o_CXX=no
13737 $RM -r conftest 2>/dev/null
13738 mkdir conftest
13739 cd conftest
13740 mkdir out
13741 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13742
13743 lt_compiler_flag="-o out/conftest2.$ac_objext"
13744 # Insert the option either (1) after the last *FLAGS variable, or
13745 # (2) before a word containing "conftest.", or (3) at the end.
13746 # Note that $ac_compile itself does not contain backslashes and begins
13747 # with a dollar sign (not a hyphen), so the echo should work correctly.
13748 lt_compile=`echo "$ac_compile" | $SED \
13749 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13750 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13751 -e 's:$: $lt_compiler_flag:'`
13752 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13753 (eval "$lt_compile" 2>out/conftest.err)
13754 ac_status=$?
13755 cat out/conftest.err >&5
13756 echo "$as_me:__oline__: \$? = $ac_status" >&5
13757 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13758 then
13759 # The compiler can only warn and ignore the option if not recognized
13760 # So say no if there are warnings
13761 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13762 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13763 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13764 lt_cv_prog_compiler_c_o_CXX=yes
13765 fi
13766 fi
13767 chmod u+w . 2>&5
13768 $RM conftest*
13769 # SGI C++ compiler will create directory out/ii_files/ for
13770 # template instantiation
13771 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13772 $RM out/* && rmdir out
13773 cd ..
13774 $RM -r conftest
13775 $RM conftest*
13776
13777 fi
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13779 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13780
13781
13782
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13784 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13785 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13786 $as_echo_n "(cached) " >&6
13787 else
13788 lt_cv_prog_compiler_c_o_CXX=no
13789 $RM -r conftest 2>/dev/null
13790 mkdir conftest
13791 cd conftest
13792 mkdir out
13793 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13794
13795 lt_compiler_flag="-o out/conftest2.$ac_objext"
13796 # Insert the option either (1) after the last *FLAGS variable, or
13797 # (2) before a word containing "conftest.", or (3) at the end.
13798 # Note that $ac_compile itself does not contain backslashes and begins
13799 # with a dollar sign (not a hyphen), so the echo should work correctly.
13800 lt_compile=`echo "$ac_compile" | $SED \
13801 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13802 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13803 -e 's:$: $lt_compiler_flag:'`
13804 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13805 (eval "$lt_compile" 2>out/conftest.err)
13806 ac_status=$?
13807 cat out/conftest.err >&5
13808 echo "$as_me:__oline__: \$? = $ac_status" >&5
13809 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13810 then
13811 # The compiler can only warn and ignore the option if not recognized
13812 # So say no if there are warnings
13813 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13814 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13815 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13816 lt_cv_prog_compiler_c_o_CXX=yes
13817 fi
13818 fi
13819 chmod u+w . 2>&5
13820 $RM conftest*
13821 # SGI C++ compiler will create directory out/ii_files/ for
13822 # template instantiation
13823 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13824 $RM out/* && rmdir out
13825 cd ..
13826 $RM -r conftest
13827 $RM conftest*
13828
13829 fi
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13831 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13832
13833
13834
13835
13836 hard_links="nottested"
13837 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13838 # do not overwrite the value of need_locks provided by the user
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13840 $as_echo_n "checking if we can lock with hard links... " >&6; }
13841 hard_links=yes
13842 $RM conftest*
13843 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13844 touch conftest.a
13845 ln conftest.a conftest.b 2>&5 || hard_links=no
13846 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13848 $as_echo "$hard_links" >&6; }
13849 if test "$hard_links" = no; then
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13851 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13852 need_locks=warn
13853 fi
13854 else
13855 need_locks=no
13856 fi
13857
13858
13859
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13861 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13862
13863 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13864 case $host_os in
13865 aix[4-9]*)
13866 # If we're using GNU nm, then we don't want the "-C" option.
13867 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13868 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13869 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13870 else
13871 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13872 fi
13873 ;;
13874 pw32*)
13875 export_symbols_cmds_CXX="$ltdll_cmds"
13876 ;;
13877 cygwin* | mingw* | cegcc*)
13878 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13879 ;;
13880 *)
13881 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13882 ;;
13883 esac
13884 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13885
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13887 $as_echo "$ld_shlibs_CXX" >&6; }
13888 test "$ld_shlibs_CXX" = no && can_build_shared=no
13889
13890 with_gnu_ld_CXX=$with_gnu_ld
13891
13892
13893
13894
13895
13896
13897 #
13898 # Do we need to explicitly link libc?
13899 #
13900 case "x$archive_cmds_need_lc_CXX" in
13901 x|xyes)
13902 # Assume -lc should be added
13903 archive_cmds_need_lc_CXX=yes
13904
13905 if test "$enable_shared" = yes && test "$GCC" = yes; then
13906 case $archive_cmds_CXX in
13907 *'~'*)
13908 # FIXME: we may have to deal with multi-command sequences.
13909 ;;
13910 '$CC '*)
13911 # Test whether the compiler implicitly links with -lc since on some
13912 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13913 # to ld, don't add -lc before -lgcc.
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13915 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13916 $RM conftest*
13917 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13918
13919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13920 (eval $ac_compile) 2>&5
13921 ac_status=$?
13922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13923 test $ac_status = 0; } 2>conftest.err; then
13924 soname=conftest
13925 lib=conftest
13926 libobjs=conftest.$ac_objext
13927 deplibs=
13928 wl=$lt_prog_compiler_wl_CXX
13929 pic_flag=$lt_prog_compiler_pic_CXX
13930 compiler_flags=-v
13931 linker_flags=-v
13932 verstring=
13933 output_objdir=.
13934 libname=conftest
13935 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13936 allow_undefined_flag_CXX=
13937 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13938 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13939 ac_status=$?
13940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13941 test $ac_status = 0; }
13942 then
13943 archive_cmds_need_lc_CXX=no
13944 else
13945 archive_cmds_need_lc_CXX=yes
13946 fi
13947 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13948 else
13949 cat conftest.err 1>&5
13950 fi
13951 $RM conftest*
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13953 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13954 ;;
13955 esac
13956 fi
13957 ;;
13958 esac
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14024 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14025
14026 library_names_spec=
14027 libname_spec='lib$name'
14028 soname_spec=
14029 shrext_cmds=".so"
14030 postinstall_cmds=
14031 postuninstall_cmds=
14032 finish_cmds=
14033 finish_eval=
14034 shlibpath_var=
14035 shlibpath_overrides_runpath=unknown
14036 version_type=none
14037 dynamic_linker="$host_os ld.so"
14038 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14039 need_lib_prefix=unknown
14040 hardcode_into_libs=no
14041
14042 # when you set need_version to no, make sure it does not cause -set_version
14043 # flags to be left without arguments
14044 need_version=unknown
14045
14046 case $host_os in
14047 aix3*)
14048 version_type=linux
14049 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14050 shlibpath_var=LIBPATH
14051
14052 # AIX 3 has no versioning support, so we append a major version to the name.
14053 soname_spec='${libname}${release}${shared_ext}$major'
14054 ;;
14055
14056 aix[4-9]*)
14057 version_type=linux
14058 need_lib_prefix=no
14059 need_version=no
14060 hardcode_into_libs=yes
14061 if test "$host_cpu" = ia64; then
14062 # AIX 5 supports IA64
14063 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14064 shlibpath_var=LD_LIBRARY_PATH
14065 else
14066 # With GCC up to 2.95.x, collect2 would create an import file
14067 # for dependence libraries. The import file would start with
14068 # the line `#! .'. This would cause the generated library to
14069 # depend on `.', always an invalid library. This was fixed in
14070 # development snapshots of GCC prior to 3.0.
14071 case $host_os in
14072 aix4 | aix4.[01] | aix4.[01].*)
14073 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14074 echo ' yes '
14075 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14076 :
14077 else
14078 can_build_shared=no
14079 fi
14080 ;;
14081 esac
14082 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14083 # soname into executable. Probably we can add versioning support to
14084 # collect2, so additional links can be useful in future.
14085 if test "$aix_use_runtimelinking" = yes; then
14086 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14087 # instead of lib<name>.a to let people know that these are not
14088 # typical AIX shared libraries.
14089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14090 else
14091 # We preserve .a as extension for shared libraries through AIX4.2
14092 # and later when we are not doing run time linking.
14093 library_names_spec='${libname}${release}.a $libname.a'
14094 soname_spec='${libname}${release}${shared_ext}$major'
14095 fi
14096 shlibpath_var=LIBPATH
14097 fi
14098 ;;
14099
14100 amigaos*)
14101 case $host_cpu in
14102 powerpc)
14103 # Since July 2007 AmigaOS4 officially supports .so libraries.
14104 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14106 ;;
14107 m68k)
14108 library_names_spec='$libname.ixlibrary $libname.a'
14109 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14110 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14111 ;;
14112 esac
14113 ;;
14114
14115 beos*)
14116 library_names_spec='${libname}${shared_ext}'
14117 dynamic_linker="$host_os ld.so"
14118 shlibpath_var=LIBRARY_PATH
14119 ;;
14120
14121 bsdi[45]*)
14122 version_type=linux
14123 need_version=no
14124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14125 soname_spec='${libname}${release}${shared_ext}$major'
14126 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14127 shlibpath_var=LD_LIBRARY_PATH
14128 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14129 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14130 # the default ld.so.conf also contains /usr/contrib/lib and
14131 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14132 # libtool to hard-code these into programs
14133 ;;
14134
14135 cygwin* | mingw* | pw32* | cegcc*)
14136 version_type=windows
14137 shrext_cmds=".dll"
14138 need_version=no
14139 need_lib_prefix=no
14140
14141 case $GCC,$host_os in
14142 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14143 library_names_spec='$libname.dll.a'
14144 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14145 postinstall_cmds='base_file=`basename \${file}`~
14146 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14147 dldir=$destdir/`dirname \$dlpath`~
14148 test -d \$dldir || mkdir -p \$dldir~
14149 $install_prog $dir/$dlname \$dldir/$dlname~
14150 chmod a+x \$dldir/$dlname~
14151 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14152 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14153 fi'
14154 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14155 dlpath=$dir/\$dldll~
14156 $RM \$dlpath'
14157 shlibpath_overrides_runpath=yes
14158
14159 case $host_os in
14160 cygwin*)
14161 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14162 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14163 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14164 ;;
14165 mingw* | cegcc*)
14166 # MinGW DLLs use traditional 'lib' prefix
14167 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14168 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14169 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14170 # It is most probably a Windows format PATH printed by
14171 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14172 # path with ; separators, and with drive letters. We can handle the
14173 # drive letters (cygwin fileutils understands them), so leave them,
14174 # especially as we might pass files found there to a mingw objdump,
14175 # which wouldn't understand a cygwinified path. Ahh.
14176 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14177 else
14178 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14179 fi
14180 ;;
14181 pw32*)
14182 # pw32 DLLs use 'pw' prefix rather than 'lib'
14183 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14184 ;;
14185 esac
14186 ;;
14187
14188 *)
14189 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14190 ;;
14191 esac
14192 dynamic_linker='Win32 ld.exe'
14193 # FIXME: first we should search . and the directory the executable is in
14194 shlibpath_var=PATH
14195 ;;
14196
14197 darwin* | rhapsody*)
14198 dynamic_linker="$host_os dyld"
14199 version_type=darwin
14200 need_lib_prefix=no
14201 need_version=no
14202 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14203 soname_spec='${libname}${release}${major}$shared_ext'
14204 shlibpath_overrides_runpath=yes
14205 shlibpath_var=DYLD_LIBRARY_PATH
14206 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14207
14208 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14209 ;;
14210
14211 dgux*)
14212 version_type=linux
14213 need_lib_prefix=no
14214 need_version=no
14215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14216 soname_spec='${libname}${release}${shared_ext}$major'
14217 shlibpath_var=LD_LIBRARY_PATH
14218 ;;
14219
14220 freebsd1*)
14221 dynamic_linker=no
14222 ;;
14223
14224 freebsd* | dragonfly*)
14225 # DragonFly does not have aout. When/if they implement a new
14226 # versioning mechanism, adjust this.
14227 if test -x /usr/bin/objformat; then
14228 objformat=`/usr/bin/objformat`
14229 else
14230 case $host_os in
14231 freebsd[123]*) objformat=aout ;;
14232 *) objformat=elf ;;
14233 esac
14234 fi
14235 version_type=freebsd-$objformat
14236 case $version_type in
14237 freebsd-elf*)
14238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14239 need_version=no
14240 need_lib_prefix=no
14241 ;;
14242 freebsd-*)
14243 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14244 need_version=yes
14245 ;;
14246 esac
14247 shlibpath_var=LD_LIBRARY_PATH
14248 case $host_os in
14249 freebsd2*)
14250 shlibpath_overrides_runpath=yes
14251 ;;
14252 freebsd3.[01]* | freebsdelf3.[01]*)
14253 shlibpath_overrides_runpath=yes
14254 hardcode_into_libs=yes
14255 ;;
14256 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14257 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14258 shlibpath_overrides_runpath=no
14259 hardcode_into_libs=yes
14260 ;;
14261 *) # from 4.6 on, and DragonFly
14262 shlibpath_overrides_runpath=yes
14263 hardcode_into_libs=yes
14264 ;;
14265 esac
14266 ;;
14267
14268 gnu*)
14269 version_type=linux
14270 need_lib_prefix=no
14271 need_version=no
14272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14273 soname_spec='${libname}${release}${shared_ext}$major'
14274 shlibpath_var=LD_LIBRARY_PATH
14275 hardcode_into_libs=yes
14276 ;;
14277
14278 hpux9* | hpux10* | hpux11*)
14279 # Give a soname corresponding to the major version so that dld.sl refuses to
14280 # link against other versions.
14281 version_type=sunos
14282 need_lib_prefix=no
14283 need_version=no
14284 case $host_cpu in
14285 ia64*)
14286 shrext_cmds='.so'
14287 hardcode_into_libs=yes
14288 dynamic_linker="$host_os dld.so"
14289 shlibpath_var=LD_LIBRARY_PATH
14290 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14292 soname_spec='${libname}${release}${shared_ext}$major'
14293 if test "X$HPUX_IA64_MODE" = X32; then
14294 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14295 else
14296 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14297 fi
14298 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14299 ;;
14300 hppa*64*)
14301 shrext_cmds='.sl'
14302 hardcode_into_libs=yes
14303 dynamic_linker="$host_os dld.sl"
14304 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14305 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14307 soname_spec='${libname}${release}${shared_ext}$major'
14308 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14309 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14310 ;;
14311 *)
14312 shrext_cmds='.sl'
14313 dynamic_linker="$host_os dld.sl"
14314 shlibpath_var=SHLIB_PATH
14315 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14317 soname_spec='${libname}${release}${shared_ext}$major'
14318 ;;
14319 esac
14320 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14321 postinstall_cmds='chmod 555 $lib'
14322 ;;
14323
14324 interix[3-9]*)
14325 version_type=linux
14326 need_lib_prefix=no
14327 need_version=no
14328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14329 soname_spec='${libname}${release}${shared_ext}$major'
14330 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14331 shlibpath_var=LD_LIBRARY_PATH
14332 shlibpath_overrides_runpath=no
14333 hardcode_into_libs=yes
14334 ;;
14335
14336 irix5* | irix6* | nonstopux*)
14337 case $host_os in
14338 nonstopux*) version_type=nonstopux ;;
14339 *)
14340 if test "$lt_cv_prog_gnu_ld" = yes; then
14341 version_type=linux
14342 else
14343 version_type=irix
14344 fi ;;
14345 esac
14346 need_lib_prefix=no
14347 need_version=no
14348 soname_spec='${libname}${release}${shared_ext}$major'
14349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14350 case $host_os in
14351 irix5* | nonstopux*)
14352 libsuff= shlibsuff=
14353 ;;
14354 *)
14355 case $LD in # libtool.m4 will add one of these switches to LD
14356 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14357 libsuff= shlibsuff= libmagic=32-bit;;
14358 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14359 libsuff=32 shlibsuff=N32 libmagic=N32;;
14360 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14361 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14362 *) libsuff= shlibsuff= libmagic=never-match;;
14363 esac
14364 ;;
14365 esac
14366 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14367 shlibpath_overrides_runpath=no
14368 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14369 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14370 hardcode_into_libs=yes
14371 ;;
14372
14373 # No shared lib support for Linux oldld, aout, or coff.
14374 linux*oldld* | linux*aout* | linux*coff*)
14375 dynamic_linker=no
14376 ;;
14377
14378 # This must be Linux ELF.
14379 linux* | k*bsd*-gnu)
14380 version_type=linux
14381 need_lib_prefix=no
14382 need_version=no
14383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14384 soname_spec='${libname}${release}${shared_ext}$major'
14385 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14386 shlibpath_var=LD_LIBRARY_PATH
14387 shlibpath_overrides_runpath=no
14388 # Some binutils ld are patched to set DT_RUNPATH
14389 save_LDFLAGS=$LDFLAGS
14390 save_libdir=$libdir
14391 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14392 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14395
14396 int
14397 main ()
14398 {
14399
14400 ;
14401 return 0;
14402 }
14403 _ACEOF
14404 if ac_fn_cxx_try_link "$LINENO"; then :
14405 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14406 shlibpath_overrides_runpath=yes
14407 fi
14408 fi
14409 rm -f core conftest.err conftest.$ac_objext \
14410 conftest$ac_exeext conftest.$ac_ext
14411 LDFLAGS=$save_LDFLAGS
14412 libdir=$save_libdir
14413
14414 # This implies no fast_install, which is unacceptable.
14415 # Some rework will be needed to allow for fast_install
14416 # before this can be enabled.
14417 hardcode_into_libs=yes
14418
14419 # Add ABI-specific directories to the system library path.
14420 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
14421
14422 # Append ld.so.conf contents to the search path
14423 if test -f /etc/ld.so.conf; then
14424 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14425 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14426 fi
14427
14428 # We used to test for /lib/ld.so.1 and disable shared libraries on
14429 # powerpc, because MkLinux only supported shared libraries with the
14430 # GNU dynamic linker. Since this was broken with cross compilers,
14431 # most powerpc-linux boxes support dynamic linking these days and
14432 # people can always --disable-shared, the test was removed, and we
14433 # assume the GNU/Linux dynamic linker is in use.
14434 dynamic_linker='GNU/Linux ld.so'
14435 ;;
14436
14437 netbsd*)
14438 version_type=sunos
14439 need_lib_prefix=no
14440 need_version=no
14441 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14443 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14444 dynamic_linker='NetBSD (a.out) ld.so'
14445 else
14446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14447 soname_spec='${libname}${release}${shared_ext}$major'
14448 dynamic_linker='NetBSD ld.elf_so'
14449 fi
14450 shlibpath_var=LD_LIBRARY_PATH
14451 shlibpath_overrides_runpath=yes
14452 hardcode_into_libs=yes
14453 ;;
14454
14455 newsos6)
14456 version_type=linux
14457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14458 shlibpath_var=LD_LIBRARY_PATH
14459 shlibpath_overrides_runpath=yes
14460 ;;
14461
14462 *nto* | *qnx*)
14463 version_type=qnx
14464 need_lib_prefix=no
14465 need_version=no
14466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14467 soname_spec='${libname}${release}${shared_ext}$major'
14468 shlibpath_var=LD_LIBRARY_PATH
14469 shlibpath_overrides_runpath=no
14470 hardcode_into_libs=yes
14471 dynamic_linker='ldqnx.so'
14472 ;;
14473
14474 openbsd*)
14475 version_type=sunos
14476 sys_lib_dlsearch_path_spec="/usr/lib"
14477 need_lib_prefix=no
14478 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14479 case $host_os in
14480 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14481 *) need_version=no ;;
14482 esac
14483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14484 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14485 shlibpath_var=LD_LIBRARY_PATH
14486 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14487 case $host_os in
14488 openbsd2.[89] | openbsd2.[89].*)
14489 shlibpath_overrides_runpath=no
14490 ;;
14491 *)
14492 shlibpath_overrides_runpath=yes
14493 ;;
14494 esac
14495 else
14496 shlibpath_overrides_runpath=yes
14497 fi
14498 ;;
14499
14500 os2*)
14501 libname_spec='$name'
14502 shrext_cmds=".dll"
14503 need_lib_prefix=no
14504 library_names_spec='$libname${shared_ext} $libname.a'
14505 dynamic_linker='OS/2 ld.exe'
14506 shlibpath_var=LIBPATH
14507 ;;
14508
14509 osf3* | osf4* | osf5*)
14510 version_type=osf
14511 need_lib_prefix=no
14512 need_version=no
14513 soname_spec='${libname}${release}${shared_ext}$major'
14514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14515 shlibpath_var=LD_LIBRARY_PATH
14516 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14517 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14518 ;;
14519
14520 rdos*)
14521 dynamic_linker=no
14522 ;;
14523
14524 solaris*)
14525 version_type=linux
14526 need_lib_prefix=no
14527 need_version=no
14528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14529 soname_spec='${libname}${release}${shared_ext}$major'
14530 shlibpath_var=LD_LIBRARY_PATH
14531 shlibpath_overrides_runpath=yes
14532 hardcode_into_libs=yes
14533 # ldd complains unless libraries are executable
14534 postinstall_cmds='chmod +x $lib'
14535 ;;
14536
14537 sunos4*)
14538 version_type=sunos
14539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14540 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14541 shlibpath_var=LD_LIBRARY_PATH
14542 shlibpath_overrides_runpath=yes
14543 if test "$with_gnu_ld" = yes; then
14544 need_lib_prefix=no
14545 fi
14546 need_version=yes
14547 ;;
14548
14549 sysv4 | sysv4.3*)
14550 version_type=linux
14551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14552 soname_spec='${libname}${release}${shared_ext}$major'
14553 shlibpath_var=LD_LIBRARY_PATH
14554 case $host_vendor in
14555 sni)
14556 shlibpath_overrides_runpath=no
14557 need_lib_prefix=no
14558 runpath_var=LD_RUN_PATH
14559 ;;
14560 siemens)
14561 need_lib_prefix=no
14562 ;;
14563 motorola)
14564 need_lib_prefix=no
14565 need_version=no
14566 shlibpath_overrides_runpath=no
14567 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14568 ;;
14569 esac
14570 ;;
14571
14572 sysv4*MP*)
14573 if test -d /usr/nec ;then
14574 version_type=linux
14575 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14576 soname_spec='$libname${shared_ext}.$major'
14577 shlibpath_var=LD_LIBRARY_PATH
14578 fi
14579 ;;
14580
14581 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14582 version_type=freebsd-elf
14583 need_lib_prefix=no
14584 need_version=no
14585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14586 soname_spec='${libname}${release}${shared_ext}$major'
14587 shlibpath_var=LD_LIBRARY_PATH
14588 shlibpath_overrides_runpath=yes
14589 hardcode_into_libs=yes
14590 if test "$with_gnu_ld" = yes; then
14591 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14592 else
14593 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14594 case $host_os in
14595 sco3.2v5*)
14596 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14597 ;;
14598 esac
14599 fi
14600 sys_lib_dlsearch_path_spec='/usr/lib'
14601 ;;
14602
14603 tpf*)
14604 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14605 version_type=linux
14606 need_lib_prefix=no
14607 need_version=no
14608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14609 shlibpath_var=LD_LIBRARY_PATH
14610 shlibpath_overrides_runpath=no
14611 hardcode_into_libs=yes
14612 ;;
14613
14614 uts4*)
14615 version_type=linux
14616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14617 soname_spec='${libname}${release}${shared_ext}$major'
14618 shlibpath_var=LD_LIBRARY_PATH
14619 ;;
14620
14621 *)
14622 dynamic_linker=no
14623 ;;
14624 esac
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14626 $as_echo "$dynamic_linker" >&6; }
14627 test "$dynamic_linker" = no && can_build_shared=no
14628
14629 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14630 if test "$GCC" = yes; then
14631 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14632 fi
14633
14634 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14635 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14636 fi
14637 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14638 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14639 fi
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14677 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14678 hardcode_action_CXX=
14679 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14680 test -n "$runpath_var_CXX" ||
14681 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14682
14683 # We can hardcode non-existent directories.
14684 if test "$hardcode_direct_CXX" != no &&
14685 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14686 # have to relink, otherwise we might link with an installed library
14687 # when we should be linking with a yet-to-be-installed one
14688 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14689 test "$hardcode_minus_L_CXX" != no; then
14690 # Linking always hardcodes the temporary library directory.
14691 hardcode_action_CXX=relink
14692 else
14693 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14694 hardcode_action_CXX=immediate
14695 fi
14696 else
14697 # We cannot hardcode anything, or else we can only hardcode existing
14698 # directories.
14699 hardcode_action_CXX=unsupported
14700 fi
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14702 $as_echo "$hardcode_action_CXX" >&6; }
14703
14704 if test "$hardcode_action_CXX" = relink ||
14705 test "$inherit_rpath_CXX" = yes; then
14706 # Fast installation is not supported
14707 enable_fast_install=no
14708 elif test "$shlibpath_overrides_runpath" = yes ||
14709 test "$enable_shared" = no; then
14710 # Fast installation is not necessary
14711 enable_fast_install=needless
14712 fi
14713
14714
14715
14716
14717
14718
14719
14720 fi # test -n "$compiler"
14721
14722 CC=$lt_save_CC
14723 LDCXX=$LD
14724 LD=$lt_save_LD
14725 GCC=$lt_save_GCC
14726 with_gnu_ld=$lt_save_with_gnu_ld
14727 lt_cv_path_LDCXX=$lt_cv_path_LD
14728 lt_cv_path_LD=$lt_save_path_LD
14729 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14730 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14731 fi # test "$_lt_caught_CXX_error" != yes
14732
14733 ac_ext=cpp
14734 ac_cpp='$CXXCPP $CPPFLAGS'
14735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751 ac_config_commands="$ac_config_commands libtool"
14752
14753
14754
14755
14756 # Only expand once:
14757
14758
14759
14760 @%:@ Check whether --enable-libcheck was given.
14761 if test "${enable_libcheck+set}" = set; then :
14762 enableval=$enable_libcheck; case "${enableval}" in
14763 yes) libcheck=true ;;
14764 no) libcheck=false ;;
14765 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;;
14766 esac
14767 else
14768 libcheck=true
14769 fi
14770
14771
14772
14773 # --- BEGIN MLX_LANG_TCL ---
14774
14775 if test "x$libcheck" = "xtrue"; then
14776
14777
14778 @%:@ Check whether --with-tclconfig was given.
14779 if test "${with_tclconfig+set}" = set; then :
14780 withval=$with_tclconfig; TclLibBase=`echo ${withval} | sed s/tclConfig.sh\$//`
14781 fi
14782
14783
14784 @%:@ Check whether --with-tcl was given.
14785 if test "${with_tcl+set}" = set; then :
14786 withval=$with_tcl; TclLibBase="${withval}/lib"
14787 fi
14788
14789
14790 @%:@ Check whether --with-tclsh was given.
14791 if test "${with_tclsh+set}" = set; then :
14792 withval=$with_tclsh; TCLSH="${withval}"
14793 fi
14794
14795
14796 if test "x$TCLSH" = "xno" -o "x$with_tclconfig" = "xno" ; then
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&5
14798 $as_echo "$as_me: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&2;}
14799 with_tcl=no
14800 fi
14801
14802 if test "x$with_tcl" != xno; then
14803 if test \! -z "$with_tclconfig" -a \! -d "$with_tclconfig" ; then
14804 as_fn_error $? "--with-tclconfig requires a directory argument." "$LINENO" 5
14805 fi
14806
14807 if test \! -z "$TCLSH" -a \! -x "$TCLSH" ; then
14808 as_fn_error $? "--with-tclsh must specify an executable file." "$LINENO" 5
14809 fi
14810
14811 if test X"$TclLibBase" = X; then # do we already know?
14812 # No? Run tclsh and ask it where it lives.
14813
14814 # Do we know where a tclsh lives?
14815 if test X"$TCLSH" = X; then
14816 # Try and find tclsh. Any tclsh.
14817 # If a new version of tcl comes out and unfortunately adds another
14818 # filename, it should be safe to add it (to the front of the line --
14819 # somef vendors have older, badly installed tclshs that we want to avoid
14820 # if we can)
14821 for ac_prog in tclsh tclsh8.3 tclsh8.4
14822 do
14823 # Extract the first word of "$ac_prog", so it can be a program name with args.
14824 set dummy $ac_prog; ac_word=$2
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14826 $as_echo_n "checking for $ac_word... " >&6; }
14827 if ${ac_cv_path_TCLSH+:} false; then :
14828 $as_echo_n "(cached) " >&6
14829 else
14830 case $TCLSH in
14831 [\\/]* | ?:[\\/]*)
14832 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
14833 ;;
14834 *)
14835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14836 for as_dir in $PATH
14837 do
14838 IFS=$as_save_IFS
14839 test -z "$as_dir" && as_dir=.
14840 for ac_exec_ext in '' $ac_executable_extensions; do
14841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14842 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
14843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14844 break 2
14845 fi
14846 done
14847 done
14848 IFS=$as_save_IFS
14849
14850 ;;
14851 esac
14852 fi
14853 TCLSH=$ac_cv_path_TCLSH
14854 if test -n "$TCLSH"; then
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
14856 $as_echo "$TCLSH" >&6; }
14857 else
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14859 $as_echo "no" >&6; }
14860 fi
14861
14862
14863 test -n "$TCLSH" && break
14864 done
14865 test -n "$TCLSH" || TCLSH=""unknown""
14866
14867 fi
14868
14869 # Do we know where to get a tclsh?
14870 if test "X${TCLSH}" != "Xunknown"; then
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl says it lives" >&5
14872 $as_echo_n "checking where Tcl says it lives... " >&6; }
14873 echo "puts \$tcl_library" > /tmp/tcl.conf.$$
14874 TclLibBase=`${TCLSH} /tmp/tcl.conf.$$ | sed -e 's,^/*$,,'`
14875 rm /tmp/tcl.conf.$$
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TclLibBase" >&5
14877 $as_echo "$TclLibBase" >&6; }
14878 fi
14879 fi
14880
14881 if test -z "$TclLibBase" ; then
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find tclsh" >&5
14883 $as_echo "can't find tclsh" >&6; }
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl installtion; use of Tcl disabled." >&5
14885 $as_echo "$as_me: WARNING: can't find Tcl installtion; use of Tcl disabled." >&2;}
14886 with_tcl=no
14887 else
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5
14889 $as_echo_n "checking for tclConfig.sh... " >&6; }
14890 # Check a list of places where the tclConfig.sh file might be.
14891 # Note we prefer the 64 bit version if exists
14892 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}"
14893 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}/.."
14894 tclCondifSearchPath="$tclCondifSearchPath `echo ${TCLSH} | sed s/sh//`"
14895 tclCondifSearchPath="$tclCondifSearchPath /usr/lib64"
14896 tclCondifSearchPath="$tclCondifSearchPath /usr/lib"
14897 tclCondifSearchPath="$tclCondifSearchPath /usr/local/lib"
14898 for tcldir in $tclCondifSearchPath; do
14899 if test -f "${tcldir}/tclConfig.sh"; then
14900 TclLibBase="${tcldir}"
14901 break
14902 fi
14903 done
14904
14905 if test -z "${TclLibBase}" ; then
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"unknown\"" >&5
14907 $as_echo "\"unknown\"" >&6; }
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl configuration; use of Tcl disabled." >&5
14909 $as_echo "$as_me: WARNING: can't find Tcl configuration; use of Tcl disabled." >&2;}
14910 with_tcl=no
14911 else
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TclLibBase}/" >&5
14913 $as_echo "${TclLibBase}/" >&6; }
14914 fi
14915
14916 if test "X${with_tcl}" != Xno ; then
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl configuration on what Tcl needs to compile" >&5
14918 $as_echo_n "checking Tcl configuration on what Tcl needs to compile... " >&6; }
14919 . ${TclLibBase}/tclConfig.sh
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
14921 $as_echo "ok" >&6; }
14922 fi
14923
14924 if test -d /usr/lib64 ; then
14925 TCL_LIB_SPEC=`echo ${TCL_LIB_SPEC} | sed 's=/usr/lib =/usr/lib64 =g'`
14926 fi
14927
14928 if test "X${with_tcl}" != Xno ; then
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl includes are" >&5
14930 $as_echo_n "checking where Tcl includes are... " >&6; }
14931 for tclinclude in "${TCL_PREFIX}/include/tcl${TCL_VERSION}" \
14932 "${TCL_PREFIX}/include/tcl" \
14933 "${TCL_PREFIX}/include" ; do
14934 if test -r "${tclinclude}/tcl.h" ; then
14935 TCL_CPPFLAGS="-I${tclinclude}"
14936 break
14937 fi
14938 done
14939 if test X"${TCL_CPPFLAGS}" = X ; then
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl includes; use of Tcl disabled." >&5
14941 $as_echo "$as_me: WARNING: can't find Tcl includes; use of Tcl disabled." >&2;}
14942 with_tcl=no
14943 fi
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCL_CPPFLAGS}" >&5
14945 $as_echo "${TCL_CPPFLAGS}" >&6; }
14946 fi
14947
14948 # Finally, pick up the Tcl configuration if we haven't found an
14949 # excuse not to.
14950 if test "X${with_tcl}" != Xno; then
14951 TCL_SEARCH=`echo ${TCL_LD_SEARCH_FLAGS} | sed 's/-Wl,-rpath,/-rpath/'`
14952
14953 if test X"$TCL_LIBS" = X; then
14954 TCL_LIBS=`echo ${TCL_LIB_FILE} | sed 's/lib\([^ \t]*\)\.\(so\|a\)/-l\1/'`
14955 fi
14956
14957 if test X"$TCL_LIB_SPEC" = X; then
14958 TCL_LIB_SPEC='-L/usr/lib'
14959 fi
14960
14961 TCL_LIBS1="${TCL_LIB_SPEC} ${TCL_LIBS}"
14962 TCL_LIBS=`echo ${TCL_LIBS1} | sed 's/-lieee//'`
14963 fi
14964 fi
14965 fi
14966 else
14967 TCL_DEFS=disabled
14968 TCL_LIBS=disabled
14969 TCL_CPPFLAGS=disabled
14970 TCL_PREFIX=disabled
14971 fi
14972
14973
14974
14975
14976
14977
14978 # --- END MLX_LANG_TCL ---
14979
14980
14981
14982
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14984 $as_echo_n "checking for ANSI C header files... " >&6; }
14985 if ${ac_cv_header_stdc+:} false; then :
14986 $as_echo_n "(cached) " >&6
14987 else
14988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14989 /* end confdefs.h. */
14990 #include <stdlib.h>
14991 #include <stdarg.h>
14992 #include <string.h>
14993 #include <float.h>
14994
14995 int
14996 main ()
14997 {
14998
14999 ;
15000 return 0;
15001 }
15002 _ACEOF
15003 if ac_fn_cxx_try_compile "$LINENO"; then :
15004 ac_cv_header_stdc=yes
15005 else
15006 ac_cv_header_stdc=no
15007 fi
15008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15009
15010 if test $ac_cv_header_stdc = yes; then
15011 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15014 #include <string.h>
15015
15016 _ACEOF
15017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15018 $EGREP "memchr" >/dev/null 2>&1; then :
15019
15020 else
15021 ac_cv_header_stdc=no
15022 fi
15023 rm -f conftest*
15024
15025 fi
15026
15027 if test $ac_cv_header_stdc = yes; then
15028 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15031 #include <stdlib.h>
15032
15033 _ACEOF
15034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15035 $EGREP "free" >/dev/null 2>&1; then :
15036
15037 else
15038 ac_cv_header_stdc=no
15039 fi
15040 rm -f conftest*
15041
15042 fi
15043
15044 if test $ac_cv_header_stdc = yes; then
15045 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15046 if test "$cross_compiling" = yes; then :
15047 :
15048 else
15049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15050 /* end confdefs.h. */
15051 #include <ctype.h>
15052 #include <stdlib.h>
15053 #if ((' ' & 0x0FF) == 0x020)
15054 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15055 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15056 #else
15057 # define ISLOWER(c) \
15058 (('a' <= (c) && (c) <= 'i') \
15059 || ('j' <= (c) && (c) <= 'r') \
15060 || ('s' <= (c) && (c) <= 'z'))
15061 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15062 #endif
15063
15064 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15065 int
15066 main ()
15067 {
15068 int i;
15069 for (i = 0; i < 256; i++)
15070 if (XOR (islower (i), ISLOWER (i))
15071 || toupper (i) != TOUPPER (i))
15072 return 2;
15073 return 0;
15074 }
15075 _ACEOF
15076 if ac_fn_cxx_try_run "$LINENO"; then :
15077
15078 else
15079 ac_cv_header_stdc=no
15080 fi
15081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15082 conftest.$ac_objext conftest.beam conftest.$ac_ext
15083 fi
15084
15085 fi
15086 fi
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15088 $as_echo "$ac_cv_header_stdc" >&6; }
15089 if test $ac_cv_header_stdc = yes; then
15090
15091 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
15092
15093 fi
15094
15095 for ac_header in inttypes.h stdlib.h string.h
15096 do :
15097 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15098 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15099 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15100 cat >>confdefs.h <<_ACEOF
15101 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15102 _ACEOF
15103
15104 fi
15105
15106 done
15107
15108
15109
15110 ac_ext=cpp
15111 ac_cpp='$CXXCPP $CPPFLAGS'
15112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15115
15116 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15117 if test "x$ac_cv_type_size_t" = xyes; then :
15118
15119 else
15120
15121 cat >>confdefs.h <<_ACEOF
15122 @%:@define size_t unsigned int
15123 _ACEOF
15124
15125 fi
15126
15127
15128 for ac_func in strchr strstr strtol strtoull regcomp regexec
15129 do :
15130 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15131 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15132 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15133 cat >>confdefs.h <<_ACEOF
15134 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15135 _ACEOF
15136
15137 fi
15138 done
15139
15140
15141 @%:@ Check whether --enable-debug was given.
15142 if test "${enable_debug+set}" = set; then :
15143 enableval=$enable_debug; case "${enableval}" in
15144 yes) debug=true ;;
15145 no) debug=false ;;
15146 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
15147 esac
15148 else
15149 debug=false
15150 fi
15151
15152 if test x$debug = xtrue; then
15153 DEBUG_TRUE=
15154 DEBUG_FALSE='#'
15155 else
15156 DEBUG_TRUE='#'
15157 DEBUG_FALSE=
15158 fi
15159
15160
15161
15162 # --- BEGIN OPENIB_APP_IBDM ---
15163
15164
15165 @%:@ Check whether --with-ibdm was given.
15166 if test "${with_ibdm+set}" = set; then :
15167 withval=$with_ibdm; { $as_echo "$as_me:${as_lineno-$LINENO}: Using IBDM from:$with_ibdm" >&5
15168 $as_echo "$as_me: Using IBDM from:$with_ibdm" >&6;}
15169 else
15170 with_ibdm="none"
15171 fi
15172
15173
15174 if test "x$with_ibdm" = xnone; then
15175 if test -d /usr/include/ibdm; then
15176 with_ibdm=/usr
15177 elif test -d `pwd`/ibdm; then
15178 with_ibdm=`pwd`/ibdm
15179 elif test -d `pwd`/../ibdm; then
15180 with_ibdm=`pwd`/../ibdm
15181 else
15182 as_fn_error $? "--with-ibdm must be provided - failed to find standard IBDM installation" "$LINENO" 5
15183 fi
15184 fi
15185
15186 if test -f $with_ibdm/include/ibdm/Fabric.h; then
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: IBDM was installed in $with_ibdm" >&5
15188 $as_echo "$as_me: IBDM was installed in $with_ibdm" >&6;}
15189 ibdm_ref_is_used=0
15190 elif test -f $with_ibdm/ibdm/Fabric.h; then
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: IBDM building from sources: $with_ibdm" >&5
15192 $as_echo "$as_me: IBDM building from sources: $with_ibdm" >&6;}
15193 if test ! -d ../ibdm; then
15194 as_fn_error $? "IBDM sources provided - but ibdm was not built in ../ibdm" "$LINENO" 5
15195 fi
15196 ln -s $with_ibdm/ibdm src/ibdm
15197 ibdm_ref_is_used=1
15198 else
15199 as_fn_error $? " IBDM Fabric.h not found under $with_ibdm/include/ibdm/" "$LINENO" 5
15200 fi
15201
15202 if test $ibdm_ref_is_used = 1; then
15203 IBDM_REF_IS_USED_TRUE=
15204 IBDM_REF_IS_USED_FALSE='#'
15205 else
15206 IBDM_REF_IS_USED_TRUE='#'
15207 IBDM_REF_IS_USED_FALSE=
15208 fi
15209
15210
15211
15212
15213 # --- OPENIB_APP_IBDM ---
15214
15215
15216
15217 # --- BEGIN OPENIB_APP_OSM ---
15218
15219
15220 @%:@ Check whether --with-osm was given.
15221 if test "${with_osm+set}" = set; then :
15222 withval=$with_osm; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM from:$with_osm" >&5
15223 $as_echo "$as_me: Using OSM from:$with_osm" >&6;}
15224 else
15225 with_osm="none"
15226 fi
15227
15228
15229
15230 @%:@ Check whether --with-osm-libs was given.
15231 if test "${with_osm_libs+set}" = set; then :
15232 withval=$with_osm_libs; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM libs from:$with_osm_libs" >&5
15233 $as_echo "$as_me: Using OSM libs from:$with_osm_libs" >&6;}
15234 else
15235 with_osm_libs="none"
15236 fi
15237
15238
15239 osm_lib_dir="none"
15240
15241 if test "x$libcheck" = "xtrue"; then
15242 if test "x$with_osm" = xnone; then
15243 if test -d /usr/local/ibgd/apps/osm; then
15244 with_osm=/usr/local/ibgd/apps/osm
15245 elif test -d /usr/mellanox/osm; then
15246 with_osm=/usr/mellanox
15247 elif test -f /etc/infiniband/info; then
15248 ofed_dir=`/etc/infiniband/info | grep prefix | cut -d = -f 2`
15249 if (test -f $ofed_dir/lib/libopensm.so ||
15250 test -f $ofed_dir/lib64/libopensm.so); then
15251 with_osm=$ofed_dir
15252 fi
15253 elif (test -f /usr/local/lib64/libopensm.so ||
15254 test -f /usr/local/lib/libopensm.so); then
15255 with_osm=/usr/local
15256 elif (test -f /usr/lib64/libopensm.so ||
15257 test -f /usr/lib/libopensm.so); then
15258 with_osm=/usr
15259 else
15260 as_fn_error $? "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
15261 fi
15262 fi
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5
15264 $as_echo "$as_me: OSM: used from $with_osm" >&6;}
15265
15266 if test "x$with_osm_libs" = "xnone"; then
15267 if (test -f $with_osm/lib64/libosmvendor_gen1.so ||
15268 test -f $with_osm/lib64/libosmvendor_vapi.so ||
15269 test -f $with_osm/lib64/libopensm.so ||
15270 test -f $with_osm/lib64/libosmvendor_sim.so); then
15271 osm_lib_dir=lib64
15272 else
15273 osm_lib_dir=lib
15274 fi
15275 fi
15276 with_osm_libs=$with_osm/$osm_lib_dir
15277
15278 if test -d $with_osm/include/infiniband; then
15279 OSM_BUILD=openib
15280 else
15281 OSM_BUILD=gen1
15282 fi
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: build type $OSM_BUILD" >&5
15284 $as_echo "$as_me: OSM: build type $OSM_BUILD" >&6;}
15285
15286 OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
15287 if test $OSM_BUILD = openib; then
15288 osm_include_dir="$with_osm/include/infiniband"
15289 osm_extra_includes="-I$with_osm/include"
15290
15291 if test -L $with_osm_libs/libosmvendor_gen1.so; then
15292 OSM_VENDOR=ts
15293 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
15294 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp"
15295 elif test -L $with_osm_libs/libosmvendor_vapi.so; then
15296 OSM_VENDOR=mtl
15297 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
15298 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -lvapi -lib_mgt"
15299 elif test -L $with_osm_libs/libosmvendor_sim.so; then
15300 OSM_VENDOR=sim
15301 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
15302 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -libmscli -losmcomp"
15303 elif test -L $with_osm_libs/libopensm.so; then
15304 OSM_VENDOR=openib
15305 osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
15306 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
15307 else
15308 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
15309 fi
15310 osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
15311 else
15312 # we are in gen1 build
15313 osm_include_dir="$with_osm/include"
15314
15315 if test -L $with_osm_libs/libosmsvc_ts.so; then
15316 OSM_VENDOR=ts
15317 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_ts -lcomplib"
15318 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
15319 elif test -L $with_osm_libs/libosmsvc_mtl.so; then
15320 OSM_VENDOR=mtl
15321 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_mtl -lcomplib -lvapi -lib_mgt"
15322 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
15323 elif test -L $with_osm_libs/libosmsvc_sim.so; then
15324 OSM_VENDOR=sim
15325 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
15326 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
15327 else
15328 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
15329 fi
15330 fi
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5
15332 $as_echo "$as_me: OSM: vendor type $OSM_VENDOR" >&6;}
15333
15334
15335 as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh`
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5
15337 $as_echo_n "checking for $osm_include_dir/opensm/osm_config.h... " >&6; }
15338 if eval \${$as_ac_File+:} false; then :
15339 $as_echo_n "(cached) " >&6
15340 else
15341 test "$cross_compiling" = yes &&
15342 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
15343 if test -r "$osm_include_dir/opensm/osm_config.h"; then
15344 eval "$as_ac_File=yes"
15345 else
15346 eval "$as_ac_File=no"
15347 fi
15348 fi
15349 eval ac_res=\$$as_ac_File
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15351 $as_echo "$ac_res" >&6; }
15352 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
15353
15354 else
15355 as_fn_error $? "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
15356 fi
15357
15358
15359 grep '#define OSM_DEBUG 1' $osm_include_dir/opensm/osm_config.h > /dev/null
15360 if test $? -eq 0 ; then
15361 osm_debug_flags='-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG'
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: compiled in DEBUG mode" >&5
15363 $as_echo "$as_me: OSM: compiled in DEBUG mode" >&6;}
15364 else
15365 osm_debug_flags=
15366 fi
15367
15368 OSM_CFLAGS="-I$osm_include_dir $osm_extra_includes $osm_debug_flags $osm_vendor_sel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1"
15369 else
15370 with_osm=disabled
15371 OSM_CLFAGS=disabled
15372 OSM_LDFLAGS=disabled
15373 OSM_VEDNOR=disabled
15374 OSM_BUILD=disabled
15375 fi
15376
15377 if test "x$OSM_VENDOR" = xts; then
15378 OSM_VENDOR_TS_TRUE=
15379 OSM_VENDOR_TS_FALSE='#'
15380 else
15381 OSM_VENDOR_TS_TRUE='#'
15382 OSM_VENDOR_TS_FALSE=
15383 fi
15384
15385 if test "x$OSM_VENDOR" = xmtl; then
15386 OSM_VENDOR_MTL_TRUE=
15387 OSM_VENDOR_MTL_FALSE='#'
15388 else
15389 OSM_VENDOR_MTL_TRUE='#'
15390 OSM_VENDOR_MTL_FALSE=
15391 fi
15392
15393 if test "x$OSM_VENDOR" = xsim; then
15394 OSM_VENDOR_SIM_TRUE=
15395 OSM_VENDOR_SIM_FALSE='#'
15396 else
15397 OSM_VENDOR_SIM_TRUE='#'
15398 OSM_VENDOR_SIM_FALSE=
15399 fi
15400
15401 if test "x$OSM_BUILD" = xopenib; then
15402 OSM_BUILD_OPENIB_TRUE=
15403 OSM_BUILD_OPENIB_FALSE='#'
15404 else
15405 OSM_BUILD_OPENIB_TRUE='#'
15406 OSM_BUILD_OPENIB_FALSE=
15407 fi
15408
15409
15410
15411
15412
15413
15414
15415
15416 # --- OPENIB_APP_OSM ---
15417
15418
15419 ac_config_files="$ac_config_files Makefile src/Makefile utils/Makefile tests/Makefile doc/Makefile"
15420
15421 cat >confcache <<\_ACEOF
15422 # This file is a shell script that caches the results of configure
15423 # tests run on this system so they can be shared between configure
15424 # scripts and configure runs, see configure's option --config-cache.
15425 # It is not useful on other systems. If it contains results you don't
15426 # want to keep, you may remove or edit it.
15427 #
15428 # config.status only pays attention to the cache file if you give it
15429 # the --recheck option to rerun configure.
15430 #
15431 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15432 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15433 # following values.
15434
15435 _ACEOF
15436
15437 # The following way of writing the cache mishandles newlines in values,
15438 # but we know of no workaround that is simple, portable, and efficient.
15439 # So, we kill variables containing newlines.
15440 # Ultrix sh set writes to stderr and can't be redirected directly,
15441 # and sets the high bit in the cache file unless we assign to the vars.
15442 (
15443 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15444 eval ac_val=\$$ac_var
15445 case $ac_val in #(
15446 *${as_nl}*)
15447 case $ac_var in #(
15448 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15449 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15450 esac
15451 case $ac_var in #(
15452 _ | IFS | as_nl) ;; #(
15453 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15454 *) { eval $ac_var=; unset $ac_var;} ;;
15455 esac ;;
15456 esac
15457 done
15458
15459 (set) 2>&1 |
15460 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15461 *${as_nl}ac_space=\ *)
15462 # `set' does not quote correctly, so add quotes: double-quote
15463 # substitution turns \\\\ into \\, and sed turns \\ into \.
15464 sed -n \
15465 "s/'/'\\\\''/g;
15466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15467 ;; #(
15468 *)
15469 # `set' quotes correctly as required by POSIX, so do not add quotes.
15470 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15471 ;;
15472 esac |
15473 sort
15474 ) |
15475 sed '
15476 /^ac_cv_env_/b end
15477 t clear
15478 :clear
15479 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15480 t end
15481 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15482 :end' >>confcache
15483 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15484 if test -w "$cache_file"; then
15485 if test "x$cache_file" != "x/dev/null"; then
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15487 $as_echo "$as_me: updating cache $cache_file" >&6;}
15488 if test ! -f "$cache_file" || test -h "$cache_file"; then
15489 cat confcache >"$cache_file"
15490 else
15491 case $cache_file in #(
15492 */* | ?:*)
15493 mv -f confcache "$cache_file"$$ &&
15494 mv -f "$cache_file"$$ "$cache_file" ;; #(
15495 *)
15496 mv -f confcache "$cache_file" ;;
15497 esac
15498 fi
15499 fi
15500 else
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15502 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15503 fi
15504 fi
15505 rm -f confcache
15506
15507 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15508 # Let make expand exec_prefix.
15509 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15510
15511 DEFS=-DHAVE_CONFIG_H
15512
15513 ac_libobjs=
15514 ac_ltlibobjs=
15515 U=
15516 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15517 # 1. Remove the extension, and $U if already installed.
15518 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15519 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15520 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15521 # will be set to the directory where LIBOBJS objects are built.
15522 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15523 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15524 done
15525 LIB@&t@OBJS=$ac_libobjs
15526
15527 LTLIBOBJS=$ac_ltlibobjs
15528
15529
15530 if test -n "$EXEEXT"; then
15531 am__EXEEXT_TRUE=
15532 am__EXEEXT_FALSE='#'
15533 else
15534 am__EXEEXT_TRUE='#'
15535 am__EXEEXT_FALSE=
15536 fi
15537
15538 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15539 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15541 fi
15542 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15543 as_fn_error $? "conditional \"AMDEP\" was never defined.
15544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15545 fi
15546 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15547 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15549 fi
15550 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15551 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15553 fi
15554 if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15555 as_fn_error $? "conditional \"HAS_SWIG\" was never defined.
15556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15557 fi
15558 if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15559 as_fn_error $? "conditional \"HAS_SWIG\" was never defined.
15560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15561 fi
15562 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15563 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15565 fi
15566 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
15567 as_fn_error $? "conditional \"DEBUG\" was never defined.
15568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15569 fi
15570 if test -z "${IBDM_REF_IS_USED_TRUE}" && test -z "${IBDM_REF_IS_USED_FALSE}"; then
15571 as_fn_error $? "conditional \"IBDM_REF_IS_USED\" was never defined.
15572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15573 fi
15574 if test -z "${OSM_VENDOR_TS_TRUE}" && test -z "${OSM_VENDOR_TS_FALSE}"; then
15575 as_fn_error $? "conditional \"OSM_VENDOR_TS\" was never defined.
15576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15577 fi
15578 if test -z "${OSM_VENDOR_MTL_TRUE}" && test -z "${OSM_VENDOR_MTL_FALSE}"; then
15579 as_fn_error $? "conditional \"OSM_VENDOR_MTL\" was never defined.
15580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15581 fi
15582 if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then
15583 as_fn_error $? "conditional \"OSM_VENDOR_SIM\" was never defined.
15584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15585 fi
15586 if test -z "${OSM_BUILD_OPENIB_TRUE}" && test -z "${OSM_BUILD_OPENIB_FALSE}"; then
15587 as_fn_error $? "conditional \"OSM_BUILD_OPENIB\" was never defined.
15588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15589 fi
15590
15591 : "${CONFIG_STATUS=./config.status}"
15592 ac_write_fail=0
15593 ac_clean_files_save=$ac_clean_files
15594 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15596 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15597 as_write_fail=0
15598 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15599 #! $SHELL
15600 # Generated by $as_me.
15601 # Run this file to recreate the current configuration.
15602 # Compiler output produced by configure, useful for debugging
15603 # configure, is in config.log if it exists.
15604
15605 debug=false
15606 ac_cs_recheck=false
15607 ac_cs_silent=false
15608
15609 SHELL=\${CONFIG_SHELL-$SHELL}
15610 export SHELL
15611 _ASEOF
15612 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15613 ## -------------------- ##
15614 ## M4sh Initialization. ##
15615 ## -------------------- ##
15616
15617 # Be more Bourne compatible
15618 DUALCASE=1; export DUALCASE # for MKS sh
15619 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15620 emulate sh
15621 NULLCMD=:
15622 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15623 # is contrary to our usage. Disable this feature.
15624 alias -g '${1+"$@"}'='"$@"'
15625 setopt NO_GLOB_SUBST
15626 else
15627 case `(set -o) 2>/dev/null` in @%:@(
15628 *posix*) :
15629 set -o posix ;; @%:@(
15630 *) :
15631 ;;
15632 esac
15633 fi
15634
15635
15636 as_nl='
15637 '
15638 export as_nl
15639 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15640 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15641 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15643 # Prefer a ksh shell builtin over an external printf program on Solaris,
15644 # but without wasting forks for bash or zsh.
15645 if test -z "$BASH_VERSION$ZSH_VERSION" \
15646 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15647 as_echo='print -r --'
15648 as_echo_n='print -rn --'
15649 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15650 as_echo='printf %s\n'
15651 as_echo_n='printf %s'
15652 else
15653 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15654 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15655 as_echo_n='/usr/ucb/echo -n'
15656 else
15657 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15658 as_echo_n_body='eval
15659 arg=$1;
15660 case $arg in @%:@(
15661 *"$as_nl"*)
15662 expr "X$arg" : "X\\(.*\\)$as_nl";
15663 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15664 esac;
15665 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15666 '
15667 export as_echo_n_body
15668 as_echo_n='sh -c $as_echo_n_body as_echo'
15669 fi
15670 export as_echo_body
15671 as_echo='sh -c $as_echo_body as_echo'
15672 fi
15673
15674 # The user is always right.
15675 if test "${PATH_SEPARATOR+set}" != set; then
15676 PATH_SEPARATOR=:
15677 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15678 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15679 PATH_SEPARATOR=';'
15680 }
15681 fi
15682
15683
15684 # IFS
15685 # We need space, tab and new line, in precisely that order. Quoting is
15686 # there to prevent editors from complaining about space-tab.
15687 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15688 # splitting by setting IFS to empty value.)
15689 IFS=" "" $as_nl"
15690
15691 # Find who we are. Look in the path if we contain no directory separator.
15692 as_myself=
15693 case $0 in @%:@((
15694 *[\\/]* ) as_myself=$0 ;;
15695 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15696 for as_dir in $PATH
15697 do
15698 IFS=$as_save_IFS
15699 test -z "$as_dir" && as_dir=.
15700 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15701 done
15702 IFS=$as_save_IFS
15703
15704 ;;
15705 esac
15706 # We did not find ourselves, most probably we were run as `sh COMMAND'
15707 # in which case we are not to be found in the path.
15708 if test "x$as_myself" = x; then
15709 as_myself=$0
15710 fi
15711 if test ! -f "$as_myself"; then
15712 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15713 exit 1
15714 fi
15715
15716 # Unset variables that we do not need and which cause bugs (e.g. in
15717 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15718 # suppresses any "Segmentation fault" message there. '((' could
15719 # trigger a bug in pdksh 5.2.14.
15720 for as_var in BASH_ENV ENV MAIL MAILPATH
15721 do eval test x\${$as_var+set} = xset \
15722 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15723 done
15724 PS1='$ '
15725 PS2='> '
15726 PS4='+ '
15727
15728 # NLS nuisances.
15729 LC_ALL=C
15730 export LC_ALL
15731 LANGUAGE=C
15732 export LANGUAGE
15733
15734 # CDPATH.
15735 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15736
15737
15738 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15739 @%:@ ----------------------------------------
15740 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15741 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15742 @%:@ script with STATUS, using 1 if that was 0.
15743 as_fn_error ()
15744 {
15745 as_status=$1; test $as_status -eq 0 && as_status=1
15746 if test "$4"; then
15747 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15748 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15749 fi
15750 $as_echo "$as_me: error: $2" >&2
15751 as_fn_exit $as_status
15752 } @%:@ as_fn_error
15753
15754
15755 @%:@ as_fn_set_status STATUS
15756 @%:@ -----------------------
15757 @%:@ Set @S|@? to STATUS, without forking.
15758 as_fn_set_status ()
15759 {
15760 return $1
15761 } @%:@ as_fn_set_status
15762
15763 @%:@ as_fn_exit STATUS
15764 @%:@ -----------------
15765 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15766 as_fn_exit ()
15767 {
15768 set +e
15769 as_fn_set_status $1
15770 exit $1
15771 } @%:@ as_fn_exit
15772
15773 @%:@ as_fn_unset VAR
15774 @%:@ ---------------
15775 @%:@ Portably unset VAR.
15776 as_fn_unset ()
15777 {
15778 { eval $1=; unset $1;}
15779 }
15780 as_unset=as_fn_unset
15781 @%:@ as_fn_append VAR VALUE
15782 @%:@ ----------------------
15783 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15784 @%:@ advantage of any shell optimizations that allow amortized linear growth over
15785 @%:@ repeated appends, instead of the typical quadratic growth present in naive
15786 @%:@ implementations.
15787 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15788 eval 'as_fn_append ()
15789 {
15790 eval $1+=\$2
15791 }'
15792 else
15793 as_fn_append ()
15794 {
15795 eval $1=\$$1\$2
15796 }
15797 fi # as_fn_append
15798
15799 @%:@ as_fn_arith ARG...
15800 @%:@ ------------------
15801 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15802 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15803 @%:@ must be portable across @S|@(()) and expr.
15804 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15805 eval 'as_fn_arith ()
15806 {
15807 as_val=$(( $* ))
15808 }'
15809 else
15810 as_fn_arith ()
15811 {
15812 as_val=`expr "$@" || test $? -eq 1`
15813 }
15814 fi # as_fn_arith
15815
15816
15817 if expr a : '\(a\)' >/dev/null 2>&1 &&
15818 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15819 as_expr=expr
15820 else
15821 as_expr=false
15822 fi
15823
15824 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15825 as_basename=basename
15826 else
15827 as_basename=false
15828 fi
15829
15830 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15831 as_dirname=dirname
15832 else
15833 as_dirname=false
15834 fi
15835
15836 as_me=`$as_basename -- "$0" ||
15837 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15838 X"$0" : 'X\(//\)$' \| \
15839 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15840 $as_echo X/"$0" |
15841 sed '/^.*\/\([^/][^/]*\)\/*$/{
15842 s//\1/
15843 q
15844 }
15845 /^X\/\(\/\/\)$/{
15846 s//\1/
15847 q
15848 }
15849 /^X\/\(\/\).*/{
15850 s//\1/
15851 q
15852 }
15853 s/.*/./; q'`
15854
15855 # Avoid depending upon Character Ranges.
15856 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15857 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15858 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15859 as_cr_digits='0123456789'
15860 as_cr_alnum=$as_cr_Letters$as_cr_digits
15861
15862 ECHO_C= ECHO_N= ECHO_T=
15863 case `echo -n x` in @%:@(((((
15864 -n*)
15865 case `echo 'xy\c'` in
15866 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15867 xy) ECHO_C='\c';;
15868 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15869 ECHO_T=' ';;
15870 esac;;
15871 *)
15872 ECHO_N='-n';;
15873 esac
15874
15875 rm -f conf$$ conf$$.exe conf$$.file
15876 if test -d conf$$.dir; then
15877 rm -f conf$$.dir/conf$$.file
15878 else
15879 rm -f conf$$.dir
15880 mkdir conf$$.dir 2>/dev/null
15881 fi
15882 if (echo >conf$$.file) 2>/dev/null; then
15883 if ln -s conf$$.file conf$$ 2>/dev/null; then
15884 as_ln_s='ln -s'
15885 # ... but there are two gotchas:
15886 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15887 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15888 # In both cases, we have to default to `cp -pR'.
15889 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15890 as_ln_s='cp -pR'
15891 elif ln conf$$.file conf$$ 2>/dev/null; then
15892 as_ln_s=ln
15893 else
15894 as_ln_s='cp -pR'
15895 fi
15896 else
15897 as_ln_s='cp -pR'
15898 fi
15899 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15900 rmdir conf$$.dir 2>/dev/null
15901
15902
15903 @%:@ as_fn_mkdir_p
15904 @%:@ -------------
15905 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15906 as_fn_mkdir_p ()
15907 {
15908
15909 case $as_dir in #(
15910 -*) as_dir=./$as_dir;;
15911 esac
15912 test -d "$as_dir" || eval $as_mkdir_p || {
15913 as_dirs=
15914 while :; do
15915 case $as_dir in #(
15916 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15917 *) as_qdir=$as_dir;;
15918 esac
15919 as_dirs="'$as_qdir' $as_dirs"
15920 as_dir=`$as_dirname -- "$as_dir" ||
15921 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15922 X"$as_dir" : 'X\(//\)[^/]' \| \
15923 X"$as_dir" : 'X\(//\)$' \| \
15924 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15925 $as_echo X"$as_dir" |
15926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15927 s//\1/
15928 q
15929 }
15930 /^X\(\/\/\)[^/].*/{
15931 s//\1/
15932 q
15933 }
15934 /^X\(\/\/\)$/{
15935 s//\1/
15936 q
15937 }
15938 /^X\(\/\).*/{
15939 s//\1/
15940 q
15941 }
15942 s/.*/./; q'`
15943 test -d "$as_dir" && break
15944 done
15945 test -z "$as_dirs" || eval "mkdir $as_dirs"
15946 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15947
15948
15949 } @%:@ as_fn_mkdir_p
15950 if mkdir -p . 2>/dev/null; then
15951 as_mkdir_p='mkdir -p "$as_dir"'
15952 else
15953 test -d ./-p && rmdir ./-p
15954 as_mkdir_p=false
15955 fi
15956
15957
15958 @%:@ as_fn_executable_p FILE
15959 @%:@ -----------------------
15960 @%:@ Test if FILE is an executable regular file.
15961 as_fn_executable_p ()
15962 {
15963 test -f "$1" && test -x "$1"
15964 } @%:@ as_fn_executable_p
15965 as_test_x='test -x'
15966 as_executable_p=as_fn_executable_p
15967
15968 # Sed expression to map a string onto a valid CPP name.
15969 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15970
15971 # Sed expression to map a string onto a valid variable name.
15972 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15973
15974
15975 exec 6>&1
15976 ## ----------------------------------- ##
15977 ## Main body of $CONFIG_STATUS script. ##
15978 ## ----------------------------------- ##
15979 _ASEOF
15980 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15981
15982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15983 # Save the log message, to keep $0 and so on meaningful, and to
15984 # report actual input values of CONFIG_FILES etc. instead of their
15985 # values after options handling.
15986 ac_log="
15987 This file was extended by ibmgtsim $as_me 1.5.7, which was
15988 generated by GNU Autoconf 2.69. Invocation command line was
15989
15990 CONFIG_FILES = $CONFIG_FILES
15991 CONFIG_HEADERS = $CONFIG_HEADERS
15992 CONFIG_LINKS = $CONFIG_LINKS
15993 CONFIG_COMMANDS = $CONFIG_COMMANDS
15994 $ $0 $@
15995
15996 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15997 "
15998
15999 _ACEOF
16000
16001 case $ac_config_files in *"
16002 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16003 esac
16004
16005 case $ac_config_headers in *"
16006 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16007 esac
16008
16009
16010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16011 # Files that config.status was made for.
16012 config_files="$ac_config_files"
16013 config_headers="$ac_config_headers"
16014 config_commands="$ac_config_commands"
16015
16016 _ACEOF
16017
16018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16019 ac_cs_usage="\
16020 \`$as_me' instantiates files and other configuration actions
16021 from templates according to the current configuration. Unless the files
16022 and actions are specified as TAGs, all are instantiated by default.
16023
16024 Usage: $0 [OPTION]... [TAG]...
16025
16026 -h, --help print this help, then exit
16027 -V, --version print version number and configuration settings, then exit
16028 --config print configuration, then exit
16029 -q, --quiet, --silent
16030 do not print progress messages
16031 -d, --debug don't remove temporary files
16032 --recheck update $as_me by reconfiguring in the same conditions
16033 --file=FILE[:TEMPLATE]
16034 instantiate the configuration file FILE
16035 --header=FILE[:TEMPLATE]
16036 instantiate the configuration header FILE
16037
16038 Configuration files:
16039 $config_files
16040
16041 Configuration headers:
16042 $config_headers
16043
16044 Configuration commands:
16045 $config_commands
16046
16047 Report bugs to the package provider."
16048
16049 _ACEOF
16050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16051 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16052 ac_cs_version="\\
16053 ibmgtsim config.status 1.5.7
16054 configured by $0, generated by GNU Autoconf 2.69,
16055 with options \\"\$ac_cs_config\\"
16056
16057 Copyright (C) 2012 Free Software Foundation, Inc.
16058 This config.status script is free software; the Free Software Foundation
16059 gives unlimited permission to copy, distribute and modify it."
16060
16061 ac_pwd='$ac_pwd'
16062 srcdir='$srcdir'
16063 INSTALL='$INSTALL'
16064 MKDIR_P='$MKDIR_P'
16065 AWK='$AWK'
16066 test -n "\$AWK" || AWK=awk
16067 _ACEOF
16068
16069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16070 # The default lists apply if the user does not specify any file.
16071 ac_need_defaults=:
16072 while test $# != 0
16073 do
16074 case $1 in
16075 --*=?*)
16076 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16077 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16078 ac_shift=:
16079 ;;
16080 --*=)
16081 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16082 ac_optarg=
16083 ac_shift=:
16084 ;;
16085 *)
16086 ac_option=$1
16087 ac_optarg=$2
16088 ac_shift=shift
16089 ;;
16090 esac
16091
16092 case $ac_option in
16093 # Handling of the options.
16094 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16095 ac_cs_recheck=: ;;
16096 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16097 $as_echo "$ac_cs_version"; exit ;;
16098 --config | --confi | --conf | --con | --co | --c )
16099 $as_echo "$ac_cs_config"; exit ;;
16100 --debug | --debu | --deb | --de | --d | -d )
16101 debug=: ;;
16102 --file | --fil | --fi | --f )
16103 $ac_shift
16104 case $ac_optarg in
16105 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16106 '') as_fn_error $? "missing file argument" ;;
16107 esac
16108 as_fn_append CONFIG_FILES " '$ac_optarg'"
16109 ac_need_defaults=false;;
16110 --header | --heade | --head | --hea )
16111 $ac_shift
16112 case $ac_optarg in
16113 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16114 esac
16115 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16116 ac_need_defaults=false;;
16117 --he | --h)
16118 # Conflict between --help and --header
16119 as_fn_error $? "ambiguous option: \`$1'
16120 Try \`$0 --help' for more information.";;
16121 --help | --hel | -h )
16122 $as_echo "$ac_cs_usage"; exit ;;
16123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16124 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16125 ac_cs_silent=: ;;
16126
16127 # This is an error.
16128 -*) as_fn_error $? "unrecognized option: \`$1'
16129 Try \`$0 --help' for more information." ;;
16130
16131 *) as_fn_append ac_config_targets " $1"
16132 ac_need_defaults=false ;;
16133
16134 esac
16135 shift
16136 done
16137
16138 ac_configure_extra_args=
16139
16140 if $ac_cs_silent; then
16141 exec 6>/dev/null
16142 ac_configure_extra_args="$ac_configure_extra_args --silent"
16143 fi
16144
16145 _ACEOF
16146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16147 if \$ac_cs_recheck; then
16148 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16149 shift
16150 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16151 CONFIG_SHELL='$SHELL'
16152 export CONFIG_SHELL
16153 exec "\$@"
16154 fi
16155
16156 _ACEOF
16157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16158 exec 5>>config.log
16159 {
16160 echo
16161 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16162 @%:@@%:@ Running $as_me. @%:@@%:@
16163 _ASBOX
16164 $as_echo "$ac_log"
16165 } >&5
16166
16167 _ACEOF
16168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16169 #
16170 # INIT-COMMANDS
16171 #
16172 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16173
16174
16175 # The HP-UX ksh and POSIX shell print the target directory to stdout
16176 # if CDPATH is set.
16177 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16178
16179 sed_quote_subst='$sed_quote_subst'
16180 double_quote_subst='$double_quote_subst'
16181 delay_variable_subst='$delay_variable_subst'
16182 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16183 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16184 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16185 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16186 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16187 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16188 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16189 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16190 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16191 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16192 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16193 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16194 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16195 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16196 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16197 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16198 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16199 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16200 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16201 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16202 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16203 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16204 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16205 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16206 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16207 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16208 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16209 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16210 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16211 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16212 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16213 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16214 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16215 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16216 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16217 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16218 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16219 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16220 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16221 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16222 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16223 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16224 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16225 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16226 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16227 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16228 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16229 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16230 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16231 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16232 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16233 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16234 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16235 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16236 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16237 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16238 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16239 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16240 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16241 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16242 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16243 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16244 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16245 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16246 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16247 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16248 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16249 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16250 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16251 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16252 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16253 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16254 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16255 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16256 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16257 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16258 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16259 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16260 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16261 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16262 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16263 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16264 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16265 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16266 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16267 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16268 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16269 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16270 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16271 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16272 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16273 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16274 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16275 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16276 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16277 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16278 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16279 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16280 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16281 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16282 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16283 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16284 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16285 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16286 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16287 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16288 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16289 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16290 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16291 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16292 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16293 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16294 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16295 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16296 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16297 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16298 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16299 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16300 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16301 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16302 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16303 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16304 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16305 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16306 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16307 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16308 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16309 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16310 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16311 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16312 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16313 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16314 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16315 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16316 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16317 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16318 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16319 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16320 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16321 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16322 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16323 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16324 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16325 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16326 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16327 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16328 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16329 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16330 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16331 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16332 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16333 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16334 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16335 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16336 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16337 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16338 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16339 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16340 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16341 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16342 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16343 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16344 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16345 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16346 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16347 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16348 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16349 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16350 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16351 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16352 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16353
16354 LTCC='$LTCC'
16355 LTCFLAGS='$LTCFLAGS'
16356 compiler='$compiler_DEFAULT'
16357
16358 # Quote evaled strings.
16359 for var in SED \
16360 GREP \
16361 EGREP \
16362 FGREP \
16363 LD \
16364 NM \
16365 LN_S \
16366 lt_SP2NL \
16367 lt_NL2SP \
16368 reload_flag \
16369 OBJDUMP \
16370 deplibs_check_method \
16371 file_magic_cmd \
16372 AR \
16373 AR_FLAGS \
16374 STRIP \
16375 RANLIB \
16376 CC \
16377 CFLAGS \
16378 compiler \
16379 lt_cv_sys_global_symbol_pipe \
16380 lt_cv_sys_global_symbol_to_cdecl \
16381 lt_cv_sys_global_symbol_to_c_name_address \
16382 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16383 SHELL \
16384 ECHO \
16385 lt_prog_compiler_no_builtin_flag \
16386 lt_prog_compiler_wl \
16387 lt_prog_compiler_pic \
16388 lt_prog_compiler_static \
16389 lt_cv_prog_compiler_c_o \
16390 need_locks \
16391 DSYMUTIL \
16392 NMEDIT \
16393 LIPO \
16394 OTOOL \
16395 OTOOL64 \
16396 shrext_cmds \
16397 export_dynamic_flag_spec \
16398 whole_archive_flag_spec \
16399 compiler_needs_object \
16400 with_gnu_ld \
16401 allow_undefined_flag \
16402 no_undefined_flag \
16403 hardcode_libdir_flag_spec \
16404 hardcode_libdir_flag_spec_ld \
16405 hardcode_libdir_separator \
16406 fix_srcfile_path \
16407 exclude_expsyms \
16408 include_expsyms \
16409 file_list_spec \
16410 variables_saved_for_relink \
16411 libname_spec \
16412 library_names_spec \
16413 soname_spec \
16414 finish_eval \
16415 old_striplib \
16416 striplib \
16417 compiler_lib_search_dirs \
16418 predep_objects \
16419 postdep_objects \
16420 predeps \
16421 postdeps \
16422 compiler_lib_search_path \
16423 LD_CXX \
16424 compiler_CXX \
16425 lt_prog_compiler_no_builtin_flag_CXX \
16426 lt_prog_compiler_wl_CXX \
16427 lt_prog_compiler_pic_CXX \
16428 lt_prog_compiler_static_CXX \
16429 lt_cv_prog_compiler_c_o_CXX \
16430 export_dynamic_flag_spec_CXX \
16431 whole_archive_flag_spec_CXX \
16432 compiler_needs_object_CXX \
16433 with_gnu_ld_CXX \
16434 allow_undefined_flag_CXX \
16435 no_undefined_flag_CXX \
16436 hardcode_libdir_flag_spec_CXX \
16437 hardcode_libdir_flag_spec_ld_CXX \
16438 hardcode_libdir_separator_CXX \
16439 fix_srcfile_path_CXX \
16440 exclude_expsyms_CXX \
16441 include_expsyms_CXX \
16442 file_list_spec_CXX \
16443 compiler_lib_search_dirs_CXX \
16444 predep_objects_CXX \
16445 postdep_objects_CXX \
16446 predeps_CXX \
16447 postdeps_CXX \
16448 compiler_lib_search_path_CXX; do
16449 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16450 *[\\\\\\\`\\"\\\$]*)
16451 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16452 ;;
16453 *)
16454 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16455 ;;
16456 esac
16457 done
16458
16459 # Double-quote double-evaled strings.
16460 for var in reload_cmds \
16461 old_postinstall_cmds \
16462 old_postuninstall_cmds \
16463 old_archive_cmds \
16464 extract_expsyms_cmds \
16465 old_archive_from_new_cmds \
16466 old_archive_from_expsyms_cmds \
16467 archive_cmds \
16468 archive_expsym_cmds \
16469 module_cmds \
16470 module_expsym_cmds \
16471 export_symbols_cmds \
16472 prelink_cmds \
16473 postinstall_cmds \
16474 postuninstall_cmds \
16475 finish_cmds \
16476 sys_lib_search_path_spec \
16477 sys_lib_dlsearch_path_spec \
16478 old_archive_cmds_CXX \
16479 old_archive_from_new_cmds_CXX \
16480 old_archive_from_expsyms_cmds_CXX \
16481 archive_cmds_CXX \
16482 archive_expsym_cmds_CXX \
16483 module_cmds_CXX \
16484 module_expsym_cmds_CXX \
16485 export_symbols_cmds_CXX \
16486 prelink_cmds_CXX; do
16487 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16488 *[\\\\\\\`\\"\\\$]*)
16489 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16490 ;;
16491 *)
16492 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16493 ;;
16494 esac
16495 done
16496
16497 # Fix-up fallback echo if it was mangled by the above quoting rules.
16498 case \$lt_ECHO in
16499 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16500 ;;
16501 esac
16502
16503 ac_aux_dir='$ac_aux_dir'
16504 xsi_shell='$xsi_shell'
16505 lt_shell_append='$lt_shell_append'
16506
16507 # See if we are running on zsh, and set the options which allow our
16508 # commands through without removal of \ escapes INIT.
16509 if test -n "\${ZSH_VERSION+set}" ; then
16510 setopt NO_GLOB_SUBST
16511 fi
16512
16513
16514 PACKAGE='$PACKAGE'
16515 VERSION='$VERSION'
16516 TIMESTAMP='$TIMESTAMP'
16517 RM='$RM'
16518 ofile='$ofile'
16519
16520
16521
16522
16523
16524
16525 _ACEOF
16526
16527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16528
16529 # Handling of arguments.
16530 for ac_config_target in $ac_config_targets
16531 do
16532 case $ac_config_target in
16533 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16534 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16535 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16536 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16537 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16538 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
16539 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16540 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16541
16542 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16543 esac
16544 done
16545
16546
16547 # If the user did not use the arguments to specify the items to instantiate,
16548 # then the envvar interface is used. Set only those that are not.
16549 # We use the long form for the default assignment because of an extremely
16550 # bizarre bug on SunOS 4.1.3.
16551 if $ac_need_defaults; then
16552 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16553 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16554 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16555 fi
16556
16557 # Have a temporary directory for convenience. Make it in the build tree
16558 # simply because there is no reason against having it here, and in addition,
16559 # creating and moving files from /tmp can sometimes cause problems.
16560 # Hook for its removal unless debugging.
16561 # Note that there is a small window in which the directory will not be cleaned:
16562 # after its creation but before its name has been assigned to `$tmp'.
16563 $debug ||
16564 {
16565 tmp= ac_tmp=
16566 trap 'exit_status=$?
16567 : "${ac_tmp:=$tmp}"
16568 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16569 ' 0
16570 trap 'as_fn_exit 1' 1 2 13 15
16571 }
16572 # Create a (secure) tmp directory for tmp files.
16573
16574 {
16575 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16576 test -d "$tmp"
16577 } ||
16578 {
16579 tmp=./conf$$-$RANDOM
16580 (umask 077 && mkdir "$tmp")
16581 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16582 ac_tmp=$tmp
16583
16584 # Set up the scripts for CONFIG_FILES section.
16585 # No need to generate them if there are no CONFIG_FILES.
16586 # This happens for instance with `./config.status config.h'.
16587 if test -n "$CONFIG_FILES"; then
16588
16589
16590 ac_cr=`echo X | tr X '\015'`
16591 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16592 # But we know of no other shell where ac_cr would be empty at this
16593 # point, so we can use a bashism as a fallback.
16594 if test "x$ac_cr" = x; then
16595 eval ac_cr=\$\'\\r\'
16596 fi
16597 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16598 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16599 ac_cs_awk_cr='\\r'
16600 else
16601 ac_cs_awk_cr=$ac_cr
16602 fi
16603
16604 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16605 _ACEOF
16606
16607
16608 {
16609 echo "cat >conf$$subs.awk <<_ACEOF" &&
16610 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16611 echo "_ACEOF"
16612 } >conf$$subs.sh ||
16613 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16614 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16615 ac_delim='%!_!# '
16616 for ac_last_try in false false false false false :; do
16617 . ./conf$$subs.sh ||
16618 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16619
16620 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16621 if test $ac_delim_n = $ac_delim_num; then
16622 break
16623 elif $ac_last_try; then
16624 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16625 else
16626 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16627 fi
16628 done
16629 rm -f conf$$subs.sh
16630
16631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16632 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16633 _ACEOF
16634 sed -n '
16635 h
16636 s/^/S["/; s/!.*/"]=/
16637 p
16638 g
16639 s/^[^!]*!//
16640 :repl
16641 t repl
16642 s/'"$ac_delim"'$//
16643 t delim
16644 :nl
16645 h
16646 s/\(.\{148\}\)..*/\1/
16647 t more1
16648 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16649 p
16650 n
16651 b repl
16652 :more1
16653 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16654 p
16655 g
16656 s/.\{148\}//
16657 t nl
16658 :delim
16659 h
16660 s/\(.\{148\}\)..*/\1/
16661 t more2
16662 s/["\\]/\\&/g; s/^/"/; s/$/"/
16663 p
16664 b
16665 :more2
16666 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16667 p
16668 g
16669 s/.\{148\}//
16670 t delim
16671 ' <conf$$subs.awk | sed '
16672 /^[^""]/{
16673 N
16674 s/\n//
16675 }
16676 ' >>$CONFIG_STATUS || ac_write_fail=1
16677 rm -f conf$$subs.awk
16678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16679 _ACAWK
16680 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16681 for (key in S) S_is_set[key] = 1
16682 FS = ""
16683
16684 }
16685 {
16686 line = $ 0
16687 nfields = split(line, field, "@")
16688 substed = 0
16689 len = length(field[1])
16690 for (i = 2; i < nfields; i++) {
16691 key = field[i]
16692 keylen = length(key)
16693 if (S_is_set[key]) {
16694 value = S[key]
16695 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16696 len += length(value) + length(field[++i])
16697 substed = 1
16698 } else
16699 len += 1 + keylen
16700 }
16701
16702 print line
16703 }
16704
16705 _ACAWK
16706 _ACEOF
16707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16708 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16709 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16710 else
16711 cat
16712 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16713 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16714 _ACEOF
16715
16716 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16717 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16718 # trailing colons and then remove the whole line if VPATH becomes empty
16719 # (actually we leave an empty line to preserve line numbers).
16720 if test "x$srcdir" = x.; then
16721 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16722 h
16723 s///
16724 s/^/:/
16725 s/[ ]*$/:/
16726 s/:\$(srcdir):/:/g
16727 s/:\${srcdir}:/:/g
16728 s/:@srcdir@:/:/g
16729 s/^:*//
16730 s/:*$//
16731 x
16732 s/\(=[ ]*\).*/\1/
16733 G
16734 s/\n//
16735 s/^[^=]*=[ ]*$//
16736 }'
16737 fi
16738
16739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16740 fi # test -n "$CONFIG_FILES"
16741
16742 # Set up the scripts for CONFIG_HEADERS section.
16743 # No need to generate them if there are no CONFIG_HEADERS.
16744 # This happens for instance with `./config.status Makefile'.
16745 if test -n "$CONFIG_HEADERS"; then
16746 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16747 BEGIN {
16748 _ACEOF
16749
16750 # Transform confdefs.h into an awk script `defines.awk', embedded as
16751 # here-document in config.status, that substitutes the proper values into
16752 # config.h.in to produce config.h.
16753
16754 # Create a delimiter string that does not exist in confdefs.h, to ease
16755 # handling of long lines.
16756 ac_delim='%!_!# '
16757 for ac_last_try in false false :; do
16758 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16759 if test -z "$ac_tt"; then
16760 break
16761 elif $ac_last_try; then
16762 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16763 else
16764 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16765 fi
16766 done
16767
16768 # For the awk script, D is an array of macro values keyed by name,
16769 # likewise P contains macro parameters if any. Preserve backslash
16770 # newline sequences.
16771
16772 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16773 sed -n '
16774 s/.\{148\}/&'"$ac_delim"'/g
16775 t rset
16776 :rset
16777 s/^[ ]*#[ ]*define[ ][ ]*/ /
16778 t def
16779 d
16780 :def
16781 s/\\$//
16782 t bsnl
16783 s/["\\]/\\&/g
16784 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16785 D["\1"]=" \3"/p
16786 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16787 d
16788 :bsnl
16789 s/["\\]/\\&/g
16790 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16791 D["\1"]=" \3\\\\\\n"\\/p
16792 t cont
16793 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16794 t cont
16795 d
16796 :cont
16797 n
16798 s/.\{148\}/&'"$ac_delim"'/g
16799 t clear
16800 :clear
16801 s/\\$//
16802 t bsnlc
16803 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16804 d
16805 :bsnlc
16806 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16807 b cont
16808 ' <confdefs.h | sed '
16809 s/'"$ac_delim"'/"\\\
16810 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16811
16812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16813 for (key in D) D_is_set[key] = 1
16814 FS = ""
16815 }
16816 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16817 line = \$ 0
16818 split(line, arg, " ")
16819 if (arg[1] == "#") {
16820 defundef = arg[2]
16821 mac1 = arg[3]
16822 } else {
16823 defundef = substr(arg[1], 2)
16824 mac1 = arg[2]
16825 }
16826 split(mac1, mac2, "(") #)
16827 macro = mac2[1]
16828 prefix = substr(line, 1, index(line, defundef) - 1)
16829 if (D_is_set[macro]) {
16830 # Preserve the white space surrounding the "#".
16831 print prefix "define", macro P[macro] D[macro]
16832 next
16833 } else {
16834 # Replace #undef with comments. This is necessary, for example,
16835 # in the case of _POSIX_SOURCE, which is predefined and required
16836 # on some systems where configure will not decide to define it.
16837 if (defundef == "undef") {
16838 print "/*", prefix defundef, macro, "*/"
16839 next
16840 }
16841 }
16842 }
16843 { print }
16844 _ACAWK
16845 _ACEOF
16846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16847 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16848 fi # test -n "$CONFIG_HEADERS"
16849
16850
16851 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16852 shift
16853 for ac_tag
16854 do
16855 case $ac_tag in
16856 :[FHLC]) ac_mode=$ac_tag; continue;;
16857 esac
16858 case $ac_mode$ac_tag in
16859 :[FHL]*:*);;
16860 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16861 :[FH]-) ac_tag=-:-;;
16862 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16863 esac
16864 ac_save_IFS=$IFS
16865 IFS=:
16866 set x $ac_tag
16867 IFS=$ac_save_IFS
16868 shift
16869 ac_file=$1
16870 shift
16871
16872 case $ac_mode in
16873 :L) ac_source=$1;;
16874 :[FH])
16875 ac_file_inputs=
16876 for ac_f
16877 do
16878 case $ac_f in
16879 -) ac_f="$ac_tmp/stdin";;
16880 *) # Look for the file first in the build tree, then in the source tree
16881 # (if the path is not absolute). The absolute path cannot be DOS-style,
16882 # because $ac_f cannot contain `:'.
16883 test -f "$ac_f" ||
16884 case $ac_f in
16885 [\\/$]*) false;;
16886 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16887 esac ||
16888 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16889 esac
16890 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16891 as_fn_append ac_file_inputs " '$ac_f'"
16892 done
16893
16894 # Let's still pretend it is `configure' which instantiates (i.e., don't
16895 # use $as_me), people would be surprised to read:
16896 # /* config.h. Generated by config.status. */
16897 configure_input='Generated from '`
16898 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16899 `' by configure.'
16900 if test x"$ac_file" != x-; then
16901 configure_input="$ac_file. $configure_input"
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16903 $as_echo "$as_me: creating $ac_file" >&6;}
16904 fi
16905 # Neutralize special characters interpreted by sed in replacement strings.
16906 case $configure_input in #(
16907 *\&* | *\|* | *\\* )
16908 ac_sed_conf_input=`$as_echo "$configure_input" |
16909 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16910 *) ac_sed_conf_input=$configure_input;;
16911 esac
16912
16913 case $ac_tag in
16914 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16915 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16916 esac
16917 ;;
16918 esac
16919
16920 ac_dir=`$as_dirname -- "$ac_file" ||
16921 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16922 X"$ac_file" : 'X\(//\)[^/]' \| \
16923 X"$ac_file" : 'X\(//\)$' \| \
16924 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16925 $as_echo X"$ac_file" |
16926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16927 s//\1/
16928 q
16929 }
16930 /^X\(\/\/\)[^/].*/{
16931 s//\1/
16932 q
16933 }
16934 /^X\(\/\/\)$/{
16935 s//\1/
16936 q
16937 }
16938 /^X\(\/\).*/{
16939 s//\1/
16940 q
16941 }
16942 s/.*/./; q'`
16943 as_dir="$ac_dir"; as_fn_mkdir_p
16944 ac_builddir=.
16945
16946 case "$ac_dir" in
16947 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16948 *)
16949 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16950 # A ".." for each directory in $ac_dir_suffix.
16951 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16952 case $ac_top_builddir_sub in
16953 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16954 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16955 esac ;;
16956 esac
16957 ac_abs_top_builddir=$ac_pwd
16958 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16959 # for backward compatibility:
16960 ac_top_builddir=$ac_top_build_prefix
16961
16962 case $srcdir in
16963 .) # We are building in place.
16964 ac_srcdir=.
16965 ac_top_srcdir=$ac_top_builddir_sub
16966 ac_abs_top_srcdir=$ac_pwd ;;
16967 [\\/]* | ?:[\\/]* ) # Absolute name.
16968 ac_srcdir=$srcdir$ac_dir_suffix;
16969 ac_top_srcdir=$srcdir
16970 ac_abs_top_srcdir=$srcdir ;;
16971 *) # Relative name.
16972 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16973 ac_top_srcdir=$ac_top_build_prefix$srcdir
16974 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16975 esac
16976 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16977
16978
16979 case $ac_mode in
16980 :F)
16981 #
16982 # CONFIG_FILE
16983 #
16984
16985 case $INSTALL in
16986 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16987 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16988 esac
16989 ac_MKDIR_P=$MKDIR_P
16990 case $MKDIR_P in
16991 [\\/$]* | ?:[\\/]* ) ;;
16992 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16993 esac
16994 _ACEOF
16995
16996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16997 # If the template does not know about datarootdir, expand it.
16998 # FIXME: This hack should be removed a few years after 2.60.
16999 ac_datarootdir_hack=; ac_datarootdir_seen=
17000 ac_sed_dataroot='
17001 /datarootdir/ {
17002 p
17003 q
17004 }
17005 /@datadir@/p
17006 /@docdir@/p
17007 /@infodir@/p
17008 /@localedir@/p
17009 /@mandir@/p'
17010 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17011 *datarootdir*) ac_datarootdir_seen=yes;;
17012 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17014 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17015 _ACEOF
17016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17017 ac_datarootdir_hack='
17018 s&@datadir@&$datadir&g
17019 s&@docdir@&$docdir&g
17020 s&@infodir@&$infodir&g
17021 s&@localedir@&$localedir&g
17022 s&@mandir@&$mandir&g
17023 s&\\\${datarootdir}&$datarootdir&g' ;;
17024 esac
17025 _ACEOF
17026
17027 # Neutralize VPATH when `$srcdir' = `.'.
17028 # Shell code in configure.ac might set extrasub.
17029 # FIXME: do we really want to maintain this feature?
17030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17031 ac_sed_extra="$ac_vpsub
17032 $extrasub
17033 _ACEOF
17034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17035 :t
17036 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17037 s|@configure_input@|$ac_sed_conf_input|;t t
17038 s&@top_builddir@&$ac_top_builddir_sub&;t t
17039 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17040 s&@srcdir@&$ac_srcdir&;t t
17041 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17042 s&@top_srcdir@&$ac_top_srcdir&;t t
17043 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17044 s&@builddir@&$ac_builddir&;t t
17045 s&@abs_builddir@&$ac_abs_builddir&;t t
17046 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17047 s&@INSTALL@&$ac_INSTALL&;t t
17048 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17049 $ac_datarootdir_hack
17050 "
17051 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17052 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17053
17054 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17055 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17056 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17057 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17059 which seems to be undefined. Please make sure it is defined" >&5
17060 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17061 which seems to be undefined. Please make sure it is defined" >&2;}
17062
17063 rm -f "$ac_tmp/stdin"
17064 case $ac_file in
17065 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17066 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17067 esac \
17068 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17069 ;;
17070 :H)
17071 #
17072 # CONFIG_HEADER
17073 #
17074 if test x"$ac_file" != x-; then
17075 {
17076 $as_echo "/* $configure_input */" \
17077 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17078 } >"$ac_tmp/config.h" \
17079 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17080 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17082 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17083 else
17084 rm -f "$ac_file"
17085 mv "$ac_tmp/config.h" "$ac_file" \
17086 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17087 fi
17088 else
17089 $as_echo "/* $configure_input */" \
17090 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17091 || as_fn_error $? "could not create -" "$LINENO" 5
17092 fi
17093 # Compute "$ac_file"'s index in $config_headers.
17094 _am_arg="$ac_file"
17095 _am_stamp_count=1
17096 for _am_header in $config_headers :; do
17097 case $_am_header in
17098 $_am_arg | $_am_arg:* )
17099 break ;;
17100 * )
17101 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17102 esac
17103 done
17104 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17105 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17106 X"$_am_arg" : 'X\(//\)[^/]' \| \
17107 X"$_am_arg" : 'X\(//\)$' \| \
17108 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17109 $as_echo X"$_am_arg" |
17110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17111 s//\1/
17112 q
17113 }
17114 /^X\(\/\/\)[^/].*/{
17115 s//\1/
17116 q
17117 }
17118 /^X\(\/\/\)$/{
17119 s//\1/
17120 q
17121 }
17122 /^X\(\/\).*/{
17123 s//\1/
17124 q
17125 }
17126 s/.*/./; q'`/stamp-h$_am_stamp_count
17127 ;;
17128
17129 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17130 $as_echo "$as_me: executing $ac_file commands" >&6;}
17131 ;;
17132 esac
17133
17134
17135 case $ac_file$ac_mode in
17136 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17137 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17138 # are listed without --file. Let's play safe and only enable the eval
17139 # if we detect the quoting.
17140 case $CONFIG_FILES in
17141 *\'*) eval set x "$CONFIG_FILES" ;;
17142 *) set x $CONFIG_FILES ;;
17143 esac
17144 shift
17145 for mf
17146 do
17147 # Strip MF so we end up with the name of the file.
17148 mf=`echo "$mf" | sed -e 's/:.*$//'`
17149 # Check whether this is an Automake generated Makefile or not.
17150 # We used to match only the files named `Makefile.in', but
17151 # some people rename them; so instead we look at the file content.
17152 # Grep'ing the first line is not enough: some people post-process
17153 # each Makefile.in and add a new line on top of each file to say so.
17154 # Grep'ing the whole file is not good either: AIX grep has a line
17155 # limit of 2048, but all sed's we know have understand at least 4000.
17156 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17157 dirpart=`$as_dirname -- "$mf" ||
17158 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17159 X"$mf" : 'X\(//\)[^/]' \| \
17160 X"$mf" : 'X\(//\)$' \| \
17161 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17162 $as_echo X"$mf" |
17163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17164 s//\1/
17165 q
17166 }
17167 /^X\(\/\/\)[^/].*/{
17168 s//\1/
17169 q
17170 }
17171 /^X\(\/\/\)$/{
17172 s//\1/
17173 q
17174 }
17175 /^X\(\/\).*/{
17176 s//\1/
17177 q
17178 }
17179 s/.*/./; q'`
17180 else
17181 continue
17182 fi
17183 # Extract the definition of DEPDIR, am__include, and am__quote
17184 # from the Makefile without running `make'.
17185 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17186 test -z "$DEPDIR" && continue
17187 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17188 test -z "am__include" && continue
17189 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17190 # When using ansi2knr, U may be empty or an underscore; expand it
17191 U=`sed -n 's/^U = //p' < "$mf"`
17192 # Find all dependency output files, they are included files with
17193 # $(DEPDIR) in their names. We invoke sed twice because it is the
17194 # simplest approach to changing $(DEPDIR) to its actual value in the
17195 # expansion.
17196 for file in `sed -n "
17197 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17198 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17199 # Make sure the directory exists.
17200 test -f "$dirpart/$file" && continue
17201 fdir=`$as_dirname -- "$file" ||
17202 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17203 X"$file" : 'X\(//\)[^/]' \| \
17204 X"$file" : 'X\(//\)$' \| \
17205 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17206 $as_echo X"$file" |
17207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17208 s//\1/
17209 q
17210 }
17211 /^X\(\/\/\)[^/].*/{
17212 s//\1/
17213 q
17214 }
17215 /^X\(\/\/\)$/{
17216 s//\1/
17217 q
17218 }
17219 /^X\(\/\).*/{
17220 s//\1/
17221 q
17222 }
17223 s/.*/./; q'`
17224 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17225 # echo "creating $dirpart/$file"
17226 echo '# dummy' > "$dirpart/$file"
17227 done
17228 done
17229 }
17230 ;;
17231 "libtool":C)
17232
17233 # See if we are running on zsh, and set the options which allow our
17234 # commands through without removal of \ escapes.
17235 if test -n "${ZSH_VERSION+set}" ; then
17236 setopt NO_GLOB_SUBST
17237 fi
17238
17239 cfgfile="${ofile}T"
17240 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17241 $RM "$cfgfile"
17242
17243 cat <<_LT_EOF >> "$cfgfile"
17244 #! $SHELL
17245
17246 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17247 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17248 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17249 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17250 #
17251 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17252 # 2006, 2007, 2008 Free Software Foundation, Inc.
17253 # Written by Gordon Matzigkeit, 1996
17254 #
17255 # This file is part of GNU Libtool.
17256 #
17257 # GNU Libtool is free software; you can redistribute it and/or
17258 # modify it under the terms of the GNU General Public License as
17259 # published by the Free Software Foundation; either version 2 of
17260 # the License, or (at your option) any later version.
17261 #
17262 # As a special exception to the GNU General Public License,
17263 # if you distribute this file as part of a program or library that
17264 # is built using GNU Libtool, you may include this file under the
17265 # same distribution terms that you use for the rest of that program.
17266 #
17267 # GNU Libtool is distributed in the hope that it will be useful,
17268 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17269 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17270 # GNU General Public License for more details.
17271 #
17272 # You should have received a copy of the GNU General Public License
17273 # along with GNU Libtool; see the file COPYING. If not, a copy
17274 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17275 # obtained by writing to the Free Software Foundation, Inc.,
17276 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17277
17278
17279 # The names of the tagged configurations supported by this script.
17280 available_tags="CXX "
17281
17282 # ### BEGIN LIBTOOL CONFIG
17283
17284 # Which release of libtool.m4 was used?
17285 macro_version=$macro_version
17286 macro_revision=$macro_revision
17287
17288 # Whether or not to build shared libraries.
17289 build_libtool_libs=$enable_shared
17290
17291 # Whether or not to build static libraries.
17292 build_old_libs=$enable_static
17293
17294 # What type of objects to build.
17295 pic_mode=$pic_mode
17296
17297 # Whether or not to optimize for fast installation.
17298 fast_install=$enable_fast_install
17299
17300 # The host system.
17301 host_alias=$host_alias
17302 host=$host
17303 host_os=$host_os
17304
17305 # The build system.
17306 build_alias=$build_alias
17307 build=$build
17308 build_os=$build_os
17309
17310 # A sed program that does not truncate output.
17311 SED=$lt_SED
17312
17313 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17314 Xsed="\$SED -e 1s/^X//"
17315
17316 # A grep program that handles long lines.
17317 GREP=$lt_GREP
17318
17319 # An ERE matcher.
17320 EGREP=$lt_EGREP
17321
17322 # A literal string matcher.
17323 FGREP=$lt_FGREP
17324
17325 # A BSD- or MS-compatible name lister.
17326 NM=$lt_NM
17327
17328 # Whether we need soft or hard links.
17329 LN_S=$lt_LN_S
17330
17331 # What is the maximum length of a command?
17332 max_cmd_len=$max_cmd_len
17333
17334 # Object file suffix (normally "o").
17335 objext=$ac_objext
17336
17337 # Executable file suffix (normally "").
17338 exeext=$exeext
17339
17340 # whether the shell understands "unset".
17341 lt_unset=$lt_unset
17342
17343 # turn spaces into newlines.
17344 SP2NL=$lt_lt_SP2NL
17345
17346 # turn newlines into spaces.
17347 NL2SP=$lt_lt_NL2SP
17348
17349 # How to create reloadable object files.
17350 reload_flag=$lt_reload_flag
17351 reload_cmds=$lt_reload_cmds
17352
17353 # An object symbol dumper.
17354 OBJDUMP=$lt_OBJDUMP
17355
17356 # Method to check whether dependent libraries are shared objects.
17357 deplibs_check_method=$lt_deplibs_check_method
17358
17359 # Command to use when deplibs_check_method == "file_magic".
17360 file_magic_cmd=$lt_file_magic_cmd
17361
17362 # The archiver.
17363 AR=$lt_AR
17364 AR_FLAGS=$lt_AR_FLAGS
17365
17366 # A symbol stripping program.
17367 STRIP=$lt_STRIP
17368
17369 # Commands used to install an old-style archive.
17370 RANLIB=$lt_RANLIB
17371 old_postinstall_cmds=$lt_old_postinstall_cmds
17372 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17373
17374 # A C compiler.
17375 LTCC=$lt_CC
17376
17377 # LTCC compiler flags.
17378 LTCFLAGS=$lt_CFLAGS
17379
17380 # Take the output of nm and produce a listing of raw symbols and C names.
17381 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17382
17383 # Transform the output of nm in a proper C declaration.
17384 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17385
17386 # Transform the output of nm in a C name address pair.
17387 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17388
17389 # Transform the output of nm in a C name address pair when lib prefix is needed.
17390 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17391
17392 # The name of the directory that contains temporary libtool files.
17393 objdir=$objdir
17394
17395 # Shell to use when invoking shell scripts.
17396 SHELL=$lt_SHELL
17397
17398 # An echo program that does not interpret backslashes.
17399 ECHO=$lt_ECHO
17400
17401 # Used to examine libraries when file_magic_cmd begins with "file".
17402 MAGIC_CMD=$MAGIC_CMD
17403
17404 # Must we lock files when doing compilation?
17405 need_locks=$lt_need_locks
17406
17407 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17408 DSYMUTIL=$lt_DSYMUTIL
17409
17410 # Tool to change global to local symbols on Mac OS X.
17411 NMEDIT=$lt_NMEDIT
17412
17413 # Tool to manipulate fat objects and archives on Mac OS X.
17414 LIPO=$lt_LIPO
17415
17416 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17417 OTOOL=$lt_OTOOL
17418
17419 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17420 OTOOL64=$lt_OTOOL64
17421
17422 # Old archive suffix (normally "a").
17423 libext=$libext
17424
17425 # Shared library suffix (normally ".so").
17426 shrext_cmds=$lt_shrext_cmds
17427
17428 # The commands to extract the exported symbol list from a shared archive.
17429 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17430
17431 # Variables whose values should be saved in libtool wrapper scripts and
17432 # restored at link time.
17433 variables_saved_for_relink=$lt_variables_saved_for_relink
17434
17435 # Do we need the "lib" prefix for modules?
17436 need_lib_prefix=$need_lib_prefix
17437
17438 # Do we need a version for libraries?
17439 need_version=$need_version
17440
17441 # Library versioning type.
17442 version_type=$version_type
17443
17444 # Shared library runtime path variable.
17445 runpath_var=$runpath_var
17446
17447 # Shared library path variable.
17448 shlibpath_var=$shlibpath_var
17449
17450 # Is shlibpath searched before the hard-coded library search path?
17451 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17452
17453 # Format of library name prefix.
17454 libname_spec=$lt_libname_spec
17455
17456 # List of archive names. First name is the real one, the rest are links.
17457 # The last name is the one that the linker finds with -lNAME
17458 library_names_spec=$lt_library_names_spec
17459
17460 # The coded name of the library, if different from the real name.
17461 soname_spec=$lt_soname_spec
17462
17463 # Command to use after installation of a shared archive.
17464 postinstall_cmds=$lt_postinstall_cmds
17465
17466 # Command to use after uninstallation of a shared archive.
17467 postuninstall_cmds=$lt_postuninstall_cmds
17468
17469 # Commands used to finish a libtool library installation in a directory.
17470 finish_cmds=$lt_finish_cmds
17471
17472 # As "finish_cmds", except a single script fragment to be evaled but
17473 # not shown.
17474 finish_eval=$lt_finish_eval
17475
17476 # Whether we should hardcode library paths into libraries.
17477 hardcode_into_libs=$hardcode_into_libs
17478
17479 # Compile-time system search path for libraries.
17480 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17481
17482 # Run-time system search path for libraries.
17483 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17484
17485 # Whether dlopen is supported.
17486 dlopen_support=$enable_dlopen
17487
17488 # Whether dlopen of programs is supported.
17489 dlopen_self=$enable_dlopen_self
17490
17491 # Whether dlopen of statically linked programs is supported.
17492 dlopen_self_static=$enable_dlopen_self_static
17493
17494 # Commands to strip libraries.
17495 old_striplib=$lt_old_striplib
17496 striplib=$lt_striplib
17497
17498
17499 # The linker used to build libraries.
17500 LD=$lt_LD
17501
17502 # Commands used to build an old-style archive.
17503 old_archive_cmds=$lt_old_archive_cmds
17504
17505 # A language specific compiler.
17506 CC=$lt_compiler
17507
17508 # Is the compiler the GNU compiler?
17509 with_gcc=$GCC
17510
17511 # Compiler flag to turn off builtin functions.
17512 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17513
17514 # How to pass a linker flag through the compiler.
17515 wl=$lt_lt_prog_compiler_wl
17516
17517 # Additional compiler flags for building library objects.
17518 pic_flag=$lt_lt_prog_compiler_pic
17519
17520 # Compiler flag to prevent dynamic linking.
17521 link_static_flag=$lt_lt_prog_compiler_static
17522
17523 # Does compiler simultaneously support -c and -o options?
17524 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17525
17526 # Whether or not to add -lc for building shared libraries.
17527 build_libtool_need_lc=$archive_cmds_need_lc
17528
17529 # Whether or not to disallow shared libs when runtime libs are static.
17530 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17531
17532 # Compiler flag to allow reflexive dlopens.
17533 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17534
17535 # Compiler flag to generate shared objects directly from archives.
17536 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17537
17538 # Whether the compiler copes with passing no objects directly.
17539 compiler_needs_object=$lt_compiler_needs_object
17540
17541 # Create an old-style archive from a shared archive.
17542 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17543
17544 # Create a temporary old-style archive to link instead of a shared archive.
17545 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17546
17547 # Commands used to build a shared archive.
17548 archive_cmds=$lt_archive_cmds
17549 archive_expsym_cmds=$lt_archive_expsym_cmds
17550
17551 # Commands used to build a loadable module if different from building
17552 # a shared archive.
17553 module_cmds=$lt_module_cmds
17554 module_expsym_cmds=$lt_module_expsym_cmds
17555
17556 # Whether we are building with GNU ld or not.
17557 with_gnu_ld=$lt_with_gnu_ld
17558
17559 # Flag that allows shared libraries with undefined symbols to be built.
17560 allow_undefined_flag=$lt_allow_undefined_flag
17561
17562 # Flag that enforces no undefined symbols.
17563 no_undefined_flag=$lt_no_undefined_flag
17564
17565 # Flag to hardcode \$libdir into a binary during linking.
17566 # This must work even if \$libdir does not exist
17567 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17568
17569 # If ld is used when linking, flag to hardcode \$libdir into a binary
17570 # during linking. This must work even if \$libdir does not exist.
17571 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17572
17573 # Whether we need a single "-rpath" flag with a separated argument.
17574 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17575
17576 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17577 # DIR into the resulting binary.
17578 hardcode_direct=$hardcode_direct
17579
17580 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17581 # DIR into the resulting binary and the resulting library dependency is
17582 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17583 # library is relocated.
17584 hardcode_direct_absolute=$hardcode_direct_absolute
17585
17586 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17587 # into the resulting binary.
17588 hardcode_minus_L=$hardcode_minus_L
17589
17590 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17591 # into the resulting binary.
17592 hardcode_shlibpath_var=$hardcode_shlibpath_var
17593
17594 # Set to "yes" if building a shared library automatically hardcodes DIR
17595 # into the library and all subsequent libraries and executables linked
17596 # against it.
17597 hardcode_automatic=$hardcode_automatic
17598
17599 # Set to yes if linker adds runtime paths of dependent libraries
17600 # to runtime path list.
17601 inherit_rpath=$inherit_rpath
17602
17603 # Whether libtool must link a program against all its dependency libraries.
17604 link_all_deplibs=$link_all_deplibs
17605
17606 # Fix the shell variable \$srcfile for the compiler.
17607 fix_srcfile_path=$lt_fix_srcfile_path
17608
17609 # Set to "yes" if exported symbols are required.
17610 always_export_symbols=$always_export_symbols
17611
17612 # The commands to list exported symbols.
17613 export_symbols_cmds=$lt_export_symbols_cmds
17614
17615 # Symbols that should not be listed in the preloaded symbols.
17616 exclude_expsyms=$lt_exclude_expsyms
17617
17618 # Symbols that must always be exported.
17619 include_expsyms=$lt_include_expsyms
17620
17621 # Commands necessary for linking programs (against libraries) with templates.
17622 prelink_cmds=$lt_prelink_cmds
17623
17624 # Specify filename containing input files.
17625 file_list_spec=$lt_file_list_spec
17626
17627 # How to hardcode a shared library path into an executable.
17628 hardcode_action=$hardcode_action
17629
17630 # The directories searched by this compiler when creating a shared library.
17631 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17632
17633 # Dependencies to place before and after the objects being linked to
17634 # create a shared library.
17635 predep_objects=$lt_predep_objects
17636 postdep_objects=$lt_postdep_objects
17637 predeps=$lt_predeps
17638 postdeps=$lt_postdeps
17639
17640 # The library search path used internally by the compiler when linking
17641 # a shared library.
17642 compiler_lib_search_path=$lt_compiler_lib_search_path
17643
17644 # ### END LIBTOOL CONFIG
17645
17646 _LT_EOF
17647
17648 case $host_os in
17649 aix3*)
17650 cat <<\_LT_EOF >> "$cfgfile"
17651 # AIX sometimes has problems with the GCC collect2 program. For some
17652 # reason, if we set the COLLECT_NAMES environment variable, the problems
17653 # vanish in a puff of smoke.
17654 if test "X${COLLECT_NAMES+set}" != Xset; then
17655 COLLECT_NAMES=
17656 export COLLECT_NAMES
17657 fi
17658 _LT_EOF
17659 ;;
17660 esac
17661
17662
17663 ltmain="$ac_aux_dir/ltmain.sh"
17664
17665
17666 # We use sed instead of cat because bash on DJGPP gets confused if
17667 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17668 # text mode, it properly converts lines to CR/LF. This bash problem
17669 # is reportedly fixed, but why not run on old versions too?
17670 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17671 || (rm -f "$cfgfile"; exit 1)
17672
17673 case $xsi_shell in
17674 yes)
17675 cat << \_LT_EOF >> "$cfgfile"
17676
17677 # func_dirname file append nondir_replacement
17678 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17679 # otherwise set result to NONDIR_REPLACEMENT.
17680 func_dirname ()
17681 {
17682 case ${1} in
17683 */*) func_dirname_result="${1%/*}${2}" ;;
17684 * ) func_dirname_result="${3}" ;;
17685 esac
17686 }
17687
17688 # func_basename file
17689 func_basename ()
17690 {
17691 func_basename_result="${1##*/}"
17692 }
17693
17694 # func_dirname_and_basename file append nondir_replacement
17695 # perform func_basename and func_dirname in a single function
17696 # call:
17697 # dirname: Compute the dirname of FILE. If nonempty,
17698 # add APPEND to the result, otherwise set result
17699 # to NONDIR_REPLACEMENT.
17700 # value returned in "$func_dirname_result"
17701 # basename: Compute filename of FILE.
17702 # value retuned in "$func_basename_result"
17703 # Implementation must be kept synchronized with func_dirname
17704 # and func_basename. For efficiency, we do not delegate to
17705 # those functions but instead duplicate the functionality here.
17706 func_dirname_and_basename ()
17707 {
17708 case ${1} in
17709 */*) func_dirname_result="${1%/*}${2}" ;;
17710 * ) func_dirname_result="${3}" ;;
17711 esac
17712 func_basename_result="${1##*/}"
17713 }
17714
17715 # func_stripname prefix suffix name
17716 # strip PREFIX and SUFFIX off of NAME.
17717 # PREFIX and SUFFIX must not contain globbing or regex special
17718 # characters, hashes, percent signs, but SUFFIX may contain a leading
17719 # dot (in which case that matches only a dot).
17720 func_stripname ()
17721 {
17722 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17723 # positional parameters, so assign one to ordinary parameter first.
17724 func_stripname_result=${3}
17725 func_stripname_result=${func_stripname_result#"${1}"}
17726 func_stripname_result=${func_stripname_result%"${2}"}
17727 }
17728
17729 # func_opt_split
17730 func_opt_split ()
17731 {
17732 func_opt_split_opt=${1%%=*}
17733 func_opt_split_arg=${1#*=}
17734 }
17735
17736 # func_lo2o object
17737 func_lo2o ()
17738 {
17739 case ${1} in
17740 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17741 *) func_lo2o_result=${1} ;;
17742 esac
17743 }
17744
17745 # func_xform libobj-or-source
17746 func_xform ()
17747 {
17748 func_xform_result=${1%.*}.lo
17749 }
17750
17751 # func_arith arithmetic-term...
17752 func_arith ()
17753 {
17754 func_arith_result=$(( $* ))
17755 }
17756
17757 # func_len string
17758 # STRING may not start with a hyphen.
17759 func_len ()
17760 {
17761 func_len_result=${#1}
17762 }
17763
17764 _LT_EOF
17765 ;;
17766 *) # Bourne compatible functions.
17767 cat << \_LT_EOF >> "$cfgfile"
17768
17769 # func_dirname file append nondir_replacement
17770 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17771 # otherwise set result to NONDIR_REPLACEMENT.
17772 func_dirname ()
17773 {
17774 # Extract subdirectory from the argument.
17775 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17776 if test "X$func_dirname_result" = "X${1}"; then
17777 func_dirname_result="${3}"
17778 else
17779 func_dirname_result="$func_dirname_result${2}"
17780 fi
17781 }
17782
17783 # func_basename file
17784 func_basename ()
17785 {
17786 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17787 }
17788
17789
17790 # func_stripname prefix suffix name
17791 # strip PREFIX and SUFFIX off of NAME.
17792 # PREFIX and SUFFIX must not contain globbing or regex special
17793 # characters, hashes, percent signs, but SUFFIX may contain a leading
17794 # dot (in which case that matches only a dot).
17795 # func_strip_suffix prefix name
17796 func_stripname ()
17797 {
17798 case ${2} in
17799 .*) func_stripname_result=`$ECHO "X${3}" \
17800 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17801 *) func_stripname_result=`$ECHO "X${3}" \
17802 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17803 esac
17804 }
17805
17806 # sed scripts:
17807 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17808 my_sed_long_arg='1s/^-[^=]*=//'
17809
17810 # func_opt_split
17811 func_opt_split ()
17812 {
17813 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17814 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17815 }
17816
17817 # func_lo2o object
17818 func_lo2o ()
17819 {
17820 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17821 }
17822
17823 # func_xform libobj-or-source
17824 func_xform ()
17825 {
17826 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17827 }
17828
17829 # func_arith arithmetic-term...
17830 func_arith ()
17831 {
17832 func_arith_result=`expr "$@"`
17833 }
17834
17835 # func_len string
17836 # STRING may not start with a hyphen.
17837 func_len ()
17838 {
17839 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17840 }
17841
17842 _LT_EOF
17843 esac
17844
17845 case $lt_shell_append in
17846 yes)
17847 cat << \_LT_EOF >> "$cfgfile"
17848
17849 # func_append var value
17850 # Append VALUE to the end of shell variable VAR.
17851 func_append ()
17852 {
17853 eval "$1+=\$2"
17854 }
17855 _LT_EOF
17856 ;;
17857 *)
17858 cat << \_LT_EOF >> "$cfgfile"
17859
17860 # func_append var value
17861 # Append VALUE to the end of shell variable VAR.
17862 func_append ()
17863 {
17864 eval "$1=\$$1\$2"
17865 }
17866
17867 _LT_EOF
17868 ;;
17869 esac
17870
17871
17872 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17873 || (rm -f "$cfgfile"; exit 1)
17874
17875 mv -f "$cfgfile" "$ofile" ||
17876 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17877 chmod +x "$ofile"
17878
17879
17880 cat <<_LT_EOF >> "$ofile"
17881
17882 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17883
17884 # The linker used to build libraries.
17885 LD=$lt_LD_CXX
17886
17887 # Commands used to build an old-style archive.
17888 old_archive_cmds=$lt_old_archive_cmds_CXX
17889
17890 # A language specific compiler.
17891 CC=$lt_compiler_CXX
17892
17893 # Is the compiler the GNU compiler?
17894 with_gcc=$GCC_CXX
17895
17896 # Compiler flag to turn off builtin functions.
17897 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17898
17899 # How to pass a linker flag through the compiler.
17900 wl=$lt_lt_prog_compiler_wl_CXX
17901
17902 # Additional compiler flags for building library objects.
17903 pic_flag=$lt_lt_prog_compiler_pic_CXX
17904
17905 # Compiler flag to prevent dynamic linking.
17906 link_static_flag=$lt_lt_prog_compiler_static_CXX
17907
17908 # Does compiler simultaneously support -c and -o options?
17909 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17910
17911 # Whether or not to add -lc for building shared libraries.
17912 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17913
17914 # Whether or not to disallow shared libs when runtime libs are static.
17915 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17916
17917 # Compiler flag to allow reflexive dlopens.
17918 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17919
17920 # Compiler flag to generate shared objects directly from archives.
17921 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17922
17923 # Whether the compiler copes with passing no objects directly.
17924 compiler_needs_object=$lt_compiler_needs_object_CXX
17925
17926 # Create an old-style archive from a shared archive.
17927 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17928
17929 # Create a temporary old-style archive to link instead of a shared archive.
17930 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17931
17932 # Commands used to build a shared archive.
17933 archive_cmds=$lt_archive_cmds_CXX
17934 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17935
17936 # Commands used to build a loadable module if different from building
17937 # a shared archive.
17938 module_cmds=$lt_module_cmds_CXX
17939 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17940
17941 # Whether we are building with GNU ld or not.
17942 with_gnu_ld=$lt_with_gnu_ld_CXX
17943
17944 # Flag that allows shared libraries with undefined symbols to be built.
17945 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17946
17947 # Flag that enforces no undefined symbols.
17948 no_undefined_flag=$lt_no_undefined_flag_CXX
17949
17950 # Flag to hardcode \$libdir into a binary during linking.
17951 # This must work even if \$libdir does not exist
17952 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17953
17954 # If ld is used when linking, flag to hardcode \$libdir into a binary
17955 # during linking. This must work even if \$libdir does not exist.
17956 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17957
17958 # Whether we need a single "-rpath" flag with a separated argument.
17959 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17960
17961 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17962 # DIR into the resulting binary.
17963 hardcode_direct=$hardcode_direct_CXX
17964
17965 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17966 # DIR into the resulting binary and the resulting library dependency is
17967 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17968 # library is relocated.
17969 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17970
17971 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17972 # into the resulting binary.
17973 hardcode_minus_L=$hardcode_minus_L_CXX
17974
17975 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17976 # into the resulting binary.
17977 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17978
17979 # Set to "yes" if building a shared library automatically hardcodes DIR
17980 # into the library and all subsequent libraries and executables linked
17981 # against it.
17982 hardcode_automatic=$hardcode_automatic_CXX
17983
17984 # Set to yes if linker adds runtime paths of dependent libraries
17985 # to runtime path list.
17986 inherit_rpath=$inherit_rpath_CXX
17987
17988 # Whether libtool must link a program against all its dependency libraries.
17989 link_all_deplibs=$link_all_deplibs_CXX
17990
17991 # Fix the shell variable \$srcfile for the compiler.
17992 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17993
17994 # Set to "yes" if exported symbols are required.
17995 always_export_symbols=$always_export_symbols_CXX
17996
17997 # The commands to list exported symbols.
17998 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17999
18000 # Symbols that should not be listed in the preloaded symbols.
18001 exclude_expsyms=$lt_exclude_expsyms_CXX
18002
18003 # Symbols that must always be exported.
18004 include_expsyms=$lt_include_expsyms_CXX
18005
18006 # Commands necessary for linking programs (against libraries) with templates.
18007 prelink_cmds=$lt_prelink_cmds_CXX
18008
18009 # Specify filename containing input files.
18010 file_list_spec=$lt_file_list_spec_CXX
18011
18012 # How to hardcode a shared library path into an executable.
18013 hardcode_action=$hardcode_action_CXX
18014
18015 # The directories searched by this compiler when creating a shared library.
18016 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18017
18018 # Dependencies to place before and after the objects being linked to
18019 # create a shared library.
18020 predep_objects=$lt_predep_objects_CXX
18021 postdep_objects=$lt_postdep_objects_CXX
18022 predeps=$lt_predeps_CXX
18023 postdeps=$lt_postdeps_CXX
18024
18025 # The library search path used internally by the compiler when linking
18026 # a shared library.
18027 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18028
18029 # ### END LIBTOOL TAG CONFIG: CXX
18030 _LT_EOF
18031
18032 ;;
18033
18034 esac
18035 done # for ac_tag
18036
18037
18038 as_fn_exit 0
18039 _ACEOF
18040 ac_clean_files=$ac_clean_files_save
18041
18042 test $ac_write_fail = 0 ||
18043 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18044
18045
18046 # configure is writing to config.log, and then calls config.status.
18047 # config.status does its own redirection, appending to config.log.
18048 # Unfortunately, on DOS this fails, as config.log is still kept open
18049 # by configure, so config.status won't be able to write to it; its
18050 # output is simply discarded. So we exec the FD to /dev/null,
18051 # effectively closing config.log, so it can be properly (re)opened and
18052 # appended to by config.status. When coming back to configure, we
18053 # need to make the FD available again.
18054 if test "$no_create" != yes; then
18055 ac_cs_success=:
18056 ac_config_status_args=
18057 test "$silent" = yes &&
18058 ac_config_status_args="$ac_config_status_args --quiet"
18059 exec 5>/dev/null
18060 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18061 exec 5>>config.log
18062 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18063 # would make configure fail if this is the last instruction.
18064 $ac_cs_success || as_fn_exit 1
18065 fi
18066 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18068 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18069 fi
18070
18071
+0
-18068
ibmgtsim/autom4te.cache/output.1 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.69 for ibmgtsim 1.5.7.
3 @%:@
4 @%:@
5 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 @%:@
7 @%:@
8 @%:@ This configure script is free software; the Free Software Foundation
9 @%:@ gives unlimited permission to copy, distribute and modify it.
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 emulate sh
18 NULLCMD=:
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in @%:@(
25 *posix*) :
26 set -o posix ;; @%:@(
27 *) :
28 ;;
29 esac
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in @%:@(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
70
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
78 fi
79
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
87
88 # Find who we are. Look in the path if we contain no directory separator.
89 as_myself=
90 case $0 in @%:@((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in @%:@ ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in @%:@(
169 *posix*) :
170 set -o posix ;; @%:@(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198 test \$(( 1 + 1 )) = 2 || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in @%:@(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in @%:@ ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
270 fi
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 @%:@ as_fn_unset VAR
285 @%:@ ---------------
286 @%:@ Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 @%:@ as_fn_set_status STATUS
294 @%:@ -----------------------
295 @%:@ Set @S|@? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } @%:@ as_fn_set_status
300
301 @%:@ as_fn_exit STATUS
302 @%:@ -----------------
303 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } @%:@ as_fn_exit
310
311 @%:@ as_fn_mkdir_p
312 @%:@ -------------
313 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } @%:@ as_fn_mkdir_p
358
359 @%:@ as_fn_executable_p FILE
360 @%:@ -----------------------
361 @%:@ Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } @%:@ as_fn_executable_p
366 @%:@ as_fn_append VAR VALUE
367 @%:@ ----------------------
368 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
369 @%:@ advantage of any shell optimizations that allow amortized linear growth over
370 @%:@ repeated appends, instead of the typical quadratic growth present in naive
371 @%:@ implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 @%:@ as_fn_arith ARG...
385 @%:@ ------------------
386 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
387 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
388 @%:@ must be portable across @S|@(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
403 @%:@ ----------------------------------------
404 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 @%:@ script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } @%:@ as_fn_error
417
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
423 fi
424
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
429 fi
430
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
455
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
478 N
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
497 }
498
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in @%:@(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
508 *)
509 ECHO_N='-n';;
510 esac
511
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
538
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
544 fi
545
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
548
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556
557 # Check that we are running under the correct shell.
558 SHELL=${CONFIG_SHELL-/bin/sh}
559
560 case X$lt_ECHO in
561 X*--fallback-echo)
562 # Remove one level of quotation (which was required for Make).
563 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 ;;
565 esac
566
567 ECHO=${lt_ECHO-echo}
568 if test "X$1" = X--no-reexec; then
569 # Discard the --no-reexec flag, and continue.
570 shift
571 elif test "X$1" = X--fallback-echo; then
572 # Avoid inline document here, it may be left over
573 :
574 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
575 # Yippee, $ECHO works!
576 :
577 else
578 # Restart under the correct shell.
579 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 fi
581
582 if test "X$1" = X--fallback-echo; then
583 # used as fallback echo
584 shift
585 cat <<_LT_EOF
586 $*
587 _LT_EOF
588 exit 0
589 fi
590
591 # The HP-UX ksh and POSIX shell print the target directory to stdout
592 # if CDPATH is set.
593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
594
595 if test -z "$lt_ECHO"; then
596 if test "X${echo_test_string+set}" != Xset; then
597 # find a string as large as possible, as long as the shell can cope with it
598 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
599 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
600 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
601 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
602 then
603 break
604 fi
605 done
606 fi
607
608 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
609 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
611 :
612 else
613 # The Solaris, AIX, and Digital Unix default echo programs unquote
614 # backslashes. This makes it impossible to quote backslashes using
615 # echo "$something" | sed 's/\\/\\\\/g'
616 #
617 # So, first we look for a working echo in the user's PATH.
618
619 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
620 for dir in $PATH /usr/ucb; do
621 IFS="$lt_save_ifs"
622 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
623 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
626 ECHO="$dir/echo"
627 break
628 fi
629 done
630 IFS="$lt_save_ifs"
631
632 if test "X$ECHO" = Xecho; then
633 # We didn't find a better echo, so look for alternatives.
634 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
635 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 # This shell has a builtin print -r that does the trick.
638 ECHO='print -r'
639 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
640 test "X$CONFIG_SHELL" != X/bin/ksh; then
641 # If we have ksh, try running configure again with it.
642 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
643 export ORIGINAL_CONFIG_SHELL
644 CONFIG_SHELL=/bin/ksh
645 export CONFIG_SHELL
646 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 else
648 # Try using printf.
649 ECHO='printf %s\n'
650 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
651 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
653 # Cool, printf works
654 :
655 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
656 test "X$echo_testing_string" = 'X\t' &&
657 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
660 export CONFIG_SHELL
661 SHELL="$CONFIG_SHELL"
662 export SHELL
663 ECHO="$CONFIG_SHELL $0 --fallback-echo"
664 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
665 test "X$echo_testing_string" = 'X\t' &&
666 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
667 test "X$echo_testing_string" = "X$echo_test_string"; then
668 ECHO="$CONFIG_SHELL $0 --fallback-echo"
669 else
670 # maybe with a smaller string...
671 prev=:
672
673 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
674 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
675 then
676 break
677 fi
678 prev="$cmd"
679 done
680
681 if test "$prev" != 'sed 50q "$0"'; then
682 echo_test_string=`eval $prev`
683 export echo_test_string
684 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 else
686 # Oops. We lost completely, so just stick with echo.
687 ECHO=echo
688 fi
689 fi
690 fi
691 fi
692 fi
693 fi
694
695 # Copy echo and quote the copy suitably for passing to libtool from
696 # the Makefile, instead of quoting the original, which is used later.
697 lt_ECHO=$ECHO
698 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
699 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
700 fi
701
702
703
704
705 test -n "$DJDIR" || exec 7<&0 </dev/null
706 exec 6>&1
707
708 # Name of the host.
709 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
713 #
714 # Initializations.
715 #
716 ac_default_prefix=/usr/local
717 ac_clean_files=
718 ac_config_libobj_dir=.
719 LIB@&t@OBJS=
720 cross_compiling=no
721 subdirs=
722 MFLAGS=
723 MAKEFLAGS=
724
725 # Identity of this package.
726 PACKAGE_NAME='ibmgtsim'
727 PACKAGE_TARNAME='ibmgtsim'
728 PACKAGE_VERSION='1.5.7'
729 PACKAGE_STRING='ibmgtsim 1.5.7'
730 PACKAGE_BUGREPORT=''
731 PACKAGE_URL=''
732
733 ac_unique_file="src/sim.h"
734 # Factoring default headers for most tests.
735 ac_includes_default="\
736 #include <stdio.h>
737 #ifdef HAVE_SYS_TYPES_H
738 # include <sys/types.h>
739 #endif
740 #ifdef HAVE_SYS_STAT_H
741 # include <sys/stat.h>
742 #endif
743 #ifdef STDC_HEADERS
744 # include <stdlib.h>
745 # include <stddef.h>
746 #else
747 # ifdef HAVE_STDLIB_H
748 # include <stdlib.h>
749 # endif
750 #endif
751 #ifdef HAVE_STRING_H
752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753 # include <memory.h>
754 # endif
755 # include <string.h>
756 #endif
757 #ifdef HAVE_STRINGS_H
758 # include <strings.h>
759 #endif
760 #ifdef HAVE_INTTYPES_H
761 # include <inttypes.h>
762 #endif
763 #ifdef HAVE_STDINT_H
764 # include <stdint.h>
765 #endif
766 #ifdef HAVE_UNISTD_H
767 # include <unistd.h>
768 #endif"
769
770 ac_subst_vars='am__EXEEXT_FALSE
771 am__EXEEXT_TRUE
772 LTLIBOBJS
773 LIB@&t@OBJS
774 OSM_BUILD
775 OSM_VENDOR
776 OSM_LDFLAGS
777 OSM_CFLAGS
778 with_osm
779 OSM_BUILD_OPENIB_FALSE
780 OSM_BUILD_OPENIB_TRUE
781 OSM_VENDOR_SIM_FALSE
782 OSM_VENDOR_SIM_TRUE
783 OSM_VENDOR_MTL_FALSE
784 OSM_VENDOR_MTL_TRUE
785 OSM_VENDOR_TS_FALSE
786 OSM_VENDOR_TS_TRUE
787 with_ibdm
788 IBDM_REF_IS_USED_FALSE
789 IBDM_REF_IS_USED_TRUE
790 DEBUG_FALSE
791 DEBUG_TRUE
792 TCL_PREFIX
793 TCL_CPPFLAGS
794 TCL_LIBS
795 TCL_DEFS
796 TCLSH
797 CXXCPP
798 OTOOL64
799 OTOOL
800 LIPO
801 NMEDIT
802 DSYMUTIL
803 lt_ECHO
804 RANLIB
805 AR
806 OBJDUMP
807 NM
808 ac_ct_DUMPBIN
809 DUMPBIN
810 LD
811 FGREP
812 EGREP
813 GREP
814 SED
815 host_os
816 host_vendor
817 host_cpu
818 host
819 build_os
820 build_vendor
821 build_cpu
822 build
823 LIBTOOL
824 SWIG_LIB
825 HAS_SWIG_FALSE
826 HAS_SWIG_TRUE
827 SWIG
828 LN_S
829 CPP
830 am__fastdepCC_FALSE
831 am__fastdepCC_TRUE
832 CCDEPMODE
833 ac_ct_CC
834 CFLAGS
835 CC
836 am__fastdepCXX_FALSE
837 am__fastdepCXX_TRUE
838 CXXDEPMODE
839 AMDEPBACKSLASH
840 AMDEP_FALSE
841 AMDEP_TRUE
842 am__quote
843 am__include
844 DEPDIR
845 OBJEXT
846 EXEEXT
847 ac_ct_CXX
848 CPPFLAGS
849 LDFLAGS
850 CXXFLAGS
851 CXX
852 MAINT
853 MAINTAINER_MODE_FALSE
854 MAINTAINER_MODE_TRUE
855 am__untar
856 am__tar
857 AMTAR
858 am__leading_dot
859 SET_MAKE
860 AWK
861 mkdir_p
862 MKDIR_P
863 INSTALL_STRIP_PROGRAM
864 STRIP
865 install_sh
866 MAKEINFO
867 AUTOHEADER
868 AUTOMAKE
869 AUTOCONF
870 ACLOCAL
871 VERSION
872 PACKAGE
873 CYGPATH_W
874 am__isrc
875 INSTALL_DATA
876 INSTALL_SCRIPT
877 INSTALL_PROGRAM
878 target_alias
879 host_alias
880 build_alias
881 LIBS
882 ECHO_T
883 ECHO_N
884 ECHO_C
885 DEFS
886 mandir
887 localedir
888 libdir
889 psdir
890 pdfdir
891 dvidir
892 htmldir
893 infodir
894 docdir
895 oldincludedir
896 includedir
897 localstatedir
898 sharedstatedir
899 sysconfdir
900 datadir
901 datarootdir
902 libexecdir
903 sbindir
904 bindir
905 program_transform_name
906 prefix
907 exec_prefix
908 PACKAGE_URL
909 PACKAGE_BUGREPORT
910 PACKAGE_STRING
911 PACKAGE_VERSION
912 PACKAGE_TARNAME
913 PACKAGE_NAME
914 PATH_SEPARATOR
915 SHELL'
916 ac_subst_files=''
917 ac_user_opts='
918 enable_option_checking
919 enable_maintainer_mode
920 enable_dependency_tracking
921 enable_shared
922 enable_static
923 with_pic
924 enable_fast_install
925 with_gnu_ld
926 enable_libtool_lock
927 enable_libcheck
928 with_tclconfig
929 with_tcl
930 with_tclsh
931 enable_debug
932 with_ibdm
933 with_osm
934 with_osm_libs
935 '
936 ac_precious_vars='build_alias
937 host_alias
938 target_alias
939 CXX
940 CXXFLAGS
941 LDFLAGS
942 LIBS
943 CPPFLAGS
944 CCC
945 CC
946 CFLAGS
947 CPP
948 CXXCPP'
949
950
951 # Initialize some variables set by options.
952 ac_init_help=
953 ac_init_version=false
954 ac_unrecognized_opts=
955 ac_unrecognized_sep=
956 # The variables have the same names as the options, with
957 # dashes changed to underlines.
958 cache_file=/dev/null
959 exec_prefix=NONE
960 no_create=
961 no_recursion=
962 prefix=NONE
963 program_prefix=NONE
964 program_suffix=NONE
965 program_transform_name=s,x,x,
966 silent=
967 site=
968 srcdir=
969 verbose=
970 x_includes=NONE
971 x_libraries=NONE
972
973 # Installation directory options.
974 # These are left unexpanded so users can "make install exec_prefix=/foo"
975 # and all the variables that are supposed to be based on exec_prefix
976 # by default will actually change.
977 # Use braces instead of parens because sh, perl, etc. also accept them.
978 # (The list follows the same order as the GNU Coding Standards.)
979 bindir='${exec_prefix}/bin'
980 sbindir='${exec_prefix}/sbin'
981 libexecdir='${exec_prefix}/libexec'
982 datarootdir='${prefix}/share'
983 datadir='${datarootdir}'
984 sysconfdir='${prefix}/etc'
985 sharedstatedir='${prefix}/com'
986 localstatedir='${prefix}/var'
987 includedir='${prefix}/include'
988 oldincludedir='/usr/include'
989 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
990 infodir='${datarootdir}/info'
991 htmldir='${docdir}'
992 dvidir='${docdir}'
993 pdfdir='${docdir}'
994 psdir='${docdir}'
995 libdir='${exec_prefix}/lib'
996 localedir='${datarootdir}/locale'
997 mandir='${datarootdir}/man'
998
999 ac_prev=
1000 ac_dashdash=
1001 for ac_option
1002 do
1003 # If the previous option needs an argument, assign it.
1004 if test -n "$ac_prev"; then
1005 eval $ac_prev=\$ac_option
1006 ac_prev=
1007 continue
1008 fi
1009
1010 case $ac_option in
1011 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1012 *=) ac_optarg= ;;
1013 *) ac_optarg=yes ;;
1014 esac
1015
1016 # Accept the important Cygnus configure options, so we can diagnose typos.
1017
1018 case $ac_dashdash$ac_option in
1019 --)
1020 ac_dashdash=yes ;;
1021
1022 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1023 ac_prev=bindir ;;
1024 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1025 bindir=$ac_optarg ;;
1026
1027 -build | --build | --buil | --bui | --bu)
1028 ac_prev=build_alias ;;
1029 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1030 build_alias=$ac_optarg ;;
1031
1032 -cache-file | --cache-file | --cache-fil | --cache-fi \
1033 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1034 ac_prev=cache_file ;;
1035 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1036 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1037 cache_file=$ac_optarg ;;
1038
1039 --config-cache | -C)
1040 cache_file=config.cache ;;
1041
1042 -datadir | --datadir | --datadi | --datad)
1043 ac_prev=datadir ;;
1044 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1045 datadir=$ac_optarg ;;
1046
1047 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1048 | --dataroo | --dataro | --datar)
1049 ac_prev=datarootdir ;;
1050 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1051 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1052 datarootdir=$ac_optarg ;;
1053
1054 -disable-* | --disable-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid feature name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1062 *"
1063 "enable_$ac_useropt"
1064 "*) ;;
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1067 esac
1068 eval enable_$ac_useropt=no ;;
1069
1070 -docdir | --docdir | --docdi | --doc | --do)
1071 ac_prev=docdir ;;
1072 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1073 docdir=$ac_optarg ;;
1074
1075 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1076 ac_prev=dvidir ;;
1077 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1078 dvidir=$ac_optarg ;;
1079
1080 -enable-* | --enable-*)
1081 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 as_fn_error $? "invalid feature name: $ac_useropt"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1088 *"
1089 "enable_$ac_useropt"
1090 "*) ;;
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1093 esac
1094 eval enable_$ac_useropt=\$ac_optarg ;;
1095
1096 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1097 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1098 | --exec | --exe | --ex)
1099 ac_prev=exec_prefix ;;
1100 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1101 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1102 | --exec=* | --exe=* | --ex=*)
1103 exec_prefix=$ac_optarg ;;
1104
1105 -gas | --gas | --ga | --g)
1106 # Obsolete; use --with-gas.
1107 with_gas=yes ;;
1108
1109 -help | --help | --hel | --he | -h)
1110 ac_init_help=long ;;
1111 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1112 ac_init_help=recursive ;;
1113 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1114 ac_init_help=short ;;
1115
1116 -host | --host | --hos | --ho)
1117 ac_prev=host_alias ;;
1118 -host=* | --host=* | --hos=* | --ho=*)
1119 host_alias=$ac_optarg ;;
1120
1121 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1122 ac_prev=htmldir ;;
1123 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1124 | --ht=*)
1125 htmldir=$ac_optarg ;;
1126
1127 -includedir | --includedir | --includedi | --included | --include \
1128 | --includ | --inclu | --incl | --inc)
1129 ac_prev=includedir ;;
1130 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1131 | --includ=* | --inclu=* | --incl=* | --inc=*)
1132 includedir=$ac_optarg ;;
1133
1134 -infodir | --infodir | --infodi | --infod | --info | --inf)
1135 ac_prev=infodir ;;
1136 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1137 infodir=$ac_optarg ;;
1138
1139 -libdir | --libdir | --libdi | --libd)
1140 ac_prev=libdir ;;
1141 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1142 libdir=$ac_optarg ;;
1143
1144 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1145 | --libexe | --libex | --libe)
1146 ac_prev=libexecdir ;;
1147 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1148 | --libexe=* | --libex=* | --libe=*)
1149 libexecdir=$ac_optarg ;;
1150
1151 -localedir | --localedir | --localedi | --localed | --locale)
1152 ac_prev=localedir ;;
1153 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1154 localedir=$ac_optarg ;;
1155
1156 -localstatedir | --localstatedir | --localstatedi | --localstated \
1157 | --localstate | --localstat | --localsta | --localst | --locals)
1158 ac_prev=localstatedir ;;
1159 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1160 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1161 localstatedir=$ac_optarg ;;
1162
1163 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1164 ac_prev=mandir ;;
1165 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1166 mandir=$ac_optarg ;;
1167
1168 -nfp | --nfp | --nf)
1169 # Obsolete; use --without-fp.
1170 with_fp=no ;;
1171
1172 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1173 | --no-cr | --no-c | -n)
1174 no_create=yes ;;
1175
1176 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1177 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1178 no_recursion=yes ;;
1179
1180 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1181 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1182 | --oldin | --oldi | --old | --ol | --o)
1183 ac_prev=oldincludedir ;;
1184 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1185 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1186 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1187 oldincludedir=$ac_optarg ;;
1188
1189 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1190 ac_prev=prefix ;;
1191 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1192 prefix=$ac_optarg ;;
1193
1194 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1195 | --program-pre | --program-pr | --program-p)
1196 ac_prev=program_prefix ;;
1197 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1198 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1199 program_prefix=$ac_optarg ;;
1200
1201 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1202 | --program-suf | --program-su | --program-s)
1203 ac_prev=program_suffix ;;
1204 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1205 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1206 program_suffix=$ac_optarg ;;
1207
1208 -program-transform-name | --program-transform-name \
1209 | --program-transform-nam | --program-transform-na \
1210 | --program-transform-n | --program-transform- \
1211 | --program-transform | --program-transfor \
1212 | --program-transfo | --program-transf \
1213 | --program-trans | --program-tran \
1214 | --progr-tra | --program-tr | --program-t)
1215 ac_prev=program_transform_name ;;
1216 -program-transform-name=* | --program-transform-name=* \
1217 | --program-transform-nam=* | --program-transform-na=* \
1218 | --program-transform-n=* | --program-transform-=* \
1219 | --program-transform=* | --program-transfor=* \
1220 | --program-transfo=* | --program-transf=* \
1221 | --program-trans=* | --program-tran=* \
1222 | --progr-tra=* | --program-tr=* | --program-t=*)
1223 program_transform_name=$ac_optarg ;;
1224
1225 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1226 ac_prev=pdfdir ;;
1227 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1228 pdfdir=$ac_optarg ;;
1229
1230 -psdir | --psdir | --psdi | --psd | --ps)
1231 ac_prev=psdir ;;
1232 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1233 psdir=$ac_optarg ;;
1234
1235 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1236 | -silent | --silent | --silen | --sile | --sil)
1237 silent=yes ;;
1238
1239 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1240 ac_prev=sbindir ;;
1241 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1242 | --sbi=* | --sb=*)
1243 sbindir=$ac_optarg ;;
1244
1245 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1246 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1247 | --sharedst | --shareds | --shared | --share | --shar \
1248 | --sha | --sh)
1249 ac_prev=sharedstatedir ;;
1250 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1251 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1252 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1253 | --sha=* | --sh=*)
1254 sharedstatedir=$ac_optarg ;;
1255
1256 -site | --site | --sit)
1257 ac_prev=site ;;
1258 -site=* | --site=* | --sit=*)
1259 site=$ac_optarg ;;
1260
1261 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1262 ac_prev=srcdir ;;
1263 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1264 srcdir=$ac_optarg ;;
1265
1266 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1267 | --syscon | --sysco | --sysc | --sys | --sy)
1268 ac_prev=sysconfdir ;;
1269 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1270 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1271 sysconfdir=$ac_optarg ;;
1272
1273 -target | --target | --targe | --targ | --tar | --ta | --t)
1274 ac_prev=target_alias ;;
1275 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1276 target_alias=$ac_optarg ;;
1277
1278 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1279 verbose=yes ;;
1280
1281 -version | --version | --versio | --versi | --vers | -V)
1282 ac_init_version=: ;;
1283
1284 -with-* | --with-*)
1285 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1286 # Reject names that are not valid shell variable names.
1287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1288 as_fn_error $? "invalid package name: $ac_useropt"
1289 ac_useropt_orig=$ac_useropt
1290 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291 case $ac_user_opts in
1292 *"
1293 "with_$ac_useropt"
1294 "*) ;;
1295 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1296 ac_unrecognized_sep=', ';;
1297 esac
1298 eval with_$ac_useropt=\$ac_optarg ;;
1299
1300 -without-* | --without-*)
1301 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1302 # Reject names that are not valid shell variable names.
1303 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1304 as_fn_error $? "invalid package name: $ac_useropt"
1305 ac_useropt_orig=$ac_useropt
1306 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1307 case $ac_user_opts in
1308 *"
1309 "with_$ac_useropt"
1310 "*) ;;
1311 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1312 ac_unrecognized_sep=', ';;
1313 esac
1314 eval with_$ac_useropt=no ;;
1315
1316 --x)
1317 # Obsolete; use --with-x.
1318 with_x=yes ;;
1319
1320 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1321 | --x-incl | --x-inc | --x-in | --x-i)
1322 ac_prev=x_includes ;;
1323 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1324 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1325 x_includes=$ac_optarg ;;
1326
1327 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1328 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1329 ac_prev=x_libraries ;;
1330 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1331 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1332 x_libraries=$ac_optarg ;;
1333
1334 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1335 Try \`$0 --help' for more information"
1336 ;;
1337
1338 *=*)
1339 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1340 # Reject names that are not valid shell variable names.
1341 case $ac_envvar in #(
1342 '' | [0-9]* | *[!_$as_cr_alnum]* )
1343 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1344 esac
1345 eval $ac_envvar=\$ac_optarg
1346 export $ac_envvar ;;
1347
1348 *)
1349 # FIXME: should be removed in autoconf 3.0.
1350 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1351 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1352 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1353 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1354 ;;
1355
1356 esac
1357 done
1358
1359 if test -n "$ac_prev"; then
1360 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1361 as_fn_error $? "missing argument to $ac_option"
1362 fi
1363
1364 if test -n "$ac_unrecognized_opts"; then
1365 case $enable_option_checking in
1366 no) ;;
1367 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1368 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1369 esac
1370 fi
1371
1372 # Check all directory arguments for consistency.
1373 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1374 datadir sysconfdir sharedstatedir localstatedir includedir \
1375 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1376 libdir localedir mandir
1377 do
1378 eval ac_val=\$$ac_var
1379 # Remove trailing slashes.
1380 case $ac_val in
1381 */ )
1382 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1383 eval $ac_var=\$ac_val;;
1384 esac
1385 # Be sure to have absolute directory names.
1386 case $ac_val in
1387 [\\/$]* | ?:[\\/]* ) continue;;
1388 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1389 esac
1390 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1391 done
1392
1393 # There might be people who depend on the old broken behavior: `$host'
1394 # used to hold the argument of --host etc.
1395 # FIXME: To remove some day.
1396 build=$build_alias
1397 host=$host_alias
1398 target=$target_alias
1399
1400 # FIXME: To remove some day.
1401 if test "x$host_alias" != x; then
1402 if test "x$build_alias" = x; then
1403 cross_compiling=maybe
1404 elif test "x$build_alias" != "x$host_alias"; then
1405 cross_compiling=yes
1406 fi
1407 fi
1408
1409 ac_tool_prefix=
1410 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1411
1412 test "$silent" = yes && exec 6>/dev/null
1413
1414
1415 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1416 ac_ls_di=`ls -di .` &&
1417 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1418 as_fn_error $? "working directory cannot be determined"
1419 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1420 as_fn_error $? "pwd does not report name of working directory"
1421
1422
1423 # Find the source files, if location was not specified.
1424 if test -z "$srcdir"; then
1425 ac_srcdir_defaulted=yes
1426 # Try the directory containing this script, then the parent directory.
1427 ac_confdir=`$as_dirname -- "$as_myself" ||
1428 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1429 X"$as_myself" : 'X\(//\)[^/]' \| \
1430 X"$as_myself" : 'X\(//\)$' \| \
1431 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1432 $as_echo X"$as_myself" |
1433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1434 s//\1/
1435 q
1436 }
1437 /^X\(\/\/\)[^/].*/{
1438 s//\1/
1439 q
1440 }
1441 /^X\(\/\/\)$/{
1442 s//\1/
1443 q
1444 }
1445 /^X\(\/\).*/{
1446 s//\1/
1447 q
1448 }
1449 s/.*/./; q'`
1450 srcdir=$ac_confdir
1451 if test ! -r "$srcdir/$ac_unique_file"; then
1452 srcdir=..
1453 fi
1454 else
1455 ac_srcdir_defaulted=no
1456 fi
1457 if test ! -r "$srcdir/$ac_unique_file"; then
1458 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1459 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1460 fi
1461 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1462 ac_abs_confdir=`(
1463 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1464 pwd)`
1465 # When building in place, set srcdir=.
1466 if test "$ac_abs_confdir" = "$ac_pwd"; then
1467 srcdir=.
1468 fi
1469 # Remove unnecessary trailing slashes from srcdir.
1470 # Double slashes in file names in object file debugging info
1471 # mess up M-x gdb in Emacs.
1472 case $srcdir in
1473 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1474 esac
1475 for ac_var in $ac_precious_vars; do
1476 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1477 eval ac_env_${ac_var}_value=\$${ac_var}
1478 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1479 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1480 done
1481
1482 #
1483 # Report the --help message.
1484 #
1485 if test "$ac_init_help" = "long"; then
1486 # Omit some internal or obsolete options to make the list less imposing.
1487 # This message is too long to be a string in the A/UX 3.1 sh.
1488 cat <<_ACEOF
1489 \`configure' configures ibmgtsim 1.5.7 to adapt to many kinds of systems.
1490
1491 Usage: $0 [OPTION]... [VAR=VALUE]...
1492
1493 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1494 VAR=VALUE. See below for descriptions of some of the useful variables.
1495
1496 Defaults for the options are specified in brackets.
1497
1498 Configuration:
1499 -h, --help display this help and exit
1500 --help=short display options specific to this package
1501 --help=recursive display the short help of all the included packages
1502 -V, --version display version information and exit
1503 -q, --quiet, --silent do not print \`checking ...' messages
1504 --cache-file=FILE cache test results in FILE [disabled]
1505 -C, --config-cache alias for \`--cache-file=config.cache'
1506 -n, --no-create do not create output files
1507 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1508
1509 Installation directories:
1510 --prefix=PREFIX install architecture-independent files in PREFIX
1511 @<:@@S|@ac_default_prefix@:>@
1512 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1513 @<:@PREFIX@:>@
1514
1515 By default, \`make install' will install all the files in
1516 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1517 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1518 for instance \`--prefix=\$HOME'.
1519
1520 For better control, use the options below.
1521
1522 Fine tuning of the installation directories:
1523 --bindir=DIR user executables [EPREFIX/bin]
1524 --sbindir=DIR system admin executables [EPREFIX/sbin]
1525 --libexecdir=DIR program executables [EPREFIX/libexec]
1526 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1527 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1528 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1529 --libdir=DIR object code libraries [EPREFIX/lib]
1530 --includedir=DIR C header files [PREFIX/include]
1531 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1532 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1533 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1534 --infodir=DIR info documentation [DATAROOTDIR/info]
1535 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1536 --mandir=DIR man documentation [DATAROOTDIR/man]
1537 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ibmgtsim@:>@
1538 --htmldir=DIR html documentation [DOCDIR]
1539 --dvidir=DIR dvi documentation [DOCDIR]
1540 --pdfdir=DIR pdf documentation [DOCDIR]
1541 --psdir=DIR ps documentation [DOCDIR]
1542 _ACEOF
1543
1544 cat <<\_ACEOF
1545
1546 Program names:
1547 --program-prefix=PREFIX prepend PREFIX to installed program names
1548 --program-suffix=SUFFIX append SUFFIX to installed program names
1549 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1550
1551 System types:
1552 --build=BUILD configure for building on BUILD [guessed]
1553 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1554 _ACEOF
1555 fi
1556
1557 if test -n "$ac_init_help"; then
1558 case $ac_init_help in
1559 short | recursive ) echo "Configuration of ibmgtsim 1.5.7:";;
1560 esac
1561 cat <<\_ACEOF
1562
1563 Optional Features:
1564 --disable-option-checking ignore unrecognized --enable/--with options
1565 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1566 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1567 --enable-maintainer-mode enable make rules and dependencies not useful
1568 (and sometimes confusing) to the casual installer
1569 --disable-dependency-tracking speeds up one-time build
1570 --enable-dependency-tracking do not reject slow dependency extractors
1571 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1572 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1573 --enable-fast-install@<:@=PKGS@:>@
1574 optimize for fast installation @<:@default=yes@:>@
1575 --disable-libtool-lock avoid locking (might break parallel builds)
1576 --enable-libcheck Enable Dependency Checking
1577 --enable-debug Turn on debugging
1578
1579 Optional Packages:
1580 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1581 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1582 --with-pic try to use only PIC/non-PIC objects @<:@default=use
1583 both@:>@
1584 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1585 --with-tclconfig=PATH use tclConfig.sh from PATH
1586 (configure gets Tcl configuration from here)
1587 --with-tcl=PATH use Tcl from PATH
1588 --with-tclsh=TCLSH use TCLSH as the tclsh program
1589 (let configure find Tcl using this program)
1590 --with-ibdm=<dir> define where to find IBDM
1591 --with-osm=<dir> define OSM prefix
1592 --with-osm-libs=<dir> define where to find OSM libs
1593
1594 Some influential environment variables:
1595 CXX C++ compiler command
1596 CXXFLAGS C++ compiler flags
1597 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1598 nonstandard directory <lib dir>
1599 LIBS libraries to pass to the linker, e.g. -l<library>
1600 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1601 you have headers in a nonstandard directory <include dir>
1602 CC C compiler command
1603 CFLAGS C compiler flags
1604 CPP C preprocessor
1605 CXXCPP C++ preprocessor
1606
1607 Use these variables to override the choices made by `configure' or to help
1608 it to find libraries and programs with nonstandard names/locations.
1609
1610 Report bugs to the package provider.
1611 _ACEOF
1612 ac_status=$?
1613 fi
1614
1615 if test "$ac_init_help" = "recursive"; then
1616 # If there are subdirs, report their specific --help.
1617 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1618 test -d "$ac_dir" ||
1619 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1620 continue
1621 ac_builddir=.
1622
1623 case "$ac_dir" in
1624 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1625 *)
1626 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1627 # A ".." for each directory in $ac_dir_suffix.
1628 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1629 case $ac_top_builddir_sub in
1630 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1631 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1632 esac ;;
1633 esac
1634 ac_abs_top_builddir=$ac_pwd
1635 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1636 # for backward compatibility:
1637 ac_top_builddir=$ac_top_build_prefix
1638
1639 case $srcdir in
1640 .) # We are building in place.
1641 ac_srcdir=.
1642 ac_top_srcdir=$ac_top_builddir_sub
1643 ac_abs_top_srcdir=$ac_pwd ;;
1644 [\\/]* | ?:[\\/]* ) # Absolute name.
1645 ac_srcdir=$srcdir$ac_dir_suffix;
1646 ac_top_srcdir=$srcdir
1647 ac_abs_top_srcdir=$srcdir ;;
1648 *) # Relative name.
1649 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1650 ac_top_srcdir=$ac_top_build_prefix$srcdir
1651 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1652 esac
1653 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1654
1655 cd "$ac_dir" || { ac_status=$?; continue; }
1656 # Check for guested configure.
1657 if test -f "$ac_srcdir/configure.gnu"; then
1658 echo &&
1659 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1660 elif test -f "$ac_srcdir/configure"; then
1661 echo &&
1662 $SHELL "$ac_srcdir/configure" --help=recursive
1663 else
1664 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1665 fi || ac_status=$?
1666 cd "$ac_pwd" || { ac_status=$?; break; }
1667 done
1668 fi
1669
1670 test -n "$ac_init_help" && exit $ac_status
1671 if $ac_init_version; then
1672 cat <<\_ACEOF
1673 ibmgtsim configure 1.5.7
1674 generated by GNU Autoconf 2.69
1675
1676 Copyright (C) 2012 Free Software Foundation, Inc.
1677 This configure script is free software; the Free Software Foundation
1678 gives unlimited permission to copy, distribute and modify it.
1679 _ACEOF
1680 exit
1681 fi
1682
1683 ## ------------------------ ##
1684 ## Autoconf initialization. ##
1685 ## ------------------------ ##
1686
1687 @%:@ ac_fn_cxx_try_compile LINENO
1688 @%:@ ----------------------------
1689 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1690 ac_fn_cxx_try_compile ()
1691 {
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 rm -f conftest.$ac_objext
1694 if { { ac_try="$ac_compile"
1695 case "(($ac_try" in
1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1698 esac
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_compile") 2>conftest.err
1702 ac_status=$?
1703 if test -s conftest.err; then
1704 grep -v '^ *+' conftest.err >conftest.er1
1705 cat conftest.er1 >&5
1706 mv -f conftest.er1 conftest.err
1707 fi
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && {
1710 test -z "$ac_cxx_werror_flag" ||
1711 test ! -s conftest.err
1712 } && test -s conftest.$ac_objext; then :
1713 ac_retval=0
1714 else
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1717
1718 ac_retval=1
1719 fi
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status $ac_retval
1722
1723 } @%:@ ac_fn_cxx_try_compile
1724
1725 @%:@ ac_fn_c_try_compile LINENO
1726 @%:@ --------------------------
1727 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1728 ac_fn_c_try_compile ()
1729 {
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 rm -f conftest.$ac_objext
1732 if { { ac_try="$ac_compile"
1733 case "(($ac_try" in
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_compile") 2>conftest.err
1740 ac_status=$?
1741 if test -s conftest.err; then
1742 grep -v '^ *+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1745 fi
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest.$ac_objext; then :
1751 ac_retval=0
1752 else
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1755
1756 ac_retval=1
1757 fi
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 as_fn_set_status $ac_retval
1760
1761 } @%:@ ac_fn_c_try_compile
1762
1763 @%:@ ac_fn_c_try_cpp LINENO
1764 @%:@ ----------------------
1765 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1766 ac_fn_c_try_cpp ()
1767 {
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 if { { ac_try="$ac_cpp conftest.$ac_ext"
1770 case "(($ac_try" in
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1777 ac_status=$?
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1782 fi
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } > conftest.i && {
1785 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1787 }; then :
1788 ac_retval=0
1789 else
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1792
1793 ac_retval=1
1794 fi
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 as_fn_set_status $ac_retval
1797
1798 } @%:@ ac_fn_c_try_cpp
1799
1800 @%:@ ac_fn_c_try_link LINENO
1801 @%:@ -----------------------
1802 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1803 ac_fn_c_try_link ()
1804 {
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 rm -f conftest.$ac_objext conftest$ac_exeext
1807 if { { ac_try="$ac_link"
1808 case "(($ac_try" in
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1811 esac
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_link") 2>conftest.err
1815 ac_status=$?
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1820 fi
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && {
1823 test -z "$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 } && test -s conftest$ac_exeext && {
1826 test "$cross_compiling" = yes ||
1827 test -x conftest$ac_exeext
1828 }; then :
1829 ac_retval=0
1830 else
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1833
1834 ac_retval=1
1835 fi
1836 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1837 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1838 # interfere with the next link command; also delete a directory that is
1839 # left behind by Apple's compiler. We do this before executing the actions.
1840 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842 as_fn_set_status $ac_retval
1843
1844 } @%:@ ac_fn_c_try_link
1845
1846 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1847 @%:@ -------------------------------------------------------
1848 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1849 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1850 ac_fn_c_check_header_compile ()
1851 {
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if eval \${$3+:} false; then :
1856 $as_echo_n "(cached) " >&6
1857 else
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1860 $4
1861 @%:@include <$2>
1862 _ACEOF
1863 if ac_fn_c_try_compile "$LINENO"; then :
1864 eval "$3=yes"
1865 else
1866 eval "$3=no"
1867 fi
1868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869 fi
1870 eval ac_res=\$$3
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874
1875 } @%:@ ac_fn_c_check_header_compile
1876
1877 @%:@ ac_fn_c_try_run LINENO
1878 @%:@ ----------------------
1879 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1880 @%:@ that executables *can* be run.
1881 ac_fn_c_try_run ()
1882 {
1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884 if { { ac_try="$ac_link"
1885 case "(($ac_try" in
1886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1887 *) ac_try_echo=$ac_try;;
1888 esac
1889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1890 $as_echo "$ac_try_echo"; } >&5
1891 (eval "$ac_link") 2>&5
1892 ac_status=$?
1893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1894 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1895 { { case "(($ac_try" in
1896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1897 *) ac_try_echo=$ac_try;;
1898 esac
1899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1900 $as_echo "$ac_try_echo"; } >&5
1901 (eval "$ac_try") 2>&5
1902 ac_status=$?
1903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904 test $ac_status = 0; }; }; then :
1905 ac_retval=0
1906 else
1907 $as_echo "$as_me: program exited with status $ac_status" >&5
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1910
1911 ac_retval=$ac_status
1912 fi
1913 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915 as_fn_set_status $ac_retval
1916
1917 } @%:@ ac_fn_c_try_run
1918
1919 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1920 @%:@ ----------------------------------
1921 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1922 ac_fn_c_check_func ()
1923 {
1924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926 $as_echo_n "checking for $2... " >&6; }
1927 if eval \${$3+:} false; then :
1928 $as_echo_n "(cached) " >&6
1929 else
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1932 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1934 #define $2 innocuous_$2
1935
1936 /* System header to define __stub macros and hopefully few prototypes,
1937 which can conflict with char $2 (); below.
1938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1939 <limits.h> exists even on freestanding compilers. */
1940
1941 #ifdef __STDC__
1942 # include <limits.h>
1943 #else
1944 # include <assert.h>
1945 #endif
1946
1947 #undef $2
1948
1949 /* Override any GCC internal prototype to avoid an error.
1950 Use char because int might match the return type of a GCC
1951 builtin and then its argument prototype would still apply. */
1952 #ifdef __cplusplus
1953 extern "C"
1954 #endif
1955 char $2 ();
1956 /* The GNU C library defines this for functions which it implements
1957 to always fail with ENOSYS. Some functions are actually named
1958 something starting with __ and the normal name is an alias. */
1959 #if defined __stub_$2 || defined __stub___$2
1960 choke me
1961 #endif
1962
1963 int
1964 main ()
1965 {
1966 return $2 ();
1967 ;
1968 return 0;
1969 }
1970 _ACEOF
1971 if ac_fn_c_try_link "$LINENO"; then :
1972 eval "$3=yes"
1973 else
1974 eval "$3=no"
1975 fi
1976 rm -f core conftest.err conftest.$ac_objext \
1977 conftest$ac_exeext conftest.$ac_ext
1978 fi
1979 eval ac_res=\$$3
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983
1984 } @%:@ ac_fn_c_check_func
1985
1986 @%:@ ac_fn_cxx_try_cpp LINENO
1987 @%:@ ------------------------
1988 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_cpp ()
1990 {
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 if { { ac_try="$ac_cpp conftest.$ac_ext"
1993 case "(($ac_try" in
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2000 ac_status=$?
2001 if test -s conftest.err; then
2002 grep -v '^ *+' conftest.err >conftest.er1
2003 cat conftest.er1 >&5
2004 mv -f conftest.er1 conftest.err
2005 fi
2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007 test $ac_status = 0; } > conftest.i && {
2008 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2009 test ! -s conftest.err
2010 }; then :
2011 ac_retval=0
2012 else
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2015
2016 ac_retval=1
2017 fi
2018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019 as_fn_set_status $ac_retval
2020
2021 } @%:@ ac_fn_cxx_try_cpp
2022
2023 @%:@ ac_fn_cxx_try_link LINENO
2024 @%:@ -------------------------
2025 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2026 ac_fn_cxx_try_link ()
2027 {
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 rm -f conftest.$ac_objext conftest$ac_exeext
2030 if { { ac_try="$ac_link"
2031 case "(($ac_try" in
2032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2033 *) ac_try_echo=$ac_try;;
2034 esac
2035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2036 $as_echo "$ac_try_echo"; } >&5
2037 (eval "$ac_link") 2>conftest.err
2038 ac_status=$?
2039 if test -s conftest.err; then
2040 grep -v '^ *+' conftest.err >conftest.er1
2041 cat conftest.er1 >&5
2042 mv -f conftest.er1 conftest.err
2043 fi
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; } && {
2046 test -z "$ac_cxx_werror_flag" ||
2047 test ! -s conftest.err
2048 } && test -s conftest$ac_exeext && {
2049 test "$cross_compiling" = yes ||
2050 test -x conftest$ac_exeext
2051 }; then :
2052 ac_retval=0
2053 else
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2056
2057 ac_retval=1
2058 fi
2059 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2060 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2061 # interfere with the next link command; also delete a directory that is
2062 # left behind by Apple's compiler. We do this before executing the actions.
2063 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2064 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2065 as_fn_set_status $ac_retval
2066
2067 } @%:@ ac_fn_cxx_try_link
2068
2069 @%:@ ac_fn_cxx_try_run LINENO
2070 @%:@ ------------------------
2071 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2072 @%:@ that executables *can* be run.
2073 ac_fn_cxx_try_run ()
2074 {
2075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2076 if { { ac_try="$ac_link"
2077 case "(($ac_try" in
2078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2079 *) ac_try_echo=$ac_try;;
2080 esac
2081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2082 $as_echo "$ac_try_echo"; } >&5
2083 (eval "$ac_link") 2>&5
2084 ac_status=$?
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2087 { { case "(($ac_try" in
2088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2089 *) ac_try_echo=$ac_try;;
2090 esac
2091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2092 $as_echo "$ac_try_echo"; } >&5
2093 (eval "$ac_try") 2>&5
2094 ac_status=$?
2095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2096 test $ac_status = 0; }; }; then :
2097 ac_retval=0
2098 else
2099 $as_echo "$as_me: program exited with status $ac_status" >&5
2100 $as_echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.$ac_ext >&5
2102
2103 ac_retval=$ac_status
2104 fi
2105 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2107 as_fn_set_status $ac_retval
2108
2109 } @%:@ ac_fn_cxx_try_run
2110
2111 @%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2112 @%:@ ---------------------------------------------------------
2113 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2114 @%:@ the include files in INCLUDES and setting the cache variable VAR
2115 @%:@ accordingly.
2116 ac_fn_cxx_check_header_mongrel ()
2117 {
2118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119 if eval \${$3+:} false; then :
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121 $as_echo_n "checking for $2... " >&6; }
2122 if eval \${$3+:} false; then :
2123 $as_echo_n "(cached) " >&6
2124 fi
2125 eval ac_res=\$$3
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2128 else
2129 # Is the header compilable?
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2131 $as_echo_n "checking $2 usability... " >&6; }
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2134 $4
2135 @%:@include <$2>
2136 _ACEOF
2137 if ac_fn_cxx_try_compile "$LINENO"; then :
2138 ac_header_compiler=yes
2139 else
2140 ac_header_compiler=no
2141 fi
2142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2144 $as_echo "$ac_header_compiler" >&6; }
2145
2146 # Is the header present?
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2148 $as_echo_n "checking $2 presence... " >&6; }
2149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2150 /* end confdefs.h. */
2151 @%:@include <$2>
2152 _ACEOF
2153 if ac_fn_cxx_try_cpp "$LINENO"; then :
2154 ac_header_preproc=yes
2155 else
2156 ac_header_preproc=no
2157 fi
2158 rm -f conftest.err conftest.i conftest.$ac_ext
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2160 $as_echo "$ac_header_preproc" >&6; }
2161
2162 # So? What about this header?
2163 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2164 yes:no: )
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2166 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2169 ;;
2170 no:yes:* )
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2172 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2174 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2176 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2178 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2180 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2181 ;;
2182 esac
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2184 $as_echo_n "checking for $2... " >&6; }
2185 if eval \${$3+:} false; then :
2186 $as_echo_n "(cached) " >&6
2187 else
2188 eval "$3=\$ac_header_compiler"
2189 fi
2190 eval ac_res=\$$3
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2192 $as_echo "$ac_res" >&6; }
2193 fi
2194 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2195
2196 } @%:@ ac_fn_cxx_check_header_mongrel
2197
2198 @%:@ ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2199 @%:@ ---------------------------------------------
2200 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2201 @%:@ variable VAR accordingly.
2202 ac_fn_cxx_check_type ()
2203 {
2204 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2206 $as_echo_n "checking for $2... " >&6; }
2207 if eval \${$3+:} false; then :
2208 $as_echo_n "(cached) " >&6
2209 else
2210 eval "$3=no"
2211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2212 /* end confdefs.h. */
2213 $4
2214 int
2215 main ()
2216 {
2217 if (sizeof ($2))
2218 return 0;
2219 ;
2220 return 0;
2221 }
2222 _ACEOF
2223 if ac_fn_cxx_try_compile "$LINENO"; then :
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2226 $4
2227 int
2228 main ()
2229 {
2230 if (sizeof (($2)))
2231 return 0;
2232 ;
2233 return 0;
2234 }
2235 _ACEOF
2236 if ac_fn_cxx_try_compile "$LINENO"; then :
2237
2238 else
2239 eval "$3=yes"
2240 fi
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2242 fi
2243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2244 fi
2245 eval ac_res=\$$3
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2248 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2249
2250 } @%:@ ac_fn_cxx_check_type
2251
2252 @%:@ ac_fn_cxx_check_func LINENO FUNC VAR
2253 @%:@ ------------------------------------
2254 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2255 ac_fn_cxx_check_func ()
2256 {
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2259 $as_echo_n "checking for $2... " >&6; }
2260 if eval \${$3+:} false; then :
2261 $as_echo_n "(cached) " >&6
2262 else
2263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2264 /* end confdefs.h. */
2265 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2267 #define $2 innocuous_$2
2268
2269 /* System header to define __stub macros and hopefully few prototypes,
2270 which can conflict with char $2 (); below.
2271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2272 <limits.h> exists even on freestanding compilers. */
2273
2274 #ifdef __STDC__
2275 # include <limits.h>
2276 #else
2277 # include <assert.h>
2278 #endif
2279
2280 #undef $2
2281
2282 /* Override any GCC internal prototype to avoid an error.
2283 Use char because int might match the return type of a GCC
2284 builtin and then its argument prototype would still apply. */
2285 #ifdef __cplusplus
2286 extern "C"
2287 #endif
2288 char $2 ();
2289 /* The GNU C library defines this for functions which it implements
2290 to always fail with ENOSYS. Some functions are actually named
2291 something starting with __ and the normal name is an alias. */
2292 #if defined __stub_$2 || defined __stub___$2
2293 choke me
2294 #endif
2295
2296 int
2297 main ()
2298 {
2299 return $2 ();
2300 ;
2301 return 0;
2302 }
2303 _ACEOF
2304 if ac_fn_cxx_try_link "$LINENO"; then :
2305 eval "$3=yes"
2306 else
2307 eval "$3=no"
2308 fi
2309 rm -f core conftest.err conftest.$ac_objext \
2310 conftest$ac_exeext conftest.$ac_ext
2311 fi
2312 eval ac_res=\$$3
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2314 $as_echo "$ac_res" >&6; }
2315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2316
2317 } @%:@ ac_fn_cxx_check_func
2318 cat >config.log <<_ACEOF
2319 This file contains any messages produced by compilers while
2320 running configure, to aid debugging if configure makes a mistake.
2321
2322 It was created by ibmgtsim $as_me 1.5.7, which was
2323 generated by GNU Autoconf 2.69. Invocation command line was
2324
2325 $ $0 $@
2326
2327 _ACEOF
2328 exec 5>>config.log
2329 {
2330 cat <<_ASUNAME
2331 ## --------- ##
2332 ## Platform. ##
2333 ## --------- ##
2334
2335 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2336 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2337 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2338 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2339 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2340
2341 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2342 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2343
2344 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2345 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2346 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2347 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2348 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2349 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2350 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2351
2352 _ASUNAME
2353
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 for as_dir in $PATH
2356 do
2357 IFS=$as_save_IFS
2358 test -z "$as_dir" && as_dir=.
2359 $as_echo "PATH: $as_dir"
2360 done
2361 IFS=$as_save_IFS
2362
2363 } >&5
2364
2365 cat >&5 <<_ACEOF
2366
2367
2368 ## ----------- ##
2369 ## Core tests. ##
2370 ## ----------- ##
2371
2372 _ACEOF
2373
2374
2375 # Keep a trace of the command line.
2376 # Strip out --no-create and --no-recursion so they do not pile up.
2377 # Strip out --silent because we don't want to record it for future runs.
2378 # Also quote any args containing shell meta-characters.
2379 # Make two passes to allow for proper duplicate-argument suppression.
2380 ac_configure_args=
2381 ac_configure_args0=
2382 ac_configure_args1=
2383 ac_must_keep_next=false
2384 for ac_pass in 1 2
2385 do
2386 for ac_arg
2387 do
2388 case $ac_arg in
2389 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2391 | -silent | --silent | --silen | --sile | --sil)
2392 continue ;;
2393 *\'*)
2394 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2395 esac
2396 case $ac_pass in
2397 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2398 2)
2399 as_fn_append ac_configure_args1 " '$ac_arg'"
2400 if test $ac_must_keep_next = true; then
2401 ac_must_keep_next=false # Got value, back to normal.
2402 else
2403 case $ac_arg in
2404 *=* | --config-cache | -C | -disable-* | --disable-* \
2405 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2406 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2407 | -with-* | --with-* | -without-* | --without-* | --x)
2408 case "$ac_configure_args0 " in
2409 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2410 esac
2411 ;;
2412 -* ) ac_must_keep_next=true ;;
2413 esac
2414 fi
2415 as_fn_append ac_configure_args " '$ac_arg'"
2416 ;;
2417 esac
2418 done
2419 done
2420 { ac_configure_args0=; unset ac_configure_args0;}
2421 { ac_configure_args1=; unset ac_configure_args1;}
2422
2423 # When interrupted or exit'd, cleanup temporary files, and complete
2424 # config.log. We remove comments because anyway the quotes in there
2425 # would cause problems or look ugly.
2426 # WARNING: Use '\'' to represent an apostrophe within the trap.
2427 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2428 trap 'exit_status=$?
2429 # Save into config.log some information that might help in debugging.
2430 {
2431 echo
2432
2433 $as_echo "## ---------------- ##
2434 ## Cache variables. ##
2435 ## ---------------- ##"
2436 echo
2437 # The following way of writing the cache mishandles newlines in values,
2438 (
2439 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2440 eval ac_val=\$$ac_var
2441 case $ac_val in #(
2442 *${as_nl}*)
2443 case $ac_var in #(
2444 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2446 esac
2447 case $ac_var in #(
2448 _ | IFS | as_nl) ;; #(
2449 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2450 *) { eval $ac_var=; unset $ac_var;} ;;
2451 esac ;;
2452 esac
2453 done
2454 (set) 2>&1 |
2455 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2456 *${as_nl}ac_space=\ *)
2457 sed -n \
2458 "s/'\''/'\''\\\\'\'''\''/g;
2459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2460 ;; #(
2461 *)
2462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2463 ;;
2464 esac |
2465 sort
2466 )
2467 echo
2468
2469 $as_echo "## ----------------- ##
2470 ## Output variables. ##
2471 ## ----------------- ##"
2472 echo
2473 for ac_var in $ac_subst_vars
2474 do
2475 eval ac_val=\$$ac_var
2476 case $ac_val in
2477 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2478 esac
2479 $as_echo "$ac_var='\''$ac_val'\''"
2480 done | sort
2481 echo
2482
2483 if test -n "$ac_subst_files"; then
2484 $as_echo "## ------------------- ##
2485 ## File substitutions. ##
2486 ## ------------------- ##"
2487 echo
2488 for ac_var in $ac_subst_files
2489 do
2490 eval ac_val=\$$ac_var
2491 case $ac_val in
2492 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2493 esac
2494 $as_echo "$ac_var='\''$ac_val'\''"
2495 done | sort
2496 echo
2497 fi
2498
2499 if test -s confdefs.h; then
2500 $as_echo "## ----------- ##
2501 ## confdefs.h. ##
2502 ## ----------- ##"
2503 echo
2504 cat confdefs.h
2505 echo
2506 fi
2507 test "$ac_signal" != 0 &&
2508 $as_echo "$as_me: caught signal $ac_signal"
2509 $as_echo "$as_me: exit $exit_status"
2510 } >&5
2511 rm -f core *.core core.conftest.* &&
2512 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2513 exit $exit_status
2514 ' 0
2515 for ac_signal in 1 2 13 15; do
2516 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2517 done
2518 ac_signal=0
2519
2520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2521 rm -f -r conftest* confdefs.h
2522
2523 $as_echo "/* confdefs.h */" > confdefs.h
2524
2525 # Predefined preprocessor variables.
2526
2527 cat >>confdefs.h <<_ACEOF
2528 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2529 _ACEOF
2530
2531 cat >>confdefs.h <<_ACEOF
2532 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2533 _ACEOF
2534
2535 cat >>confdefs.h <<_ACEOF
2536 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2537 _ACEOF
2538
2539 cat >>confdefs.h <<_ACEOF
2540 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2541 _ACEOF
2542
2543 cat >>confdefs.h <<_ACEOF
2544 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2545 _ACEOF
2546
2547 cat >>confdefs.h <<_ACEOF
2548 @%:@define PACKAGE_URL "$PACKAGE_URL"
2549 _ACEOF
2550
2551
2552 # Let the site file select an alternate cache file if it wants to.
2553 # Prefer an explicitly selected file to automatically selected ones.
2554 ac_site_file1=NONE
2555 ac_site_file2=NONE
2556 if test -n "$CONFIG_SITE"; then
2557 # We do not want a PATH search for config.site.
2558 case $CONFIG_SITE in @%:@((
2559 -*) ac_site_file1=./$CONFIG_SITE;;
2560 */*) ac_site_file1=$CONFIG_SITE;;
2561 *) ac_site_file1=./$CONFIG_SITE;;
2562 esac
2563 elif test "x$prefix" != xNONE; then
2564 ac_site_file1=$prefix/share/config.site
2565 ac_site_file2=$prefix/etc/config.site
2566 else
2567 ac_site_file1=$ac_default_prefix/share/config.site
2568 ac_site_file2=$ac_default_prefix/etc/config.site
2569 fi
2570 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2571 do
2572 test "x$ac_site_file" = xNONE && continue
2573 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2575 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2576 sed 's/^/| /' "$ac_site_file" >&5
2577 . "$ac_site_file" \
2578 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580 as_fn_error $? "failed to load site script $ac_site_file
2581 See \`config.log' for more details" "$LINENO" 5; }
2582 fi
2583 done
2584
2585 if test -r "$cache_file"; then
2586 # Some versions of bash will fail to source /dev/null (special files
2587 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2588 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2590 $as_echo "$as_me: loading cache $cache_file" >&6;}
2591 case $cache_file in
2592 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2593 *) . "./$cache_file";;
2594 esac
2595 fi
2596 else
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2598 $as_echo "$as_me: creating cache $cache_file" >&6;}
2599 >$cache_file
2600 fi
2601
2602 # Check that the precious variables saved in the cache have kept the same
2603 # value.
2604 ac_cache_corrupted=false
2605 for ac_var in $ac_precious_vars; do
2606 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2607 eval ac_new_set=\$ac_env_${ac_var}_set
2608 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2609 eval ac_new_val=\$ac_env_${ac_var}_value
2610 case $ac_old_set,$ac_new_set in
2611 set,)
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2613 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2614 ac_cache_corrupted=: ;;
2615 ,set)
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2617 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2618 ac_cache_corrupted=: ;;
2619 ,);;
2620 *)
2621 if test "x$ac_old_val" != "x$ac_new_val"; then
2622 # differences in whitespace do not lead to failure.
2623 ac_old_val_w=`echo x $ac_old_val`
2624 ac_new_val_w=`echo x $ac_new_val`
2625 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2627 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2628 ac_cache_corrupted=:
2629 else
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2631 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2632 eval $ac_var=\$ac_old_val
2633 fi
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2635 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2637 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2638 fi;;
2639 esac
2640 # Pass precious variables to config.status.
2641 if test "$ac_new_set" = set; then
2642 case $ac_new_val in
2643 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2644 *) ac_arg=$ac_var=$ac_new_val ;;
2645 esac
2646 case " $ac_configure_args " in
2647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2648 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2649 esac
2650 fi
2651 done
2652 if $ac_cache_corrupted; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2656 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2657 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2658 fi
2659 ## -------------------- ##
2660 ## Main body of script. ##
2661 ## -------------------- ##
2662
2663 ac_ext=c
2664 ac_cpp='$CPP $CPPFLAGS'
2665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2668
2669
2670
2671
2672 ac_aux_dir=
2673 for ac_dir in config "$srcdir"/config; do
2674 if test -f "$ac_dir/install-sh"; then
2675 ac_aux_dir=$ac_dir
2676 ac_install_sh="$ac_aux_dir/install-sh -c"
2677 break
2678 elif test -f "$ac_dir/install.sh"; then
2679 ac_aux_dir=$ac_dir
2680 ac_install_sh="$ac_aux_dir/install.sh -c"
2681 break
2682 elif test -f "$ac_dir/shtool"; then
2683 ac_aux_dir=$ac_dir
2684 ac_install_sh="$ac_aux_dir/shtool install -c"
2685 break
2686 fi
2687 done
2688 if test -z "$ac_aux_dir"; then
2689 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2690 fi
2691
2692 # These three variables are undocumented and unsupported,
2693 # and are intended to be withdrawn in a future Autoconf release.
2694 # They can cause serious problems if a builder's source tree is in a directory
2695 # whose full name contains unusual characters.
2696 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2697 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2698 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2699
2700
2701
2702 ac_ext=cpp
2703 ac_cpp='$CXXCPP $CPPFLAGS'
2704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2707
2708
2709 ac_config_headers="$ac_config_headers config.h"
2710
2711
2712 am__api_version='1.11'
2713
2714 # Find a good install program. We prefer a C program (faster),
2715 # so one script is as good as another. But avoid the broken or
2716 # incompatible versions:
2717 # SysV /etc/install, /usr/sbin/install
2718 # SunOS /usr/etc/install
2719 # IRIX /sbin/install
2720 # AIX /bin/install
2721 # AmigaOS /C/install, which installs bootblocks on floppy discs
2722 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2723 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2724 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2725 # OS/2's system install, which has a completely different semantic
2726 # ./install, which can be erroneously created by make from ./install.sh.
2727 # Reject install programs that cannot install multiple files.
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2729 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2730 if test -z "$INSTALL"; then
2731 if ${ac_cv_path_install+:} false; then :
2732 $as_echo_n "(cached) " >&6
2733 else
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 for as_dir in $PATH
2736 do
2737 IFS=$as_save_IFS
2738 test -z "$as_dir" && as_dir=.
2739 # Account for people who put trailing slashes in PATH elements.
2740 case $as_dir/ in @%:@((
2741 ./ | .// | /[cC]/* | \
2742 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2743 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2744 /usr/ucb/* ) ;;
2745 *)
2746 # OSF1 and SCO ODT 3.0 have their own names for install.
2747 # Don't use installbsd from OSF since it installs stuff as root
2748 # by default.
2749 for ac_prog in ginstall scoinst install; do
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2752 if test $ac_prog = install &&
2753 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2754 # AIX install. It has an incompatible calling convention.
2755 :
2756 elif test $ac_prog = install &&
2757 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2758 # program-specific install script used by HP pwplus--don't use.
2759 :
2760 else
2761 rm -rf conftest.one conftest.two conftest.dir
2762 echo one > conftest.one
2763 echo two > conftest.two
2764 mkdir conftest.dir
2765 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2766 test -s conftest.one && test -s conftest.two &&
2767 test -s conftest.dir/conftest.one &&
2768 test -s conftest.dir/conftest.two
2769 then
2770 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2771 break 3
2772 fi
2773 fi
2774 fi
2775 done
2776 done
2777 ;;
2778 esac
2779
2780 done
2781 IFS=$as_save_IFS
2782
2783 rm -rf conftest.one conftest.two conftest.dir
2784
2785 fi
2786 if test "${ac_cv_path_install+set}" = set; then
2787 INSTALL=$ac_cv_path_install
2788 else
2789 # As a last resort, use the slow shell script. Don't cache a
2790 # value for INSTALL within a source directory, because that will
2791 # break other packages using the cache if that directory is
2792 # removed, or if the value is a relative name.
2793 INSTALL=$ac_install_sh
2794 fi
2795 fi
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2797 $as_echo "$INSTALL" >&6; }
2798
2799 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2800 # It thinks the first close brace ends the variable substitution.
2801 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2802
2803 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2804
2805 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2806
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2808 $as_echo_n "checking whether build environment is sane... " >&6; }
2809 # Just in case
2810 sleep 1
2811 echo timestamp > conftest.file
2812 # Reject unsafe characters in $srcdir or the absolute working directory
2813 # name. Accept space and tab only in the latter.
2814 am_lf='
2815 '
2816 case `pwd` in
2817 *[\\\"\#\$\&\'\`$am_lf]*)
2818 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2819 esac
2820 case $srcdir in
2821 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2822 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2823 esac
2824
2825 # Do `set' in a subshell so we don't clobber the current shell's
2826 # arguments. Must try -L first in case configure is actually a
2827 # symlink; some systems play weird games with the mod time of symlinks
2828 # (eg FreeBSD returns the mod time of the symlink's containing
2829 # directory).
2830 if (
2831 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2832 if test "$*" = "X"; then
2833 # -L didn't work.
2834 set X `ls -t "$srcdir/configure" conftest.file`
2835 fi
2836 rm -f conftest.file
2837 if test "$*" != "X $srcdir/configure conftest.file" \
2838 && test "$*" != "X conftest.file $srcdir/configure"; then
2839
2840 # If neither matched, then we have a broken ls. This can happen
2841 # if, for instance, CONFIG_SHELL is bash and it inherits a
2842 # broken ls alias from the environment. This has actually
2843 # happened. Such a system could not be considered "sane".
2844 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2845 alias in your environment" "$LINENO" 5
2846 fi
2847
2848 test "$2" = conftest.file
2849 )
2850 then
2851 # Ok.
2852 :
2853 else
2854 as_fn_error $? "newly created file is older than distributed files!
2855 Check your system clock" "$LINENO" 5
2856 fi
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2858 $as_echo "yes" >&6; }
2859 test "$program_prefix" != NONE &&
2860 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2861 # Use a double $ so make ignores it.
2862 test "$program_suffix" != NONE &&
2863 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2864 # Double any \ or $.
2865 # By default was `s,x,x', remove it if useless.
2866 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2867 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2868
2869 # expand $ac_aux_dir to an absolute path
2870 am_aux_dir=`cd $ac_aux_dir && pwd`
2871
2872 if test x"${MISSING+set}" != xset; then
2873 case $am_aux_dir in
2874 *\ * | *\ *)
2875 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2876 *)
2877 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2878 esac
2879 fi
2880 # Use eval to expand $SHELL
2881 if eval "$MISSING --run true"; then
2882 am_missing_run="$MISSING --run "
2883 else
2884 am_missing_run=
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2886 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2887 fi
2888
2889 if test x"${install_sh}" != xset; then
2890 case $am_aux_dir in
2891 *\ * | *\ *)
2892 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2893 *)
2894 install_sh="\${SHELL} $am_aux_dir/install-sh"
2895 esac
2896 fi
2897
2898 # Installed binaries are usually stripped using `strip' when the user
2899 # run `make install-strip'. However `strip' might not be the right
2900 # tool to use in cross-compilation environments, therefore Automake
2901 # will honor the `STRIP' environment variable to overrule this program.
2902 if test "$cross_compiling" != no; then
2903 if test -n "$ac_tool_prefix"; then
2904 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2905 set dummy ${ac_tool_prefix}strip; ac_word=$2
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2907 $as_echo_n "checking for $ac_word... " >&6; }
2908 if ${ac_cv_prog_STRIP+:} false; then :
2909 $as_echo_n "(cached) " >&6
2910 else
2911 if test -n "$STRIP"; then
2912 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2913 else
2914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2915 for as_dir in $PATH
2916 do
2917 IFS=$as_save_IFS
2918 test -z "$as_dir" && as_dir=.
2919 for ac_exec_ext in '' $ac_executable_extensions; do
2920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2921 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 break 2
2924 fi
2925 done
2926 done
2927 IFS=$as_save_IFS
2928
2929 fi
2930 fi
2931 STRIP=$ac_cv_prog_STRIP
2932 if test -n "$STRIP"; then
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2934 $as_echo "$STRIP" >&6; }
2935 else
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2937 $as_echo "no" >&6; }
2938 fi
2939
2940
2941 fi
2942 if test -z "$ac_cv_prog_STRIP"; then
2943 ac_ct_STRIP=$STRIP
2944 # Extract the first word of "strip", so it can be a program name with args.
2945 set dummy strip; ac_word=$2
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2947 $as_echo_n "checking for $ac_word... " >&6; }
2948 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2949 $as_echo_n "(cached) " >&6
2950 else
2951 if test -n "$ac_ct_STRIP"; then
2952 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2953 else
2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 for as_dir in $PATH
2956 do
2957 IFS=$as_save_IFS
2958 test -z "$as_dir" && as_dir=.
2959 for ac_exec_ext in '' $ac_executable_extensions; do
2960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2961 ac_cv_prog_ac_ct_STRIP="strip"
2962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 break 2
2964 fi
2965 done
2966 done
2967 IFS=$as_save_IFS
2968
2969 fi
2970 fi
2971 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2972 if test -n "$ac_ct_STRIP"; then
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2974 $as_echo "$ac_ct_STRIP" >&6; }
2975 else
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2977 $as_echo "no" >&6; }
2978 fi
2979
2980 if test "x$ac_ct_STRIP" = x; then
2981 STRIP=":"
2982 else
2983 case $cross_compiling:$ac_tool_warned in
2984 yes:)
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2987 ac_tool_warned=yes ;;
2988 esac
2989 STRIP=$ac_ct_STRIP
2990 fi
2991 else
2992 STRIP="$ac_cv_prog_STRIP"
2993 fi
2994
2995 fi
2996 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2997
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2999 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3000 if test -z "$MKDIR_P"; then
3001 if ${ac_cv_path_mkdir+:} false; then :
3002 $as_echo_n "(cached) " >&6
3003 else
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3006 do
3007 IFS=$as_save_IFS
3008 test -z "$as_dir" && as_dir=.
3009 for ac_prog in mkdir gmkdir; do
3010 for ac_exec_ext in '' $ac_executable_extensions; do
3011 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3012 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3013 'mkdir (GNU coreutils) '* | \
3014 'mkdir (coreutils) '* | \
3015 'mkdir (fileutils) '4.1*)
3016 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3017 break 3;;
3018 esac
3019 done
3020 done
3021 done
3022 IFS=$as_save_IFS
3023
3024 fi
3025
3026 test -d ./--version && rmdir ./--version
3027 if test "${ac_cv_path_mkdir+set}" = set; then
3028 MKDIR_P="$ac_cv_path_mkdir -p"
3029 else
3030 # As a last resort, use the slow shell script. Don't cache a
3031 # value for MKDIR_P within a source directory, because that will
3032 # break other packages using the cache if that directory is
3033 # removed, or if the value is a relative name.
3034 MKDIR_P="$ac_install_sh -d"
3035 fi
3036 fi
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3038 $as_echo "$MKDIR_P" >&6; }
3039
3040 mkdir_p="$MKDIR_P"
3041 case $mkdir_p in
3042 [\\/$]* | ?:[\\/]*) ;;
3043 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3044 esac
3045
3046 for ac_prog in gawk mawk nawk awk
3047 do
3048 # Extract the first word of "$ac_prog", so it can be a program name with args.
3049 set dummy $ac_prog; ac_word=$2
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3051 $as_echo_n "checking for $ac_word... " >&6; }
3052 if ${ac_cv_prog_AWK+:} false; then :
3053 $as_echo_n "(cached) " >&6
3054 else
3055 if test -n "$AWK"; then
3056 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3057 else
3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059 for as_dir in $PATH
3060 do
3061 IFS=$as_save_IFS
3062 test -z "$as_dir" && as_dir=.
3063 for ac_exec_ext in '' $ac_executable_extensions; do
3064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3065 ac_cv_prog_AWK="$ac_prog"
3066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3067 break 2
3068 fi
3069 done
3070 done
3071 IFS=$as_save_IFS
3072
3073 fi
3074 fi
3075 AWK=$ac_cv_prog_AWK
3076 if test -n "$AWK"; then
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3078 $as_echo "$AWK" >&6; }
3079 else
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3081 $as_echo "no" >&6; }
3082 fi
3083
3084
3085 test -n "$AWK" && break
3086 done
3087
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3089 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3090 set x ${MAKE-make}
3091 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3092 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3093 $as_echo_n "(cached) " >&6
3094 else
3095 cat >conftest.make <<\_ACEOF
3096 SHELL = /bin/sh
3097 all:
3098 @echo '@@@%%%=$(MAKE)=@@@%%%'
3099 _ACEOF
3100 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3101 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3102 *@@@%%%=?*=@@@%%%*)
3103 eval ac_cv_prog_make_${ac_make}_set=yes;;
3104 *)
3105 eval ac_cv_prog_make_${ac_make}_set=no;;
3106 esac
3107 rm -f conftest.make
3108 fi
3109 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3111 $as_echo "yes" >&6; }
3112 SET_MAKE=
3113 else
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3116 SET_MAKE="MAKE=${MAKE-make}"
3117 fi
3118
3119 rm -rf .tst 2>/dev/null
3120 mkdir .tst 2>/dev/null
3121 if test -d .tst; then
3122 am__leading_dot=.
3123 else
3124 am__leading_dot=_
3125 fi
3126 rmdir .tst 2>/dev/null
3127
3128 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3129 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3130 # is not polluted with repeated "-I."
3131 am__isrc=' -I$(srcdir)'
3132 # test to see if srcdir already configured
3133 if test -f $srcdir/config.status; then
3134 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3135 fi
3136 fi
3137
3138 # test whether we have cygpath
3139 if test -z "$CYGPATH_W"; then
3140 if (cygpath --version) >/dev/null 2>/dev/null; then
3141 CYGPATH_W='cygpath -w'
3142 else
3143 CYGPATH_W=echo
3144 fi
3145 fi
3146
3147
3148 # Define the identity of the package.
3149 PACKAGE='ibmgtsim'
3150 VERSION='1.5.7'
3151
3152
3153 cat >>confdefs.h <<_ACEOF
3154 @%:@define PACKAGE "$PACKAGE"
3155 _ACEOF
3156
3157
3158 cat >>confdefs.h <<_ACEOF
3159 @%:@define VERSION "$VERSION"
3160 _ACEOF
3161
3162 # Some tools Automake needs.
3163
3164 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3165
3166
3167 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3168
3169
3170 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3171
3172
3173 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3174
3175
3176 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3177
3178 # We need awk for the "check" target. The system "awk" is bad on
3179 # some platforms.
3180 # Always define AMTAR for backward compatibility.
3181
3182 AMTAR=${AMTAR-"${am_missing_run}tar"}
3183
3184 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3185
3186
3187
3188
3189
3190
3191
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3193 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3194 @%:@ Check whether --enable-maintainer-mode was given.
3195 if test "${enable_maintainer_mode+set}" = set; then :
3196 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3197 else
3198 USE_MAINTAINER_MODE=no
3199 fi
3200
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3202 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3203 if test $USE_MAINTAINER_MODE = yes; then
3204 MAINTAINER_MODE_TRUE=
3205 MAINTAINER_MODE_FALSE='#'
3206 else
3207 MAINTAINER_MODE_TRUE='#'
3208 MAINTAINER_MODE_FALSE=
3209 fi
3210
3211 MAINT=$MAINTAINER_MODE_TRUE
3212
3213
3214
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3216 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3217 set x ${MAKE-make}
3218 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3219 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3220 $as_echo_n "(cached) " >&6
3221 else
3222 cat >conftest.make <<\_ACEOF
3223 SHELL = /bin/sh
3224 all:
3225 @echo '@@@%%%=$(MAKE)=@@@%%%'
3226 _ACEOF
3227 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3228 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3229 *@@@%%%=?*=@@@%%%*)
3230 eval ac_cv_prog_make_${ac_make}_set=yes;;
3231 *)
3232 eval ac_cv_prog_make_${ac_make}_set=no;;
3233 esac
3234 rm -f conftest.make
3235 fi
3236 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238 $as_echo "yes" >&6; }
3239 SET_MAKE=
3240 else
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3243 SET_MAKE="MAKE=${MAKE-make}"
3244 fi
3245
3246
3247 save_cflags="$CFLAGS"
3248 save_cxxflags="$CXXFLAGS"
3249
3250 ac_ext=cpp
3251 ac_cpp='$CXXCPP $CPPFLAGS'
3252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3255 if test -z "$CXX"; then
3256 if test -n "$CCC"; then
3257 CXX=$CCC
3258 else
3259 if test -n "$ac_tool_prefix"; then
3260 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3261 do
3262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if ${ac_cv_prog_CXX+:} false; then :
3267 $as_echo_n "(cached) " >&6
3268 else
3269 if test -n "$CXX"; then
3270 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3271 else
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 for as_dir in $PATH
3274 do
3275 IFS=$as_save_IFS
3276 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 break 2
3282 fi
3283 done
3284 done
3285 IFS=$as_save_IFS
3286
3287 fi
3288 fi
3289 CXX=$ac_cv_prog_CXX
3290 if test -n "$CXX"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3292 $as_echo "$CXX" >&6; }
3293 else
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3296 fi
3297
3298
3299 test -n "$CXX" && break
3300 done
3301 fi
3302 if test -z "$CXX"; then
3303 ac_ct_CXX=$CXX
3304 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3305 do
3306 # Extract the first word of "$ac_prog", so it can be a program name with args.
3307 set dummy $ac_prog; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_CXX"; then
3314 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3318 do
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3323 ac_cv_prog_ac_ct_CXX="$ac_prog"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3326 fi
3327 done
3328 done
3329 IFS=$as_save_IFS
3330
3331 fi
3332 fi
3333 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3334 if test -n "$ac_ct_CXX"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3336 $as_echo "$ac_ct_CXX" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 fi
3341
3342
3343 test -n "$ac_ct_CXX" && break
3344 done
3345
3346 if test "x$ac_ct_CXX" = x; then
3347 CXX="g++"
3348 else
3349 case $cross_compiling:$ac_tool_warned in
3350 yes:)
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3353 ac_tool_warned=yes ;;
3354 esac
3355 CXX=$ac_ct_CXX
3356 fi
3357 fi
3358
3359 fi
3360 fi
3361 # Provide some information about the compiler.
3362 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3363 set X $ac_compile
3364 ac_compiler=$2
3365 for ac_option in --version -v -V -qversion; do
3366 { { ac_try="$ac_compiler $ac_option >&5"
3367 case "(($ac_try" in
3368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369 *) ac_try_echo=$ac_try;;
3370 esac
3371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3372 $as_echo "$ac_try_echo"; } >&5
3373 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3374 ac_status=$?
3375 if test -s conftest.err; then
3376 sed '10a\
3377 ... rest of stderr output deleted ...
3378 10q' conftest.err >conftest.er1
3379 cat conftest.er1 >&5
3380 fi
3381 rm -f conftest.er1 conftest.err
3382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3383 test $ac_status = 0; }
3384 done
3385
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3388
3389 int
3390 main ()
3391 {
3392
3393 ;
3394 return 0;
3395 }
3396 _ACEOF
3397 ac_clean_files_save=$ac_clean_files
3398 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3399 # Try to create an executable without -o first, disregard a.out.
3400 # It will help us diagnose broken compilers, and finding out an intuition
3401 # of exeext.
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3403 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3404 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3405
3406 # The possible output files:
3407 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3408
3409 ac_rmfiles=
3410 for ac_file in $ac_files
3411 do
3412 case $ac_file in
3413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3414 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3415 esac
3416 done
3417 rm -f $ac_rmfiles
3418
3419 if { { ac_try="$ac_link_default"
3420 case "(($ac_try" in
3421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422 *) ac_try_echo=$ac_try;;
3423 esac
3424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3425 $as_echo "$ac_try_echo"; } >&5
3426 (eval "$ac_link_default") 2>&5
3427 ac_status=$?
3428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3429 test $ac_status = 0; }; then :
3430 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3431 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3432 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3433 # so that the user can short-circuit this test for compilers unknown to
3434 # Autoconf.
3435 for ac_file in $ac_files ''
3436 do
3437 test -f "$ac_file" || continue
3438 case $ac_file in
3439 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3440 ;;
3441 [ab].out )
3442 # We found the default executable, but exeext='' is most
3443 # certainly right.
3444 break;;
3445 *.* )
3446 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3447 then :; else
3448 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3449 fi
3450 # We set ac_cv_exeext here because the later test for it is not
3451 # safe: cross compilers may not add the suffix if given an `-o'
3452 # argument, so we may need to know it at that point already.
3453 # Even if this section looks crufty: it has the advantage of
3454 # actually working.
3455 break;;
3456 * )
3457 break;;
3458 esac
3459 done
3460 test "$ac_cv_exeext" = no && ac_cv_exeext=
3461
3462 else
3463 ac_file=''
3464 fi
3465 if test -z "$ac_file"; then :
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467 $as_echo "no" >&6; }
3468 $as_echo "$as_me: failed program was:" >&5
3469 sed 's/^/| /' conftest.$ac_ext >&5
3470
3471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473 as_fn_error 77 "C++ compiler cannot create executables
3474 See \`config.log' for more details" "$LINENO" 5; }
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3477 $as_echo "yes" >&6; }
3478 fi
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3480 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3482 $as_echo "$ac_file" >&6; }
3483 ac_exeext=$ac_cv_exeext
3484
3485 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3486 ac_clean_files=$ac_clean_files_save
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3488 $as_echo_n "checking for suffix of executables... " >&6; }
3489 if { { ac_try="$ac_link"
3490 case "(($ac_try" in
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3493 esac
3494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3495 $as_echo "$ac_try_echo"; } >&5
3496 (eval "$ac_link") 2>&5
3497 ac_status=$?
3498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3499 test $ac_status = 0; }; then :
3500 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3501 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3502 # work properly (i.e., refer to `conftest.exe'), while it won't with
3503 # `rm'.
3504 for ac_file in conftest.exe conftest conftest.*; do
3505 test -f "$ac_file" || continue
3506 case $ac_file in
3507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3508 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3509 break;;
3510 * ) break;;
3511 esac
3512 done
3513 else
3514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3516 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3517 See \`config.log' for more details" "$LINENO" 5; }
3518 fi
3519 rm -f conftest conftest$ac_cv_exeext
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3521 $as_echo "$ac_cv_exeext" >&6; }
3522
3523 rm -f conftest.$ac_ext
3524 EXEEXT=$ac_cv_exeext
3525 ac_exeext=$EXEEXT
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3528 @%:@include <stdio.h>
3529 int
3530 main ()
3531 {
3532 FILE *f = fopen ("conftest.out", "w");
3533 return ferror (f) || fclose (f) != 0;
3534
3535 ;
3536 return 0;
3537 }
3538 _ACEOF
3539 ac_clean_files="$ac_clean_files conftest.out"
3540 # Check that the compiler produces executables we can run. If not, either
3541 # the compiler is broken, or we cross compile.
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3543 $as_echo_n "checking whether we are cross compiling... " >&6; }
3544 if test "$cross_compiling" != yes; then
3545 { { ac_try="$ac_link"
3546 case "(($ac_try" in
3547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3549 esac
3550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3551 $as_echo "$ac_try_echo"; } >&5
3552 (eval "$ac_link") 2>&5
3553 ac_status=$?
3554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3555 test $ac_status = 0; }
3556 if { ac_try='./conftest$ac_cv_exeext'
3557 { { case "(($ac_try" in
3558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3559 *) ac_try_echo=$ac_try;;
3560 esac
3561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3562 $as_echo "$ac_try_echo"; } >&5
3563 (eval "$ac_try") 2>&5
3564 ac_status=$?
3565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3566 test $ac_status = 0; }; }; then
3567 cross_compiling=no
3568 else
3569 if test "$cross_compiling" = maybe; then
3570 cross_compiling=yes
3571 else
3572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3574 as_fn_error $? "cannot run C++ compiled programs.
3575 If you meant to cross compile, use \`--host'.
3576 See \`config.log' for more details" "$LINENO" 5; }
3577 fi
3578 fi
3579 fi
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3581 $as_echo "$cross_compiling" >&6; }
3582
3583 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3584 ac_clean_files=$ac_clean_files_save
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3586 $as_echo_n "checking for suffix of object files... " >&6; }
3587 if ${ac_cv_objext+:} false; then :
3588 $as_echo_n "(cached) " >&6
3589 else
3590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3592
3593 int
3594 main ()
3595 {
3596
3597 ;
3598 return 0;
3599 }
3600 _ACEOF
3601 rm -f conftest.o conftest.obj
3602 if { { ac_try="$ac_compile"
3603 case "(($ac_try" in
3604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3605 *) ac_try_echo=$ac_try;;
3606 esac
3607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3608 $as_echo "$ac_try_echo"; } >&5
3609 (eval "$ac_compile") 2>&5
3610 ac_status=$?
3611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3612 test $ac_status = 0; }; then :
3613 for ac_file in conftest.o conftest.obj conftest.*; do
3614 test -f "$ac_file" || continue;
3615 case $ac_file in
3616 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3617 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3618 break;;
3619 esac
3620 done
3621 else
3622 $as_echo "$as_me: failed program was:" >&5
3623 sed 's/^/| /' conftest.$ac_ext >&5
3624
3625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3627 as_fn_error $? "cannot compute suffix of object files: cannot compile
3628 See \`config.log' for more details" "$LINENO" 5; }
3629 fi
3630 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3631 fi
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3633 $as_echo "$ac_cv_objext" >&6; }
3634 OBJEXT=$ac_cv_objext
3635 ac_objext=$OBJEXT
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3637 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3638 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3643
3644 int
3645 main ()
3646 {
3647 #ifndef __GNUC__
3648 choke me
3649 #endif
3650
3651 ;
3652 return 0;
3653 }
3654 _ACEOF
3655 if ac_fn_cxx_try_compile "$LINENO"; then :
3656 ac_compiler_gnu=yes
3657 else
3658 ac_compiler_gnu=no
3659 fi
3660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3661 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3662
3663 fi
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3665 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3666 if test $ac_compiler_gnu = yes; then
3667 GXX=yes
3668 else
3669 GXX=
3670 fi
3671 ac_test_CXXFLAGS=${CXXFLAGS+set}
3672 ac_save_CXXFLAGS=$CXXFLAGS
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3674 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3675 if ${ac_cv_prog_cxx_g+:} false; then :
3676 $as_echo_n "(cached) " >&6
3677 else
3678 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3679 ac_cxx_werror_flag=yes
3680 ac_cv_prog_cxx_g=no
3681 CXXFLAGS="-g"
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3684
3685 int
3686 main ()
3687 {
3688
3689 ;
3690 return 0;
3691 }
3692 _ACEOF
3693 if ac_fn_cxx_try_compile "$LINENO"; then :
3694 ac_cv_prog_cxx_g=yes
3695 else
3696 CXXFLAGS=""
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3699
3700 int
3701 main ()
3702 {
3703
3704 ;
3705 return 0;
3706 }
3707 _ACEOF
3708 if ac_fn_cxx_try_compile "$LINENO"; then :
3709
3710 else
3711 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3712 CXXFLAGS="-g"
3713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3714 /* end confdefs.h. */
3715
3716 int
3717 main ()
3718 {
3719
3720 ;
3721 return 0;
3722 }
3723 _ACEOF
3724 if ac_fn_cxx_try_compile "$LINENO"; then :
3725 ac_cv_prog_cxx_g=yes
3726 fi
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 fi
3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3730 fi
3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3732 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3733 fi
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3735 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3736 if test "$ac_test_CXXFLAGS" = set; then
3737 CXXFLAGS=$ac_save_CXXFLAGS
3738 elif test $ac_cv_prog_cxx_g = yes; then
3739 if test "$GXX" = yes; then
3740 CXXFLAGS="-g -O2"
3741 else
3742 CXXFLAGS="-g"
3743 fi
3744 else
3745 if test "$GXX" = yes; then
3746 CXXFLAGS="-O2"
3747 else
3748 CXXFLAGS=
3749 fi
3750 fi
3751 ac_ext=cpp
3752 ac_cpp='$CXXCPP $CPPFLAGS'
3753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3756 DEPDIR="${am__leading_dot}deps"
3757
3758 ac_config_commands="$ac_config_commands depfiles"
3759
3760
3761 am_make=${MAKE-make}
3762 cat > confinc << 'END'
3763 am__doit:
3764 @echo this is the am__doit target
3765 .PHONY: am__doit
3766 END
3767 # If we don't find an include directive, just comment out the code.
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3769 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3770 am__include="#"
3771 am__quote=
3772 _am_result=none
3773 # First try GNU make style include.
3774 echo "include confinc" > confmf
3775 # Ignore all kinds of additional output from `make'.
3776 case `$am_make -s -f confmf 2> /dev/null` in #(
3777 *the\ am__doit\ target*)
3778 am__include=include
3779 am__quote=
3780 _am_result=GNU
3781 ;;
3782 esac
3783 # Now try BSD make style include.
3784 if test "$am__include" = "#"; then
3785 echo '.include "confinc"' > confmf
3786 case `$am_make -s -f confmf 2> /dev/null` in #(
3787 *the\ am__doit\ target*)
3788 am__include=.include
3789 am__quote="\""
3790 _am_result=BSD
3791 ;;
3792 esac
3793 fi
3794
3795
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3797 $as_echo "$_am_result" >&6; }
3798 rm -f confinc confmf
3799
3800 @%:@ Check whether --enable-dependency-tracking was given.
3801 if test "${enable_dependency_tracking+set}" = set; then :
3802 enableval=$enable_dependency_tracking;
3803 fi
3804
3805 if test "x$enable_dependency_tracking" != xno; then
3806 am_depcomp="$ac_aux_dir/depcomp"
3807 AMDEPBACKSLASH='\'
3808 fi
3809 if test "x$enable_dependency_tracking" != xno; then
3810 AMDEP_TRUE=
3811 AMDEP_FALSE='#'
3812 else
3813 AMDEP_TRUE='#'
3814 AMDEP_FALSE=
3815 fi
3816
3817
3818
3819 depcc="$CXX" am_compiler_list=
3820
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3822 $as_echo_n "checking dependency style of $depcc... " >&6; }
3823 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3824 $as_echo_n "(cached) " >&6
3825 else
3826 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3827 # We make a subdir and do the tests there. Otherwise we can end up
3828 # making bogus files that we don't know about and never remove. For
3829 # instance it was reported that on HP-UX the gcc test will end up
3830 # making a dummy file named `D' -- because `-MD' means `put the output
3831 # in D'.
3832 mkdir conftest.dir
3833 # Copy depcomp to subdir because otherwise we won't find it if we're
3834 # using a relative directory.
3835 cp "$am_depcomp" conftest.dir
3836 cd conftest.dir
3837 # We will build objects and dependencies in a subdirectory because
3838 # it helps to detect inapplicable dependency modes. For instance
3839 # both Tru64's cc and ICC support -MD to output dependencies as a
3840 # side effect of compilation, but ICC will put the dependencies in
3841 # the current directory while Tru64 will put them in the object
3842 # directory.
3843 mkdir sub
3844
3845 am_cv_CXX_dependencies_compiler_type=none
3846 if test "$am_compiler_list" = ""; then
3847 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3848 fi
3849 am__universal=false
3850 case " $depcc " in #(
3851 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3852 esac
3853
3854 for depmode in $am_compiler_list; do
3855 # Setup a source with many dependencies, because some compilers
3856 # like to wrap large dependency lists on column 80 (with \), and
3857 # we should not choose a depcomp mode which is confused by this.
3858 #
3859 # We need to recreate these files for each test, as the compiler may
3860 # overwrite some of them when testing with obscure command lines.
3861 # This happens at least with the AIX C compiler.
3862 : > sub/conftest.c
3863 for i in 1 2 3 4 5 6; do
3864 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3865 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3866 # Solaris 8's {/usr,}/bin/sh.
3867 touch sub/conftst$i.h
3868 done
3869 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3870
3871 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3872 # mode. It turns out that the SunPro C++ compiler does not properly
3873 # handle `-M -o', and we need to detect this. Also, some Intel
3874 # versions had trouble with output in subdirs
3875 am__obj=sub/conftest.${OBJEXT-o}
3876 am__minus_obj="-o $am__obj"
3877 case $depmode in
3878 gcc)
3879 # This depmode causes a compiler race in universal mode.
3880 test "$am__universal" = false || continue
3881 ;;
3882 nosideeffect)
3883 # after this tag, mechanisms are not by side-effect, so they'll
3884 # only be used when explicitly requested
3885 if test "x$enable_dependency_tracking" = xyes; then
3886 continue
3887 else
3888 break
3889 fi
3890 ;;
3891 msvisualcpp | msvcmsys)
3892 # This compiler won't grok `-c -o', but also, the minuso test has
3893 # not run yet. These depmodes are late enough in the game, and
3894 # so weak that their functioning should not be impacted.
3895 am__obj=conftest.${OBJEXT-o}
3896 am__minus_obj=
3897 ;;
3898 none) break ;;
3899 esac
3900 if depmode=$depmode \
3901 source=sub/conftest.c object=$am__obj \
3902 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3903 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3904 >/dev/null 2>conftest.err &&
3905 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3906 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3907 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3908 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3909 # icc doesn't choke on unknown options, it will just issue warnings
3910 # or remarks (even with -Werror). So we grep stderr for any message
3911 # that says an option was ignored or not supported.
3912 # When given -MP, icc 7.0 and 7.1 complain thusly:
3913 # icc: Command line warning: ignoring option '-M'; no argument required
3914 # The diagnosis changed in icc 8.0:
3915 # icc: Command line remark: option '-MP' not supported
3916 if (grep 'ignoring option' conftest.err ||
3917 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3918 am_cv_CXX_dependencies_compiler_type=$depmode
3919 break
3920 fi
3921 fi
3922 done
3923
3924 cd ..
3925 rm -rf conftest.dir
3926 else
3927 am_cv_CXX_dependencies_compiler_type=none
3928 fi
3929
3930 fi
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3932 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3933 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3934
3935 if
3936 test "x$enable_dependency_tracking" != xno \
3937 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3938 am__fastdepCXX_TRUE=
3939 am__fastdepCXX_FALSE='#'
3940 else
3941 am__fastdepCXX_TRUE='#'
3942 am__fastdepCXX_FALSE=
3943 fi
3944
3945
3946 ac_ext=c
3947 ac_cpp='$CPP $CPPFLAGS'
3948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3951 if test -n "$ac_tool_prefix"; then
3952 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3953 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3955 $as_echo_n "checking for $ac_word... " >&6; }
3956 if ${ac_cv_prog_CC+:} false; then :
3957 $as_echo_n "(cached) " >&6
3958 else
3959 if test -n "$CC"; then
3960 ac_cv_prog_CC="$CC" # Let the user override the test.
3961 else
3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 for as_dir in $PATH
3964 do
3965 IFS=$as_save_IFS
3966 test -z "$as_dir" && as_dir=.
3967 for ac_exec_ext in '' $ac_executable_extensions; do
3968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3969 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 break 2
3972 fi
3973 done
3974 done
3975 IFS=$as_save_IFS
3976
3977 fi
3978 fi
3979 CC=$ac_cv_prog_CC
3980 if test -n "$CC"; then
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3982 $as_echo "$CC" >&6; }
3983 else
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985 $as_echo "no" >&6; }
3986 fi
3987
3988
3989 fi
3990 if test -z "$ac_cv_prog_CC"; then
3991 ac_ct_CC=$CC
3992 # Extract the first word of "gcc", so it can be a program name with args.
3993 set dummy gcc; ac_word=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3997 $as_echo_n "(cached) " >&6
3998 else
3999 if test -n "$ac_ct_CC"; then
4000 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4001 else
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 for as_dir in $PATH
4004 do
4005 IFS=$as_save_IFS
4006 test -z "$as_dir" && as_dir=.
4007 for ac_exec_ext in '' $ac_executable_extensions; do
4008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4009 ac_cv_prog_ac_ct_CC="gcc"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 break 2
4012 fi
4013 done
4014 done
4015 IFS=$as_save_IFS
4016
4017 fi
4018 fi
4019 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4020 if test -n "$ac_ct_CC"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4022 $as_echo "$ac_ct_CC" >&6; }
4023 else
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4026 fi
4027
4028 if test "x$ac_ct_CC" = x; then
4029 CC=""
4030 else
4031 case $cross_compiling:$ac_tool_warned in
4032 yes:)
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4035 ac_tool_warned=yes ;;
4036 esac
4037 CC=$ac_ct_CC
4038 fi
4039 else
4040 CC="$ac_cv_prog_CC"
4041 fi
4042
4043 if test -z "$CC"; then
4044 if test -n "$ac_tool_prefix"; then
4045 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4046 set dummy ${ac_tool_prefix}cc; ac_word=$2
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048 $as_echo_n "checking for $ac_word... " >&6; }
4049 if ${ac_cv_prog_CC+:} false; then :
4050 $as_echo_n "(cached) " >&6
4051 else
4052 if test -n "$CC"; then
4053 ac_cv_prog_CC="$CC" # Let the user override the test.
4054 else
4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056 for as_dir in $PATH
4057 do
4058 IFS=$as_save_IFS
4059 test -z "$as_dir" && as_dir=.
4060 for ac_exec_ext in '' $ac_executable_extensions; do
4061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4062 ac_cv_prog_CC="${ac_tool_prefix}cc"
4063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 break 2
4065 fi
4066 done
4067 done
4068 IFS=$as_save_IFS
4069
4070 fi
4071 fi
4072 CC=$ac_cv_prog_CC
4073 if test -n "$CC"; then
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4075 $as_echo "$CC" >&6; }
4076 else
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4079 fi
4080
4081
4082 fi
4083 fi
4084 if test -z "$CC"; then
4085 # Extract the first word of "cc", so it can be a program name with args.
4086 set dummy cc; ac_word=$2
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088 $as_echo_n "checking for $ac_word... " >&6; }
4089 if ${ac_cv_prog_CC+:} false; then :
4090 $as_echo_n "(cached) " >&6
4091 else
4092 if test -n "$CC"; then
4093 ac_cv_prog_CC="$CC" # Let the user override the test.
4094 else
4095 ac_prog_rejected=no
4096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 for as_dir in $PATH
4098 do
4099 IFS=$as_save_IFS
4100 test -z "$as_dir" && as_dir=.
4101 for ac_exec_ext in '' $ac_executable_extensions; do
4102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4103 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4104 ac_prog_rejected=yes
4105 continue
4106 fi
4107 ac_cv_prog_CC="cc"
4108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 break 2
4110 fi
4111 done
4112 done
4113 IFS=$as_save_IFS
4114
4115 if test $ac_prog_rejected = yes; then
4116 # We found a bogon in the path, so make sure we never use it.
4117 set dummy $ac_cv_prog_CC
4118 shift
4119 if test $@%:@ != 0; then
4120 # We chose a different compiler from the bogus one.
4121 # However, it has the same basename, so the bogon will be chosen
4122 # first if we set CC to just the basename; use the full file name.
4123 shift
4124 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4125 fi
4126 fi
4127 fi
4128 fi
4129 CC=$ac_cv_prog_CC
4130 if test -n "$CC"; then
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4132 $as_echo "$CC" >&6; }
4133 else
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4136 fi
4137
4138
4139 fi
4140 if test -z "$CC"; then
4141 if test -n "$ac_tool_prefix"; then
4142 for ac_prog in cl.exe
4143 do
4144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4147 $as_echo_n "checking for $ac_word... " >&6; }
4148 if ${ac_cv_prog_CC+:} false; then :
4149 $as_echo_n "(cached) " >&6
4150 else
4151 if test -n "$CC"; then
4152 ac_cv_prog_CC="$CC" # Let the user override the test.
4153 else
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4155 for as_dir in $PATH
4156 do
4157 IFS=$as_save_IFS
4158 test -z "$as_dir" && as_dir=.
4159 for ac_exec_ext in '' $ac_executable_extensions; do
4160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4161 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4163 break 2
4164 fi
4165 done
4166 done
4167 IFS=$as_save_IFS
4168
4169 fi
4170 fi
4171 CC=$ac_cv_prog_CC
4172 if test -n "$CC"; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4174 $as_echo "$CC" >&6; }
4175 else
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4177 $as_echo "no" >&6; }
4178 fi
4179
4180
4181 test -n "$CC" && break
4182 done
4183 fi
4184 if test -z "$CC"; then
4185 ac_ct_CC=$CC
4186 for ac_prog in cl.exe
4187 do
4188 # Extract the first word of "$ac_prog", so it can be a program name with args.
4189 set dummy $ac_prog; ac_word=$2
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191 $as_echo_n "checking for $ac_word... " >&6; }
4192 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4193 $as_echo_n "(cached) " >&6
4194 else
4195 if test -n "$ac_ct_CC"; then
4196 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4197 else
4198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4199 for as_dir in $PATH
4200 do
4201 IFS=$as_save_IFS
4202 test -z "$as_dir" && as_dir=.
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4205 ac_cv_prog_ac_ct_CC="$ac_prog"
4206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 break 2
4208 fi
4209 done
4210 done
4211 IFS=$as_save_IFS
4212
4213 fi
4214 fi
4215 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4216 if test -n "$ac_ct_CC"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4218 $as_echo "$ac_ct_CC" >&6; }
4219 else
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4222 fi
4223
4224
4225 test -n "$ac_ct_CC" && break
4226 done
4227
4228 if test "x$ac_ct_CC" = x; then
4229 CC=""
4230 else
4231 case $cross_compiling:$ac_tool_warned in
4232 yes:)
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4235 ac_tool_warned=yes ;;
4236 esac
4237 CC=$ac_ct_CC
4238 fi
4239 fi
4240
4241 fi
4242
4243
4244 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4246 as_fn_error $? "no acceptable C compiler found in \$PATH
4247 See \`config.log' for more details" "$LINENO" 5; }
4248
4249 # Provide some information about the compiler.
4250 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4251 set X $ac_compile
4252 ac_compiler=$2
4253 for ac_option in --version -v -V -qversion; do
4254 { { ac_try="$ac_compiler $ac_option >&5"
4255 case "(($ac_try" in
4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4258 esac
4259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4260 $as_echo "$ac_try_echo"; } >&5
4261 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4262 ac_status=$?
4263 if test -s conftest.err; then
4264 sed '10a\
4265 ... rest of stderr output deleted ...
4266 10q' conftest.err >conftest.er1
4267 cat conftest.er1 >&5
4268 fi
4269 rm -f conftest.er1 conftest.err
4270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4271 test $ac_status = 0; }
4272 done
4273
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4275 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4276 if ${ac_cv_c_compiler_gnu+:} false; then :
4277 $as_echo_n "(cached) " >&6
4278 else
4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4281
4282 int
4283 main ()
4284 {
4285 #ifndef __GNUC__
4286 choke me
4287 #endif
4288
4289 ;
4290 return 0;
4291 }
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4294 ac_compiler_gnu=yes
4295 else
4296 ac_compiler_gnu=no
4297 fi
4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4299 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4300
4301 fi
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4303 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4304 if test $ac_compiler_gnu = yes; then
4305 GCC=yes
4306 else
4307 GCC=
4308 fi
4309 ac_test_CFLAGS=${CFLAGS+set}
4310 ac_save_CFLAGS=$CFLAGS
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4312 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4313 if ${ac_cv_prog_cc_g+:} false; then :
4314 $as_echo_n "(cached) " >&6
4315 else
4316 ac_save_c_werror_flag=$ac_c_werror_flag
4317 ac_c_werror_flag=yes
4318 ac_cv_prog_cc_g=no
4319 CFLAGS="-g"
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4322
4323 int
4324 main ()
4325 {
4326
4327 ;
4328 return 0;
4329 }
4330 _ACEOF
4331 if ac_fn_c_try_compile "$LINENO"; then :
4332 ac_cv_prog_cc_g=yes
4333 else
4334 CFLAGS=""
4335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4336 /* end confdefs.h. */
4337
4338 int
4339 main ()
4340 {
4341
4342 ;
4343 return 0;
4344 }
4345 _ACEOF
4346 if ac_fn_c_try_compile "$LINENO"; then :
4347
4348 else
4349 ac_c_werror_flag=$ac_save_c_werror_flag
4350 CFLAGS="-g"
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4353
4354 int
4355 main ()
4356 {
4357
4358 ;
4359 return 0;
4360 }
4361 _ACEOF
4362 if ac_fn_c_try_compile "$LINENO"; then :
4363 ac_cv_prog_cc_g=yes
4364 fi
4365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4366 fi
4367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4368 fi
4369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4370 ac_c_werror_flag=$ac_save_c_werror_flag
4371 fi
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4373 $as_echo "$ac_cv_prog_cc_g" >&6; }
4374 if test "$ac_test_CFLAGS" = set; then
4375 CFLAGS=$ac_save_CFLAGS
4376 elif test $ac_cv_prog_cc_g = yes; then
4377 if test "$GCC" = yes; then
4378 CFLAGS="-g -O2"
4379 else
4380 CFLAGS="-g"
4381 fi
4382 else
4383 if test "$GCC" = yes; then
4384 CFLAGS="-O2"
4385 else
4386 CFLAGS=
4387 fi
4388 fi
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4390 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4391 if ${ac_cv_prog_cc_c89+:} false; then :
4392 $as_echo_n "(cached) " >&6
4393 else
4394 ac_cv_prog_cc_c89=no
4395 ac_save_CC=$CC
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4398 #include <stdarg.h>
4399 #include <stdio.h>
4400 struct stat;
4401 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4402 struct buf { int x; };
4403 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4404 static char *e (p, i)
4405 char **p;
4406 int i;
4407 {
4408 return p[i];
4409 }
4410 static char *f (char * (*g) (char **, int), char **p, ...)
4411 {
4412 char *s;
4413 va_list v;
4414 va_start (v,p);
4415 s = g (p, va_arg (v,int));
4416 va_end (v);
4417 return s;
4418 }
4419
4420 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4421 function prototypes and stuff, but not '\xHH' hex character constants.
4422 These don't provoke an error unfortunately, instead are silently treated
4423 as 'x'. The following induces an error, until -std is added to get
4424 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4425 array size at least. It's necessary to write '\x00'==0 to get something
4426 that's true only with -std. */
4427 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4428
4429 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4430 inside strings and character constants. */
4431 #define FOO(x) 'x'
4432 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4433
4434 int test (int i, double x);
4435 struct s1 {int (*f) (int a);};
4436 struct s2 {int (*f) (double a);};
4437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4438 int argc;
4439 char **argv;
4440 int
4441 main ()
4442 {
4443 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4444 ;
4445 return 0;
4446 }
4447 _ACEOF
4448 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4449 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4450 do
4451 CC="$ac_save_CC $ac_arg"
4452 if ac_fn_c_try_compile "$LINENO"; then :
4453 ac_cv_prog_cc_c89=$ac_arg
4454 fi
4455 rm -f core conftest.err conftest.$ac_objext
4456 test "x$ac_cv_prog_cc_c89" != "xno" && break
4457 done
4458 rm -f conftest.$ac_ext
4459 CC=$ac_save_CC
4460
4461 fi
4462 # AC_CACHE_VAL
4463 case "x$ac_cv_prog_cc_c89" in
4464 x)
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4466 $as_echo "none needed" >&6; } ;;
4467 xno)
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4469 $as_echo "unsupported" >&6; } ;;
4470 *)
4471 CC="$CC $ac_cv_prog_cc_c89"
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4473 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4474 esac
4475 if test "x$ac_cv_prog_cc_c89" != xno; then :
4476
4477 fi
4478
4479 ac_ext=cpp
4480 ac_cpp='$CXXCPP $CPPFLAGS'
4481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4484
4485 depcc="$CC" am_compiler_list=
4486
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4488 $as_echo_n "checking dependency style of $depcc... " >&6; }
4489 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4490 $as_echo_n "(cached) " >&6
4491 else
4492 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4493 # We make a subdir and do the tests there. Otherwise we can end up
4494 # making bogus files that we don't know about and never remove. For
4495 # instance it was reported that on HP-UX the gcc test will end up
4496 # making a dummy file named `D' -- because `-MD' means `put the output
4497 # in D'.
4498 mkdir conftest.dir
4499 # Copy depcomp to subdir because otherwise we won't find it if we're
4500 # using a relative directory.
4501 cp "$am_depcomp" conftest.dir
4502 cd conftest.dir
4503 # We will build objects and dependencies in a subdirectory because
4504 # it helps to detect inapplicable dependency modes. For instance
4505 # both Tru64's cc and ICC support -MD to output dependencies as a
4506 # side effect of compilation, but ICC will put the dependencies in
4507 # the current directory while Tru64 will put them in the object
4508 # directory.
4509 mkdir sub
4510
4511 am_cv_CC_dependencies_compiler_type=none
4512 if test "$am_compiler_list" = ""; then
4513 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4514 fi
4515 am__universal=false
4516 case " $depcc " in #(
4517 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4518 esac
4519
4520 for depmode in $am_compiler_list; do
4521 # Setup a source with many dependencies, because some compilers
4522 # like to wrap large dependency lists on column 80 (with \), and
4523 # we should not choose a depcomp mode which is confused by this.
4524 #
4525 # We need to recreate these files for each test, as the compiler may
4526 # overwrite some of them when testing with obscure command lines.
4527 # This happens at least with the AIX C compiler.
4528 : > sub/conftest.c
4529 for i in 1 2 3 4 5 6; do
4530 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4531 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4532 # Solaris 8's {/usr,}/bin/sh.
4533 touch sub/conftst$i.h
4534 done
4535 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4536
4537 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4538 # mode. It turns out that the SunPro C++ compiler does not properly
4539 # handle `-M -o', and we need to detect this. Also, some Intel
4540 # versions had trouble with output in subdirs
4541 am__obj=sub/conftest.${OBJEXT-o}
4542 am__minus_obj="-o $am__obj"
4543 case $depmode in
4544 gcc)
4545 # This depmode causes a compiler race in universal mode.
4546 test "$am__universal" = false || continue
4547 ;;
4548 nosideeffect)
4549 # after this tag, mechanisms are not by side-effect, so they'll
4550 # only be used when explicitly requested
4551 if test "x$enable_dependency_tracking" = xyes; then
4552 continue
4553 else
4554 break
4555 fi
4556 ;;
4557 msvisualcpp | msvcmsys)
4558 # This compiler won't grok `-c -o', but also, the minuso test has
4559 # not run yet. These depmodes are late enough in the game, and
4560 # so weak that their functioning should not be impacted.
4561 am__obj=conftest.${OBJEXT-o}
4562 am__minus_obj=
4563 ;;
4564 none) break ;;
4565 esac
4566 if depmode=$depmode \
4567 source=sub/conftest.c object=$am__obj \
4568 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4569 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4570 >/dev/null 2>conftest.err &&
4571 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4572 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4573 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4574 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4575 # icc doesn't choke on unknown options, it will just issue warnings
4576 # or remarks (even with -Werror). So we grep stderr for any message
4577 # that says an option was ignored or not supported.
4578 # When given -MP, icc 7.0 and 7.1 complain thusly:
4579 # icc: Command line warning: ignoring option '-M'; no argument required
4580 # The diagnosis changed in icc 8.0:
4581 # icc: Command line remark: option '-MP' not supported
4582 if (grep 'ignoring option' conftest.err ||
4583 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4584 am_cv_CC_dependencies_compiler_type=$depmode
4585 break
4586 fi
4587 fi
4588 done
4589
4590 cd ..
4591 rm -rf conftest.dir
4592 else
4593 am_cv_CC_dependencies_compiler_type=none
4594 fi
4595
4596 fi
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4598 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4599 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4600
4601 if
4602 test "x$enable_dependency_tracking" != xno \
4603 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4604 am__fastdepCC_TRUE=
4605 am__fastdepCC_FALSE='#'
4606 else
4607 am__fastdepCC_TRUE='#'
4608 am__fastdepCC_FALSE=
4609 fi
4610
4611
4612 ac_ext=c
4613 ac_cpp='$CPP $CPPFLAGS'
4614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4618 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4619 # On Suns, sometimes $CPP names a directory.
4620 if test -n "$CPP" && test -d "$CPP"; then
4621 CPP=
4622 fi
4623 if test -z "$CPP"; then
4624 if ${ac_cv_prog_CPP+:} false; then :
4625 $as_echo_n "(cached) " >&6
4626 else
4627 # Double quotes because CPP needs to be expanded
4628 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4629 do
4630 ac_preproc_ok=false
4631 for ac_c_preproc_warn_flag in '' yes
4632 do
4633 # Use a header file that comes with gcc, so configuring glibc
4634 # with a fresh cross-compiler works.
4635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4636 # <limits.h> exists even on freestanding compilers.
4637 # On the NeXT, cc -E runs the code through the compiler's parser,
4638 # not just through cpp. "Syntax error" is here to catch this case.
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4641 @%:@ifdef __STDC__
4642 @%:@ include <limits.h>
4643 @%:@else
4644 @%:@ include <assert.h>
4645 @%:@endif
4646 Syntax error
4647 _ACEOF
4648 if ac_fn_c_try_cpp "$LINENO"; then :
4649
4650 else
4651 # Broken: fails on valid input.
4652 continue
4653 fi
4654 rm -f conftest.err conftest.i conftest.$ac_ext
4655
4656 # OK, works on sane cases. Now check whether nonexistent headers
4657 # can be detected and how.
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4660 @%:@include <ac_nonexistent.h>
4661 _ACEOF
4662 if ac_fn_c_try_cpp "$LINENO"; then :
4663 # Broken: success on invalid input.
4664 continue
4665 else
4666 # Passes both tests.
4667 ac_preproc_ok=:
4668 break
4669 fi
4670 rm -f conftest.err conftest.i conftest.$ac_ext
4671
4672 done
4673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4674 rm -f conftest.i conftest.err conftest.$ac_ext
4675 if $ac_preproc_ok; then :
4676 break
4677 fi
4678
4679 done
4680 ac_cv_prog_CPP=$CPP
4681
4682 fi
4683 CPP=$ac_cv_prog_CPP
4684 else
4685 ac_cv_prog_CPP=$CPP
4686 fi
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4688 $as_echo "$CPP" >&6; }
4689 ac_preproc_ok=false
4690 for ac_c_preproc_warn_flag in '' yes
4691 do
4692 # Use a header file that comes with gcc, so configuring glibc
4693 # with a fresh cross-compiler works.
4694 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4695 # <limits.h> exists even on freestanding compilers.
4696 # On the NeXT, cc -E runs the code through the compiler's parser,
4697 # not just through cpp. "Syntax error" is here to catch this case.
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4700 @%:@ifdef __STDC__
4701 @%:@ include <limits.h>
4702 @%:@else
4703 @%:@ include <assert.h>
4704 @%:@endif
4705 Syntax error
4706 _ACEOF
4707 if ac_fn_c_try_cpp "$LINENO"; then :
4708
4709 else
4710 # Broken: fails on valid input.
4711 continue
4712 fi
4713 rm -f conftest.err conftest.i conftest.$ac_ext
4714
4715 # OK, works on sane cases. Now check whether nonexistent headers
4716 # can be detected and how.
4717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4719 @%:@include <ac_nonexistent.h>
4720 _ACEOF
4721 if ac_fn_c_try_cpp "$LINENO"; then :
4722 # Broken: success on invalid input.
4723 continue
4724 else
4725 # Passes both tests.
4726 ac_preproc_ok=:
4727 break
4728 fi
4729 rm -f conftest.err conftest.i conftest.$ac_ext
4730
4731 done
4732 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4733 rm -f conftest.i conftest.err conftest.$ac_ext
4734 if $ac_preproc_ok; then :
4735
4736 else
4737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4739 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4740 See \`config.log' for more details" "$LINENO" 5; }
4741 fi
4742
4743 ac_ext=cpp
4744 ac_cpp='$CXXCPP $CPPFLAGS'
4745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4748
4749
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4751 $as_echo_n "checking whether ln -s works... " >&6; }
4752 LN_S=$as_ln_s
4753 if test "$LN_S" = "ln -s"; then
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4755 $as_echo "yes" >&6; }
4756 else
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4758 $as_echo "no, using $LN_S" >&6; }
4759 fi
4760
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4762 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4763 set x ${MAKE-make}
4764 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4765 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4766 $as_echo_n "(cached) " >&6
4767 else
4768 cat >conftest.make <<\_ACEOF
4769 SHELL = /bin/sh
4770 all:
4771 @echo '@@@%%%=$(MAKE)=@@@%%%'
4772 _ACEOF
4773 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4774 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4775 *@@@%%%=?*=@@@%%%*)
4776 eval ac_cv_prog_make_${ac_make}_set=yes;;
4777 *)
4778 eval ac_cv_prog_make_${ac_make}_set=no;;
4779 esac
4780 rm -f conftest.make
4781 fi
4782 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4784 $as_echo "yes" >&6; }
4785 SET_MAKE=
4786 else
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4789 SET_MAKE="MAKE=${MAKE-make}"
4790 fi
4791
4792
4793 # Extract the first word of "swig", so it can be a program name with args.
4794 set dummy swig; ac_word=$2
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4796 $as_echo_n "checking for $ac_word... " >&6; }
4797 if ${ac_cv_path_SWIG+:} false; then :
4798 $as_echo_n "(cached) " >&6
4799 else
4800 case $SWIG in
4801 [\\/]* | ?:[\\/]*)
4802 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
4803 ;;
4804 *)
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 for as_dir in $PATH
4807 do
4808 IFS=$as_save_IFS
4809 test -z "$as_dir" && as_dir=.
4810 for ac_exec_ext in '' $ac_executable_extensions; do
4811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4812 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
4813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 break 2
4815 fi
4816 done
4817 done
4818 IFS=$as_save_IFS
4819
4820 ;;
4821 esac
4822 fi
4823 SWIG=$ac_cv_path_SWIG
4824 if test -n "$SWIG"; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
4826 $as_echo "$SWIG" >&6; }
4827 else
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4830 fi
4831
4832
4833 # we use this to track the existance of swig
4834 has_swig=0
4835 if test -z "$SWIG" ; then
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&5
4837 $as_echo "$as_me: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&2;}
4838 SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
4839 elif test -n "1.1.5" ; then
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWIG version" >&5
4841 $as_echo_n "checking for SWIG version... " >&6; }
4842 swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
4844 $as_echo "$swig_version" >&6; }
4845 if test -n "$swig_version" ; then
4846 # Calculate the required version number components
4847 required=1.1.5
4848 required_major=`echo $required | sed 's/[^0-9].*//'`
4849 if test -z "$required_major" ; then
4850 required_major=0
4851 fi
4852 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
4853 required_minor=`echo $required | sed 's/[^0-9].*//'`
4854 if test -z "$required_minor" ; then
4855 required_minor=0
4856 fi
4857 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
4858 required_patch=`echo $required | sed 's/[^0-9].*//'`
4859 if test -z "$required_patch" ; then
4860 required_patch=0
4861 fi
4862 # Calculate the available version number components
4863 available=`echo $swig_version | sed 's/[^0-9]*//'`
4864 available_major=`echo $available | sed 's/[^0-9].*//'`
4865 if test -z "$available_major" ; then
4866 available_major=0
4867 fi
4868 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
4869 available_minor=`echo $available | sed 's/[^0-9].*//'`
4870 if test -z "$available_minor" ; then
4871 available_minor=0
4872 fi
4873 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
4874 available_patch=`echo $available | sed -e 's/.*Patch[^0-9]*//' -e 's/[^0-9]*//g' `
4875 if test -z "$available_patch" ; then
4876 available_patch=0
4877 fi
4878 # we have two modes of comparison...
4879 if test x"eq" == xeq; then
4880 if test $available_major -ne $required_major \
4881 -o $available_minor -ne $required_minor \
4882 -o $available_patch -ne $required_patch ; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&5
4884 $as_echo "$as_me: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&2;}
4885 SWIG='echo "Error: SWIG version == 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
4886 else
4887 has_swig=1
4888 fi
4889 else
4890 if test $available_major -ne $required_major \
4891 -o $available_minor -ne $required_minor \
4892 -o $available_patch -lt $required_patch ; then
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&5
4894 $as_echo "$as_me: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
4895 SWIG='echo "Error: SWIG version >= 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
4896 else
4897 has_swig=1
4898 fi
4899 fi
4900 else
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
4902 $as_echo "$as_me: WARNING: cannot determine SWIG version" >&2;}
4903 SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
4904 fi
4905 fi
4906 if test ! -z "$has_swig"; then
4907 SWIG_LIB=`$SWIG -swiglib`
4908 if test 1; then
4909 HAS_SWIG_TRUE=
4910 HAS_SWIG_FALSE='#'
4911 else
4912 HAS_SWIG_TRUE='#'
4913 HAS_SWIG_FALSE=
4914 fi
4915
4916 else
4917 if test 0; then
4918 HAS_SWIG_TRUE=
4919 HAS_SWIG_FALSE='#'
4920 else
4921 HAS_SWIG_TRUE='#'
4922 HAS_SWIG_FALSE=
4923 fi
4924
4925 fi
4926
4927
4928
4929 CFLAGS="$save_cflags"
4930 CXXFLAGS="$save_cxxflags"
4931
4932 case `pwd` in
4933 *\ * | *\ *)
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4935 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4936 esac
4937
4938
4939
4940 macro_version='2.2.6b'
4941 macro_revision='1.3017'
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955 ltmain="$ac_aux_dir/ltmain.sh"
4956
4957 # Make sure we can run config.sub.
4958 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4959 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4960
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4962 $as_echo_n "checking build system type... " >&6; }
4963 if ${ac_cv_build+:} false; then :
4964 $as_echo_n "(cached) " >&6
4965 else
4966 ac_build_alias=$build_alias
4967 test "x$ac_build_alias" = x &&
4968 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4969 test "x$ac_build_alias" = x &&
4970 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4971 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4972 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4973
4974 fi
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4976 $as_echo "$ac_cv_build" >&6; }
4977 case $ac_cv_build in
4978 *-*-*) ;;
4979 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4980 esac
4981 build=$ac_cv_build
4982 ac_save_IFS=$IFS; IFS='-'
4983 set x $ac_cv_build
4984 shift
4985 build_cpu=$1
4986 build_vendor=$2
4987 shift; shift
4988 # Remember, the first character of IFS is used to create $*,
4989 # except with old shells:
4990 build_os=$*
4991 IFS=$ac_save_IFS
4992 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4993
4994
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4996 $as_echo_n "checking host system type... " >&6; }
4997 if ${ac_cv_host+:} false; then :
4998 $as_echo_n "(cached) " >&6
4999 else
5000 if test "x$host_alias" = x; then
5001 ac_cv_host=$ac_cv_build
5002 else
5003 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5004 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5005 fi
5006
5007 fi
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5009 $as_echo "$ac_cv_host" >&6; }
5010 case $ac_cv_host in
5011 *-*-*) ;;
5012 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5013 esac
5014 host=$ac_cv_host
5015 ac_save_IFS=$IFS; IFS='-'
5016 set x $ac_cv_host
5017 shift
5018 host_cpu=$1
5019 host_vendor=$2
5020 shift; shift
5021 # Remember, the first character of IFS is used to create $*,
5022 # except with old shells:
5023 host_os=$*
5024 IFS=$ac_save_IFS
5025 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5026
5027
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5029 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5030 if ${ac_cv_path_SED+:} false; then :
5031 $as_echo_n "(cached) " >&6
5032 else
5033 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5034 for ac_i in 1 2 3 4 5 6 7; do
5035 ac_script="$ac_script$as_nl$ac_script"
5036 done
5037 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5038 { ac_script=; unset ac_script;}
5039 if test -z "$SED"; then
5040 ac_path_SED_found=false
5041 # Loop through the user's path and test for each of PROGNAME-LIST
5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 for as_dir in $PATH
5044 do
5045 IFS=$as_save_IFS
5046 test -z "$as_dir" && as_dir=.
5047 for ac_prog in sed gsed; do
5048 for ac_exec_ext in '' $ac_executable_extensions; do
5049 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5050 as_fn_executable_p "$ac_path_SED" || continue
5051 # Check for GNU ac_path_SED and select it if it is found.
5052 # Check for GNU $ac_path_SED
5053 case `"$ac_path_SED" --version 2>&1` in
5054 *GNU*)
5055 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5056 *)
5057 ac_count=0
5058 $as_echo_n 0123456789 >"conftest.in"
5059 while :
5060 do
5061 cat "conftest.in" "conftest.in" >"conftest.tmp"
5062 mv "conftest.tmp" "conftest.in"
5063 cp "conftest.in" "conftest.nl"
5064 $as_echo '' >> "conftest.nl"
5065 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5066 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5067 as_fn_arith $ac_count + 1 && ac_count=$as_val
5068 if test $ac_count -gt ${ac_path_SED_max-0}; then
5069 # Best one so far, save it but keep looking for a better one
5070 ac_cv_path_SED="$ac_path_SED"
5071 ac_path_SED_max=$ac_count
5072 fi
5073 # 10*(2^10) chars as input seems more than enough
5074 test $ac_count -gt 10 && break
5075 done
5076 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5077 esac
5078
5079 $ac_path_SED_found && break 3
5080 done
5081 done
5082 done
5083 IFS=$as_save_IFS
5084 if test -z "$ac_cv_path_SED"; then
5085 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5086 fi
5087 else
5088 ac_cv_path_SED=$SED
5089 fi
5090
5091 fi
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5093 $as_echo "$ac_cv_path_SED" >&6; }
5094 SED="$ac_cv_path_SED"
5095 rm -f conftest.sed
5096
5097 test -z "$SED" && SED=sed
5098 Xsed="$SED -e 1s/^X//"
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5111 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5112 if ${ac_cv_path_GREP+:} false; then :
5113 $as_echo_n "(cached) " >&6
5114 else
5115 if test -z "$GREP"; then
5116 ac_path_GREP_found=false
5117 # Loop through the user's path and test for each of PROGNAME-LIST
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5120 do
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_prog in grep ggrep; do
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5126 as_fn_executable_p "$ac_path_GREP" || continue
5127 # Check for GNU ac_path_GREP and select it if it is found.
5128 # Check for GNU $ac_path_GREP
5129 case `"$ac_path_GREP" --version 2>&1` in
5130 *GNU*)
5131 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5132 *)
5133 ac_count=0
5134 $as_echo_n 0123456789 >"conftest.in"
5135 while :
5136 do
5137 cat "conftest.in" "conftest.in" >"conftest.tmp"
5138 mv "conftest.tmp" "conftest.in"
5139 cp "conftest.in" "conftest.nl"
5140 $as_echo 'GREP' >> "conftest.nl"
5141 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5142 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5143 as_fn_arith $ac_count + 1 && ac_count=$as_val
5144 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5145 # Best one so far, save it but keep looking for a better one
5146 ac_cv_path_GREP="$ac_path_GREP"
5147 ac_path_GREP_max=$ac_count
5148 fi
5149 # 10*(2^10) chars as input seems more than enough
5150 test $ac_count -gt 10 && break
5151 done
5152 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5153 esac
5154
5155 $ac_path_GREP_found && break 3
5156 done
5157 done
5158 done
5159 IFS=$as_save_IFS
5160 if test -z "$ac_cv_path_GREP"; then
5161 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5162 fi
5163 else
5164 ac_cv_path_GREP=$GREP
5165 fi
5166
5167 fi
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5169 $as_echo "$ac_cv_path_GREP" >&6; }
5170 GREP="$ac_cv_path_GREP"
5171
5172
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5174 $as_echo_n "checking for egrep... " >&6; }
5175 if ${ac_cv_path_EGREP+:} false; then :
5176 $as_echo_n "(cached) " >&6
5177 else
5178 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5179 then ac_cv_path_EGREP="$GREP -E"
5180 else
5181 if test -z "$EGREP"; then
5182 ac_path_EGREP_found=false
5183 # Loop through the user's path and test for each of PROGNAME-LIST
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5186 do
5187 IFS=$as_save_IFS
5188 test -z "$as_dir" && as_dir=.
5189 for ac_prog in egrep; do
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5192 as_fn_executable_p "$ac_path_EGREP" || continue
5193 # Check for GNU ac_path_EGREP and select it if it is found.
5194 # Check for GNU $ac_path_EGREP
5195 case `"$ac_path_EGREP" --version 2>&1` in
5196 *GNU*)
5197 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5198 *)
5199 ac_count=0
5200 $as_echo_n 0123456789 >"conftest.in"
5201 while :
5202 do
5203 cat "conftest.in" "conftest.in" >"conftest.tmp"
5204 mv "conftest.tmp" "conftest.in"
5205 cp "conftest.in" "conftest.nl"
5206 $as_echo 'EGREP' >> "conftest.nl"
5207 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5208 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5209 as_fn_arith $ac_count + 1 && ac_count=$as_val
5210 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5211 # Best one so far, save it but keep looking for a better one
5212 ac_cv_path_EGREP="$ac_path_EGREP"
5213 ac_path_EGREP_max=$ac_count
5214 fi
5215 # 10*(2^10) chars as input seems more than enough
5216 test $ac_count -gt 10 && break
5217 done
5218 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5219 esac
5220
5221 $ac_path_EGREP_found && break 3
5222 done
5223 done
5224 done
5225 IFS=$as_save_IFS
5226 if test -z "$ac_cv_path_EGREP"; then
5227 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5228 fi
5229 else
5230 ac_cv_path_EGREP=$EGREP
5231 fi
5232
5233 fi
5234 fi
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5236 $as_echo "$ac_cv_path_EGREP" >&6; }
5237 EGREP="$ac_cv_path_EGREP"
5238
5239
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5241 $as_echo_n "checking for fgrep... " >&6; }
5242 if ${ac_cv_path_FGREP+:} false; then :
5243 $as_echo_n "(cached) " >&6
5244 else
5245 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5246 then ac_cv_path_FGREP="$GREP -F"
5247 else
5248 if test -z "$FGREP"; then
5249 ac_path_FGREP_found=false
5250 # Loop through the user's path and test for each of PROGNAME-LIST
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5253 do
5254 IFS=$as_save_IFS
5255 test -z "$as_dir" && as_dir=.
5256 for ac_prog in fgrep; do
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5259 as_fn_executable_p "$ac_path_FGREP" || continue
5260 # Check for GNU ac_path_FGREP and select it if it is found.
5261 # Check for GNU $ac_path_FGREP
5262 case `"$ac_path_FGREP" --version 2>&1` in
5263 *GNU*)
5264 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5265 *)
5266 ac_count=0
5267 $as_echo_n 0123456789 >"conftest.in"
5268 while :
5269 do
5270 cat "conftest.in" "conftest.in" >"conftest.tmp"
5271 mv "conftest.tmp" "conftest.in"
5272 cp "conftest.in" "conftest.nl"
5273 $as_echo 'FGREP' >> "conftest.nl"
5274 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5275 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5276 as_fn_arith $ac_count + 1 && ac_count=$as_val
5277 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5278 # Best one so far, save it but keep looking for a better one
5279 ac_cv_path_FGREP="$ac_path_FGREP"
5280 ac_path_FGREP_max=$ac_count
5281 fi
5282 # 10*(2^10) chars as input seems more than enough
5283 test $ac_count -gt 10 && break
5284 done
5285 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5286 esac
5287
5288 $ac_path_FGREP_found && break 3
5289 done
5290 done
5291 done
5292 IFS=$as_save_IFS
5293 if test -z "$ac_cv_path_FGREP"; then
5294 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5295 fi
5296 else
5297 ac_cv_path_FGREP=$FGREP
5298 fi
5299
5300 fi
5301 fi
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5303 $as_echo "$ac_cv_path_FGREP" >&6; }
5304 FGREP="$ac_cv_path_FGREP"
5305
5306
5307 test -z "$GREP" && GREP=grep
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327 @%:@ Check whether --with-gnu-ld was given.
5328 if test "${with_gnu_ld+set}" = set; then :
5329 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5330 else
5331 with_gnu_ld=no
5332 fi
5333
5334 ac_prog=ld
5335 if test "$GCC" = yes; then
5336 # Check if gcc -print-prog-name=ld gives a path.
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5338 $as_echo_n "checking for ld used by $CC... " >&6; }
5339 case $host in
5340 *-*-mingw*)
5341 # gcc leaves a trailing carriage return which upsets mingw
5342 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5343 *)
5344 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5345 esac
5346 case $ac_prog in
5347 # Accept absolute paths.
5348 [\\/]* | ?:[\\/]*)
5349 re_direlt='/[^/][^/]*/\.\./'
5350 # Canonicalize the pathname of ld
5351 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5352 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5353 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5354 done
5355 test -z "$LD" && LD="$ac_prog"
5356 ;;
5357 "")
5358 # If it fails, then pretend we aren't using GCC.
5359 ac_prog=ld
5360 ;;
5361 *)
5362 # If it is relative, then search for the first ld in PATH.
5363 with_gnu_ld=unknown
5364 ;;
5365 esac
5366 elif test "$with_gnu_ld" = yes; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5368 $as_echo_n "checking for GNU ld... " >&6; }
5369 else
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5371 $as_echo_n "checking for non-GNU ld... " >&6; }
5372 fi
5373 if ${lt_cv_path_LD+:} false; then :
5374 $as_echo_n "(cached) " >&6
5375 else
5376 if test -z "$LD"; then
5377 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5378 for ac_dir in $PATH; do
5379 IFS="$lt_save_ifs"
5380 test -z "$ac_dir" && ac_dir=.
5381 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5382 lt_cv_path_LD="$ac_dir/$ac_prog"
5383 # Check to see if the program is GNU ld. I'd rather use --version,
5384 # but apparently some variants of GNU ld only accept -v.
5385 # Break only if it was the GNU/non-GNU ld that we prefer.
5386 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5387 *GNU* | *'with BFD'*)
5388 test "$with_gnu_ld" != no && break
5389 ;;
5390 *)
5391 test "$with_gnu_ld" != yes && break
5392 ;;
5393 esac
5394 fi
5395 done
5396 IFS="$lt_save_ifs"
5397 else
5398 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5399 fi
5400 fi
5401
5402 LD="$lt_cv_path_LD"
5403 if test -n "$LD"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5405 $as_echo "$LD" >&6; }
5406 else
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5409 fi
5410 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5412 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5413 if ${lt_cv_prog_gnu_ld+:} false; then :
5414 $as_echo_n "(cached) " >&6
5415 else
5416 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5417 case `$LD -v 2>&1 </dev/null` in
5418 *GNU* | *'with BFD'*)
5419 lt_cv_prog_gnu_ld=yes
5420 ;;
5421 *)
5422 lt_cv_prog_gnu_ld=no
5423 ;;
5424 esac
5425 fi
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5427 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5428 with_gnu_ld=$lt_cv_prog_gnu_ld
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5439 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5440 if ${lt_cv_path_NM+:} false; then :
5441 $as_echo_n "(cached) " >&6
5442 else
5443 if test -n "$NM"; then
5444 # Let the user override the test.
5445 lt_cv_path_NM="$NM"
5446 else
5447 lt_nm_to_check="${ac_tool_prefix}nm"
5448 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5449 lt_nm_to_check="$lt_nm_to_check nm"
5450 fi
5451 for lt_tmp_nm in $lt_nm_to_check; do
5452 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5453 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5454 IFS="$lt_save_ifs"
5455 test -z "$ac_dir" && ac_dir=.
5456 tmp_nm="$ac_dir/$lt_tmp_nm"
5457 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5458 # Check to see if the nm accepts a BSD-compat flag.
5459 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5460 # nm: unknown option "B" ignored
5461 # Tru64's nm complains that /dev/null is an invalid object file
5462 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5463 */dev/null* | *'Invalid file or object type'*)
5464 lt_cv_path_NM="$tmp_nm -B"
5465 break
5466 ;;
5467 *)
5468 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5469 */dev/null*)
5470 lt_cv_path_NM="$tmp_nm -p"
5471 break
5472 ;;
5473 *)
5474 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5475 continue # so that we can try to find one that supports BSD flags
5476 ;;
5477 esac
5478 ;;
5479 esac
5480 fi
5481 done
5482 IFS="$lt_save_ifs"
5483 done
5484 : ${lt_cv_path_NM=no}
5485 fi
5486 fi
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5488 $as_echo "$lt_cv_path_NM" >&6; }
5489 if test "$lt_cv_path_NM" != "no"; then
5490 NM="$lt_cv_path_NM"
5491 else
5492 # Didn't find any BSD compatible name lister, look for dumpbin.
5493 if test -n "$ac_tool_prefix"; then
5494 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5495 do
5496 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5497 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_DUMPBIN+:} false; then :
5501 $as_echo_n "(cached) " >&6
5502 else
5503 if test -n "$DUMPBIN"; then
5504 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5505 else
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH
5508 do
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 break 2
5516 fi
5517 done
5518 done
5519 IFS=$as_save_IFS
5520
5521 fi
5522 fi
5523 DUMPBIN=$ac_cv_prog_DUMPBIN
5524 if test -n "$DUMPBIN"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5526 $as_echo "$DUMPBIN" >&6; }
5527 else
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5530 fi
5531
5532
5533 test -n "$DUMPBIN" && break
5534 done
5535 fi
5536 if test -z "$DUMPBIN"; then
5537 ac_ct_DUMPBIN=$DUMPBIN
5538 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5539 do
5540 # Extract the first word of "$ac_prog", so it can be a program name with args.
5541 set dummy $ac_prog; ac_word=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5545 $as_echo_n "(cached) " >&6
5546 else
5547 if test -n "$ac_ct_DUMPBIN"; then
5548 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5549 else
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 for as_dir in $PATH
5552 do
5553 IFS=$as_save_IFS
5554 test -z "$as_dir" && as_dir=.
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5557 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559 break 2
5560 fi
5561 done
5562 done
5563 IFS=$as_save_IFS
5564
5565 fi
5566 fi
5567 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5568 if test -n "$ac_ct_DUMPBIN"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5570 $as_echo "$ac_ct_DUMPBIN" >&6; }
5571 else
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5574 fi
5575
5576
5577 test -n "$ac_ct_DUMPBIN" && break
5578 done
5579
5580 if test "x$ac_ct_DUMPBIN" = x; then
5581 DUMPBIN=":"
5582 else
5583 case $cross_compiling:$ac_tool_warned in
5584 yes:)
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5587 ac_tool_warned=yes ;;
5588 esac
5589 DUMPBIN=$ac_ct_DUMPBIN
5590 fi
5591 fi
5592
5593
5594 if test "$DUMPBIN" != ":"; then
5595 NM="$DUMPBIN"
5596 fi
5597 fi
5598 test -z "$NM" && NM=nm
5599
5600
5601
5602
5603
5604
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5606 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5607 if ${lt_cv_nm_interface+:} false; then :
5608 $as_echo_n "(cached) " >&6
5609 else
5610 lt_cv_nm_interface="BSD nm"
5611 echo "int some_variable = 0;" > conftest.$ac_ext
5612 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
5613 (eval "$ac_compile" 2>conftest.err)
5614 cat conftest.err >&5
5615 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5616 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5617 cat conftest.err >&5
5618 (eval echo "\"\$as_me:__oline__: output\"" >&5)
5619 cat conftest.out >&5
5620 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5621 lt_cv_nm_interface="MS dumpbin"
5622 fi
5623 rm -f conftest*
5624 fi
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5626 $as_echo "$lt_cv_nm_interface" >&6; }
5627
5628 # find the maximum length of command line arguments
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5630 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5631 if ${lt_cv_sys_max_cmd_len+:} false; then :
5632 $as_echo_n "(cached) " >&6
5633 else
5634 i=0
5635 teststring="ABCD"
5636
5637 case $build_os in
5638 msdosdjgpp*)
5639 # On DJGPP, this test can blow up pretty badly due to problems in libc
5640 # (any single argument exceeding 2000 bytes causes a buffer overrun
5641 # during glob expansion). Even if it were fixed, the result of this
5642 # check would be larger than it should be.
5643 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5644 ;;
5645
5646 gnu*)
5647 # Under GNU Hurd, this test is not required because there is
5648 # no limit to the length of command line arguments.
5649 # Libtool will interpret -1 as no limit whatsoever
5650 lt_cv_sys_max_cmd_len=-1;
5651 ;;
5652
5653 cygwin* | mingw* | cegcc*)
5654 # On Win9x/ME, this test blows up -- it succeeds, but takes
5655 # about 5 minutes as the teststring grows exponentially.
5656 # Worse, since 9x/ME are not pre-emptively multitasking,
5657 # you end up with a "frozen" computer, even though with patience
5658 # the test eventually succeeds (with a max line length of 256k).
5659 # Instead, let's just punt: use the minimum linelength reported by
5660 # all of the supported platforms: 8192 (on NT/2K/XP).
5661 lt_cv_sys_max_cmd_len=8192;
5662 ;;
5663
5664 amigaos*)
5665 # On AmigaOS with pdksh, this test takes hours, literally.
5666 # So we just punt and use a minimum line length of 8192.
5667 lt_cv_sys_max_cmd_len=8192;
5668 ;;
5669
5670 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5671 # This has been around since 386BSD, at least. Likely further.
5672 if test -x /sbin/sysctl; then
5673 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5674 elif test -x /usr/sbin/sysctl; then
5675 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5676 else
5677 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5678 fi
5679 # And add a safety zone
5680 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5681 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5682 ;;
5683
5684 interix*)
5685 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5686 lt_cv_sys_max_cmd_len=196608
5687 ;;
5688
5689 osf*)
5690 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5691 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5692 # nice to cause kernel panics so lets avoid the loop below.
5693 # First set a reasonable default.
5694 lt_cv_sys_max_cmd_len=16384
5695 #
5696 if test -x /sbin/sysconfig; then
5697 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5698 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5699 esac
5700 fi
5701 ;;
5702 sco3.2v5*)
5703 lt_cv_sys_max_cmd_len=102400
5704 ;;
5705 sysv5* | sco5v6* | sysv4.2uw2*)
5706 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5707 if test -n "$kargmax"; then
5708 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5709 else
5710 lt_cv_sys_max_cmd_len=32768
5711 fi
5712 ;;
5713 *)
5714 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5715 if test -n "$lt_cv_sys_max_cmd_len"; then
5716 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5717 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5718 else
5719 # Make teststring a little bigger before we do anything with it.
5720 # a 1K string should be a reasonable start.
5721 for i in 1 2 3 4 5 6 7 8 ; do
5722 teststring=$teststring$teststring
5723 done
5724 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5725 # If test is not a shell built-in, we'll probably end up computing a
5726 # maximum length that is only half of the actual maximum length, but
5727 # we can't tell.
5728 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5729 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5730 test $i != 17 # 1/2 MB should be enough
5731 do
5732 i=`expr $i + 1`
5733 teststring=$teststring$teststring
5734 done
5735 # Only check the string length outside the loop.
5736 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5737 teststring=
5738 # Add a significant safety factor because C++ compilers can tack on
5739 # massive amounts of additional arguments before passing them to the
5740 # linker. It appears as though 1/2 is a usable value.
5741 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5742 fi
5743 ;;
5744 esac
5745
5746 fi
5747
5748 if test -n $lt_cv_sys_max_cmd_len ; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5750 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5751 else
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5753 $as_echo "none" >&6; }
5754 fi
5755 max_cmd_len=$lt_cv_sys_max_cmd_len
5756
5757
5758
5759
5760
5761
5762 : ${CP="cp -f"}
5763 : ${MV="mv -f"}
5764 : ${RM="rm -f"}
5765
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5767 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5768 # Try some XSI features
5769 xsi_shell=no
5770 ( _lt_dummy="a/b/c"
5771 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5772 = c,a/b,, \
5773 && eval 'test $(( 1 + 1 )) -eq 2 \
5774 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5775 && xsi_shell=yes
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5777 $as_echo "$xsi_shell" >&6; }
5778
5779
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5781 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5782 lt_shell_append=no
5783 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5784 >/dev/null 2>&1 \
5785 && lt_shell_append=yes
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5787 $as_echo "$lt_shell_append" >&6; }
5788
5789
5790 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5791 lt_unset=unset
5792 else
5793 lt_unset=false
5794 fi
5795
5796
5797
5798
5799
5800 # test EBCDIC or ASCII
5801 case `echo X|tr X '\101'` in
5802 A) # ASCII based system
5803 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5804 lt_SP2NL='tr \040 \012'
5805 lt_NL2SP='tr \015\012 \040\040'
5806 ;;
5807 *) # EBCDIC based system
5808 lt_SP2NL='tr \100 \n'
5809 lt_NL2SP='tr \r\n \100\100'
5810 ;;
5811 esac
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5822 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5823 if ${lt_cv_ld_reload_flag+:} false; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 lt_cv_ld_reload_flag='-r'
5827 fi
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5829 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5830 reload_flag=$lt_cv_ld_reload_flag
5831 case $reload_flag in
5832 "" | " "*) ;;
5833 *) reload_flag=" $reload_flag" ;;
5834 esac
5835 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5836 case $host_os in
5837 darwin*)
5838 if test "$GCC" = yes; then
5839 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5840 else
5841 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5842 fi
5843 ;;
5844 esac
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854 if test -n "$ac_tool_prefix"; then
5855 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5856 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_OBJDUMP+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 if test -n "$OBJDUMP"; then
5863 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5867 do
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5875 fi
5876 done
5877 done
5878 IFS=$as_save_IFS
5879
5880 fi
5881 fi
5882 OBJDUMP=$ac_cv_prog_OBJDUMP
5883 if test -n "$OBJDUMP"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5885 $as_echo "$OBJDUMP" >&6; }
5886 else
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5889 fi
5890
5891
5892 fi
5893 if test -z "$ac_cv_prog_OBJDUMP"; then
5894 ac_ct_OBJDUMP=$OBJDUMP
5895 # Extract the first word of "objdump", so it can be a program name with args.
5896 set dummy objdump; ac_word=$2
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5898 $as_echo_n "checking for $ac_word... " >&6; }
5899 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5900 $as_echo_n "(cached) " >&6
5901 else
5902 if test -n "$ac_ct_OBJDUMP"; then
5903 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5904 else
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 for as_dir in $PATH
5907 do
5908 IFS=$as_save_IFS
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5912 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 break 2
5915 fi
5916 done
5917 done
5918 IFS=$as_save_IFS
5919
5920 fi
5921 fi
5922 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5923 if test -n "$ac_ct_OBJDUMP"; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5925 $as_echo "$ac_ct_OBJDUMP" >&6; }
5926 else
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5928 $as_echo "no" >&6; }
5929 fi
5930
5931 if test "x$ac_ct_OBJDUMP" = x; then
5932 OBJDUMP="false"
5933 else
5934 case $cross_compiling:$ac_tool_warned in
5935 yes:)
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5938 ac_tool_warned=yes ;;
5939 esac
5940 OBJDUMP=$ac_ct_OBJDUMP
5941 fi
5942 else
5943 OBJDUMP="$ac_cv_prog_OBJDUMP"
5944 fi
5945
5946 test -z "$OBJDUMP" && OBJDUMP=objdump
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5957 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5958 if ${lt_cv_deplibs_check_method+:} false; then :
5959 $as_echo_n "(cached) " >&6
5960 else
5961 lt_cv_file_magic_cmd='$MAGIC_CMD'
5962 lt_cv_file_magic_test_file=
5963 lt_cv_deplibs_check_method='unknown'
5964 # Need to set the preceding variable on all platforms that support
5965 # interlibrary dependencies.
5966 # 'none' -- dependencies not supported.
5967 # `unknown' -- same as none, but documents that we really don't know.
5968 # 'pass_all' -- all dependencies passed with no checks.
5969 # 'test_compile' -- check by making test program.
5970 # 'file_magic [[regex]]' -- check by looking for files in library path
5971 # which responds to the $file_magic_cmd with a given extended regex.
5972 # If you have `file' or equivalent on your system and you're not sure
5973 # whether `pass_all' will *always* work, you probably want this one.
5974
5975 case $host_os in
5976 aix[4-9]*)
5977 lt_cv_deplibs_check_method=pass_all
5978 ;;
5979
5980 beos*)
5981 lt_cv_deplibs_check_method=pass_all
5982 ;;
5983
5984 bsdi[45]*)
5985 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5986 lt_cv_file_magic_cmd='/usr/bin/file -L'
5987 lt_cv_file_magic_test_file=/shlib/libc.so
5988 ;;
5989
5990 cygwin*)
5991 # func_win32_libid is a shell function defined in ltmain.sh
5992 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5993 lt_cv_file_magic_cmd='func_win32_libid'
5994 ;;
5995
5996 mingw* | pw32*)
5997 # Base MSYS/MinGW do not provide the 'file' command needed by
5998 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5999 # unless we find 'file', for example because we are cross-compiling.
6000 if ( file / ) >/dev/null 2>&1; then
6001 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6002 lt_cv_file_magic_cmd='func_win32_libid'
6003 else
6004 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6005 lt_cv_file_magic_cmd='$OBJDUMP -f'
6006 fi
6007 ;;
6008
6009 cegcc)
6010 # use the weaker test based on 'objdump'. See mingw*.
6011 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6012 lt_cv_file_magic_cmd='$OBJDUMP -f'
6013 ;;
6014
6015 darwin* | rhapsody*)
6016 lt_cv_deplibs_check_method=pass_all
6017 ;;
6018
6019 freebsd* | dragonfly*)
6020 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6021 case $host_cpu in
6022 i*86 )
6023 # Not sure whether the presence of OpenBSD here was a mistake.
6024 # Let's accept both of them until this is cleared up.
6025 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6026 lt_cv_file_magic_cmd=/usr/bin/file
6027 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6028 ;;
6029 esac
6030 else
6031 lt_cv_deplibs_check_method=pass_all
6032 fi
6033 ;;
6034
6035 gnu*)
6036 lt_cv_deplibs_check_method=pass_all
6037 ;;
6038
6039 hpux10.20* | hpux11*)
6040 lt_cv_file_magic_cmd=/usr/bin/file
6041 case $host_cpu in
6042 ia64*)
6043 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6044 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6045 ;;
6046 hppa*64*)
6047 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6048 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6049 ;;
6050 *)
6051 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6052 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6053 ;;
6054 esac
6055 ;;
6056
6057 interix[3-9]*)
6058 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6059 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6060 ;;
6061
6062 irix5* | irix6* | nonstopux*)
6063 case $LD in
6064 *-32|*"-32 ") libmagic=32-bit;;
6065 *-n32|*"-n32 ") libmagic=N32;;
6066 *-64|*"-64 ") libmagic=64-bit;;
6067 *) libmagic=never-match;;
6068 esac
6069 lt_cv_deplibs_check_method=pass_all
6070 ;;
6071
6072 # This must be Linux ELF.
6073 linux* | k*bsd*-gnu)
6074 lt_cv_deplibs_check_method=pass_all
6075 ;;
6076
6077 netbsd*)
6078 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6079 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6080 else
6081 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6082 fi
6083 ;;
6084
6085 newos6*)
6086 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6087 lt_cv_file_magic_cmd=/usr/bin/file
6088 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6089 ;;
6090
6091 *nto* | *qnx*)
6092 lt_cv_deplibs_check_method=pass_all
6093 ;;
6094
6095 openbsd*)
6096 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6097 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6098 else
6099 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6100 fi
6101 ;;
6102
6103 osf3* | osf4* | osf5*)
6104 lt_cv_deplibs_check_method=pass_all
6105 ;;
6106
6107 rdos*)
6108 lt_cv_deplibs_check_method=pass_all
6109 ;;
6110
6111 solaris*)
6112 lt_cv_deplibs_check_method=pass_all
6113 ;;
6114
6115 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6116 lt_cv_deplibs_check_method=pass_all
6117 ;;
6118
6119 sysv4 | sysv4.3*)
6120 case $host_vendor in
6121 motorola)
6122 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]'
6123 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6124 ;;
6125 ncr)
6126 lt_cv_deplibs_check_method=pass_all
6127 ;;
6128 sequent)
6129 lt_cv_file_magic_cmd='/bin/file'
6130 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6131 ;;
6132 sni)
6133 lt_cv_file_magic_cmd='/bin/file'
6134 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6135 lt_cv_file_magic_test_file=/lib/libc.so
6136 ;;
6137 siemens)
6138 lt_cv_deplibs_check_method=pass_all
6139 ;;
6140 pc)
6141 lt_cv_deplibs_check_method=pass_all
6142 ;;
6143 esac
6144 ;;
6145
6146 tpf*)
6147 lt_cv_deplibs_check_method=pass_all
6148 ;;
6149 esac
6150
6151 fi
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6153 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6154 file_magic_cmd=$lt_cv_file_magic_cmd
6155 deplibs_check_method=$lt_cv_deplibs_check_method
6156 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169 if test -n "$ac_tool_prefix"; then
6170 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6171 set dummy ${ac_tool_prefix}ar; ac_word=$2
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6173 $as_echo_n "checking for $ac_word... " >&6; }
6174 if ${ac_cv_prog_AR+:} false; then :
6175 $as_echo_n "(cached) " >&6
6176 else
6177 if test -n "$AR"; then
6178 ac_cv_prog_AR="$AR" # Let the user override the test.
6179 else
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181 for as_dir in $PATH
6182 do
6183 IFS=$as_save_IFS
6184 test -z "$as_dir" && as_dir=.
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6187 ac_cv_prog_AR="${ac_tool_prefix}ar"
6188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6189 break 2
6190 fi
6191 done
6192 done
6193 IFS=$as_save_IFS
6194
6195 fi
6196 fi
6197 AR=$ac_cv_prog_AR
6198 if test -n "$AR"; then
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6200 $as_echo "$AR" >&6; }
6201 else
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6203 $as_echo "no" >&6; }
6204 fi
6205
6206
6207 fi
6208 if test -z "$ac_cv_prog_AR"; then
6209 ac_ct_AR=$AR
6210 # Extract the first word of "ar", so it can be a program name with args.
6211 set dummy ar; ac_word=$2
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6213 $as_echo_n "checking for $ac_word... " >&6; }
6214 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6215 $as_echo_n "(cached) " >&6
6216 else
6217 if test -n "$ac_ct_AR"; then
6218 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6219 else
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH
6222 do
6223 IFS=$as_save_IFS
6224 test -z "$as_dir" && as_dir=.
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227 ac_cv_prog_ac_ct_AR="ar"
6228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 break 2
6230 fi
6231 done
6232 done
6233 IFS=$as_save_IFS
6234
6235 fi
6236 fi
6237 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6238 if test -n "$ac_ct_AR"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6240 $as_echo "$ac_ct_AR" >&6; }
6241 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6243 $as_echo "no" >&6; }
6244 fi
6245
6246 if test "x$ac_ct_AR" = x; then
6247 AR="false"
6248 else
6249 case $cross_compiling:$ac_tool_warned in
6250 yes:)
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6253 ac_tool_warned=yes ;;
6254 esac
6255 AR=$ac_ct_AR
6256 fi
6257 else
6258 AR="$ac_cv_prog_AR"
6259 fi
6260
6261 test -z "$AR" && AR=ar
6262 test -z "$AR_FLAGS" && AR_FLAGS=cru
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274 if test -n "$ac_tool_prefix"; then
6275 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6276 set dummy ${ac_tool_prefix}strip; ac_word=$2
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278 $as_echo_n "checking for $ac_word... " >&6; }
6279 if ${ac_cv_prog_STRIP+:} false; then :
6280 $as_echo_n "(cached) " >&6
6281 else
6282 if test -n "$STRIP"; then
6283 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6284 else
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286 for as_dir in $PATH
6287 do
6288 IFS=$as_save_IFS
6289 test -z "$as_dir" && as_dir=.
6290 for ac_exec_ext in '' $ac_executable_extensions; do
6291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6292 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6294 break 2
6295 fi
6296 done
6297 done
6298 IFS=$as_save_IFS
6299
6300 fi
6301 fi
6302 STRIP=$ac_cv_prog_STRIP
6303 if test -n "$STRIP"; then
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6305 $as_echo "$STRIP" >&6; }
6306 else
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308 $as_echo "no" >&6; }
6309 fi
6310
6311
6312 fi
6313 if test -z "$ac_cv_prog_STRIP"; then
6314 ac_ct_STRIP=$STRIP
6315 # Extract the first word of "strip", so it can be a program name with args.
6316 set dummy strip; ac_word=$2
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6318 $as_echo_n "checking for $ac_word... " >&6; }
6319 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6320 $as_echo_n "(cached) " >&6
6321 else
6322 if test -n "$ac_ct_STRIP"; then
6323 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6324 else
6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326 for as_dir in $PATH
6327 do
6328 IFS=$as_save_IFS
6329 test -z "$as_dir" && as_dir=.
6330 for ac_exec_ext in '' $ac_executable_extensions; do
6331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6332 ac_cv_prog_ac_ct_STRIP="strip"
6333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6334 break 2
6335 fi
6336 done
6337 done
6338 IFS=$as_save_IFS
6339
6340 fi
6341 fi
6342 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6343 if test -n "$ac_ct_STRIP"; then
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6345 $as_echo "$ac_ct_STRIP" >&6; }
6346 else
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6348 $as_echo "no" >&6; }
6349 fi
6350
6351 if test "x$ac_ct_STRIP" = x; then
6352 STRIP=":"
6353 else
6354 case $cross_compiling:$ac_tool_warned in
6355 yes:)
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6358 ac_tool_warned=yes ;;
6359 esac
6360 STRIP=$ac_ct_STRIP
6361 fi
6362 else
6363 STRIP="$ac_cv_prog_STRIP"
6364 fi
6365
6366 test -z "$STRIP" && STRIP=:
6367
6368
6369
6370
6371
6372
6373 if test -n "$ac_tool_prefix"; then
6374 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6375 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6377 $as_echo_n "checking for $ac_word... " >&6; }
6378 if ${ac_cv_prog_RANLIB+:} false; then :
6379 $as_echo_n "(cached) " >&6
6380 else
6381 if test -n "$RANLIB"; then
6382 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6383 else
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385 for as_dir in $PATH
6386 do
6387 IFS=$as_save_IFS
6388 test -z "$as_dir" && as_dir=.
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6391 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 break 2
6394 fi
6395 done
6396 done
6397 IFS=$as_save_IFS
6398
6399 fi
6400 fi
6401 RANLIB=$ac_cv_prog_RANLIB
6402 if test -n "$RANLIB"; then
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6404 $as_echo "$RANLIB" >&6; }
6405 else
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6407 $as_echo "no" >&6; }
6408 fi
6409
6410
6411 fi
6412 if test -z "$ac_cv_prog_RANLIB"; then
6413 ac_ct_RANLIB=$RANLIB
6414 # Extract the first word of "ranlib", so it can be a program name with args.
6415 set dummy ranlib; ac_word=$2
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6417 $as_echo_n "checking for $ac_word... " >&6; }
6418 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6419 $as_echo_n "(cached) " >&6
6420 else
6421 if test -n "$ac_ct_RANLIB"; then
6422 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6423 else
6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425 for as_dir in $PATH
6426 do
6427 IFS=$as_save_IFS
6428 test -z "$as_dir" && as_dir=.
6429 for ac_exec_ext in '' $ac_executable_extensions; do
6430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6431 ac_cv_prog_ac_ct_RANLIB="ranlib"
6432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6433 break 2
6434 fi
6435 done
6436 done
6437 IFS=$as_save_IFS
6438
6439 fi
6440 fi
6441 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6442 if test -n "$ac_ct_RANLIB"; then
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6444 $as_echo "$ac_ct_RANLIB" >&6; }
6445 else
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447 $as_echo "no" >&6; }
6448 fi
6449
6450 if test "x$ac_ct_RANLIB" = x; then
6451 RANLIB=":"
6452 else
6453 case $cross_compiling:$ac_tool_warned in
6454 yes:)
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6457 ac_tool_warned=yes ;;
6458 esac
6459 RANLIB=$ac_ct_RANLIB
6460 fi
6461 else
6462 RANLIB="$ac_cv_prog_RANLIB"
6463 fi
6464
6465 test -z "$RANLIB" && RANLIB=:
6466
6467
6468
6469
6470
6471
6472 # Determine commands to create old-style static archives.
6473 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6474 old_postinstall_cmds='chmod 644 $oldlib'
6475 old_postuninstall_cmds=
6476
6477 if test -n "$RANLIB"; then
6478 case $host_os in
6479 openbsd*)
6480 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6481 ;;
6482 *)
6483 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6484 ;;
6485 esac
6486 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6487 fi
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522 # If no C compiler was specified, use CC.
6523 LTCC=${LTCC-"$CC"}
6524
6525 # If no C compiler flags were specified, use CFLAGS.
6526 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6527
6528 # Allow CC to be a program name with arguments.
6529 compiler=$CC
6530
6531
6532 # Check for command to grab the raw symbol name followed by C symbol from nm.
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6534 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6535 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6536 $as_echo_n "(cached) " >&6
6537 else
6538
6539 # These are sane defaults that work on at least a few old systems.
6540 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6541
6542 # Character class describing NM global symbol codes.
6543 symcode='[BCDEGRST]'
6544
6545 # Regexp to match symbols that can be accessed directly from C.
6546 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6547
6548 # Define system-specific variables.
6549 case $host_os in
6550 aix*)
6551 symcode='[BCDT]'
6552 ;;
6553 cygwin* | mingw* | pw32* | cegcc*)
6554 symcode='[ABCDGISTW]'
6555 ;;
6556 hpux*)
6557 if test "$host_cpu" = ia64; then
6558 symcode='[ABCDEGRST]'
6559 fi
6560 ;;
6561 irix* | nonstopux*)
6562 symcode='[BCDEGRST]'
6563 ;;
6564 osf*)
6565 symcode='[BCDEGQRST]'
6566 ;;
6567 solaris*)
6568 symcode='[BDRT]'
6569 ;;
6570 sco3.2v5*)
6571 symcode='[DT]'
6572 ;;
6573 sysv4.2uw2*)
6574 symcode='[DT]'
6575 ;;
6576 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6577 symcode='[ABDT]'
6578 ;;
6579 sysv4)
6580 symcode='[DFNSTU]'
6581 ;;
6582 esac
6583
6584 # If we're using GNU nm, then use its standard symbol codes.
6585 case `$NM -V 2>&1` in
6586 *GNU* | *'with BFD'*)
6587 symcode='[ABCDGIRSTW]' ;;
6588 esac
6589
6590 # Transform an extracted symbol line into a proper C declaration.
6591 # Some systems (esp. on ia64) link data and code symbols differently,
6592 # so use this general approach.
6593 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6594
6595 # Transform an extracted symbol line into symbol name and symbol address
6596 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6597 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'"
6598
6599 # Handle CRLF in mingw tool chain
6600 opt_cr=
6601 case $build_os in
6602 mingw*)
6603 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6604 ;;
6605 esac
6606
6607 # Try without a prefix underscore, then with it.
6608 for ac_symprfx in "" "_"; do
6609
6610 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6611 symxfrm="\\1 $ac_symprfx\\2 \\2"
6612
6613 # Write the raw and C identifiers.
6614 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6615 # Fake it for dumpbin and say T for any non-static function
6616 # and D for any global variable.
6617 # Also find C++ and __fastcall symbols from MSVC++,
6618 # which start with @ or ?.
6619 lt_cv_sys_global_symbol_pipe="$AWK '"\
6620 " {last_section=section; section=\$ 3};"\
6621 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6622 " \$ 0!~/External *\|/{next};"\
6623 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6624 " {if(hide[section]) next};"\
6625 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6626 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6627 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6628 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6629 " ' prfx=^$ac_symprfx"
6630 else
6631 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6632 fi
6633
6634 # Check to see that the pipe works correctly.
6635 pipe_works=no
6636
6637 rm -f conftest*
6638 cat > conftest.$ac_ext <<_LT_EOF
6639 #ifdef __cplusplus
6640 extern "C" {
6641 #endif
6642 char nm_test_var;
6643 void nm_test_func(void);
6644 void nm_test_func(void){}
6645 #ifdef __cplusplus
6646 }
6647 #endif
6648 int main(){nm_test_var='a';nm_test_func();return(0);}
6649 _LT_EOF
6650
6651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6652 (eval $ac_compile) 2>&5
6653 ac_status=$?
6654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6655 test $ac_status = 0; }; then
6656 # Now try to grab the symbols.
6657 nlist=conftest.nm
6658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6659 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6660 ac_status=$?
6661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6662 test $ac_status = 0; } && test -s "$nlist"; then
6663 # Try sorting and uniquifying the output.
6664 if sort "$nlist" | uniq > "$nlist"T; then
6665 mv -f "$nlist"T "$nlist"
6666 else
6667 rm -f "$nlist"T
6668 fi
6669
6670 # Make sure that we snagged all the symbols we need.
6671 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6672 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6673 cat <<_LT_EOF > conftest.$ac_ext
6674 #ifdef __cplusplus
6675 extern "C" {
6676 #endif
6677
6678 _LT_EOF
6679 # Now generate the symbol file.
6680 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6681
6682 cat <<_LT_EOF >> conftest.$ac_ext
6683
6684 /* The mapping between symbol names and symbols. */
6685 const struct {
6686 const char *name;
6687 void *address;
6688 }
6689 lt__PROGRAM__LTX_preloaded_symbols[] =
6690 {
6691 { "@PROGRAM@", (void *) 0 },
6692 _LT_EOF
6693 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6694 cat <<\_LT_EOF >> conftest.$ac_ext
6695 {0, (void *) 0}
6696 };
6697
6698 /* This works around a problem in FreeBSD linker */
6699 #ifdef FREEBSD_WORKAROUND
6700 static const void *lt_preloaded_setup() {
6701 return lt__PROGRAM__LTX_preloaded_symbols;
6702 }
6703 #endif
6704
6705 #ifdef __cplusplus
6706 }
6707 #endif
6708 _LT_EOF
6709 # Now try linking the two files.
6710 mv conftest.$ac_objext conftstm.$ac_objext
6711 lt_save_LIBS="$LIBS"
6712 lt_save_CFLAGS="$CFLAGS"
6713 LIBS="conftstm.$ac_objext"
6714 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6715 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6716 (eval $ac_link) 2>&5
6717 ac_status=$?
6718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6719 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6720 pipe_works=yes
6721 fi
6722 LIBS="$lt_save_LIBS"
6723 CFLAGS="$lt_save_CFLAGS"
6724 else
6725 echo "cannot find nm_test_func in $nlist" >&5
6726 fi
6727 else
6728 echo "cannot find nm_test_var in $nlist" >&5
6729 fi
6730 else
6731 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6732 fi
6733 else
6734 echo "$progname: failed program was:" >&5
6735 cat conftest.$ac_ext >&5
6736 fi
6737 rm -rf conftest* conftst*
6738
6739 # Do not use the global_symbol_pipe unless it works.
6740 if test "$pipe_works" = yes; then
6741 break
6742 else
6743 lt_cv_sys_global_symbol_pipe=
6744 fi
6745 done
6746
6747 fi
6748
6749 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6750 lt_cv_sys_global_symbol_to_cdecl=
6751 fi
6752 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6754 $as_echo "failed" >&6; }
6755 else
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6757 $as_echo "ok" >&6; }
6758 fi
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782 @%:@ Check whether --enable-libtool-lock was given.
6783 if test "${enable_libtool_lock+set}" = set; then :
6784 enableval=$enable_libtool_lock;
6785 fi
6786
6787 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6788
6789 # Some flags need to be propagated to the compiler or linker for good
6790 # libtool support.
6791 case $host in
6792 ia64-*-hpux*)
6793 # Find out which ABI we are using.
6794 echo 'int i;' > conftest.$ac_ext
6795 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6796 (eval $ac_compile) 2>&5
6797 ac_status=$?
6798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6799 test $ac_status = 0; }; then
6800 case `/usr/bin/file conftest.$ac_objext` in
6801 *ELF-32*)
6802 HPUX_IA64_MODE="32"
6803 ;;
6804 *ELF-64*)
6805 HPUX_IA64_MODE="64"
6806 ;;
6807 esac
6808 fi
6809 rm -rf conftest*
6810 ;;
6811 *-*-irix6*)
6812 # Find out which ABI we are using.
6813 echo '#line __oline__ "configure"' > conftest.$ac_ext
6814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6815 (eval $ac_compile) 2>&5
6816 ac_status=$?
6817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6818 test $ac_status = 0; }; then
6819 if test "$lt_cv_prog_gnu_ld" = yes; then
6820 case `/usr/bin/file conftest.$ac_objext` in
6821 *32-bit*)
6822 LD="${LD-ld} -melf32bsmip"
6823 ;;
6824 *N32*)
6825 LD="${LD-ld} -melf32bmipn32"
6826 ;;
6827 *64-bit*)
6828 LD="${LD-ld} -melf64bmip"
6829 ;;
6830 esac
6831 else
6832 case `/usr/bin/file conftest.$ac_objext` in
6833 *32-bit*)
6834 LD="${LD-ld} -32"
6835 ;;
6836 *N32*)
6837 LD="${LD-ld} -n32"
6838 ;;
6839 *64-bit*)
6840 LD="${LD-ld} -64"
6841 ;;
6842 esac
6843 fi
6844 fi
6845 rm -rf conftest*
6846 ;;
6847
6848 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6849 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6850 # Find out which ABI we are using.
6851 echo 'int i;' > conftest.$ac_ext
6852 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6853 (eval $ac_compile) 2>&5
6854 ac_status=$?
6855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6856 test $ac_status = 0; }; then
6857 case `/usr/bin/file conftest.o` in
6858 *32-bit*)
6859 case $host in
6860 x86_64-*kfreebsd*-gnu)
6861 LD="${LD-ld} -m elf_i386_fbsd"
6862 ;;
6863 x86_64-*linux*)
6864 LD="${LD-ld} -m elf_i386"
6865 ;;
6866 ppc64-*linux*|powerpc64-*linux*)
6867 LD="${LD-ld} -m elf32ppclinux"
6868 ;;
6869 s390x-*linux*)
6870 LD="${LD-ld} -m elf_s390"
6871 ;;
6872 sparc64-*linux*)
6873 LD="${LD-ld} -m elf32_sparc"
6874 ;;
6875 esac
6876 ;;
6877 *64-bit*)
6878 case $host in
6879 x86_64-*kfreebsd*-gnu)
6880 LD="${LD-ld} -m elf_x86_64_fbsd"
6881 ;;
6882 x86_64-*linux*)
6883 LD="${LD-ld} -m elf_x86_64"
6884 ;;
6885 ppc*-*linux*|powerpc*-*linux*)
6886 LD="${LD-ld} -m elf64ppc"
6887 ;;
6888 s390*-*linux*|s390*-*tpf*)
6889 LD="${LD-ld} -m elf64_s390"
6890 ;;
6891 sparc*-*linux*)
6892 LD="${LD-ld} -m elf64_sparc"
6893 ;;
6894 esac
6895 ;;
6896 esac
6897 fi
6898 rm -rf conftest*
6899 ;;
6900
6901 *-*-sco3.2v5*)
6902 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6903 SAVE_CFLAGS="$CFLAGS"
6904 CFLAGS="$CFLAGS -belf"
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6906 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6907 if ${lt_cv_cc_needs_belf+:} false; then :
6908 $as_echo_n "(cached) " >&6
6909 else
6910 ac_ext=c
6911 ac_cpp='$CPP $CPPFLAGS'
6912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6915
6916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6917 /* end confdefs.h. */
6918
6919 int
6920 main ()
6921 {
6922
6923 ;
6924 return 0;
6925 }
6926 _ACEOF
6927 if ac_fn_c_try_link "$LINENO"; then :
6928 lt_cv_cc_needs_belf=yes
6929 else
6930 lt_cv_cc_needs_belf=no
6931 fi
6932 rm -f core conftest.err conftest.$ac_objext \
6933 conftest$ac_exeext conftest.$ac_ext
6934 ac_ext=c
6935 ac_cpp='$CPP $CPPFLAGS'
6936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6939
6940 fi
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6942 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6943 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6944 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6945 CFLAGS="$SAVE_CFLAGS"
6946 fi
6947 ;;
6948 sparc*-*solaris*)
6949 # Find out which ABI we are using.
6950 echo 'int i;' > conftest.$ac_ext
6951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6952 (eval $ac_compile) 2>&5
6953 ac_status=$?
6954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6955 test $ac_status = 0; }; then
6956 case `/usr/bin/file conftest.o` in
6957 *64-bit*)
6958 case $lt_cv_prog_gnu_ld in
6959 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6960 *)
6961 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6962 LD="${LD-ld} -64"
6963 fi
6964 ;;
6965 esac
6966 ;;
6967 esac
6968 fi
6969 rm -rf conftest*
6970 ;;
6971 esac
6972
6973 need_locks="$enable_libtool_lock"
6974
6975
6976 case $host_os in
6977 rhapsody* | darwin*)
6978 if test -n "$ac_tool_prefix"; then
6979 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6980 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6982 $as_echo_n "checking for $ac_word... " >&6; }
6983 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6984 $as_echo_n "(cached) " >&6
6985 else
6986 if test -n "$DSYMUTIL"; then
6987 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6988 else
6989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990 for as_dir in $PATH
6991 do
6992 IFS=$as_save_IFS
6993 test -z "$as_dir" && as_dir=.
6994 for ac_exec_ext in '' $ac_executable_extensions; do
6995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6996 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6998 break 2
6999 fi
7000 done
7001 done
7002 IFS=$as_save_IFS
7003
7004 fi
7005 fi
7006 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7007 if test -n "$DSYMUTIL"; then
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7009 $as_echo "$DSYMUTIL" >&6; }
7010 else
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7012 $as_echo "no" >&6; }
7013 fi
7014
7015
7016 fi
7017 if test -z "$ac_cv_prog_DSYMUTIL"; then
7018 ac_ct_DSYMUTIL=$DSYMUTIL
7019 # Extract the first word of "dsymutil", so it can be a program name with args.
7020 set dummy dsymutil; ac_word=$2
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7022 $as_echo_n "checking for $ac_word... " >&6; }
7023 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7024 $as_echo_n "(cached) " >&6
7025 else
7026 if test -n "$ac_ct_DSYMUTIL"; then
7027 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7028 else
7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030 for as_dir in $PATH
7031 do
7032 IFS=$as_save_IFS
7033 test -z "$as_dir" && as_dir=.
7034 for ac_exec_ext in '' $ac_executable_extensions; do
7035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7036 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7038 break 2
7039 fi
7040 done
7041 done
7042 IFS=$as_save_IFS
7043
7044 fi
7045 fi
7046 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7047 if test -n "$ac_ct_DSYMUTIL"; then
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7049 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7050 else
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7052 $as_echo "no" >&6; }
7053 fi
7054
7055 if test "x$ac_ct_DSYMUTIL" = x; then
7056 DSYMUTIL=":"
7057 else
7058 case $cross_compiling:$ac_tool_warned in
7059 yes:)
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7062 ac_tool_warned=yes ;;
7063 esac
7064 DSYMUTIL=$ac_ct_DSYMUTIL
7065 fi
7066 else
7067 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7068 fi
7069
7070 if test -n "$ac_tool_prefix"; then
7071 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7072 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7074 $as_echo_n "checking for $ac_word... " >&6; }
7075 if ${ac_cv_prog_NMEDIT+:} false; then :
7076 $as_echo_n "(cached) " >&6
7077 else
7078 if test -n "$NMEDIT"; then
7079 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7080 else
7081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7082 for as_dir in $PATH
7083 do
7084 IFS=$as_save_IFS
7085 test -z "$as_dir" && as_dir=.
7086 for ac_exec_ext in '' $ac_executable_extensions; do
7087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7088 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 break 2
7091 fi
7092 done
7093 done
7094 IFS=$as_save_IFS
7095
7096 fi
7097 fi
7098 NMEDIT=$ac_cv_prog_NMEDIT
7099 if test -n "$NMEDIT"; then
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7101 $as_echo "$NMEDIT" >&6; }
7102 else
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 $as_echo "no" >&6; }
7105 fi
7106
7107
7108 fi
7109 if test -z "$ac_cv_prog_NMEDIT"; then
7110 ac_ct_NMEDIT=$NMEDIT
7111 # Extract the first word of "nmedit", so it can be a program name with args.
7112 set dummy nmedit; ac_word=$2
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 $as_echo_n "checking for $ac_word... " >&6; }
7115 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7116 $as_echo_n "(cached) " >&6
7117 else
7118 if test -n "$ac_ct_NMEDIT"; then
7119 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7120 else
7121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122 for as_dir in $PATH
7123 do
7124 IFS=$as_save_IFS
7125 test -z "$as_dir" && as_dir=.
7126 for ac_exec_ext in '' $ac_executable_extensions; do
7127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7128 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7130 break 2
7131 fi
7132 done
7133 done
7134 IFS=$as_save_IFS
7135
7136 fi
7137 fi
7138 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7139 if test -n "$ac_ct_NMEDIT"; then
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7141 $as_echo "$ac_ct_NMEDIT" >&6; }
7142 else
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7144 $as_echo "no" >&6; }
7145 fi
7146
7147 if test "x$ac_ct_NMEDIT" = x; then
7148 NMEDIT=":"
7149 else
7150 case $cross_compiling:$ac_tool_warned in
7151 yes:)
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7154 ac_tool_warned=yes ;;
7155 esac
7156 NMEDIT=$ac_ct_NMEDIT
7157 fi
7158 else
7159 NMEDIT="$ac_cv_prog_NMEDIT"
7160 fi
7161
7162 if test -n "$ac_tool_prefix"; then
7163 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7164 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if ${ac_cv_prog_LIPO+:} false; then :
7168 $as_echo_n "(cached) " >&6
7169 else
7170 if test -n "$LIPO"; then
7171 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7172 else
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 for as_dir in $PATH
7175 do
7176 IFS=$as_save_IFS
7177 test -z "$as_dir" && as_dir=.
7178 for ac_exec_ext in '' $ac_executable_extensions; do
7179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7180 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 break 2
7183 fi
7184 done
7185 done
7186 IFS=$as_save_IFS
7187
7188 fi
7189 fi
7190 LIPO=$ac_cv_prog_LIPO
7191 if test -n "$LIPO"; then
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7193 $as_echo "$LIPO" >&6; }
7194 else
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 $as_echo "no" >&6; }
7197 fi
7198
7199
7200 fi
7201 if test -z "$ac_cv_prog_LIPO"; then
7202 ac_ct_LIPO=$LIPO
7203 # Extract the first word of "lipo", so it can be a program name with args.
7204 set dummy lipo; ac_word=$2
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206 $as_echo_n "checking for $ac_word... " >&6; }
7207 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7208 $as_echo_n "(cached) " >&6
7209 else
7210 if test -n "$ac_ct_LIPO"; then
7211 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7212 else
7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 for as_dir in $PATH
7215 do
7216 IFS=$as_save_IFS
7217 test -z "$as_dir" && as_dir=.
7218 for ac_exec_ext in '' $ac_executable_extensions; do
7219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7220 ac_cv_prog_ac_ct_LIPO="lipo"
7221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 break 2
7223 fi
7224 done
7225 done
7226 IFS=$as_save_IFS
7227
7228 fi
7229 fi
7230 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7231 if test -n "$ac_ct_LIPO"; then
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7233 $as_echo "$ac_ct_LIPO" >&6; }
7234 else
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7237 fi
7238
7239 if test "x$ac_ct_LIPO" = x; then
7240 LIPO=":"
7241 else
7242 case $cross_compiling:$ac_tool_warned in
7243 yes:)
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7246 ac_tool_warned=yes ;;
7247 esac
7248 LIPO=$ac_ct_LIPO
7249 fi
7250 else
7251 LIPO="$ac_cv_prog_LIPO"
7252 fi
7253
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}otool; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if ${ac_cv_prog_OTOOL+:} false; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$OTOOL"; then
7263 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7267 do
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7272 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7275 fi
7276 done
7277 done
7278 IFS=$as_save_IFS
7279
7280 fi
7281 fi
7282 OTOOL=$ac_cv_prog_OTOOL
7283 if test -n "$OTOOL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7285 $as_echo "$OTOOL" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7289 fi
7290
7291
7292 fi
7293 if test -z "$ac_cv_prog_OTOOL"; then
7294 ac_ct_OTOOL=$OTOOL
7295 # Extract the first word of "otool", so it can be a program name with args.
7296 set dummy otool; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$ac_ct_OTOOL"; then
7303 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7307 do
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7312 ac_cv_prog_ac_ct_OTOOL="otool"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7315 fi
7316 done
7317 done
7318 IFS=$as_save_IFS
7319
7320 fi
7321 fi
7322 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7323 if test -n "$ac_ct_OTOOL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7325 $as_echo "$ac_ct_OTOOL" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7329 fi
7330
7331 if test "x$ac_ct_OTOOL" = x; then
7332 OTOOL=":"
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 OTOOL=$ac_ct_OTOOL
7341 fi
7342 else
7343 OTOOL="$ac_cv_prog_OTOOL"
7344 fi
7345
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if ${ac_cv_prog_OTOOL64+:} false; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$OTOOL64"; then
7355 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7359 do
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7367 fi
7368 done
7369 done
7370 IFS=$as_save_IFS
7371
7372 fi
7373 fi
7374 OTOOL64=$ac_cv_prog_OTOOL64
7375 if test -n "$OTOOL64"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7377 $as_echo "$OTOOL64" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7381 fi
7382
7383
7384 fi
7385 if test -z "$ac_cv_prog_OTOOL64"; then
7386 ac_ct_OTOOL64=$OTOOL64
7387 # Extract the first word of "otool64", so it can be a program name with args.
7388 set dummy otool64; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_OTOOL64"; then
7395 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7399 do
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_ac_ct_OTOOL64="otool64"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7407 fi
7408 done
7409 done
7410 IFS=$as_save_IFS
7411
7412 fi
7413 fi
7414 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7415 if test -n "$ac_ct_OTOOL64"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7417 $as_echo "$ac_ct_OTOOL64" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7421 fi
7422
7423 if test "x$ac_ct_OTOOL64" = x; then
7424 OTOOL64=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 OTOOL64=$ac_ct_OTOOL64
7433 fi
7434 else
7435 OTOOL64="$ac_cv_prog_OTOOL64"
7436 fi
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7465 $as_echo_n "checking for -single_module linker flag... " >&6; }
7466 if ${lt_cv_apple_cc_single_mod+:} false; then :
7467 $as_echo_n "(cached) " >&6
7468 else
7469 lt_cv_apple_cc_single_mod=no
7470 if test -z "${LT_MULTI_MODULE}"; then
7471 # By default we will add the -single_module flag. You can override
7472 # by either setting the environment variable LT_MULTI_MODULE
7473 # non-empty at configure time, or by adding -multi_module to the
7474 # link flags.
7475 rm -rf libconftest.dylib*
7476 echo "int foo(void){return 1;}" > conftest.c
7477 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7478 -dynamiclib -Wl,-single_module conftest.c" >&5
7479 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7480 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7481 _lt_result=$?
7482 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7483 lt_cv_apple_cc_single_mod=yes
7484 else
7485 cat conftest.err >&5
7486 fi
7487 rm -rf libconftest.dylib*
7488 rm -f conftest.*
7489 fi
7490 fi
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7492 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7494 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7495 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7496 $as_echo_n "(cached) " >&6
7497 else
7498 lt_cv_ld_exported_symbols_list=no
7499 save_LDFLAGS=$LDFLAGS
7500 echo "_main" > conftest.sym
7501 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7504
7505 int
7506 main ()
7507 {
7508
7509 ;
7510 return 0;
7511 }
7512 _ACEOF
7513 if ac_fn_c_try_link "$LINENO"; then :
7514 lt_cv_ld_exported_symbols_list=yes
7515 else
7516 lt_cv_ld_exported_symbols_list=no
7517 fi
7518 rm -f core conftest.err conftest.$ac_objext \
7519 conftest$ac_exeext conftest.$ac_ext
7520 LDFLAGS="$save_LDFLAGS"
7521
7522 fi
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7524 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7525 case $host_os in
7526 rhapsody* | darwin1.[012])
7527 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7528 darwin1.*)
7529 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7530 darwin*) # darwin 5.x on
7531 # if running on 10.5 or later, the deployment target defaults
7532 # to the OS version, if on x86, and 10.4, the deployment
7533 # target defaults to 10.4. Don't you love it?
7534 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7535 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7536 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7537 10.[012]*)
7538 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7539 10.*)
7540 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7541 esac
7542 ;;
7543 esac
7544 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7545 _lt_dar_single_mod='$single_module'
7546 fi
7547 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7548 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7549 else
7550 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7551 fi
7552 if test "$DSYMUTIL" != ":"; then
7553 _lt_dsymutil='~$DSYMUTIL $lib || :'
7554 else
7555 _lt_dsymutil=
7556 fi
7557 ;;
7558 esac
7559
7560
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7562 $as_echo_n "checking for ANSI C header files... " >&6; }
7563 if ${ac_cv_header_stdc+:} false; then :
7564 $as_echo_n "(cached) " >&6
7565 else
7566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7567 /* end confdefs.h. */
7568 #include <stdlib.h>
7569 #include <stdarg.h>
7570 #include <string.h>
7571 #include <float.h>
7572
7573 int
7574 main ()
7575 {
7576
7577 ;
7578 return 0;
7579 }
7580 _ACEOF
7581 if ac_fn_c_try_compile "$LINENO"; then :
7582 ac_cv_header_stdc=yes
7583 else
7584 ac_cv_header_stdc=no
7585 fi
7586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7587
7588 if test $ac_cv_header_stdc = yes; then
7589 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7592 #include <string.h>
7593
7594 _ACEOF
7595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7596 $EGREP "memchr" >/dev/null 2>&1; then :
7597
7598 else
7599 ac_cv_header_stdc=no
7600 fi
7601 rm -f conftest*
7602
7603 fi
7604
7605 if test $ac_cv_header_stdc = yes; then
7606 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h. */
7609 #include <stdlib.h>
7610
7611 _ACEOF
7612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7613 $EGREP "free" >/dev/null 2>&1; then :
7614
7615 else
7616 ac_cv_header_stdc=no
7617 fi
7618 rm -f conftest*
7619
7620 fi
7621
7622 if test $ac_cv_header_stdc = yes; then
7623 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7624 if test "$cross_compiling" = yes; then :
7625 :
7626 else
7627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7628 /* end confdefs.h. */
7629 #include <ctype.h>
7630 #include <stdlib.h>
7631 #if ((' ' & 0x0FF) == 0x020)
7632 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7633 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7634 #else
7635 # define ISLOWER(c) \
7636 (('a' <= (c) && (c) <= 'i') \
7637 || ('j' <= (c) && (c) <= 'r') \
7638 || ('s' <= (c) && (c) <= 'z'))
7639 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7640 #endif
7641
7642 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7643 int
7644 main ()
7645 {
7646 int i;
7647 for (i = 0; i < 256; i++)
7648 if (XOR (islower (i), ISLOWER (i))
7649 || toupper (i) != TOUPPER (i))
7650 return 2;
7651 return 0;
7652 }
7653 _ACEOF
7654 if ac_fn_c_try_run "$LINENO"; then :
7655
7656 else
7657 ac_cv_header_stdc=no
7658 fi
7659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7660 conftest.$ac_objext conftest.beam conftest.$ac_ext
7661 fi
7662
7663 fi
7664 fi
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7666 $as_echo "$ac_cv_header_stdc" >&6; }
7667 if test $ac_cv_header_stdc = yes; then
7668
7669 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7670
7671 fi
7672
7673 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7674 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7675 inttypes.h stdint.h unistd.h
7676 do :
7677 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7678 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7679 "
7680 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7681 cat >>confdefs.h <<_ACEOF
7682 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7683 _ACEOF
7684
7685 fi
7686
7687 done
7688
7689
7690 for ac_header in dlfcn.h
7691 do :
7692 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7693 "
7694 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7695 cat >>confdefs.h <<_ACEOF
7696 @%:@define HAVE_DLFCN_H 1
7697 _ACEOF
7698
7699 fi
7700
7701 done
7702
7703
7704
7705 ac_ext=cpp
7706 ac_cpp='$CXXCPP $CPPFLAGS'
7707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7710 if test -z "$CXX"; then
7711 if test -n "$CCC"; then
7712 CXX=$CCC
7713 else
7714 if test -n "$ac_tool_prefix"; then
7715 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7716 do
7717 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7718 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if ${ac_cv_prog_CXX+:} false; then :
7722 $as_echo_n "(cached) " >&6
7723 else
7724 if test -n "$CXX"; then
7725 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7726 else
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 for as_dir in $PATH
7729 do
7730 IFS=$as_save_IFS
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7734 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736 break 2
7737 fi
7738 done
7739 done
7740 IFS=$as_save_IFS
7741
7742 fi
7743 fi
7744 CXX=$ac_cv_prog_CXX
7745 if test -n "$CXX"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7747 $as_echo "$CXX" >&6; }
7748 else
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7751 fi
7752
7753
7754 test -n "$CXX" && break
7755 done
7756 fi
7757 if test -z "$CXX"; then
7758 ac_ct_CXX=$CXX
7759 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7760 do
7761 # Extract the first word of "$ac_prog", so it can be a program name with args.
7762 set dummy $ac_prog; ac_word=$2
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7764 $as_echo_n "checking for $ac_word... " >&6; }
7765 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7766 $as_echo_n "(cached) " >&6
7767 else
7768 if test -n "$ac_ct_CXX"; then
7769 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7770 else
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 for as_dir in $PATH
7773 do
7774 IFS=$as_save_IFS
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7778 ac_cv_prog_ac_ct_CXX="$ac_prog"
7779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 break 2
7781 fi
7782 done
7783 done
7784 IFS=$as_save_IFS
7785
7786 fi
7787 fi
7788 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7789 if test -n "$ac_ct_CXX"; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7791 $as_echo "$ac_ct_CXX" >&6; }
7792 else
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794 $as_echo "no" >&6; }
7795 fi
7796
7797
7798 test -n "$ac_ct_CXX" && break
7799 done
7800
7801 if test "x$ac_ct_CXX" = x; then
7802 CXX="g++"
7803 else
7804 case $cross_compiling:$ac_tool_warned in
7805 yes:)
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7808 ac_tool_warned=yes ;;
7809 esac
7810 CXX=$ac_ct_CXX
7811 fi
7812 fi
7813
7814 fi
7815 fi
7816 # Provide some information about the compiler.
7817 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7818 set X $ac_compile
7819 ac_compiler=$2
7820 for ac_option in --version -v -V -qversion; do
7821 { { ac_try="$ac_compiler $ac_option >&5"
7822 case "(($ac_try" in
7823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7824 *) ac_try_echo=$ac_try;;
7825 esac
7826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7827 $as_echo "$ac_try_echo"; } >&5
7828 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7829 ac_status=$?
7830 if test -s conftest.err; then
7831 sed '10a\
7832 ... rest of stderr output deleted ...
7833 10q' conftest.err >conftest.er1
7834 cat conftest.er1 >&5
7835 fi
7836 rm -f conftest.er1 conftest.err
7837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7838 test $ac_status = 0; }
7839 done
7840
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7842 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7843 if ${ac_cv_cxx_compiler_gnu+:} false; then :
7844 $as_echo_n "(cached) " >&6
7845 else
7846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7847 /* end confdefs.h. */
7848
7849 int
7850 main ()
7851 {
7852 #ifndef __GNUC__
7853 choke me
7854 #endif
7855
7856 ;
7857 return 0;
7858 }
7859 _ACEOF
7860 if ac_fn_cxx_try_compile "$LINENO"; then :
7861 ac_compiler_gnu=yes
7862 else
7863 ac_compiler_gnu=no
7864 fi
7865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7866 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7867
7868 fi
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7870 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7871 if test $ac_compiler_gnu = yes; then
7872 GXX=yes
7873 else
7874 GXX=
7875 fi
7876 ac_test_CXXFLAGS=${CXXFLAGS+set}
7877 ac_save_CXXFLAGS=$CXXFLAGS
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7879 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7880 if ${ac_cv_prog_cxx_g+:} false; then :
7881 $as_echo_n "(cached) " >&6
7882 else
7883 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7884 ac_cxx_werror_flag=yes
7885 ac_cv_prog_cxx_g=no
7886 CXXFLAGS="-g"
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7889
7890 int
7891 main ()
7892 {
7893
7894 ;
7895 return 0;
7896 }
7897 _ACEOF
7898 if ac_fn_cxx_try_compile "$LINENO"; then :
7899 ac_cv_prog_cxx_g=yes
7900 else
7901 CXXFLAGS=""
7902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7903 /* end confdefs.h. */
7904
7905 int
7906 main ()
7907 {
7908
7909 ;
7910 return 0;
7911 }
7912 _ACEOF
7913 if ac_fn_cxx_try_compile "$LINENO"; then :
7914
7915 else
7916 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7917 CXXFLAGS="-g"
7918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7919 /* end confdefs.h. */
7920
7921 int
7922 main ()
7923 {
7924
7925 ;
7926 return 0;
7927 }
7928 _ACEOF
7929 if ac_fn_cxx_try_compile "$LINENO"; then :
7930 ac_cv_prog_cxx_g=yes
7931 fi
7932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7933 fi
7934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7935 fi
7936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7937 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7938 fi
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7940 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7941 if test "$ac_test_CXXFLAGS" = set; then
7942 CXXFLAGS=$ac_save_CXXFLAGS
7943 elif test $ac_cv_prog_cxx_g = yes; then
7944 if test "$GXX" = yes; then
7945 CXXFLAGS="-g -O2"
7946 else
7947 CXXFLAGS="-g"
7948 fi
7949 else
7950 if test "$GXX" = yes; then
7951 CXXFLAGS="-O2"
7952 else
7953 CXXFLAGS=
7954 fi
7955 fi
7956 ac_ext=cpp
7957 ac_cpp='$CXXCPP $CPPFLAGS'
7958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7961
7962 depcc="$CXX" am_compiler_list=
7963
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7965 $as_echo_n "checking dependency style of $depcc... " >&6; }
7966 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
7967 $as_echo_n "(cached) " >&6
7968 else
7969 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7970 # We make a subdir and do the tests there. Otherwise we can end up
7971 # making bogus files that we don't know about and never remove. For
7972 # instance it was reported that on HP-UX the gcc test will end up
7973 # making a dummy file named `D' -- because `-MD' means `put the output
7974 # in D'.
7975 mkdir conftest.dir
7976 # Copy depcomp to subdir because otherwise we won't find it if we're
7977 # using a relative directory.
7978 cp "$am_depcomp" conftest.dir
7979 cd conftest.dir
7980 # We will build objects and dependencies in a subdirectory because
7981 # it helps to detect inapplicable dependency modes. For instance
7982 # both Tru64's cc and ICC support -MD to output dependencies as a
7983 # side effect of compilation, but ICC will put the dependencies in
7984 # the current directory while Tru64 will put them in the object
7985 # directory.
7986 mkdir sub
7987
7988 am_cv_CXX_dependencies_compiler_type=none
7989 if test "$am_compiler_list" = ""; then
7990 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7991 fi
7992 am__universal=false
7993 case " $depcc " in #(
7994 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7995 esac
7996
7997 for depmode in $am_compiler_list; do
7998 # Setup a source with many dependencies, because some compilers
7999 # like to wrap large dependency lists on column 80 (with \), and
8000 # we should not choose a depcomp mode which is confused by this.
8001 #
8002 # We need to recreate these files for each test, as the compiler may
8003 # overwrite some of them when testing with obscure command lines.
8004 # This happens at least with the AIX C compiler.
8005 : > sub/conftest.c
8006 for i in 1 2 3 4 5 6; do
8007 echo '#include "conftst'$i'.h"' >> sub/conftest.c
8008 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8009 # Solaris 8's {/usr,}/bin/sh.
8010 touch sub/conftst$i.h
8011 done
8012 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8013
8014 # We check with `-c' and `-o' for the sake of the "dashmstdout"
8015 # mode. It turns out that the SunPro C++ compiler does not properly
8016 # handle `-M -o', and we need to detect this. Also, some Intel
8017 # versions had trouble with output in subdirs
8018 am__obj=sub/conftest.${OBJEXT-o}
8019 am__minus_obj="-o $am__obj"
8020 case $depmode in
8021 gcc)
8022 # This depmode causes a compiler race in universal mode.
8023 test "$am__universal" = false || continue
8024 ;;
8025 nosideeffect)
8026 # after this tag, mechanisms are not by side-effect, so they'll
8027 # only be used when explicitly requested
8028 if test "x$enable_dependency_tracking" = xyes; then
8029 continue
8030 else
8031 break
8032 fi
8033 ;;
8034 msvisualcpp | msvcmsys)
8035 # This compiler won't grok `-c -o', but also, the minuso test has
8036 # not run yet. These depmodes are late enough in the game, and
8037 # so weak that their functioning should not be impacted.
8038 am__obj=conftest.${OBJEXT-o}
8039 am__minus_obj=
8040 ;;
8041 none) break ;;
8042 esac
8043 if depmode=$depmode \
8044 source=sub/conftest.c object=$am__obj \
8045 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8046 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8047 >/dev/null 2>conftest.err &&
8048 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8049 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8050 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8051 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8052 # icc doesn't choke on unknown options, it will just issue warnings
8053 # or remarks (even with -Werror). So we grep stderr for any message
8054 # that says an option was ignored or not supported.
8055 # When given -MP, icc 7.0 and 7.1 complain thusly:
8056 # icc: Command line warning: ignoring option '-M'; no argument required
8057 # The diagnosis changed in icc 8.0:
8058 # icc: Command line remark: option '-MP' not supported
8059 if (grep 'ignoring option' conftest.err ||
8060 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8061 am_cv_CXX_dependencies_compiler_type=$depmode
8062 break
8063 fi
8064 fi
8065 done
8066
8067 cd ..
8068 rm -rf conftest.dir
8069 else
8070 am_cv_CXX_dependencies_compiler_type=none
8071 fi
8072
8073 fi
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8075 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8076 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8077
8078 if
8079 test "x$enable_dependency_tracking" != xno \
8080 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8081 am__fastdepCXX_TRUE=
8082 am__fastdepCXX_FALSE='#'
8083 else
8084 am__fastdepCXX_TRUE='#'
8085 am__fastdepCXX_FALSE=
8086 fi
8087
8088
8089 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8090 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8091 (test "X$CXX" != "Xg++"))) ; then
8092 ac_ext=cpp
8093 ac_cpp='$CXXCPP $CPPFLAGS'
8094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8098 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8099 if test -z "$CXXCPP"; then
8100 if ${ac_cv_prog_CXXCPP+:} false; then :
8101 $as_echo_n "(cached) " >&6
8102 else
8103 # Double quotes because CXXCPP needs to be expanded
8104 for CXXCPP in "$CXX -E" "/lib/cpp"
8105 do
8106 ac_preproc_ok=false
8107 for ac_cxx_preproc_warn_flag in '' yes
8108 do
8109 # Use a header file that comes with gcc, so configuring glibc
8110 # with a fresh cross-compiler works.
8111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8112 # <limits.h> exists even on freestanding compilers.
8113 # On the NeXT, cc -E runs the code through the compiler's parser,
8114 # not just through cpp. "Syntax error" is here to catch this case.
8115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8116 /* end confdefs.h. */
8117 @%:@ifdef __STDC__
8118 @%:@ include <limits.h>
8119 @%:@else
8120 @%:@ include <assert.h>
8121 @%:@endif
8122 Syntax error
8123 _ACEOF
8124 if ac_fn_cxx_try_cpp "$LINENO"; then :
8125
8126 else
8127 # Broken: fails on valid input.
8128 continue
8129 fi
8130 rm -f conftest.err conftest.i conftest.$ac_ext
8131
8132 # OK, works on sane cases. Now check whether nonexistent headers
8133 # can be detected and how.
8134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8136 @%:@include <ac_nonexistent.h>
8137 _ACEOF
8138 if ac_fn_cxx_try_cpp "$LINENO"; then :
8139 # Broken: success on invalid input.
8140 continue
8141 else
8142 # Passes both tests.
8143 ac_preproc_ok=:
8144 break
8145 fi
8146 rm -f conftest.err conftest.i conftest.$ac_ext
8147
8148 done
8149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8150 rm -f conftest.i conftest.err conftest.$ac_ext
8151 if $ac_preproc_ok; then :
8152 break
8153 fi
8154
8155 done
8156 ac_cv_prog_CXXCPP=$CXXCPP
8157
8158 fi
8159 CXXCPP=$ac_cv_prog_CXXCPP
8160 else
8161 ac_cv_prog_CXXCPP=$CXXCPP
8162 fi
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8164 $as_echo "$CXXCPP" >&6; }
8165 ac_preproc_ok=false
8166 for ac_cxx_preproc_warn_flag in '' yes
8167 do
8168 # Use a header file that comes with gcc, so configuring glibc
8169 # with a fresh cross-compiler works.
8170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8171 # <limits.h> exists even on freestanding compilers.
8172 # On the NeXT, cc -E runs the code through the compiler's parser,
8173 # not just through cpp. "Syntax error" is here to catch this case.
8174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8176 @%:@ifdef __STDC__
8177 @%:@ include <limits.h>
8178 @%:@else
8179 @%:@ include <assert.h>
8180 @%:@endif
8181 Syntax error
8182 _ACEOF
8183 if ac_fn_cxx_try_cpp "$LINENO"; then :
8184
8185 else
8186 # Broken: fails on valid input.
8187 continue
8188 fi
8189 rm -f conftest.err conftest.i conftest.$ac_ext
8190
8191 # OK, works on sane cases. Now check whether nonexistent headers
8192 # can be detected and how.
8193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8195 @%:@include <ac_nonexistent.h>
8196 _ACEOF
8197 if ac_fn_cxx_try_cpp "$LINENO"; then :
8198 # Broken: success on invalid input.
8199 continue
8200 else
8201 # Passes both tests.
8202 ac_preproc_ok=:
8203 break
8204 fi
8205 rm -f conftest.err conftest.i conftest.$ac_ext
8206
8207 done
8208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8209 rm -f conftest.i conftest.err conftest.$ac_ext
8210 if $ac_preproc_ok; then :
8211
8212 else
8213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8215 _lt_caught_CXX_error=yes; }
8216 fi
8217
8218 ac_ext=cpp
8219 ac_cpp='$CXXCPP $CPPFLAGS'
8220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8223
8224 else
8225 _lt_caught_CXX_error=yes
8226 fi
8227
8228
8229
8230
8231
8232 # Set options
8233
8234
8235
8236 enable_dlopen=no
8237
8238
8239 enable_win32_dll=no
8240
8241
8242 @%:@ Check whether --enable-shared was given.
8243 if test "${enable_shared+set}" = set; then :
8244 enableval=$enable_shared; p=${PACKAGE-default}
8245 case $enableval in
8246 yes) enable_shared=yes ;;
8247 no) enable_shared=no ;;
8248 *)
8249 enable_shared=no
8250 # Look at the argument we got. We use all the common list separators.
8251 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8252 for pkg in $enableval; do
8253 IFS="$lt_save_ifs"
8254 if test "X$pkg" = "X$p"; then
8255 enable_shared=yes
8256 fi
8257 done
8258 IFS="$lt_save_ifs"
8259 ;;
8260 esac
8261 else
8262 enable_shared=yes
8263 fi
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273 @%:@ Check whether --enable-static was given.
8274 if test "${enable_static+set}" = set; then :
8275 enableval=$enable_static; p=${PACKAGE-default}
8276 case $enableval in
8277 yes) enable_static=yes ;;
8278 no) enable_static=no ;;
8279 *)
8280 enable_static=no
8281 # Look at the argument we got. We use all the common list separators.
8282 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8283 for pkg in $enableval; do
8284 IFS="$lt_save_ifs"
8285 if test "X$pkg" = "X$p"; then
8286 enable_static=yes
8287 fi
8288 done
8289 IFS="$lt_save_ifs"
8290 ;;
8291 esac
8292 else
8293 enable_static=yes
8294 fi
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305 @%:@ Check whether --with-pic was given.
8306 if test "${with_pic+set}" = set; then :
8307 withval=$with_pic; pic_mode="$withval"
8308 else
8309 pic_mode=default
8310 fi
8311
8312
8313 test -z "$pic_mode" && pic_mode=default
8314
8315
8316
8317
8318
8319
8320
8321 @%:@ Check whether --enable-fast-install was given.
8322 if test "${enable_fast_install+set}" = set; then :
8323 enableval=$enable_fast_install; p=${PACKAGE-default}
8324 case $enableval in
8325 yes) enable_fast_install=yes ;;
8326 no) enable_fast_install=no ;;
8327 *)
8328 enable_fast_install=no
8329 # Look at the argument we got. We use all the common list separators.
8330 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8331 for pkg in $enableval; do
8332 IFS="$lt_save_ifs"
8333 if test "X$pkg" = "X$p"; then
8334 enable_fast_install=yes
8335 fi
8336 done
8337 IFS="$lt_save_ifs"
8338 ;;
8339 esac
8340 else
8341 enable_fast_install=yes
8342 fi
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354 # This can be used to rebuild libtool when needed
8355 LIBTOOL_DEPS="$ltmain"
8356
8357 # Always use our own libtool.
8358 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384 test -z "$LN_S" && LN_S="ln -s"
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399 if test -n "${ZSH_VERSION+set}" ; then
8400 setopt NO_GLOB_SUBST
8401 fi
8402
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8404 $as_echo_n "checking for objdir... " >&6; }
8405 if ${lt_cv_objdir+:} false; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 rm -f .libs 2>/dev/null
8409 mkdir .libs 2>/dev/null
8410 if test -d .libs; then
8411 lt_cv_objdir=.libs
8412 else
8413 # MS-DOS does not allow filenames that begin with a dot.
8414 lt_cv_objdir=_libs
8415 fi
8416 rmdir .libs 2>/dev/null
8417 fi
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8419 $as_echo "$lt_cv_objdir" >&6; }
8420 objdir=$lt_cv_objdir
8421
8422
8423
8424
8425
8426 cat >>confdefs.h <<_ACEOF
8427 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8428 _ACEOF
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446 case $host_os in
8447 aix3*)
8448 # AIX sometimes has problems with the GCC collect2 program. For some
8449 # reason, if we set the COLLECT_NAMES environment variable, the problems
8450 # vanish in a puff of smoke.
8451 if test "X${COLLECT_NAMES+set}" != Xset; then
8452 COLLECT_NAMES=
8453 export COLLECT_NAMES
8454 fi
8455 ;;
8456 esac
8457
8458 # Sed substitution that helps us do robust quoting. It backslashifies
8459 # metacharacters that are still active within double-quoted strings.
8460 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8461
8462 # Same as above, but do not quote variable references.
8463 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8464
8465 # Sed substitution to delay expansion of an escaped shell variable in a
8466 # double_quote_subst'ed string.
8467 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8468
8469 # Sed substitution to delay expansion of an escaped single quote.
8470 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8471
8472 # Sed substitution to avoid accidental globbing in evaled expressions
8473 no_glob_subst='s/\*/\\\*/g'
8474
8475 # Global variables:
8476 ofile=libtool
8477 can_build_shared=yes
8478
8479 # All known linkers require a `.a' archive for static linking (except MSVC,
8480 # which needs '.lib').
8481 libext=a
8482
8483 with_gnu_ld="$lt_cv_prog_gnu_ld"
8484
8485 old_CC="$CC"
8486 old_CFLAGS="$CFLAGS"
8487
8488 # Set sane defaults for various variables
8489 test -z "$CC" && CC=cc
8490 test -z "$LTCC" && LTCC=$CC
8491 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8492 test -z "$LD" && LD=ld
8493 test -z "$ac_objext" && ac_objext=o
8494
8495 for cc_temp in $compiler""; do
8496 case $cc_temp in
8497 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8498 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8499 \-*) ;;
8500 *) break;;
8501 esac
8502 done
8503 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8504
8505
8506 # Only perform the check for file, if the check method requires it
8507 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8508 case $deplibs_check_method in
8509 file_magic*)
8510 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8512 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8513 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8514 $as_echo_n "(cached) " >&6
8515 else
8516 case $MAGIC_CMD in
8517 [\\/*] | ?:[\\/]*)
8518 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8519 ;;
8520 *)
8521 lt_save_MAGIC_CMD="$MAGIC_CMD"
8522 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8523 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8524 for ac_dir in $ac_dummy; do
8525 IFS="$lt_save_ifs"
8526 test -z "$ac_dir" && ac_dir=.
8527 if test -f $ac_dir/${ac_tool_prefix}file; then
8528 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8529 if test -n "$file_magic_test_file"; then
8530 case $deplibs_check_method in
8531 "file_magic "*)
8532 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8533 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8534 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8535 $EGREP "$file_magic_regex" > /dev/null; then
8536 :
8537 else
8538 cat <<_LT_EOF 1>&2
8539
8540 *** Warning: the command libtool uses to detect shared libraries,
8541 *** $file_magic_cmd, produces output that libtool cannot recognize.
8542 *** The result is that libtool may fail to recognize shared libraries
8543 *** as such. This will affect the creation of libtool libraries that
8544 *** depend on shared libraries, but programs linked with such libtool
8545 *** libraries will work regardless of this problem. Nevertheless, you
8546 *** may want to report the problem to your system manager and/or to
8547 *** bug-libtool@gnu.org
8548
8549 _LT_EOF
8550 fi ;;
8551 esac
8552 fi
8553 break
8554 fi
8555 done
8556 IFS="$lt_save_ifs"
8557 MAGIC_CMD="$lt_save_MAGIC_CMD"
8558 ;;
8559 esac
8560 fi
8561
8562 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8563 if test -n "$MAGIC_CMD"; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8565 $as_echo "$MAGIC_CMD" >&6; }
8566 else
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8568 $as_echo "no" >&6; }
8569 fi
8570
8571
8572
8573
8574
8575 if test -z "$lt_cv_path_MAGIC_CMD"; then
8576 if test -n "$ac_tool_prefix"; then
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8578 $as_echo_n "checking for file... " >&6; }
8579 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 case $MAGIC_CMD in
8583 [\\/*] | ?:[\\/]*)
8584 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8585 ;;
8586 *)
8587 lt_save_MAGIC_CMD="$MAGIC_CMD"
8588 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8589 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8590 for ac_dir in $ac_dummy; do
8591 IFS="$lt_save_ifs"
8592 test -z "$ac_dir" && ac_dir=.
8593 if test -f $ac_dir/file; then
8594 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8595 if test -n "$file_magic_test_file"; then
8596 case $deplibs_check_method in
8597 "file_magic "*)
8598 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8599 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8600 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8601 $EGREP "$file_magic_regex" > /dev/null; then
8602 :
8603 else
8604 cat <<_LT_EOF 1>&2
8605
8606 *** Warning: the command libtool uses to detect shared libraries,
8607 *** $file_magic_cmd, produces output that libtool cannot recognize.
8608 *** The result is that libtool may fail to recognize shared libraries
8609 *** as such. This will affect the creation of libtool libraries that
8610 *** depend on shared libraries, but programs linked with such libtool
8611 *** libraries will work regardless of this problem. Nevertheless, you
8612 *** may want to report the problem to your system manager and/or to
8613 *** bug-libtool@gnu.org
8614
8615 _LT_EOF
8616 fi ;;
8617 esac
8618 fi
8619 break
8620 fi
8621 done
8622 IFS="$lt_save_ifs"
8623 MAGIC_CMD="$lt_save_MAGIC_CMD"
8624 ;;
8625 esac
8626 fi
8627
8628 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8629 if test -n "$MAGIC_CMD"; then
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8631 $as_echo "$MAGIC_CMD" >&6; }
8632 else
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8634 $as_echo "no" >&6; }
8635 fi
8636
8637
8638 else
8639 MAGIC_CMD=:
8640 fi
8641 fi
8642
8643 fi
8644 ;;
8645 esac
8646
8647 # Use C for the default configuration in the libtool script
8648
8649 lt_save_CC="$CC"
8650 ac_ext=c
8651 ac_cpp='$CPP $CPPFLAGS'
8652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8655
8656
8657 # Source file extension for C test sources.
8658 ac_ext=c
8659
8660 # Object file extension for compiled C test sources.
8661 objext=o
8662 objext=$objext
8663
8664 # Code to be used in simple compile tests
8665 lt_simple_compile_test_code="int some_variable = 0;"
8666
8667 # Code to be used in simple link tests
8668 lt_simple_link_test_code='int main(){return(0);}'
8669
8670
8671
8672
8673
8674
8675
8676 # If no C compiler was specified, use CC.
8677 LTCC=${LTCC-"$CC"}
8678
8679 # If no C compiler flags were specified, use CFLAGS.
8680 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8681
8682 # Allow CC to be a program name with arguments.
8683 compiler=$CC
8684
8685 # Save the default compiler, since it gets overwritten when the other
8686 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8687 compiler_DEFAULT=$CC
8688
8689 # save warnings/boilerplate of simple test code
8690 ac_outfile=conftest.$ac_objext
8691 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8692 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8693 _lt_compiler_boilerplate=`cat conftest.err`
8694 $RM conftest*
8695
8696 ac_outfile=conftest.$ac_objext
8697 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8698 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8699 _lt_linker_boilerplate=`cat conftest.err`
8700 $RM -r conftest*
8701
8702
8703 if test -n "$compiler"; then
8704
8705 lt_prog_compiler_no_builtin_flag=
8706
8707 if test "$GCC" = yes; then
8708 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8709
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8711 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8712 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8713 $as_echo_n "(cached) " >&6
8714 else
8715 lt_cv_prog_compiler_rtti_exceptions=no
8716 ac_outfile=conftest.$ac_objext
8717 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8718 lt_compiler_flag="-fno-rtti -fno-exceptions"
8719 # Insert the option either (1) after the last *FLAGS variable, or
8720 # (2) before a word containing "conftest.", or (3) at the end.
8721 # Note that $ac_compile itself does not contain backslashes and begins
8722 # with a dollar sign (not a hyphen), so the echo should work correctly.
8723 # The option is referenced via a variable to avoid confusing sed.
8724 lt_compile=`echo "$ac_compile" | $SED \
8725 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8726 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8727 -e 's:$: $lt_compiler_flag:'`
8728 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8729 (eval "$lt_compile" 2>conftest.err)
8730 ac_status=$?
8731 cat conftest.err >&5
8732 echo "$as_me:__oline__: \$? = $ac_status" >&5
8733 if (exit $ac_status) && test -s "$ac_outfile"; then
8734 # The compiler can only warn and ignore the option if not recognized
8735 # So say no if there are warnings other than the usual output.
8736 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8737 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8738 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8739 lt_cv_prog_compiler_rtti_exceptions=yes
8740 fi
8741 fi
8742 $RM conftest*
8743
8744 fi
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8746 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8747
8748 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8749 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8750 else
8751 :
8752 fi
8753
8754 fi
8755
8756
8757
8758
8759
8760
8761 lt_prog_compiler_wl=
8762 lt_prog_compiler_pic=
8763 lt_prog_compiler_static=
8764
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8766 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8767
8768 if test "$GCC" = yes; then
8769 lt_prog_compiler_wl='-Wl,'
8770 lt_prog_compiler_static='-static'
8771
8772 case $host_os in
8773 aix*)
8774 # All AIX code is PIC.
8775 if test "$host_cpu" = ia64; then
8776 # AIX 5 now supports IA64 processor
8777 lt_prog_compiler_static='-Bstatic'
8778 fi
8779 ;;
8780
8781 amigaos*)
8782 case $host_cpu in
8783 powerpc)
8784 # see comment about AmigaOS4 .so support
8785 lt_prog_compiler_pic='-fPIC'
8786 ;;
8787 m68k)
8788 # FIXME: we need at least 68020 code to build shared libraries, but
8789 # adding the `-m68020' flag to GCC prevents building anything better,
8790 # like `-m68040'.
8791 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8792 ;;
8793 esac
8794 ;;
8795
8796 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8797 # PIC is the default for these OSes.
8798 ;;
8799
8800 mingw* | cygwin* | pw32* | os2* | cegcc*)
8801 # This hack is so that the source file can tell whether it is being
8802 # built for inclusion in a dll (and should export symbols for example).
8803 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8804 # (--disable-auto-import) libraries
8805 lt_prog_compiler_pic='-DDLL_EXPORT'
8806 ;;
8807
8808 darwin* | rhapsody*)
8809 # PIC is the default on this platform
8810 # Common symbols not allowed in MH_DYLIB files
8811 lt_prog_compiler_pic='-fno-common'
8812 ;;
8813
8814 hpux*)
8815 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8816 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8817 # sets the default TLS model and affects inlining.
8818 case $host_cpu in
8819 hppa*64*)
8820 # +Z the default
8821 ;;
8822 *)
8823 lt_prog_compiler_pic='-fPIC'
8824 ;;
8825 esac
8826 ;;
8827
8828 interix[3-9]*)
8829 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8830 # Instead, we relocate shared libraries at runtime.
8831 ;;
8832
8833 msdosdjgpp*)
8834 # Just because we use GCC doesn't mean we suddenly get shared libraries
8835 # on systems that don't support them.
8836 lt_prog_compiler_can_build_shared=no
8837 enable_shared=no
8838 ;;
8839
8840 *nto* | *qnx*)
8841 # QNX uses GNU C++, but need to define -shared option too, otherwise
8842 # it will coredump.
8843 lt_prog_compiler_pic='-fPIC -shared'
8844 ;;
8845
8846 sysv4*MP*)
8847 if test -d /usr/nec; then
8848 lt_prog_compiler_pic=-Kconform_pic
8849 fi
8850 ;;
8851
8852 *)
8853 lt_prog_compiler_pic='-fPIC'
8854 ;;
8855 esac
8856 else
8857 # PORTME Check for flag to pass linker flags through the system compiler.
8858 case $host_os in
8859 aix*)
8860 lt_prog_compiler_wl='-Wl,'
8861 if test "$host_cpu" = ia64; then
8862 # AIX 5 now supports IA64 processor
8863 lt_prog_compiler_static='-Bstatic'
8864 else
8865 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8866 fi
8867 ;;
8868
8869 mingw* | cygwin* | pw32* | os2* | cegcc*)
8870 # This hack is so that the source file can tell whether it is being
8871 # built for inclusion in a dll (and should export symbols for example).
8872 lt_prog_compiler_pic='-DDLL_EXPORT'
8873 ;;
8874
8875 hpux9* | hpux10* | hpux11*)
8876 lt_prog_compiler_wl='-Wl,'
8877 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8878 # not for PA HP-UX.
8879 case $host_cpu in
8880 hppa*64*|ia64*)
8881 # +Z the default
8882 ;;
8883 *)
8884 lt_prog_compiler_pic='+Z'
8885 ;;
8886 esac
8887 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8888 lt_prog_compiler_static='${wl}-a ${wl}archive'
8889 ;;
8890
8891 irix5* | irix6* | nonstopux*)
8892 lt_prog_compiler_wl='-Wl,'
8893 # PIC (with -KPIC) is the default.
8894 lt_prog_compiler_static='-non_shared'
8895 ;;
8896
8897 linux* | k*bsd*-gnu)
8898 case $cc_basename in
8899 # old Intel for x86_64 which still supported -KPIC.
8900 ecc*)
8901 lt_prog_compiler_wl='-Wl,'
8902 lt_prog_compiler_pic='-KPIC'
8903 lt_prog_compiler_static='-static'
8904 ;;
8905 # icc used to be incompatible with GCC.
8906 # ICC 10 doesn't accept -KPIC any more.
8907 icc* | ifort*)
8908 lt_prog_compiler_wl='-Wl,'
8909 lt_prog_compiler_pic='-fPIC'
8910 lt_prog_compiler_static='-static'
8911 ;;
8912 # Lahey Fortran 8.1.
8913 lf95*)
8914 lt_prog_compiler_wl='-Wl,'
8915 lt_prog_compiler_pic='--shared'
8916 lt_prog_compiler_static='--static'
8917 ;;
8918 pgcc* | pgf77* | pgf90* | pgf95*)
8919 # Portland Group compilers (*not* the Pentium gcc compiler,
8920 # which looks to be a dead project)
8921 lt_prog_compiler_wl='-Wl,'
8922 lt_prog_compiler_pic='-fpic'
8923 lt_prog_compiler_static='-Bstatic'
8924 ;;
8925 ccc*)
8926 lt_prog_compiler_wl='-Wl,'
8927 # All Alpha code is PIC.
8928 lt_prog_compiler_static='-non_shared'
8929 ;;
8930 xl*)
8931 # IBM XL C 8.0/Fortran 10.1 on PPC
8932 lt_prog_compiler_wl='-Wl,'
8933 lt_prog_compiler_pic='-qpic'
8934 lt_prog_compiler_static='-qstaticlink'
8935 ;;
8936 *)
8937 case `$CC -V 2>&1 | sed 5q` in
8938 *Sun\ C*)
8939 # Sun C 5.9
8940 lt_prog_compiler_pic='-KPIC'
8941 lt_prog_compiler_static='-Bstatic'
8942 lt_prog_compiler_wl='-Wl,'
8943 ;;
8944 *Sun\ F*)
8945 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8946 lt_prog_compiler_pic='-KPIC'
8947 lt_prog_compiler_static='-Bstatic'
8948 lt_prog_compiler_wl=''
8949 ;;
8950 esac
8951 ;;
8952 esac
8953 ;;
8954
8955 newsos6)
8956 lt_prog_compiler_pic='-KPIC'
8957 lt_prog_compiler_static='-Bstatic'
8958 ;;
8959
8960 *nto* | *qnx*)
8961 # QNX uses GNU C++, but need to define -shared option too, otherwise
8962 # it will coredump.
8963 lt_prog_compiler_pic='-fPIC -shared'
8964 ;;
8965
8966 osf3* | osf4* | osf5*)
8967 lt_prog_compiler_wl='-Wl,'
8968 # All OSF/1 code is PIC.
8969 lt_prog_compiler_static='-non_shared'
8970 ;;
8971
8972 rdos*)
8973 lt_prog_compiler_static='-non_shared'
8974 ;;
8975
8976 solaris*)
8977 lt_prog_compiler_pic='-KPIC'
8978 lt_prog_compiler_static='-Bstatic'
8979 case $cc_basename in
8980 f77* | f90* | f95*)
8981 lt_prog_compiler_wl='-Qoption ld ';;
8982 *)
8983 lt_prog_compiler_wl='-Wl,';;
8984 esac
8985 ;;
8986
8987 sunos4*)
8988 lt_prog_compiler_wl='-Qoption ld '
8989 lt_prog_compiler_pic='-PIC'
8990 lt_prog_compiler_static='-Bstatic'
8991 ;;
8992
8993 sysv4 | sysv4.2uw2* | sysv4.3*)
8994 lt_prog_compiler_wl='-Wl,'
8995 lt_prog_compiler_pic='-KPIC'
8996 lt_prog_compiler_static='-Bstatic'
8997 ;;
8998
8999 sysv4*MP*)
9000 if test -d /usr/nec ;then
9001 lt_prog_compiler_pic='-Kconform_pic'
9002 lt_prog_compiler_static='-Bstatic'
9003 fi
9004 ;;
9005
9006 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9007 lt_prog_compiler_wl='-Wl,'
9008 lt_prog_compiler_pic='-KPIC'
9009 lt_prog_compiler_static='-Bstatic'
9010 ;;
9011
9012 unicos*)
9013 lt_prog_compiler_wl='-Wl,'
9014 lt_prog_compiler_can_build_shared=no
9015 ;;
9016
9017 uts4*)
9018 lt_prog_compiler_pic='-pic'
9019 lt_prog_compiler_static='-Bstatic'
9020 ;;
9021
9022 *)
9023 lt_prog_compiler_can_build_shared=no
9024 ;;
9025 esac
9026 fi
9027
9028 case $host_os in
9029 # For platforms which do not support PIC, -DPIC is meaningless:
9030 *djgpp*)
9031 lt_prog_compiler_pic=
9032 ;;
9033 *)
9034 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
9035 ;;
9036 esac
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9038 $as_echo "$lt_prog_compiler_pic" >&6; }
9039
9040
9041
9042
9043
9044
9045 #
9046 # Check to make sure the PIC flag actually works.
9047 #
9048 if test -n "$lt_prog_compiler_pic"; then
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9050 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9051 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9052 $as_echo_n "(cached) " >&6
9053 else
9054 lt_cv_prog_compiler_pic_works=no
9055 ac_outfile=conftest.$ac_objext
9056 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9057 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
9058 # Insert the option either (1) after the last *FLAGS variable, or
9059 # (2) before a word containing "conftest.", or (3) at the end.
9060 # Note that $ac_compile itself does not contain backslashes and begins
9061 # with a dollar sign (not a hyphen), so the echo should work correctly.
9062 # The option is referenced via a variable to avoid confusing sed.
9063 lt_compile=`echo "$ac_compile" | $SED \
9064 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9065 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9066 -e 's:$: $lt_compiler_flag:'`
9067 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9068 (eval "$lt_compile" 2>conftest.err)
9069 ac_status=$?
9070 cat conftest.err >&5
9071 echo "$as_me:__oline__: \$? = $ac_status" >&5
9072 if (exit $ac_status) && test -s "$ac_outfile"; then
9073 # The compiler can only warn and ignore the option if not recognized
9074 # So say no if there are warnings other than the usual output.
9075 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9076 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9077 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9078 lt_cv_prog_compiler_pic_works=yes
9079 fi
9080 fi
9081 $RM conftest*
9082
9083 fi
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9085 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9086
9087 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9088 case $lt_prog_compiler_pic in
9089 "" | " "*) ;;
9090 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9091 esac
9092 else
9093 lt_prog_compiler_pic=
9094 lt_prog_compiler_can_build_shared=no
9095 fi
9096
9097 fi
9098
9099
9100
9101
9102
9103
9104 #
9105 # Check to make sure the static flag actually works.
9106 #
9107 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9109 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9110 if ${lt_cv_prog_compiler_static_works+:} false; then :
9111 $as_echo_n "(cached) " >&6
9112 else
9113 lt_cv_prog_compiler_static_works=no
9114 save_LDFLAGS="$LDFLAGS"
9115 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9116 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9117 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9118 # The linker can only warn and ignore the option if not recognized
9119 # So say no if there are warnings
9120 if test -s conftest.err; then
9121 # Append any errors to the config.log.
9122 cat conftest.err 1>&5
9123 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9124 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9125 if diff conftest.exp conftest.er2 >/dev/null; then
9126 lt_cv_prog_compiler_static_works=yes
9127 fi
9128 else
9129 lt_cv_prog_compiler_static_works=yes
9130 fi
9131 fi
9132 $RM -r conftest*
9133 LDFLAGS="$save_LDFLAGS"
9134
9135 fi
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9137 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9138
9139 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9140 :
9141 else
9142 lt_prog_compiler_static=
9143 fi
9144
9145
9146
9147
9148
9149
9150
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9152 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9153 if ${lt_cv_prog_compiler_c_o+:} false; then :
9154 $as_echo_n "(cached) " >&6
9155 else
9156 lt_cv_prog_compiler_c_o=no
9157 $RM -r conftest 2>/dev/null
9158 mkdir conftest
9159 cd conftest
9160 mkdir out
9161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9162
9163 lt_compiler_flag="-o out/conftest2.$ac_objext"
9164 # Insert the option either (1) after the last *FLAGS variable, or
9165 # (2) before a word containing "conftest.", or (3) at the end.
9166 # Note that $ac_compile itself does not contain backslashes and begins
9167 # with a dollar sign (not a hyphen), so the echo should work correctly.
9168 lt_compile=`echo "$ac_compile" | $SED \
9169 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9170 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9171 -e 's:$: $lt_compiler_flag:'`
9172 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9173 (eval "$lt_compile" 2>out/conftest.err)
9174 ac_status=$?
9175 cat out/conftest.err >&5
9176 echo "$as_me:__oline__: \$? = $ac_status" >&5
9177 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9178 then
9179 # The compiler can only warn and ignore the option if not recognized
9180 # So say no if there are warnings
9181 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9182 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9183 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9184 lt_cv_prog_compiler_c_o=yes
9185 fi
9186 fi
9187 chmod u+w . 2>&5
9188 $RM conftest*
9189 # SGI C++ compiler will create directory out/ii_files/ for
9190 # template instantiation
9191 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9192 $RM out/* && rmdir out
9193 cd ..
9194 $RM -r conftest
9195 $RM conftest*
9196
9197 fi
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9199 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9200
9201
9202
9203
9204
9205
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9207 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9208 if ${lt_cv_prog_compiler_c_o+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210 else
9211 lt_cv_prog_compiler_c_o=no
9212 $RM -r conftest 2>/dev/null
9213 mkdir conftest
9214 cd conftest
9215 mkdir out
9216 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9217
9218 lt_compiler_flag="-o out/conftest2.$ac_objext"
9219 # Insert the option either (1) after the last *FLAGS variable, or
9220 # (2) before a word containing "conftest.", or (3) at the end.
9221 # Note that $ac_compile itself does not contain backslashes and begins
9222 # with a dollar sign (not a hyphen), so the echo should work correctly.
9223 lt_compile=`echo "$ac_compile" | $SED \
9224 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9225 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9226 -e 's:$: $lt_compiler_flag:'`
9227 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9228 (eval "$lt_compile" 2>out/conftest.err)
9229 ac_status=$?
9230 cat out/conftest.err >&5
9231 echo "$as_me:__oline__: \$? = $ac_status" >&5
9232 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9233 then
9234 # The compiler can only warn and ignore the option if not recognized
9235 # So say no if there are warnings
9236 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9237 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9238 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9239 lt_cv_prog_compiler_c_o=yes
9240 fi
9241 fi
9242 chmod u+w . 2>&5
9243 $RM conftest*
9244 # SGI C++ compiler will create directory out/ii_files/ for
9245 # template instantiation
9246 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9247 $RM out/* && rmdir out
9248 cd ..
9249 $RM -r conftest
9250 $RM conftest*
9251
9252 fi
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9254 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9255
9256
9257
9258
9259 hard_links="nottested"
9260 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9261 # do not overwrite the value of need_locks provided by the user
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9263 $as_echo_n "checking if we can lock with hard links... " >&6; }
9264 hard_links=yes
9265 $RM conftest*
9266 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9267 touch conftest.a
9268 ln conftest.a conftest.b 2>&5 || hard_links=no
9269 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9271 $as_echo "$hard_links" >&6; }
9272 if test "$hard_links" = no; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9274 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9275 need_locks=warn
9276 fi
9277 else
9278 need_locks=no
9279 fi
9280
9281
9282
9283
9284
9285
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9287 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9288
9289 runpath_var=
9290 allow_undefined_flag=
9291 always_export_symbols=no
9292 archive_cmds=
9293 archive_expsym_cmds=
9294 compiler_needs_object=no
9295 enable_shared_with_static_runtimes=no
9296 export_dynamic_flag_spec=
9297 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9298 hardcode_automatic=no
9299 hardcode_direct=no
9300 hardcode_direct_absolute=no
9301 hardcode_libdir_flag_spec=
9302 hardcode_libdir_flag_spec_ld=
9303 hardcode_libdir_separator=
9304 hardcode_minus_L=no
9305 hardcode_shlibpath_var=unsupported
9306 inherit_rpath=no
9307 link_all_deplibs=unknown
9308 module_cmds=
9309 module_expsym_cmds=
9310 old_archive_from_new_cmds=
9311 old_archive_from_expsyms_cmds=
9312 thread_safe_flag_spec=
9313 whole_archive_flag_spec=
9314 # include_expsyms should be a list of space-separated symbols to be *always*
9315 # included in the symbol list
9316 include_expsyms=
9317 # exclude_expsyms can be an extended regexp of symbols to exclude
9318 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9319 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9320 # as well as any symbol that contains `d'.
9321 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9322 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9323 # platforms (ab)use it in PIC code, but their linkers get confused if
9324 # the symbol is explicitly referenced. Since portable code cannot
9325 # rely on this symbol name, it's probably fine to never include it in
9326 # preloaded symbol tables.
9327 # Exclude shared library initialization/finalization symbols.
9328 extract_expsyms_cmds=
9329
9330 case $host_os in
9331 cygwin* | mingw* | pw32* | cegcc*)
9332 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9333 # When not using gcc, we currently assume that we are using
9334 # Microsoft Visual C++.
9335 if test "$GCC" != yes; then
9336 with_gnu_ld=no
9337 fi
9338 ;;
9339 interix*)
9340 # we just hope/assume this is gcc and not c89 (= MSVC++)
9341 with_gnu_ld=yes
9342 ;;
9343 openbsd*)
9344 with_gnu_ld=no
9345 ;;
9346 esac
9347
9348 ld_shlibs=yes
9349 if test "$with_gnu_ld" = yes; then
9350 # If archive_cmds runs LD, not CC, wlarc should be empty
9351 wlarc='${wl}'
9352
9353 # Set some defaults for GNU ld with shared library support. These
9354 # are reset later if shared libraries are not supported. Putting them
9355 # here allows them to be overridden if necessary.
9356 runpath_var=LD_RUN_PATH
9357 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9358 export_dynamic_flag_spec='${wl}--export-dynamic'
9359 # ancient GNU ld didn't support --whole-archive et. al.
9360 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9361 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9362 else
9363 whole_archive_flag_spec=
9364 fi
9365 supports_anon_versioning=no
9366 case `$LD -v 2>&1` in
9367 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9368 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9369 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9370 *\ 2.11.*) ;; # other 2.11 versions
9371 *) supports_anon_versioning=yes ;;
9372 esac
9373
9374 # See if GNU ld supports shared libraries.
9375 case $host_os in
9376 aix[3-9]*)
9377 # On AIX/PPC, the GNU linker is very broken
9378 if test "$host_cpu" != ia64; then
9379 ld_shlibs=no
9380 cat <<_LT_EOF 1>&2
9381
9382 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9383 *** to be unable to reliably create shared libraries on AIX.
9384 *** Therefore, libtool is disabling shared libraries support. If you
9385 *** really care for shared libraries, you may want to modify your PATH
9386 *** so that a non-GNU linker is found, and then restart.
9387
9388 _LT_EOF
9389 fi
9390 ;;
9391
9392 amigaos*)
9393 case $host_cpu in
9394 powerpc)
9395 # see comment about AmigaOS4 .so support
9396 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9397 archive_expsym_cmds=''
9398 ;;
9399 m68k)
9400 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)'
9401 hardcode_libdir_flag_spec='-L$libdir'
9402 hardcode_minus_L=yes
9403 ;;
9404 esac
9405 ;;
9406
9407 beos*)
9408 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409 allow_undefined_flag=unsupported
9410 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9411 # support --undefined. This deserves some investigation. FIXME
9412 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9413 else
9414 ld_shlibs=no
9415 fi
9416 ;;
9417
9418 cygwin* | mingw* | pw32* | cegcc*)
9419 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9420 # as there is no search path for DLLs.
9421 hardcode_libdir_flag_spec='-L$libdir'
9422 allow_undefined_flag=unsupported
9423 always_export_symbols=no
9424 enable_shared_with_static_runtimes=yes
9425 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9426
9427 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9428 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9429 # If the export-symbols file already is a .def file (1st line
9430 # is EXPORTS), use it as is; otherwise, prepend...
9431 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9432 cp $export_symbols $output_objdir/$soname.def;
9433 else
9434 echo EXPORTS > $output_objdir/$soname.def;
9435 cat $export_symbols >> $output_objdir/$soname.def;
9436 fi~
9437 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9438 else
9439 ld_shlibs=no
9440 fi
9441 ;;
9442
9443 interix[3-9]*)
9444 hardcode_direct=no
9445 hardcode_shlibpath_var=no
9446 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9447 export_dynamic_flag_spec='${wl}-E'
9448 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9449 # Instead, shared libraries are loaded at an image base (0x10000000 by
9450 # default) and relocated if they conflict, which is a slow very memory
9451 # consuming and fragmenting process. To avoid this, we pick a random,
9452 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9453 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9454 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9455 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'
9456 ;;
9457
9458 gnu* | linux* | tpf* | k*bsd*-gnu)
9459 tmp_diet=no
9460 if test "$host_os" = linux-dietlibc; then
9461 case $cc_basename in
9462 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9463 esac
9464 fi
9465 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9466 && test "$tmp_diet" = no
9467 then
9468 tmp_addflag=
9469 tmp_sharedflag='-shared'
9470 case $cc_basename,$host_cpu in
9471 pgcc*) # Portland Group C compiler
9472 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9473 tmp_addflag=' $pic_flag'
9474 ;;
9475 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9476 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9477 tmp_addflag=' $pic_flag -Mnomain' ;;
9478 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9479 tmp_addflag=' -i_dynamic' ;;
9480 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9481 tmp_addflag=' -i_dynamic -nofor_main' ;;
9482 ifc* | ifort*) # Intel Fortran compiler
9483 tmp_addflag=' -nofor_main' ;;
9484 lf95*) # Lahey Fortran 8.1
9485 whole_archive_flag_spec=
9486 tmp_sharedflag='--shared' ;;
9487 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9488 tmp_sharedflag='-qmkshrobj'
9489 tmp_addflag= ;;
9490 esac
9491 case `$CC -V 2>&1 | sed 5q` in
9492 *Sun\ C*) # Sun C 5.9
9493 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9494 compiler_needs_object=yes
9495 tmp_sharedflag='-G' ;;
9496 *Sun\ F*) # Sun Fortran 8.3
9497 tmp_sharedflag='-G' ;;
9498 esac
9499 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500
9501 if test "x$supports_anon_versioning" = xyes; then
9502 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9503 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9504 echo "local: *; };" >> $output_objdir/$libname.ver~
9505 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9506 fi
9507
9508 case $cc_basename in
9509 xlf*)
9510 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9511 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9512 hardcode_libdir_flag_spec=
9513 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9514 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9515 if test "x$supports_anon_versioning" = xyes; then
9516 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9517 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9518 echo "local: *; };" >> $output_objdir/$libname.ver~
9519 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9520 fi
9521 ;;
9522 esac
9523 else
9524 ld_shlibs=no
9525 fi
9526 ;;
9527
9528 netbsd*)
9529 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9530 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9531 wlarc=
9532 else
9533 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9534 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9535 fi
9536 ;;
9537
9538 solaris*)
9539 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9540 ld_shlibs=no
9541 cat <<_LT_EOF 1>&2
9542
9543 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9544 *** create shared libraries on Solaris systems. Therefore, libtool
9545 *** is disabling shared libraries support. We urge you to upgrade GNU
9546 *** binutils to release 2.9.1 or newer. Another option is to modify
9547 *** your PATH or compiler configuration so that the native linker is
9548 *** used, and then restart.
9549
9550 _LT_EOF
9551 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9552 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9553 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9554 else
9555 ld_shlibs=no
9556 fi
9557 ;;
9558
9559 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9560 case `$LD -v 2>&1` in
9561 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9562 ld_shlibs=no
9563 cat <<_LT_EOF 1>&2
9564
9565 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9566 *** reliably create shared libraries on SCO systems. Therefore, libtool
9567 *** is disabling shared libraries support. We urge you to upgrade GNU
9568 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9569 *** your PATH or compiler configuration so that the native linker is
9570 *** used, and then restart.
9571
9572 _LT_EOF
9573 ;;
9574 *)
9575 # For security reasons, it is highly recommended that you always
9576 # use absolute paths for naming shared libraries, and exclude the
9577 # DT_RUNPATH tag from executables and libraries. But doing so
9578 # requires that you compile everything twice, which is a pain.
9579 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9580 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9581 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9582 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9583 else
9584 ld_shlibs=no
9585 fi
9586 ;;
9587 esac
9588 ;;
9589
9590 sunos4*)
9591 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9592 wlarc=
9593 hardcode_direct=yes
9594 hardcode_shlibpath_var=no
9595 ;;
9596
9597 *)
9598 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9599 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9600 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9601 else
9602 ld_shlibs=no
9603 fi
9604 ;;
9605 esac
9606
9607 if test "$ld_shlibs" = no; then
9608 runpath_var=
9609 hardcode_libdir_flag_spec=
9610 export_dynamic_flag_spec=
9611 whole_archive_flag_spec=
9612 fi
9613 else
9614 # PORTME fill in a description of your system's linker (not GNU ld)
9615 case $host_os in
9616 aix3*)
9617 allow_undefined_flag=unsupported
9618 always_export_symbols=yes
9619 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'
9620 # Note: this linker hardcodes the directories in LIBPATH if there
9621 # are no directories specified by -L.
9622 hardcode_minus_L=yes
9623 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9624 # Neither direct hardcoding nor static linking is supported with a
9625 # broken collect2.
9626 hardcode_direct=unsupported
9627 fi
9628 ;;
9629
9630 aix[4-9]*)
9631 if test "$host_cpu" = ia64; then
9632 # On IA64, the linker does run time linking by default, so we don't
9633 # have to do anything special.
9634 aix_use_runtimelinking=no
9635 exp_sym_flag='-Bexport'
9636 no_entry_flag=""
9637 else
9638 # If we're using GNU nm, then we don't want the "-C" option.
9639 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9640 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9641 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9642 else
9643 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'
9644 fi
9645 aix_use_runtimelinking=no
9646
9647 # Test if we are trying to use run time linking or normal
9648 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9649 # need to do runtime linking.
9650 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9651 for ld_flag in $LDFLAGS; do
9652 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9653 aix_use_runtimelinking=yes
9654 break
9655 fi
9656 done
9657 ;;
9658 esac
9659
9660 exp_sym_flag='-bexport'
9661 no_entry_flag='-bnoentry'
9662 fi
9663
9664 # When large executables or shared objects are built, AIX ld can
9665 # have problems creating the table of contents. If linking a library
9666 # or program results in "error TOC overflow" add -mminimal-toc to
9667 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9668 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9669
9670 archive_cmds=''
9671 hardcode_direct=yes
9672 hardcode_direct_absolute=yes
9673 hardcode_libdir_separator=':'
9674 link_all_deplibs=yes
9675 file_list_spec='${wl}-f,'
9676
9677 if test "$GCC" = yes; then
9678 case $host_os in aix4.[012]|aix4.[012].*)
9679 # We only want to do this on AIX 4.2 and lower, the check
9680 # below for broken collect2 doesn't work under 4.3+
9681 collect2name=`${CC} -print-prog-name=collect2`
9682 if test -f "$collect2name" &&
9683 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9684 then
9685 # We have reworked collect2
9686 :
9687 else
9688 # We have old collect2
9689 hardcode_direct=unsupported
9690 # It fails to find uninstalled libraries when the uninstalled
9691 # path is not listed in the libpath. Setting hardcode_minus_L
9692 # to unsupported forces relinking
9693 hardcode_minus_L=yes
9694 hardcode_libdir_flag_spec='-L$libdir'
9695 hardcode_libdir_separator=
9696 fi
9697 ;;
9698 esac
9699 shared_flag='-shared'
9700 if test "$aix_use_runtimelinking" = yes; then
9701 shared_flag="$shared_flag "'${wl}-G'
9702 fi
9703 else
9704 # not using gcc
9705 if test "$host_cpu" = ia64; then
9706 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9707 # chokes on -Wl,-G. The following line is correct:
9708 shared_flag='-G'
9709 else
9710 if test "$aix_use_runtimelinking" = yes; then
9711 shared_flag='${wl}-G'
9712 else
9713 shared_flag='${wl}-bM:SRE'
9714 fi
9715 fi
9716 fi
9717
9718 export_dynamic_flag_spec='${wl}-bexpall'
9719 # It seems that -bexpall does not export symbols beginning with
9720 # underscore (_), so it is better to generate a list of symbols to export.
9721 always_export_symbols=yes
9722 if test "$aix_use_runtimelinking" = yes; then
9723 # Warning - without using the other runtime loading flags (-brtl),
9724 # -berok will link without error, but may produce a broken library.
9725 allow_undefined_flag='-berok'
9726 # Determine the default libpath from the value encoded in an
9727 # empty executable.
9728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9730
9731 int
9732 main ()
9733 {
9734
9735 ;
9736 return 0;
9737 }
9738 _ACEOF
9739 if ac_fn_c_try_link "$LINENO"; then :
9740
9741 lt_aix_libpath_sed='
9742 /Import File Strings/,/^$/ {
9743 /^0/ {
9744 s/^0 *\(.*\)$/\1/
9745 p
9746 }
9747 }'
9748 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9749 # Check for a 64-bit object if we didn't find anything.
9750 if test -z "$aix_libpath"; then
9751 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9752 fi
9753 fi
9754 rm -f core conftest.err conftest.$ac_objext \
9755 conftest$ac_exeext conftest.$ac_ext
9756 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9757
9758 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9759 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9760 else
9761 if test "$host_cpu" = ia64; then
9762 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9763 allow_undefined_flag="-z nodefs"
9764 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"
9765 else
9766 # Determine the default libpath from the value encoded in an
9767 # empty executable.
9768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9770
9771 int
9772 main ()
9773 {
9774
9775 ;
9776 return 0;
9777 }
9778 _ACEOF
9779 if ac_fn_c_try_link "$LINENO"; then :
9780
9781 lt_aix_libpath_sed='
9782 /Import File Strings/,/^$/ {
9783 /^0/ {
9784 s/^0 *\(.*\)$/\1/
9785 p
9786 }
9787 }'
9788 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9789 # Check for a 64-bit object if we didn't find anything.
9790 if test -z "$aix_libpath"; then
9791 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9792 fi
9793 fi
9794 rm -f core conftest.err conftest.$ac_objext \
9795 conftest$ac_exeext conftest.$ac_ext
9796 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9797
9798 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9799 # Warning - without using the other run time loading flags,
9800 # -berok will link without error, but may produce a broken library.
9801 no_undefined_flag=' ${wl}-bernotok'
9802 allow_undefined_flag=' ${wl}-berok'
9803 # Exported symbols can be pulled into shared objects from archives
9804 whole_archive_flag_spec='$convenience'
9805 archive_cmds_need_lc=yes
9806 # This is similar to how AIX traditionally builds its shared libraries.
9807 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'
9808 fi
9809 fi
9810 ;;
9811
9812 amigaos*)
9813 case $host_cpu in
9814 powerpc)
9815 # see comment about AmigaOS4 .so support
9816 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9817 archive_expsym_cmds=''
9818 ;;
9819 m68k)
9820 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)'
9821 hardcode_libdir_flag_spec='-L$libdir'
9822 hardcode_minus_L=yes
9823 ;;
9824 esac
9825 ;;
9826
9827 bsdi[45]*)
9828 export_dynamic_flag_spec=-rdynamic
9829 ;;
9830
9831 cygwin* | mingw* | pw32* | cegcc*)
9832 # When not using gcc, we currently assume that we are using
9833 # Microsoft Visual C++.
9834 # hardcode_libdir_flag_spec is actually meaningless, as there is
9835 # no search path for DLLs.
9836 hardcode_libdir_flag_spec=' '
9837 allow_undefined_flag=unsupported
9838 # Tell ltmain to make .lib files, not .a files.
9839 libext=lib
9840 # Tell ltmain to make .dll files, not .so files.
9841 shrext_cmds=".dll"
9842 # FIXME: Setting linknames here is a bad hack.
9843 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9844 # The linker will automatically build a .lib file if we build a DLL.
9845 old_archive_from_new_cmds='true'
9846 # FIXME: Should let the user specify the lib program.
9847 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9848 fix_srcfile_path='`cygpath -w "$srcfile"`'
9849 enable_shared_with_static_runtimes=yes
9850 ;;
9851
9852 darwin* | rhapsody*)
9853
9854
9855 archive_cmds_need_lc=no
9856 hardcode_direct=no
9857 hardcode_automatic=yes
9858 hardcode_shlibpath_var=unsupported
9859 whole_archive_flag_spec=''
9860 link_all_deplibs=yes
9861 allow_undefined_flag="$_lt_dar_allow_undefined"
9862 case $cc_basename in
9863 ifort*) _lt_dar_can_shared=yes ;;
9864 *) _lt_dar_can_shared=$GCC ;;
9865 esac
9866 if test "$_lt_dar_can_shared" = "yes"; then
9867 output_verbose_link_cmd=echo
9868 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9869 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9870 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}"
9871 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}"
9872
9873 else
9874 ld_shlibs=no
9875 fi
9876
9877 ;;
9878
9879 dgux*)
9880 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9881 hardcode_libdir_flag_spec='-L$libdir'
9882 hardcode_shlibpath_var=no
9883 ;;
9884
9885 freebsd1*)
9886 ld_shlibs=no
9887 ;;
9888
9889 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9890 # support. Future versions do this automatically, but an explicit c++rt0.o
9891 # does not break anything, and helps significantly (at the cost of a little
9892 # extra space).
9893 freebsd2.2*)
9894 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9895 hardcode_libdir_flag_spec='-R$libdir'
9896 hardcode_direct=yes
9897 hardcode_shlibpath_var=no
9898 ;;
9899
9900 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9901 freebsd2*)
9902 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9903 hardcode_direct=yes
9904 hardcode_minus_L=yes
9905 hardcode_shlibpath_var=no
9906 ;;
9907
9908 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9909 freebsd* | dragonfly*)
9910 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9911 hardcode_libdir_flag_spec='-R$libdir'
9912 hardcode_direct=yes
9913 hardcode_shlibpath_var=no
9914 ;;
9915
9916 hpux9*)
9917 if test "$GCC" = yes; then
9918 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9919 else
9920 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'
9921 fi
9922 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9923 hardcode_libdir_separator=:
9924 hardcode_direct=yes
9925
9926 # hardcode_minus_L: Not really in the search PATH,
9927 # but as the default location of the library.
9928 hardcode_minus_L=yes
9929 export_dynamic_flag_spec='${wl}-E'
9930 ;;
9931
9932 hpux10*)
9933 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9934 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9935 else
9936 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9937 fi
9938 if test "$with_gnu_ld" = no; then
9939 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9940 hardcode_libdir_flag_spec_ld='+b $libdir'
9941 hardcode_libdir_separator=:
9942 hardcode_direct=yes
9943 hardcode_direct_absolute=yes
9944 export_dynamic_flag_spec='${wl}-E'
9945 # hardcode_minus_L: Not really in the search PATH,
9946 # but as the default location of the library.
9947 hardcode_minus_L=yes
9948 fi
9949 ;;
9950
9951 hpux11*)
9952 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9953 case $host_cpu in
9954 hppa*64*)
9955 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9956 ;;
9957 ia64*)
9958 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9959 ;;
9960 *)
9961 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9962 ;;
9963 esac
9964 else
9965 case $host_cpu in
9966 hppa*64*)
9967 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9968 ;;
9969 ia64*)
9970 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9971 ;;
9972 *)
9973 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9974 ;;
9975 esac
9976 fi
9977 if test "$with_gnu_ld" = no; then
9978 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9979 hardcode_libdir_separator=:
9980
9981 case $host_cpu in
9982 hppa*64*|ia64*)
9983 hardcode_direct=no
9984 hardcode_shlibpath_var=no
9985 ;;
9986 *)
9987 hardcode_direct=yes
9988 hardcode_direct_absolute=yes
9989 export_dynamic_flag_spec='${wl}-E'
9990
9991 # hardcode_minus_L: Not really in the search PATH,
9992 # but as the default location of the library.
9993 hardcode_minus_L=yes
9994 ;;
9995 esac
9996 fi
9997 ;;
9998
9999 irix5* | irix6* | nonstopux*)
10000 if test "$GCC" = yes; then
10001 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10002 # Try to use the -exported_symbol ld option, if it does not
10003 # work, assume that -exports_file does not work either and
10004 # implicitly export all symbols.
10005 save_LDFLAGS="$LDFLAGS"
10006 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10009 int foo(void) {}
10010 _ACEOF
10011 if ac_fn_c_try_link "$LINENO"; then :
10012 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10013
10014 fi
10015 rm -f core conftest.err conftest.$ac_objext \
10016 conftest$ac_exeext conftest.$ac_ext
10017 LDFLAGS="$save_LDFLAGS"
10018 else
10019 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10020 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10021 fi
10022 archive_cmds_need_lc='no'
10023 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10024 hardcode_libdir_separator=:
10025 inherit_rpath=yes
10026 link_all_deplibs=yes
10027 ;;
10028
10029 netbsd*)
10030 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10031 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10032 else
10033 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10034 fi
10035 hardcode_libdir_flag_spec='-R$libdir'
10036 hardcode_direct=yes
10037 hardcode_shlibpath_var=no
10038 ;;
10039
10040 newsos6)
10041 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10042 hardcode_direct=yes
10043 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10044 hardcode_libdir_separator=:
10045 hardcode_shlibpath_var=no
10046 ;;
10047
10048 *nto* | *qnx*)
10049 ;;
10050
10051 openbsd*)
10052 if test -f /usr/libexec/ld.so; then
10053 hardcode_direct=yes
10054 hardcode_shlibpath_var=no
10055 hardcode_direct_absolute=yes
10056 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10057 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10058 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10059 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10060 export_dynamic_flag_spec='${wl}-E'
10061 else
10062 case $host_os in
10063 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10064 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10065 hardcode_libdir_flag_spec='-R$libdir'
10066 ;;
10067 *)
10068 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10069 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10070 ;;
10071 esac
10072 fi
10073 else
10074 ld_shlibs=no
10075 fi
10076 ;;
10077
10078 os2*)
10079 hardcode_libdir_flag_spec='-L$libdir'
10080 hardcode_minus_L=yes
10081 allow_undefined_flag=unsupported
10082 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'
10083 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10084 ;;
10085
10086 osf3*)
10087 if test "$GCC" = yes; then
10088 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10089 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10090 else
10091 allow_undefined_flag=' -expect_unresolved \*'
10092 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10093 fi
10094 archive_cmds_need_lc='no'
10095 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10096 hardcode_libdir_separator=:
10097 ;;
10098
10099 osf4* | osf5*) # as osf3* with the addition of -msym flag
10100 if test "$GCC" = yes; then
10101 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10102 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10103 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10104 else
10105 allow_undefined_flag=' -expect_unresolved \*'
10106 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10107 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~
10108 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10109
10110 # Both c and cxx compiler support -rpath directly
10111 hardcode_libdir_flag_spec='-rpath $libdir'
10112 fi
10113 archive_cmds_need_lc='no'
10114 hardcode_libdir_separator=:
10115 ;;
10116
10117 solaris*)
10118 no_undefined_flag=' -z defs'
10119 if test "$GCC" = yes; then
10120 wlarc='${wl}'
10121 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10122 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10123 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10124 else
10125 case `$CC -V 2>&1` in
10126 *"Compilers 5.0"*)
10127 wlarc=''
10128 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10129 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10130 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10131 ;;
10132 *)
10133 wlarc='${wl}'
10134 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10135 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10136 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10137 ;;
10138 esac
10139 fi
10140 hardcode_libdir_flag_spec='-R$libdir'
10141 hardcode_shlibpath_var=no
10142 case $host_os in
10143 solaris2.[0-5] | solaris2.[0-5].*) ;;
10144 *)
10145 # The compiler driver will combine and reorder linker options,
10146 # but understands `-z linker_flag'. GCC discards it without `$wl',
10147 # but is careful enough not to reorder.
10148 # Supported since Solaris 2.6 (maybe 2.5.1?)
10149 if test "$GCC" = yes; then
10150 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10151 else
10152 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10153 fi
10154 ;;
10155 esac
10156 link_all_deplibs=yes
10157 ;;
10158
10159 sunos4*)
10160 if test "x$host_vendor" = xsequent; then
10161 # Use $CC to link under sequent, because it throws in some extra .o
10162 # files that make .init and .fini sections work.
10163 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10164 else
10165 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10166 fi
10167 hardcode_libdir_flag_spec='-L$libdir'
10168 hardcode_direct=yes
10169 hardcode_minus_L=yes
10170 hardcode_shlibpath_var=no
10171 ;;
10172
10173 sysv4)
10174 case $host_vendor in
10175 sni)
10176 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10177 hardcode_direct=yes # is this really true???
10178 ;;
10179 siemens)
10180 ## LD is ld it makes a PLAMLIB
10181 ## CC just makes a GrossModule.
10182 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10183 reload_cmds='$CC -r -o $output$reload_objs'
10184 hardcode_direct=no
10185 ;;
10186 motorola)
10187 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10188 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10189 ;;
10190 esac
10191 runpath_var='LD_RUN_PATH'
10192 hardcode_shlibpath_var=no
10193 ;;
10194
10195 sysv4.3*)
10196 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10197 hardcode_shlibpath_var=no
10198 export_dynamic_flag_spec='-Bexport'
10199 ;;
10200
10201 sysv4*MP*)
10202 if test -d /usr/nec; then
10203 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10204 hardcode_shlibpath_var=no
10205 runpath_var=LD_RUN_PATH
10206 hardcode_runpath_var=yes
10207 ld_shlibs=yes
10208 fi
10209 ;;
10210
10211 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10212 no_undefined_flag='${wl}-z,text'
10213 archive_cmds_need_lc=no
10214 hardcode_shlibpath_var=no
10215 runpath_var='LD_RUN_PATH'
10216
10217 if test "$GCC" = yes; then
10218 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10219 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10220 else
10221 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10222 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10223 fi
10224 ;;
10225
10226 sysv5* | sco3.2v5* | sco5v6*)
10227 # Note: We can NOT use -z defs as we might desire, because we do not
10228 # link with -lc, and that would cause any symbols used from libc to
10229 # always be unresolved, which means just about no library would
10230 # ever link correctly. If we're not using GNU ld we use -z text
10231 # though, which does catch some bad symbols but isn't as heavy-handed
10232 # as -z defs.
10233 no_undefined_flag='${wl}-z,text'
10234 allow_undefined_flag='${wl}-z,nodefs'
10235 archive_cmds_need_lc=no
10236 hardcode_shlibpath_var=no
10237 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10238 hardcode_libdir_separator=':'
10239 link_all_deplibs=yes
10240 export_dynamic_flag_spec='${wl}-Bexport'
10241 runpath_var='LD_RUN_PATH'
10242
10243 if test "$GCC" = yes; then
10244 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10245 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10246 else
10247 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10248 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10249 fi
10250 ;;
10251
10252 uts4*)
10253 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10254 hardcode_libdir_flag_spec='-L$libdir'
10255 hardcode_shlibpath_var=no
10256 ;;
10257
10258 *)
10259 ld_shlibs=no
10260 ;;
10261 esac
10262
10263 if test x$host_vendor = xsni; then
10264 case $host in
10265 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10266 export_dynamic_flag_spec='${wl}-Blargedynsym'
10267 ;;
10268 esac
10269 fi
10270 fi
10271
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10273 $as_echo "$ld_shlibs" >&6; }
10274 test "$ld_shlibs" = no && can_build_shared=no
10275
10276 with_gnu_ld=$with_gnu_ld
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292 #
10293 # Do we need to explicitly link libc?
10294 #
10295 case "x$archive_cmds_need_lc" in
10296 x|xyes)
10297 # Assume -lc should be added
10298 archive_cmds_need_lc=yes
10299
10300 if test "$enable_shared" = yes && test "$GCC" = yes; then
10301 case $archive_cmds in
10302 *'~'*)
10303 # FIXME: we may have to deal with multi-command sequences.
10304 ;;
10305 '$CC '*)
10306 # Test whether the compiler implicitly links with -lc since on some
10307 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10308 # to ld, don't add -lc before -lgcc.
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10310 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10311 $RM conftest*
10312 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10313
10314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10315 (eval $ac_compile) 2>&5
10316 ac_status=$?
10317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10318 test $ac_status = 0; } 2>conftest.err; then
10319 soname=conftest
10320 lib=conftest
10321 libobjs=conftest.$ac_objext
10322 deplibs=
10323 wl=$lt_prog_compiler_wl
10324 pic_flag=$lt_prog_compiler_pic
10325 compiler_flags=-v
10326 linker_flags=-v
10327 verstring=
10328 output_objdir=.
10329 libname=conftest
10330 lt_save_allow_undefined_flag=$allow_undefined_flag
10331 allow_undefined_flag=
10332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10333 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10334 ac_status=$?
10335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10336 test $ac_status = 0; }
10337 then
10338 archive_cmds_need_lc=no
10339 else
10340 archive_cmds_need_lc=yes
10341 fi
10342 allow_undefined_flag=$lt_save_allow_undefined_flag
10343 else
10344 cat conftest.err 1>&5
10345 fi
10346 $RM conftest*
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10348 $as_echo "$archive_cmds_need_lc" >&6; }
10349 ;;
10350 esac
10351 fi
10352 ;;
10353 esac
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10512 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10513
10514 if test "$GCC" = yes; then
10515 case $host_os in
10516 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10517 *) lt_awk_arg="/^libraries:/" ;;
10518 esac
10519 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10520 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10521 # if the path contains ";" then we assume it to be the separator
10522 # otherwise default to the standard path separator (i.e. ":") - it is
10523 # assumed that no part of a normal pathname contains ";" but that should
10524 # okay in the real world where ";" in dirpaths is itself problematic.
10525 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10526 else
10527 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10528 fi
10529 # Ok, now we have the path, separated by spaces, we can step through it
10530 # and add multilib dir if necessary.
10531 lt_tmp_lt_search_path_spec=
10532 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10533 for lt_sys_path in $lt_search_path_spec; do
10534 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10535 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10536 else
10537 test -d "$lt_sys_path" && \
10538 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10539 fi
10540 done
10541 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10542 BEGIN {RS=" "; FS="/|\n";} {
10543 lt_foo="";
10544 lt_count=0;
10545 for (lt_i = NF; lt_i > 0; lt_i--) {
10546 if ($lt_i != "" && $lt_i != ".") {
10547 if ($lt_i == "..") {
10548 lt_count++;
10549 } else {
10550 if (lt_count == 0) {
10551 lt_foo="/" $lt_i lt_foo;
10552 } else {
10553 lt_count--;
10554 }
10555 }
10556 }
10557 }
10558 if (lt_foo != "") { lt_freq[lt_foo]++; }
10559 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10560 }'`
10561 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10562 else
10563 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10564 fi
10565 library_names_spec=
10566 libname_spec='lib$name'
10567 soname_spec=
10568 shrext_cmds=".so"
10569 postinstall_cmds=
10570 postuninstall_cmds=
10571 finish_cmds=
10572 finish_eval=
10573 shlibpath_var=
10574 shlibpath_overrides_runpath=unknown
10575 version_type=none
10576 dynamic_linker="$host_os ld.so"
10577 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10578 need_lib_prefix=unknown
10579 hardcode_into_libs=no
10580
10581 # when you set need_version to no, make sure it does not cause -set_version
10582 # flags to be left without arguments
10583 need_version=unknown
10584
10585 case $host_os in
10586 aix3*)
10587 version_type=linux
10588 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10589 shlibpath_var=LIBPATH
10590
10591 # AIX 3 has no versioning support, so we append a major version to the name.
10592 soname_spec='${libname}${release}${shared_ext}$major'
10593 ;;
10594
10595 aix[4-9]*)
10596 version_type=linux
10597 need_lib_prefix=no
10598 need_version=no
10599 hardcode_into_libs=yes
10600 if test "$host_cpu" = ia64; then
10601 # AIX 5 supports IA64
10602 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10603 shlibpath_var=LD_LIBRARY_PATH
10604 else
10605 # With GCC up to 2.95.x, collect2 would create an import file
10606 # for dependence libraries. The import file would start with
10607 # the line `#! .'. This would cause the generated library to
10608 # depend on `.', always an invalid library. This was fixed in
10609 # development snapshots of GCC prior to 3.0.
10610 case $host_os in
10611 aix4 | aix4.[01] | aix4.[01].*)
10612 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10613 echo ' yes '
10614 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10615 :
10616 else
10617 can_build_shared=no
10618 fi
10619 ;;
10620 esac
10621 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10622 # soname into executable. Probably we can add versioning support to
10623 # collect2, so additional links can be useful in future.
10624 if test "$aix_use_runtimelinking" = yes; then
10625 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10626 # instead of lib<name>.a to let people know that these are not
10627 # typical AIX shared libraries.
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10629 else
10630 # We preserve .a as extension for shared libraries through AIX4.2
10631 # and later when we are not doing run time linking.
10632 library_names_spec='${libname}${release}.a $libname.a'
10633 soname_spec='${libname}${release}${shared_ext}$major'
10634 fi
10635 shlibpath_var=LIBPATH
10636 fi
10637 ;;
10638
10639 amigaos*)
10640 case $host_cpu in
10641 powerpc)
10642 # Since July 2007 AmigaOS4 officially supports .so libraries.
10643 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10645 ;;
10646 m68k)
10647 library_names_spec='$libname.ixlibrary $libname.a'
10648 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10649 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10650 ;;
10651 esac
10652 ;;
10653
10654 beos*)
10655 library_names_spec='${libname}${shared_ext}'
10656 dynamic_linker="$host_os ld.so"
10657 shlibpath_var=LIBRARY_PATH
10658 ;;
10659
10660 bsdi[45]*)
10661 version_type=linux
10662 need_version=no
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10664 soname_spec='${libname}${release}${shared_ext}$major'
10665 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10666 shlibpath_var=LD_LIBRARY_PATH
10667 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10668 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10669 # the default ld.so.conf also contains /usr/contrib/lib and
10670 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10671 # libtool to hard-code these into programs
10672 ;;
10673
10674 cygwin* | mingw* | pw32* | cegcc*)
10675 version_type=windows
10676 shrext_cmds=".dll"
10677 need_version=no
10678 need_lib_prefix=no
10679
10680 case $GCC,$host_os in
10681 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10682 library_names_spec='$libname.dll.a'
10683 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10684 postinstall_cmds='base_file=`basename \${file}`~
10685 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10686 dldir=$destdir/`dirname \$dlpath`~
10687 test -d \$dldir || mkdir -p \$dldir~
10688 $install_prog $dir/$dlname \$dldir/$dlname~
10689 chmod a+x \$dldir/$dlname~
10690 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10691 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10692 fi'
10693 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10694 dlpath=$dir/\$dldll~
10695 $RM \$dlpath'
10696 shlibpath_overrides_runpath=yes
10697
10698 case $host_os in
10699 cygwin*)
10700 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10701 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10702 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10703 ;;
10704 mingw* | cegcc*)
10705 # MinGW DLLs use traditional 'lib' prefix
10706 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10707 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10708 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10709 # It is most probably a Windows format PATH printed by
10710 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10711 # path with ; separators, and with drive letters. We can handle the
10712 # drive letters (cygwin fileutils understands them), so leave them,
10713 # especially as we might pass files found there to a mingw objdump,
10714 # which wouldn't understand a cygwinified path. Ahh.
10715 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10716 else
10717 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10718 fi
10719 ;;
10720 pw32*)
10721 # pw32 DLLs use 'pw' prefix rather than 'lib'
10722 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10723 ;;
10724 esac
10725 ;;
10726
10727 *)
10728 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10729 ;;
10730 esac
10731 dynamic_linker='Win32 ld.exe'
10732 # FIXME: first we should search . and the directory the executable is in
10733 shlibpath_var=PATH
10734 ;;
10735
10736 darwin* | rhapsody*)
10737 dynamic_linker="$host_os dyld"
10738 version_type=darwin
10739 need_lib_prefix=no
10740 need_version=no
10741 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10742 soname_spec='${libname}${release}${major}$shared_ext'
10743 shlibpath_overrides_runpath=yes
10744 shlibpath_var=DYLD_LIBRARY_PATH
10745 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10746
10747 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10748 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10749 ;;
10750
10751 dgux*)
10752 version_type=linux
10753 need_lib_prefix=no
10754 need_version=no
10755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10756 soname_spec='${libname}${release}${shared_ext}$major'
10757 shlibpath_var=LD_LIBRARY_PATH
10758 ;;
10759
10760 freebsd1*)
10761 dynamic_linker=no
10762 ;;
10763
10764 freebsd* | dragonfly*)
10765 # DragonFly does not have aout. When/if they implement a new
10766 # versioning mechanism, adjust this.
10767 if test -x /usr/bin/objformat; then
10768 objformat=`/usr/bin/objformat`
10769 else
10770 case $host_os in
10771 freebsd[123]*) objformat=aout ;;
10772 *) objformat=elf ;;
10773 esac
10774 fi
10775 version_type=freebsd-$objformat
10776 case $version_type in
10777 freebsd-elf*)
10778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10779 need_version=no
10780 need_lib_prefix=no
10781 ;;
10782 freebsd-*)
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10784 need_version=yes
10785 ;;
10786 esac
10787 shlibpath_var=LD_LIBRARY_PATH
10788 case $host_os in
10789 freebsd2*)
10790 shlibpath_overrides_runpath=yes
10791 ;;
10792 freebsd3.[01]* | freebsdelf3.[01]*)
10793 shlibpath_overrides_runpath=yes
10794 hardcode_into_libs=yes
10795 ;;
10796 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10797 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10798 shlibpath_overrides_runpath=no
10799 hardcode_into_libs=yes
10800 ;;
10801 *) # from 4.6 on, and DragonFly
10802 shlibpath_overrides_runpath=yes
10803 hardcode_into_libs=yes
10804 ;;
10805 esac
10806 ;;
10807
10808 gnu*)
10809 version_type=linux
10810 need_lib_prefix=no
10811 need_version=no
10812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10813 soname_spec='${libname}${release}${shared_ext}$major'
10814 shlibpath_var=LD_LIBRARY_PATH
10815 hardcode_into_libs=yes
10816 ;;
10817
10818 hpux9* | hpux10* | hpux11*)
10819 # Give a soname corresponding to the major version so that dld.sl refuses to
10820 # link against other versions.
10821 version_type=sunos
10822 need_lib_prefix=no
10823 need_version=no
10824 case $host_cpu in
10825 ia64*)
10826 shrext_cmds='.so'
10827 hardcode_into_libs=yes
10828 dynamic_linker="$host_os dld.so"
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10832 soname_spec='${libname}${release}${shared_ext}$major'
10833 if test "X$HPUX_IA64_MODE" = X32; then
10834 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10835 else
10836 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10837 fi
10838 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10839 ;;
10840 hppa*64*)
10841 shrext_cmds='.sl'
10842 hardcode_into_libs=yes
10843 dynamic_linker="$host_os dld.sl"
10844 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10845 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10847 soname_spec='${libname}${release}${shared_ext}$major'
10848 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10849 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10850 ;;
10851 *)
10852 shrext_cmds='.sl'
10853 dynamic_linker="$host_os dld.sl"
10854 shlibpath_var=SHLIB_PATH
10855 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10857 soname_spec='${libname}${release}${shared_ext}$major'
10858 ;;
10859 esac
10860 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10861 postinstall_cmds='chmod 555 $lib'
10862 ;;
10863
10864 interix[3-9]*)
10865 version_type=linux
10866 need_lib_prefix=no
10867 need_version=no
10868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10869 soname_spec='${libname}${release}${shared_ext}$major'
10870 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10871 shlibpath_var=LD_LIBRARY_PATH
10872 shlibpath_overrides_runpath=no
10873 hardcode_into_libs=yes
10874 ;;
10875
10876 irix5* | irix6* | nonstopux*)
10877 case $host_os in
10878 nonstopux*) version_type=nonstopux ;;
10879 *)
10880 if test "$lt_cv_prog_gnu_ld" = yes; then
10881 version_type=linux
10882 else
10883 version_type=irix
10884 fi ;;
10885 esac
10886 need_lib_prefix=no
10887 need_version=no
10888 soname_spec='${libname}${release}${shared_ext}$major'
10889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10890 case $host_os in
10891 irix5* | nonstopux*)
10892 libsuff= shlibsuff=
10893 ;;
10894 *)
10895 case $LD in # libtool.m4 will add one of these switches to LD
10896 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10897 libsuff= shlibsuff= libmagic=32-bit;;
10898 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10899 libsuff=32 shlibsuff=N32 libmagic=N32;;
10900 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10901 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10902 *) libsuff= shlibsuff= libmagic=never-match;;
10903 esac
10904 ;;
10905 esac
10906 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10907 shlibpath_overrides_runpath=no
10908 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10909 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10910 hardcode_into_libs=yes
10911 ;;
10912
10913 # No shared lib support for Linux oldld, aout, or coff.
10914 linux*oldld* | linux*aout* | linux*coff*)
10915 dynamic_linker=no
10916 ;;
10917
10918 # This must be Linux ELF.
10919 linux* | k*bsd*-gnu)
10920 version_type=linux
10921 need_lib_prefix=no
10922 need_version=no
10923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924 soname_spec='${libname}${release}${shared_ext}$major'
10925 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10926 shlibpath_var=LD_LIBRARY_PATH
10927 shlibpath_overrides_runpath=no
10928 # Some binutils ld are patched to set DT_RUNPATH
10929 save_LDFLAGS=$LDFLAGS
10930 save_libdir=$libdir
10931 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10932 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10935
10936 int
10937 main ()
10938 {
10939
10940 ;
10941 return 0;
10942 }
10943 _ACEOF
10944 if ac_fn_c_try_link "$LINENO"; then :
10945 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10946 shlibpath_overrides_runpath=yes
10947 fi
10948 fi
10949 rm -f core conftest.err conftest.$ac_objext \
10950 conftest$ac_exeext conftest.$ac_ext
10951 LDFLAGS=$save_LDFLAGS
10952 libdir=$save_libdir
10953
10954 # This implies no fast_install, which is unacceptable.
10955 # Some rework will be needed to allow for fast_install
10956 # before this can be enabled.
10957 hardcode_into_libs=yes
10958
10959 # Add ABI-specific directories to the system library path.
10960 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10961
10962 # Append ld.so.conf contents to the search path
10963 if test -f /etc/ld.so.conf; then
10964 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10965 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10966 fi
10967
10968 # We used to test for /lib/ld.so.1 and disable shared libraries on
10969 # powerpc, because MkLinux only supported shared libraries with the
10970 # GNU dynamic linker. Since this was broken with cross compilers,
10971 # most powerpc-linux boxes support dynamic linking these days and
10972 # people can always --disable-shared, the test was removed, and we
10973 # assume the GNU/Linux dynamic linker is in use.
10974 dynamic_linker='GNU/Linux ld.so'
10975 ;;
10976
10977 netbsd*)
10978 version_type=sunos
10979 need_lib_prefix=no
10980 need_version=no
10981 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10983 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10984 dynamic_linker='NetBSD (a.out) ld.so'
10985 else
10986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10987 soname_spec='${libname}${release}${shared_ext}$major'
10988 dynamic_linker='NetBSD ld.elf_so'
10989 fi
10990 shlibpath_var=LD_LIBRARY_PATH
10991 shlibpath_overrides_runpath=yes
10992 hardcode_into_libs=yes
10993 ;;
10994
10995 newsos6)
10996 version_type=linux
10997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 ;;
11001
11002 *nto* | *qnx*)
11003 version_type=qnx
11004 need_lib_prefix=no
11005 need_version=no
11006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11007 soname_spec='${libname}${release}${shared_ext}$major'
11008 shlibpath_var=LD_LIBRARY_PATH
11009 shlibpath_overrides_runpath=no
11010 hardcode_into_libs=yes
11011 dynamic_linker='ldqnx.so'
11012 ;;
11013
11014 openbsd*)
11015 version_type=sunos
11016 sys_lib_dlsearch_path_spec="/usr/lib"
11017 need_lib_prefix=no
11018 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11019 case $host_os in
11020 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11021 *) need_version=no ;;
11022 esac
11023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11024 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11025 shlibpath_var=LD_LIBRARY_PATH
11026 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11027 case $host_os in
11028 openbsd2.[89] | openbsd2.[89].*)
11029 shlibpath_overrides_runpath=no
11030 ;;
11031 *)
11032 shlibpath_overrides_runpath=yes
11033 ;;
11034 esac
11035 else
11036 shlibpath_overrides_runpath=yes
11037 fi
11038 ;;
11039
11040 os2*)
11041 libname_spec='$name'
11042 shrext_cmds=".dll"
11043 need_lib_prefix=no
11044 library_names_spec='$libname${shared_ext} $libname.a'
11045 dynamic_linker='OS/2 ld.exe'
11046 shlibpath_var=LIBPATH
11047 ;;
11048
11049 osf3* | osf4* | osf5*)
11050 version_type=osf
11051 need_lib_prefix=no
11052 need_version=no
11053 soname_spec='${libname}${release}${shared_ext}$major'
11054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11055 shlibpath_var=LD_LIBRARY_PATH
11056 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11057 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11058 ;;
11059
11060 rdos*)
11061 dynamic_linker=no
11062 ;;
11063
11064 solaris*)
11065 version_type=linux
11066 need_lib_prefix=no
11067 need_version=no
11068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 soname_spec='${libname}${release}${shared_ext}$major'
11070 shlibpath_var=LD_LIBRARY_PATH
11071 shlibpath_overrides_runpath=yes
11072 hardcode_into_libs=yes
11073 # ldd complains unless libraries are executable
11074 postinstall_cmds='chmod +x $lib'
11075 ;;
11076
11077 sunos4*)
11078 version_type=sunos
11079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11080 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11081 shlibpath_var=LD_LIBRARY_PATH
11082 shlibpath_overrides_runpath=yes
11083 if test "$with_gnu_ld" = yes; then
11084 need_lib_prefix=no
11085 fi
11086 need_version=yes
11087 ;;
11088
11089 sysv4 | sysv4.3*)
11090 version_type=linux
11091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11092 soname_spec='${libname}${release}${shared_ext}$major'
11093 shlibpath_var=LD_LIBRARY_PATH
11094 case $host_vendor in
11095 sni)
11096 shlibpath_overrides_runpath=no
11097 need_lib_prefix=no
11098 runpath_var=LD_RUN_PATH
11099 ;;
11100 siemens)
11101 need_lib_prefix=no
11102 ;;
11103 motorola)
11104 need_lib_prefix=no
11105 need_version=no
11106 shlibpath_overrides_runpath=no
11107 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11108 ;;
11109 esac
11110 ;;
11111
11112 sysv4*MP*)
11113 if test -d /usr/nec ;then
11114 version_type=linux
11115 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11116 soname_spec='$libname${shared_ext}.$major'
11117 shlibpath_var=LD_LIBRARY_PATH
11118 fi
11119 ;;
11120
11121 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11122 version_type=freebsd-elf
11123 need_lib_prefix=no
11124 need_version=no
11125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11126 soname_spec='${libname}${release}${shared_ext}$major'
11127 shlibpath_var=LD_LIBRARY_PATH
11128 shlibpath_overrides_runpath=yes
11129 hardcode_into_libs=yes
11130 if test "$with_gnu_ld" = yes; then
11131 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11132 else
11133 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11134 case $host_os in
11135 sco3.2v5*)
11136 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11137 ;;
11138 esac
11139 fi
11140 sys_lib_dlsearch_path_spec='/usr/lib'
11141 ;;
11142
11143 tpf*)
11144 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11145 version_type=linux
11146 need_lib_prefix=no
11147 need_version=no
11148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11149 shlibpath_var=LD_LIBRARY_PATH
11150 shlibpath_overrides_runpath=no
11151 hardcode_into_libs=yes
11152 ;;
11153
11154 uts4*)
11155 version_type=linux
11156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11157 soname_spec='${libname}${release}${shared_ext}$major'
11158 shlibpath_var=LD_LIBRARY_PATH
11159 ;;
11160
11161 *)
11162 dynamic_linker=no
11163 ;;
11164 esac
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11166 $as_echo "$dynamic_linker" >&6; }
11167 test "$dynamic_linker" = no && can_build_shared=no
11168
11169 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11170 if test "$GCC" = yes; then
11171 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11172 fi
11173
11174 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11175 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11176 fi
11177 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11178 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11179 fi
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11268 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11269 hardcode_action=
11270 if test -n "$hardcode_libdir_flag_spec" ||
11271 test -n "$runpath_var" ||
11272 test "X$hardcode_automatic" = "Xyes" ; then
11273
11274 # We can hardcode non-existent directories.
11275 if test "$hardcode_direct" != no &&
11276 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11277 # have to relink, otherwise we might link with an installed library
11278 # when we should be linking with a yet-to-be-installed one
11279 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11280 test "$hardcode_minus_L" != no; then
11281 # Linking always hardcodes the temporary library directory.
11282 hardcode_action=relink
11283 else
11284 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11285 hardcode_action=immediate
11286 fi
11287 else
11288 # We cannot hardcode anything, or else we can only hardcode existing
11289 # directories.
11290 hardcode_action=unsupported
11291 fi
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11293 $as_echo "$hardcode_action" >&6; }
11294
11295 if test "$hardcode_action" = relink ||
11296 test "$inherit_rpath" = yes; then
11297 # Fast installation is not supported
11298 enable_fast_install=no
11299 elif test "$shlibpath_overrides_runpath" = yes ||
11300 test "$enable_shared" = no; then
11301 # Fast installation is not necessary
11302 enable_fast_install=needless
11303 fi
11304
11305
11306
11307
11308
11309
11310 if test "x$enable_dlopen" != xyes; then
11311 enable_dlopen=unknown
11312 enable_dlopen_self=unknown
11313 enable_dlopen_self_static=unknown
11314 else
11315 lt_cv_dlopen=no
11316 lt_cv_dlopen_libs=
11317
11318 case $host_os in
11319 beos*)
11320 lt_cv_dlopen="load_add_on"
11321 lt_cv_dlopen_libs=
11322 lt_cv_dlopen_self=yes
11323 ;;
11324
11325 mingw* | pw32* | cegcc*)
11326 lt_cv_dlopen="LoadLibrary"
11327 lt_cv_dlopen_libs=
11328 ;;
11329
11330 cygwin*)
11331 lt_cv_dlopen="dlopen"
11332 lt_cv_dlopen_libs=
11333 ;;
11334
11335 darwin*)
11336 # if libdl is installed we need to link against it
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11338 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11339 if ${ac_cv_lib_dl_dlopen+:} false; then :
11340 $as_echo_n "(cached) " >&6
11341 else
11342 ac_check_lib_save_LIBS=$LIBS
11343 LIBS="-ldl $LIBS"
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11346
11347 /* Override any GCC internal prototype to avoid an error.
11348 Use char because int might match the return type of a GCC
11349 builtin and then its argument prototype would still apply. */
11350 #ifdef __cplusplus
11351 extern "C"
11352 #endif
11353 char dlopen ();
11354 int
11355 main ()
11356 {
11357 return dlopen ();
11358 ;
11359 return 0;
11360 }
11361 _ACEOF
11362 if ac_fn_c_try_link "$LINENO"; then :
11363 ac_cv_lib_dl_dlopen=yes
11364 else
11365 ac_cv_lib_dl_dlopen=no
11366 fi
11367 rm -f core conftest.err conftest.$ac_objext \
11368 conftest$ac_exeext conftest.$ac_ext
11369 LIBS=$ac_check_lib_save_LIBS
11370 fi
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11372 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11373 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11374 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11375 else
11376
11377 lt_cv_dlopen="dyld"
11378 lt_cv_dlopen_libs=
11379 lt_cv_dlopen_self=yes
11380
11381 fi
11382
11383 ;;
11384
11385 *)
11386 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11387 if test "x$ac_cv_func_shl_load" = xyes; then :
11388 lt_cv_dlopen="shl_load"
11389 else
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11391 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11392 if ${ac_cv_lib_dld_shl_load+:} false; then :
11393 $as_echo_n "(cached) " >&6
11394 else
11395 ac_check_lib_save_LIBS=$LIBS
11396 LIBS="-ldld $LIBS"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11399
11400 /* Override any GCC internal prototype to avoid an error.
11401 Use char because int might match the return type of a GCC
11402 builtin and then its argument prototype would still apply. */
11403 #ifdef __cplusplus
11404 extern "C"
11405 #endif
11406 char shl_load ();
11407 int
11408 main ()
11409 {
11410 return shl_load ();
11411 ;
11412 return 0;
11413 }
11414 _ACEOF
11415 if ac_fn_c_try_link "$LINENO"; then :
11416 ac_cv_lib_dld_shl_load=yes
11417 else
11418 ac_cv_lib_dld_shl_load=no
11419 fi
11420 rm -f core conftest.err conftest.$ac_objext \
11421 conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_lib_save_LIBS
11423 fi
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11425 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11426 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11427 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11428 else
11429 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11430 if test "x$ac_cv_func_dlopen" = xyes; then :
11431 lt_cv_dlopen="dlopen"
11432 else
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11434 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11435 if ${ac_cv_lib_dl_dlopen+:} false; then :
11436 $as_echo_n "(cached) " >&6
11437 else
11438 ac_check_lib_save_LIBS=$LIBS
11439 LIBS="-ldl $LIBS"
11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11442
11443 /* Override any GCC internal prototype to avoid an error.
11444 Use char because int might match the return type of a GCC
11445 builtin and then its argument prototype would still apply. */
11446 #ifdef __cplusplus
11447 extern "C"
11448 #endif
11449 char dlopen ();
11450 int
11451 main ()
11452 {
11453 return dlopen ();
11454 ;
11455 return 0;
11456 }
11457 _ACEOF
11458 if ac_fn_c_try_link "$LINENO"; then :
11459 ac_cv_lib_dl_dlopen=yes
11460 else
11461 ac_cv_lib_dl_dlopen=no
11462 fi
11463 rm -f core conftest.err conftest.$ac_objext \
11464 conftest$ac_exeext conftest.$ac_ext
11465 LIBS=$ac_check_lib_save_LIBS
11466 fi
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11468 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11469 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11470 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11471 else
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11473 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11474 if ${ac_cv_lib_svld_dlopen+:} false; then :
11475 $as_echo_n "(cached) " >&6
11476 else
11477 ac_check_lib_save_LIBS=$LIBS
11478 LIBS="-lsvld $LIBS"
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11481
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11485 #ifdef __cplusplus
11486 extern "C"
11487 #endif
11488 char dlopen ();
11489 int
11490 main ()
11491 {
11492 return dlopen ();
11493 ;
11494 return 0;
11495 }
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 ac_cv_lib_svld_dlopen=yes
11499 else
11500 ac_cv_lib_svld_dlopen=no
11501 fi
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LIBS=$ac_check_lib_save_LIBS
11505 fi
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11507 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11508 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11509 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11510 else
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11512 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11513 if ${ac_cv_lib_dld_dld_link+:} false; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 ac_check_lib_save_LIBS=$LIBS
11517 LIBS="-ldld $LIBS"
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11520
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char dld_link ();
11528 int
11529 main ()
11530 {
11531 return dld_link ();
11532 ;
11533 return 0;
11534 }
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 ac_cv_lib_dld_dld_link=yes
11538 else
11539 ac_cv_lib_dld_dld_link=no
11540 fi
11541 rm -f core conftest.err conftest.$ac_objext \
11542 conftest$ac_exeext conftest.$ac_ext
11543 LIBS=$ac_check_lib_save_LIBS
11544 fi
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11546 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11547 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11548 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11549 fi
11550
11551
11552 fi
11553
11554
11555 fi
11556
11557
11558 fi
11559
11560
11561 fi
11562
11563
11564 fi
11565
11566 ;;
11567 esac
11568
11569 if test "x$lt_cv_dlopen" != xno; then
11570 enable_dlopen=yes
11571 else
11572 enable_dlopen=no
11573 fi
11574
11575 case $lt_cv_dlopen in
11576 dlopen)
11577 save_CPPFLAGS="$CPPFLAGS"
11578 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11579
11580 save_LDFLAGS="$LDFLAGS"
11581 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11582
11583 save_LIBS="$LIBS"
11584 LIBS="$lt_cv_dlopen_libs $LIBS"
11585
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11587 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11588 if ${lt_cv_dlopen_self+:} false; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line __oline__ "configure"
11598 #include "confdefs.h"
11599
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11603
11604 #include <stdio.h>
11605
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11615
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11637
11638 void fnord() { int i=42;}
11639 int main ()
11640 {
11641 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11642 int status = $lt_dlunknown;
11643
11644 if (self)
11645 {
11646 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11647 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11648 /* dlclose (self); */
11649 }
11650 else
11651 puts (dlerror ());
11652
11653 return status;
11654 }
11655 _LT_EOF
11656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11657 (eval $ac_link) 2>&5
11658 ac_status=$?
11659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11660 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11661 (./conftest; exit; ) >&5 2>/dev/null
11662 lt_status=$?
11663 case x$lt_status in
11664 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11665 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11666 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11667 esac
11668 else :
11669 # compilation failed
11670 lt_cv_dlopen_self=no
11671 fi
11672 fi
11673 rm -fr conftest*
11674
11675
11676 fi
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11678 $as_echo "$lt_cv_dlopen_self" >&6; }
11679
11680 if test "x$lt_cv_dlopen_self" = xyes; then
11681 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11683 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11684 if ${lt_cv_dlopen_self_static+:} false; then :
11685 $as_echo_n "(cached) " >&6
11686 else
11687 if test "$cross_compiling" = yes; then :
11688 lt_cv_dlopen_self_static=cross
11689 else
11690 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11691 lt_status=$lt_dlunknown
11692 cat > conftest.$ac_ext <<_LT_EOF
11693 #line __oline__ "configure"
11694 #include "confdefs.h"
11695
11696 #if HAVE_DLFCN_H
11697 #include <dlfcn.h>
11698 #endif
11699
11700 #include <stdio.h>
11701
11702 #ifdef RTLD_GLOBAL
11703 # define LT_DLGLOBAL RTLD_GLOBAL
11704 #else
11705 # ifdef DL_GLOBAL
11706 # define LT_DLGLOBAL DL_GLOBAL
11707 # else
11708 # define LT_DLGLOBAL 0
11709 # endif
11710 #endif
11711
11712 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11713 find out it does not work in some platform. */
11714 #ifndef LT_DLLAZY_OR_NOW
11715 # ifdef RTLD_LAZY
11716 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11717 # else
11718 # ifdef DL_LAZY
11719 # define LT_DLLAZY_OR_NOW DL_LAZY
11720 # else
11721 # ifdef RTLD_NOW
11722 # define LT_DLLAZY_OR_NOW RTLD_NOW
11723 # else
11724 # ifdef DL_NOW
11725 # define LT_DLLAZY_OR_NOW DL_NOW
11726 # else
11727 # define LT_DLLAZY_OR_NOW 0
11728 # endif
11729 # endif
11730 # endif
11731 # endif
11732 #endif
11733
11734 void fnord() { int i=42;}
11735 int main ()
11736 {
11737 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11738 int status = $lt_dlunknown;
11739
11740 if (self)
11741 {
11742 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11743 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11744 /* dlclose (self); */
11745 }
11746 else
11747 puts (dlerror ());
11748
11749 return status;
11750 }
11751 _LT_EOF
11752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11753 (eval $ac_link) 2>&5
11754 ac_status=$?
11755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11756 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11757 (./conftest; exit; ) >&5 2>/dev/null
11758 lt_status=$?
11759 case x$lt_status in
11760 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11761 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11762 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11763 esac
11764 else :
11765 # compilation failed
11766 lt_cv_dlopen_self_static=no
11767 fi
11768 fi
11769 rm -fr conftest*
11770
11771
11772 fi
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11774 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11775 fi
11776
11777 CPPFLAGS="$save_CPPFLAGS"
11778 LDFLAGS="$save_LDFLAGS"
11779 LIBS="$save_LIBS"
11780 ;;
11781 esac
11782
11783 case $lt_cv_dlopen_self in
11784 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11785 *) enable_dlopen_self=unknown ;;
11786 esac
11787
11788 case $lt_cv_dlopen_self_static in
11789 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11790 *) enable_dlopen_self_static=unknown ;;
11791 esac
11792 fi
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810 striplib=
11811 old_striplib=
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11813 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11814 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11815 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11816 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11818 $as_echo "yes" >&6; }
11819 else
11820 # FIXME - insert some real tests, host_os isn't really good enough
11821 case $host_os in
11822 darwin*)
11823 if test -n "$STRIP" ; then
11824 striplib="$STRIP -x"
11825 old_striplib="$STRIP -S"
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11827 $as_echo "yes" >&6; }
11828 else
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11830 $as_echo "no" >&6; }
11831 fi
11832 ;;
11833 *)
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11835 $as_echo "no" >&6; }
11836 ;;
11837 esac
11838 fi
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851 # Report which library types will actually be built
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11853 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11855 $as_echo "$can_build_shared" >&6; }
11856
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11858 $as_echo_n "checking whether to build shared libraries... " >&6; }
11859 test "$can_build_shared" = "no" && enable_shared=no
11860
11861 # On AIX, shared libraries and static libraries use the same namespace, and
11862 # are all built from PIC.
11863 case $host_os in
11864 aix3*)
11865 test "$enable_shared" = yes && enable_static=no
11866 if test -n "$RANLIB"; then
11867 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11868 postinstall_cmds='$RANLIB $lib'
11869 fi
11870 ;;
11871
11872 aix[4-9]*)
11873 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11874 test "$enable_shared" = yes && enable_static=no
11875 fi
11876 ;;
11877 esac
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11879 $as_echo "$enable_shared" >&6; }
11880
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11882 $as_echo_n "checking whether to build static libraries... " >&6; }
11883 # Make sure either enable_shared or enable_static is yes.
11884 test "$enable_shared" = yes || enable_static=yes
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11886 $as_echo "$enable_static" >&6; }
11887
11888
11889
11890
11891 fi
11892 ac_ext=cpp
11893 ac_cpp='$CXXCPP $CPPFLAGS'
11894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11897
11898 CC="$lt_save_CC"
11899
11900
11901 ac_ext=cpp
11902 ac_cpp='$CXXCPP $CPPFLAGS'
11903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11906
11907 archive_cmds_need_lc_CXX=no
11908 allow_undefined_flag_CXX=
11909 always_export_symbols_CXX=no
11910 archive_expsym_cmds_CXX=
11911 compiler_needs_object_CXX=no
11912 export_dynamic_flag_spec_CXX=
11913 hardcode_direct_CXX=no
11914 hardcode_direct_absolute_CXX=no
11915 hardcode_libdir_flag_spec_CXX=
11916 hardcode_libdir_flag_spec_ld_CXX=
11917 hardcode_libdir_separator_CXX=
11918 hardcode_minus_L_CXX=no
11919 hardcode_shlibpath_var_CXX=unsupported
11920 hardcode_automatic_CXX=no
11921 inherit_rpath_CXX=no
11922 module_cmds_CXX=
11923 module_expsym_cmds_CXX=
11924 link_all_deplibs_CXX=unknown
11925 old_archive_cmds_CXX=$old_archive_cmds
11926 no_undefined_flag_CXX=
11927 whole_archive_flag_spec_CXX=
11928 enable_shared_with_static_runtimes_CXX=no
11929
11930 # Source file extension for C++ test sources.
11931 ac_ext=cpp
11932
11933 # Object file extension for compiled C++ test sources.
11934 objext=o
11935 objext_CXX=$objext
11936
11937 # No sense in running all these tests if we already determined that
11938 # the CXX compiler isn't working. Some variables (like enable_shared)
11939 # are currently assumed to apply to all compilers on this platform,
11940 # and will be corrupted by setting them based on a non-working compiler.
11941 if test "$_lt_caught_CXX_error" != yes; then
11942 # Code to be used in simple compile tests
11943 lt_simple_compile_test_code="int some_variable = 0;"
11944
11945 # Code to be used in simple link tests
11946 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11947
11948 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11949
11950
11951
11952
11953
11954
11955 # If no C compiler was specified, use CC.
11956 LTCC=${LTCC-"$CC"}
11957
11958 # If no C compiler flags were specified, use CFLAGS.
11959 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11960
11961 # Allow CC to be a program name with arguments.
11962 compiler=$CC
11963
11964
11965 # save warnings/boilerplate of simple test code
11966 ac_outfile=conftest.$ac_objext
11967 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11968 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11969 _lt_compiler_boilerplate=`cat conftest.err`
11970 $RM conftest*
11971
11972 ac_outfile=conftest.$ac_objext
11973 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11974 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11975 _lt_linker_boilerplate=`cat conftest.err`
11976 $RM -r conftest*
11977
11978
11979 # Allow CC to be a program name with arguments.
11980 lt_save_CC=$CC
11981 lt_save_LD=$LD
11982 lt_save_GCC=$GCC
11983 GCC=$GXX
11984 lt_save_with_gnu_ld=$with_gnu_ld
11985 lt_save_path_LD=$lt_cv_path_LD
11986 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11987 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11988 else
11989 $as_unset lt_cv_prog_gnu_ld
11990 fi
11991 if test -n "${lt_cv_path_LDCXX+set}"; then
11992 lt_cv_path_LD=$lt_cv_path_LDCXX
11993 else
11994 $as_unset lt_cv_path_LD
11995 fi
11996 test -z "${LDCXX+set}" || LD=$LDCXX
11997 CC=${CXX-"c++"}
11998 compiler=$CC
11999 compiler_CXX=$CC
12000 for cc_temp in $compiler""; do
12001 case $cc_temp in
12002 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12003 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12004 \-*) ;;
12005 *) break;;
12006 esac
12007 done
12008 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12009
12010
12011 if test -n "$compiler"; then
12012 # We don't want -fno-exception when compiling C++ code, so set the
12013 # no_builtin_flag separately
12014 if test "$GXX" = yes; then
12015 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12016 else
12017 lt_prog_compiler_no_builtin_flag_CXX=
12018 fi
12019
12020 if test "$GXX" = yes; then
12021 # Set up default GNU C++ configuration
12022
12023
12024
12025 @%:@ Check whether --with-gnu-ld was given.
12026 if test "${with_gnu_ld+set}" = set; then :
12027 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12028 else
12029 with_gnu_ld=no
12030 fi
12031
12032 ac_prog=ld
12033 if test "$GCC" = yes; then
12034 # Check if gcc -print-prog-name=ld gives a path.
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12036 $as_echo_n "checking for ld used by $CC... " >&6; }
12037 case $host in
12038 *-*-mingw*)
12039 # gcc leaves a trailing carriage return which upsets mingw
12040 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12041 *)
12042 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12043 esac
12044 case $ac_prog in
12045 # Accept absolute paths.
12046 [\\/]* | ?:[\\/]*)
12047 re_direlt='/[^/][^/]*/\.\./'
12048 # Canonicalize the pathname of ld
12049 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12050 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12051 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12052 done
12053 test -z "$LD" && LD="$ac_prog"
12054 ;;
12055 "")
12056 # If it fails, then pretend we aren't using GCC.
12057 ac_prog=ld
12058 ;;
12059 *)
12060 # If it is relative, then search for the first ld in PATH.
12061 with_gnu_ld=unknown
12062 ;;
12063 esac
12064 elif test "$with_gnu_ld" = yes; then
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12066 $as_echo_n "checking for GNU ld... " >&6; }
12067 else
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12069 $as_echo_n "checking for non-GNU ld... " >&6; }
12070 fi
12071 if ${lt_cv_path_LD+:} false; then :
12072 $as_echo_n "(cached) " >&6
12073 else
12074 if test -z "$LD"; then
12075 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12076 for ac_dir in $PATH; do
12077 IFS="$lt_save_ifs"
12078 test -z "$ac_dir" && ac_dir=.
12079 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12080 lt_cv_path_LD="$ac_dir/$ac_prog"
12081 # Check to see if the program is GNU ld. I'd rather use --version,
12082 # but apparently some variants of GNU ld only accept -v.
12083 # Break only if it was the GNU/non-GNU ld that we prefer.
12084 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12085 *GNU* | *'with BFD'*)
12086 test "$with_gnu_ld" != no && break
12087 ;;
12088 *)
12089 test "$with_gnu_ld" != yes && break
12090 ;;
12091 esac
12092 fi
12093 done
12094 IFS="$lt_save_ifs"
12095 else
12096 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12097 fi
12098 fi
12099
12100 LD="$lt_cv_path_LD"
12101 if test -n "$LD"; then
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12103 $as_echo "$LD" >&6; }
12104 else
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12106 $as_echo "no" >&6; }
12107 fi
12108 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12110 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12111 if ${lt_cv_prog_gnu_ld+:} false; then :
12112 $as_echo_n "(cached) " >&6
12113 else
12114 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12115 case `$LD -v 2>&1 </dev/null` in
12116 *GNU* | *'with BFD'*)
12117 lt_cv_prog_gnu_ld=yes
12118 ;;
12119 *)
12120 lt_cv_prog_gnu_ld=no
12121 ;;
12122 esac
12123 fi
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12125 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12126 with_gnu_ld=$lt_cv_prog_gnu_ld
12127
12128
12129
12130
12131
12132
12133
12134 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12135 # archiving commands below assume that GNU ld is being used.
12136 if test "$with_gnu_ld" = yes; then
12137 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12138 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12139
12140 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12141 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12142
12143 # If archive_cmds runs LD, not CC, wlarc should be empty
12144 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12145 # investigate it a little bit more. (MM)
12146 wlarc='${wl}'
12147
12148 # ancient GNU ld didn't support --whole-archive et. al.
12149 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12150 $GREP 'no-whole-archive' > /dev/null; then
12151 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12152 else
12153 whole_archive_flag_spec_CXX=
12154 fi
12155 else
12156 with_gnu_ld=no
12157 wlarc=
12158
12159 # A generic and very simple default shared library creation
12160 # command for GNU C++ for the case where it uses the native
12161 # linker, instead of GNU ld. If possible, this setting should
12162 # overridden to take advantage of the native linker features on
12163 # the platform it is being used on.
12164 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12165 fi
12166
12167 # Commands to make compiler produce verbose output that lists
12168 # what "hidden" libraries, object files and flags are used when
12169 # linking a shared library.
12170 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12171
12172 else
12173 GXX=no
12174 with_gnu_ld=no
12175 wlarc=
12176 fi
12177
12178 # PORTME: fill in a description of your system's C++ link characteristics
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12180 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12181 ld_shlibs_CXX=yes
12182 case $host_os in
12183 aix3*)
12184 # FIXME: insert proper C++ library support
12185 ld_shlibs_CXX=no
12186 ;;
12187 aix[4-9]*)
12188 if test "$host_cpu" = ia64; then
12189 # On IA64, the linker does run time linking by default, so we don't
12190 # have to do anything special.
12191 aix_use_runtimelinking=no
12192 exp_sym_flag='-Bexport'
12193 no_entry_flag=""
12194 else
12195 aix_use_runtimelinking=no
12196
12197 # Test if we are trying to use run time linking or normal
12198 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12199 # need to do runtime linking.
12200 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12201 for ld_flag in $LDFLAGS; do
12202 case $ld_flag in
12203 *-brtl*)
12204 aix_use_runtimelinking=yes
12205 break
12206 ;;
12207 esac
12208 done
12209 ;;
12210 esac
12211
12212 exp_sym_flag='-bexport'
12213 no_entry_flag='-bnoentry'
12214 fi
12215
12216 # When large executables or shared objects are built, AIX ld can
12217 # have problems creating the table of contents. If linking a library
12218 # or program results in "error TOC overflow" add -mminimal-toc to
12219 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12220 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12221
12222 archive_cmds_CXX=''
12223 hardcode_direct_CXX=yes
12224 hardcode_direct_absolute_CXX=yes
12225 hardcode_libdir_separator_CXX=':'
12226 link_all_deplibs_CXX=yes
12227 file_list_spec_CXX='${wl}-f,'
12228
12229 if test "$GXX" = yes; then
12230 case $host_os in aix4.[012]|aix4.[012].*)
12231 # We only want to do this on AIX 4.2 and lower, the check
12232 # below for broken collect2 doesn't work under 4.3+
12233 collect2name=`${CC} -print-prog-name=collect2`
12234 if test -f "$collect2name" &&
12235 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12236 then
12237 # We have reworked collect2
12238 :
12239 else
12240 # We have old collect2
12241 hardcode_direct_CXX=unsupported
12242 # It fails to find uninstalled libraries when the uninstalled
12243 # path is not listed in the libpath. Setting hardcode_minus_L
12244 # to unsupported forces relinking
12245 hardcode_minus_L_CXX=yes
12246 hardcode_libdir_flag_spec_CXX='-L$libdir'
12247 hardcode_libdir_separator_CXX=
12248 fi
12249 esac
12250 shared_flag='-shared'
12251 if test "$aix_use_runtimelinking" = yes; then
12252 shared_flag="$shared_flag "'${wl}-G'
12253 fi
12254 else
12255 # not using gcc
12256 if test "$host_cpu" = ia64; then
12257 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12258 # chokes on -Wl,-G. The following line is correct:
12259 shared_flag='-G'
12260 else
12261 if test "$aix_use_runtimelinking" = yes; then
12262 shared_flag='${wl}-G'
12263 else
12264 shared_flag='${wl}-bM:SRE'
12265 fi
12266 fi
12267 fi
12268
12269 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12270 # It seems that -bexpall does not export symbols beginning with
12271 # underscore (_), so it is better to generate a list of symbols to
12272 # export.
12273 always_export_symbols_CXX=yes
12274 if test "$aix_use_runtimelinking" = yes; then
12275 # Warning - without using the other runtime loading flags (-brtl),
12276 # -berok will link without error, but may produce a broken library.
12277 allow_undefined_flag_CXX='-berok'
12278 # Determine the default libpath from the value encoded in an empty
12279 # executable.
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12282
12283 int
12284 main ()
12285 {
12286
12287 ;
12288 return 0;
12289 }
12290 _ACEOF
12291 if ac_fn_cxx_try_link "$LINENO"; then :
12292
12293 lt_aix_libpath_sed='
12294 /Import File Strings/,/^$/ {
12295 /^0/ {
12296 s/^0 *\(.*\)$/\1/
12297 p
12298 }
12299 }'
12300 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12301 # Check for a 64-bit object if we didn't find anything.
12302 if test -z "$aix_libpath"; then
12303 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12304 fi
12305 fi
12306 rm -f core conftest.err conftest.$ac_objext \
12307 conftest$ac_exeext conftest.$ac_ext
12308 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12309
12310 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12311
12312 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12313 else
12314 if test "$host_cpu" = ia64; then
12315 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12316 allow_undefined_flag_CXX="-z nodefs"
12317 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12318 else
12319 # Determine the default libpath from the value encoded in an
12320 # empty executable.
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12323
12324 int
12325 main ()
12326 {
12327
12328 ;
12329 return 0;
12330 }
12331 _ACEOF
12332 if ac_fn_cxx_try_link "$LINENO"; then :
12333
12334 lt_aix_libpath_sed='
12335 /Import File Strings/,/^$/ {
12336 /^0/ {
12337 s/^0 *\(.*\)$/\1/
12338 p
12339 }
12340 }'
12341 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12342 # Check for a 64-bit object if we didn't find anything.
12343 if test -z "$aix_libpath"; then
12344 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12345 fi
12346 fi
12347 rm -f core conftest.err conftest.$ac_objext \
12348 conftest$ac_exeext conftest.$ac_ext
12349 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12350
12351 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12352 # Warning - without using the other run time loading flags,
12353 # -berok will link without error, but may produce a broken library.
12354 no_undefined_flag_CXX=' ${wl}-bernotok'
12355 allow_undefined_flag_CXX=' ${wl}-berok'
12356 # Exported symbols can be pulled into shared objects from archives
12357 whole_archive_flag_spec_CXX='$convenience'
12358 archive_cmds_need_lc_CXX=yes
12359 # This is similar to how AIX traditionally builds its shared
12360 # libraries.
12361 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12362 fi
12363 fi
12364 ;;
12365
12366 beos*)
12367 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12368 allow_undefined_flag_CXX=unsupported
12369 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12370 # support --undefined. This deserves some investigation. FIXME
12371 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12372 else
12373 ld_shlibs_CXX=no
12374 fi
12375 ;;
12376
12377 chorus*)
12378 case $cc_basename in
12379 *)
12380 # FIXME: insert proper C++ library support
12381 ld_shlibs_CXX=no
12382 ;;
12383 esac
12384 ;;
12385
12386 cygwin* | mingw* | pw32* | cegcc*)
12387 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12388 # as there is no search path for DLLs.
12389 hardcode_libdir_flag_spec_CXX='-L$libdir'
12390 allow_undefined_flag_CXX=unsupported
12391 always_export_symbols_CXX=no
12392 enable_shared_with_static_runtimes_CXX=yes
12393
12394 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12395 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12396 # If the export-symbols file already is a .def file (1st line
12397 # is EXPORTS), use it as is; otherwise, prepend...
12398 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12399 cp $export_symbols $output_objdir/$soname.def;
12400 else
12401 echo EXPORTS > $output_objdir/$soname.def;
12402 cat $export_symbols >> $output_objdir/$soname.def;
12403 fi~
12404 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12405 else
12406 ld_shlibs_CXX=no
12407 fi
12408 ;;
12409 darwin* | rhapsody*)
12410
12411
12412 archive_cmds_need_lc_CXX=no
12413 hardcode_direct_CXX=no
12414 hardcode_automatic_CXX=yes
12415 hardcode_shlibpath_var_CXX=unsupported
12416 whole_archive_flag_spec_CXX=''
12417 link_all_deplibs_CXX=yes
12418 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12419 case $cc_basename in
12420 ifort*) _lt_dar_can_shared=yes ;;
12421 *) _lt_dar_can_shared=$GCC ;;
12422 esac
12423 if test "$_lt_dar_can_shared" = "yes"; then
12424 output_verbose_link_cmd=echo
12425 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12426 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12427 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12428 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12429 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12430 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12431 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12432 fi
12433
12434 else
12435 ld_shlibs_CXX=no
12436 fi
12437
12438 ;;
12439
12440 dgux*)
12441 case $cc_basename in
12442 ec++*)
12443 # FIXME: insert proper C++ library support
12444 ld_shlibs_CXX=no
12445 ;;
12446 ghcx*)
12447 # Green Hills C++ Compiler
12448 # FIXME: insert proper C++ library support
12449 ld_shlibs_CXX=no
12450 ;;
12451 *)
12452 # FIXME: insert proper C++ library support
12453 ld_shlibs_CXX=no
12454 ;;
12455 esac
12456 ;;
12457
12458 freebsd[12]*)
12459 # C++ shared libraries reported to be fairly broken before
12460 # switch to ELF
12461 ld_shlibs_CXX=no
12462 ;;
12463
12464 freebsd-elf*)
12465 archive_cmds_need_lc_CXX=no
12466 ;;
12467
12468 freebsd* | dragonfly*)
12469 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12470 # conventions
12471 ld_shlibs_CXX=yes
12472 ;;
12473
12474 gnu*)
12475 ;;
12476
12477 hpux9*)
12478 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12479 hardcode_libdir_separator_CXX=:
12480 export_dynamic_flag_spec_CXX='${wl}-E'
12481 hardcode_direct_CXX=yes
12482 hardcode_minus_L_CXX=yes # Not in the search PATH,
12483 # but as the default
12484 # location of the library.
12485
12486 case $cc_basename in
12487 CC*)
12488 # FIXME: insert proper C++ library support
12489 ld_shlibs_CXX=no
12490 ;;
12491 aCC*)
12492 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12493 # Commands to make compiler produce verbose output that lists
12494 # what "hidden" libraries, object files and flags are used when
12495 # linking a shared library.
12496 #
12497 # There doesn't appear to be a way to prevent this compiler from
12498 # explicitly linking system object files so we need to strip them
12499 # from the output so that they don't get included in the library
12500 # dependencies.
12501 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12502 ;;
12503 *)
12504 if test "$GXX" = yes; then
12505 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12506 else
12507 # FIXME: insert proper C++ library support
12508 ld_shlibs_CXX=no
12509 fi
12510 ;;
12511 esac
12512 ;;
12513
12514 hpux10*|hpux11*)
12515 if test $with_gnu_ld = no; then
12516 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12517 hardcode_libdir_separator_CXX=:
12518
12519 case $host_cpu in
12520 hppa*64*|ia64*)
12521 ;;
12522 *)
12523 export_dynamic_flag_spec_CXX='${wl}-E'
12524 ;;
12525 esac
12526 fi
12527 case $host_cpu in
12528 hppa*64*|ia64*)
12529 hardcode_direct_CXX=no
12530 hardcode_shlibpath_var_CXX=no
12531 ;;
12532 *)
12533 hardcode_direct_CXX=yes
12534 hardcode_direct_absolute_CXX=yes
12535 hardcode_minus_L_CXX=yes # Not in the search PATH,
12536 # but as the default
12537 # location of the library.
12538 ;;
12539 esac
12540
12541 case $cc_basename in
12542 CC*)
12543 # FIXME: insert proper C++ library support
12544 ld_shlibs_CXX=no
12545 ;;
12546 aCC*)
12547 case $host_cpu in
12548 hppa*64*)
12549 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12550 ;;
12551 ia64*)
12552 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12553 ;;
12554 *)
12555 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12556 ;;
12557 esac
12558 # Commands to make compiler produce verbose output that lists
12559 # what "hidden" libraries, object files and flags are used when
12560 # linking a shared library.
12561 #
12562 # There doesn't appear to be a way to prevent this compiler from
12563 # explicitly linking system object files so we need to strip them
12564 # from the output so that they don't get included in the library
12565 # dependencies.
12566 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12567 ;;
12568 *)
12569 if test "$GXX" = yes; then
12570 if test $with_gnu_ld = no; then
12571 case $host_cpu in
12572 hppa*64*)
12573 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12574 ;;
12575 ia64*)
12576 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12577 ;;
12578 *)
12579 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12580 ;;
12581 esac
12582 fi
12583 else
12584 # FIXME: insert proper C++ library support
12585 ld_shlibs_CXX=no
12586 fi
12587 ;;
12588 esac
12589 ;;
12590
12591 interix[3-9]*)
12592 hardcode_direct_CXX=no
12593 hardcode_shlibpath_var_CXX=no
12594 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12595 export_dynamic_flag_spec_CXX='${wl}-E'
12596 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12597 # Instead, shared libraries are loaded at an image base (0x10000000 by
12598 # default) and relocated if they conflict, which is a slow very memory
12599 # consuming and fragmenting process. To avoid this, we pick a random,
12600 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12601 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12602 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12603 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12604 ;;
12605 irix5* | irix6*)
12606 case $cc_basename in
12607 CC*)
12608 # SGI C++
12609 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12610
12611 # Archives containing C++ object files must be created using
12612 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12613 # necessary to make sure instantiated templates are included
12614 # in the archive.
12615 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12616 ;;
12617 *)
12618 if test "$GXX" = yes; then
12619 if test "$with_gnu_ld" = no; then
12620 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12621 else
12622 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12623 fi
12624 fi
12625 link_all_deplibs_CXX=yes
12626 ;;
12627 esac
12628 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12629 hardcode_libdir_separator_CXX=:
12630 inherit_rpath_CXX=yes
12631 ;;
12632
12633 linux* | k*bsd*-gnu)
12634 case $cc_basename in
12635 KCC*)
12636 # Kuck and Associates, Inc. (KAI) C++ Compiler
12637
12638 # KCC will only create a shared library if the output file
12639 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12640 # to its proper name (with version) after linking.
12641 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12642 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12643 # Commands to make compiler produce verbose output that lists
12644 # what "hidden" libraries, object files and flags are used when
12645 # linking a shared library.
12646 #
12647 # There doesn't appear to be a way to prevent this compiler from
12648 # explicitly linking system object files so we need to strip them
12649 # from the output so that they don't get included in the library
12650 # dependencies.
12651 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12652
12653 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12654 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12655
12656 # Archives containing C++ object files must be created using
12657 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12658 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12659 ;;
12660 icpc* | ecpc* )
12661 # Intel C++
12662 with_gnu_ld=yes
12663 # version 8.0 and above of icpc choke on multiply defined symbols
12664 # if we add $predep_objects and $postdep_objects, however 7.1 and
12665 # earlier do not add the objects themselves.
12666 case `$CC -V 2>&1` in
12667 *"Version 7."*)
12668 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12669 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12670 ;;
12671 *) # Version 8.0 or newer
12672 tmp_idyn=
12673 case $host_cpu in
12674 ia64*) tmp_idyn=' -i_dynamic';;
12675 esac
12676 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12677 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12678 ;;
12679 esac
12680 archive_cmds_need_lc_CXX=no
12681 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12682 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12683 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12684 ;;
12685 pgCC* | pgcpp*)
12686 # Portland Group C++ compiler
12687 case `$CC -V` in
12688 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12689 prelink_cmds_CXX='tpldir=Template.dir~
12690 rm -rf $tpldir~
12691 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12692 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12693 old_archive_cmds_CXX='tpldir=Template.dir~
12694 rm -rf $tpldir~
12695 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12696 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12697 $RANLIB $oldlib'
12698 archive_cmds_CXX='tpldir=Template.dir~
12699 rm -rf $tpldir~
12700 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12701 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12702 archive_expsym_cmds_CXX='tpldir=Template.dir~
12703 rm -rf $tpldir~
12704 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12705 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12706 ;;
12707 *) # Version 6 will use weak symbols
12708 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12709 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12710 ;;
12711 esac
12712
12713 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12714 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12715 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12716 ;;
12717 cxx*)
12718 # Compaq C++
12719 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12720 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12721
12722 runpath_var=LD_RUN_PATH
12723 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12724 hardcode_libdir_separator_CXX=:
12725
12726 # Commands to make compiler produce verbose output that lists
12727 # what "hidden" libraries, object files and flags are used when
12728 # linking a shared library.
12729 #
12730 # There doesn't appear to be a way to prevent this compiler from
12731 # explicitly linking system object files so we need to strip them
12732 # from the output so that they don't get included in the library
12733 # dependencies.
12734 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12735 ;;
12736 xl*)
12737 # IBM XL 8.0 on PPC, with GNU ld
12738 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12739 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12740 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12741 if test "x$supports_anon_versioning" = xyes; then
12742 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12743 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12744 echo "local: *; };" >> $output_objdir/$libname.ver~
12745 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12746 fi
12747 ;;
12748 *)
12749 case `$CC -V 2>&1 | sed 5q` in
12750 *Sun\ C*)
12751 # Sun C++ 5.9
12752 no_undefined_flag_CXX=' -zdefs'
12753 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12754 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12755 hardcode_libdir_flag_spec_CXX='-R$libdir'
12756 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12757 compiler_needs_object_CXX=yes
12758
12759 # Not sure whether something based on
12760 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12761 # would be better.
12762 output_verbose_link_cmd='echo'
12763
12764 # Archives containing C++ object files must be created using
12765 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12766 # necessary to make sure instantiated templates are included
12767 # in the archive.
12768 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12769 ;;
12770 esac
12771 ;;
12772 esac
12773 ;;
12774
12775 lynxos*)
12776 # FIXME: insert proper C++ library support
12777 ld_shlibs_CXX=no
12778 ;;
12779
12780 m88k*)
12781 # FIXME: insert proper C++ library support
12782 ld_shlibs_CXX=no
12783 ;;
12784
12785 mvs*)
12786 case $cc_basename in
12787 cxx*)
12788 # FIXME: insert proper C++ library support
12789 ld_shlibs_CXX=no
12790 ;;
12791 *)
12792 # FIXME: insert proper C++ library support
12793 ld_shlibs_CXX=no
12794 ;;
12795 esac
12796 ;;
12797
12798 netbsd*)
12799 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12800 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12801 wlarc=
12802 hardcode_libdir_flag_spec_CXX='-R$libdir'
12803 hardcode_direct_CXX=yes
12804 hardcode_shlibpath_var_CXX=no
12805 fi
12806 # Workaround some broken pre-1.5 toolchains
12807 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12808 ;;
12809
12810 *nto* | *qnx*)
12811 ld_shlibs_CXX=yes
12812 ;;
12813
12814 openbsd2*)
12815 # C++ shared libraries are fairly broken
12816 ld_shlibs_CXX=no
12817 ;;
12818
12819 openbsd*)
12820 if test -f /usr/libexec/ld.so; then
12821 hardcode_direct_CXX=yes
12822 hardcode_shlibpath_var_CXX=no
12823 hardcode_direct_absolute_CXX=yes
12824 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12825 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12826 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12827 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12828 export_dynamic_flag_spec_CXX='${wl}-E'
12829 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12830 fi
12831 output_verbose_link_cmd=echo
12832 else
12833 ld_shlibs_CXX=no
12834 fi
12835 ;;
12836
12837 osf3* | osf4* | osf5*)
12838 case $cc_basename in
12839 KCC*)
12840 # Kuck and Associates, Inc. (KAI) C++ Compiler
12841
12842 # KCC will only create a shared library if the output file
12843 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12844 # to its proper name (with version) after linking.
12845 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12846
12847 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12848 hardcode_libdir_separator_CXX=:
12849
12850 # Archives containing C++ object files must be created using
12851 # the KAI C++ compiler.
12852 case $host in
12853 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12854 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12855 esac
12856 ;;
12857 RCC*)
12858 # Rational C++ 2.4.1
12859 # FIXME: insert proper C++ library support
12860 ld_shlibs_CXX=no
12861 ;;
12862 cxx*)
12863 case $host in
12864 osf3*)
12865 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12866 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12867 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12868 ;;
12869 *)
12870 allow_undefined_flag_CXX=' -expect_unresolved \*'
12871 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12872 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12873 echo "-hidden">> $lib.exp~
12874 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
12875 $RM $lib.exp'
12876 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12877 ;;
12878 esac
12879
12880 hardcode_libdir_separator_CXX=:
12881
12882 # Commands to make compiler produce verbose output that lists
12883 # what "hidden" libraries, object files and flags are used when
12884 # linking a shared library.
12885 #
12886 # There doesn't appear to be a way to prevent this compiler from
12887 # explicitly linking system object files so we need to strip them
12888 # from the output so that they don't get included in the library
12889 # dependencies.
12890 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12891 ;;
12892 *)
12893 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12894 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12895 case $host in
12896 osf3*)
12897 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12898 ;;
12899 *)
12900 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12901 ;;
12902 esac
12903
12904 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12905 hardcode_libdir_separator_CXX=:
12906
12907 # Commands to make compiler produce verbose output that lists
12908 # what "hidden" libraries, object files and flags are used when
12909 # linking a shared library.
12910 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12911
12912 else
12913 # FIXME: insert proper C++ library support
12914 ld_shlibs_CXX=no
12915 fi
12916 ;;
12917 esac
12918 ;;
12919
12920 psos*)
12921 # FIXME: insert proper C++ library support
12922 ld_shlibs_CXX=no
12923 ;;
12924
12925 sunos4*)
12926 case $cc_basename in
12927 CC*)
12928 # Sun C++ 4.x
12929 # FIXME: insert proper C++ library support
12930 ld_shlibs_CXX=no
12931 ;;
12932 lcc*)
12933 # Lucid
12934 # FIXME: insert proper C++ library support
12935 ld_shlibs_CXX=no
12936 ;;
12937 *)
12938 # FIXME: insert proper C++ library support
12939 ld_shlibs_CXX=no
12940 ;;
12941 esac
12942 ;;
12943
12944 solaris*)
12945 case $cc_basename in
12946 CC*)
12947 # Sun C++ 4.2, 5.x and Centerline C++
12948 archive_cmds_need_lc_CXX=yes
12949 no_undefined_flag_CXX=' -zdefs'
12950 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12951 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12952 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12953
12954 hardcode_libdir_flag_spec_CXX='-R$libdir'
12955 hardcode_shlibpath_var_CXX=no
12956 case $host_os in
12957 solaris2.[0-5] | solaris2.[0-5].*) ;;
12958 *)
12959 # The compiler driver will combine and reorder linker options,
12960 # but understands `-z linker_flag'.
12961 # Supported since Solaris 2.6 (maybe 2.5.1?)
12962 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12963 ;;
12964 esac
12965 link_all_deplibs_CXX=yes
12966
12967 output_verbose_link_cmd='echo'
12968
12969 # Archives containing C++ object files must be created using
12970 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12971 # necessary to make sure instantiated templates are included
12972 # in the archive.
12973 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12974 ;;
12975 gcx*)
12976 # Green Hills C++ Compiler
12977 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12978
12979 # The C++ compiler must be used to create the archive.
12980 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12981 ;;
12982 *)
12983 # GNU C++ compiler with Solaris linker
12984 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12985 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12986 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12987 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12988 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12989 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12990
12991 # Commands to make compiler produce verbose output that lists
12992 # what "hidden" libraries, object files and flags are used when
12993 # linking a shared library.
12994 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12995 else
12996 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12997 # platform.
12998 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12999 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13000 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13001
13002 # Commands to make compiler produce verbose output that lists
13003 # what "hidden" libraries, object files and flags are used when
13004 # linking a shared library.
13005 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13006 fi
13007
13008 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13009 case $host_os in
13010 solaris2.[0-5] | solaris2.[0-5].*) ;;
13011 *)
13012 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13013 ;;
13014 esac
13015 fi
13016 ;;
13017 esac
13018 ;;
13019
13020 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13021 no_undefined_flag_CXX='${wl}-z,text'
13022 archive_cmds_need_lc_CXX=no
13023 hardcode_shlibpath_var_CXX=no
13024 runpath_var='LD_RUN_PATH'
13025
13026 case $cc_basename in
13027 CC*)
13028 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13029 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13030 ;;
13031 *)
13032 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13033 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13034 ;;
13035 esac
13036 ;;
13037
13038 sysv5* | sco3.2v5* | sco5v6*)
13039 # Note: We can NOT use -z defs as we might desire, because we do not
13040 # link with -lc, and that would cause any symbols used from libc to
13041 # always be unresolved, which means just about no library would
13042 # ever link correctly. If we're not using GNU ld we use -z text
13043 # though, which does catch some bad symbols but isn't as heavy-handed
13044 # as -z defs.
13045 no_undefined_flag_CXX='${wl}-z,text'
13046 allow_undefined_flag_CXX='${wl}-z,nodefs'
13047 archive_cmds_need_lc_CXX=no
13048 hardcode_shlibpath_var_CXX=no
13049 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13050 hardcode_libdir_separator_CXX=':'
13051 link_all_deplibs_CXX=yes
13052 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13053 runpath_var='LD_RUN_PATH'
13054
13055 case $cc_basename in
13056 CC*)
13057 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13058 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13059 ;;
13060 *)
13061 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13062 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13063 ;;
13064 esac
13065 ;;
13066
13067 tandem*)
13068 case $cc_basename in
13069 NCC*)
13070 # NonStop-UX NCC 3.20
13071 # FIXME: insert proper C++ library support
13072 ld_shlibs_CXX=no
13073 ;;
13074 *)
13075 # FIXME: insert proper C++ library support
13076 ld_shlibs_CXX=no
13077 ;;
13078 esac
13079 ;;
13080
13081 vxworks*)
13082 # FIXME: insert proper C++ library support
13083 ld_shlibs_CXX=no
13084 ;;
13085
13086 *)
13087 # FIXME: insert proper C++ library support
13088 ld_shlibs_CXX=no
13089 ;;
13090 esac
13091
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13093 $as_echo "$ld_shlibs_CXX" >&6; }
13094 test "$ld_shlibs_CXX" = no && can_build_shared=no
13095
13096 GCC_CXX="$GXX"
13097 LD_CXX="$LD"
13098
13099 ## CAVEAT EMPTOR:
13100 ## There is no encapsulation within the following macros, do not change
13101 ## the running order or otherwise move them around unless you know exactly
13102 ## what you are doing...
13103 # Dependencies to place before and after the object being linked:
13104 predep_objects_CXX=
13105 postdep_objects_CXX=
13106 predeps_CXX=
13107 postdeps_CXX=
13108 compiler_lib_search_path_CXX=
13109
13110 cat > conftest.$ac_ext <<_LT_EOF
13111 class Foo
13112 {
13113 public:
13114 Foo (void) { a = 0; }
13115 private:
13116 int a;
13117 };
13118 _LT_EOF
13119
13120 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13121 (eval $ac_compile) 2>&5
13122 ac_status=$?
13123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13124 test $ac_status = 0; }; then
13125 # Parse the compiler output and extract the necessary
13126 # objects, libraries and library flags.
13127
13128 # Sentinel used to keep track of whether or not we are before
13129 # the conftest object file.
13130 pre_test_object_deps_done=no
13131
13132 for p in `eval "$output_verbose_link_cmd"`; do
13133 case $p in
13134
13135 -L* | -R* | -l*)
13136 # Some compilers place space between "-{L,R}" and the path.
13137 # Remove the space.
13138 if test $p = "-L" ||
13139 test $p = "-R"; then
13140 prev=$p
13141 continue
13142 else
13143 prev=
13144 fi
13145
13146 if test "$pre_test_object_deps_done" = no; then
13147 case $p in
13148 -L* | -R*)
13149 # Internal compiler library paths should come after those
13150 # provided the user. The postdeps already come after the
13151 # user supplied libs so there is no need to process them.
13152 if test -z "$compiler_lib_search_path_CXX"; then
13153 compiler_lib_search_path_CXX="${prev}${p}"
13154 else
13155 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13156 fi
13157 ;;
13158 # The "-l" case would never come before the object being
13159 # linked, so don't bother handling this case.
13160 esac
13161 else
13162 if test -z "$postdeps_CXX"; then
13163 postdeps_CXX="${prev}${p}"
13164 else
13165 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13166 fi
13167 fi
13168 ;;
13169
13170 *.$objext)
13171 # This assumes that the test object file only shows up
13172 # once in the compiler output.
13173 if test "$p" = "conftest.$objext"; then
13174 pre_test_object_deps_done=yes
13175 continue
13176 fi
13177
13178 if test "$pre_test_object_deps_done" = no; then
13179 if test -z "$predep_objects_CXX"; then
13180 predep_objects_CXX="$p"
13181 else
13182 predep_objects_CXX="$predep_objects_CXX $p"
13183 fi
13184 else
13185 if test -z "$postdep_objects_CXX"; then
13186 postdep_objects_CXX="$p"
13187 else
13188 postdep_objects_CXX="$postdep_objects_CXX $p"
13189 fi
13190 fi
13191 ;;
13192
13193 *) ;; # Ignore the rest.
13194
13195 esac
13196 done
13197
13198 # Clean up.
13199 rm -f a.out a.exe
13200 else
13201 echo "libtool.m4: error: problem compiling CXX test program"
13202 fi
13203
13204 $RM -f confest.$objext
13205
13206 # PORTME: override above test on systems where it is broken
13207 case $host_os in
13208 interix[3-9]*)
13209 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13210 # hack all around it, let's just trust "g++" to DTRT.
13211 predep_objects_CXX=
13212 postdep_objects_CXX=
13213 postdeps_CXX=
13214 ;;
13215
13216 linux*)
13217 case `$CC -V 2>&1 | sed 5q` in
13218 *Sun\ C*)
13219 # Sun C++ 5.9
13220
13221 # The more standards-conforming stlport4 library is
13222 # incompatible with the Cstd library. Avoid specifying
13223 # it if it's in CXXFLAGS. Ignore libCrun as
13224 # -library=stlport4 depends on it.
13225 case " $CXX $CXXFLAGS " in
13226 *" -library=stlport4 "*)
13227 solaris_use_stlport4=yes
13228 ;;
13229 esac
13230
13231 if test "$solaris_use_stlport4" != yes; then
13232 postdeps_CXX='-library=Cstd -library=Crun'
13233 fi
13234 ;;
13235 esac
13236 ;;
13237
13238 solaris*)
13239 case $cc_basename in
13240 CC*)
13241 # The more standards-conforming stlport4 library is
13242 # incompatible with the Cstd library. Avoid specifying
13243 # it if it's in CXXFLAGS. Ignore libCrun as
13244 # -library=stlport4 depends on it.
13245 case " $CXX $CXXFLAGS " in
13246 *" -library=stlport4 "*)
13247 solaris_use_stlport4=yes
13248 ;;
13249 esac
13250
13251 # Adding this requires a known-good setup of shared libraries for
13252 # Sun compiler versions before 5.6, else PIC objects from an old
13253 # archive will be linked into the output, leading to subtle bugs.
13254 if test "$solaris_use_stlport4" != yes; then
13255 postdeps_CXX='-library=Cstd -library=Crun'
13256 fi
13257 ;;
13258 esac
13259 ;;
13260 esac
13261
13262
13263 case " $postdeps_CXX " in
13264 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13265 esac
13266 compiler_lib_search_dirs_CXX=
13267 if test -n "${compiler_lib_search_path_CXX}"; then
13268 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13269 fi
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301 lt_prog_compiler_wl_CXX=
13302 lt_prog_compiler_pic_CXX=
13303 lt_prog_compiler_static_CXX=
13304
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13306 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13307
13308 # C++ specific cases for pic, static, wl, etc.
13309 if test "$GXX" = yes; then
13310 lt_prog_compiler_wl_CXX='-Wl,'
13311 lt_prog_compiler_static_CXX='-static'
13312
13313 case $host_os in
13314 aix*)
13315 # All AIX code is PIC.
13316 if test "$host_cpu" = ia64; then
13317 # AIX 5 now supports IA64 processor
13318 lt_prog_compiler_static_CXX='-Bstatic'
13319 fi
13320 ;;
13321
13322 amigaos*)
13323 case $host_cpu in
13324 powerpc)
13325 # see comment about AmigaOS4 .so support
13326 lt_prog_compiler_pic_CXX='-fPIC'
13327 ;;
13328 m68k)
13329 # FIXME: we need at least 68020 code to build shared libraries, but
13330 # adding the `-m68020' flag to GCC prevents building anything better,
13331 # like `-m68040'.
13332 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13333 ;;
13334 esac
13335 ;;
13336
13337 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13338 # PIC is the default for these OSes.
13339 ;;
13340 mingw* | cygwin* | os2* | pw32* | cegcc*)
13341 # This hack is so that the source file can tell whether it is being
13342 # built for inclusion in a dll (and should export symbols for example).
13343 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13344 # (--disable-auto-import) libraries
13345 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13346 ;;
13347 darwin* | rhapsody*)
13348 # PIC is the default on this platform
13349 # Common symbols not allowed in MH_DYLIB files
13350 lt_prog_compiler_pic_CXX='-fno-common'
13351 ;;
13352 *djgpp*)
13353 # DJGPP does not support shared libraries at all
13354 lt_prog_compiler_pic_CXX=
13355 ;;
13356 interix[3-9]*)
13357 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13358 # Instead, we relocate shared libraries at runtime.
13359 ;;
13360 sysv4*MP*)
13361 if test -d /usr/nec; then
13362 lt_prog_compiler_pic_CXX=-Kconform_pic
13363 fi
13364 ;;
13365 hpux*)
13366 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13367 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13368 # sets the default TLS model and affects inlining.
13369 case $host_cpu in
13370 hppa*64*)
13371 ;;
13372 *)
13373 lt_prog_compiler_pic_CXX='-fPIC'
13374 ;;
13375 esac
13376 ;;
13377 *qnx* | *nto*)
13378 # QNX uses GNU C++, but need to define -shared option too, otherwise
13379 # it will coredump.
13380 lt_prog_compiler_pic_CXX='-fPIC -shared'
13381 ;;
13382 *)
13383 lt_prog_compiler_pic_CXX='-fPIC'
13384 ;;
13385 esac
13386 else
13387 case $host_os in
13388 aix[4-9]*)
13389 # All AIX code is PIC.
13390 if test "$host_cpu" = ia64; then
13391 # AIX 5 now supports IA64 processor
13392 lt_prog_compiler_static_CXX='-Bstatic'
13393 else
13394 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13395 fi
13396 ;;
13397 chorus*)
13398 case $cc_basename in
13399 cxch68*)
13400 # Green Hills C++ Compiler
13401 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13402 ;;
13403 esac
13404 ;;
13405 dgux*)
13406 case $cc_basename in
13407 ec++*)
13408 lt_prog_compiler_pic_CXX='-KPIC'
13409 ;;
13410 ghcx*)
13411 # Green Hills C++ Compiler
13412 lt_prog_compiler_pic_CXX='-pic'
13413 ;;
13414 *)
13415 ;;
13416 esac
13417 ;;
13418 freebsd* | dragonfly*)
13419 # FreeBSD uses GNU C++
13420 ;;
13421 hpux9* | hpux10* | hpux11*)
13422 case $cc_basename in
13423 CC*)
13424 lt_prog_compiler_wl_CXX='-Wl,'
13425 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13426 if test "$host_cpu" != ia64; then
13427 lt_prog_compiler_pic_CXX='+Z'
13428 fi
13429 ;;
13430 aCC*)
13431 lt_prog_compiler_wl_CXX='-Wl,'
13432 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13433 case $host_cpu in
13434 hppa*64*|ia64*)
13435 # +Z the default
13436 ;;
13437 *)
13438 lt_prog_compiler_pic_CXX='+Z'
13439 ;;
13440 esac
13441 ;;
13442 *)
13443 ;;
13444 esac
13445 ;;
13446 interix*)
13447 # This is c89, which is MS Visual C++ (no shared libs)
13448 # Anyone wants to do a port?
13449 ;;
13450 irix5* | irix6* | nonstopux*)
13451 case $cc_basename in
13452 CC*)
13453 lt_prog_compiler_wl_CXX='-Wl,'
13454 lt_prog_compiler_static_CXX='-non_shared'
13455 # CC pic flag -KPIC is the default.
13456 ;;
13457 *)
13458 ;;
13459 esac
13460 ;;
13461 linux* | k*bsd*-gnu)
13462 case $cc_basename in
13463 KCC*)
13464 # KAI C++ Compiler
13465 lt_prog_compiler_wl_CXX='--backend -Wl,'
13466 lt_prog_compiler_pic_CXX='-fPIC'
13467 ;;
13468 ecpc* )
13469 # old Intel C++ for x86_64 which still supported -KPIC.
13470 lt_prog_compiler_wl_CXX='-Wl,'
13471 lt_prog_compiler_pic_CXX='-KPIC'
13472 lt_prog_compiler_static_CXX='-static'
13473 ;;
13474 icpc* )
13475 # Intel C++, used to be incompatible with GCC.
13476 # ICC 10 doesn't accept -KPIC any more.
13477 lt_prog_compiler_wl_CXX='-Wl,'
13478 lt_prog_compiler_pic_CXX='-fPIC'
13479 lt_prog_compiler_static_CXX='-static'
13480 ;;
13481 pgCC* | pgcpp*)
13482 # Portland Group C++ compiler
13483 lt_prog_compiler_wl_CXX='-Wl,'
13484 lt_prog_compiler_pic_CXX='-fpic'
13485 lt_prog_compiler_static_CXX='-Bstatic'
13486 ;;
13487 cxx*)
13488 # Compaq C++
13489 # Make sure the PIC flag is empty. It appears that all Alpha
13490 # Linux and Compaq Tru64 Unix objects are PIC.
13491 lt_prog_compiler_pic_CXX=
13492 lt_prog_compiler_static_CXX='-non_shared'
13493 ;;
13494 xlc* | xlC*)
13495 # IBM XL 8.0 on PPC
13496 lt_prog_compiler_wl_CXX='-Wl,'
13497 lt_prog_compiler_pic_CXX='-qpic'
13498 lt_prog_compiler_static_CXX='-qstaticlink'
13499 ;;
13500 *)
13501 case `$CC -V 2>&1 | sed 5q` in
13502 *Sun\ C*)
13503 # Sun C++ 5.9
13504 lt_prog_compiler_pic_CXX='-KPIC'
13505 lt_prog_compiler_static_CXX='-Bstatic'
13506 lt_prog_compiler_wl_CXX='-Qoption ld '
13507 ;;
13508 esac
13509 ;;
13510 esac
13511 ;;
13512 lynxos*)
13513 ;;
13514 m88k*)
13515 ;;
13516 mvs*)
13517 case $cc_basename in
13518 cxx*)
13519 lt_prog_compiler_pic_CXX='-W c,exportall'
13520 ;;
13521 *)
13522 ;;
13523 esac
13524 ;;
13525 netbsd*)
13526 ;;
13527 *qnx* | *nto*)
13528 # QNX uses GNU C++, but need to define -shared option too, otherwise
13529 # it will coredump.
13530 lt_prog_compiler_pic_CXX='-fPIC -shared'
13531 ;;
13532 osf3* | osf4* | osf5*)
13533 case $cc_basename in
13534 KCC*)
13535 lt_prog_compiler_wl_CXX='--backend -Wl,'
13536 ;;
13537 RCC*)
13538 # Rational C++ 2.4.1
13539 lt_prog_compiler_pic_CXX='-pic'
13540 ;;
13541 cxx*)
13542 # Digital/Compaq C++
13543 lt_prog_compiler_wl_CXX='-Wl,'
13544 # Make sure the PIC flag is empty. It appears that all Alpha
13545 # Linux and Compaq Tru64 Unix objects are PIC.
13546 lt_prog_compiler_pic_CXX=
13547 lt_prog_compiler_static_CXX='-non_shared'
13548 ;;
13549 *)
13550 ;;
13551 esac
13552 ;;
13553 psos*)
13554 ;;
13555 solaris*)
13556 case $cc_basename in
13557 CC*)
13558 # Sun C++ 4.2, 5.x and Centerline C++
13559 lt_prog_compiler_pic_CXX='-KPIC'
13560 lt_prog_compiler_static_CXX='-Bstatic'
13561 lt_prog_compiler_wl_CXX='-Qoption ld '
13562 ;;
13563 gcx*)
13564 # Green Hills C++ Compiler
13565 lt_prog_compiler_pic_CXX='-PIC'
13566 ;;
13567 *)
13568 ;;
13569 esac
13570 ;;
13571 sunos4*)
13572 case $cc_basename in
13573 CC*)
13574 # Sun C++ 4.x
13575 lt_prog_compiler_pic_CXX='-pic'
13576 lt_prog_compiler_static_CXX='-Bstatic'
13577 ;;
13578 lcc*)
13579 # Lucid
13580 lt_prog_compiler_pic_CXX='-pic'
13581 ;;
13582 *)
13583 ;;
13584 esac
13585 ;;
13586 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13587 case $cc_basename in
13588 CC*)
13589 lt_prog_compiler_wl_CXX='-Wl,'
13590 lt_prog_compiler_pic_CXX='-KPIC'
13591 lt_prog_compiler_static_CXX='-Bstatic'
13592 ;;
13593 esac
13594 ;;
13595 tandem*)
13596 case $cc_basename in
13597 NCC*)
13598 # NonStop-UX NCC 3.20
13599 lt_prog_compiler_pic_CXX='-KPIC'
13600 ;;
13601 *)
13602 ;;
13603 esac
13604 ;;
13605 vxworks*)
13606 ;;
13607 *)
13608 lt_prog_compiler_can_build_shared_CXX=no
13609 ;;
13610 esac
13611 fi
13612
13613 case $host_os in
13614 # For platforms which do not support PIC, -DPIC is meaningless:
13615 *djgpp*)
13616 lt_prog_compiler_pic_CXX=
13617 ;;
13618 *)
13619 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13620 ;;
13621 esac
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13623 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13624
13625
13626
13627 #
13628 # Check to make sure the PIC flag actually works.
13629 #
13630 if test -n "$lt_prog_compiler_pic_CXX"; then
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13632 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13633 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13634 $as_echo_n "(cached) " >&6
13635 else
13636 lt_cv_prog_compiler_pic_works_CXX=no
13637 ac_outfile=conftest.$ac_objext
13638 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13639 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13640 # Insert the option either (1) after the last *FLAGS variable, or
13641 # (2) before a word containing "conftest.", or (3) at the end.
13642 # Note that $ac_compile itself does not contain backslashes and begins
13643 # with a dollar sign (not a hyphen), so the echo should work correctly.
13644 # The option is referenced via a variable to avoid confusing sed.
13645 lt_compile=`echo "$ac_compile" | $SED \
13646 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13647 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13648 -e 's:$: $lt_compiler_flag:'`
13649 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13650 (eval "$lt_compile" 2>conftest.err)
13651 ac_status=$?
13652 cat conftest.err >&5
13653 echo "$as_me:__oline__: \$? = $ac_status" >&5
13654 if (exit $ac_status) && test -s "$ac_outfile"; then
13655 # The compiler can only warn and ignore the option if not recognized
13656 # So say no if there are warnings other than the usual output.
13657 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13658 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13659 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13660 lt_cv_prog_compiler_pic_works_CXX=yes
13661 fi
13662 fi
13663 $RM conftest*
13664
13665 fi
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13667 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13668
13669 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13670 case $lt_prog_compiler_pic_CXX in
13671 "" | " "*) ;;
13672 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13673 esac
13674 else
13675 lt_prog_compiler_pic_CXX=
13676 lt_prog_compiler_can_build_shared_CXX=no
13677 fi
13678
13679 fi
13680
13681
13682
13683 #
13684 # Check to make sure the static flag actually works.
13685 #
13686 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13688 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13689 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13690 $as_echo_n "(cached) " >&6
13691 else
13692 lt_cv_prog_compiler_static_works_CXX=no
13693 save_LDFLAGS="$LDFLAGS"
13694 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13695 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13696 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13697 # The linker can only warn and ignore the option if not recognized
13698 # So say no if there are warnings
13699 if test -s conftest.err; then
13700 # Append any errors to the config.log.
13701 cat conftest.err 1>&5
13702 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13703 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13704 if diff conftest.exp conftest.er2 >/dev/null; then
13705 lt_cv_prog_compiler_static_works_CXX=yes
13706 fi
13707 else
13708 lt_cv_prog_compiler_static_works_CXX=yes
13709 fi
13710 fi
13711 $RM -r conftest*
13712 LDFLAGS="$save_LDFLAGS"
13713
13714 fi
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13716 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13717
13718 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13719 :
13720 else
13721 lt_prog_compiler_static_CXX=
13722 fi
13723
13724
13725
13726
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13728 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13729 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13730 $as_echo_n "(cached) " >&6
13731 else
13732 lt_cv_prog_compiler_c_o_CXX=no
13733 $RM -r conftest 2>/dev/null
13734 mkdir conftest
13735 cd conftest
13736 mkdir out
13737 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13738
13739 lt_compiler_flag="-o out/conftest2.$ac_objext"
13740 # Insert the option either (1) after the last *FLAGS variable, or
13741 # (2) before a word containing "conftest.", or (3) at the end.
13742 # Note that $ac_compile itself does not contain backslashes and begins
13743 # with a dollar sign (not a hyphen), so the echo should work correctly.
13744 lt_compile=`echo "$ac_compile" | $SED \
13745 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13747 -e 's:$: $lt_compiler_flag:'`
13748 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13749 (eval "$lt_compile" 2>out/conftest.err)
13750 ac_status=$?
13751 cat out/conftest.err >&5
13752 echo "$as_me:__oline__: \$? = $ac_status" >&5
13753 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13754 then
13755 # The compiler can only warn and ignore the option if not recognized
13756 # So say no if there are warnings
13757 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13758 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13759 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13760 lt_cv_prog_compiler_c_o_CXX=yes
13761 fi
13762 fi
13763 chmod u+w . 2>&5
13764 $RM conftest*
13765 # SGI C++ compiler will create directory out/ii_files/ for
13766 # template instantiation
13767 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13768 $RM out/* && rmdir out
13769 cd ..
13770 $RM -r conftest
13771 $RM conftest*
13772
13773 fi
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13775 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13776
13777
13778
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13780 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13781 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13782 $as_echo_n "(cached) " >&6
13783 else
13784 lt_cv_prog_compiler_c_o_CXX=no
13785 $RM -r conftest 2>/dev/null
13786 mkdir conftest
13787 cd conftest
13788 mkdir out
13789 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13790
13791 lt_compiler_flag="-o out/conftest2.$ac_objext"
13792 # Insert the option either (1) after the last *FLAGS variable, or
13793 # (2) before a word containing "conftest.", or (3) at the end.
13794 # Note that $ac_compile itself does not contain backslashes and begins
13795 # with a dollar sign (not a hyphen), so the echo should work correctly.
13796 lt_compile=`echo "$ac_compile" | $SED \
13797 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13798 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13799 -e 's:$: $lt_compiler_flag:'`
13800 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13801 (eval "$lt_compile" 2>out/conftest.err)
13802 ac_status=$?
13803 cat out/conftest.err >&5
13804 echo "$as_me:__oline__: \$? = $ac_status" >&5
13805 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13806 then
13807 # The compiler can only warn and ignore the option if not recognized
13808 # So say no if there are warnings
13809 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13810 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13811 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13812 lt_cv_prog_compiler_c_o_CXX=yes
13813 fi
13814 fi
13815 chmod u+w . 2>&5
13816 $RM conftest*
13817 # SGI C++ compiler will create directory out/ii_files/ for
13818 # template instantiation
13819 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13820 $RM out/* && rmdir out
13821 cd ..
13822 $RM -r conftest
13823 $RM conftest*
13824
13825 fi
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13827 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13828
13829
13830
13831
13832 hard_links="nottested"
13833 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13834 # do not overwrite the value of need_locks provided by the user
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13836 $as_echo_n "checking if we can lock with hard links... " >&6; }
13837 hard_links=yes
13838 $RM conftest*
13839 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13840 touch conftest.a
13841 ln conftest.a conftest.b 2>&5 || hard_links=no
13842 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13844 $as_echo "$hard_links" >&6; }
13845 if test "$hard_links" = no; then
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13847 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13848 need_locks=warn
13849 fi
13850 else
13851 need_locks=no
13852 fi
13853
13854
13855
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13857 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13858
13859 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13860 case $host_os in
13861 aix[4-9]*)
13862 # If we're using GNU nm, then we don't want the "-C" option.
13863 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13864 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13865 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13866 else
13867 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13868 fi
13869 ;;
13870 pw32*)
13871 export_symbols_cmds_CXX="$ltdll_cmds"
13872 ;;
13873 cygwin* | mingw* | cegcc*)
13874 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13875 ;;
13876 *)
13877 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13878 ;;
13879 esac
13880 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13881
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13883 $as_echo "$ld_shlibs_CXX" >&6; }
13884 test "$ld_shlibs_CXX" = no && can_build_shared=no
13885
13886 with_gnu_ld_CXX=$with_gnu_ld
13887
13888
13889
13890
13891
13892
13893 #
13894 # Do we need to explicitly link libc?
13895 #
13896 case "x$archive_cmds_need_lc_CXX" in
13897 x|xyes)
13898 # Assume -lc should be added
13899 archive_cmds_need_lc_CXX=yes
13900
13901 if test "$enable_shared" = yes && test "$GCC" = yes; then
13902 case $archive_cmds_CXX in
13903 *'~'*)
13904 # FIXME: we may have to deal with multi-command sequences.
13905 ;;
13906 '$CC '*)
13907 # Test whether the compiler implicitly links with -lc since on some
13908 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13909 # to ld, don't add -lc before -lgcc.
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13911 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13912 $RM conftest*
13913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13914
13915 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13916 (eval $ac_compile) 2>&5
13917 ac_status=$?
13918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13919 test $ac_status = 0; } 2>conftest.err; then
13920 soname=conftest
13921 lib=conftest
13922 libobjs=conftest.$ac_objext
13923 deplibs=
13924 wl=$lt_prog_compiler_wl_CXX
13925 pic_flag=$lt_prog_compiler_pic_CXX
13926 compiler_flags=-v
13927 linker_flags=-v
13928 verstring=
13929 output_objdir=.
13930 libname=conftest
13931 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13932 allow_undefined_flag_CXX=
13933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13934 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13935 ac_status=$?
13936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13937 test $ac_status = 0; }
13938 then
13939 archive_cmds_need_lc_CXX=no
13940 else
13941 archive_cmds_need_lc_CXX=yes
13942 fi
13943 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13944 else
13945 cat conftest.err 1>&5
13946 fi
13947 $RM conftest*
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13949 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13950 ;;
13951 esac
13952 fi
13953 ;;
13954 esac
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14020 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14021
14022 library_names_spec=
14023 libname_spec='lib$name'
14024 soname_spec=
14025 shrext_cmds=".so"
14026 postinstall_cmds=
14027 postuninstall_cmds=
14028 finish_cmds=
14029 finish_eval=
14030 shlibpath_var=
14031 shlibpath_overrides_runpath=unknown
14032 version_type=none
14033 dynamic_linker="$host_os ld.so"
14034 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14035 need_lib_prefix=unknown
14036 hardcode_into_libs=no
14037
14038 # when you set need_version to no, make sure it does not cause -set_version
14039 # flags to be left without arguments
14040 need_version=unknown
14041
14042 case $host_os in
14043 aix3*)
14044 version_type=linux
14045 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14046 shlibpath_var=LIBPATH
14047
14048 # AIX 3 has no versioning support, so we append a major version to the name.
14049 soname_spec='${libname}${release}${shared_ext}$major'
14050 ;;
14051
14052 aix[4-9]*)
14053 version_type=linux
14054 need_lib_prefix=no
14055 need_version=no
14056 hardcode_into_libs=yes
14057 if test "$host_cpu" = ia64; then
14058 # AIX 5 supports IA64
14059 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14060 shlibpath_var=LD_LIBRARY_PATH
14061 else
14062 # With GCC up to 2.95.x, collect2 would create an import file
14063 # for dependence libraries. The import file would start with
14064 # the line `#! .'. This would cause the generated library to
14065 # depend on `.', always an invalid library. This was fixed in
14066 # development snapshots of GCC prior to 3.0.
14067 case $host_os in
14068 aix4 | aix4.[01] | aix4.[01].*)
14069 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14070 echo ' yes '
14071 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14072 :
14073 else
14074 can_build_shared=no
14075 fi
14076 ;;
14077 esac
14078 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14079 # soname into executable. Probably we can add versioning support to
14080 # collect2, so additional links can be useful in future.
14081 if test "$aix_use_runtimelinking" = yes; then
14082 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14083 # instead of lib<name>.a to let people know that these are not
14084 # typical AIX shared libraries.
14085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14086 else
14087 # We preserve .a as extension for shared libraries through AIX4.2
14088 # and later when we are not doing run time linking.
14089 library_names_spec='${libname}${release}.a $libname.a'
14090 soname_spec='${libname}${release}${shared_ext}$major'
14091 fi
14092 shlibpath_var=LIBPATH
14093 fi
14094 ;;
14095
14096 amigaos*)
14097 case $host_cpu in
14098 powerpc)
14099 # Since July 2007 AmigaOS4 officially supports .so libraries.
14100 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14102 ;;
14103 m68k)
14104 library_names_spec='$libname.ixlibrary $libname.a'
14105 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14106 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14107 ;;
14108 esac
14109 ;;
14110
14111 beos*)
14112 library_names_spec='${libname}${shared_ext}'
14113 dynamic_linker="$host_os ld.so"
14114 shlibpath_var=LIBRARY_PATH
14115 ;;
14116
14117 bsdi[45]*)
14118 version_type=linux
14119 need_version=no
14120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14121 soname_spec='${libname}${release}${shared_ext}$major'
14122 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14123 shlibpath_var=LD_LIBRARY_PATH
14124 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14125 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14126 # the default ld.so.conf also contains /usr/contrib/lib and
14127 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14128 # libtool to hard-code these into programs
14129 ;;
14130
14131 cygwin* | mingw* | pw32* | cegcc*)
14132 version_type=windows
14133 shrext_cmds=".dll"
14134 need_version=no
14135 need_lib_prefix=no
14136
14137 case $GCC,$host_os in
14138 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14139 library_names_spec='$libname.dll.a'
14140 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14141 postinstall_cmds='base_file=`basename \${file}`~
14142 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14143 dldir=$destdir/`dirname \$dlpath`~
14144 test -d \$dldir || mkdir -p \$dldir~
14145 $install_prog $dir/$dlname \$dldir/$dlname~
14146 chmod a+x \$dldir/$dlname~
14147 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14148 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14149 fi'
14150 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14151 dlpath=$dir/\$dldll~
14152 $RM \$dlpath'
14153 shlibpath_overrides_runpath=yes
14154
14155 case $host_os in
14156 cygwin*)
14157 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14158 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14159 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14160 ;;
14161 mingw* | cegcc*)
14162 # MinGW DLLs use traditional 'lib' prefix
14163 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14164 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14165 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14166 # It is most probably a Windows format PATH printed by
14167 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14168 # path with ; separators, and with drive letters. We can handle the
14169 # drive letters (cygwin fileutils understands them), so leave them,
14170 # especially as we might pass files found there to a mingw objdump,
14171 # which wouldn't understand a cygwinified path. Ahh.
14172 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14173 else
14174 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14175 fi
14176 ;;
14177 pw32*)
14178 # pw32 DLLs use 'pw' prefix rather than 'lib'
14179 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14180 ;;
14181 esac
14182 ;;
14183
14184 *)
14185 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14186 ;;
14187 esac
14188 dynamic_linker='Win32 ld.exe'
14189 # FIXME: first we should search . and the directory the executable is in
14190 shlibpath_var=PATH
14191 ;;
14192
14193 darwin* | rhapsody*)
14194 dynamic_linker="$host_os dyld"
14195 version_type=darwin
14196 need_lib_prefix=no
14197 need_version=no
14198 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14199 soname_spec='${libname}${release}${major}$shared_ext'
14200 shlibpath_overrides_runpath=yes
14201 shlibpath_var=DYLD_LIBRARY_PATH
14202 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14203
14204 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14205 ;;
14206
14207 dgux*)
14208 version_type=linux
14209 need_lib_prefix=no
14210 need_version=no
14211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14212 soname_spec='${libname}${release}${shared_ext}$major'
14213 shlibpath_var=LD_LIBRARY_PATH
14214 ;;
14215
14216 freebsd1*)
14217 dynamic_linker=no
14218 ;;
14219
14220 freebsd* | dragonfly*)
14221 # DragonFly does not have aout. When/if they implement a new
14222 # versioning mechanism, adjust this.
14223 if test -x /usr/bin/objformat; then
14224 objformat=`/usr/bin/objformat`
14225 else
14226 case $host_os in
14227 freebsd[123]*) objformat=aout ;;
14228 *) objformat=elf ;;
14229 esac
14230 fi
14231 version_type=freebsd-$objformat
14232 case $version_type in
14233 freebsd-elf*)
14234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14235 need_version=no
14236 need_lib_prefix=no
14237 ;;
14238 freebsd-*)
14239 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14240 need_version=yes
14241 ;;
14242 esac
14243 shlibpath_var=LD_LIBRARY_PATH
14244 case $host_os in
14245 freebsd2*)
14246 shlibpath_overrides_runpath=yes
14247 ;;
14248 freebsd3.[01]* | freebsdelf3.[01]*)
14249 shlibpath_overrides_runpath=yes
14250 hardcode_into_libs=yes
14251 ;;
14252 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14253 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14254 shlibpath_overrides_runpath=no
14255 hardcode_into_libs=yes
14256 ;;
14257 *) # from 4.6 on, and DragonFly
14258 shlibpath_overrides_runpath=yes
14259 hardcode_into_libs=yes
14260 ;;
14261 esac
14262 ;;
14263
14264 gnu*)
14265 version_type=linux
14266 need_lib_prefix=no
14267 need_version=no
14268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14269 soname_spec='${libname}${release}${shared_ext}$major'
14270 shlibpath_var=LD_LIBRARY_PATH
14271 hardcode_into_libs=yes
14272 ;;
14273
14274 hpux9* | hpux10* | hpux11*)
14275 # Give a soname corresponding to the major version so that dld.sl refuses to
14276 # link against other versions.
14277 version_type=sunos
14278 need_lib_prefix=no
14279 need_version=no
14280 case $host_cpu in
14281 ia64*)
14282 shrext_cmds='.so'
14283 hardcode_into_libs=yes
14284 dynamic_linker="$host_os dld.so"
14285 shlibpath_var=LD_LIBRARY_PATH
14286 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14288 soname_spec='${libname}${release}${shared_ext}$major'
14289 if test "X$HPUX_IA64_MODE" = X32; then
14290 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14291 else
14292 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14293 fi
14294 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14295 ;;
14296 hppa*64*)
14297 shrext_cmds='.sl'
14298 hardcode_into_libs=yes
14299 dynamic_linker="$host_os dld.sl"
14300 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14301 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14303 soname_spec='${libname}${release}${shared_ext}$major'
14304 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14305 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14306 ;;
14307 *)
14308 shrext_cmds='.sl'
14309 dynamic_linker="$host_os dld.sl"
14310 shlibpath_var=SHLIB_PATH
14311 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14313 soname_spec='${libname}${release}${shared_ext}$major'
14314 ;;
14315 esac
14316 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14317 postinstall_cmds='chmod 555 $lib'
14318 ;;
14319
14320 interix[3-9]*)
14321 version_type=linux
14322 need_lib_prefix=no
14323 need_version=no
14324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14325 soname_spec='${libname}${release}${shared_ext}$major'
14326 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14327 shlibpath_var=LD_LIBRARY_PATH
14328 shlibpath_overrides_runpath=no
14329 hardcode_into_libs=yes
14330 ;;
14331
14332 irix5* | irix6* | nonstopux*)
14333 case $host_os in
14334 nonstopux*) version_type=nonstopux ;;
14335 *)
14336 if test "$lt_cv_prog_gnu_ld" = yes; then
14337 version_type=linux
14338 else
14339 version_type=irix
14340 fi ;;
14341 esac
14342 need_lib_prefix=no
14343 need_version=no
14344 soname_spec='${libname}${release}${shared_ext}$major'
14345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14346 case $host_os in
14347 irix5* | nonstopux*)
14348 libsuff= shlibsuff=
14349 ;;
14350 *)
14351 case $LD in # libtool.m4 will add one of these switches to LD
14352 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14353 libsuff= shlibsuff= libmagic=32-bit;;
14354 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14355 libsuff=32 shlibsuff=N32 libmagic=N32;;
14356 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14357 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14358 *) libsuff= shlibsuff= libmagic=never-match;;
14359 esac
14360 ;;
14361 esac
14362 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14363 shlibpath_overrides_runpath=no
14364 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14365 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14366 hardcode_into_libs=yes
14367 ;;
14368
14369 # No shared lib support for Linux oldld, aout, or coff.
14370 linux*oldld* | linux*aout* | linux*coff*)
14371 dynamic_linker=no
14372 ;;
14373
14374 # This must be Linux ELF.
14375 linux* | k*bsd*-gnu)
14376 version_type=linux
14377 need_lib_prefix=no
14378 need_version=no
14379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14380 soname_spec='${libname}${release}${shared_ext}$major'
14381 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14382 shlibpath_var=LD_LIBRARY_PATH
14383 shlibpath_overrides_runpath=no
14384 # Some binutils ld are patched to set DT_RUNPATH
14385 save_LDFLAGS=$LDFLAGS
14386 save_libdir=$libdir
14387 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14388 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14390 /* end confdefs.h. */
14391
14392 int
14393 main ()
14394 {
14395
14396 ;
14397 return 0;
14398 }
14399 _ACEOF
14400 if ac_fn_cxx_try_link "$LINENO"; then :
14401 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14402 shlibpath_overrides_runpath=yes
14403 fi
14404 fi
14405 rm -f core conftest.err conftest.$ac_objext \
14406 conftest$ac_exeext conftest.$ac_ext
14407 LDFLAGS=$save_LDFLAGS
14408 libdir=$save_libdir
14409
14410 # This implies no fast_install, which is unacceptable.
14411 # Some rework will be needed to allow for fast_install
14412 # before this can be enabled.
14413 hardcode_into_libs=yes
14414
14415 # Add ABI-specific directories to the system library path.
14416 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
14417
14418 # Append ld.so.conf contents to the search path
14419 if test -f /etc/ld.so.conf; then
14420 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14421 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14422 fi
14423
14424 # We used to test for /lib/ld.so.1 and disable shared libraries on
14425 # powerpc, because MkLinux only supported shared libraries with the
14426 # GNU dynamic linker. Since this was broken with cross compilers,
14427 # most powerpc-linux boxes support dynamic linking these days and
14428 # people can always --disable-shared, the test was removed, and we
14429 # assume the GNU/Linux dynamic linker is in use.
14430 dynamic_linker='GNU/Linux ld.so'
14431 ;;
14432
14433 netbsd*)
14434 version_type=sunos
14435 need_lib_prefix=no
14436 need_version=no
14437 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14439 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14440 dynamic_linker='NetBSD (a.out) ld.so'
14441 else
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 dynamic_linker='NetBSD ld.elf_so'
14445 fi
14446 shlibpath_var=LD_LIBRARY_PATH
14447 shlibpath_overrides_runpath=yes
14448 hardcode_into_libs=yes
14449 ;;
14450
14451 newsos6)
14452 version_type=linux
14453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14454 shlibpath_var=LD_LIBRARY_PATH
14455 shlibpath_overrides_runpath=yes
14456 ;;
14457
14458 *nto* | *qnx*)
14459 version_type=qnx
14460 need_lib_prefix=no
14461 need_version=no
14462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14463 soname_spec='${libname}${release}${shared_ext}$major'
14464 shlibpath_var=LD_LIBRARY_PATH
14465 shlibpath_overrides_runpath=no
14466 hardcode_into_libs=yes
14467 dynamic_linker='ldqnx.so'
14468 ;;
14469
14470 openbsd*)
14471 version_type=sunos
14472 sys_lib_dlsearch_path_spec="/usr/lib"
14473 need_lib_prefix=no
14474 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14475 case $host_os in
14476 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14477 *) need_version=no ;;
14478 esac
14479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14480 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14481 shlibpath_var=LD_LIBRARY_PATH
14482 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14483 case $host_os in
14484 openbsd2.[89] | openbsd2.[89].*)
14485 shlibpath_overrides_runpath=no
14486 ;;
14487 *)
14488 shlibpath_overrides_runpath=yes
14489 ;;
14490 esac
14491 else
14492 shlibpath_overrides_runpath=yes
14493 fi
14494 ;;
14495
14496 os2*)
14497 libname_spec='$name'
14498 shrext_cmds=".dll"
14499 need_lib_prefix=no
14500 library_names_spec='$libname${shared_ext} $libname.a'
14501 dynamic_linker='OS/2 ld.exe'
14502 shlibpath_var=LIBPATH
14503 ;;
14504
14505 osf3* | osf4* | osf5*)
14506 version_type=osf
14507 need_lib_prefix=no
14508 need_version=no
14509 soname_spec='${libname}${release}${shared_ext}$major'
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 shlibpath_var=LD_LIBRARY_PATH
14512 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14513 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14514 ;;
14515
14516 rdos*)
14517 dynamic_linker=no
14518 ;;
14519
14520 solaris*)
14521 version_type=linux
14522 need_lib_prefix=no
14523 need_version=no
14524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14525 soname_spec='${libname}${release}${shared_ext}$major'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=yes
14528 hardcode_into_libs=yes
14529 # ldd complains unless libraries are executable
14530 postinstall_cmds='chmod +x $lib'
14531 ;;
14532
14533 sunos4*)
14534 version_type=sunos
14535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14536 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14537 shlibpath_var=LD_LIBRARY_PATH
14538 shlibpath_overrides_runpath=yes
14539 if test "$with_gnu_ld" = yes; then
14540 need_lib_prefix=no
14541 fi
14542 need_version=yes
14543 ;;
14544
14545 sysv4 | sysv4.3*)
14546 version_type=linux
14547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14548 soname_spec='${libname}${release}${shared_ext}$major'
14549 shlibpath_var=LD_LIBRARY_PATH
14550 case $host_vendor in
14551 sni)
14552 shlibpath_overrides_runpath=no
14553 need_lib_prefix=no
14554 runpath_var=LD_RUN_PATH
14555 ;;
14556 siemens)
14557 need_lib_prefix=no
14558 ;;
14559 motorola)
14560 need_lib_prefix=no
14561 need_version=no
14562 shlibpath_overrides_runpath=no
14563 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14564 ;;
14565 esac
14566 ;;
14567
14568 sysv4*MP*)
14569 if test -d /usr/nec ;then
14570 version_type=linux
14571 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14572 soname_spec='$libname${shared_ext}.$major'
14573 shlibpath_var=LD_LIBRARY_PATH
14574 fi
14575 ;;
14576
14577 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14578 version_type=freebsd-elf
14579 need_lib_prefix=no
14580 need_version=no
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14582 soname_spec='${libname}${release}${shared_ext}$major'
14583 shlibpath_var=LD_LIBRARY_PATH
14584 shlibpath_overrides_runpath=yes
14585 hardcode_into_libs=yes
14586 if test "$with_gnu_ld" = yes; then
14587 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14588 else
14589 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14590 case $host_os in
14591 sco3.2v5*)
14592 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14593 ;;
14594 esac
14595 fi
14596 sys_lib_dlsearch_path_spec='/usr/lib'
14597 ;;
14598
14599 tpf*)
14600 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14601 version_type=linux
14602 need_lib_prefix=no
14603 need_version=no
14604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14605 shlibpath_var=LD_LIBRARY_PATH
14606 shlibpath_overrides_runpath=no
14607 hardcode_into_libs=yes
14608 ;;
14609
14610 uts4*)
14611 version_type=linux
14612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14613 soname_spec='${libname}${release}${shared_ext}$major'
14614 shlibpath_var=LD_LIBRARY_PATH
14615 ;;
14616
14617 *)
14618 dynamic_linker=no
14619 ;;
14620 esac
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14622 $as_echo "$dynamic_linker" >&6; }
14623 test "$dynamic_linker" = no && can_build_shared=no
14624
14625 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14626 if test "$GCC" = yes; then
14627 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14628 fi
14629
14630 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14631 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14632 fi
14633 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14634 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14635 fi
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14673 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14674 hardcode_action_CXX=
14675 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14676 test -n "$runpath_var_CXX" ||
14677 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14678
14679 # We can hardcode non-existent directories.
14680 if test "$hardcode_direct_CXX" != no &&
14681 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14682 # have to relink, otherwise we might link with an installed library
14683 # when we should be linking with a yet-to-be-installed one
14684 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14685 test "$hardcode_minus_L_CXX" != no; then
14686 # Linking always hardcodes the temporary library directory.
14687 hardcode_action_CXX=relink
14688 else
14689 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14690 hardcode_action_CXX=immediate
14691 fi
14692 else
14693 # We cannot hardcode anything, or else we can only hardcode existing
14694 # directories.
14695 hardcode_action_CXX=unsupported
14696 fi
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14698 $as_echo "$hardcode_action_CXX" >&6; }
14699
14700 if test "$hardcode_action_CXX" = relink ||
14701 test "$inherit_rpath_CXX" = yes; then
14702 # Fast installation is not supported
14703 enable_fast_install=no
14704 elif test "$shlibpath_overrides_runpath" = yes ||
14705 test "$enable_shared" = no; then
14706 # Fast installation is not necessary
14707 enable_fast_install=needless
14708 fi
14709
14710
14711
14712
14713
14714
14715
14716 fi # test -n "$compiler"
14717
14718 CC=$lt_save_CC
14719 LDCXX=$LD
14720 LD=$lt_save_LD
14721 GCC=$lt_save_GCC
14722 with_gnu_ld=$lt_save_with_gnu_ld
14723 lt_cv_path_LDCXX=$lt_cv_path_LD
14724 lt_cv_path_LD=$lt_save_path_LD
14725 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14726 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14727 fi # test "$_lt_caught_CXX_error" != yes
14728
14729 ac_ext=cpp
14730 ac_cpp='$CXXCPP $CPPFLAGS'
14731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747 ac_config_commands="$ac_config_commands libtool"
14748
14749
14750
14751
14752 # Only expand once:
14753
14754
14755
14756 @%:@ Check whether --enable-libcheck was given.
14757 if test "${enable_libcheck+set}" = set; then :
14758 enableval=$enable_libcheck; case "${enableval}" in
14759 yes) libcheck=true ;;
14760 no) libcheck=false ;;
14761 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;;
14762 esac
14763 else
14764 libcheck=true
14765 fi
14766
14767
14768
14769 # --- BEGIN MLX_LANG_TCL ---
14770
14771 if test "x$libcheck" = "xtrue"; then
14772
14773
14774 @%:@ Check whether --with-tclconfig was given.
14775 if test "${with_tclconfig+set}" = set; then :
14776 withval=$with_tclconfig; TclLibBase=`echo ${withval} | sed s/tclConfig.sh\$//`
14777 fi
14778
14779
14780 @%:@ Check whether --with-tcl was given.
14781 if test "${with_tcl+set}" = set; then :
14782 withval=$with_tcl; TclLibBase="${withval}/lib"
14783 fi
14784
14785
14786 @%:@ Check whether --with-tclsh was given.
14787 if test "${with_tclsh+set}" = set; then :
14788 withval=$with_tclsh; TCLSH="${withval}"
14789 fi
14790
14791
14792 if test "x$TCLSH" = "xno" -o "x$with_tclconfig" = "xno" ; then
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&5
14794 $as_echo "$as_me: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&2;}
14795 with_tcl=no
14796 fi
14797
14798 if test "x$with_tcl" != xno; then
14799 if test \! -z "$with_tclconfig" -a \! -d "$with_tclconfig" ; then
14800 as_fn_error $? "--with-tclconfig requires a directory argument." "$LINENO" 5
14801 fi
14802
14803 if test \! -z "$TCLSH" -a \! -x "$TCLSH" ; then
14804 as_fn_error $? "--with-tclsh must specify an executable file." "$LINENO" 5
14805 fi
14806
14807 if test X"$TclLibBase" = X; then # do we already know?
14808 # No? Run tclsh and ask it where it lives.
14809
14810 # Do we know where a tclsh lives?
14811 if test X"$TCLSH" = X; then
14812 # Try and find tclsh. Any tclsh.
14813 # If a new version of tcl comes out and unfortunately adds another
14814 # filename, it should be safe to add it (to the front of the line --
14815 # somef vendors have older, badly installed tclshs that we want to avoid
14816 # if we can)
14817 for ac_prog in tclsh tclsh8.3 tclsh8.4
14818 do
14819 # Extract the first word of "$ac_prog", so it can be a program name with args.
14820 set dummy $ac_prog; ac_word=$2
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14822 $as_echo_n "checking for $ac_word... " >&6; }
14823 if ${ac_cv_path_TCLSH+:} false; then :
14824 $as_echo_n "(cached) " >&6
14825 else
14826 case $TCLSH in
14827 [\\/]* | ?:[\\/]*)
14828 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
14829 ;;
14830 *)
14831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14832 for as_dir in $PATH
14833 do
14834 IFS=$as_save_IFS
14835 test -z "$as_dir" && as_dir=.
14836 for ac_exec_ext in '' $ac_executable_extensions; do
14837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14838 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
14839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14840 break 2
14841 fi
14842 done
14843 done
14844 IFS=$as_save_IFS
14845
14846 ;;
14847 esac
14848 fi
14849 TCLSH=$ac_cv_path_TCLSH
14850 if test -n "$TCLSH"; then
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
14852 $as_echo "$TCLSH" >&6; }
14853 else
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14855 $as_echo "no" >&6; }
14856 fi
14857
14858
14859 test -n "$TCLSH" && break
14860 done
14861 test -n "$TCLSH" || TCLSH=""unknown""
14862
14863 fi
14864
14865 # Do we know where to get a tclsh?
14866 if test "X${TCLSH}" != "Xunknown"; then
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl says it lives" >&5
14868 $as_echo_n "checking where Tcl says it lives... " >&6; }
14869 echo "puts \$tcl_library" > /tmp/tcl.conf.$$
14870 TclLibBase=`${TCLSH} /tmp/tcl.conf.$$ | sed -e 's,^/*$,,'`
14871 rm /tmp/tcl.conf.$$
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TclLibBase" >&5
14873 $as_echo "$TclLibBase" >&6; }
14874 fi
14875 fi
14876
14877 if test -z "$TclLibBase" ; then
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find tclsh" >&5
14879 $as_echo "can't find tclsh" >&6; }
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl installtion; use of Tcl disabled." >&5
14881 $as_echo "$as_me: WARNING: can't find Tcl installtion; use of Tcl disabled." >&2;}
14882 with_tcl=no
14883 else
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5
14885 $as_echo_n "checking for tclConfig.sh... " >&6; }
14886 # Check a list of places where the tclConfig.sh file might be.
14887 # Note we prefer the 64 bit version if exists
14888 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}"
14889 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}/.."
14890 tclCondifSearchPath="$tclCondifSearchPath `echo ${TCLSH} | sed s/sh//`"
14891 tclCondifSearchPath="$tclCondifSearchPath /usr/lib64"
14892 tclCondifSearchPath="$tclCondifSearchPath /usr/lib"
14893 tclCondifSearchPath="$tclCondifSearchPath /usr/local/lib"
14894 for tcldir in $tclCondifSearchPath; do
14895 if test -f "${tcldir}/tclConfig.sh"; then
14896 TclLibBase="${tcldir}"
14897 break
14898 fi
14899 done
14900
14901 if test -z "${TclLibBase}" ; then
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"unknown\"" >&5
14903 $as_echo "\"unknown\"" >&6; }
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl configuration; use of Tcl disabled." >&5
14905 $as_echo "$as_me: WARNING: can't find Tcl configuration; use of Tcl disabled." >&2;}
14906 with_tcl=no
14907 else
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TclLibBase}/" >&5
14909 $as_echo "${TclLibBase}/" >&6; }
14910 fi
14911
14912 if test "X${with_tcl}" != Xno ; then
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl configuration on what Tcl needs to compile" >&5
14914 $as_echo_n "checking Tcl configuration on what Tcl needs to compile... " >&6; }
14915 . ${TclLibBase}/tclConfig.sh
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
14917 $as_echo "ok" >&6; }
14918 fi
14919
14920 if test -d /usr/lib64 ; then
14921 TCL_LIB_SPEC=`echo ${TCL_LIB_SPEC} | sed 's=/usr/lib =/usr/lib64 =g'`
14922 fi
14923
14924 if test "X${with_tcl}" != Xno ; then
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl includes are" >&5
14926 $as_echo_n "checking where Tcl includes are... " >&6; }
14927 for tclinclude in "${TCL_PREFIX}/include/tcl${TCL_VERSION}" \
14928 "${TCL_PREFIX}/include/tcl" \
14929 "${TCL_PREFIX}/include" ; do
14930 if test -r "${tclinclude}/tcl.h" ; then
14931 TCL_CPPFLAGS="-I${tclinclude}"
14932 break
14933 fi
14934 done
14935 if test X"${TCL_CPPFLAGS}" = X ; then
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl includes; use of Tcl disabled." >&5
14937 $as_echo "$as_me: WARNING: can't find Tcl includes; use of Tcl disabled." >&2;}
14938 with_tcl=no
14939 fi
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCL_CPPFLAGS}" >&5
14941 $as_echo "${TCL_CPPFLAGS}" >&6; }
14942 fi
14943
14944 # Finally, pick up the Tcl configuration if we haven't found an
14945 # excuse not to.
14946 if test "X${with_tcl}" != Xno; then
14947 TCL_SEARCH=`echo ${TCL_LD_SEARCH_FLAGS} | sed 's/-Wl,-rpath,/-rpath/'`
14948
14949 if test X"$TCL_LIBS" = X; then
14950 TCL_LIBS=`echo ${TCL_LIB_FILE} | sed 's/lib\([^ \t]*\)\.\(so\|a\)/-l\1/'`
14951 fi
14952
14953 if test X"$TCL_LIB_SPEC" = X; then
14954 TCL_LIB_SPEC='-L/usr/lib'
14955 fi
14956
14957 TCL_LIBS1="${TCL_LIB_SPEC} ${TCL_LIBS}"
14958 TCL_LIBS=`echo ${TCL_LIBS1} | sed 's/-lieee//'`
14959 fi
14960 fi
14961 fi
14962 else
14963 TCL_DEFS=disabled
14964 TCL_LIBS=disabled
14965 TCL_CPPFLAGS=disabled
14966 TCL_PREFIX=disabled
14967 fi
14968
14969
14970
14971
14972
14973
14974 # --- END MLX_LANG_TCL ---
14975
14976
14977
14978
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14980 $as_echo_n "checking for ANSI C header files... " >&6; }
14981 if ${ac_cv_header_stdc+:} false; then :
14982 $as_echo_n "(cached) " >&6
14983 else
14984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14986 #include <stdlib.h>
14987 #include <stdarg.h>
14988 #include <string.h>
14989 #include <float.h>
14990
14991 int
14992 main ()
14993 {
14994
14995 ;
14996 return 0;
14997 }
14998 _ACEOF
14999 if ac_fn_cxx_try_compile "$LINENO"; then :
15000 ac_cv_header_stdc=yes
15001 else
15002 ac_cv_header_stdc=no
15003 fi
15004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15005
15006 if test $ac_cv_header_stdc = yes; then
15007 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15010 #include <string.h>
15011
15012 _ACEOF
15013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15014 $EGREP "memchr" >/dev/null 2>&1; then :
15015
15016 else
15017 ac_cv_header_stdc=no
15018 fi
15019 rm -f conftest*
15020
15021 fi
15022
15023 if test $ac_cv_header_stdc = yes; then
15024 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15027 #include <stdlib.h>
15028
15029 _ACEOF
15030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15031 $EGREP "free" >/dev/null 2>&1; then :
15032
15033 else
15034 ac_cv_header_stdc=no
15035 fi
15036 rm -f conftest*
15037
15038 fi
15039
15040 if test $ac_cv_header_stdc = yes; then
15041 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15042 if test "$cross_compiling" = yes; then :
15043 :
15044 else
15045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15047 #include <ctype.h>
15048 #include <stdlib.h>
15049 #if ((' ' & 0x0FF) == 0x020)
15050 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15051 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15052 #else
15053 # define ISLOWER(c) \
15054 (('a' <= (c) && (c) <= 'i') \
15055 || ('j' <= (c) && (c) <= 'r') \
15056 || ('s' <= (c) && (c) <= 'z'))
15057 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15058 #endif
15059
15060 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15061 int
15062 main ()
15063 {
15064 int i;
15065 for (i = 0; i < 256; i++)
15066 if (XOR (islower (i), ISLOWER (i))
15067 || toupper (i) != TOUPPER (i))
15068 return 2;
15069 return 0;
15070 }
15071 _ACEOF
15072 if ac_fn_cxx_try_run "$LINENO"; then :
15073
15074 else
15075 ac_cv_header_stdc=no
15076 fi
15077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15078 conftest.$ac_objext conftest.beam conftest.$ac_ext
15079 fi
15080
15081 fi
15082 fi
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15084 $as_echo "$ac_cv_header_stdc" >&6; }
15085 if test $ac_cv_header_stdc = yes; then
15086
15087 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
15088
15089 fi
15090
15091 for ac_header in inttypes.h stdlib.h string.h
15092 do :
15093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15094 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15095 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15096 cat >>confdefs.h <<_ACEOF
15097 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15098 _ACEOF
15099
15100 fi
15101
15102 done
15103
15104
15105
15106 ac_ext=cpp
15107 ac_cpp='$CXXCPP $CPPFLAGS'
15108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15111
15112 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15113 if test "x$ac_cv_type_size_t" = xyes; then :
15114
15115 else
15116
15117 cat >>confdefs.h <<_ACEOF
15118 @%:@define size_t unsigned int
15119 _ACEOF
15120
15121 fi
15122
15123
15124 for ac_func in strchr strstr strtol strtoull regcomp regexec
15125 do :
15126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15127 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15128 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15129 cat >>confdefs.h <<_ACEOF
15130 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15131 _ACEOF
15132
15133 fi
15134 done
15135
15136
15137 @%:@ Check whether --enable-debug was given.
15138 if test "${enable_debug+set}" = set; then :
15139 enableval=$enable_debug; case "${enableval}" in
15140 yes) debug=true ;;
15141 no) debug=false ;;
15142 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
15143 esac
15144 else
15145 debug=false
15146 fi
15147
15148 if test x$debug = xtrue; then
15149 DEBUG_TRUE=
15150 DEBUG_FALSE='#'
15151 else
15152 DEBUG_TRUE='#'
15153 DEBUG_FALSE=
15154 fi
15155
15156
15157
15158 # --- BEGIN OPENIB_APP_IBDM ---
15159
15160
15161 @%:@ Check whether --with-ibdm was given.
15162 if test "${with_ibdm+set}" = set; then :
15163 withval=$with_ibdm; { $as_echo "$as_me:${as_lineno-$LINENO}: Using IBDM from:$with_ibdm" >&5
15164 $as_echo "$as_me: Using IBDM from:$with_ibdm" >&6;}
15165 else
15166 with_ibdm="none"
15167 fi
15168
15169
15170 if test "x$with_ibdm" = xnone; then
15171 if test -d /usr/include/ibdm; then
15172 with_ibdm=/usr
15173 elif test -d `pwd`/ibdm; then
15174 with_ibdm=`pwd`/ibdm
15175 elif test -d `pwd`/../ibdm; then
15176 with_ibdm=`pwd`/../ibdm
15177 else
15178 as_fn_error $? "--with-ibdm must be provided - failed to find standard IBDM installation" "$LINENO" 5
15179 fi
15180 fi
15181
15182 if test -f $with_ibdm/include/ibdm/Fabric.h; then
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: IBDM was installed in $with_ibdm" >&5
15184 $as_echo "$as_me: IBDM was installed in $with_ibdm" >&6;}
15185 ibdm_ref_is_used=0
15186 elif test -f $with_ibdm/ibdm/Fabric.h; then
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: IBDM building from sources: $with_ibdm" >&5
15188 $as_echo "$as_me: IBDM building from sources: $with_ibdm" >&6;}
15189 if test ! -d ../ibdm; then
15190 as_fn_error $? "IBDM sources provided - but ibdm was not built in ../ibdm" "$LINENO" 5
15191 fi
15192 ln -s $with_ibdm/ibdm src/ibdm
15193 ibdm_ref_is_used=1
15194 else
15195 as_fn_error $? " IBDM Fabric.h not found under $with_ibdm/include/ibdm/" "$LINENO" 5
15196 fi
15197
15198 if test $ibdm_ref_is_used = 1; then
15199 IBDM_REF_IS_USED_TRUE=
15200 IBDM_REF_IS_USED_FALSE='#'
15201 else
15202 IBDM_REF_IS_USED_TRUE='#'
15203 IBDM_REF_IS_USED_FALSE=
15204 fi
15205
15206
15207
15208
15209 # --- OPENIB_APP_IBDM ---
15210
15211
15212
15213 # --- BEGIN OPENIB_APP_OSM ---
15214
15215
15216 @%:@ Check whether --with-osm was given.
15217 if test "${with_osm+set}" = set; then :
15218 withval=$with_osm; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM from:$with_osm" >&5
15219 $as_echo "$as_me: Using OSM from:$with_osm" >&6;}
15220 else
15221 with_osm="none"
15222 fi
15223
15224
15225
15226 @%:@ Check whether --with-osm-libs was given.
15227 if test "${with_osm_libs+set}" = set; then :
15228 withval=$with_osm_libs; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM libs from:$with_osm_libs" >&5
15229 $as_echo "$as_me: Using OSM libs from:$with_osm_libs" >&6;}
15230 else
15231 with_osm_libs="none"
15232 fi
15233
15234
15235 osm_lib_dir="none"
15236
15237 if test "x$libcheck" = "xtrue"; then
15238 if test "x$with_osm" = xnone; then
15239 if test -d /usr/local/ibgd/apps/osm; then
15240 with_osm=/usr/local/ibgd/apps/osm
15241 elif test -d /usr/mellanox/osm; then
15242 with_osm=/usr/mellanox
15243 elif test -f /etc/infiniband/info; then
15244 ofed_dir=`/etc/infiniband/info | grep prefix | cut -d = -f 2`
15245 if (test -f $ofed_dir/lib/libopensm.so ||
15246 test -f $ofed_dir/lib64/libopensm.so); then
15247 with_osm=$ofed_dir
15248 fi
15249 elif (test -f /usr/local/lib64/libopensm.so ||
15250 test -f /usr/local/lib/libopensm.so); then
15251 with_osm=/usr/local
15252 elif (test -f /usr/lib64/libopensm.so ||
15253 test -f /usr/lib/libopensm.so); then
15254 with_osm=/usr
15255 else
15256 as_fn_error $? "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
15257 fi
15258 fi
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5
15260 $as_echo "$as_me: OSM: used from $with_osm" >&6;}
15261
15262 if test "x$with_osm_libs" = "xnone"; then
15263 if (test -f $with_osm/lib64/libosmvendor_gen1.so ||
15264 test -f $with_osm/lib64/libosmvendor_vapi.so ||
15265 test -f $with_osm/lib64/libopensm.so ||
15266 test -f $with_osm/lib64/libosmvendor_sim.so); then
15267 osm_lib_dir=lib64
15268 else
15269 osm_lib_dir=lib
15270 fi
15271 fi
15272 with_osm_libs=$with_osm/$osm_lib_dir
15273
15274 if test -d $with_osm/include/infiniband; then
15275 OSM_BUILD=openib
15276 else
15277 OSM_BUILD=gen1
15278 fi
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: build type $OSM_BUILD" >&5
15280 $as_echo "$as_me: OSM: build type $OSM_BUILD" >&6;}
15281
15282 OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
15283 if test $OSM_BUILD = openib; then
15284 osm_include_dir="$with_osm/include/infiniband"
15285 osm_extra_includes="-I$with_osm/include"
15286
15287 if test -L $with_osm_libs/libosmvendor_gen1.so; then
15288 OSM_VENDOR=ts
15289 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
15290 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp"
15291 elif test -L $with_osm_libs/libosmvendor_vapi.so; then
15292 OSM_VENDOR=mtl
15293 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
15294 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -lvapi -lib_mgt"
15295 elif test -L $with_osm_libs/libosmvendor_sim.so; then
15296 OSM_VENDOR=sim
15297 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
15298 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -libmscli -losmcomp"
15299 elif test -L $with_osm_libs/libopensm.so; then
15300 OSM_VENDOR=openib
15301 osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
15302 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
15303 else
15304 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
15305 fi
15306 osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
15307 else
15308 # we are in gen1 build
15309 osm_include_dir="$with_osm/include"
15310
15311 if test -L $with_osm_libs/libosmsvc_ts.so; then
15312 OSM_VENDOR=ts
15313 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_ts -lcomplib"
15314 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
15315 elif test -L $with_osm_libs/libosmsvc_mtl.so; then
15316 OSM_VENDOR=mtl
15317 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_mtl -lcomplib -lvapi -lib_mgt"
15318 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
15319 elif test -L $with_osm_libs/libosmsvc_sim.so; then
15320 OSM_VENDOR=sim
15321 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
15322 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
15323 else
15324 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
15325 fi
15326 fi
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5
15328 $as_echo "$as_me: OSM: vendor type $OSM_VENDOR" >&6;}
15329
15330
15331 as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh`
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5
15333 $as_echo_n "checking for $osm_include_dir/opensm/osm_config.h... " >&6; }
15334 if eval \${$as_ac_File+:} false; then :
15335 $as_echo_n "(cached) " >&6
15336 else
15337 test "$cross_compiling" = yes &&
15338 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
15339 if test -r "$osm_include_dir/opensm/osm_config.h"; then
15340 eval "$as_ac_File=yes"
15341 else
15342 eval "$as_ac_File=no"
15343 fi
15344 fi
15345 eval ac_res=\$$as_ac_File
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15347 $as_echo "$ac_res" >&6; }
15348 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
15349
15350 else
15351 as_fn_error $? "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
15352 fi
15353
15354
15355 grep '#define OSM_DEBUG 1' $osm_include_dir/opensm/osm_config.h > /dev/null
15356 if test $? -eq 0 ; then
15357 osm_debug_flags='-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG'
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: compiled in DEBUG mode" >&5
15359 $as_echo "$as_me: OSM: compiled in DEBUG mode" >&6;}
15360 else
15361 osm_debug_flags=
15362 fi
15363
15364 OSM_CFLAGS="-I$osm_include_dir $osm_extra_includes $osm_debug_flags $osm_vendor_sel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1"
15365 else
15366 with_osm=disabled
15367 OSM_CLFAGS=disabled
15368 OSM_LDFLAGS=disabled
15369 OSM_VEDNOR=disabled
15370 OSM_BUILD=disabled
15371 fi
15372
15373 if test "x$OSM_VENDOR" = xts; then
15374 OSM_VENDOR_TS_TRUE=
15375 OSM_VENDOR_TS_FALSE='#'
15376 else
15377 OSM_VENDOR_TS_TRUE='#'
15378 OSM_VENDOR_TS_FALSE=
15379 fi
15380
15381 if test "x$OSM_VENDOR" = xmtl; then
15382 OSM_VENDOR_MTL_TRUE=
15383 OSM_VENDOR_MTL_FALSE='#'
15384 else
15385 OSM_VENDOR_MTL_TRUE='#'
15386 OSM_VENDOR_MTL_FALSE=
15387 fi
15388
15389 if test "x$OSM_VENDOR" = xsim; then
15390 OSM_VENDOR_SIM_TRUE=
15391 OSM_VENDOR_SIM_FALSE='#'
15392 else
15393 OSM_VENDOR_SIM_TRUE='#'
15394 OSM_VENDOR_SIM_FALSE=
15395 fi
15396
15397 if test "x$OSM_BUILD" = xopenib; then
15398 OSM_BUILD_OPENIB_TRUE=
15399 OSM_BUILD_OPENIB_FALSE='#'
15400 else
15401 OSM_BUILD_OPENIB_TRUE='#'
15402 OSM_BUILD_OPENIB_FALSE=
15403 fi
15404
15405
15406
15407
15408
15409
15410
15411
15412 # --- OPENIB_APP_OSM ---
15413
15414
15415 ac_config_files="$ac_config_files Makefile src/Makefile utils/Makefile tests/Makefile doc/Makefile"
15416
15417 cat >confcache <<\_ACEOF
15418 # This file is a shell script that caches the results of configure
15419 # tests run on this system so they can be shared between configure
15420 # scripts and configure runs, see configure's option --config-cache.
15421 # It is not useful on other systems. If it contains results you don't
15422 # want to keep, you may remove or edit it.
15423 #
15424 # config.status only pays attention to the cache file if you give it
15425 # the --recheck option to rerun configure.
15426 #
15427 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15428 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15429 # following values.
15430
15431 _ACEOF
15432
15433 # The following way of writing the cache mishandles newlines in values,
15434 # but we know of no workaround that is simple, portable, and efficient.
15435 # So, we kill variables containing newlines.
15436 # Ultrix sh set writes to stderr and can't be redirected directly,
15437 # and sets the high bit in the cache file unless we assign to the vars.
15438 (
15439 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15440 eval ac_val=\$$ac_var
15441 case $ac_val in #(
15442 *${as_nl}*)
15443 case $ac_var in #(
15444 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15446 esac
15447 case $ac_var in #(
15448 _ | IFS | as_nl) ;; #(
15449 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15450 *) { eval $ac_var=; unset $ac_var;} ;;
15451 esac ;;
15452 esac
15453 done
15454
15455 (set) 2>&1 |
15456 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15457 *${as_nl}ac_space=\ *)
15458 # `set' does not quote correctly, so add quotes: double-quote
15459 # substitution turns \\\\ into \\, and sed turns \\ into \.
15460 sed -n \
15461 "s/'/'\\\\''/g;
15462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15463 ;; #(
15464 *)
15465 # `set' quotes correctly as required by POSIX, so do not add quotes.
15466 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15467 ;;
15468 esac |
15469 sort
15470 ) |
15471 sed '
15472 /^ac_cv_env_/b end
15473 t clear
15474 :clear
15475 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15476 t end
15477 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15478 :end' >>confcache
15479 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15480 if test -w "$cache_file"; then
15481 if test "x$cache_file" != "x/dev/null"; then
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15483 $as_echo "$as_me: updating cache $cache_file" >&6;}
15484 if test ! -f "$cache_file" || test -h "$cache_file"; then
15485 cat confcache >"$cache_file"
15486 else
15487 case $cache_file in #(
15488 */* | ?:*)
15489 mv -f confcache "$cache_file"$$ &&
15490 mv -f "$cache_file"$$ "$cache_file" ;; #(
15491 *)
15492 mv -f confcache "$cache_file" ;;
15493 esac
15494 fi
15495 fi
15496 else
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15498 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15499 fi
15500 fi
15501 rm -f confcache
15502
15503 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15504 # Let make expand exec_prefix.
15505 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15506
15507 DEFS=-DHAVE_CONFIG_H
15508
15509 ac_libobjs=
15510 ac_ltlibobjs=
15511 U=
15512 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15513 # 1. Remove the extension, and $U if already installed.
15514 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15515 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15516 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15517 # will be set to the directory where LIBOBJS objects are built.
15518 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15519 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15520 done
15521 LIB@&t@OBJS=$ac_libobjs
15522
15523 LTLIBOBJS=$ac_ltlibobjs
15524
15525
15526 if test -n "$EXEEXT"; then
15527 am__EXEEXT_TRUE=
15528 am__EXEEXT_FALSE='#'
15529 else
15530 am__EXEEXT_TRUE='#'
15531 am__EXEEXT_FALSE=
15532 fi
15533
15534 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15535 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15537 fi
15538 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15539 as_fn_error $? "conditional \"AMDEP\" was never defined.
15540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15541 fi
15542 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15543 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15545 fi
15546 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15547 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15549 fi
15550 if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15551 as_fn_error $? "conditional \"HAS_SWIG\" was never defined.
15552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15553 fi
15554 if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15555 as_fn_error $? "conditional \"HAS_SWIG\" was never defined.
15556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15557 fi
15558 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15559 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15561 fi
15562 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
15563 as_fn_error $? "conditional \"DEBUG\" was never defined.
15564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15565 fi
15566 if test -z "${IBDM_REF_IS_USED_TRUE}" && test -z "${IBDM_REF_IS_USED_FALSE}"; then
15567 as_fn_error $? "conditional \"IBDM_REF_IS_USED\" was never defined.
15568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15569 fi
15570 if test -z "${OSM_VENDOR_TS_TRUE}" && test -z "${OSM_VENDOR_TS_FALSE}"; then
15571 as_fn_error $? "conditional \"OSM_VENDOR_TS\" was never defined.
15572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15573 fi
15574 if test -z "${OSM_VENDOR_MTL_TRUE}" && test -z "${OSM_VENDOR_MTL_FALSE}"; then
15575 as_fn_error $? "conditional \"OSM_VENDOR_MTL\" was never defined.
15576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15577 fi
15578 if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then
15579 as_fn_error $? "conditional \"OSM_VENDOR_SIM\" was never defined.
15580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15581 fi
15582 if test -z "${OSM_BUILD_OPENIB_TRUE}" && test -z "${OSM_BUILD_OPENIB_FALSE}"; then
15583 as_fn_error $? "conditional \"OSM_BUILD_OPENIB\" was never defined.
15584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15585 fi
15586
15587 : "${CONFIG_STATUS=./config.status}"
15588 ac_write_fail=0
15589 ac_clean_files_save=$ac_clean_files
15590 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15592 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15593 as_write_fail=0
15594 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15595 #! $SHELL
15596 # Generated by $as_me.
15597 # Run this file to recreate the current configuration.
15598 # Compiler output produced by configure, useful for debugging
15599 # configure, is in config.log if it exists.
15600
15601 debug=false
15602 ac_cs_recheck=false
15603 ac_cs_silent=false
15604
15605 SHELL=\${CONFIG_SHELL-$SHELL}
15606 export SHELL
15607 _ASEOF
15608 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15609 ## -------------------- ##
15610 ## M4sh Initialization. ##
15611 ## -------------------- ##
15612
15613 # Be more Bourne compatible
15614 DUALCASE=1; export DUALCASE # for MKS sh
15615 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15616 emulate sh
15617 NULLCMD=:
15618 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15619 # is contrary to our usage. Disable this feature.
15620 alias -g '${1+"$@"}'='"$@"'
15621 setopt NO_GLOB_SUBST
15622 else
15623 case `(set -o) 2>/dev/null` in @%:@(
15624 *posix*) :
15625 set -o posix ;; @%:@(
15626 *) :
15627 ;;
15628 esac
15629 fi
15630
15631
15632 as_nl='
15633 '
15634 export as_nl
15635 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15636 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15637 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15638 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15639 # Prefer a ksh shell builtin over an external printf program on Solaris,
15640 # but without wasting forks for bash or zsh.
15641 if test -z "$BASH_VERSION$ZSH_VERSION" \
15642 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15643 as_echo='print -r --'
15644 as_echo_n='print -rn --'
15645 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15646 as_echo='printf %s\n'
15647 as_echo_n='printf %s'
15648 else
15649 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15650 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15651 as_echo_n='/usr/ucb/echo -n'
15652 else
15653 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15654 as_echo_n_body='eval
15655 arg=$1;
15656 case $arg in @%:@(
15657 *"$as_nl"*)
15658 expr "X$arg" : "X\\(.*\\)$as_nl";
15659 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15660 esac;
15661 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15662 '
15663 export as_echo_n_body
15664 as_echo_n='sh -c $as_echo_n_body as_echo'
15665 fi
15666 export as_echo_body
15667 as_echo='sh -c $as_echo_body as_echo'
15668 fi
15669
15670 # The user is always right.
15671 if test "${PATH_SEPARATOR+set}" != set; then
15672 PATH_SEPARATOR=:
15673 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15674 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15675 PATH_SEPARATOR=';'
15676 }
15677 fi
15678
15679
15680 # IFS
15681 # We need space, tab and new line, in precisely that order. Quoting is
15682 # there to prevent editors from complaining about space-tab.
15683 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15684 # splitting by setting IFS to empty value.)
15685 IFS=" "" $as_nl"
15686
15687 # Find who we are. Look in the path if we contain no directory separator.
15688 as_myself=
15689 case $0 in @%:@((
15690 *[\\/]* ) as_myself=$0 ;;
15691 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15692 for as_dir in $PATH
15693 do
15694 IFS=$as_save_IFS
15695 test -z "$as_dir" && as_dir=.
15696 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15697 done
15698 IFS=$as_save_IFS
15699
15700 ;;
15701 esac
15702 # We did not find ourselves, most probably we were run as `sh COMMAND'
15703 # in which case we are not to be found in the path.
15704 if test "x$as_myself" = x; then
15705 as_myself=$0
15706 fi
15707 if test ! -f "$as_myself"; then
15708 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15709 exit 1
15710 fi
15711
15712 # Unset variables that we do not need and which cause bugs (e.g. in
15713 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15714 # suppresses any "Segmentation fault" message there. '((' could
15715 # trigger a bug in pdksh 5.2.14.
15716 for as_var in BASH_ENV ENV MAIL MAILPATH
15717 do eval test x\${$as_var+set} = xset \
15718 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15719 done
15720 PS1='$ '
15721 PS2='> '
15722 PS4='+ '
15723
15724 # NLS nuisances.
15725 LC_ALL=C
15726 export LC_ALL
15727 LANGUAGE=C
15728 export LANGUAGE
15729
15730 # CDPATH.
15731 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15732
15733
15734 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15735 @%:@ ----------------------------------------
15736 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15737 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15738 @%:@ script with STATUS, using 1 if that was 0.
15739 as_fn_error ()
15740 {
15741 as_status=$1; test $as_status -eq 0 && as_status=1
15742 if test "$4"; then
15743 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15744 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15745 fi
15746 $as_echo "$as_me: error: $2" >&2
15747 as_fn_exit $as_status
15748 } @%:@ as_fn_error
15749
15750
15751 @%:@ as_fn_set_status STATUS
15752 @%:@ -----------------------
15753 @%:@ Set @S|@? to STATUS, without forking.
15754 as_fn_set_status ()
15755 {
15756 return $1
15757 } @%:@ as_fn_set_status
15758
15759 @%:@ as_fn_exit STATUS
15760 @%:@ -----------------
15761 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15762 as_fn_exit ()
15763 {
15764 set +e
15765 as_fn_set_status $1
15766 exit $1
15767 } @%:@ as_fn_exit
15768
15769 @%:@ as_fn_unset VAR
15770 @%:@ ---------------
15771 @%:@ Portably unset VAR.
15772 as_fn_unset ()
15773 {
15774 { eval $1=; unset $1;}
15775 }
15776 as_unset=as_fn_unset
15777 @%:@ as_fn_append VAR VALUE
15778 @%:@ ----------------------
15779 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15780 @%:@ advantage of any shell optimizations that allow amortized linear growth over
15781 @%:@ repeated appends, instead of the typical quadratic growth present in naive
15782 @%:@ implementations.
15783 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15784 eval 'as_fn_append ()
15785 {
15786 eval $1+=\$2
15787 }'
15788 else
15789 as_fn_append ()
15790 {
15791 eval $1=\$$1\$2
15792 }
15793 fi # as_fn_append
15794
15795 @%:@ as_fn_arith ARG...
15796 @%:@ ------------------
15797 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15798 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15799 @%:@ must be portable across @S|@(()) and expr.
15800 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15801 eval 'as_fn_arith ()
15802 {
15803 as_val=$(( $* ))
15804 }'
15805 else
15806 as_fn_arith ()
15807 {
15808 as_val=`expr "$@" || test $? -eq 1`
15809 }
15810 fi # as_fn_arith
15811
15812
15813 if expr a : '\(a\)' >/dev/null 2>&1 &&
15814 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15815 as_expr=expr
15816 else
15817 as_expr=false
15818 fi
15819
15820 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15821 as_basename=basename
15822 else
15823 as_basename=false
15824 fi
15825
15826 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15827 as_dirname=dirname
15828 else
15829 as_dirname=false
15830 fi
15831
15832 as_me=`$as_basename -- "$0" ||
15833 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15834 X"$0" : 'X\(//\)$' \| \
15835 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15836 $as_echo X/"$0" |
15837 sed '/^.*\/\([^/][^/]*\)\/*$/{
15838 s//\1/
15839 q
15840 }
15841 /^X\/\(\/\/\)$/{
15842 s//\1/
15843 q
15844 }
15845 /^X\/\(\/\).*/{
15846 s//\1/
15847 q
15848 }
15849 s/.*/./; q'`
15850
15851 # Avoid depending upon Character Ranges.
15852 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15853 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15854 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15855 as_cr_digits='0123456789'
15856 as_cr_alnum=$as_cr_Letters$as_cr_digits
15857
15858 ECHO_C= ECHO_N= ECHO_T=
15859 case `echo -n x` in @%:@(((((
15860 -n*)
15861 case `echo 'xy\c'` in
15862 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15863 xy) ECHO_C='\c';;
15864 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15865 ECHO_T=' ';;
15866 esac;;
15867 *)
15868 ECHO_N='-n';;
15869 esac
15870
15871 rm -f conf$$ conf$$.exe conf$$.file
15872 if test -d conf$$.dir; then
15873 rm -f conf$$.dir/conf$$.file
15874 else
15875 rm -f conf$$.dir
15876 mkdir conf$$.dir 2>/dev/null
15877 fi
15878 if (echo >conf$$.file) 2>/dev/null; then
15879 if ln -s conf$$.file conf$$ 2>/dev/null; then
15880 as_ln_s='ln -s'
15881 # ... but there are two gotchas:
15882 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15883 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15884 # In both cases, we have to default to `cp -pR'.
15885 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15886 as_ln_s='cp -pR'
15887 elif ln conf$$.file conf$$ 2>/dev/null; then
15888 as_ln_s=ln
15889 else
15890 as_ln_s='cp -pR'
15891 fi
15892 else
15893 as_ln_s='cp -pR'
15894 fi
15895 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15896 rmdir conf$$.dir 2>/dev/null
15897
15898
15899 @%:@ as_fn_mkdir_p
15900 @%:@ -------------
15901 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15902 as_fn_mkdir_p ()
15903 {
15904
15905 case $as_dir in #(
15906 -*) as_dir=./$as_dir;;
15907 esac
15908 test -d "$as_dir" || eval $as_mkdir_p || {
15909 as_dirs=
15910 while :; do
15911 case $as_dir in #(
15912 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15913 *) as_qdir=$as_dir;;
15914 esac
15915 as_dirs="'$as_qdir' $as_dirs"
15916 as_dir=`$as_dirname -- "$as_dir" ||
15917 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15918 X"$as_dir" : 'X\(//\)[^/]' \| \
15919 X"$as_dir" : 'X\(//\)$' \| \
15920 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15921 $as_echo X"$as_dir" |
15922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15923 s//\1/
15924 q
15925 }
15926 /^X\(\/\/\)[^/].*/{
15927 s//\1/
15928 q
15929 }
15930 /^X\(\/\/\)$/{
15931 s//\1/
15932 q
15933 }
15934 /^X\(\/\).*/{
15935 s//\1/
15936 q
15937 }
15938 s/.*/./; q'`
15939 test -d "$as_dir" && break
15940 done
15941 test -z "$as_dirs" || eval "mkdir $as_dirs"
15942 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15943
15944
15945 } @%:@ as_fn_mkdir_p
15946 if mkdir -p . 2>/dev/null; then
15947 as_mkdir_p='mkdir -p "$as_dir"'
15948 else
15949 test -d ./-p && rmdir ./-p
15950 as_mkdir_p=false
15951 fi
15952
15953
15954 @%:@ as_fn_executable_p FILE
15955 @%:@ -----------------------
15956 @%:@ Test if FILE is an executable regular file.
15957 as_fn_executable_p ()
15958 {
15959 test -f "$1" && test -x "$1"
15960 } @%:@ as_fn_executable_p
15961 as_test_x='test -x'
15962 as_executable_p=as_fn_executable_p
15963
15964 # Sed expression to map a string onto a valid CPP name.
15965 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15966
15967 # Sed expression to map a string onto a valid variable name.
15968 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15969
15970
15971 exec 6>&1
15972 ## ----------------------------------- ##
15973 ## Main body of $CONFIG_STATUS script. ##
15974 ## ----------------------------------- ##
15975 _ASEOF
15976 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15977
15978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15979 # Save the log message, to keep $0 and so on meaningful, and to
15980 # report actual input values of CONFIG_FILES etc. instead of their
15981 # values after options handling.
15982 ac_log="
15983 This file was extended by ibmgtsim $as_me 1.5.7, which was
15984 generated by GNU Autoconf 2.69. Invocation command line was
15985
15986 CONFIG_FILES = $CONFIG_FILES
15987 CONFIG_HEADERS = $CONFIG_HEADERS
15988 CONFIG_LINKS = $CONFIG_LINKS
15989 CONFIG_COMMANDS = $CONFIG_COMMANDS
15990 $ $0 $@
15991
15992 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15993 "
15994
15995 _ACEOF
15996
15997 case $ac_config_files in *"
15998 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15999 esac
16000
16001 case $ac_config_headers in *"
16002 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16003 esac
16004
16005
16006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16007 # Files that config.status was made for.
16008 config_files="$ac_config_files"
16009 config_headers="$ac_config_headers"
16010 config_commands="$ac_config_commands"
16011
16012 _ACEOF
16013
16014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16015 ac_cs_usage="\
16016 \`$as_me' instantiates files and other configuration actions
16017 from templates according to the current configuration. Unless the files
16018 and actions are specified as TAGs, all are instantiated by default.
16019
16020 Usage: $0 [OPTION]... [TAG]...
16021
16022 -h, --help print this help, then exit
16023 -V, --version print version number and configuration settings, then exit
16024 --config print configuration, then exit
16025 -q, --quiet, --silent
16026 do not print progress messages
16027 -d, --debug don't remove temporary files
16028 --recheck update $as_me by reconfiguring in the same conditions
16029 --file=FILE[:TEMPLATE]
16030 instantiate the configuration file FILE
16031 --header=FILE[:TEMPLATE]
16032 instantiate the configuration header FILE
16033
16034 Configuration files:
16035 $config_files
16036
16037 Configuration headers:
16038 $config_headers
16039
16040 Configuration commands:
16041 $config_commands
16042
16043 Report bugs to the package provider."
16044
16045 _ACEOF
16046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16047 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16048 ac_cs_version="\\
16049 ibmgtsim config.status 1.5.7
16050 configured by $0, generated by GNU Autoconf 2.69,
16051 with options \\"\$ac_cs_config\\"
16052
16053 Copyright (C) 2012 Free Software Foundation, Inc.
16054 This config.status script is free software; the Free Software Foundation
16055 gives unlimited permission to copy, distribute and modify it."
16056
16057 ac_pwd='$ac_pwd'
16058 srcdir='$srcdir'
16059 INSTALL='$INSTALL'
16060 MKDIR_P='$MKDIR_P'
16061 AWK='$AWK'
16062 test -n "\$AWK" || AWK=awk
16063 _ACEOF
16064
16065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16066 # The default lists apply if the user does not specify any file.
16067 ac_need_defaults=:
16068 while test $# != 0
16069 do
16070 case $1 in
16071 --*=?*)
16072 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16073 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16074 ac_shift=:
16075 ;;
16076 --*=)
16077 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16078 ac_optarg=
16079 ac_shift=:
16080 ;;
16081 *)
16082 ac_option=$1
16083 ac_optarg=$2
16084 ac_shift=shift
16085 ;;
16086 esac
16087
16088 case $ac_option in
16089 # Handling of the options.
16090 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16091 ac_cs_recheck=: ;;
16092 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16093 $as_echo "$ac_cs_version"; exit ;;
16094 --config | --confi | --conf | --con | --co | --c )
16095 $as_echo "$ac_cs_config"; exit ;;
16096 --debug | --debu | --deb | --de | --d | -d )
16097 debug=: ;;
16098 --file | --fil | --fi | --f )
16099 $ac_shift
16100 case $ac_optarg in
16101 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16102 '') as_fn_error $? "missing file argument" ;;
16103 esac
16104 as_fn_append CONFIG_FILES " '$ac_optarg'"
16105 ac_need_defaults=false;;
16106 --header | --heade | --head | --hea )
16107 $ac_shift
16108 case $ac_optarg in
16109 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16110 esac
16111 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16112 ac_need_defaults=false;;
16113 --he | --h)
16114 # Conflict between --help and --header
16115 as_fn_error $? "ambiguous option: \`$1'
16116 Try \`$0 --help' for more information.";;
16117 --help | --hel | -h )
16118 $as_echo "$ac_cs_usage"; exit ;;
16119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16120 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16121 ac_cs_silent=: ;;
16122
16123 # This is an error.
16124 -*) as_fn_error $? "unrecognized option: \`$1'
16125 Try \`$0 --help' for more information." ;;
16126
16127 *) as_fn_append ac_config_targets " $1"
16128 ac_need_defaults=false ;;
16129
16130 esac
16131 shift
16132 done
16133
16134 ac_configure_extra_args=
16135
16136 if $ac_cs_silent; then
16137 exec 6>/dev/null
16138 ac_configure_extra_args="$ac_configure_extra_args --silent"
16139 fi
16140
16141 _ACEOF
16142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16143 if \$ac_cs_recheck; then
16144 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16145 shift
16146 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16147 CONFIG_SHELL='$SHELL'
16148 export CONFIG_SHELL
16149 exec "\$@"
16150 fi
16151
16152 _ACEOF
16153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16154 exec 5>>config.log
16155 {
16156 echo
16157 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16158 @%:@@%:@ Running $as_me. @%:@@%:@
16159 _ASBOX
16160 $as_echo "$ac_log"
16161 } >&5
16162
16163 _ACEOF
16164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16165 #
16166 # INIT-COMMANDS
16167 #
16168 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16169
16170
16171 # The HP-UX ksh and POSIX shell print the target directory to stdout
16172 # if CDPATH is set.
16173 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16174
16175 sed_quote_subst='$sed_quote_subst'
16176 double_quote_subst='$double_quote_subst'
16177 delay_variable_subst='$delay_variable_subst'
16178 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16179 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16180 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16181 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16182 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16183 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16184 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16185 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16186 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16187 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16188 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16189 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16190 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16191 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16192 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16193 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16194 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16195 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16196 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16197 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16198 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16199 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16200 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16201 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16202 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16203 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16204 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16205 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16206 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16207 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16208 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16209 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16210 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16211 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16212 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16213 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16214 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16215 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16216 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16217 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16218 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16219 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16220 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16221 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16222 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16223 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16224 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16225 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16226 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16227 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16228 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16229 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16230 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16231 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16232 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16233 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16234 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16235 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16236 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16237 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16238 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16239 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16240 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16241 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16242 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16243 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16244 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16245 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16246 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16247 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16248 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16249 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16250 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16251 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16252 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16253 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16254 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16255 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16256 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16257 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16258 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16259 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16260 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16261 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16262 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16263 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16264 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16265 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16266 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16267 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16268 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16269 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16270 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16271 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16272 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16273 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16274 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16275 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16276 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16277 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16278 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16279 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16280 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16281 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16282 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16283 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16284 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16285 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16286 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16287 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16288 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16289 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16290 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16291 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16292 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16293 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16294 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16295 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16296 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16297 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16298 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16299 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16300 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16301 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16302 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16303 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16304 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16305 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16306 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16307 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16308 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16309 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16310 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16311 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16312 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16313 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16314 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16315 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16316 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16317 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16318 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16319 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16320 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16321 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16322 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16323 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16324 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16325 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16326 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16327 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16328 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16329 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16330 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16331 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16332 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16333 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16334 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16335 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16336 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16337 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16338 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16339 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16340 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16341 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16342 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16343 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16344 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16345 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16346 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16347 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16348 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16349
16350 LTCC='$LTCC'
16351 LTCFLAGS='$LTCFLAGS'
16352 compiler='$compiler_DEFAULT'
16353
16354 # Quote evaled strings.
16355 for var in SED \
16356 GREP \
16357 EGREP \
16358 FGREP \
16359 LD \
16360 NM \
16361 LN_S \
16362 lt_SP2NL \
16363 lt_NL2SP \
16364 reload_flag \
16365 OBJDUMP \
16366 deplibs_check_method \
16367 file_magic_cmd \
16368 AR \
16369 AR_FLAGS \
16370 STRIP \
16371 RANLIB \
16372 CC \
16373 CFLAGS \
16374 compiler \
16375 lt_cv_sys_global_symbol_pipe \
16376 lt_cv_sys_global_symbol_to_cdecl \
16377 lt_cv_sys_global_symbol_to_c_name_address \
16378 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16379 SHELL \
16380 ECHO \
16381 lt_prog_compiler_no_builtin_flag \
16382 lt_prog_compiler_wl \
16383 lt_prog_compiler_pic \
16384 lt_prog_compiler_static \
16385 lt_cv_prog_compiler_c_o \
16386 need_locks \
16387 DSYMUTIL \
16388 NMEDIT \
16389 LIPO \
16390 OTOOL \
16391 OTOOL64 \
16392 shrext_cmds \
16393 export_dynamic_flag_spec \
16394 whole_archive_flag_spec \
16395 compiler_needs_object \
16396 with_gnu_ld \
16397 allow_undefined_flag \
16398 no_undefined_flag \
16399 hardcode_libdir_flag_spec \
16400 hardcode_libdir_flag_spec_ld \
16401 hardcode_libdir_separator \
16402 fix_srcfile_path \
16403 exclude_expsyms \
16404 include_expsyms \
16405 file_list_spec \
16406 variables_saved_for_relink \
16407 libname_spec \
16408 library_names_spec \
16409 soname_spec \
16410 finish_eval \
16411 old_striplib \
16412 striplib \
16413 compiler_lib_search_dirs \
16414 predep_objects \
16415 postdep_objects \
16416 predeps \
16417 postdeps \
16418 compiler_lib_search_path \
16419 LD_CXX \
16420 compiler_CXX \
16421 lt_prog_compiler_no_builtin_flag_CXX \
16422 lt_prog_compiler_wl_CXX \
16423 lt_prog_compiler_pic_CXX \
16424 lt_prog_compiler_static_CXX \
16425 lt_cv_prog_compiler_c_o_CXX \
16426 export_dynamic_flag_spec_CXX \
16427 whole_archive_flag_spec_CXX \
16428 compiler_needs_object_CXX \
16429 with_gnu_ld_CXX \
16430 allow_undefined_flag_CXX \
16431 no_undefined_flag_CXX \
16432 hardcode_libdir_flag_spec_CXX \
16433 hardcode_libdir_flag_spec_ld_CXX \
16434 hardcode_libdir_separator_CXX \
16435 fix_srcfile_path_CXX \
16436 exclude_expsyms_CXX \
16437 include_expsyms_CXX \
16438 file_list_spec_CXX \
16439 compiler_lib_search_dirs_CXX \
16440 predep_objects_CXX \
16441 postdep_objects_CXX \
16442 predeps_CXX \
16443 postdeps_CXX \
16444 compiler_lib_search_path_CXX; do
16445 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16446 *[\\\\\\\`\\"\\\$]*)
16447 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16448 ;;
16449 *)
16450 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16451 ;;
16452 esac
16453 done
16454
16455 # Double-quote double-evaled strings.
16456 for var in reload_cmds \
16457 old_postinstall_cmds \
16458 old_postuninstall_cmds \
16459 old_archive_cmds \
16460 extract_expsyms_cmds \
16461 old_archive_from_new_cmds \
16462 old_archive_from_expsyms_cmds \
16463 archive_cmds \
16464 archive_expsym_cmds \
16465 module_cmds \
16466 module_expsym_cmds \
16467 export_symbols_cmds \
16468 prelink_cmds \
16469 postinstall_cmds \
16470 postuninstall_cmds \
16471 finish_cmds \
16472 sys_lib_search_path_spec \
16473 sys_lib_dlsearch_path_spec \
16474 old_archive_cmds_CXX \
16475 old_archive_from_new_cmds_CXX \
16476 old_archive_from_expsyms_cmds_CXX \
16477 archive_cmds_CXX \
16478 archive_expsym_cmds_CXX \
16479 module_cmds_CXX \
16480 module_expsym_cmds_CXX \
16481 export_symbols_cmds_CXX \
16482 prelink_cmds_CXX; do
16483 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16484 *[\\\\\\\`\\"\\\$]*)
16485 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16486 ;;
16487 *)
16488 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16489 ;;
16490 esac
16491 done
16492
16493 # Fix-up fallback echo if it was mangled by the above quoting rules.
16494 case \$lt_ECHO in
16495 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16496 ;;
16497 esac
16498
16499 ac_aux_dir='$ac_aux_dir'
16500 xsi_shell='$xsi_shell'
16501 lt_shell_append='$lt_shell_append'
16502
16503 # See if we are running on zsh, and set the options which allow our
16504 # commands through without removal of \ escapes INIT.
16505 if test -n "\${ZSH_VERSION+set}" ; then
16506 setopt NO_GLOB_SUBST
16507 fi
16508
16509
16510 PACKAGE='$PACKAGE'
16511 VERSION='$VERSION'
16512 TIMESTAMP='$TIMESTAMP'
16513 RM='$RM'
16514 ofile='$ofile'
16515
16516
16517
16518
16519
16520
16521 _ACEOF
16522
16523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16524
16525 # Handling of arguments.
16526 for ac_config_target in $ac_config_targets
16527 do
16528 case $ac_config_target in
16529 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16530 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16531 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16532 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16533 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16534 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
16535 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16536 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16537
16538 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16539 esac
16540 done
16541
16542
16543 # If the user did not use the arguments to specify the items to instantiate,
16544 # then the envvar interface is used. Set only those that are not.
16545 # We use the long form for the default assignment because of an extremely
16546 # bizarre bug on SunOS 4.1.3.
16547 if $ac_need_defaults; then
16548 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16549 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16550 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16551 fi
16552
16553 # Have a temporary directory for convenience. Make it in the build tree
16554 # simply because there is no reason against having it here, and in addition,
16555 # creating and moving files from /tmp can sometimes cause problems.
16556 # Hook for its removal unless debugging.
16557 # Note that there is a small window in which the directory will not be cleaned:
16558 # after its creation but before its name has been assigned to `$tmp'.
16559 $debug ||
16560 {
16561 tmp= ac_tmp=
16562 trap 'exit_status=$?
16563 : "${ac_tmp:=$tmp}"
16564 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16565 ' 0
16566 trap 'as_fn_exit 1' 1 2 13 15
16567 }
16568 # Create a (secure) tmp directory for tmp files.
16569
16570 {
16571 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16572 test -d "$tmp"
16573 } ||
16574 {
16575 tmp=./conf$$-$RANDOM
16576 (umask 077 && mkdir "$tmp")
16577 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16578 ac_tmp=$tmp
16579
16580 # Set up the scripts for CONFIG_FILES section.
16581 # No need to generate them if there are no CONFIG_FILES.
16582 # This happens for instance with `./config.status config.h'.
16583 if test -n "$CONFIG_FILES"; then
16584
16585
16586 ac_cr=`echo X | tr X '\015'`
16587 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16588 # But we know of no other shell where ac_cr would be empty at this
16589 # point, so we can use a bashism as a fallback.
16590 if test "x$ac_cr" = x; then
16591 eval ac_cr=\$\'\\r\'
16592 fi
16593 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16594 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16595 ac_cs_awk_cr='\\r'
16596 else
16597 ac_cs_awk_cr=$ac_cr
16598 fi
16599
16600 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16601 _ACEOF
16602
16603
16604 {
16605 echo "cat >conf$$subs.awk <<_ACEOF" &&
16606 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16607 echo "_ACEOF"
16608 } >conf$$subs.sh ||
16609 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16610 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16611 ac_delim='%!_!# '
16612 for ac_last_try in false false false false false :; do
16613 . ./conf$$subs.sh ||
16614 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16615
16616 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16617 if test $ac_delim_n = $ac_delim_num; then
16618 break
16619 elif $ac_last_try; then
16620 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16621 else
16622 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16623 fi
16624 done
16625 rm -f conf$$subs.sh
16626
16627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16628 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16629 _ACEOF
16630 sed -n '
16631 h
16632 s/^/S["/; s/!.*/"]=/
16633 p
16634 g
16635 s/^[^!]*!//
16636 :repl
16637 t repl
16638 s/'"$ac_delim"'$//
16639 t delim
16640 :nl
16641 h
16642 s/\(.\{148\}\)..*/\1/
16643 t more1
16644 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16645 p
16646 n
16647 b repl
16648 :more1
16649 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16650 p
16651 g
16652 s/.\{148\}//
16653 t nl
16654 :delim
16655 h
16656 s/\(.\{148\}\)..*/\1/
16657 t more2
16658 s/["\\]/\\&/g; s/^/"/; s/$/"/
16659 p
16660 b
16661 :more2
16662 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16663 p
16664 g
16665 s/.\{148\}//
16666 t delim
16667 ' <conf$$subs.awk | sed '
16668 /^[^""]/{
16669 N
16670 s/\n//
16671 }
16672 ' >>$CONFIG_STATUS || ac_write_fail=1
16673 rm -f conf$$subs.awk
16674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16675 _ACAWK
16676 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16677 for (key in S) S_is_set[key] = 1
16678 FS = ""
16679
16680 }
16681 {
16682 line = $ 0
16683 nfields = split(line, field, "@")
16684 substed = 0
16685 len = length(field[1])
16686 for (i = 2; i < nfields; i++) {
16687 key = field[i]
16688 keylen = length(key)
16689 if (S_is_set[key]) {
16690 value = S[key]
16691 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16692 len += length(value) + length(field[++i])
16693 substed = 1
16694 } else
16695 len += 1 + keylen
16696 }
16697
16698 print line
16699 }
16700
16701 _ACAWK
16702 _ACEOF
16703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16704 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16705 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16706 else
16707 cat
16708 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16709 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16710 _ACEOF
16711
16712 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16713 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16714 # trailing colons and then remove the whole line if VPATH becomes empty
16715 # (actually we leave an empty line to preserve line numbers).
16716 if test "x$srcdir" = x.; then
16717 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16718 h
16719 s///
16720 s/^/:/
16721 s/[ ]*$/:/
16722 s/:\$(srcdir):/:/g
16723 s/:\${srcdir}:/:/g
16724 s/:@srcdir@:/:/g
16725 s/^:*//
16726 s/:*$//
16727 x
16728 s/\(=[ ]*\).*/\1/
16729 G
16730 s/\n//
16731 s/^[^=]*=[ ]*$//
16732 }'
16733 fi
16734
16735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16736 fi # test -n "$CONFIG_FILES"
16737
16738 # Set up the scripts for CONFIG_HEADERS section.
16739 # No need to generate them if there are no CONFIG_HEADERS.
16740 # This happens for instance with `./config.status Makefile'.
16741 if test -n "$CONFIG_HEADERS"; then
16742 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16743 BEGIN {
16744 _ACEOF
16745
16746 # Transform confdefs.h into an awk script `defines.awk', embedded as
16747 # here-document in config.status, that substitutes the proper values into
16748 # config.h.in to produce config.h.
16749
16750 # Create a delimiter string that does not exist in confdefs.h, to ease
16751 # handling of long lines.
16752 ac_delim='%!_!# '
16753 for ac_last_try in false false :; do
16754 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16755 if test -z "$ac_tt"; then
16756 break
16757 elif $ac_last_try; then
16758 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16759 else
16760 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16761 fi
16762 done
16763
16764 # For the awk script, D is an array of macro values keyed by name,
16765 # likewise P contains macro parameters if any. Preserve backslash
16766 # newline sequences.
16767
16768 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16769 sed -n '
16770 s/.\{148\}/&'"$ac_delim"'/g
16771 t rset
16772 :rset
16773 s/^[ ]*#[ ]*define[ ][ ]*/ /
16774 t def
16775 d
16776 :def
16777 s/\\$//
16778 t bsnl
16779 s/["\\]/\\&/g
16780 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16781 D["\1"]=" \3"/p
16782 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16783 d
16784 :bsnl
16785 s/["\\]/\\&/g
16786 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16787 D["\1"]=" \3\\\\\\n"\\/p
16788 t cont
16789 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16790 t cont
16791 d
16792 :cont
16793 n
16794 s/.\{148\}/&'"$ac_delim"'/g
16795 t clear
16796 :clear
16797 s/\\$//
16798 t bsnlc
16799 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16800 d
16801 :bsnlc
16802 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16803 b cont
16804 ' <confdefs.h | sed '
16805 s/'"$ac_delim"'/"\\\
16806 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16807
16808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16809 for (key in D) D_is_set[key] = 1
16810 FS = ""
16811 }
16812 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16813 line = \$ 0
16814 split(line, arg, " ")
16815 if (arg[1] == "#") {
16816 defundef = arg[2]
16817 mac1 = arg[3]
16818 } else {
16819 defundef = substr(arg[1], 2)
16820 mac1 = arg[2]
16821 }
16822 split(mac1, mac2, "(") #)
16823 macro = mac2[1]
16824 prefix = substr(line, 1, index(line, defundef) - 1)
16825 if (D_is_set[macro]) {
16826 # Preserve the white space surrounding the "#".
16827 print prefix "define", macro P[macro] D[macro]
16828 next
16829 } else {
16830 # Replace #undef with comments. This is necessary, for example,
16831 # in the case of _POSIX_SOURCE, which is predefined and required
16832 # on some systems where configure will not decide to define it.
16833 if (defundef == "undef") {
16834 print "/*", prefix defundef, macro, "*/"
16835 next
16836 }
16837 }
16838 }
16839 { print }
16840 _ACAWK
16841 _ACEOF
16842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16843 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16844 fi # test -n "$CONFIG_HEADERS"
16845
16846
16847 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16848 shift
16849 for ac_tag
16850 do
16851 case $ac_tag in
16852 :[FHLC]) ac_mode=$ac_tag; continue;;
16853 esac
16854 case $ac_mode$ac_tag in
16855 :[FHL]*:*);;
16856 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16857 :[FH]-) ac_tag=-:-;;
16858 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16859 esac
16860 ac_save_IFS=$IFS
16861 IFS=:
16862 set x $ac_tag
16863 IFS=$ac_save_IFS
16864 shift
16865 ac_file=$1
16866 shift
16867
16868 case $ac_mode in
16869 :L) ac_source=$1;;
16870 :[FH])
16871 ac_file_inputs=
16872 for ac_f
16873 do
16874 case $ac_f in
16875 -) ac_f="$ac_tmp/stdin";;
16876 *) # Look for the file first in the build tree, then in the source tree
16877 # (if the path is not absolute). The absolute path cannot be DOS-style,
16878 # because $ac_f cannot contain `:'.
16879 test -f "$ac_f" ||
16880 case $ac_f in
16881 [\\/$]*) false;;
16882 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16883 esac ||
16884 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16885 esac
16886 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16887 as_fn_append ac_file_inputs " '$ac_f'"
16888 done
16889
16890 # Let's still pretend it is `configure' which instantiates (i.e., don't
16891 # use $as_me), people would be surprised to read:
16892 # /* config.h. Generated by config.status. */
16893 configure_input='Generated from '`
16894 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16895 `' by configure.'
16896 if test x"$ac_file" != x-; then
16897 configure_input="$ac_file. $configure_input"
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16899 $as_echo "$as_me: creating $ac_file" >&6;}
16900 fi
16901 # Neutralize special characters interpreted by sed in replacement strings.
16902 case $configure_input in #(
16903 *\&* | *\|* | *\\* )
16904 ac_sed_conf_input=`$as_echo "$configure_input" |
16905 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16906 *) ac_sed_conf_input=$configure_input;;
16907 esac
16908
16909 case $ac_tag in
16910 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16911 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16912 esac
16913 ;;
16914 esac
16915
16916 ac_dir=`$as_dirname -- "$ac_file" ||
16917 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16918 X"$ac_file" : 'X\(//\)[^/]' \| \
16919 X"$ac_file" : 'X\(//\)$' \| \
16920 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16921 $as_echo X"$ac_file" |
16922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16923 s//\1/
16924 q
16925 }
16926 /^X\(\/\/\)[^/].*/{
16927 s//\1/
16928 q
16929 }
16930 /^X\(\/\/\)$/{
16931 s//\1/
16932 q
16933 }
16934 /^X\(\/\).*/{
16935 s//\1/
16936 q
16937 }
16938 s/.*/./; q'`
16939 as_dir="$ac_dir"; as_fn_mkdir_p
16940 ac_builddir=.
16941
16942 case "$ac_dir" in
16943 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16944 *)
16945 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16946 # A ".." for each directory in $ac_dir_suffix.
16947 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16948 case $ac_top_builddir_sub in
16949 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16950 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16951 esac ;;
16952 esac
16953 ac_abs_top_builddir=$ac_pwd
16954 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16955 # for backward compatibility:
16956 ac_top_builddir=$ac_top_build_prefix
16957
16958 case $srcdir in
16959 .) # We are building in place.
16960 ac_srcdir=.
16961 ac_top_srcdir=$ac_top_builddir_sub
16962 ac_abs_top_srcdir=$ac_pwd ;;
16963 [\\/]* | ?:[\\/]* ) # Absolute name.
16964 ac_srcdir=$srcdir$ac_dir_suffix;
16965 ac_top_srcdir=$srcdir
16966 ac_abs_top_srcdir=$srcdir ;;
16967 *) # Relative name.
16968 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16969 ac_top_srcdir=$ac_top_build_prefix$srcdir
16970 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16971 esac
16972 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16973
16974
16975 case $ac_mode in
16976 :F)
16977 #
16978 # CONFIG_FILE
16979 #
16980
16981 case $INSTALL in
16982 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16983 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16984 esac
16985 ac_MKDIR_P=$MKDIR_P
16986 case $MKDIR_P in
16987 [\\/$]* | ?:[\\/]* ) ;;
16988 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16989 esac
16990 _ACEOF
16991
16992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16993 # If the template does not know about datarootdir, expand it.
16994 # FIXME: This hack should be removed a few years after 2.60.
16995 ac_datarootdir_hack=; ac_datarootdir_seen=
16996 ac_sed_dataroot='
16997 /datarootdir/ {
16998 p
16999 q
17000 }
17001 /@datadir@/p
17002 /@docdir@/p
17003 /@infodir@/p
17004 /@localedir@/p
17005 /@mandir@/p'
17006 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17007 *datarootdir*) ac_datarootdir_seen=yes;;
17008 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17010 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17011 _ACEOF
17012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17013 ac_datarootdir_hack='
17014 s&@datadir@&$datadir&g
17015 s&@docdir@&$docdir&g
17016 s&@infodir@&$infodir&g
17017 s&@localedir@&$localedir&g
17018 s&@mandir@&$mandir&g
17019 s&\\\${datarootdir}&$datarootdir&g' ;;
17020 esac
17021 _ACEOF
17022
17023 # Neutralize VPATH when `$srcdir' = `.'.
17024 # Shell code in configure.ac might set extrasub.
17025 # FIXME: do we really want to maintain this feature?
17026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17027 ac_sed_extra="$ac_vpsub
17028 $extrasub
17029 _ACEOF
17030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17031 :t
17032 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17033 s|@configure_input@|$ac_sed_conf_input|;t t
17034 s&@top_builddir@&$ac_top_builddir_sub&;t t
17035 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17036 s&@srcdir@&$ac_srcdir&;t t
17037 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17038 s&@top_srcdir@&$ac_top_srcdir&;t t
17039 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17040 s&@builddir@&$ac_builddir&;t t
17041 s&@abs_builddir@&$ac_abs_builddir&;t t
17042 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17043 s&@INSTALL@&$ac_INSTALL&;t t
17044 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17045 $ac_datarootdir_hack
17046 "
17047 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17048 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17049
17050 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17051 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17052 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17053 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17055 which seems to be undefined. Please make sure it is defined" >&5
17056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17057 which seems to be undefined. Please make sure it is defined" >&2;}
17058
17059 rm -f "$ac_tmp/stdin"
17060 case $ac_file in
17061 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17062 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17063 esac \
17064 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17065 ;;
17066 :H)
17067 #
17068 # CONFIG_HEADER
17069 #
17070 if test x"$ac_file" != x-; then
17071 {
17072 $as_echo "/* $configure_input */" \
17073 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17074 } >"$ac_tmp/config.h" \
17075 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17076 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17078 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17079 else
17080 rm -f "$ac_file"
17081 mv "$ac_tmp/config.h" "$ac_file" \
17082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17083 fi
17084 else
17085 $as_echo "/* $configure_input */" \
17086 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17087 || as_fn_error $? "could not create -" "$LINENO" 5
17088 fi
17089 # Compute "$ac_file"'s index in $config_headers.
17090 _am_arg="$ac_file"
17091 _am_stamp_count=1
17092 for _am_header in $config_headers :; do
17093 case $_am_header in
17094 $_am_arg | $_am_arg:* )
17095 break ;;
17096 * )
17097 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17098 esac
17099 done
17100 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17101 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17102 X"$_am_arg" : 'X\(//\)[^/]' \| \
17103 X"$_am_arg" : 'X\(//\)$' \| \
17104 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17105 $as_echo X"$_am_arg" |
17106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17107 s//\1/
17108 q
17109 }
17110 /^X\(\/\/\)[^/].*/{
17111 s//\1/
17112 q
17113 }
17114 /^X\(\/\/\)$/{
17115 s//\1/
17116 q
17117 }
17118 /^X\(\/\).*/{
17119 s//\1/
17120 q
17121 }
17122 s/.*/./; q'`/stamp-h$_am_stamp_count
17123 ;;
17124
17125 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17126 $as_echo "$as_me: executing $ac_file commands" >&6;}
17127 ;;
17128 esac
17129
17130
17131 case $ac_file$ac_mode in
17132 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17133 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17134 # are listed without --file. Let's play safe and only enable the eval
17135 # if we detect the quoting.
17136 case $CONFIG_FILES in
17137 *\'*) eval set x "$CONFIG_FILES" ;;
17138 *) set x $CONFIG_FILES ;;
17139 esac
17140 shift
17141 for mf
17142 do
17143 # Strip MF so we end up with the name of the file.
17144 mf=`echo "$mf" | sed -e 's/:.*$//'`
17145 # Check whether this is an Automake generated Makefile or not.
17146 # We used to match only the files named `Makefile.in', but
17147 # some people rename them; so instead we look at the file content.
17148 # Grep'ing the first line is not enough: some people post-process
17149 # each Makefile.in and add a new line on top of each file to say so.
17150 # Grep'ing the whole file is not good either: AIX grep has a line
17151 # limit of 2048, but all sed's we know have understand at least 4000.
17152 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17153 dirpart=`$as_dirname -- "$mf" ||
17154 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17155 X"$mf" : 'X\(//\)[^/]' \| \
17156 X"$mf" : 'X\(//\)$' \| \
17157 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17158 $as_echo X"$mf" |
17159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17160 s//\1/
17161 q
17162 }
17163 /^X\(\/\/\)[^/].*/{
17164 s//\1/
17165 q
17166 }
17167 /^X\(\/\/\)$/{
17168 s//\1/
17169 q
17170 }
17171 /^X\(\/\).*/{
17172 s//\1/
17173 q
17174 }
17175 s/.*/./; q'`
17176 else
17177 continue
17178 fi
17179 # Extract the definition of DEPDIR, am__include, and am__quote
17180 # from the Makefile without running `make'.
17181 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17182 test -z "$DEPDIR" && continue
17183 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17184 test -z "am__include" && continue
17185 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17186 # When using ansi2knr, U may be empty or an underscore; expand it
17187 U=`sed -n 's/^U = //p' < "$mf"`
17188 # Find all dependency output files, they are included files with
17189 # $(DEPDIR) in their names. We invoke sed twice because it is the
17190 # simplest approach to changing $(DEPDIR) to its actual value in the
17191 # expansion.
17192 for file in `sed -n "
17193 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17194 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17195 # Make sure the directory exists.
17196 test -f "$dirpart/$file" && continue
17197 fdir=`$as_dirname -- "$file" ||
17198 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17199 X"$file" : 'X\(//\)[^/]' \| \
17200 X"$file" : 'X\(//\)$' \| \
17201 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17202 $as_echo X"$file" |
17203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17204 s//\1/
17205 q
17206 }
17207 /^X\(\/\/\)[^/].*/{
17208 s//\1/
17209 q
17210 }
17211 /^X\(\/\/\)$/{
17212 s//\1/
17213 q
17214 }
17215 /^X\(\/\).*/{
17216 s//\1/
17217 q
17218 }
17219 s/.*/./; q'`
17220 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17221 # echo "creating $dirpart/$file"
17222 echo '# dummy' > "$dirpart/$file"
17223 done
17224 done
17225 }
17226 ;;
17227 "libtool":C)
17228
17229 # See if we are running on zsh, and set the options which allow our
17230 # commands through without removal of \ escapes.
17231 if test -n "${ZSH_VERSION+set}" ; then
17232 setopt NO_GLOB_SUBST
17233 fi
17234
17235 cfgfile="${ofile}T"
17236 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17237 $RM "$cfgfile"
17238
17239 cat <<_LT_EOF >> "$cfgfile"
17240 #! $SHELL
17241
17242 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17243 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17244 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17245 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17246 #
17247 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17248 # 2006, 2007, 2008 Free Software Foundation, Inc.
17249 # Written by Gordon Matzigkeit, 1996
17250 #
17251 # This file is part of GNU Libtool.
17252 #
17253 # GNU Libtool is free software; you can redistribute it and/or
17254 # modify it under the terms of the GNU General Public License as
17255 # published by the Free Software Foundation; either version 2 of
17256 # the License, or (at your option) any later version.
17257 #
17258 # As a special exception to the GNU General Public License,
17259 # if you distribute this file as part of a program or library that
17260 # is built using GNU Libtool, you may include this file under the
17261 # same distribution terms that you use for the rest of that program.
17262 #
17263 # GNU Libtool is distributed in the hope that it will be useful,
17264 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17265 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17266 # GNU General Public License for more details.
17267 #
17268 # You should have received a copy of the GNU General Public License
17269 # along with GNU Libtool; see the file COPYING. If not, a copy
17270 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17271 # obtained by writing to the Free Software Foundation, Inc.,
17272 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17273
17274
17275 # The names of the tagged configurations supported by this script.
17276 available_tags="CXX "
17277
17278 # ### BEGIN LIBTOOL CONFIG
17279
17280 # Which release of libtool.m4 was used?
17281 macro_version=$macro_version
17282 macro_revision=$macro_revision
17283
17284 # Whether or not to build shared libraries.
17285 build_libtool_libs=$enable_shared
17286
17287 # Whether or not to build static libraries.
17288 build_old_libs=$enable_static
17289
17290 # What type of objects to build.
17291 pic_mode=$pic_mode
17292
17293 # Whether or not to optimize for fast installation.
17294 fast_install=$enable_fast_install
17295
17296 # The host system.
17297 host_alias=$host_alias
17298 host=$host
17299 host_os=$host_os
17300
17301 # The build system.
17302 build_alias=$build_alias
17303 build=$build
17304 build_os=$build_os
17305
17306 # A sed program that does not truncate output.
17307 SED=$lt_SED
17308
17309 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17310 Xsed="\$SED -e 1s/^X//"
17311
17312 # A grep program that handles long lines.
17313 GREP=$lt_GREP
17314
17315 # An ERE matcher.
17316 EGREP=$lt_EGREP
17317
17318 # A literal string matcher.
17319 FGREP=$lt_FGREP
17320
17321 # A BSD- or MS-compatible name lister.
17322 NM=$lt_NM
17323
17324 # Whether we need soft or hard links.
17325 LN_S=$lt_LN_S
17326
17327 # What is the maximum length of a command?
17328 max_cmd_len=$max_cmd_len
17329
17330 # Object file suffix (normally "o").
17331 objext=$ac_objext
17332
17333 # Executable file suffix (normally "").
17334 exeext=$exeext
17335
17336 # whether the shell understands "unset".
17337 lt_unset=$lt_unset
17338
17339 # turn spaces into newlines.
17340 SP2NL=$lt_lt_SP2NL
17341
17342 # turn newlines into spaces.
17343 NL2SP=$lt_lt_NL2SP
17344
17345 # How to create reloadable object files.
17346 reload_flag=$lt_reload_flag
17347 reload_cmds=$lt_reload_cmds
17348
17349 # An object symbol dumper.
17350 OBJDUMP=$lt_OBJDUMP
17351
17352 # Method to check whether dependent libraries are shared objects.
17353 deplibs_check_method=$lt_deplibs_check_method
17354
17355 # Command to use when deplibs_check_method == "file_magic".
17356 file_magic_cmd=$lt_file_magic_cmd
17357
17358 # The archiver.
17359 AR=$lt_AR
17360 AR_FLAGS=$lt_AR_FLAGS
17361
17362 # A symbol stripping program.
17363 STRIP=$lt_STRIP
17364
17365 # Commands used to install an old-style archive.
17366 RANLIB=$lt_RANLIB
17367 old_postinstall_cmds=$lt_old_postinstall_cmds
17368 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17369
17370 # A C compiler.
17371 LTCC=$lt_CC
17372
17373 # LTCC compiler flags.
17374 LTCFLAGS=$lt_CFLAGS
17375
17376 # Take the output of nm and produce a listing of raw symbols and C names.
17377 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17378
17379 # Transform the output of nm in a proper C declaration.
17380 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17381
17382 # Transform the output of nm in a C name address pair.
17383 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17384
17385 # Transform the output of nm in a C name address pair when lib prefix is needed.
17386 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17387
17388 # The name of the directory that contains temporary libtool files.
17389 objdir=$objdir
17390
17391 # Shell to use when invoking shell scripts.
17392 SHELL=$lt_SHELL
17393
17394 # An echo program that does not interpret backslashes.
17395 ECHO=$lt_ECHO
17396
17397 # Used to examine libraries when file_magic_cmd begins with "file".
17398 MAGIC_CMD=$MAGIC_CMD
17399
17400 # Must we lock files when doing compilation?
17401 need_locks=$lt_need_locks
17402
17403 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17404 DSYMUTIL=$lt_DSYMUTIL
17405
17406 # Tool to change global to local symbols on Mac OS X.
17407 NMEDIT=$lt_NMEDIT
17408
17409 # Tool to manipulate fat objects and archives on Mac OS X.
17410 LIPO=$lt_LIPO
17411
17412 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17413 OTOOL=$lt_OTOOL
17414
17415 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17416 OTOOL64=$lt_OTOOL64
17417
17418 # Old archive suffix (normally "a").
17419 libext=$libext
17420
17421 # Shared library suffix (normally ".so").
17422 shrext_cmds=$lt_shrext_cmds
17423
17424 # The commands to extract the exported symbol list from a shared archive.
17425 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17426
17427 # Variables whose values should be saved in libtool wrapper scripts and
17428 # restored at link time.
17429 variables_saved_for_relink=$lt_variables_saved_for_relink
17430
17431 # Do we need the "lib" prefix for modules?
17432 need_lib_prefix=$need_lib_prefix
17433
17434 # Do we need a version for libraries?
17435 need_version=$need_version
17436
17437 # Library versioning type.
17438 version_type=$version_type
17439
17440 # Shared library runtime path variable.
17441 runpath_var=$runpath_var
17442
17443 # Shared library path variable.
17444 shlibpath_var=$shlibpath_var
17445
17446 # Is shlibpath searched before the hard-coded library search path?
17447 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17448
17449 # Format of library name prefix.
17450 libname_spec=$lt_libname_spec
17451
17452 # List of archive names. First name is the real one, the rest are links.
17453 # The last name is the one that the linker finds with -lNAME
17454 library_names_spec=$lt_library_names_spec
17455
17456 # The coded name of the library, if different from the real name.
17457 soname_spec=$lt_soname_spec
17458
17459 # Command to use after installation of a shared archive.
17460 postinstall_cmds=$lt_postinstall_cmds
17461
17462 # Command to use after uninstallation of a shared archive.
17463 postuninstall_cmds=$lt_postuninstall_cmds
17464
17465 # Commands used to finish a libtool library installation in a directory.
17466 finish_cmds=$lt_finish_cmds
17467
17468 # As "finish_cmds", except a single script fragment to be evaled but
17469 # not shown.
17470 finish_eval=$lt_finish_eval
17471
17472 # Whether we should hardcode library paths into libraries.
17473 hardcode_into_libs=$hardcode_into_libs
17474
17475 # Compile-time system search path for libraries.
17476 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17477
17478 # Run-time system search path for libraries.
17479 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17480
17481 # Whether dlopen is supported.
17482 dlopen_support=$enable_dlopen
17483
17484 # Whether dlopen of programs is supported.
17485 dlopen_self=$enable_dlopen_self
17486
17487 # Whether dlopen of statically linked programs is supported.
17488 dlopen_self_static=$enable_dlopen_self_static
17489
17490 # Commands to strip libraries.
17491 old_striplib=$lt_old_striplib
17492 striplib=$lt_striplib
17493
17494
17495 # The linker used to build libraries.
17496 LD=$lt_LD
17497
17498 # Commands used to build an old-style archive.
17499 old_archive_cmds=$lt_old_archive_cmds
17500
17501 # A language specific compiler.
17502 CC=$lt_compiler
17503
17504 # Is the compiler the GNU compiler?
17505 with_gcc=$GCC
17506
17507 # Compiler flag to turn off builtin functions.
17508 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17509
17510 # How to pass a linker flag through the compiler.
17511 wl=$lt_lt_prog_compiler_wl
17512
17513 # Additional compiler flags for building library objects.
17514 pic_flag=$lt_lt_prog_compiler_pic
17515
17516 # Compiler flag to prevent dynamic linking.
17517 link_static_flag=$lt_lt_prog_compiler_static
17518
17519 # Does compiler simultaneously support -c and -o options?
17520 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17521
17522 # Whether or not to add -lc for building shared libraries.
17523 build_libtool_need_lc=$archive_cmds_need_lc
17524
17525 # Whether or not to disallow shared libs when runtime libs are static.
17526 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17527
17528 # Compiler flag to allow reflexive dlopens.
17529 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17530
17531 # Compiler flag to generate shared objects directly from archives.
17532 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17533
17534 # Whether the compiler copes with passing no objects directly.
17535 compiler_needs_object=$lt_compiler_needs_object
17536
17537 # Create an old-style archive from a shared archive.
17538 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17539
17540 # Create a temporary old-style archive to link instead of a shared archive.
17541 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17542
17543 # Commands used to build a shared archive.
17544 archive_cmds=$lt_archive_cmds
17545 archive_expsym_cmds=$lt_archive_expsym_cmds
17546
17547 # Commands used to build a loadable module if different from building
17548 # a shared archive.
17549 module_cmds=$lt_module_cmds
17550 module_expsym_cmds=$lt_module_expsym_cmds
17551
17552 # Whether we are building with GNU ld or not.
17553 with_gnu_ld=$lt_with_gnu_ld
17554
17555 # Flag that allows shared libraries with undefined symbols to be built.
17556 allow_undefined_flag=$lt_allow_undefined_flag
17557
17558 # Flag that enforces no undefined symbols.
17559 no_undefined_flag=$lt_no_undefined_flag
17560
17561 # Flag to hardcode \$libdir into a binary during linking.
17562 # This must work even if \$libdir does not exist
17563 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17564
17565 # If ld is used when linking, flag to hardcode \$libdir into a binary
17566 # during linking. This must work even if \$libdir does not exist.
17567 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17568
17569 # Whether we need a single "-rpath" flag with a separated argument.
17570 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17571
17572 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17573 # DIR into the resulting binary.
17574 hardcode_direct=$hardcode_direct
17575
17576 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17577 # DIR into the resulting binary and the resulting library dependency is
17578 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17579 # library is relocated.
17580 hardcode_direct_absolute=$hardcode_direct_absolute
17581
17582 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17583 # into the resulting binary.
17584 hardcode_minus_L=$hardcode_minus_L
17585
17586 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17587 # into the resulting binary.
17588 hardcode_shlibpath_var=$hardcode_shlibpath_var
17589
17590 # Set to "yes" if building a shared library automatically hardcodes DIR
17591 # into the library and all subsequent libraries and executables linked
17592 # against it.
17593 hardcode_automatic=$hardcode_automatic
17594
17595 # Set to yes if linker adds runtime paths of dependent libraries
17596 # to runtime path list.
17597 inherit_rpath=$inherit_rpath
17598
17599 # Whether libtool must link a program against all its dependency libraries.
17600 link_all_deplibs=$link_all_deplibs
17601
17602 # Fix the shell variable \$srcfile for the compiler.
17603 fix_srcfile_path=$lt_fix_srcfile_path
17604
17605 # Set to "yes" if exported symbols are required.
17606 always_export_symbols=$always_export_symbols
17607
17608 # The commands to list exported symbols.
17609 export_symbols_cmds=$lt_export_symbols_cmds
17610
17611 # Symbols that should not be listed in the preloaded symbols.
17612 exclude_expsyms=$lt_exclude_expsyms
17613
17614 # Symbols that must always be exported.
17615 include_expsyms=$lt_include_expsyms
17616
17617 # Commands necessary for linking programs (against libraries) with templates.
17618 prelink_cmds=$lt_prelink_cmds
17619
17620 # Specify filename containing input files.
17621 file_list_spec=$lt_file_list_spec
17622
17623 # How to hardcode a shared library path into an executable.
17624 hardcode_action=$hardcode_action
17625
17626 # The directories searched by this compiler when creating a shared library.
17627 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17628
17629 # Dependencies to place before and after the objects being linked to
17630 # create a shared library.
17631 predep_objects=$lt_predep_objects
17632 postdep_objects=$lt_postdep_objects
17633 predeps=$lt_predeps
17634 postdeps=$lt_postdeps
17635
17636 # The library search path used internally by the compiler when linking
17637 # a shared library.
17638 compiler_lib_search_path=$lt_compiler_lib_search_path
17639
17640 # ### END LIBTOOL CONFIG
17641
17642 _LT_EOF
17643
17644 case $host_os in
17645 aix3*)
17646 cat <<\_LT_EOF >> "$cfgfile"
17647 # AIX sometimes has problems with the GCC collect2 program. For some
17648 # reason, if we set the COLLECT_NAMES environment variable, the problems
17649 # vanish in a puff of smoke.
17650 if test "X${COLLECT_NAMES+set}" != Xset; then
17651 COLLECT_NAMES=
17652 export COLLECT_NAMES
17653 fi
17654 _LT_EOF
17655 ;;
17656 esac
17657
17658
17659 ltmain="$ac_aux_dir/ltmain.sh"
17660
17661
17662 # We use sed instead of cat because bash on DJGPP gets confused if
17663 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17664 # text mode, it properly converts lines to CR/LF. This bash problem
17665 # is reportedly fixed, but why not run on old versions too?
17666 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17667 || (rm -f "$cfgfile"; exit 1)
17668
17669 case $xsi_shell in
17670 yes)
17671 cat << \_LT_EOF >> "$cfgfile"
17672
17673 # func_dirname file append nondir_replacement
17674 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17675 # otherwise set result to NONDIR_REPLACEMENT.
17676 func_dirname ()
17677 {
17678 case ${1} in
17679 */*) func_dirname_result="${1%/*}${2}" ;;
17680 * ) func_dirname_result="${3}" ;;
17681 esac
17682 }
17683
17684 # func_basename file
17685 func_basename ()
17686 {
17687 func_basename_result="${1##*/}"
17688 }
17689
17690 # func_dirname_and_basename file append nondir_replacement
17691 # perform func_basename and func_dirname in a single function
17692 # call:
17693 # dirname: Compute the dirname of FILE. If nonempty,
17694 # add APPEND to the result, otherwise set result
17695 # to NONDIR_REPLACEMENT.
17696 # value returned in "$func_dirname_result"
17697 # basename: Compute filename of FILE.
17698 # value retuned in "$func_basename_result"
17699 # Implementation must be kept synchronized with func_dirname
17700 # and func_basename. For efficiency, we do not delegate to
17701 # those functions but instead duplicate the functionality here.
17702 func_dirname_and_basename ()
17703 {
17704 case ${1} in
17705 */*) func_dirname_result="${1%/*}${2}" ;;
17706 * ) func_dirname_result="${3}" ;;
17707 esac
17708 func_basename_result="${1##*/}"
17709 }
17710
17711 # func_stripname prefix suffix name
17712 # strip PREFIX and SUFFIX off of NAME.
17713 # PREFIX and SUFFIX must not contain globbing or regex special
17714 # characters, hashes, percent signs, but SUFFIX may contain a leading
17715 # dot (in which case that matches only a dot).
17716 func_stripname ()
17717 {
17718 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17719 # positional parameters, so assign one to ordinary parameter first.
17720 func_stripname_result=${3}
17721 func_stripname_result=${func_stripname_result#"${1}"}
17722 func_stripname_result=${func_stripname_result%"${2}"}
17723 }
17724
17725 # func_opt_split
17726 func_opt_split ()
17727 {
17728 func_opt_split_opt=${1%%=*}
17729 func_opt_split_arg=${1#*=}
17730 }
17731
17732 # func_lo2o object
17733 func_lo2o ()
17734 {
17735 case ${1} in
17736 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17737 *) func_lo2o_result=${1} ;;
17738 esac
17739 }
17740
17741 # func_xform libobj-or-source
17742 func_xform ()
17743 {
17744 func_xform_result=${1%.*}.lo
17745 }
17746
17747 # func_arith arithmetic-term...
17748 func_arith ()
17749 {
17750 func_arith_result=$(( $* ))
17751 }
17752
17753 # func_len string
17754 # STRING may not start with a hyphen.
17755 func_len ()
17756 {
17757 func_len_result=${#1}
17758 }
17759
17760 _LT_EOF
17761 ;;
17762 *) # Bourne compatible functions.
17763 cat << \_LT_EOF >> "$cfgfile"
17764
17765 # func_dirname file append nondir_replacement
17766 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17767 # otherwise set result to NONDIR_REPLACEMENT.
17768 func_dirname ()
17769 {
17770 # Extract subdirectory from the argument.
17771 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17772 if test "X$func_dirname_result" = "X${1}"; then
17773 func_dirname_result="${3}"
17774 else
17775 func_dirname_result="$func_dirname_result${2}"
17776 fi
17777 }
17778
17779 # func_basename file
17780 func_basename ()
17781 {
17782 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17783 }
17784
17785
17786 # func_stripname prefix suffix name
17787 # strip PREFIX and SUFFIX off of NAME.
17788 # PREFIX and SUFFIX must not contain globbing or regex special
17789 # characters, hashes, percent signs, but SUFFIX may contain a leading
17790 # dot (in which case that matches only a dot).
17791 # func_strip_suffix prefix name
17792 func_stripname ()
17793 {
17794 case ${2} in
17795 .*) func_stripname_result=`$ECHO "X${3}" \
17796 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17797 *) func_stripname_result=`$ECHO "X${3}" \
17798 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17799 esac
17800 }
17801
17802 # sed scripts:
17803 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17804 my_sed_long_arg='1s/^-[^=]*=//'
17805
17806 # func_opt_split
17807 func_opt_split ()
17808 {
17809 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17810 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17811 }
17812
17813 # func_lo2o object
17814 func_lo2o ()
17815 {
17816 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17817 }
17818
17819 # func_xform libobj-or-source
17820 func_xform ()
17821 {
17822 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17823 }
17824
17825 # func_arith arithmetic-term...
17826 func_arith ()
17827 {
17828 func_arith_result=`expr "$@"`
17829 }
17830
17831 # func_len string
17832 # STRING may not start with a hyphen.
17833 func_len ()
17834 {
17835 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17836 }
17837
17838 _LT_EOF
17839 esac
17840
17841 case $lt_shell_append in
17842 yes)
17843 cat << \_LT_EOF >> "$cfgfile"
17844
17845 # func_append var value
17846 # Append VALUE to the end of shell variable VAR.
17847 func_append ()
17848 {
17849 eval "$1+=\$2"
17850 }
17851 _LT_EOF
17852 ;;
17853 *)
17854 cat << \_LT_EOF >> "$cfgfile"
17855
17856 # func_append var value
17857 # Append VALUE to the end of shell variable VAR.
17858 func_append ()
17859 {
17860 eval "$1=\$$1\$2"
17861 }
17862
17863 _LT_EOF
17864 ;;
17865 esac
17866
17867
17868 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17869 || (rm -f "$cfgfile"; exit 1)
17870
17871 mv -f "$cfgfile" "$ofile" ||
17872 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17873 chmod +x "$ofile"
17874
17875
17876 cat <<_LT_EOF >> "$ofile"
17877
17878 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17879
17880 # The linker used to build libraries.
17881 LD=$lt_LD_CXX
17882
17883 # Commands used to build an old-style archive.
17884 old_archive_cmds=$lt_old_archive_cmds_CXX
17885
17886 # A language specific compiler.
17887 CC=$lt_compiler_CXX
17888
17889 # Is the compiler the GNU compiler?
17890 with_gcc=$GCC_CXX
17891
17892 # Compiler flag to turn off builtin functions.
17893 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17894
17895 # How to pass a linker flag through the compiler.
17896 wl=$lt_lt_prog_compiler_wl_CXX
17897
17898 # Additional compiler flags for building library objects.
17899 pic_flag=$lt_lt_prog_compiler_pic_CXX
17900
17901 # Compiler flag to prevent dynamic linking.
17902 link_static_flag=$lt_lt_prog_compiler_static_CXX
17903
17904 # Does compiler simultaneously support -c and -o options?
17905 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17906
17907 # Whether or not to add -lc for building shared libraries.
17908 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17909
17910 # Whether or not to disallow shared libs when runtime libs are static.
17911 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17912
17913 # Compiler flag to allow reflexive dlopens.
17914 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17915
17916 # Compiler flag to generate shared objects directly from archives.
17917 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17918
17919 # Whether the compiler copes with passing no objects directly.
17920 compiler_needs_object=$lt_compiler_needs_object_CXX
17921
17922 # Create an old-style archive from a shared archive.
17923 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17924
17925 # Create a temporary old-style archive to link instead of a shared archive.
17926 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17927
17928 # Commands used to build a shared archive.
17929 archive_cmds=$lt_archive_cmds_CXX
17930 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17931
17932 # Commands used to build a loadable module if different from building
17933 # a shared archive.
17934 module_cmds=$lt_module_cmds_CXX
17935 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17936
17937 # Whether we are building with GNU ld or not.
17938 with_gnu_ld=$lt_with_gnu_ld_CXX
17939
17940 # Flag that allows shared libraries with undefined symbols to be built.
17941 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17942
17943 # Flag that enforces no undefined symbols.
17944 no_undefined_flag=$lt_no_undefined_flag_CXX
17945
17946 # Flag to hardcode \$libdir into a binary during linking.
17947 # This must work even if \$libdir does not exist
17948 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17949
17950 # If ld is used when linking, flag to hardcode \$libdir into a binary
17951 # during linking. This must work even if \$libdir does not exist.
17952 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17953
17954 # Whether we need a single "-rpath" flag with a separated argument.
17955 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17956
17957 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17958 # DIR into the resulting binary.
17959 hardcode_direct=$hardcode_direct_CXX
17960
17961 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17962 # DIR into the resulting binary and the resulting library dependency is
17963 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17964 # library is relocated.
17965 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17966
17967 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17968 # into the resulting binary.
17969 hardcode_minus_L=$hardcode_minus_L_CXX
17970
17971 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17972 # into the resulting binary.
17973 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17974
17975 # Set to "yes" if building a shared library automatically hardcodes DIR
17976 # into the library and all subsequent libraries and executables linked
17977 # against it.
17978 hardcode_automatic=$hardcode_automatic_CXX
17979
17980 # Set to yes if linker adds runtime paths of dependent libraries
17981 # to runtime path list.
17982 inherit_rpath=$inherit_rpath_CXX
17983
17984 # Whether libtool must link a program against all its dependency libraries.
17985 link_all_deplibs=$link_all_deplibs_CXX
17986
17987 # Fix the shell variable \$srcfile for the compiler.
17988 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17989
17990 # Set to "yes" if exported symbols are required.
17991 always_export_symbols=$always_export_symbols_CXX
17992
17993 # The commands to list exported symbols.
17994 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17995
17996 # Symbols that should not be listed in the preloaded symbols.
17997 exclude_expsyms=$lt_exclude_expsyms_CXX
17998
17999 # Symbols that must always be exported.
18000 include_expsyms=$lt_include_expsyms_CXX
18001
18002 # Commands necessary for linking programs (against libraries) with templates.
18003 prelink_cmds=$lt_prelink_cmds_CXX
18004
18005 # Specify filename containing input files.
18006 file_list_spec=$lt_file_list_spec_CXX
18007
18008 # How to hardcode a shared library path into an executable.
18009 hardcode_action=$hardcode_action_CXX
18010
18011 # The directories searched by this compiler when creating a shared library.
18012 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18013
18014 # Dependencies to place before and after the objects being linked to
18015 # create a shared library.
18016 predep_objects=$lt_predep_objects_CXX
18017 postdep_objects=$lt_postdep_objects_CXX
18018 predeps=$lt_predeps_CXX
18019 postdeps=$lt_postdeps_CXX
18020
18021 # The library search path used internally by the compiler when linking
18022 # a shared library.
18023 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18024
18025 # ### END LIBTOOL TAG CONFIG: CXX
18026 _LT_EOF
18027
18028 ;;
18029
18030 esac
18031 done # for ac_tag
18032
18033
18034 as_fn_exit 0
18035 _ACEOF
18036 ac_clean_files=$ac_clean_files_save
18037
18038 test $ac_write_fail = 0 ||
18039 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18040
18041
18042 # configure is writing to config.log, and then calls config.status.
18043 # config.status does its own redirection, appending to config.log.
18044 # Unfortunately, on DOS this fails, as config.log is still kept open
18045 # by configure, so config.status won't be able to write to it; its
18046 # output is simply discarded. So we exec the FD to /dev/null,
18047 # effectively closing config.log, so it can be properly (re)opened and
18048 # appended to by config.status. When coming back to configure, we
18049 # need to make the FD available again.
18050 if test "$no_create" != yes; then
18051 ac_cs_success=:
18052 ac_config_status_args=
18053 test "$silent" = yes &&
18054 ac_config_status_args="$ac_config_status_args --quiet"
18055 exec 5>/dev/null
18056 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18057 exec 5>>config.log
18058 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18059 # would make configure fail if this is the last instruction.
18060 $ac_cs_success || as_fn_exit 1
18061 fi
18062 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18064 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18065 fi
18066
18067
+0
-295
ibmgtsim/autom4te.cache/requests less more
0 # This file was generated.
1 # It contains the lists of macros which have been traced.
2 # It can be safely removed.
3
4 @request = (
5 bless( [
6 '0',
7 1,
8 [
9 '/usr/share/autoconf'
10 ],
11 [
12 '/usr/share/autoconf/autoconf/autoconf.m4f',
13 '/usr/share/aclocal/argz.m4',
14 '/usr/share/aclocal/libtool.m4',
15 '/usr/share/aclocal/ltdl.m4',
16 '/usr/share/aclocal/ltoptions.m4',
17 '/usr/share/aclocal/ltsugar.m4',
18 '/usr/share/aclocal/ltversion.m4',
19 '/usr/share/aclocal/lt~obsolete.m4',
20 '/usr/share/aclocal-1.11/amversion.m4',
21 '/usr/share/aclocal-1.11/auxdir.m4',
22 '/usr/share/aclocal-1.11/cond.m4',
23 '/usr/share/aclocal-1.11/depend.m4',
24 '/usr/share/aclocal-1.11/depout.m4',
25 '/usr/share/aclocal-1.11/header.m4',
26 '/usr/share/aclocal-1.11/init.m4',
27 '/usr/share/aclocal-1.11/install-sh.m4',
28 '/usr/share/aclocal-1.11/lead-dot.m4',
29 '/usr/share/aclocal-1.11/maintainer.m4',
30 '/usr/share/aclocal-1.11/make.m4',
31 '/usr/share/aclocal-1.11/missing.m4',
32 '/usr/share/aclocal-1.11/mkdirp.m4',
33 '/usr/share/aclocal-1.11/options.m4',
34 '/usr/share/aclocal-1.11/runlog.m4',
35 '/usr/share/aclocal-1.11/sanity.m4',
36 '/usr/share/aclocal-1.11/silent.m4',
37 '/usr/share/aclocal-1.11/strip.m4',
38 '/usr/share/aclocal-1.11/substnot.m4',
39 '/usr/share/aclocal-1.11/tar.m4',
40 'config/ibdm.m4',
41 'config/osm.m4',
42 'config/swig.m4',
43 'config/tcl.m4',
44 'configure.in'
45 ],
46 {
47 'AM_ENABLE_STATIC' => 1,
48 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
49 '_LT_AC_SHELL_INIT' => 1,
50 'AC_DEFUN' => 1,
51 'AC_PROG_LIBTOOL' => 1,
52 '_LT_AC_LANG_CXX_CONFIG' => 1,
53 'AM_PROG_MKDIR_P' => 1,
54 'AM_AUTOMAKE_VERSION' => 1,
55 'AM_SUBST_NOTMAKE' => 1,
56 'AM_MISSING_PROG' => 1,
57 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
58 '_LT_AC_LANG_C_CONFIG' => 1,
59 'AM_PROG_INSTALL_STRIP' => 1,
60 '_m4_warn' => 1,
61 'AC_LIBTOOL_OBJDIR' => 1,
62 'gl_FUNC_ARGZ' => 1,
63 'LTOBSOLETE_VERSION' => 1,
64 'AM_SANITY_CHECK' => 1,
65 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
66 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
67 'LT_LIB_M' => 1,
68 '_LT_AC_CHECK_DLFCN' => 1,
69 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
70 'LTSUGAR_VERSION' => 1,
71 '_LT_PROG_LTMAIN' => 1,
72 'LT_SYS_SYMBOL_USCORE' => 1,
73 '_AM_PROG_TAR' => 1,
74 'AC_LIBTOOL_GCJ' => 1,
75 'LT_SYS_DLOPEN_DEPLIBS' => 1,
76 'LT_FUNC_DLSYM_USCORE' => 1,
77 '_LT_AC_LANG_F77' => 1,
78 'AC_LIBTOOL_CONFIG' => 1,
79 '_AM_SUBST_NOTMAKE' => 1,
80 'AC_LTDL_DLLIB' => 1,
81 '_AM_AUTOCONF_VERSION' => 1,
82 'AM_DISABLE_SHARED' => 1,
83 '_LTDL_SETUP' => 1,
84 '_LT_AC_LANG_CXX' => 1,
85 'AM_PROG_LIBTOOL' => 1,
86 'AC_LIB_LTDL' => 1,
87 '_LT_AC_FILE_LTDLL_C' => 1,
88 'AM_PROG_LD' => 1,
89 'AU_DEFUN' => 1,
90 'AC_PROG_NM' => 1,
91 'AC_LIBTOOL_DLOPEN' => 1,
92 'AC_PROG_LD' => 1,
93 'OPENIB_APP_OSM' => 1,
94 'AC_PROG_LD_GNU' => 1,
95 'AC_ENABLE_FAST_INSTALL' => 1,
96 'AC_LIBTOOL_FC' => 1,
97 'LTDL_CONVENIENCE' => 1,
98 'MLX_LANG_TCL' => 1,
99 '_AM_SET_OPTION' => 1,
100 'AC_LTDL_PREOPEN' => 1,
101 '_LT_LINKER_BOILERPLATE' => 1,
102 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
103 'AC_LIBTOOL_PROG_CC_C_O' => 1,
104 'gl_PREREQ_ARGZ' => 1,
105 'LT_SUPPORTED_TAG' => 1,
106 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
107 'LT_PROG_RC' => 1,
108 'LT_SYS_MODULE_EXT' => 1,
109 'AC_DEFUN_ONCE' => 1,
110 '_LT_AC_LANG_GCJ' => 1,
111 'AC_LTDL_OBJDIR' => 1,
112 '_LT_PATH_TOOL_PREFIX' => 1,
113 'AC_LIBTOOL_RC' => 1,
114 'AM_SILENT_RULES' => 1,
115 'AC_DISABLE_FAST_INSTALL' => 1,
116 '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
117 '_LT_AC_SYS_LIBPATH_AIX' => 1,
118 '_LT_AC_TRY_DLOPEN_SELF' => 1,
119 'include' => 1,
120 'LT_AC_PROG_SED' => 1,
121 'AM_ENABLE_SHARED' => 1,
122 'LTDL_INSTALLABLE' => 1,
123 '_LT_AC_LANG_GCJ_CONFIG' => 1,
124 'AC_ENABLE_SHARED' => 1,
125 'AC_ENABLE_STATIC' => 1,
126 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
127 '_LT_AC_TAGVAR' => 1,
128 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
129 'AM_CONDITIONAL' => 1,
130 'LT_LIB_DLLOAD' => 1,
131 'LTDL_INIT' => 1,
132 'LTVERSION_VERSION' => 1,
133 'AM_PROG_INSTALL_SH' => 1,
134 'm4_include' => 1,
135 'AC_PROG_EGREP' => 1,
136 '_AC_AM_CONFIG_HEADER_HOOK' => 1,
137 'AC_PATH_MAGIC' => 1,
138 'AC_LTDL_SYSSEARCHPATH' => 1,
139 'AM_MAKE_INCLUDE' => 1,
140 'LT_CMD_MAX_LEN' => 1,
141 '_LT_AC_TAGCONFIG' => 1,
142 'm4_pattern_forbid' => 1,
143 '_LT_LINKER_OPTION' => 1,
144 'AC_LIBTOOL_COMPILER_OPTION' => 1,
145 'AC_DISABLE_SHARED' => 1,
146 '_LT_COMPILER_BOILERPLATE' => 1,
147 'AC_LIBTOOL_WIN32_DLL' => 1,
148 'AC_LIBTOOL_SETUP' => 1,
149 'AC_PROG_LD_RELOAD_FLAG' => 1,
150 'AC_LTDL_DLSYM_USCORE' => 1,
151 'AM_MISSING_HAS_RUN' => 1,
152 'LT_LANG' => 1,
153 'LT_SYS_DLSEARCH_PATH' => 1,
154 'LT_CONFIG_LTDL_DIR' => 1,
155 'AC_LIBTOOL_DLOPEN_SELF' => 1,
156 'LT_OUTPUT' => 1,
157 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
158 'AC_WITH_LTDL' => 1,
159 'AC_LIBTOOL_LINKER_OPTION' => 1,
160 'LT_AC_PROG_RC' => 1,
161 'AC_LIBTOOL_CXX' => 1,
162 'LT_INIT' => 1,
163 'LT_AC_PROG_GCJ' => 1,
164 'LT_SYS_DLOPEN_SELF' => 1,
165 'AM_DEP_TRACK' => 1,
166 'AM_DISABLE_STATIC' => 1,
167 'AM_CONFIG_HEADER' => 1,
168 '_AC_PROG_LIBTOOL' => 1,
169 '_AM_IF_OPTION' => 1,
170 'AC_PATH_TOOL_PREFIX' => 1,
171 'm4_pattern_allow' => 1,
172 'AC_LIBTOOL_F77' => 1,
173 'AM_SET_LEADING_DOT' => 1,
174 'LT_AC_PROG_EGREP' => 1,
175 '_AM_DEPENDENCIES' => 1,
176 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
177 'LTOPTIONS_VERSION' => 1,
178 '_LT_AC_SYS_COMPILER' => 1,
179 'AM_PROG_NM' => 1,
180 'AC_LIBLTDL_CONVENIENCE' => 1,
181 'AC_DEPLIBS_CHECK_METHOD' => 1,
182 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
183 'jm_MAINTAINER_MODE' => 1,
184 'AC_LIBLTDL_INSTALLABLE' => 1,
185 'AC_LTDL_ENABLE_INSTALL' => 1,
186 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
187 'LT_PROG_GCJ' => 1,
188 'AM_INIT_AUTOMAKE' => 1,
189 'AC_DISABLE_STATIC' => 1,
190 'LT_PATH_NM' => 1,
191 'OPENIB_APP_IBDM' => 1,
192 'AM_MAINTAINER_MODE' => 1,
193 'AC_LTDL_SHLIBEXT' => 1,
194 '_LT_AC_LOCK' => 1,
195 '_LT_AC_LANG_RC_CONFIG' => 1,
196 'LT_SYS_MODULE_PATH' => 1,
197 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
198 'LT_WITH_LTDL' => 1,
199 'AC_LTDL_SHLIBPATH' => 1,
200 'AM_AUX_DIR_EXPAND' => 1,
201 'MLX_PROG_SWIG' => 1,
202 '_LT_AC_LANG_F77_CONFIG' => 1,
203 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
204 '_AM_SET_OPTIONS' => 1,
205 '_LT_COMPILER_OPTION' => 1,
206 '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
207 'AM_RUN_LOG' => 1,
208 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
209 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
210 'AC_LIBTOOL_PICMODE' => 1,
211 'LT_PATH_LD' => 1,
212 'AC_CHECK_LIBM' => 1,
213 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
214 '_AM_MANGLE_OPTION' => 1,
215 'AC_LTDL_SYMBOL_USCORE' => 1,
216 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
217 'AM_SET_DEPDIR' => 1,
218 '_LT_CC_BASENAME' => 1,
219 '_LT_LIBOBJ' => 1
220 }
221 ], 'Autom4te::Request' ),
222 bless( [
223 '1',
224 1,
225 [
226 '/usr/share/autoconf'
227 ],
228 [
229 '/usr/share/autoconf/autoconf/autoconf.m4f',
230 'aclocal.m4',
231 'configure.in'
232 ],
233 {
234 '_LT_AC_TAGCONFIG' => 1,
235 'AM_PROG_F77_C_O' => 1,
236 'AC_INIT' => 1,
237 'm4_pattern_forbid' => 1,
238 '_AM_COND_IF' => 1,
239 'AC_CANONICAL_TARGET' => 1,
240 'AC_SUBST' => 1,
241 'AC_CONFIG_LIBOBJ_DIR' => 1,
242 'AC_FC_SRCEXT' => 1,
243 'AC_CANONICAL_HOST' => 1,
244 'AC_PROG_LIBTOOL' => 1,
245 'AM_INIT_AUTOMAKE' => 1,
246 'AM_PATH_GUILE' => 1,
247 'AC_CONFIG_SUBDIRS' => 1,
248 'AM_AUTOMAKE_VERSION' => 1,
249 'LT_CONFIG_LTDL_DIR' => 1,
250 'AC_REQUIRE_AUX_FILE' => 1,
251 'AC_CONFIG_LINKS' => 1,
252 'm4_sinclude' => 1,
253 'LT_SUPPORTED_TAG' => 1,
254 'AM_MAINTAINER_MODE' => 1,
255 'AM_NLS' => 1,
256 'AC_FC_PP_DEFINE' => 1,
257 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
258 'AM_MAKEFILE_INCLUDE' => 1,
259 '_m4_warn' => 1,
260 'AM_PROG_CXX_C_O' => 1,
261 '_AM_COND_ENDIF' => 1,
262 '_AM_MAKEFILE_INCLUDE' => 1,
263 'AM_ENABLE_MULTILIB' => 1,
264 'AM_SILENT_RULES' => 1,
265 'AM_PROG_MOC' => 1,
266 'AC_CONFIG_FILES' => 1,
267 'include' => 1,
268 'LT_INIT' => 1,
269 'AM_PROG_AR' => 1,
270 'AM_GNU_GETTEXT' => 1,
271 'AC_LIBSOURCE' => 1,
272 'AM_PROG_FC_C_O' => 1,
273 'AC_CANONICAL_BUILD' => 1,
274 'AC_FC_FREEFORM' => 1,
275 'AH_OUTPUT' => 1,
276 'AC_FC_PP_SRCEXT' => 1,
277 '_AM_SUBST_NOTMAKE' => 1,
278 'AC_CONFIG_AUX_DIR' => 1,
279 'sinclude' => 1,
280 'AM_PROG_CC_C_O' => 1,
281 'm4_pattern_allow' => 1,
282 'AM_XGETTEXT_OPTION' => 1,
283 'AC_CANONICAL_SYSTEM' => 1,
284 'AM_CONDITIONAL' => 1,
285 'AC_CONFIG_HEADERS' => 1,
286 'AC_DEFINE_TRACE_LITERAL' => 1,
287 'AM_POT_TOOLS' => 1,
288 'm4_include' => 1,
289 '_AM_COND_ELSE' => 1,
290 'AC_SUBST_TRACE' => 1
291 }
292 ], 'Autom4te::Request' )
293 );
294
+0
-3017
ibmgtsim/autom4te.cache/traces.0 less more
0 m4trace:/usr/share/aclocal/argz.m4:12: -1- AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ
1
2 AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
3
4 AC_CHECK_TYPES([error_t],
5 [],
6 [AC_DEFINE([error_t], [int],
7 [Define to a type to use for `error_t' if it is not otherwise available.])
8 AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
9 does not typedef error_t.])],
10 [#if defined(HAVE_ARGZ_H)
11 # include <argz.h>
12 #endif])
13
14 ARGZ_H=
15 AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
16 argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
17
18 dnl if have system argz functions, allow forced use of
19 dnl libltdl-supplied implementation (and default to do so
20 dnl on "known bad" systems). Could use a runtime check, but
21 dnl (a) detecting malloc issues is notoriously unreliable
22 dnl (b) only known system that declares argz functions,
23 dnl provides them, yet they are broken, is cygwin
24 dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
25 dnl So, it's more straightforward simply to special case
26 dnl this for known bad systems.
27 AS_IF([test -z "$ARGZ_H"],
28 [AC_CACHE_CHECK(
29 [if argz actually works],
30 [lt_cv_sys_argz_works],
31 [[case $host_os in #(
32 *cygwin*)
33 lt_cv_sys_argz_works=no
34 if test "$cross_compiling" != no; then
35 lt_cv_sys_argz_works="guessing no"
36 else
37 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
38 save_IFS=$IFS
39 IFS=-.
40 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
41 IFS=$save_IFS
42 lt_os_major=${2-0}
43 lt_os_minor=${3-0}
44 lt_os_micro=${4-0}
45 if test "$lt_os_major" -gt 1 \
46 || { test "$lt_os_major" -eq 1 \
47 && { test "$lt_os_minor" -gt 5 \
48 || { test "$lt_os_minor" -eq 5 \
49 && test "$lt_os_micro" -gt 24; }; }; }; then
50 lt_cv_sys_argz_works=yes
51 fi
52 fi
53 ;; #(
54 *) lt_cv_sys_argz_works=yes ;;
55 esac]])
56 AS_IF([test $lt_cv_sys_argz_works = yes],
57 [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
58 [This value is set to 1 to indicate that the system argz facility works])],
59 [ARGZ_H=argz.h
60 AC_LIBOBJ([argz])])])
61
62 AC_SUBST([ARGZ_H])
63 ])
64 m4trace:/usr/share/aclocal/argz.m4:79: -1- AC_DEFUN([gl_PREREQ_ARGZ], [:])
65 m4trace:/usr/share/aclocal/libtool.m4:67: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
66 AC_BEFORE([$0], [LT_LANG])dnl
67 AC_BEFORE([$0], [LT_OUTPUT])dnl
68 AC_BEFORE([$0], [LTDL_INIT])dnl
69 m4_require([_LT_CHECK_BUILDDIR])dnl
70
71 dnl Autoconf doesn't catch unexpanded LT_ macros by default:
72 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
73 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
74 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
75 dnl unless we require an AC_DEFUNed macro:
76 AC_REQUIRE([LTOPTIONS_VERSION])dnl
77 AC_REQUIRE([LTSUGAR_VERSION])dnl
78 AC_REQUIRE([LTVERSION_VERSION])dnl
79 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
80 m4_require([_LT_PROG_LTMAIN])dnl
81
82 dnl Parse OPTIONS
83 _LT_SET_OPTIONS([$0], [$1])
84
85 # This can be used to rebuild libtool when needed
86 LIBTOOL_DEPS="$ltmain"
87
88 # Always use our own libtool.
89 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
90 AC_SUBST(LIBTOOL)dnl
91
92 _LT_SETUP
93
94 # Only expand once:
95 m4_define([LT_INIT])
96 ])
97 m4trace:/usr/share/aclocal/libtool.m4:102: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
98 m4trace:/usr/share/aclocal/libtool.m4:102: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
99 You should run autoupdate.])dnl
100 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
101 m4trace:/usr/share/aclocal/libtool.m4:103: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
102 m4trace:/usr/share/aclocal/libtool.m4:103: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
103 You should run autoupdate.])dnl
104 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
105 m4trace:/usr/share/aclocal/libtool.m4:562: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
106 AC_MSG_NOTICE([creating $CONFIG_LT])
107 cat >"$CONFIG_LT" <<_LTEOF
108 #! $SHELL
109 # Generated by $as_me.
110 # Run this file to recreate a libtool stub with the current configuration.
111
112 lt_cl_silent=false
113 SHELL=\${CONFIG_SHELL-$SHELL}
114 _LTEOF
115
116 cat >>"$CONFIG_LT" <<\_LTEOF
117 AS_SHELL_SANITIZE
118 _AS_PREPARE
119
120 exec AS_MESSAGE_FD>&1
121 exec AS_MESSAGE_LOG_FD>>config.log
122 {
123 echo
124 AS_BOX([Running $as_me.])
125 } >&AS_MESSAGE_LOG_FD
126
127 lt_cl_help="\
128 \`$as_me' creates a local libtool stub from the current configuration,
129 for use in further configure time tests before the real libtool is
130 generated.
131
132 Usage: $[0] [[OPTIONS]]
133
134 -h, --help print this help, then exit
135 -V, --version print version number, then exit
136 -q, --quiet do not print progress messages
137 -d, --debug don't remove temporary files
138
139 Report bugs to <bug-libtool@gnu.org>."
140
141 lt_cl_version="\
142 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
143 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
144 configured by $[0], generated by m4_PACKAGE_STRING.
145
146 Copyright (C) 2008 Free Software Foundation, Inc.
147 This config.lt script is free software; the Free Software Foundation
148 gives unlimited permision to copy, distribute and modify it."
149
150 while test $[#] != 0
151 do
152 case $[1] in
153 --version | --v* | -V )
154 echo "$lt_cl_version"; exit 0 ;;
155 --help | --h* | -h )
156 echo "$lt_cl_help"; exit 0 ;;
157 --debug | --d* | -d )
158 debug=: ;;
159 --quiet | --q* | --silent | --s* | -q )
160 lt_cl_silent=: ;;
161
162 -*) AC_MSG_ERROR([unrecognized option: $[1]
163 Try \`$[0] --help' for more information.]) ;;
164
165 *) AC_MSG_ERROR([unrecognized argument: $[1]
166 Try \`$[0] --help' for more information.]) ;;
167 esac
168 shift
169 done
170
171 if $lt_cl_silent; then
172 exec AS_MESSAGE_FD>/dev/null
173 fi
174 _LTEOF
175
176 cat >>"$CONFIG_LT" <<_LTEOF
177 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
178 _LTEOF
179
180 cat >>"$CONFIG_LT" <<\_LTEOF
181 AC_MSG_NOTICE([creating $ofile])
182 _LT_OUTPUT_LIBTOOL_COMMANDS
183 AS_EXIT(0)
184 _LTEOF
185 chmod +x "$CONFIG_LT"
186
187 # configure is writing to config.log, but config.lt does its own redirection,
188 # appending to config.log, which fails on DOS, as config.log is still kept
189 # open by configure. Here we exec the FD to /dev/null, effectively closing
190 # config.log, so it can be properly (re)opened and appended to by config.lt.
191 if test "$no_create" != yes; then
192 lt_cl_success=:
193 test "$silent" = yes &&
194 lt_config_lt_args="$lt_config_lt_args --quiet"
195 exec AS_MESSAGE_LOG_FD>/dev/null
196 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
197 exec AS_MESSAGE_LOG_FD>>config.log
198 $lt_cl_success || AS_EXIT(1)
199 fi
200 ])
201 m4trace:/usr/share/aclocal/libtool.m4:757: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
202 m4trace:/usr/share/aclocal/libtool.m4:768: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
203 m4_case([$1],
204 [C], [_LT_LANG(C)],
205 [C++], [_LT_LANG(CXX)],
206 [Java], [_LT_LANG(GCJ)],
207 [Fortran 77], [_LT_LANG(F77)],
208 [Fortran], [_LT_LANG(FC)],
209 [Windows Resource], [_LT_LANG(RC)],
210 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
211 [_LT_LANG($1)],
212 [m4_fatal([$0: unsupported language: "$1"])])])dnl
213 ])
214 m4trace:/usr/share/aclocal/libtool.m4:830: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
215 m4trace:/usr/share/aclocal/libtool.m4:830: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
216 You should run autoupdate.])dnl
217 LT_LANG(C++)])
218 m4trace:/usr/share/aclocal/libtool.m4:831: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
219 m4trace:/usr/share/aclocal/libtool.m4:831: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
220 You should run autoupdate.])dnl
221 LT_LANG(Fortran 77)])
222 m4trace:/usr/share/aclocal/libtool.m4:832: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
223 m4trace:/usr/share/aclocal/libtool.m4:832: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
224 You should run autoupdate.])dnl
225 LT_LANG(Fortran)])
226 m4trace:/usr/share/aclocal/libtool.m4:833: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
227 m4trace:/usr/share/aclocal/libtool.m4:833: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
228 You should run autoupdate.])dnl
229 LT_LANG(Java)])
230 m4trace:/usr/share/aclocal/libtool.m4:1402: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
231 m4_require([_LT_DECL_SED])dnl
232 AC_CACHE_CHECK([$1], [$2],
233 [$2=no
234 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
235 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
236 lt_compiler_flag="$3"
237 # Insert the option either (1) after the last *FLAGS variable, or
238 # (2) before a word containing "conftest.", or (3) at the end.
239 # Note that $ac_compile itself does not contain backslashes and begins
240 # with a dollar sign (not a hyphen), so the echo should work correctly.
241 # The option is referenced via a variable to avoid confusing sed.
242 lt_compile=`echo "$ac_compile" | $SED \
243 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
244 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
245 -e 's:$: $lt_compiler_flag:'`
246 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
247 (eval "$lt_compile" 2>conftest.err)
248 ac_status=$?
249 cat conftest.err >&AS_MESSAGE_LOG_FD
250 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
251 if (exit $ac_status) && test -s "$ac_outfile"; then
252 # The compiler can only warn and ignore the option if not recognized
253 # So say no if there are warnings other than the usual output.
254 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
255 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
256 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
257 $2=yes
258 fi
259 fi
260 $RM conftest*
261 ])
262
263 if test x"[$]$2" = xyes; then
264 m4_if([$5], , :, [$5])
265 else
266 m4_if([$6], , :, [$6])
267 fi
268 ])
269 m4trace:/usr/share/aclocal/libtool.m4:1444: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
270 m4trace:/usr/share/aclocal/libtool.m4:1444: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
271 You should run autoupdate.])dnl
272 m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
273 m4trace:/usr/share/aclocal/libtool.m4:1453: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
274 m4_require([_LT_DECL_SED])dnl
275 AC_CACHE_CHECK([$1], [$2],
276 [$2=no
277 save_LDFLAGS="$LDFLAGS"
278 LDFLAGS="$LDFLAGS $3"
279 echo "$lt_simple_link_test_code" > conftest.$ac_ext
280 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
281 # The linker can only warn and ignore the option if not recognized
282 # So say no if there are warnings
283 if test -s conftest.err; then
284 # Append any errors to the config.log.
285 cat conftest.err 1>&AS_MESSAGE_LOG_FD
286 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
287 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
288 if diff conftest.exp conftest.er2 >/dev/null; then
289 $2=yes
290 fi
291 else
292 $2=yes
293 fi
294 fi
295 $RM -r conftest*
296 LDFLAGS="$save_LDFLAGS"
297 ])
298
299 if test x"[$]$2" = xyes; then
300 m4_if([$4], , :, [$4])
301 else
302 m4_if([$5], , :, [$5])
303 fi
304 ])
305 m4trace:/usr/share/aclocal/libtool.m4:1488: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
306 m4trace:/usr/share/aclocal/libtool.m4:1488: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
307 You should run autoupdate.])dnl
308 m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
309 m4trace:/usr/share/aclocal/libtool.m4:1495: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
310 # find the maximum length of command line arguments
311 AC_MSG_CHECKING([the maximum length of command line arguments])
312 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
313 i=0
314 teststring="ABCD"
315
316 case $build_os in
317 msdosdjgpp*)
318 # On DJGPP, this test can blow up pretty badly due to problems in libc
319 # (any single argument exceeding 2000 bytes causes a buffer overrun
320 # during glob expansion). Even if it were fixed, the result of this
321 # check would be larger than it should be.
322 lt_cv_sys_max_cmd_len=12288; # 12K is about right
323 ;;
324
325 gnu*)
326 # Under GNU Hurd, this test is not required because there is
327 # no limit to the length of command line arguments.
328 # Libtool will interpret -1 as no limit whatsoever
329 lt_cv_sys_max_cmd_len=-1;
330 ;;
331
332 cygwin* | mingw* | cegcc*)
333 # On Win9x/ME, this test blows up -- it succeeds, but takes
334 # about 5 minutes as the teststring grows exponentially.
335 # Worse, since 9x/ME are not pre-emptively multitasking,
336 # you end up with a "frozen" computer, even though with patience
337 # the test eventually succeeds (with a max line length of 256k).
338 # Instead, let's just punt: use the minimum linelength reported by
339 # all of the supported platforms: 8192 (on NT/2K/XP).
340 lt_cv_sys_max_cmd_len=8192;
341 ;;
342
343 amigaos*)
344 # On AmigaOS with pdksh, this test takes hours, literally.
345 # So we just punt and use a minimum line length of 8192.
346 lt_cv_sys_max_cmd_len=8192;
347 ;;
348
349 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
350 # This has been around since 386BSD, at least. Likely further.
351 if test -x /sbin/sysctl; then
352 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
353 elif test -x /usr/sbin/sysctl; then
354 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
355 else
356 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
357 fi
358 # And add a safety zone
359 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
360 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
361 ;;
362
363 interix*)
364 # We know the value 262144 and hardcode it with a safety zone (like BSD)
365 lt_cv_sys_max_cmd_len=196608
366 ;;
367
368 osf*)
369 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
370 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
371 # nice to cause kernel panics so lets avoid the loop below.
372 # First set a reasonable default.
373 lt_cv_sys_max_cmd_len=16384
374 #
375 if test -x /sbin/sysconfig; then
376 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
377 *1*) lt_cv_sys_max_cmd_len=-1 ;;
378 esac
379 fi
380 ;;
381 sco3.2v5*)
382 lt_cv_sys_max_cmd_len=102400
383 ;;
384 sysv5* | sco5v6* | sysv4.2uw2*)
385 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
386 if test -n "$kargmax"; then
387 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
388 else
389 lt_cv_sys_max_cmd_len=32768
390 fi
391 ;;
392 *)
393 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
394 if test -n "$lt_cv_sys_max_cmd_len"; then
395 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
396 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
397 else
398 # Make teststring a little bigger before we do anything with it.
399 # a 1K string should be a reasonable start.
400 for i in 1 2 3 4 5 6 7 8 ; do
401 teststring=$teststring$teststring
402 done
403 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
404 # If test is not a shell built-in, we'll probably end up computing a
405 # maximum length that is only half of the actual maximum length, but
406 # we can't tell.
407 while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
408 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
409 test $i != 17 # 1/2 MB should be enough
410 do
411 i=`expr $i + 1`
412 teststring=$teststring$teststring
413 done
414 # Only check the string length outside the loop.
415 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
416 teststring=
417 # Add a significant safety factor because C++ compilers can tack on
418 # massive amounts of additional arguments before passing them to the
419 # linker. It appears as though 1/2 is a usable value.
420 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
421 fi
422 ;;
423 esac
424 ])
425 if test -n $lt_cv_sys_max_cmd_len ; then
426 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
427 else
428 AC_MSG_RESULT(none)
429 fi
430 max_cmd_len=$lt_cv_sys_max_cmd_len
431 _LT_DECL([], [max_cmd_len], [0],
432 [What is the maximum length of a command?])
433 ])
434 m4trace:/usr/share/aclocal/libtool.m4:1623: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
435 m4trace:/usr/share/aclocal/libtool.m4:1623: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
436 You should run autoupdate.])dnl
437 m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
438 m4trace:/usr/share/aclocal/libtool.m4:1724: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
439 if test "x$enable_dlopen" != xyes; then
440 enable_dlopen=unknown
441 enable_dlopen_self=unknown
442 enable_dlopen_self_static=unknown
443 else
444 lt_cv_dlopen=no
445 lt_cv_dlopen_libs=
446
447 case $host_os in
448 beos*)
449 lt_cv_dlopen="load_add_on"
450 lt_cv_dlopen_libs=
451 lt_cv_dlopen_self=yes
452 ;;
453
454 mingw* | pw32* | cegcc*)
455 lt_cv_dlopen="LoadLibrary"
456 lt_cv_dlopen_libs=
457 ;;
458
459 cygwin*)
460 lt_cv_dlopen="dlopen"
461 lt_cv_dlopen_libs=
462 ;;
463
464 darwin*)
465 # if libdl is installed we need to link against it
466 AC_CHECK_LIB([dl], [dlopen],
467 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
468 lt_cv_dlopen="dyld"
469 lt_cv_dlopen_libs=
470 lt_cv_dlopen_self=yes
471 ])
472 ;;
473
474 *)
475 AC_CHECK_FUNC([shl_load],
476 [lt_cv_dlopen="shl_load"],
477 [AC_CHECK_LIB([dld], [shl_load],
478 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
479 [AC_CHECK_FUNC([dlopen],
480 [lt_cv_dlopen="dlopen"],
481 [AC_CHECK_LIB([dl], [dlopen],
482 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
483 [AC_CHECK_LIB([svld], [dlopen],
484 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
485 [AC_CHECK_LIB([dld], [dld_link],
486 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
487 ])
488 ])
489 ])
490 ])
491 ])
492 ;;
493 esac
494
495 if test "x$lt_cv_dlopen" != xno; then
496 enable_dlopen=yes
497 else
498 enable_dlopen=no
499 fi
500
501 case $lt_cv_dlopen in
502 dlopen)
503 save_CPPFLAGS="$CPPFLAGS"
504 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
505
506 save_LDFLAGS="$LDFLAGS"
507 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
508
509 save_LIBS="$LIBS"
510 LIBS="$lt_cv_dlopen_libs $LIBS"
511
512 AC_CACHE_CHECK([whether a program can dlopen itself],
513 lt_cv_dlopen_self, [dnl
514 _LT_TRY_DLOPEN_SELF(
515 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
516 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
517 ])
518
519 if test "x$lt_cv_dlopen_self" = xyes; then
520 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
521 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
522 lt_cv_dlopen_self_static, [dnl
523 _LT_TRY_DLOPEN_SELF(
524 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
525 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
526 ])
527 fi
528
529 CPPFLAGS="$save_CPPFLAGS"
530 LDFLAGS="$save_LDFLAGS"
531 LIBS="$save_LIBS"
532 ;;
533 esac
534
535 case $lt_cv_dlopen_self in
536 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
537 *) enable_dlopen_self=unknown ;;
538 esac
539
540 case $lt_cv_dlopen_self_static in
541 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
542 *) enable_dlopen_self_static=unknown ;;
543 esac
544 fi
545 _LT_DECL([dlopen_support], [enable_dlopen], [0],
546 [Whether dlopen is supported])
547 _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
548 [Whether dlopen of programs is supported])
549 _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
550 [Whether dlopen of statically linked programs is supported])
551 ])
552 m4trace:/usr/share/aclocal/libtool.m4:1841: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
553 m4trace:/usr/share/aclocal/libtool.m4:1841: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
554 You should run autoupdate.])dnl
555 m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
556 m4trace:/usr/share/aclocal/libtool.m4:2732: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
557 AC_MSG_CHECKING([for $1])
558 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
559 [case $MAGIC_CMD in
560 [[\\/*] | ?:[\\/]*])
561 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
562 ;;
563 *)
564 lt_save_MAGIC_CMD="$MAGIC_CMD"
565 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
566 dnl $ac_dummy forces splitting on constant user-supplied paths.
567 dnl POSIX.2 word splitting is done only on the output of word expansions,
568 dnl not every word. This closes a longstanding sh security hole.
569 ac_dummy="m4_if([$2], , $PATH, [$2])"
570 for ac_dir in $ac_dummy; do
571 IFS="$lt_save_ifs"
572 test -z "$ac_dir" && ac_dir=.
573 if test -f $ac_dir/$1; then
574 lt_cv_path_MAGIC_CMD="$ac_dir/$1"
575 if test -n "$file_magic_test_file"; then
576 case $deplibs_check_method in
577 "file_magic "*)
578 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
579 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
580 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
581 $EGREP "$file_magic_regex" > /dev/null; then
582 :
583 else
584 cat <<_LT_EOF 1>&2
585
586 *** Warning: the command libtool uses to detect shared libraries,
587 *** $file_magic_cmd, produces output that libtool cannot recognize.
588 *** The result is that libtool may fail to recognize shared libraries
589 *** as such. This will affect the creation of libtool libraries that
590 *** depend on shared libraries, but programs linked with such libtool
591 *** libraries will work regardless of this problem. Nevertheless, you
592 *** may want to report the problem to your system manager and/or to
593 *** bug-libtool@gnu.org
594
595 _LT_EOF
596 fi ;;
597 esac
598 fi
599 break
600 fi
601 done
602 IFS="$lt_save_ifs"
603 MAGIC_CMD="$lt_save_MAGIC_CMD"
604 ;;
605 esac])
606 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
607 if test -n "$MAGIC_CMD"; then
608 AC_MSG_RESULT($MAGIC_CMD)
609 else
610 AC_MSG_RESULT(no)
611 fi
612 _LT_DECL([], [MAGIC_CMD], [0],
613 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
614 ])
615 m4trace:/usr/share/aclocal/libtool.m4:2794: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
616 m4trace:/usr/share/aclocal/libtool.m4:2794: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
617 You should run autoupdate.])dnl
618 m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
619 m4trace:/usr/share/aclocal/libtool.m4:2817: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
620 AC_REQUIRE([AC_CANONICAL_HOST])dnl
621 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
622 m4_require([_LT_DECL_SED])dnl
623 m4_require([_LT_DECL_EGREP])dnl
624
625 AC_ARG_WITH([gnu-ld],
626 [AS_HELP_STRING([--with-gnu-ld],
627 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
628 [test "$withval" = no || with_gnu_ld=yes],
629 [with_gnu_ld=no])dnl
630
631 ac_prog=ld
632 if test "$GCC" = yes; then
633 # Check if gcc -print-prog-name=ld gives a path.
634 AC_MSG_CHECKING([for ld used by $CC])
635 case $host in
636 *-*-mingw*)
637 # gcc leaves a trailing carriage return which upsets mingw
638 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
639 *)
640 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
641 esac
642 case $ac_prog in
643 # Accept absolute paths.
644 [[\\/]]* | ?:[[\\/]]*)
645 re_direlt='/[[^/]][[^/]]*/\.\./'
646 # Canonicalize the pathname of ld
647 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
648 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
649 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
650 done
651 test -z "$LD" && LD="$ac_prog"
652 ;;
653 "")
654 # If it fails, then pretend we aren't using GCC.
655 ac_prog=ld
656 ;;
657 *)
658 # If it is relative, then search for the first ld in PATH.
659 with_gnu_ld=unknown
660 ;;
661 esac
662 elif test "$with_gnu_ld" = yes; then
663 AC_MSG_CHECKING([for GNU ld])
664 else
665 AC_MSG_CHECKING([for non-GNU ld])
666 fi
667 AC_CACHE_VAL(lt_cv_path_LD,
668 [if test -z "$LD"; then
669 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
670 for ac_dir in $PATH; do
671 IFS="$lt_save_ifs"
672 test -z "$ac_dir" && ac_dir=.
673 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
674 lt_cv_path_LD="$ac_dir/$ac_prog"
675 # Check to see if the program is GNU ld. I'd rather use --version,
676 # but apparently some variants of GNU ld only accept -v.
677 # Break only if it was the GNU/non-GNU ld that we prefer.
678 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
679 *GNU* | *'with BFD'*)
680 test "$with_gnu_ld" != no && break
681 ;;
682 *)
683 test "$with_gnu_ld" != yes && break
684 ;;
685 esac
686 fi
687 done
688 IFS="$lt_save_ifs"
689 else
690 lt_cv_path_LD="$LD" # Let the user override the test with a path.
691 fi])
692 LD="$lt_cv_path_LD"
693 if test -n "$LD"; then
694 AC_MSG_RESULT($LD)
695 else
696 AC_MSG_RESULT(no)
697 fi
698 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
699 _LT_PATH_LD_GNU
700 AC_SUBST([LD])
701
702 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
703 ])
704 m4trace:/usr/share/aclocal/libtool.m4:2905: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
705 m4trace:/usr/share/aclocal/libtool.m4:2905: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
706 You should run autoupdate.])dnl
707 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
708 m4trace:/usr/share/aclocal/libtool.m4:2906: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
709 m4trace:/usr/share/aclocal/libtool.m4:2906: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
710 You should run autoupdate.])dnl
711 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
712 m4trace:/usr/share/aclocal/libtool.m4:3170: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
713 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
714 [if test -n "$NM"; then
715 # Let the user override the test.
716 lt_cv_path_NM="$NM"
717 else
718 lt_nm_to_check="${ac_tool_prefix}nm"
719 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
720 lt_nm_to_check="$lt_nm_to_check nm"
721 fi
722 for lt_tmp_nm in $lt_nm_to_check; do
723 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
724 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
725 IFS="$lt_save_ifs"
726 test -z "$ac_dir" && ac_dir=.
727 tmp_nm="$ac_dir/$lt_tmp_nm"
728 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
729 # Check to see if the nm accepts a BSD-compat flag.
730 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
731 # nm: unknown option "B" ignored
732 # Tru64's nm complains that /dev/null is an invalid object file
733 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
734 */dev/null* | *'Invalid file or object type'*)
735 lt_cv_path_NM="$tmp_nm -B"
736 break
737 ;;
738 *)
739 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
740 */dev/null*)
741 lt_cv_path_NM="$tmp_nm -p"
742 break
743 ;;
744 *)
745 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
746 continue # so that we can try to find one that supports BSD flags
747 ;;
748 esac
749 ;;
750 esac
751 fi
752 done
753 IFS="$lt_save_ifs"
754 done
755 : ${lt_cv_path_NM=no}
756 fi])
757 if test "$lt_cv_path_NM" != "no"; then
758 NM="$lt_cv_path_NM"
759 else
760 # Didn't find any BSD compatible name lister, look for dumpbin.
761 AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
762 AC_SUBST([DUMPBIN])
763 if test "$DUMPBIN" != ":"; then
764 NM="$DUMPBIN"
765 fi
766 fi
767 test -z "$NM" && NM=nm
768 AC_SUBST([NM])
769 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
770
771 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
772 [lt_cv_nm_interface="BSD nm"
773 echo "int some_variable = 0;" > conftest.$ac_ext
774 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
775 (eval "$ac_compile" 2>conftest.err)
776 cat conftest.err >&AS_MESSAGE_LOG_FD
777 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
778 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
779 cat conftest.err >&AS_MESSAGE_LOG_FD
780 (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
781 cat conftest.out >&AS_MESSAGE_LOG_FD
782 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
783 lt_cv_nm_interface="MS dumpbin"
784 fi
785 rm -f conftest*])
786 ])
787 m4trace:/usr/share/aclocal/libtool.m4:3248: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
788 m4trace:/usr/share/aclocal/libtool.m4:3248: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
789 You should run autoupdate.])dnl
790 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
791 m4trace:/usr/share/aclocal/libtool.m4:3249: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
792 m4trace:/usr/share/aclocal/libtool.m4:3249: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
793 You should run autoupdate.])dnl
794 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
795 m4trace:/usr/share/aclocal/libtool.m4:3258: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
796 LIBM=
797 case $host in
798 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
799 # These system don't have libm, or don't need it
800 ;;
801 *-ncr-sysv4.3*)
802 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
803 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
804 ;;
805 *)
806 AC_CHECK_LIB(m, cos, LIBM="-lm")
807 ;;
808 esac
809 AC_SUBST([LIBM])
810 ])
811 m4trace:/usr/share/aclocal/libtool.m4:3277: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
812 m4trace:/usr/share/aclocal/libtool.m4:3277: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
813 You should run autoupdate.])dnl
814 m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
815 m4trace:/usr/share/aclocal/libtool.m4:6970: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
816 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
817 [AC_CHECK_TOOL(GCJ, gcj,)
818 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
819 AC_SUBST(GCJFLAGS)])])[]dnl
820 ])
821 m4trace:/usr/share/aclocal/libtool.m4:6979: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
822 m4trace:/usr/share/aclocal/libtool.m4:6979: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
823 You should run autoupdate.])dnl
824 m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
825 m4trace:/usr/share/aclocal/libtool.m4:6986: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
826 ])
827 m4trace:/usr/share/aclocal/libtool.m4:6991: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
828 m4trace:/usr/share/aclocal/libtool.m4:6991: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
829 You should run autoupdate.])dnl
830 m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
831 m4trace:/usr/share/aclocal/libtool.m4:7102: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
832 m4trace:/usr/share/aclocal/libtool.m4:7102: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
833 You should run autoupdate.])dnl
834 m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
835 m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
836 _$0($*)
837 ])
838 m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
839 dnl Although the argument is deprecated and no longer documented,
840 dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
841 dnl here make sure it is the same as any other declaration of libltdl's
842 dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
843 dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
844 m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
845 _$0()
846 ])
847 m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
848 _LTDL_CONVENIENCE])
849 m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
850 You should run autoupdate.])dnl
851 _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
852 _LTDL_CONVENIENCE])
853 m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
854 dnl Although the argument is deprecated and no longer documented,
855 dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
856 dnl here make sure it is the same as any other declaration of libltdl's
857 dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
858 dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
859 m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
860 _$0()
861 ])
862 m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
863 _LTDL_INSTALLABLE])
864 m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
865 You should run autoupdate.])dnl
866 _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
867 _LTDL_INSTALLABLE])
868 m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
869 m4_pattern_allow([^_LT_LIBOBJS$])
870 _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
871 ])
872 m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
873 _LT_SET_OPTIONS([$0], [$1])
874
875 dnl We need to keep our own list of libobjs separate from our parent project,
876 dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
877 dnl we look for our own LIBOBJs.
878 m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
879 m4_pushdef([AC_LIBSOURCES])
880
881 dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
882 m4_if(_LTDL_MODE, [],
883 [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
884 m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
885 [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
886
887 AC_ARG_WITH([included_ltdl],
888 [AS_HELP_STRING([--with-included-ltdl],
889 [use the GNU ltdl sources included here])])
890
891 if test "x$with_included_ltdl" != xyes; then
892 # We are not being forced to use the included libltdl sources, so
893 # decide whether there is a useful installed version we can use.
894 AC_CHECK_HEADER([ltdl.h],
895 [AC_CHECK_DECL([lt_dlinterface_register],
896 [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
897 [with_included_ltdl=no],
898 [with_included_ltdl=yes])],
899 [with_included_ltdl=yes],
900 [AC_INCLUDES_DEFAULT
901 #include <ltdl.h>])],
902 [with_included_ltdl=yes],
903 [AC_INCLUDES_DEFAULT]
904 )
905 fi
906
907 dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
908 dnl was called yet, then for old times' sake, we assume libltdl is in an
909 dnl eponymous directory:
910 AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
911
912 AC_ARG_WITH([ltdl_include],
913 [AS_HELP_STRING([--with-ltdl-include=DIR],
914 [use the ltdl headers installed in DIR])])
915
916 if test -n "$with_ltdl_include"; then
917 if test -f "$with_ltdl_include/ltdl.h"; then :
918 else
919 AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
920 fi
921 else
922 with_ltdl_include=no
923 fi
924
925 AC_ARG_WITH([ltdl_lib],
926 [AS_HELP_STRING([--with-ltdl-lib=DIR],
927 [use the libltdl.la installed in DIR])])
928
929 if test -n "$with_ltdl_lib"; then
930 if test -f "$with_ltdl_lib/libltdl.la"; then :
931 else
932 AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
933 fi
934 else
935 with_ltdl_lib=no
936 fi
937
938 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
939 ,yes,no,no,)
940 m4_case(m4_default(_LTDL_TYPE, [convenience]),
941 [convenience], [_LTDL_CONVENIENCE],
942 [installable], [_LTDL_INSTALLABLE],
943 [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
944 ;;
945 ,no,no,no,)
946 # If the included ltdl is not to be used, then use the
947 # preinstalled libltdl we found.
948 AC_DEFINE([HAVE_LTDL], [1],
949 [Define this if a modern libltdl is already installed])
950 LIBLTDL=-lltdl
951 LTDLDEPS=
952 LTDLINCL=
953 ;;
954 ,no*,no,*)
955 AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
956 ;;
957 *) with_included_ltdl=no
958 LIBLTDL="-L$with_ltdl_lib -lltdl"
959 LTDLDEPS=
960 LTDLINCL="-I$with_ltdl_include"
961 ;;
962 esac
963 INCLTDL="$LTDLINCL"
964
965 # Report our decision...
966 AC_MSG_CHECKING([where to find libltdl headers])
967 AC_MSG_RESULT([$LTDLINCL])
968 AC_MSG_CHECKING([where to find libltdl library])
969 AC_MSG_RESULT([$LIBLTDL])
970
971 _LTDL_SETUP
972
973 dnl restore autoconf definition.
974 m4_popdef([AC_LIBOBJ])
975 m4_popdef([AC_LIBSOURCES])
976
977 AC_CONFIG_COMMANDS_PRE([
978 _ltdl_libobjs=
979 _ltdl_ltlibobjs=
980 if test -n "$_LT_LIBOBJS"; then
981 # Remove the extension.
982 _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
983 for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
984 _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
985 _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
986 done
987 fi
988 AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
989 AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
990 ])
991
992 # Only expand once:
993 m4_define([LTDL_INIT])
994 ])
995 m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
996 m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
997 You should run autoupdate.])dnl
998 LTDL_INIT($@)])
999 m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
1000 m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
1001 You should run autoupdate.])dnl
1002 LTDL_INIT($@)])
1003 m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
1004 m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
1005 You should run autoupdate.])dnl
1006 LTDL_INIT($@)])
1007 m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
1008 AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
1009 AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
1010 AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
1011 AC_REQUIRE([LT_LIB_DLLOAD])dnl
1012 AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1013 AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
1014 AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
1015 AC_REQUIRE([gl_FUNC_ARGZ])dnl
1016
1017 m4_require([_LT_CHECK_OBJDIR])dnl
1018 m4_require([_LT_HEADER_DLFCN])dnl
1019 m4_require([_LT_CHECK_DLPREOPEN])dnl
1020 m4_require([_LT_DECL_SED])dnl
1021
1022 dnl Don't require this, or it will be expanded earlier than the code
1023 dnl that sets the variables it relies on:
1024 _LT_ENABLE_INSTALL
1025
1026 dnl _LTDL_MODE specific code must be called at least once:
1027 _LTDL_MODE_DISPATCH
1028
1029 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
1030 # the user used. This is so that ltdl.h can pick up the parent projects
1031 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
1032 # definitions required by ltdl.c.
1033 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
1034 AC_CONFIG_COMMANDS_PRE([dnl
1035 m4_pattern_allow([^LT_CONFIG_H$])dnl
1036 m4_ifset([AH_HEADER],
1037 [LT_CONFIG_H=AH_HEADER],
1038 [m4_ifset([AC_LIST_HEADERS],
1039 [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
1040 [])])])
1041 AC_SUBST([LT_CONFIG_H])
1042
1043 AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
1044 [], [], [AC_INCLUDES_DEFAULT])
1045
1046 AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
1047 AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
1048
1049 AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
1050
1051 name=ltdl
1052 LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
1053 AC_SUBST([LTDLOPEN])
1054 ])
1055 m4trace:/usr/share/aclocal/ltdl.m4:437: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1056 AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
1057 [lt_cv_sys_dlopen_deplibs],
1058 [# PORTME does your system automatically load deplibs for dlopen?
1059 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
1060 # For now, we just catch OSes we know something about -- in the
1061 # future, we'll try test this programmatically.
1062 lt_cv_sys_dlopen_deplibs=unknown
1063 case $host_os in
1064 aix3*|aix4.1.*|aix4.2.*)
1065 # Unknown whether this is true for these versions of AIX, but
1066 # we want this `case' here to explicitly catch those versions.
1067 lt_cv_sys_dlopen_deplibs=unknown
1068 ;;
1069 aix[[4-9]]*)
1070 lt_cv_sys_dlopen_deplibs=yes
1071 ;;
1072 amigaos*)
1073 case $host_cpu in
1074 powerpc)
1075 lt_cv_sys_dlopen_deplibs=no
1076 ;;
1077 esac
1078 ;;
1079 darwin*)
1080 # Assuming the user has installed a libdl from somewhere, this is true
1081 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
1082 lt_cv_sys_dlopen_deplibs=yes
1083 ;;
1084 freebsd* | dragonfly*)
1085 lt_cv_sys_dlopen_deplibs=yes
1086 ;;
1087 gnu* | linux* | k*bsd*-gnu)
1088 # GNU and its variants, using gnu ld.so (Glibc)
1089 lt_cv_sys_dlopen_deplibs=yes
1090 ;;
1091 hpux10*|hpux11*)
1092 lt_cv_sys_dlopen_deplibs=yes
1093 ;;
1094 interix*)
1095 lt_cv_sys_dlopen_deplibs=yes
1096 ;;
1097 irix[[12345]]*|irix6.[[01]]*)
1098 # Catch all versions of IRIX before 6.2, and indicate that we don't
1099 # know how it worked for any of those versions.
1100 lt_cv_sys_dlopen_deplibs=unknown
1101 ;;
1102 irix*)
1103 # The case above catches anything before 6.2, and it's known that
1104 # at 6.2 and later dlopen does load deplibs.
1105 lt_cv_sys_dlopen_deplibs=yes
1106 ;;
1107 netbsd*)
1108 lt_cv_sys_dlopen_deplibs=yes
1109 ;;
1110 openbsd*)
1111 lt_cv_sys_dlopen_deplibs=yes
1112 ;;
1113 osf[[1234]]*)
1114 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
1115 # it did *not* use an RPATH in a shared library to find objects the
1116 # library depends on, so we explicitly say `no'.
1117 lt_cv_sys_dlopen_deplibs=no
1118 ;;
1119 osf5.0|osf5.0a|osf5.1)
1120 # dlopen *does* load deplibs and with the right loader patch applied
1121 # it even uses RPATH in a shared library to search for shared objects
1122 # that the library depends on, but there's no easy way to know if that
1123 # patch is installed. Since this is the case, all we can really
1124 # say is unknown -- it depends on the patch being installed. If
1125 # it is, this changes to `yes'. Without it, it would be `no'.
1126 lt_cv_sys_dlopen_deplibs=unknown
1127 ;;
1128 osf*)
1129 # the two cases above should catch all versions of osf <= 5.1. Read
1130 # the comments above for what we know about them.
1131 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
1132 # is used to find them so we can finally say `yes'.
1133 lt_cv_sys_dlopen_deplibs=yes
1134 ;;
1135 qnx*)
1136 lt_cv_sys_dlopen_deplibs=yes
1137 ;;
1138 solaris*)
1139 lt_cv_sys_dlopen_deplibs=yes
1140 ;;
1141 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1142 libltdl_cv_sys_dlopen_deplibs=yes
1143 ;;
1144 esac
1145 ])
1146 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
1147 AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
1148 [Define if the OS needs help to load dependent libraries for dlopen().])
1149 fi
1150 ])
1151 m4trace:/usr/share/aclocal/ltdl.m4:536: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1152 m4trace:/usr/share/aclocal/ltdl.m4:536: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
1153 You should run autoupdate.])dnl
1154 m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1155 m4trace:/usr/share/aclocal/ltdl.m4:543: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1156 AC_CACHE_CHECK([which extension is used for runtime loadable modules],
1157 [libltdl_cv_shlibext],
1158 [
1159 module=yes
1160 eval libltdl_cv_shlibext=$shrext_cmds
1161 ])
1162 if test -n "$libltdl_cv_shlibext"; then
1163 m4_pattern_allow([LT_MODULE_EXT])dnl
1164 AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
1165 [Define to the extension used for runtime loadable modules, say, ".so".])
1166 fi
1167 ])
1168 m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1169 m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
1170 You should run autoupdate.])dnl
1171 m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1172 m4trace:/usr/share/aclocal/ltdl.m4:566: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1173 AC_CACHE_CHECK([which variable specifies run-time module search path],
1174 [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
1175 if test -n "$lt_cv_module_path_var"; then
1176 m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
1177 AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
1178 [Define to the name of the environment variable that determines the run-time module search path.])
1179 fi
1180 ])
1181 m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1182 m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
1183 You should run autoupdate.])dnl
1184 m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1185 m4trace:/usr/share/aclocal/ltdl.m4:585: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1186 AC_CACHE_CHECK([for the default library search path],
1187 [lt_cv_sys_dlsearch_path],
1188 [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
1189 if test -n "$lt_cv_sys_dlsearch_path"; then
1190 sys_dlsearch_path=
1191 for dir in $lt_cv_sys_dlsearch_path; do
1192 if test -z "$sys_dlsearch_path"; then
1193 sys_dlsearch_path="$dir"
1194 else
1195 sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
1196 fi
1197 done
1198 m4_pattern_allow([LT_DLSEARCH_PATH])dnl
1199 AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
1200 [Define to the system default library search path.])
1201 fi
1202 ])
1203 m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1204 m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
1205 You should run autoupdate.])dnl
1206 m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1207 m4trace:/usr/share/aclocal/ltdl.m4:632: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
1208 LT_DLLOADERS=
1209 AC_SUBST([LT_DLLOADERS])
1210
1211 AC_LANG_PUSH([C])
1212
1213 LIBADD_DLOPEN=
1214 AC_SEARCH_LIBS([dlopen], [dl],
1215 [AC_DEFINE([HAVE_LIBDL], [1],
1216 [Define if you have the libdl library or equivalent.])
1217 if test "$ac_cv_search_dlopen" != "none required" ; then
1218 LIBADD_DLOPEN="-ldl"
1219 fi
1220 libltdl_cv_lib_dl_dlopen="yes"
1221 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1222 [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
1223 # include <dlfcn.h>
1224 #endif
1225 ]], [[dlopen(0, 0);]])],
1226 [AC_DEFINE([HAVE_LIBDL], [1],
1227 [Define if you have the libdl library or equivalent.])
1228 libltdl_cv_func_dlopen="yes"
1229 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1230 [AC_CHECK_LIB([svld], [dlopen],
1231 [AC_DEFINE([HAVE_LIBDL], [1],
1232 [Define if you have the libdl library or equivalent.])
1233 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
1234 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
1235 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
1236 then
1237 lt_save_LIBS="$LIBS"
1238 LIBS="$LIBS $LIBADD_DLOPEN"
1239 AC_CHECK_FUNCS([dlerror])
1240 LIBS="$lt_save_LIBS"
1241 fi
1242 AC_SUBST([LIBADD_DLOPEN])
1243
1244 LIBADD_SHL_LOAD=
1245 AC_CHECK_FUNC([shl_load],
1246 [AC_DEFINE([HAVE_SHL_LOAD], [1],
1247 [Define if you have the shl_load function.])
1248 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
1249 [AC_CHECK_LIB([dld], [shl_load],
1250 [AC_DEFINE([HAVE_SHL_LOAD], [1],
1251 [Define if you have the shl_load function.])
1252 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1253 LIBADD_SHL_LOAD="-ldld"])])
1254 AC_SUBST([LIBADD_SHL_LOAD])
1255
1256 case $host_os in
1257 darwin[[1567]].*)
1258 # We only want this for pre-Mac OS X 10.4.
1259 AC_CHECK_FUNC([_dyld_func_lookup],
1260 [AC_DEFINE([HAVE_DYLD], [1],
1261 [Define if you have the _dyld_func_lookup function.])
1262 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
1263 ;;
1264 beos*)
1265 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
1266 ;;
1267 cygwin* | mingw* | os2* | pw32*)
1268 AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
1269 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
1270 ;;
1271 esac
1272
1273 AC_CHECK_LIB([dld], [dld_link],
1274 [AC_DEFINE([HAVE_DLD], [1],
1275 [Define if you have the GNU dld library.])
1276 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
1277 AC_SUBST([LIBADD_DLD_LINK])
1278
1279 m4_pattern_allow([^LT_DLPREOPEN$])
1280 LT_DLPREOPEN=
1281 if test -n "$LT_DLLOADERS"
1282 then
1283 for lt_loader in $LT_DLLOADERS; do
1284 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
1285 done
1286 AC_DEFINE([HAVE_LIBDLLOADER], [1],
1287 [Define if libdlloader will be built on this platform])
1288 fi
1289 AC_SUBST([LT_DLPREOPEN])
1290
1291 dnl This isn't used anymore, but set it for backwards compatibility
1292 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
1293 AC_SUBST([LIBADD_DL])
1294
1295 AC_LANG_POP
1296 ])
1297 m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1298 m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
1299 You should run autoupdate.])dnl
1300 m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1301 m4trace:/usr/share/aclocal/ltdl.m4:733: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
1302 AC_CACHE_CHECK([for _ prefix in compiled symbols],
1303 [lt_cv_sys_symbol_underscore],
1304 [lt_cv_sys_symbol_underscore=no
1305 cat > conftest.$ac_ext <<_LT_EOF
1306 void nm_test_func(){}
1307 int main(){nm_test_func;return 0;}
1308 _LT_EOF
1309 if AC_TRY_EVAL(ac_compile); then
1310 # Now try to grab the symbols.
1311 ac_nlist=conftest.nm
1312 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
1313 # See whether the symbols have a leading underscore.
1314 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
1315 lt_cv_sys_symbol_underscore=yes
1316 else
1317 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
1318 :
1319 else
1320 echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
1321 fi
1322 fi
1323 else
1324 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
1325 fi
1326 else
1327 echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
1328 cat conftest.c >&AS_MESSAGE_LOG_FD
1329 fi
1330 rm -rf conftest*
1331 ])
1332 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1333 AC_SUBST([sys_symbol_underscore])
1334 ])
1335 m4trace:/usr/share/aclocal/ltdl.m4:770: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1336 m4trace:/usr/share/aclocal/ltdl.m4:770: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
1337 You should run autoupdate.])dnl
1338 m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1339 m4trace:/usr/share/aclocal/ltdl.m4:777: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1340 if test x"$lt_cv_sys_symbol_underscore" = xyes; then
1341 if test x"$libltdl_cv_func_dlopen" = xyes ||
1342 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1343 AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
1344 [libltdl_cv_need_uscore],
1345 [libltdl_cv_need_uscore=unknown
1346 save_LIBS="$LIBS"
1347 LIBS="$LIBS $LIBADD_DLOPEN"
1348 _LT_TRY_DLOPEN_SELF(
1349 [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
1350 [], [libltdl_cv_need_uscore=cross])
1351 LIBS="$save_LIBS"
1352 ])
1353 fi
1354 fi
1355
1356 if test x"$libltdl_cv_need_uscore" = xyes; then
1357 AC_DEFINE([NEED_USCORE], [1],
1358 [Define if dlsym() requires a leading underscore in symbol names.])
1359 fi
1360 ])
1361 m4trace:/usr/share/aclocal/ltdl.m4:802: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1362 m4trace:/usr/share/aclocal/ltdl.m4:802: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
1363 You should run autoupdate.])dnl
1364 m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1365 m4trace:/usr/share/aclocal/ltoptions.m4:13: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
1366 m4trace:/usr/share/aclocal/ltoptions.m4:110: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
1367 AC_DIAGNOSE([obsolete],
1368 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1369 put the `dlopen' option into LT_INIT's first parameter.])
1370 ])
1371 m4trace:/usr/share/aclocal/ltoptions.m4:110: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
1372 You should run autoupdate.])dnl
1373 _LT_SET_OPTION([LT_INIT], [dlopen])
1374 AC_DIAGNOSE([obsolete],
1375 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1376 put the `dlopen' option into LT_INIT's first parameter.])
1377 ])
1378 m4trace:/usr/share/aclocal/ltoptions.m4:145: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1379 _LT_SET_OPTION([LT_INIT], [win32-dll])
1380 AC_DIAGNOSE([obsolete],
1381 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1382 put the `win32-dll' option into LT_INIT's first parameter.])
1383 ])
1384 m4trace:/usr/share/aclocal/ltoptions.m4:145: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
1385 You should run autoupdate.])dnl
1386 AC_REQUIRE([AC_CANONICAL_HOST])dnl
1387 _LT_SET_OPTION([LT_INIT], [win32-dll])
1388 AC_DIAGNOSE([obsolete],
1389 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1390 put the `win32-dll' option into LT_INIT's first parameter.])
1391 ])
1392 m4trace:/usr/share/aclocal/ltoptions.m4:194: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
1393 ])
1394 m4trace:/usr/share/aclocal/ltoptions.m4:198: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
1395 ])
1396 m4trace:/usr/share/aclocal/ltoptions.m4:202: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
1397 m4trace:/usr/share/aclocal/ltoptions.m4:202: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
1398 You should run autoupdate.])dnl
1399 AC_ENABLE_SHARED($@)])
1400 m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
1401 m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
1402 You should run autoupdate.])dnl
1403 AC_DISABLE_SHARED($@)])
1404 m4trace:/usr/share/aclocal/ltoptions.m4:248: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
1405 ])
1406 m4trace:/usr/share/aclocal/ltoptions.m4:252: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
1407 ])
1408 m4trace:/usr/share/aclocal/ltoptions.m4:256: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
1409 m4trace:/usr/share/aclocal/ltoptions.m4:256: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
1410 You should run autoupdate.])dnl
1411 AC_ENABLE_STATIC($@)])
1412 m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
1413 m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
1414 You should run autoupdate.])dnl
1415 AC_DISABLE_STATIC($@)])
1416 m4trace:/usr/share/aclocal/ltoptions.m4:302: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1417 AC_DIAGNOSE([obsolete],
1418 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1419 the `fast-install' option into LT_INIT's first parameter.])
1420 ])
1421 m4trace:/usr/share/aclocal/ltoptions.m4:302: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
1422 You should run autoupdate.])dnl
1423 _LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1424 AC_DIAGNOSE([obsolete],
1425 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1426 the `fast-install' option into LT_INIT's first parameter.])
1427 ])
1428 m4trace:/usr/share/aclocal/ltoptions.m4:309: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1429 AC_DIAGNOSE([obsolete],
1430 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1431 the `disable-fast-install' option into LT_INIT's first parameter.])
1432 ])
1433 m4trace:/usr/share/aclocal/ltoptions.m4:309: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
1434 You should run autoupdate.])dnl
1435 _LT_SET_OPTION([LT_INIT], [disable-fast-install])
1436 AC_DIAGNOSE([obsolete],
1437 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
1438 the `disable-fast-install' option into LT_INIT's first parameter.])
1439 ])
1440 m4trace:/usr/share/aclocal/ltoptions.m4:342: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
1441 AC_DIAGNOSE([obsolete],
1442 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1443 put the `pic-only' option into LT_INIT's first parameter.])
1444 ])
1445 m4trace:/usr/share/aclocal/ltoptions.m4:342: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
1446 You should run autoupdate.])dnl
1447 _LT_SET_OPTION([LT_INIT], [pic-only])
1448 AC_DIAGNOSE([obsolete],
1449 [$0: Remove this warning and the call to _LT_SET_OPTION when you
1450 put the `pic-only' option into LT_INIT's first parameter.])
1451 ])
1452 m4trace:/usr/share/aclocal/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
1453 m4trace:/usr/share/aclocal/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6b'
1454 macro_revision='1.3017'
1455 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
1456 _LT_DECL(, macro_revision, 0)
1457 ])
1458 m4trace:/usr/share/aclocal/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
1459 m4trace:/usr/share/aclocal/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
1460 m4trace:/usr/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
1461 m4trace:/usr/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
1462 m4trace:/usr/share/aclocal/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
1463 m4trace:/usr/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
1464 m4trace:/usr/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
1465 m4trace:/usr/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
1466 m4trace:/usr/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
1467 m4trace:/usr/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
1468 m4trace:/usr/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
1469 m4trace:/usr/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
1470 m4trace:/usr/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
1471 m4trace:/usr/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
1472 m4trace:/usr/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
1473 m4trace:/usr/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
1474 m4trace:/usr/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
1475 m4trace:/usr/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
1476 m4trace:/usr/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
1477 m4trace:/usr/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
1478 m4trace:/usr/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
1479 m4trace:/usr/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
1480 m4trace:/usr/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
1481 m4trace:/usr/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
1482 m4trace:/usr/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
1483 m4trace:/usr/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
1484 m4trace:/usr/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
1485 m4trace:/usr/share/aclocal/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
1486 m4trace:/usr/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
1487 m4trace:/usr/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
1488 m4trace:/usr/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
1489 m4trace:/usr/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
1490 m4trace:/usr/share/aclocal/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
1491 m4trace:/usr/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
1492 m4trace:/usr/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
1493 m4trace:/usr/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_RC])
1494 m4trace:/usr/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
1495 m4trace:/usr/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
1496 m4trace:/usr/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
1497 m4trace:/usr/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
1498 m4trace:/usr/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
1499 m4trace:/usr/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
1500 m4trace:/usr/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
1501 m4trace:/usr/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
1502 m4trace:/usr/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
1503 m4trace:/usr/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
1504 m4trace:/usr/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
1505 m4trace:/usr/share/aclocal/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
1506 m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
1507 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1508 dnl require some minimum version. Point them to the right macro.
1509 m4_if([$1], [1.11.1], [],
1510 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1511 ])
1512 m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
1513 m4_ifndef([AC_AUTOCONF_VERSION],
1514 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1515 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1516 m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
1517 AC_PREREQ([2.50])dnl
1518 # expand $ac_aux_dir to an absolute path
1519 am_aux_dir=`cd $ac_aux_dir && pwd`
1520 ])
1521 m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
1522 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1523 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1524 AC_SUBST([$1_TRUE])dnl
1525 AC_SUBST([$1_FALSE])dnl
1526 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
1527 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
1528 m4_define([_AM_COND_VALUE_$1], [$2])dnl
1529 if $2; then
1530 $1_TRUE=
1531 $1_FALSE='#'
1532 else
1533 $1_TRUE='#'
1534 $1_FALSE=
1535 fi
1536 AC_CONFIG_COMMANDS_PRE(
1537 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1538 AC_MSG_ERROR([[conditional "$1" was never defined.
1539 Usually this means the macro was only invoked conditionally.]])
1540 fi])])
1541 m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
1542 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1543 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1544 AC_REQUIRE([AM_DEP_TRACK])dnl
1545
1546 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1547 [$1], CXX, [depcc="$CXX" am_compiler_list=],
1548 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1549 [$1], UPC, [depcc="$UPC" am_compiler_list=],
1550 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1551 [depcc="$$1" am_compiler_list=])
1552
1553 AC_CACHE_CHECK([dependency style of $depcc],
1554 [am_cv_$1_dependencies_compiler_type],
1555 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1556 # We make a subdir and do the tests there. Otherwise we can end up
1557 # making bogus files that we don't know about and never remove. For
1558 # instance it was reported that on HP-UX the gcc test will end up
1559 # making a dummy file named `D' -- because `-MD' means `put the output
1560 # in D'.
1561 mkdir conftest.dir
1562 # Copy depcomp to subdir because otherwise we won't find it if we're
1563 # using a relative directory.
1564 cp "$am_depcomp" conftest.dir
1565 cd conftest.dir
1566 # We will build objects and dependencies in a subdirectory because
1567 # it helps to detect inapplicable dependency modes. For instance
1568 # both Tru64's cc and ICC support -MD to output dependencies as a
1569 # side effect of compilation, but ICC will put the dependencies in
1570 # the current directory while Tru64 will put them in the object
1571 # directory.
1572 mkdir sub
1573
1574 am_cv_$1_dependencies_compiler_type=none
1575 if test "$am_compiler_list" = ""; then
1576 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1577 fi
1578 am__universal=false
1579 m4_case([$1], [CC],
1580 [case " $depcc " in #(
1581 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1582 esac],
1583 [CXX],
1584 [case " $depcc " in #(
1585 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1586 esac])
1587
1588 for depmode in $am_compiler_list; do
1589 # Setup a source with many dependencies, because some compilers
1590 # like to wrap large dependency lists on column 80 (with \), and
1591 # we should not choose a depcomp mode which is confused by this.
1592 #
1593 # We need to recreate these files for each test, as the compiler may
1594 # overwrite some of them when testing with obscure command lines.
1595 # This happens at least with the AIX C compiler.
1596 : > sub/conftest.c
1597 for i in 1 2 3 4 5 6; do
1598 echo '#include "conftst'$i'.h"' >> sub/conftest.c
1599 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1600 # Solaris 8's {/usr,}/bin/sh.
1601 touch sub/conftst$i.h
1602 done
1603 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1604
1605 # We check with `-c' and `-o' for the sake of the "dashmstdout"
1606 # mode. It turns out that the SunPro C++ compiler does not properly
1607 # handle `-M -o', and we need to detect this. Also, some Intel
1608 # versions had trouble with output in subdirs
1609 am__obj=sub/conftest.${OBJEXT-o}
1610 am__minus_obj="-o $am__obj"
1611 case $depmode in
1612 gcc)
1613 # This depmode causes a compiler race in universal mode.
1614 test "$am__universal" = false || continue
1615 ;;
1616 nosideeffect)
1617 # after this tag, mechanisms are not by side-effect, so they'll
1618 # only be used when explicitly requested
1619 if test "x$enable_dependency_tracking" = xyes; then
1620 continue
1621 else
1622 break
1623 fi
1624 ;;
1625 msvisualcpp | msvcmsys)
1626 # This compiler won't grok `-c -o', but also, the minuso test has
1627 # not run yet. These depmodes are late enough in the game, and
1628 # so weak that their functioning should not be impacted.
1629 am__obj=conftest.${OBJEXT-o}
1630 am__minus_obj=
1631 ;;
1632 none) break ;;
1633 esac
1634 if depmode=$depmode \
1635 source=sub/conftest.c object=$am__obj \
1636 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1637 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1638 >/dev/null 2>conftest.err &&
1639 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1640 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1641 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1642 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1643 # icc doesn't choke on unknown options, it will just issue warnings
1644 # or remarks (even with -Werror). So we grep stderr for any message
1645 # that says an option was ignored or not supported.
1646 # When given -MP, icc 7.0 and 7.1 complain thusly:
1647 # icc: Command line warning: ignoring option '-M'; no argument required
1648 # The diagnosis changed in icc 8.0:
1649 # icc: Command line remark: option '-MP' not supported
1650 if (grep 'ignoring option' conftest.err ||
1651 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1652 am_cv_$1_dependencies_compiler_type=$depmode
1653 break
1654 fi
1655 fi
1656 done
1657
1658 cd ..
1659 rm -rf conftest.dir
1660 else
1661 am_cv_$1_dependencies_compiler_type=none
1662 fi
1663 ])
1664 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1665 AM_CONDITIONAL([am__fastdep$1], [
1666 test "x$enable_dependency_tracking" != xno \
1667 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1668 ])
1669 m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1670 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1671 ])
1672 m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
1673 [ --disable-dependency-tracking speeds up one-time build
1674 --enable-dependency-tracking do not reject slow dependency extractors])
1675 if test "x$enable_dependency_tracking" != xno; then
1676 am_depcomp="$ac_aux_dir/depcomp"
1677 AMDEPBACKSLASH='\'
1678 fi
1679 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1680 AC_SUBST([AMDEPBACKSLASH])dnl
1681 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1682 ])
1683 m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
1684 # Autoconf 2.62 quotes --file arguments for eval, but not when files
1685 # are listed without --file. Let's play safe and only enable the eval
1686 # if we detect the quoting.
1687 case $CONFIG_FILES in
1688 *\'*) eval set x "$CONFIG_FILES" ;;
1689 *) set x $CONFIG_FILES ;;
1690 esac
1691 shift
1692 for mf
1693 do
1694 # Strip MF so we end up with the name of the file.
1695 mf=`echo "$mf" | sed -e 's/:.*$//'`
1696 # Check whether this is an Automake generated Makefile or not.
1697 # We used to match only the files named `Makefile.in', but
1698 # some people rename them; so instead we look at the file content.
1699 # Grep'ing the first line is not enough: some people post-process
1700 # each Makefile.in and add a new line on top of each file to say so.
1701 # Grep'ing the whole file is not good either: AIX grep has a line
1702 # limit of 2048, but all sed's we know have understand at least 4000.
1703 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1704 dirpart=`AS_DIRNAME("$mf")`
1705 else
1706 continue
1707 fi
1708 # Extract the definition of DEPDIR, am__include, and am__quote
1709 # from the Makefile without running `make'.
1710 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1711 test -z "$DEPDIR" && continue
1712 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1713 test -z "am__include" && continue
1714 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1715 # When using ansi2knr, U may be empty or an underscore; expand it
1716 U=`sed -n 's/^U = //p' < "$mf"`
1717 # Find all dependency output files, they are included files with
1718 # $(DEPDIR) in their names. We invoke sed twice because it is the
1719 # simplest approach to changing $(DEPDIR) to its actual value in the
1720 # expansion.
1721 for file in `sed -n "
1722 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1723 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1724 # Make sure the directory exists.
1725 test -f "$dirpart/$file" && continue
1726 fdir=`AS_DIRNAME(["$file"])`
1727 AS_MKDIR_P([$dirpart/$fdir])
1728 # echo "creating $dirpart/$file"
1729 echo '# dummy' > "$dirpart/$file"
1730 done
1731 done
1732 }
1733 ])
1734 m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
1735 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1736 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1737 ])
1738 m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
1739 m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
1740 You should run autoupdate.])dnl
1741 AC_CONFIG_HEADERS($@)])
1742 m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
1743 dnl Autoconf wants to disallow AM_ names. We explicitly allow
1744 dnl the ones we care about.
1745 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1746 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1747 AC_REQUIRE([AC_PROG_INSTALL])dnl
1748 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1749 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1750 # is not polluted with repeated "-I."
1751 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1752 # test to see if srcdir already configured
1753 if test -f $srcdir/config.status; then
1754 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1755 fi
1756 fi
1757
1758 # test whether we have cygpath
1759 if test -z "$CYGPATH_W"; then
1760 if (cygpath --version) >/dev/null 2>/dev/null; then
1761 CYGPATH_W='cygpath -w'
1762 else
1763 CYGPATH_W=echo
1764 fi
1765 fi
1766 AC_SUBST([CYGPATH_W])
1767
1768 # Define the identity of the package.
1769 dnl Distinguish between old-style and new-style calls.
1770 m4_ifval([$2],
1771 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1772 AC_SUBST([PACKAGE], [$1])dnl
1773 AC_SUBST([VERSION], [$2])],
1774 [_AM_SET_OPTIONS([$1])dnl
1775 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1776 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1777 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1778 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1779 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1780
1781 _AM_IF_OPTION([no-define],,
1782 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1783 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1784
1785 # Some tools Automake needs.
1786 AC_REQUIRE([AM_SANITY_CHECK])dnl
1787 AC_REQUIRE([AC_ARG_PROGRAM])dnl
1788 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1789 AM_MISSING_PROG(AUTOCONF, autoconf)
1790 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1791 AM_MISSING_PROG(AUTOHEADER, autoheader)
1792 AM_MISSING_PROG(MAKEINFO, makeinfo)
1793 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1794 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1795 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1796 # We need awk for the "check" target. The system "awk" is bad on
1797 # some platforms.
1798 AC_REQUIRE([AC_PROG_AWK])dnl
1799 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1800 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1801 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1802 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1803 [_AM_PROG_TAR([v7])])])
1804 _AM_IF_OPTION([no-dependencies],,
1805 [AC_PROVIDE_IFELSE([AC_PROG_CC],
1806 [_AM_DEPENDENCIES(CC)],
1807 [define([AC_PROG_CC],
1808 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1809 AC_PROVIDE_IFELSE([AC_PROG_CXX],
1810 [_AM_DEPENDENCIES(CXX)],
1811 [define([AC_PROG_CXX],
1812 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1813 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1814 [_AM_DEPENDENCIES(OBJC)],
1815 [define([AC_PROG_OBJC],
1816 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1817 ])
1818 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1819 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1820 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1821 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1822 AC_CONFIG_COMMANDS_PRE(dnl
1823 [m4_provide_if([_AM_COMPILER_EXEEXT],
1824 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1825 ])
1826 m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1827 _am_arg=$1
1828 _am_stamp_count=1
1829 for _am_header in $config_headers :; do
1830 case $_am_header in
1831 $_am_arg | $_am_arg:* )
1832 break ;;
1833 * )
1834 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1835 esac
1836 done
1837 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1838 m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1839 if test x"${install_sh}" != xset; then
1840 case $am_aux_dir in
1841 *\ * | *\ *)
1842 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1843 *)
1844 install_sh="\${SHELL} $am_aux_dir/install-sh"
1845 esac
1846 fi
1847 AC_SUBST(install_sh)])
1848 m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1849 mkdir .tst 2>/dev/null
1850 if test -d .tst; then
1851 am__leading_dot=.
1852 else
1853 am__leading_dot=_
1854 fi
1855 rmdir .tst 2>/dev/null
1856 AC_SUBST([am__leading_dot])])
1857 m4trace:/usr/share/aclocal-1.11/maintainer.m4:19: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]),
1858 [enable], [m4_define([am_maintainer_other], [disable])],
1859 [disable], [m4_define([am_maintainer_other], [enable])],
1860 [m4_define([am_maintainer_other], [enable])
1861 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1862 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
1863 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1864 AC_ARG_ENABLE([maintainer-mode],
1865 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
1866 (and sometimes confusing) to the casual installer],
1867 [USE_MAINTAINER_MODE=$enableval],
1868 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1869 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1870 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1871 MAINT=$MAINTAINER_MODE_TRUE
1872 AC_SUBST([MAINT])dnl
1873
1874 ])
1875 m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
1876 m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete.
1877 You should run autoupdate.])dnl
1878 AM_MAINTAINER_MODE])
1879 m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1880 cat > confinc << 'END'
1881 am__doit:
1882 @echo this is the am__doit target
1883 .PHONY: am__doit
1884 END
1885 # If we don't find an include directive, just comment out the code.
1886 AC_MSG_CHECKING([for style of include used by $am_make])
1887 am__include="#"
1888 am__quote=
1889 _am_result=none
1890 # First try GNU make style include.
1891 echo "include confinc" > confmf
1892 # Ignore all kinds of additional output from `make'.
1893 case `$am_make -s -f confmf 2> /dev/null` in #(
1894 *the\ am__doit\ target*)
1895 am__include=include
1896 am__quote=
1897 _am_result=GNU
1898 ;;
1899 esac
1900 # Now try BSD make style include.
1901 if test "$am__include" = "#"; then
1902 echo '.include "confinc"' > confmf
1903 case `$am_make -s -f confmf 2> /dev/null` in #(
1904 *the\ am__doit\ target*)
1905 am__include=.include
1906 am__quote="\""
1907 _am_result=BSD
1908 ;;
1909 esac
1910 fi
1911 AC_SUBST([am__include])
1912 AC_SUBST([am__quote])
1913 AC_MSG_RESULT([$_am_result])
1914 rm -f confinc confmf
1915 ])
1916 m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1917 $1=${$1-"${am_missing_run}$2"}
1918 AC_SUBST($1)])
1919 m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1920 AC_REQUIRE_AUX_FILE([missing])dnl
1921 if test x"${MISSING+set}" != xset; then
1922 case $am_aux_dir in
1923 *\ * | *\ *)
1924 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1925 *)
1926 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1927 esac
1928 fi
1929 # Use eval to expand $SHELL
1930 if eval "$MISSING --run true"; then
1931 am_missing_run="$MISSING --run "
1932 else
1933 am_missing_run=
1934 AC_MSG_WARN([`missing' script is too old or missing])
1935 fi
1936 ])
1937 m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
1938 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1939 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1940 dnl while keeping a definition of mkdir_p for backward compatibility.
1941 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1942 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1943 dnl Makefile.ins that do not define MKDIR_P, so we do our own
1944 dnl adjustment using top_builddir (which is defined more often than
1945 dnl MKDIR_P).
1946 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1947 case $mkdir_p in
1948 [[\\/$]]* | ?:[[\\/]]*) ;;
1949 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1950 esac
1951 ])
1952 m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1953 m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1954 m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1955 m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1956 m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1957 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1958 ac_status=$?
1959 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1960 (exit $ac_status); }])
1961 m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
1962 # Just in case
1963 sleep 1
1964 echo timestamp > conftest.file
1965 # Reject unsafe characters in $srcdir or the absolute working directory
1966 # name. Accept space and tab only in the latter.
1967 am_lf='
1968 '
1969 case `pwd` in
1970 *[[\\\"\#\$\&\'\`$am_lf]]*)
1971 AC_MSG_ERROR([unsafe absolute working directory name]);;
1972 esac
1973 case $srcdir in
1974 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1975 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1976 esac
1977
1978 # Do `set' in a subshell so we don't clobber the current shell's
1979 # arguments. Must try -L first in case configure is actually a
1980 # symlink; some systems play weird games with the mod time of symlinks
1981 # (eg FreeBSD returns the mod time of the symlink's containing
1982 # directory).
1983 if (
1984 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1985 if test "$[*]" = "X"; then
1986 # -L didn't work.
1987 set X `ls -t "$srcdir/configure" conftest.file`
1988 fi
1989 rm -f conftest.file
1990 if test "$[*]" != "X $srcdir/configure conftest.file" \
1991 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1992
1993 # If neither matched, then we have a broken ls. This can happen
1994 # if, for instance, CONFIG_SHELL is bash and it inherits a
1995 # broken ls alias from the environment. This has actually
1996 # happened. Such a system could not be considered "sane".
1997 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1998 alias in your environment])
1999 fi
2000
2001 test "$[2]" = conftest.file
2002 )
2003 then
2004 # Ok.
2005 :
2006 else
2007 AC_MSG_ERROR([newly created file is older than distributed files!
2008 Check your system clock])
2009 fi
2010 AC_MSG_RESULT(yes)])
2011 m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
2012 [ --enable-silent-rules less verbose build output (undo: `make V=1')
2013 --disable-silent-rules verbose build output (undo: `make V=0')])
2014 case $enable_silent_rules in
2015 yes) AM_DEFAULT_VERBOSITY=0;;
2016 no) AM_DEFAULT_VERBOSITY=1;;
2017 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
2018 esac
2019 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
2020 AM_BACKSLASH='\'
2021 AC_SUBST([AM_BACKSLASH])dnl
2022 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
2023 ])
2024 m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2025 # Installed binaries are usually stripped using `strip' when the user
2026 # run `make install-strip'. However `strip' might not be the right
2027 # tool to use in cross-compilation environments, therefore Automake
2028 # will honor the `STRIP' environment variable to overrule this program.
2029 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
2030 if test "$cross_compiling" != no; then
2031 AC_CHECK_TOOL([STRIP], [strip], :)
2032 fi
2033 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2034 AC_SUBST([INSTALL_STRIP_PROGRAM])])
2035 m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
2036 m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
2037 m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
2038 AM_MISSING_PROG([AMTAR], [tar])
2039 m4_if([$1], [v7],
2040 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
2041 [m4_case([$1], [ustar],, [pax],,
2042 [m4_fatal([Unknown tar format])])
2043 AC_MSG_CHECKING([how to create a $1 tar archive])
2044 # Loop over all known methods to create a tar archive until one works.
2045 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
2046 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
2047 # Do not fold the above two line into one, because Tru64 sh and
2048 # Solaris sh will not grok spaces in the rhs of `-'.
2049 for _am_tool in $_am_tools
2050 do
2051 case $_am_tool in
2052 gnutar)
2053 for _am_tar in tar gnutar gtar;
2054 do
2055 AM_RUN_LOG([$_am_tar --version]) && break
2056 done
2057 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
2058 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
2059 am__untar="$_am_tar -xf -"
2060 ;;
2061 plaintar)
2062 # Must skip GNU tar: if it does not support --format= it doesn't create
2063 # ustar tarball either.
2064 (tar --version) >/dev/null 2>&1 && continue
2065 am__tar='tar chf - "$$tardir"'
2066 am__tar_='tar chf - "$tardir"'
2067 am__untar='tar xf -'
2068 ;;
2069 pax)
2070 am__tar='pax -L -x $1 -w "$$tardir"'
2071 am__tar_='pax -L -x $1 -w "$tardir"'
2072 am__untar='pax -r'
2073 ;;
2074 cpio)
2075 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
2076 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
2077 am__untar='cpio -i -H $1 -d'
2078 ;;
2079 none)
2080 am__tar=false
2081 am__tar_=false
2082 am__untar=false
2083 ;;
2084 esac
2085
2086 # If the value was cached, stop now. We just wanted to have am__tar
2087 # and am__untar set.
2088 test -n "${am_cv_prog_tar_$1}" && break
2089
2090 # tar/untar a dummy directory, and stop if the command works
2091 rm -rf conftest.dir
2092 mkdir conftest.dir
2093 echo GrepMe > conftest.dir/file
2094 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2095 rm -rf conftest.dir
2096 if test -s conftest.tar; then
2097 AM_RUN_LOG([$am__untar <conftest.tar])
2098 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2099 fi
2100 done
2101 rm -rf conftest.dir
2102
2103 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2104 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2105 AC_SUBST([am__tar])
2106 AC_SUBST([am__untar])
2107 ])
2108 m4trace:config/ibdm.m4:9: -1- AC_DEFUN([OPENIB_APP_IBDM], [
2109 # --- BEGIN OPENIB_APP_IBDM ---
2110 dnl To link against IBDM, configure does several things to make my life
2111 dnl "easier".
2112 dnl
2113 dnl * if the user did define ibdm is look for it in "standard" places
2114 dnl * if can not be found - ask the user for --with-ibdm
2115 dnl
2116
2117 dnl Define a way for the user to provide path to ibdm
2118 AC_ARG_WITH(ibdm,
2119 [ --with-ibdm=<dir> define where to find IBDM],
2120 AC_MSG_NOTICE(Using IBDM from:$with_ibdm),
2121 with_ibdm="none")
2122
2123 dnl if the user did not provide --with-ibdm look for it in reasonable places
2124 if test "x$with_ibdm" = xnone; then
2125 if test -d /usr/include/ibdm; then
2126 with_ibdm=/usr
2127 elif test -d [`pwd`]/ibdm; then
2128 with_ibdm=[`pwd`]/ibdm
2129 elif test -d [`pwd`]/../ibdm; then
2130 with_ibdm=[`pwd`]/../ibdm
2131 else
2132 AC_MSG_ERROR([--with-ibdm must be provided - failed to find standard IBDM installation])
2133 fi
2134 fi
2135
2136 dnl validate the defined path
2137 if test -f $with_ibdm/include/ibdm/Fabric.h; then
2138 AC_MSG_NOTICE([IBDM was installed in $with_ibdm])
2139 ibdm_ref_is_used=0
2140 elif test -f $with_ibdm/ibdm/Fabric.h; then
2141 AC_MSG_NOTICE([IBDM building from sources: $with_ibdm])
2142 if test ! -d ../ibdm; then
2143 AC_MSG_ERROR([IBDM sources provided - but ibdm was not built in ../ibdm])
2144 fi
2145 dnl we actually want to create a link to the ibdm sources
2146 ln -s $with_ibdm/ibdm src/ibdm
2147 ibdm_ref_is_used=1
2148 else
2149 AC_MSG_ERROR([ IBDM Fabric.h not found under $with_ibdm/include/ibdm/])
2150 fi
2151
2152 AM_CONDITIONAL([IBDM_REF_IS_USED], test $ibdm_ref_is_used = 1)
2153
2154 AC_SUBST(with_ibdm)
2155
2156 # --- OPENIB_APP_IBDM ---
2157 ])
2158 m4trace:config/osm.m4:20: -1- AC_DEFUN([OPENIB_APP_OSM], [
2159 # --- BEGIN OPENIB_APP_OSM ---
2160 dnl To link against OpenSM Vendor or Complib, configure does several
2161 dnl things to make my life "easier".
2162 dnl
2163 dnl * if the user did define where opensm is look for it in "standard" places
2164 dnl * if can not be found - ask the user for --with-osm
2165 dnl * figure out if OpenSM was compiles in debug mode or not
2166 dnl
2167 dnl As we might have an OpenSM installation of IBGD or OpenIB and
2168 dnl different vendors too we need to use some heuristics for
2169 dnl figuring out the type of both STACK and VENDOR.
2170 dnl Heuristics is:
2171 dnl
2172 dnl If with_osm is not provided look fo it under:
2173 dnl /usr/local/ibgd/apps/osm
2174 dnl /usr/mellanox/osm
2175 dnl /usr/mellanox/osm-sim
2176 dnl /usr/local/lib/libopensm.a
2177 dnl /usr/lib/libopensm.a
2178 dnl
2179 dnl Figure out what kind of BUILD it is gen1 or gen2:
2180 dnl if the with_osm/include/infiniband exists we are on gen2 stack
2181 dnl
2182 dnl Now decide what vendor was built:
2183 dnl if gen2 build
2184 dnl if $with_osm/lib/osmvendor_gen1.so -> ts
2185 dnl if $with_osm/lib/osmvendor_mtl.so -> mtl
2186 dnl if $with_osm/lib/osmvendor_sim.so -> sim
2187 dnl if $with_osm/lib/osmvendor.so -> openib
2188 dnl if gen1 build
2189 dnl if $with_osm/lib/osmsvc_ts.so -> ts
2190 dnl if $with_osm/lib/osmsvc_mtl.so -> mtl
2191 dnl if $with_osm/lib/osmsvc_sim.so -> sim
2192 dnl ----------------------------------------------------------------
2193
2194 dnl Define a way for the user to provide path to OpenSM
2195 AC_ARG_WITH(osm,
2196 [ --with-osm=<dir> define OSM prefix],
2197 AC_MSG_NOTICE(Using OSM from:$with_osm),
2198 with_osm="none")
2199
2200 dnl Define a way for the user to provide path to OpenSM libs
2201 AC_ARG_WITH(osm-libs,
2202 [ --with-osm-libs=<dir> define where to find OSM libs],
2203 AC_MSG_NOTICE(Using OSM libs from:$with_osm_libs),
2204 with_osm_libs="none")
2205
2206 osm_lib_dir="none"
2207
2208 if test "x$libcheck" = "xtrue"; then
2209 dnl if the user did not provide --with-osm look for it in reasonable places
2210 if test "x$with_osm" = xnone; then
2211 if test -d /usr/local/ibgd/apps/osm; then
2212 with_osm=/usr/local/ibgd/apps/osm
2213 elif test -d /usr/mellanox/osm; then
2214 with_osm=/usr/mellanox
2215 dnl if it is an ofed or gen2 install, we can use /etc/infiniband/info for searching opensm prefix
2216 elif test -f /etc/infiniband/info; then
2217 ofed_dir=`/etc/infiniband/info | grep prefix | cut -d = -f 2`
2218 if (test -f $ofed_dir/lib/libopensm.so ||
2219 test -f $ofed_dir/lib64/libopensm.so); then
2220 with_osm=$ofed_dir
2221 fi
2222 elif (test -f /usr/local/lib64/libopensm.so ||
2223 test -f /usr/local/lib/libopensm.so); then
2224 with_osm=/usr/local
2225 elif (test -f /usr/lib64/libopensm.so ||
2226 test -f /usr/lib/libopensm.so); then
2227 with_osm=/usr
2228 else
2229 AC_MSG_ERROR([OSM: --with-osm must be provided - fail to find standard OpenSM installation])
2230 fi
2231 fi
2232 AC_MSG_NOTICE(OSM: used from $with_osm)
2233
2234 if test "x$with_osm_libs" = "xnone"; then
2235 dnl if the user did not provide --with-osm-libs then look for it based on $with_osm
2236 if (test -f $with_osm/lib64/libosmvendor_gen1.so ||
2237 test -f $with_osm/lib64/libosmvendor_vapi.so ||
2238 test -f $with_osm/lib64/libopensm.so ||
2239 test -f $with_osm/lib64/libosmvendor_sim.so); then
2240 osm_lib_dir=lib64
2241 else
2242 osm_lib_dir=lib
2243 fi
2244 fi
2245 with_osm_libs=$with_osm/$osm_lib_dir
2246
2247 dnl check what build we have gen1 or gen2
2248 if test -d $with_osm/include/infiniband; then
2249 OSM_BUILD=openib
2250 else
2251 OSM_BUILD=gen1
2252 fi
2253 AC_MSG_NOTICE(OSM: build type $OSM_BUILD)
2254
2255 OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
2256 dnl based on the with_osm dir and the libs available
2257 dnl we can try and decide what vendor was used:
2258 if test $OSM_BUILD = openib; then
2259 dnl it is an OpenIB based build but can be any vendor too.
2260 osm_include_dir="$with_osm/include/infiniband"
2261 osm_extra_includes="-I$with_osm/include"
2262
2263 if test -L $with_osm_libs/libosmvendor_gen1.so; then
2264 OSM_VENDOR=ts
2265 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
2266 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp"
2267 elif test -L $with_osm_libs/libosmvendor_vapi.so; then
2268 OSM_VENDOR=mtl
2269 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
2270 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -lvapi -lib_mgt"
2271 elif test -L $with_osm_libs/libosmvendor_sim.so; then
2272 OSM_VENDOR=sim
2273 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
2274 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -libmscli -losmcomp"
2275 elif test -L $with_osm_libs/libopensm.so; then
2276 OSM_VENDOR=openib
2277 osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
2278 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
2279 else
2280 AC_MSG_ERROR([OSM: Fail to recognize vendor type])
2281 fi
2282 osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
2283 else
2284 # we are in gen1 build
2285 osm_include_dir="$with_osm/include"
2286
2287 if test -L $with_osm_libs/libosmsvc_ts.so; then
2288 OSM_VENDOR=ts
2289 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_ts -lcomplib"
2290 osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
2291 elif test -L $with_osm_libs/libosmsvc_mtl.so; then
2292 OSM_VENDOR=mtl
2293 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_mtl -lcomplib -lvapi -lib_mgt"
2294 osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
2295 elif test -L $with_osm_libs/libosmsvc_sim.so; then
2296 OSM_VENDOR=sim
2297 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
2298 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
2299 else
2300 AC_MSG_ERROR([OSM: Fail to recognize vendor type])
2301 fi
2302 fi
2303 AC_MSG_NOTICE(OSM: vendor type $OSM_VENDOR)
2304
2305
2306 dnl validate the defined path - so the build id header is there
2307 AC_CHECK_FILE($osm_include_dir/opensm/osm_config.h,,
2308 AC_MSG_ERROR([OSM: could not find $with_osm/include/opensm/osm_config.h]))
2309
2310 dnl now figure out somehow if the build was for debug or not
2311 grep '#define OSM_DEBUG 1' $osm_include_dir/opensm/osm_config.h > /dev/null
2312 if test $? -eq 0 ; then
2313 dnl why did they need so many ???
2314 osm_debug_flags='-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG'
2315 AC_MSG_NOTICE(OSM: compiled in DEBUG mode)
2316 else
2317 osm_debug_flags=
2318 fi
2319
2320 OSM_CFLAGS="-I$osm_include_dir $osm_extra_includes $osm_debug_flags $osm_vendor_sel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1"
2321 else
2322 dnl dummy values
2323 with_osm=disabled
2324 OSM_CLFAGS=disabled
2325 OSM_LDFLAGS=disabled
2326 OSM_VEDNOR=disabled
2327 OSM_BUILD=disabled
2328 fi
2329
2330 AM_CONDITIONAL(OSM_VENDOR_TS, test "x$OSM_VENDOR" = xts)
2331 AM_CONDITIONAL(OSM_VENDOR_MTL, test "x$OSM_VENDOR" = xmtl)
2332 AM_CONDITIONAL(OSM_VENDOR_SIM, test "x$OSM_VENDOR" = xsim)
2333 AM_CONDITIONAL(OSM_BUILD_OPENIB, test "x$OSM_BUILD" = xopenib)
2334
2335 AC_SUBST(with_osm)
2336 AC_SUBST(OSM_CFLAGS)
2337 AC_SUBST(OSM_LDFLAGS)
2338 AC_SUBST(OSM_VENDOR)
2339 AC_SUBST(OSM_BUILD)
2340
2341 # --- OPENIB_APP_OSM ---
2342 ])
2343 m4trace:config/swig.m4:15: -1- AC_DEFUN([MLX_PROG_SWIG], [
2344 AC_PATH_PROG([SWIG],[swig])
2345 # we use this to track the existance of swig
2346 has_swig=0
2347 if test -z "$SWIG" ; then
2348 AC_MSG_WARN([cannot find 'swig' program. You should look at http://www.swig.org])
2349 SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
2350 elif test -n "$1" ; then
2351 AC_MSG_CHECKING([for SWIG version])
2352 [swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
2353 AC_MSG_RESULT([$swig_version])
2354 if test -n "$swig_version" ; then
2355 # Calculate the required version number components
2356 [required=$1]
2357 [required_major=`echo $required | sed 's/[^0-9].*//'`]
2358 if test -z "$required_major" ; then
2359 [required_major=0]
2360 fi
2361 [required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
2362 [required_minor=`echo $required | sed 's/[^0-9].*//'`]
2363 if test -z "$required_minor" ; then
2364 [required_minor=0]
2365 fi
2366 [required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
2367 [required_patch=`echo $required | sed 's/[^0-9].*//'`]
2368 if test -z "$required_patch" ; then
2369 [required_patch=0]
2370 fi
2371 # Calculate the available version number components
2372 [available=`echo $swig_version | sed 's/[^0-9]*//'`]
2373 [available_major=`echo $available | sed 's/[^0-9].*//'`]
2374 if test -z "$available_major" ; then
2375 [available_major=0]
2376 fi
2377 [available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
2378 [available_minor=`echo $available | sed 's/[^0-9].*//'`]
2379 if test -z "$available_minor" ; then
2380 [available_minor=0]
2381 fi
2382 [available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
2383 [available_patch=`echo $available | sed -e 's/.*Patch[^0-9]*//' -e 's/[^0-9]*//g' `]
2384 if test -z "$available_patch" ; then
2385 [available_patch=0]
2386 fi
2387 # we have two modes of comparison...
2388 if test x"$2" == xeq; then
2389 if test $available_major -ne $required_major \
2390 -o $available_minor -ne $required_minor \
2391 -o $available_patch -ne $required_patch ; then
2392 AC_MSG_WARN([SWIG version == $1 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org ])
2393 SWIG='echo "Error: SWIG version == $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
2394 else
2395 has_swig=1
2396 fi
2397 else
2398 if test $available_major -ne $required_major \
2399 -o $available_minor -ne $required_minor \
2400 -o $available_patch -lt $required_patch ; then
2401 AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version. You should look at http://www.swig.org])
2402 SWIG='echo "Error: SWIG version >= $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
2403 else
2404 has_swig=1
2405 fi
2406 fi
2407 else
2408 AC_MSG_WARN([cannot determine SWIG version])
2409 SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
2410 fi
2411 fi
2412 if test ! -z "$has_swig"; then
2413 dnl AC_MSG_INFO([SWIG executable is '$SWIG'])
2414 SWIG_LIB=`$SWIG -swiglib`
2415 dnl AC_MSG_INFO([SWIG runtime library directory is '$SWIG_LIB'])
2416 AM_CONDITIONAL(HAS_SWIG,[test 1])
2417 else
2418 AM_CONDITIONAL(HAS_SWIG,[test 0])
2419 fi
2420 AC_SUBST([SWIG_LIB])
2421 ])
2422 m4trace:config/tcl.m4:14: -1- AC_DEFUN([MLX_LANG_TCL], [
2423 # --- BEGIN MLX_LANG_TCL ---
2424 dnl To link against Tcl, configure does several things to make my life
2425 dnl "easier".
2426 dnl
2427 dnl * maybe ask the user where they think Tcl lives, and try to find it
2428 dnl * maybe ask the user what "tclsh" is called this week (i.e., "tclsh8.0")
2429 dnl * run tclsh, ask it for a path, then run that path through sed
2430 dnl * sanity check its result (many installs are a little broken)
2431 dnl * try to figure out where Tcl is based on this result
2432 dnl * try to guess where the Tcl include files are
2433 dnl
2434 dnl Notes from previous incarnations:
2435 dnl > XXX MUST CHECK FOR TCL BEFORE KERBEROS V4 XXX
2436 dnl > This is because some genius at MIT named one of the Kerberos v4
2437 dnl > library functions log(). This of course conflicts with the
2438 dnl > logarithm function in the standard math library, used by Tcl.
2439 dnl
2440 dnl > Checking for Tcl first puts -lm before -lkrb on the library list.
2441 dnl
2442
2443 dnl do not do anything if we are in disabled libcheck mode...
2444 if test "x$libcheck" = "xtrue"; then
2445
2446 dnl Check for some information from the user on what the world looks like
2447 AC_ARG_WITH(tclconfig,[ --with-tclconfig=PATH use tclConfig.sh from PATH
2448 (configure gets Tcl configuration from here)],
2449 dnl trim tclConfig.sh off the end so we can add it back on later.
2450 TclLibBase=`echo ${withval} | sed s/tclConfig.sh\$//`)
2451 AC_ARG_WITH(tcl, [ --with-tcl=PATH use Tcl from PATH],
2452 TclLibBase="${withval}/lib")
2453 AC_ARG_WITH(tclsh, [ --with-tclsh=TCLSH use TCLSH as the tclsh program
2454 (let configure find Tcl using this program)],
2455 TCLSH="${withval}")
2456
2457 if test "x$TCLSH" = "xno" -o "x$with_tclconfig" = "xno" ; then
2458 AC_MSG_WARN([Tcl disabled because tclsh or tclconfig specified as "no"])
2459 with_tcl=no
2460 fi
2461
2462 if test "x$with_tcl" != xno; then
2463 if test \! -z "$with_tclconfig" -a \! -d "$with_tclconfig" ; then
2464 AC_MSG_ERROR([--with-tclconfig requires a directory argument.])
2465 fi
2466
2467 if test \! -z "$TCLSH" -a \! -x "$TCLSH" ; then
2468 AC_MSG_ERROR([--with-tclsh must specify an executable file.])
2469 fi
2470
2471 if test X"$TclLibBase" = X; then # do we already know?
2472 # No? Run tclsh and ask it where it lives.
2473
2474 # Do we know where a tclsh lives?
2475 if test X"$TCLSH" = X; then
2476 # Try and find tclsh. Any tclsh.
2477 # If a new version of tcl comes out and unfortunately adds another
2478 # filename, it should be safe to add it (to the front of the line --
2479 # somef vendors have older, badly installed tclshs that we want to avoid
2480 # if we can)
2481 AC_PATH_PROGS(TCLSH, [tclsh tclsh8.3 tclsh8.4], "unknown")
2482 fi
2483
2484 # Do we know where to get a tclsh?
2485 if test "X${TCLSH}" != "Xunknown"; then
2486 AC_MSG_CHECKING([where Tcl says it lives])
2487 dnl to avoid .tclshrc issues use from a file...
2488 echo "puts \$tcl_library" > /tmp/tcl.conf.$$
2489 TclLibBase=`${TCLSH} /tmp/tcl.conf.$$ | sed -e 's,[^/]*$,,'`
2490 rm /tmp/tcl.conf.$$
2491 AC_MSG_RESULT($TclLibBase)
2492 fi
2493 fi
2494
2495 if test -z "$TclLibBase" ; then
2496 AC_MSG_RESULT([can't find tclsh])
2497 AC_MSG_WARN([can't find Tcl installtion; use of Tcl disabled.])
2498 with_tcl=no
2499 else
2500 AC_MSG_CHECKING([for tclConfig.sh])
2501 # Check a list of places where the tclConfig.sh file might be.
2502 # Note we prefer the 64 bit version if exists
2503 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}"
2504 tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}/.."
2505 tclCondifSearchPath="$tclCondifSearchPath `echo ${TCLSH} | sed s/sh//`"
2506 tclCondifSearchPath="$tclCondifSearchPath /usr/lib64"
2507 tclCondifSearchPath="$tclCondifSearchPath /usr/lib"
2508 tclCondifSearchPath="$tclCondifSearchPath /usr/local/lib"
2509 for tcldir in $tclCondifSearchPath; do
2510 if test -f "${tcldir}/tclConfig.sh"; then
2511 TclLibBase="${tcldir}"
2512 break
2513 fi
2514 done
2515
2516 if test -z "${TclLibBase}" ; then
2517 AC_MSG_RESULT("unknown")
2518 AC_MSG_WARN([can't find Tcl configuration; use of Tcl disabled.])
2519 with_tcl=no
2520 else
2521 AC_MSG_RESULT(${TclLibBase}/)
2522 fi
2523
2524 if test "X${with_tcl}" != Xno ; then
2525 AC_MSG_CHECKING([Tcl configuration on what Tcl needs to compile])
2526 . ${TclLibBase}/tclConfig.sh
2527 AC_MSG_RESULT(ok)
2528 dnl no TK stuff for us.
2529 dnl . ${TclLibBase}/tkConfig.sh
2530 fi
2531
2532 dnl We hack the provided TCL_LIB_SPEC since it is using the /usr/lib even
2533 dnl if the build was using lib64
2534 if test -d /usr/lib64 ; then
2535 TCL_LIB_SPEC=`echo ${TCL_LIB_SPEC} | sed 's=/usr/lib =/usr/lib64 =g'`
2536 fi
2537
2538 if test "X${with_tcl}" != Xno ; then
2539 dnl Now, hunt for the Tcl include files, since we don't strictly
2540 dnl know where they are; some folks put them (properly) in the
2541 dnl default include path, or maybe in /usr/local; the *BSD folks
2542 dnl put them in other places.
2543 AC_MSG_CHECKING([where Tcl includes are])
2544 for tclinclude in "${TCL_PREFIX}/include/tcl${TCL_VERSION}" \
2545 "${TCL_PREFIX}/include/tcl" \
2546 "${TCL_PREFIX}/include" ; do
2547 if test -r "${tclinclude}/tcl.h" ; then
2548 TCL_CPPFLAGS="-I${tclinclude}"
2549 break
2550 fi
2551 done
2552 if test X"${TCL_CPPFLAGS}" = X ; then
2553 AC_MSG_WARN(can't find Tcl includes; use of Tcl disabled.)
2554 with_tcl=no
2555 fi
2556 AC_MSG_RESULT(${TCL_CPPFLAGS})
2557 fi
2558
2559 # Finally, pick up the Tcl configuration if we haven't found an
2560 # excuse not to.
2561 if test "X${with_tcl}" != Xno; then
2562 dnl TCL_LIBS="${TK_LIB_SPEC} ${TK_XLIBSW} ${TCL_LD_SEARCH_FLAGS} ${TCL_LIB_SPEC}"
2563 dnl we are using libtool so need to convert to -rpath if at all
2564 TCL_SEARCH=`echo ${TCL_LD_SEARCH_FLAGS} | sed 's/-Wl,-rpath,/-rpath/'`
2565
2566 dnl sometimes we got empty libs: use TCL_LIB_FILE
2567 if test X"$TCL_LIBS" = X; then
2568 dnl extract the lib style name...
2569 TCL_LIBS=`echo ${TCL_LIB_FILE} | sed 's/lib\([[^ \t]]*\)\.\(so\|a\)/-l\1/'`
2570 fi
2571
2572 dnl sometimes we got empty libs: use TCL_LIB_SPEC
2573 if test X"$TCL_LIB_SPEC" = X; then
2574 dnl extract the lib style name...
2575 TCL_LIB_SPEC='-L/usr/lib'
2576 fi
2577
2578 TCL_LIBS1="${TCL_LIB_SPEC} ${TCL_LIBS}"
2579 dnl Filter out the ieee - I do not see a shared version for it.
2580 TCL_LIBS=`echo ${TCL_LIBS1} | sed 's/-lieee//'`
2581 fi
2582 fi
2583 fi
2584 else
2585 dnl disbled libcheck mode - we do not need anything...
2586 TCL_DEFS=disabled
2587 TCL_LIBS=disabled
2588 TCL_CPPFLAGS=disabled
2589 TCL_PREFIX=disabled
2590 fi
2591
2592 AC_SUBST(TCL_DEFS)
2593 AC_SUBST(TCL_LIBS)
2594 AC_SUBST(TCL_CPPFLAGS)
2595 AC_SUBST(TCL_PREFIX)
2596
2597 # --- END MLX_LANG_TCL ---
2598 ])
2599 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?A[CHUM]_])
2600 m4trace:configure.in:35: -1- m4_pattern_forbid([_AC_])
2601 m4trace:configure.in:35: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
2602 m4trace:configure.in:35: -1- m4_pattern_allow([^AS_FLAGS$])
2603 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?m4_])
2604 m4trace:configure.in:35: -1- m4_pattern_forbid([^dnl$])
2605 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?AS_])
2606 m4trace:configure.in:35: -1- m4_pattern_allow([^SHELL$])
2607 m4trace:configure.in:35: -1- m4_pattern_allow([^PATH_SEPARATOR$])
2608 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
2609 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
2610 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
2611 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
2612 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
2613 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
2614 m4trace:configure.in:35: -1- m4_pattern_allow([^exec_prefix$])
2615 m4trace:configure.in:35: -1- m4_pattern_allow([^prefix$])
2616 m4trace:configure.in:35: -1- m4_pattern_allow([^program_transform_name$])
2617 m4trace:configure.in:35: -1- m4_pattern_allow([^bindir$])
2618 m4trace:configure.in:35: -1- m4_pattern_allow([^sbindir$])
2619 m4trace:configure.in:35: -1- m4_pattern_allow([^libexecdir$])
2620 m4trace:configure.in:35: -1- m4_pattern_allow([^datarootdir$])
2621 m4trace:configure.in:35: -1- m4_pattern_allow([^datadir$])
2622 m4trace:configure.in:35: -1- m4_pattern_allow([^sysconfdir$])
2623 m4trace:configure.in:35: -1- m4_pattern_allow([^sharedstatedir$])
2624 m4trace:configure.in:35: -1- m4_pattern_allow([^localstatedir$])
2625 m4trace:configure.in:35: -1- m4_pattern_allow([^includedir$])
2626 m4trace:configure.in:35: -1- m4_pattern_allow([^oldincludedir$])
2627 m4trace:configure.in:35: -1- m4_pattern_allow([^docdir$])
2628 m4trace:configure.in:35: -1- m4_pattern_allow([^infodir$])
2629 m4trace:configure.in:35: -1- m4_pattern_allow([^htmldir$])
2630 m4trace:configure.in:35: -1- m4_pattern_allow([^dvidir$])
2631 m4trace:configure.in:35: -1- m4_pattern_allow([^pdfdir$])
2632 m4trace:configure.in:35: -1- m4_pattern_allow([^psdir$])
2633 m4trace:configure.in:35: -1- m4_pattern_allow([^libdir$])
2634 m4trace:configure.in:35: -1- m4_pattern_allow([^localedir$])
2635 m4trace:configure.in:35: -1- m4_pattern_allow([^mandir$])
2636 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
2637 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
2638 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
2639 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
2640 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
2641 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
2642 m4trace:configure.in:35: -1- m4_pattern_allow([^DEFS$])
2643 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_C$])
2644 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_N$])
2645 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_T$])
2646 m4trace:configure.in:35: -1- m4_pattern_allow([^LIBS$])
2647 m4trace:configure.in:35: -1- m4_pattern_allow([^build_alias$])
2648 m4trace:configure.in:35: -1- m4_pattern_allow([^host_alias$])
2649 m4trace:configure.in:35: -1- m4_pattern_allow([^target_alias$])
2650 m4trace:configure.in:42: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
2651 You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
2652 configure.in:42: the top level])
2653 m4trace:configure.in:45: -1- AM_CONFIG_HEADER([config.h])
2654 m4trace:configure.in:45: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
2655 You should run autoupdate.], [/usr/share/aclocal-1.11/header.m4:12: AM_CONFIG_HEADER is expanded from...
2656 configure.in:45: the top level])
2657 m4trace:configure.in:48: -1- AM_INIT_AUTOMAKE
2658 m4trace:configure.in:48: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
2659 m4trace:configure.in:48: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
2660 m4trace:configure.in:48: -1- AM_AUTOMAKE_VERSION([1.11.1])
2661 m4trace:configure.in:48: -1- _AM_AUTOCONF_VERSION([2.69])
2662 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
2663 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
2664 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_DATA$])
2665 m4trace:configure.in:48: -1- m4_pattern_allow([^am__isrc$])
2666 m4trace:configure.in:48: -1- _AM_SUBST_NOTMAKE([am__isrc])
2667 m4trace:configure.in:48: -1- m4_pattern_allow([^CYGPATH_W$])
2668 m4trace:configure.in:48: -1- _AM_SET_OPTIONS([])
2669 m4trace:configure.in:48: -1- m4_pattern_allow([^PACKAGE$])
2670 m4trace:configure.in:48: -1- m4_pattern_allow([^VERSION$])
2671 m4trace:configure.in:48: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
2672 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
2673 m4trace:configure.in:48: -2- _AM_MANGLE_OPTION([no-define])
2674 m4trace:configure.in:48: -1- m4_pattern_allow([^PACKAGE$])
2675 m4trace:configure.in:48: -1- m4_pattern_allow([^VERSION$])
2676 m4trace:configure.in:48: -1- AM_SANITY_CHECK
2677 m4trace:configure.in:48: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
2678 m4trace:configure.in:48: -1- AM_MISSING_HAS_RUN
2679 m4trace:configure.in:48: -1- AM_AUX_DIR_EXPAND
2680 m4trace:configure.in:48: -1- m4_pattern_allow([^ACLOCAL$])
2681 m4trace:configure.in:48: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
2682 m4trace:configure.in:48: -1- m4_pattern_allow([^AUTOCONF$])
2683 m4trace:configure.in:48: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
2684 m4trace:configure.in:48: -1- m4_pattern_allow([^AUTOMAKE$])
2685 m4trace:configure.in:48: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
2686 m4trace:configure.in:48: -1- m4_pattern_allow([^AUTOHEADER$])
2687 m4trace:configure.in:48: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
2688 m4trace:configure.in:48: -1- m4_pattern_allow([^MAKEINFO$])
2689 m4trace:configure.in:48: -1- AM_PROG_INSTALL_SH
2690 m4trace:configure.in:48: -1- m4_pattern_allow([^install_sh$])
2691 m4trace:configure.in:48: -1- AM_PROG_INSTALL_STRIP
2692 m4trace:configure.in:48: -1- m4_pattern_allow([^STRIP$])
2693 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
2694 m4trace:configure.in:48: -1- AM_PROG_MKDIR_P
2695 m4trace:configure.in:48: -1- m4_pattern_allow([^MKDIR_P$])
2696 m4trace:configure.in:48: -1- m4_pattern_allow([^mkdir_p$])
2697 m4trace:configure.in:48: -1- m4_pattern_allow([^AWK$])
2698 m4trace:configure.in:48: -1- m4_pattern_allow([^SET_MAKE$])
2699 m4trace:configure.in:48: -1- AM_SET_LEADING_DOT
2700 m4trace:configure.in:48: -1- m4_pattern_allow([^am__leading_dot$])
2701 m4trace:configure.in:48: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
2702 [_AM_PROG_TAR([v7])])])
2703 m4trace:configure.in:48: -2- _AM_MANGLE_OPTION([tar-ustar])
2704 m4trace:configure.in:48: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
2705 m4trace:configure.in:48: -2- _AM_MANGLE_OPTION([tar-pax])
2706 m4trace:configure.in:48: -1- _AM_PROG_TAR([v7])
2707 m4trace:configure.in:48: -1- AM_MISSING_PROG([AMTAR], [tar])
2708 m4trace:configure.in:48: -1- m4_pattern_allow([^AMTAR$])
2709 m4trace:configure.in:48: -1- m4_pattern_allow([^am__tar$])
2710 m4trace:configure.in:48: -1- m4_pattern_allow([^am__untar$])
2711 m4trace:configure.in:48: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
2712 [_AM_DEPENDENCIES(CC)],
2713 [define([AC_PROG_CC],
2714 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
2715 AC_PROVIDE_IFELSE([AC_PROG_CXX],
2716 [_AM_DEPENDENCIES(CXX)],
2717 [define([AC_PROG_CXX],
2718 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
2719 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
2720 [_AM_DEPENDENCIES(OBJC)],
2721 [define([AC_PROG_OBJC],
2722 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
2723 ])
2724 m4trace:configure.in:48: -2- _AM_MANGLE_OPTION([no-dependencies])
2725 m4trace:configure.in:48: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
2726 m4trace:configure.in:48: -2- _AM_MANGLE_OPTION([silent-rules])
2727 m4trace:configure.in:53: -1- AM_MAINTAINER_MODE
2728 m4trace:configure.in:53: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
2729 m4trace:configure.in:53: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
2730 m4trace:configure.in:53: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
2731 m4trace:configure.in:53: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
2732 m4trace:configure.in:53: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
2733 m4trace:configure.in:53: -1- m4_pattern_allow([^MAINT$])
2734 m4trace:configure.in:56: -1- m4_pattern_allow([^SET_MAKE$])
2735 m4trace:configure.in:64: -1- m4_pattern_allow([^CXX$])
2736 m4trace:configure.in:64: -1- m4_pattern_allow([^CXXFLAGS$])
2737 m4trace:configure.in:64: -1- m4_pattern_allow([^LDFLAGS$])
2738 m4trace:configure.in:64: -1- m4_pattern_allow([^LIBS$])
2739 m4trace:configure.in:64: -1- m4_pattern_allow([^CPPFLAGS$])
2740 m4trace:configure.in:64: -1- m4_pattern_allow([^CXX$])
2741 m4trace:configure.in:64: -1- m4_pattern_allow([^ac_ct_CXX$])
2742 m4trace:configure.in:64: -1- m4_pattern_allow([^EXEEXT$])
2743 m4trace:configure.in:64: -1- m4_pattern_allow([^OBJEXT$])
2744 m4trace:configure.in:64: -1- _AM_DEPENDENCIES([CXX])
2745 m4trace:configure.in:64: -1- AM_SET_DEPDIR
2746 m4trace:configure.in:64: -1- m4_pattern_allow([^DEPDIR$])
2747 m4trace:configure.in:64: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
2748 m4trace:configure.in:64: -1- AM_MAKE_INCLUDE
2749 m4trace:configure.in:64: -1- m4_pattern_allow([^am__include$])
2750 m4trace:configure.in:64: -1- m4_pattern_allow([^am__quote$])
2751 m4trace:configure.in:64: -1- AM_DEP_TRACK
2752 m4trace:configure.in:64: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
2753 m4trace:configure.in:64: -1- m4_pattern_allow([^AMDEP_TRUE$])
2754 m4trace:configure.in:64: -1- m4_pattern_allow([^AMDEP_FALSE$])
2755 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
2756 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
2757 m4trace:configure.in:64: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
2758 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
2759 m4trace:configure.in:64: -1- m4_pattern_allow([^CXXDEPMODE$])
2760 m4trace:configure.in:64: -1- AM_CONDITIONAL([am__fastdepCXX], [
2761 test "x$enable_dependency_tracking" != xno \
2762 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
2763 m4trace:configure.in:64: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
2764 m4trace:configure.in:64: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
2765 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
2766 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
2767 m4trace:configure.in:65: -1- m4_pattern_allow([^CC$])
2768 m4trace:configure.in:65: -1- m4_pattern_allow([^CFLAGS$])
2769 m4trace:configure.in:65: -1- m4_pattern_allow([^LDFLAGS$])
2770 m4trace:configure.in:65: -1- m4_pattern_allow([^LIBS$])
2771 m4trace:configure.in:65: -1- m4_pattern_allow([^CPPFLAGS$])
2772 m4trace:configure.in:65: -1- m4_pattern_allow([^CC$])
2773 m4trace:configure.in:65: -1- m4_pattern_allow([^CC$])
2774 m4trace:configure.in:65: -1- m4_pattern_allow([^CC$])
2775 m4trace:configure.in:65: -1- m4_pattern_allow([^CC$])
2776 m4trace:configure.in:65: -1- m4_pattern_allow([^ac_ct_CC$])
2777 m4trace:configure.in:65: -1- _AM_DEPENDENCIES([CC])
2778 m4trace:configure.in:65: -1- m4_pattern_allow([^CCDEPMODE$])
2779 m4trace:configure.in:65: -1- AM_CONDITIONAL([am__fastdepCC], [
2780 test "x$enable_dependency_tracking" != xno \
2781 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
2782 m4trace:configure.in:65: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
2783 m4trace:configure.in:65: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
2784 m4trace:configure.in:65: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
2785 m4trace:configure.in:65: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
2786 m4trace:configure.in:65: -1- m4_pattern_allow([^CPP$])
2787 m4trace:configure.in:65: -1- m4_pattern_allow([^CPPFLAGS$])
2788 m4trace:configure.in:65: -1- m4_pattern_allow([^CPP$])
2789 m4trace:configure.in:67: -1- m4_pattern_allow([^LN_S$])
2790 m4trace:configure.in:68: -1- m4_pattern_allow([^SET_MAKE$])
2791 m4trace:configure.in:69: -1- MLX_PROG_SWIG([1.1.5], [eq])
2792 m4trace:configure.in:69: -1- m4_pattern_allow([^SWIG$])
2793 m4trace:configure.in:69: -1- AM_CONDITIONAL([HAS_SWIG], [test 1])
2794 m4trace:configure.in:69: -1- m4_pattern_allow([^HAS_SWIG_TRUE$])
2795 m4trace:configure.in:69: -1- m4_pattern_allow([^HAS_SWIG_FALSE$])
2796 m4trace:configure.in:69: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_TRUE])
2797 m4trace:configure.in:69: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_FALSE])
2798 m4trace:configure.in:69: -1- AM_CONDITIONAL([HAS_SWIG], [test 0])
2799 m4trace:configure.in:69: -1- m4_pattern_allow([^HAS_SWIG_TRUE$])
2800 m4trace:configure.in:69: -1- m4_pattern_allow([^HAS_SWIG_FALSE$])
2801 m4trace:configure.in:69: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_TRUE])
2802 m4trace:configure.in:69: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_FALSE])
2803 m4trace:configure.in:69: -1- m4_pattern_allow([^SWIG_LIB$])
2804 m4trace:configure.in:76: -1- AC_PROG_LIBTOOL
2805 m4trace:configure.in:76: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
2806 You should run autoupdate.], [/usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2807 configure.in:76: the top level])
2808 m4trace:configure.in:76: -1- LT_INIT
2809 m4trace:configure.in:76: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
2810 m4trace:configure.in:76: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
2811 m4trace:configure.in:76: -1- LTOPTIONS_VERSION
2812 m4trace:configure.in:76: -1- LTSUGAR_VERSION
2813 m4trace:configure.in:76: -1- LTVERSION_VERSION
2814 m4trace:configure.in:76: -1- LTOBSOLETE_VERSION
2815 m4trace:configure.in:76: -1- _LT_PROG_LTMAIN
2816 m4trace:configure.in:76: -1- m4_pattern_allow([^LIBTOOL$])
2817 m4trace:configure.in:76: -1- m4_pattern_allow([^build$])
2818 m4trace:configure.in:76: -1- m4_pattern_allow([^build_cpu$])
2819 m4trace:configure.in:76: -1- m4_pattern_allow([^build_vendor$])
2820 m4trace:configure.in:76: -1- m4_pattern_allow([^build_os$])
2821 m4trace:configure.in:76: -1- m4_pattern_allow([^host$])
2822 m4trace:configure.in:76: -1- m4_pattern_allow([^host_cpu$])
2823 m4trace:configure.in:76: -1- m4_pattern_allow([^host_vendor$])
2824 m4trace:configure.in:76: -1- m4_pattern_allow([^host_os$])
2825 m4trace:configure.in:76: -1- LT_PATH_LD
2826 m4trace:configure.in:76: -1- m4_pattern_allow([^SED$])
2827 m4trace:configure.in:76: -1- AC_PROG_EGREP
2828 m4trace:configure.in:76: -1- m4_pattern_allow([^GREP$])
2829 m4trace:configure.in:76: -1- m4_pattern_allow([^EGREP$])
2830 m4trace:configure.in:76: -1- m4_pattern_allow([^FGREP$])
2831 m4trace:configure.in:76: -1- m4_pattern_allow([^GREP$])
2832 m4trace:configure.in:76: -1- m4_pattern_allow([^LD$])
2833 m4trace:configure.in:76: -1- LT_PATH_NM
2834 m4trace:configure.in:76: -1- m4_pattern_allow([^DUMPBIN$])
2835 m4trace:configure.in:76: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
2836 m4trace:configure.in:76: -1- m4_pattern_allow([^DUMPBIN$])
2837 m4trace:configure.in:76: -1- m4_pattern_allow([^NM$])
2838 m4trace:configure.in:76: -1- LT_CMD_MAX_LEN
2839 m4trace:configure.in:76: -1- m4_pattern_allow([^OBJDUMP$])
2840 m4trace:configure.in:76: -1- m4_pattern_allow([^OBJDUMP$])
2841 m4trace:configure.in:76: -1- m4_pattern_allow([^AR$])
2842 m4trace:configure.in:76: -1- m4_pattern_allow([^STRIP$])
2843 m4trace:configure.in:76: -1- m4_pattern_allow([^RANLIB$])
2844 m4trace:configure.in:76: -1- m4_pattern_allow([LT_OBJDIR])
2845 m4trace:configure.in:76: -1- m4_pattern_allow([^LT_OBJDIR$])
2846 m4trace:configure.in:76: -1- m4_pattern_allow([^lt_ECHO$])
2847 m4trace:configure.in:76: -1- _LT_CC_BASENAME([$compiler])
2848 m4trace:configure.in:76: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
2849 m4trace:configure.in:76: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
2850 m4trace:configure.in:76: -1- LT_SUPPORTED_TAG([CC])
2851 m4trace:configure.in:76: -1- _LT_COMPILER_BOILERPLATE
2852 m4trace:configure.in:76: -1- _LT_LINKER_BOILERPLATE
2853 m4trace:configure.in:76: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
2854 m4trace:configure.in:76: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
2855 "" | " "*) ;;
2856 *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
2857 esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
2858 _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
2859 m4trace:configure.in:76: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
2860 m4trace:configure.in:76: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2861 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2862 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2863 /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
2864 /usr/share/aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
2865 /usr/share/aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
2866 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2867 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2868 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2869 configure.in:76: the top level])
2870 m4trace:configure.in:76: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2871 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2872 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2873 /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
2874 /usr/share/aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
2875 /usr/share/aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
2876 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2877 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2878 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2879 configure.in:76: the top level])
2880 m4trace:configure.in:76: -1- m4_pattern_allow([^DSYMUTIL$])
2881 m4trace:configure.in:76: -1- m4_pattern_allow([^NMEDIT$])
2882 m4trace:configure.in:76: -1- m4_pattern_allow([^LIPO$])
2883 m4trace:configure.in:76: -1- m4_pattern_allow([^OTOOL$])
2884 m4trace:configure.in:76: -1- m4_pattern_allow([^OTOOL64$])
2885 m4trace:configure.in:76: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2886 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2887 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2888 /usr/share/aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
2889 /usr/share/aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
2890 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2891 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2892 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2893 configure.in:76: the top level])
2894 m4trace:configure.in:76: -1- LT_SYS_DLOPEN_SELF
2895 m4trace:configure.in:76: -1- m4_pattern_allow([^STDC_HEADERS$])
2896 m4trace:configure.in:76: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
2897 m4trace:configure.in:76: -1- LT_LANG([CXX])
2898 m4trace:configure.in:76: -1- LT_SUPPORTED_TAG([CXX])
2899 m4trace:configure.in:76: -1- m4_pattern_allow([^CXX$])
2900 m4trace:configure.in:76: -1- m4_pattern_allow([^CXXFLAGS$])
2901 m4trace:configure.in:76: -1- m4_pattern_allow([^LDFLAGS$])
2902 m4trace:configure.in:76: -1- m4_pattern_allow([^LIBS$])
2903 m4trace:configure.in:76: -1- m4_pattern_allow([^CPPFLAGS$])
2904 m4trace:configure.in:76: -1- m4_pattern_allow([^CXX$])
2905 m4trace:configure.in:76: -1- m4_pattern_allow([^ac_ct_CXX$])
2906 m4trace:configure.in:76: -1- _AM_DEPENDENCIES([CXX])
2907 m4trace:configure.in:76: -1- m4_pattern_allow([^CXXDEPMODE$])
2908 m4trace:configure.in:76: -1- AM_CONDITIONAL([am__fastdepCXX], [
2909 test "x$enable_dependency_tracking" != xno \
2910 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
2911 m4trace:configure.in:76: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
2912 m4trace:configure.in:76: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
2913 m4trace:configure.in:76: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
2914 m4trace:configure.in:76: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
2915 m4trace:configure.in:76: -1- m4_pattern_allow([^CXXCPP$])
2916 m4trace:configure.in:76: -1- m4_pattern_allow([^CPPFLAGS$])
2917 m4trace:configure.in:76: -1- m4_pattern_allow([^CXXCPP$])
2918 m4trace:configure.in:76: -1- _LT_COMPILER_BOILERPLATE
2919 m4trace:configure.in:76: -1- _LT_LINKER_BOILERPLATE
2920 m4trace:configure.in:76: -1- _LT_CC_BASENAME([$compiler])
2921 m4trace:configure.in:76: -1- LT_PATH_LD
2922 m4trace:configure.in:76: -1- m4_pattern_allow([^LD$])
2923 m4trace:configure.in:76: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2924 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2925 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2926 /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
2927 /usr/share/aclocal/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
2928 /usr/share/aclocal/libtool.m4:785: _LT_LANG is expanded from...
2929 /usr/share/aclocal/libtool.m4:768: LT_LANG is expanded from...
2930 /usr/share/aclocal/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
2931 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2932 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2933 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2934 configure.in:76: the top level])
2935 m4trace:configure.in:76: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
2936 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
2937 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
2938 /usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
2939 /usr/share/aclocal/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
2940 /usr/share/aclocal/libtool.m4:785: _LT_LANG is expanded from...
2941 /usr/share/aclocal/libtool.m4:768: LT_LANG is expanded from...
2942 /usr/share/aclocal/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
2943 /usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
2944 /usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
2945 /usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
2946 configure.in:76: the top level])
2947 m4trace:configure.in:76: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, CXX) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, CXX)], [$_LT_TAGVAR(lt_prog_compiler_pic, CXX)@&t@m4_if([CXX],[],[ -DPIC],[m4_if([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, CXX) in
2948 "" | " "*) ;;
2949 *) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
2950 esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)=
2951 _LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
2952 m4trace:configure.in:76: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works_CXX], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, CXX)=])
2953 m4trace:configure.in:88: -1- MLX_LANG_TCL
2954 m4trace:configure.in:88: -1- m4_pattern_allow([^TCLSH$])
2955 m4trace:configure.in:88: -1- m4_pattern_allow([^TCL_DEFS$])
2956 m4trace:configure.in:88: -1- m4_pattern_allow([^TCL_LIBS$])
2957 m4trace:configure.in:88: -1- m4_pattern_allow([^TCL_CPPFLAGS$])
2958 m4trace:configure.in:88: -1- m4_pattern_allow([^TCL_PREFIX$])
2959 m4trace:configure.in:93: -1- m4_pattern_allow([^STDC_HEADERS$])
2960 m4trace:configure.in:103: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
2961 You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
2962 configure.in:103: the top level])
2963 m4trace:configure.in:104: -1- m4_pattern_allow([^size_t$])
2964 m4trace:configure.in:119: -1- AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])
2965 m4trace:configure.in:119: -1- m4_pattern_allow([^DEBUG_TRUE$])
2966 m4trace:configure.in:119: -1- m4_pattern_allow([^DEBUG_FALSE$])
2967 m4trace:configure.in:119: -1- _AM_SUBST_NOTMAKE([DEBUG_TRUE])
2968 m4trace:configure.in:119: -1- _AM_SUBST_NOTMAKE([DEBUG_FALSE])
2969 m4trace:configure.in:124: -1- OPENIB_APP_IBDM
2970 m4trace:configure.in:124: -1- AM_CONDITIONAL([IBDM_REF_IS_USED], [test $ibdm_ref_is_used = 1])
2971 m4trace:configure.in:124: -1- m4_pattern_allow([^IBDM_REF_IS_USED_TRUE$])
2972 m4trace:configure.in:124: -1- m4_pattern_allow([^IBDM_REF_IS_USED_FALSE$])
2973 m4trace:configure.in:124: -1- _AM_SUBST_NOTMAKE([IBDM_REF_IS_USED_TRUE])
2974 m4trace:configure.in:124: -1- _AM_SUBST_NOTMAKE([IBDM_REF_IS_USED_FALSE])
2975 m4trace:configure.in:124: -1- m4_pattern_allow([^with_ibdm$])
2976 m4trace:configure.in:129: -1- OPENIB_APP_OSM
2977 m4trace:configure.in:129: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [../../lib/autoconf/general.m4:2777: AC_CHECK_FILE is expanded from...
2978 config/osm.m4:20: OPENIB_APP_OSM is expanded from...
2979 configure.in:129: the top level])
2980 m4trace:configure.in:129: -1- AM_CONDITIONAL([OSM_VENDOR_TS], [test "x$OSM_VENDOR" = xts])
2981 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR_TS_TRUE$])
2982 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR_TS_FALSE$])
2983 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_TS_TRUE])
2984 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_TS_FALSE])
2985 m4trace:configure.in:129: -1- AM_CONDITIONAL([OSM_VENDOR_MTL], [test "x$OSM_VENDOR" = xmtl])
2986 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR_MTL_TRUE$])
2987 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR_MTL_FALSE$])
2988 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_MTL_TRUE])
2989 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_MTL_FALSE])
2990 m4trace:configure.in:129: -1- AM_CONDITIONAL([OSM_VENDOR_SIM], [test "x$OSM_VENDOR" = xsim])
2991 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR_SIM_TRUE$])
2992 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR_SIM_FALSE$])
2993 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_SIM_TRUE])
2994 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_SIM_FALSE])
2995 m4trace:configure.in:129: -1- AM_CONDITIONAL([OSM_BUILD_OPENIB], [test "x$OSM_BUILD" = xopenib])
2996 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_BUILD_OPENIB_TRUE$])
2997 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_BUILD_OPENIB_FALSE$])
2998 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_BUILD_OPENIB_TRUE])
2999 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_BUILD_OPENIB_FALSE])
3000 m4trace:configure.in:129: -1- m4_pattern_allow([^with_osm$])
3001 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_CFLAGS$])
3002 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_LDFLAGS$])
3003 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR$])
3004 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_BUILD$])
3005 m4trace:configure.in:132: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
3006 You should run autoupdate.], [])
3007 m4trace:configure.in:132: -1- m4_pattern_allow([^LIB@&t@OBJS$])
3008 m4trace:configure.in:132: -1- m4_pattern_allow([^LTLIBOBJS$])
3009 m4trace:configure.in:132: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
3010 m4trace:configure.in:132: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
3011 m4trace:configure.in:132: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
3012 m4trace:configure.in:132: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
3013 m4trace:configure.in:132: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
3014 m4trace:configure.in:132: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
3015 m4trace:configure.in:132: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
3016 m4trace:configure.in:132: -1- _LT_PROG_LTMAIN
+0
-791
ibmgtsim/autom4te.cache/traces.1 less more
0 m4trace:aclocal.m4:8953: -1- m4_include([config/ibdm.m4])
1 m4trace:aclocal.m4:8954: -1- m4_include([config/osm.m4])
2 m4trace:aclocal.m4:8955: -1- m4_include([config/swig.m4])
3 m4trace:aclocal.m4:8956: -1- m4_include([config/tcl.m4])
4 m4trace:configure.in:35: -1- AC_INIT([ibmgtsim], [1.5.7])
5 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?A[CHUM]_])
6 m4trace:configure.in:35: -1- m4_pattern_forbid([_AC_])
7 m4trace:configure.in:35: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
8 m4trace:configure.in:35: -1- m4_pattern_allow([^AS_FLAGS$])
9 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?m4_])
10 m4trace:configure.in:35: -1- m4_pattern_forbid([^dnl$])
11 m4trace:configure.in:35: -1- m4_pattern_forbid([^_?AS_])
12 m4trace:configure.in:35: -1- AC_SUBST([SHELL])
13 m4trace:configure.in:35: -1- AC_SUBST_TRACE([SHELL])
14 m4trace:configure.in:35: -1- m4_pattern_allow([^SHELL$])
15 m4trace:configure.in:35: -1- AC_SUBST([PATH_SEPARATOR])
16 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
17 m4trace:configure.in:35: -1- m4_pattern_allow([^PATH_SEPARATOR$])
18 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
19 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_NAME])
20 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
21 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
22 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
23 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
24 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
25 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
26 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
27 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
28 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_STRING])
29 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
30 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
31 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
32 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
33 m4trace:configure.in:35: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
34 m4trace:configure.in:35: -1- AC_SUBST_TRACE([PACKAGE_URL])
35 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
36 m4trace:configure.in:35: -1- AC_SUBST([exec_prefix], [NONE])
37 m4trace:configure.in:35: -1- AC_SUBST_TRACE([exec_prefix])
38 m4trace:configure.in:35: -1- m4_pattern_allow([^exec_prefix$])
39 m4trace:configure.in:35: -1- AC_SUBST([prefix], [NONE])
40 m4trace:configure.in:35: -1- AC_SUBST_TRACE([prefix])
41 m4trace:configure.in:35: -1- m4_pattern_allow([^prefix$])
42 m4trace:configure.in:35: -1- AC_SUBST([program_transform_name], [s,x,x,])
43 m4trace:configure.in:35: -1- AC_SUBST_TRACE([program_transform_name])
44 m4trace:configure.in:35: -1- m4_pattern_allow([^program_transform_name$])
45 m4trace:configure.in:35: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
46 m4trace:configure.in:35: -1- AC_SUBST_TRACE([bindir])
47 m4trace:configure.in:35: -1- m4_pattern_allow([^bindir$])
48 m4trace:configure.in:35: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
49 m4trace:configure.in:35: -1- AC_SUBST_TRACE([sbindir])
50 m4trace:configure.in:35: -1- m4_pattern_allow([^sbindir$])
51 m4trace:configure.in:35: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
52 m4trace:configure.in:35: -1- AC_SUBST_TRACE([libexecdir])
53 m4trace:configure.in:35: -1- m4_pattern_allow([^libexecdir$])
54 m4trace:configure.in:35: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
55 m4trace:configure.in:35: -1- AC_SUBST_TRACE([datarootdir])
56 m4trace:configure.in:35: -1- m4_pattern_allow([^datarootdir$])
57 m4trace:configure.in:35: -1- AC_SUBST([datadir], ['${datarootdir}'])
58 m4trace:configure.in:35: -1- AC_SUBST_TRACE([datadir])
59 m4trace:configure.in:35: -1- m4_pattern_allow([^datadir$])
60 m4trace:configure.in:35: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
61 m4trace:configure.in:35: -1- AC_SUBST_TRACE([sysconfdir])
62 m4trace:configure.in:35: -1- m4_pattern_allow([^sysconfdir$])
63 m4trace:configure.in:35: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
64 m4trace:configure.in:35: -1- AC_SUBST_TRACE([sharedstatedir])
65 m4trace:configure.in:35: -1- m4_pattern_allow([^sharedstatedir$])
66 m4trace:configure.in:35: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
67 m4trace:configure.in:35: -1- AC_SUBST_TRACE([localstatedir])
68 m4trace:configure.in:35: -1- m4_pattern_allow([^localstatedir$])
69 m4trace:configure.in:35: -1- AC_SUBST([includedir], ['${prefix}/include'])
70 m4trace:configure.in:35: -1- AC_SUBST_TRACE([includedir])
71 m4trace:configure.in:35: -1- m4_pattern_allow([^includedir$])
72 m4trace:configure.in:35: -1- AC_SUBST([oldincludedir], ['/usr/include'])
73 m4trace:configure.in:35: -1- AC_SUBST_TRACE([oldincludedir])
74 m4trace:configure.in:35: -1- m4_pattern_allow([^oldincludedir$])
75 m4trace:configure.in:35: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
76 ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
77 ['${datarootdir}/doc/${PACKAGE}'])])
78 m4trace:configure.in:35: -1- AC_SUBST_TRACE([docdir])
79 m4trace:configure.in:35: -1- m4_pattern_allow([^docdir$])
80 m4trace:configure.in:35: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
81 m4trace:configure.in:35: -1- AC_SUBST_TRACE([infodir])
82 m4trace:configure.in:35: -1- m4_pattern_allow([^infodir$])
83 m4trace:configure.in:35: -1- AC_SUBST([htmldir], ['${docdir}'])
84 m4trace:configure.in:35: -1- AC_SUBST_TRACE([htmldir])
85 m4trace:configure.in:35: -1- m4_pattern_allow([^htmldir$])
86 m4trace:configure.in:35: -1- AC_SUBST([dvidir], ['${docdir}'])
87 m4trace:configure.in:35: -1- AC_SUBST_TRACE([dvidir])
88 m4trace:configure.in:35: -1- m4_pattern_allow([^dvidir$])
89 m4trace:configure.in:35: -1- AC_SUBST([pdfdir], ['${docdir}'])
90 m4trace:configure.in:35: -1- AC_SUBST_TRACE([pdfdir])
91 m4trace:configure.in:35: -1- m4_pattern_allow([^pdfdir$])
92 m4trace:configure.in:35: -1- AC_SUBST([psdir], ['${docdir}'])
93 m4trace:configure.in:35: -1- AC_SUBST_TRACE([psdir])
94 m4trace:configure.in:35: -1- m4_pattern_allow([^psdir$])
95 m4trace:configure.in:35: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
96 m4trace:configure.in:35: -1- AC_SUBST_TRACE([libdir])
97 m4trace:configure.in:35: -1- m4_pattern_allow([^libdir$])
98 m4trace:configure.in:35: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
99 m4trace:configure.in:35: -1- AC_SUBST_TRACE([localedir])
100 m4trace:configure.in:35: -1- m4_pattern_allow([^localedir$])
101 m4trace:configure.in:35: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
102 m4trace:configure.in:35: -1- AC_SUBST_TRACE([mandir])
103 m4trace:configure.in:35: -1- m4_pattern_allow([^mandir$])
104 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
105 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_NAME$])
106 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
107 @%:@undef PACKAGE_NAME])
108 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
109 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
110 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
111 @%:@undef PACKAGE_TARNAME])
112 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
113 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_VERSION$])
114 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
115 @%:@undef PACKAGE_VERSION])
116 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
117 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_STRING$])
118 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
119 @%:@undef PACKAGE_STRING])
120 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
121 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
122 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
123 @%:@undef PACKAGE_BUGREPORT])
124 m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
125 m4trace:configure.in:35: -1- m4_pattern_allow([^PACKAGE_URL$])
126 m4trace:configure.in:35: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
127 @%:@undef PACKAGE_URL])
128 m4trace:configure.in:35: -1- AC_SUBST([DEFS])
129 m4trace:configure.in:35: -1- AC_SUBST_TRACE([DEFS])
130 m4trace:configure.in:35: -1- m4_pattern_allow([^DEFS$])
131 m4trace:configure.in:35: -1- AC_SUBST([ECHO_C])
132 m4trace:configure.in:35: -1- AC_SUBST_TRACE([ECHO_C])
133 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_C$])
134 m4trace:configure.in:35: -1- AC_SUBST([ECHO_N])
135 m4trace:configure.in:35: -1- AC_SUBST_TRACE([ECHO_N])
136 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_N$])
137 m4trace:configure.in:35: -1- AC_SUBST([ECHO_T])
138 m4trace:configure.in:35: -1- AC_SUBST_TRACE([ECHO_T])
139 m4trace:configure.in:35: -1- m4_pattern_allow([^ECHO_T$])
140 m4trace:configure.in:35: -1- AC_SUBST([LIBS])
141 m4trace:configure.in:35: -1- AC_SUBST_TRACE([LIBS])
142 m4trace:configure.in:35: -1- m4_pattern_allow([^LIBS$])
143 m4trace:configure.in:35: -1- AC_SUBST([build_alias])
144 m4trace:configure.in:35: -1- AC_SUBST_TRACE([build_alias])
145 m4trace:configure.in:35: -1- m4_pattern_allow([^build_alias$])
146 m4trace:configure.in:35: -1- AC_SUBST([host_alias])
147 m4trace:configure.in:35: -1- AC_SUBST_TRACE([host_alias])
148 m4trace:configure.in:35: -1- m4_pattern_allow([^host_alias$])
149 m4trace:configure.in:35: -1- AC_SUBST([target_alias])
150 m4trace:configure.in:35: -1- AC_SUBST_TRACE([target_alias])
151 m4trace:configure.in:35: -1- m4_pattern_allow([^target_alias$])
152 m4trace:configure.in:39: -1- AC_CONFIG_AUX_DIR([config])
153 m4trace:configure.in:42: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
154 You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
155 configure.in:42: the top level])
156 m4trace:configure.in:45: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
157 You should run autoupdate.], [aclocal.m4:8368: AM_CONFIG_HEADER is expanded from...
158 configure.in:45: the top level])
159 m4trace:configure.in:45: -1- AC_CONFIG_HEADERS([config.h])
160 m4trace:configure.in:48: -1- AM_INIT_AUTOMAKE
161 m4trace:configure.in:48: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
162 m4trace:configure.in:48: -1- AM_AUTOMAKE_VERSION([1.11.1])
163 m4trace:configure.in:48: -1- AC_REQUIRE_AUX_FILE([install-sh])
164 m4trace:configure.in:48: -1- AC_SUBST([INSTALL_PROGRAM])
165 m4trace:configure.in:48: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
166 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
167 m4trace:configure.in:48: -1- AC_SUBST([INSTALL_SCRIPT])
168 m4trace:configure.in:48: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
169 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
170 m4trace:configure.in:48: -1- AC_SUBST([INSTALL_DATA])
171 m4trace:configure.in:48: -1- AC_SUBST_TRACE([INSTALL_DATA])
172 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_DATA$])
173 m4trace:configure.in:48: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
174 m4trace:configure.in:48: -1- AC_SUBST_TRACE([am__isrc])
175 m4trace:configure.in:48: -1- m4_pattern_allow([^am__isrc$])
176 m4trace:configure.in:48: -1- _AM_SUBST_NOTMAKE([am__isrc])
177 m4trace:configure.in:48: -1- AC_SUBST([CYGPATH_W])
178 m4trace:configure.in:48: -1- AC_SUBST_TRACE([CYGPATH_W])
179 m4trace:configure.in:48: -1- m4_pattern_allow([^CYGPATH_W$])
180 m4trace:configure.in:48: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
181 m4trace:configure.in:48: -1- AC_SUBST_TRACE([PACKAGE])
182 m4trace:configure.in:48: -1- m4_pattern_allow([^PACKAGE$])
183 m4trace:configure.in:48: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
184 m4trace:configure.in:48: -1- AC_SUBST_TRACE([VERSION])
185 m4trace:configure.in:48: -1- m4_pattern_allow([^VERSION$])
186 m4trace:configure.in:48: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
187 m4trace:configure.in:48: -1- m4_pattern_allow([^PACKAGE$])
188 m4trace:configure.in:48: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
189 @%:@undef PACKAGE])
190 m4trace:configure.in:48: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
191 m4trace:configure.in:48: -1- m4_pattern_allow([^VERSION$])
192 m4trace:configure.in:48: -1- AH_OUTPUT([VERSION], [/* Version number of package */
193 @%:@undef VERSION])
194 m4trace:configure.in:48: -1- AC_REQUIRE_AUX_FILE([missing])
195 m4trace:configure.in:48: -1- AC_SUBST([ACLOCAL])
196 m4trace:configure.in:48: -1- AC_SUBST_TRACE([ACLOCAL])
197 m4trace:configure.in:48: -1- m4_pattern_allow([^ACLOCAL$])
198 m4trace:configure.in:48: -1- AC_SUBST([AUTOCONF])
199 m4trace:configure.in:48: -1- AC_SUBST_TRACE([AUTOCONF])
200 m4trace:configure.in:48: -1- m4_pattern_allow([^AUTOCONF$])
201 m4trace:configure.in:48: -1- AC_SUBST([AUTOMAKE])
202 m4trace:configure.in:48: -1- AC_SUBST_TRACE([AUTOMAKE])
203 m4trace:configure.in:48: -1- m4_pattern_allow([^AUTOMAKE$])
204 m4trace:configure.in:48: -1- AC_SUBST([AUTOHEADER])
205 m4trace:configure.in:48: -1- AC_SUBST_TRACE([AUTOHEADER])
206 m4trace:configure.in:48: -1- m4_pattern_allow([^AUTOHEADER$])
207 m4trace:configure.in:48: -1- AC_SUBST([MAKEINFO])
208 m4trace:configure.in:48: -1- AC_SUBST_TRACE([MAKEINFO])
209 m4trace:configure.in:48: -1- m4_pattern_allow([^MAKEINFO$])
210 m4trace:configure.in:48: -1- AC_SUBST([install_sh])
211 m4trace:configure.in:48: -1- AC_SUBST_TRACE([install_sh])
212 m4trace:configure.in:48: -1- m4_pattern_allow([^install_sh$])
213 m4trace:configure.in:48: -1- AC_SUBST([STRIP])
214 m4trace:configure.in:48: -1- AC_SUBST_TRACE([STRIP])
215 m4trace:configure.in:48: -1- m4_pattern_allow([^STRIP$])
216 m4trace:configure.in:48: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
217 m4trace:configure.in:48: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
218 m4trace:configure.in:48: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
219 m4trace:configure.in:48: -1- AC_REQUIRE_AUX_FILE([install-sh])
220 m4trace:configure.in:48: -1- AC_SUBST([MKDIR_P])
221 m4trace:configure.in:48: -1- AC_SUBST_TRACE([MKDIR_P])
222 m4trace:configure.in:48: -1- m4_pattern_allow([^MKDIR_P$])
223 m4trace:configure.in:48: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
224 m4trace:configure.in:48: -1- AC_SUBST_TRACE([mkdir_p])
225 m4trace:configure.in:48: -1- m4_pattern_allow([^mkdir_p$])
226 m4trace:configure.in:48: -1- AC_SUBST([AWK])
227 m4trace:configure.in:48: -1- AC_SUBST_TRACE([AWK])
228 m4trace:configure.in:48: -1- m4_pattern_allow([^AWK$])
229 m4trace:configure.in:48: -1- AC_SUBST([SET_MAKE])
230 m4trace:configure.in:48: -1- AC_SUBST_TRACE([SET_MAKE])
231 m4trace:configure.in:48: -1- m4_pattern_allow([^SET_MAKE$])
232 m4trace:configure.in:48: -1- AC_SUBST([am__leading_dot])
233 m4trace:configure.in:48: -1- AC_SUBST_TRACE([am__leading_dot])
234 m4trace:configure.in:48: -1- m4_pattern_allow([^am__leading_dot$])
235 m4trace:configure.in:48: -1- AC_SUBST([AMTAR])
236 m4trace:configure.in:48: -1- AC_SUBST_TRACE([AMTAR])
237 m4trace:configure.in:48: -1- m4_pattern_allow([^AMTAR$])
238 m4trace:configure.in:48: -1- AC_SUBST([am__tar])
239 m4trace:configure.in:48: -1- AC_SUBST_TRACE([am__tar])
240 m4trace:configure.in:48: -1- m4_pattern_allow([^am__tar$])
241 m4trace:configure.in:48: -1- AC_SUBST([am__untar])
242 m4trace:configure.in:48: -1- AC_SUBST_TRACE([am__untar])
243 m4trace:configure.in:48: -1- m4_pattern_allow([^am__untar$])
244 m4trace:configure.in:53: -1- AM_MAINTAINER_MODE
245 m4trace:configure.in:53: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
246 m4trace:configure.in:53: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
247 m4trace:configure.in:53: -1- AC_SUBST_TRACE([MAINTAINER_MODE_TRUE])
248 m4trace:configure.in:53: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
249 m4trace:configure.in:53: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
250 m4trace:configure.in:53: -1- AC_SUBST_TRACE([MAINTAINER_MODE_FALSE])
251 m4trace:configure.in:53: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
252 m4trace:configure.in:53: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
253 m4trace:configure.in:53: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
254 m4trace:configure.in:53: -1- AC_SUBST([MAINT])
255 m4trace:configure.in:53: -1- AC_SUBST_TRACE([MAINT])
256 m4trace:configure.in:53: -1- m4_pattern_allow([^MAINT$])
257 m4trace:configure.in:56: -1- AC_SUBST([SET_MAKE])
258 m4trace:configure.in:56: -1- AC_SUBST_TRACE([SET_MAKE])
259 m4trace:configure.in:56: -1- m4_pattern_allow([^SET_MAKE$])
260 m4trace:configure.in:64: -1- AC_SUBST([CXX])
261 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CXX])
262 m4trace:configure.in:64: -1- m4_pattern_allow([^CXX$])
263 m4trace:configure.in:64: -1- AC_SUBST([CXXFLAGS])
264 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CXXFLAGS])
265 m4trace:configure.in:64: -1- m4_pattern_allow([^CXXFLAGS$])
266 m4trace:configure.in:64: -1- AC_SUBST([LDFLAGS])
267 m4trace:configure.in:64: -1- AC_SUBST_TRACE([LDFLAGS])
268 m4trace:configure.in:64: -1- m4_pattern_allow([^LDFLAGS$])
269 m4trace:configure.in:64: -1- AC_SUBST([LIBS])
270 m4trace:configure.in:64: -1- AC_SUBST_TRACE([LIBS])
271 m4trace:configure.in:64: -1- m4_pattern_allow([^LIBS$])
272 m4trace:configure.in:64: -1- AC_SUBST([CPPFLAGS])
273 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CPPFLAGS])
274 m4trace:configure.in:64: -1- m4_pattern_allow([^CPPFLAGS$])
275 m4trace:configure.in:64: -1- AC_SUBST([CXX])
276 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CXX])
277 m4trace:configure.in:64: -1- m4_pattern_allow([^CXX$])
278 m4trace:configure.in:64: -1- AC_SUBST([ac_ct_CXX])
279 m4trace:configure.in:64: -1- AC_SUBST_TRACE([ac_ct_CXX])
280 m4trace:configure.in:64: -1- m4_pattern_allow([^ac_ct_CXX$])
281 m4trace:configure.in:64: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
282 m4trace:configure.in:64: -1- AC_SUBST_TRACE([EXEEXT])
283 m4trace:configure.in:64: -1- m4_pattern_allow([^EXEEXT$])
284 m4trace:configure.in:64: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
285 m4trace:configure.in:64: -1- AC_SUBST_TRACE([OBJEXT])
286 m4trace:configure.in:64: -1- m4_pattern_allow([^OBJEXT$])
287 m4trace:configure.in:64: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
288 m4trace:configure.in:64: -1- AC_SUBST_TRACE([DEPDIR])
289 m4trace:configure.in:64: -1- m4_pattern_allow([^DEPDIR$])
290 m4trace:configure.in:64: -1- AC_SUBST([am__include])
291 m4trace:configure.in:64: -1- AC_SUBST_TRACE([am__include])
292 m4trace:configure.in:64: -1- m4_pattern_allow([^am__include$])
293 m4trace:configure.in:64: -1- AC_SUBST([am__quote])
294 m4trace:configure.in:64: -1- AC_SUBST_TRACE([am__quote])
295 m4trace:configure.in:64: -1- m4_pattern_allow([^am__quote$])
296 m4trace:configure.in:64: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
297 m4trace:configure.in:64: -1- AC_SUBST([AMDEP_TRUE])
298 m4trace:configure.in:64: -1- AC_SUBST_TRACE([AMDEP_TRUE])
299 m4trace:configure.in:64: -1- m4_pattern_allow([^AMDEP_TRUE$])
300 m4trace:configure.in:64: -1- AC_SUBST([AMDEP_FALSE])
301 m4trace:configure.in:64: -1- AC_SUBST_TRACE([AMDEP_FALSE])
302 m4trace:configure.in:64: -1- m4_pattern_allow([^AMDEP_FALSE$])
303 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
304 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
305 m4trace:configure.in:64: -1- AC_SUBST([AMDEPBACKSLASH])
306 m4trace:configure.in:64: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
307 m4trace:configure.in:64: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
308 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
309 m4trace:configure.in:64: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
310 m4trace:configure.in:64: -1- AC_SUBST_TRACE([CXXDEPMODE])
311 m4trace:configure.in:64: -1- m4_pattern_allow([^CXXDEPMODE$])
312 m4trace:configure.in:64: -1- AM_CONDITIONAL([am__fastdepCXX], [
313 test "x$enable_dependency_tracking" != xno \
314 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
315 m4trace:configure.in:64: -1- AC_SUBST([am__fastdepCXX_TRUE])
316 m4trace:configure.in:64: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
317 m4trace:configure.in:64: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
318 m4trace:configure.in:64: -1- AC_SUBST([am__fastdepCXX_FALSE])
319 m4trace:configure.in:64: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
320 m4trace:configure.in:64: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
321 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
322 m4trace:configure.in:64: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
323 m4trace:configure.in:65: -1- AC_SUBST([CC])
324 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CC])
325 m4trace:configure.in:65: -1- m4_pattern_allow([^CC$])
326 m4trace:configure.in:65: -1- AC_SUBST([CFLAGS])
327 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CFLAGS])
328 m4trace:configure.in:65: -1- m4_pattern_allow([^CFLAGS$])
329 m4trace:configure.in:65: -1- AC_SUBST([LDFLAGS])
330 m4trace:configure.in:65: -1- AC_SUBST_TRACE([LDFLAGS])
331 m4trace:configure.in:65: -1- m4_pattern_allow([^LDFLAGS$])
332 m4trace:configure.in:65: -1- AC_SUBST([LIBS])
333 m4trace:configure.in:65: -1- AC_SUBST_TRACE([LIBS])
334 m4trace:configure.in:65: -1- m4_pattern_allow([^LIBS$])
335 m4trace:configure.in:65: -1- AC_SUBST([CPPFLAGS])
336 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CPPFLAGS])
337 m4trace:configure.in:65: -1- m4_pattern_allow([^CPPFLAGS$])
338 m4trace:configure.in:65: -1- AC_SUBST([CC])
339 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CC])
340 m4trace:configure.in:65: -1- m4_pattern_allow([^CC$])
341 m4trace:configure.in:65: -1- AC_SUBST([CC])
342 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CC])
343 m4trace:configure.in:65: -1- m4_pattern_allow([^CC$])
344 m4trace:configure.in:65: -1- AC_SUBST([CC])
345 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CC])
346 m4trace:configure.in:65: -1- m4_pattern_allow([^CC$])
347 m4trace:configure.in:65: -1- AC_SUBST([CC])
348 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CC])
349 m4trace:configure.in:65: -1- m4_pattern_allow([^CC$])
350 m4trace:configure.in:65: -1- AC_SUBST([ac_ct_CC])
351 m4trace:configure.in:65: -1- AC_SUBST_TRACE([ac_ct_CC])
352 m4trace:configure.in:65: -1- m4_pattern_allow([^ac_ct_CC$])
353 m4trace:configure.in:65: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
354 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CCDEPMODE])
355 m4trace:configure.in:65: -1- m4_pattern_allow([^CCDEPMODE$])
356 m4trace:configure.in:65: -1- AM_CONDITIONAL([am__fastdepCC], [
357 test "x$enable_dependency_tracking" != xno \
358 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
359 m4trace:configure.in:65: -1- AC_SUBST([am__fastdepCC_TRUE])
360 m4trace:configure.in:65: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
361 m4trace:configure.in:65: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
362 m4trace:configure.in:65: -1- AC_SUBST([am__fastdepCC_FALSE])
363 m4trace:configure.in:65: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
364 m4trace:configure.in:65: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
365 m4trace:configure.in:65: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
366 m4trace:configure.in:65: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
367 m4trace:configure.in:65: -1- AC_SUBST([CPP])
368 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CPP])
369 m4trace:configure.in:65: -1- m4_pattern_allow([^CPP$])
370 m4trace:configure.in:65: -1- AC_SUBST([CPPFLAGS])
371 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CPPFLAGS])
372 m4trace:configure.in:65: -1- m4_pattern_allow([^CPPFLAGS$])
373 m4trace:configure.in:65: -1- AC_SUBST([CPP])
374 m4trace:configure.in:65: -1- AC_SUBST_TRACE([CPP])
375 m4trace:configure.in:65: -1- m4_pattern_allow([^CPP$])
376 m4trace:configure.in:67: -1- AC_SUBST([LN_S], [$as_ln_s])
377 m4trace:configure.in:67: -1- AC_SUBST_TRACE([LN_S])
378 m4trace:configure.in:67: -1- m4_pattern_allow([^LN_S$])
379 m4trace:configure.in:68: -1- AC_SUBST([SET_MAKE])
380 m4trace:configure.in:68: -1- AC_SUBST_TRACE([SET_MAKE])
381 m4trace:configure.in:68: -1- m4_pattern_allow([^SET_MAKE$])
382 m4trace:configure.in:69: -1- AC_SUBST([SWIG])
383 m4trace:configure.in:69: -1- AC_SUBST_TRACE([SWIG])
384 m4trace:configure.in:69: -1- m4_pattern_allow([^SWIG$])
385 m4trace:configure.in:69: -1- AM_CONDITIONAL([HAS_SWIG], [test 1])
386 m4trace:configure.in:69: -1- AC_SUBST([HAS_SWIG_TRUE])
387 m4trace:configure.in:69: -1- AC_SUBST_TRACE([HAS_SWIG_TRUE])
388 m4trace:configure.in:69: -1- m4_pattern_allow([^HAS_SWIG_TRUE$])
389 m4trace:configure.in:69: -1- AC_SUBST([HAS_SWIG_FALSE])
390 m4trace:configure.in:69: -1- AC_SUBST_TRACE([HAS_SWIG_FALSE])
391 m4trace:configure.in:69: -1- m4_pattern_allow([^HAS_SWIG_FALSE$])
392 m4trace:configure.in:69: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_TRUE])
393 m4trace:configure.in:69: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_FALSE])
394 m4trace:configure.in:69: -1- AM_CONDITIONAL([HAS_SWIG], [test 0])
395 m4trace:configure.in:69: -1- AC_SUBST([HAS_SWIG_TRUE])
396 m4trace:configure.in:69: -1- AC_SUBST_TRACE([HAS_SWIG_TRUE])
397 m4trace:configure.in:69: -1- m4_pattern_allow([^HAS_SWIG_TRUE$])
398 m4trace:configure.in:69: -1- AC_SUBST([HAS_SWIG_FALSE])
399 m4trace:configure.in:69: -1- AC_SUBST_TRACE([HAS_SWIG_FALSE])
400 m4trace:configure.in:69: -1- m4_pattern_allow([^HAS_SWIG_FALSE$])
401 m4trace:configure.in:69: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_TRUE])
402 m4trace:configure.in:69: -1- _AM_SUBST_NOTMAKE([HAS_SWIG_FALSE])
403 m4trace:configure.in:69: -1- AC_SUBST([SWIG_LIB])
404 m4trace:configure.in:69: -1- AC_SUBST_TRACE([SWIG_LIB])
405 m4trace:configure.in:69: -1- m4_pattern_allow([^SWIG_LIB$])
406 m4trace:configure.in:76: -1- AC_PROG_LIBTOOL
407 m4trace:configure.in:76: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
408 You should run autoupdate.], [aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
409 configure.in:76: the top level])
410 m4trace:configure.in:76: -1- LT_INIT
411 m4trace:configure.in:76: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
412 m4trace:configure.in:76: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
413 m4trace:configure.in:76: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
414 m4trace:configure.in:76: -1- AC_SUBST([LIBTOOL])
415 m4trace:configure.in:76: -1- AC_SUBST_TRACE([LIBTOOL])
416 m4trace:configure.in:76: -1- m4_pattern_allow([^LIBTOOL$])
417 m4trace:configure.in:76: -1- AC_CANONICAL_HOST
418 m4trace:configure.in:76: -1- AC_CANONICAL_BUILD
419 m4trace:configure.in:76: -1- AC_REQUIRE_AUX_FILE([config.sub])
420 m4trace:configure.in:76: -1- AC_REQUIRE_AUX_FILE([config.guess])
421 m4trace:configure.in:76: -1- AC_SUBST([build], [$ac_cv_build])
422 m4trace:configure.in:76: -1- AC_SUBST_TRACE([build])
423 m4trace:configure.in:76: -1- m4_pattern_allow([^build$])
424 m4trace:configure.in:76: -1- AC_SUBST([build_cpu], [$[1]])
425 m4trace:configure.in:76: -1- AC_SUBST_TRACE([build_cpu])
426 m4trace:configure.in:76: -1- m4_pattern_allow([^build_cpu$])
427 m4trace:configure.in:76: -1- AC_SUBST([build_vendor], [$[2]])
428 m4trace:configure.in:76: -1- AC_SUBST_TRACE([build_vendor])
429 m4trace:configure.in:76: -1- m4_pattern_allow([^build_vendor$])
430 m4trace:configure.in:76: -1- AC_SUBST([build_os])
431 m4trace:configure.in:76: -1- AC_SUBST_TRACE([build_os])
432 m4trace:configure.in:76: -1- m4_pattern_allow([^build_os$])
433 m4trace:configure.in:76: -1- AC_SUBST([host], [$ac_cv_host])
434 m4trace:configure.in:76: -1- AC_SUBST_TRACE([host])
435 m4trace:configure.in:76: -1- m4_pattern_allow([^host$])
436 m4trace:configure.in:76: -1- AC_SUBST([host_cpu], [$[1]])
437 m4trace:configure.in:76: -1- AC_SUBST_TRACE([host_cpu])
438 m4trace:configure.in:76: -1- m4_pattern_allow([^host_cpu$])
439 m4trace:configure.in:76: -1- AC_SUBST([host_vendor], [$[2]])
440 m4trace:configure.in:76: -1- AC_SUBST_TRACE([host_vendor])
441 m4trace:configure.in:76: -1- m4_pattern_allow([^host_vendor$])
442 m4trace:configure.in:76: -1- AC_SUBST([host_os])
443 m4trace:configure.in:76: -1- AC_SUBST_TRACE([host_os])
444 m4trace:configure.in:76: -1- m4_pattern_allow([^host_os$])
445 m4trace:configure.in:76: -1- AC_SUBST([SED])
446 m4trace:configure.in:76: -1- AC_SUBST_TRACE([SED])
447 m4trace:configure.in:76: -1- m4_pattern_allow([^SED$])
448 m4trace:configure.in:76: -1- AC_SUBST([GREP])
449 m4trace:configure.in:76: -1- AC_SUBST_TRACE([GREP])
450 m4trace:configure.in:76: -1- m4_pattern_allow([^GREP$])
451 m4trace:configure.in:76: -1- AC_SUBST([EGREP])
452 m4trace:configure.in:76: -1- AC_SUBST_TRACE([EGREP])
453 m4trace:configure.in:76: -1- m4_pattern_allow([^EGREP$])
454 m4trace:configure.in:76: -1- AC_SUBST([FGREP])
455 m4trace:configure.in:76: -1- AC_SUBST_TRACE([FGREP])
456 m4trace:configure.in:76: -1- m4_pattern_allow([^FGREP$])
457 m4trace:configure.in:76: -1- AC_SUBST([GREP])
458 m4trace:configure.in:76: -1- AC_SUBST_TRACE([GREP])
459 m4trace:configure.in:76: -1- m4_pattern_allow([^GREP$])
460 m4trace:configure.in:76: -1- AC_SUBST([LD])
461 m4trace:configure.in:76: -1- AC_SUBST_TRACE([LD])
462 m4trace:configure.in:76: -1- m4_pattern_allow([^LD$])
463 m4trace:configure.in:76: -1- AC_SUBST([DUMPBIN])
464 m4trace:configure.in:76: -1- AC_SUBST_TRACE([DUMPBIN])
465 m4trace:configure.in:76: -1- m4_pattern_allow([^DUMPBIN$])
466 m4trace:configure.in:76: -1- AC_SUBST([ac_ct_DUMPBIN])
467 m4trace:configure.in:76: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
468 m4trace:configure.in:76: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
469 m4trace:configure.in:76: -1- AC_SUBST([DUMPBIN])
470 m4trace:configure.in:76: -1- AC_SUBST_TRACE([DUMPBIN])
471 m4trace:configure.in:76: -1- m4_pattern_allow([^DUMPBIN$])
472 m4trace:configure.in:76: -1- AC_SUBST([NM])
473 m4trace:configure.in:76: -1- AC_SUBST_TRACE([NM])
474 m4trace:configure.in:76: -1- m4_pattern_allow([^NM$])
475 m4trace:configure.in:76: -1- AC_SUBST([OBJDUMP])
476 m4trace:configure.in:76: -1- AC_SUBST_TRACE([OBJDUMP])
477 m4trace:configure.in:76: -1- m4_pattern_allow([^OBJDUMP$])
478 m4trace:configure.in:76: -1- AC_SUBST([OBJDUMP])
479 m4trace:configure.in:76: -1- AC_SUBST_TRACE([OBJDUMP])
480 m4trace:configure.in:76: -1- m4_pattern_allow([^OBJDUMP$])
481 m4trace:configure.in:76: -1- AC_SUBST([AR])
482 m4trace:configure.in:76: -1- AC_SUBST_TRACE([AR])
483 m4trace:configure.in:76: -1- m4_pattern_allow([^AR$])
484 m4trace:configure.in:76: -1- AC_SUBST([STRIP])
485 m4trace:configure.in:76: -1- AC_SUBST_TRACE([STRIP])
486 m4trace:configure.in:76: -1- m4_pattern_allow([^STRIP$])
487 m4trace:configure.in:76: -1- AC_SUBST([RANLIB])
488 m4trace:configure.in:76: -1- AC_SUBST_TRACE([RANLIB])
489 m4trace:configure.in:76: -1- m4_pattern_allow([^RANLIB$])
490 m4trace:configure.in:76: -1- m4_pattern_allow([LT_OBJDIR])
491 m4trace:configure.in:76: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
492 m4trace:configure.in:76: -1- m4_pattern_allow([^LT_OBJDIR$])
493 m4trace:configure.in:76: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries.
494 */
495 @%:@undef LT_OBJDIR])
496 m4trace:configure.in:76: -1- AC_SUBST([lt_ECHO])
497 m4trace:configure.in:76: -1- AC_SUBST_TRACE([lt_ECHO])
498 m4trace:configure.in:76: -1- m4_pattern_allow([^lt_ECHO$])
499 m4trace:configure.in:76: -1- LT_SUPPORTED_TAG([CC])
500 m4trace:configure.in:76: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
501 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
502 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
503 aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
504 aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
505 aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
506 aclocal.m4:159: _LT_SETUP is expanded from...
507 aclocal.m4:88: LT_INIT is expanded from...
508 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
509 configure.in:76: the top level])
510 m4trace:configure.in:76: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
511 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
512 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
513 aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
514 aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
515 aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
516 aclocal.m4:159: _LT_SETUP is expanded from...
517 aclocal.m4:88: LT_INIT is expanded from...
518 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
519 configure.in:76: the top level])
520 m4trace:configure.in:76: -1- AC_SUBST([DSYMUTIL])
521 m4trace:configure.in:76: -1- AC_SUBST_TRACE([DSYMUTIL])
522 m4trace:configure.in:76: -1- m4_pattern_allow([^DSYMUTIL$])
523 m4trace:configure.in:76: -1- AC_SUBST([NMEDIT])
524 m4trace:configure.in:76: -1- AC_SUBST_TRACE([NMEDIT])
525 m4trace:configure.in:76: -1- m4_pattern_allow([^NMEDIT$])
526 m4trace:configure.in:76: -1- AC_SUBST([LIPO])
527 m4trace:configure.in:76: -1- AC_SUBST_TRACE([LIPO])
528 m4trace:configure.in:76: -1- m4_pattern_allow([^LIPO$])
529 m4trace:configure.in:76: -1- AC_SUBST([OTOOL])
530 m4trace:configure.in:76: -1- AC_SUBST_TRACE([OTOOL])
531 m4trace:configure.in:76: -1- m4_pattern_allow([^OTOOL$])
532 m4trace:configure.in:76: -1- AC_SUBST([OTOOL64])
533 m4trace:configure.in:76: -1- AC_SUBST_TRACE([OTOOL64])
534 m4trace:configure.in:76: -1- m4_pattern_allow([^OTOOL64$])
535 m4trace:configure.in:76: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
536 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
537 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
538 aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
539 aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
540 aclocal.m4:159: _LT_SETUP is expanded from...
541 aclocal.m4:88: LT_INIT is expanded from...
542 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
543 configure.in:76: the top level])
544 m4trace:configure.in:76: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
545 @%:@undef HAVE_DLFCN_H])
546 m4trace:configure.in:76: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
547 m4trace:configure.in:76: -1- m4_pattern_allow([^STDC_HEADERS$])
548 m4trace:configure.in:76: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
549 @%:@undef STDC_HEADERS])
550 m4trace:configure.in:76: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
551 @%:@undef HAVE_SYS_TYPES_H])
552 m4trace:configure.in:76: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
553 @%:@undef HAVE_SYS_STAT_H])
554 m4trace:configure.in:76: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
555 @%:@undef HAVE_STDLIB_H])
556 m4trace:configure.in:76: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
557 @%:@undef HAVE_STRING_H])
558 m4trace:configure.in:76: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
559 @%:@undef HAVE_MEMORY_H])
560 m4trace:configure.in:76: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
561 @%:@undef HAVE_STRINGS_H])
562 m4trace:configure.in:76: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
563 @%:@undef HAVE_INTTYPES_H])
564 m4trace:configure.in:76: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
565 @%:@undef HAVE_STDINT_H])
566 m4trace:configure.in:76: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
567 @%:@undef HAVE_UNISTD_H])
568 m4trace:configure.in:76: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
569 m4trace:configure.in:76: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
570 m4trace:configure.in:76: -1- LT_SUPPORTED_TAG([CXX])
571 m4trace:configure.in:76: -1- AC_SUBST([CXX])
572 m4trace:configure.in:76: -1- AC_SUBST_TRACE([CXX])
573 m4trace:configure.in:76: -1- m4_pattern_allow([^CXX$])
574 m4trace:configure.in:76: -1- AC_SUBST([CXXFLAGS])
575 m4trace:configure.in:76: -1- AC_SUBST_TRACE([CXXFLAGS])
576 m4trace:configure.in:76: -1- m4_pattern_allow([^CXXFLAGS$])
577 m4trace:configure.in:76: -1- AC_SUBST([LDFLAGS])
578 m4trace:configure.in:76: -1- AC_SUBST_TRACE([LDFLAGS])
579 m4trace:configure.in:76: -1- m4_pattern_allow([^LDFLAGS$])
580 m4trace:configure.in:76: -1- AC_SUBST([LIBS])
581 m4trace:configure.in:76: -1- AC_SUBST_TRACE([LIBS])
582 m4trace:configure.in:76: -1- m4_pattern_allow([^LIBS$])
583 m4trace:configure.in:76: -1- AC_SUBST([CPPFLAGS])
584 m4trace:configure.in:76: -1- AC_SUBST_TRACE([CPPFLAGS])
585 m4trace:configure.in:76: -1- m4_pattern_allow([^CPPFLAGS$])
586 m4trace:configure.in:76: -1- AC_SUBST([CXX])
587 m4trace:configure.in:76: -1- AC_SUBST_TRACE([CXX])
588 m4trace:configure.in:76: -1- m4_pattern_allow([^CXX$])
589 m4trace:configure.in:76: -1- AC_SUBST([ac_ct_CXX])
590 m4trace:configure.in:76: -1- AC_SUBST_TRACE([ac_ct_CXX])
591 m4trace:configure.in:76: -1- m4_pattern_allow([^ac_ct_CXX$])
592 m4trace:configure.in:76: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
593 m4trace:configure.in:76: -1- AC_SUBST_TRACE([CXXDEPMODE])
594 m4trace:configure.in:76: -1- m4_pattern_allow([^CXXDEPMODE$])
595 m4trace:configure.in:76: -1- AM_CONDITIONAL([am__fastdepCXX], [
596 test "x$enable_dependency_tracking" != xno \
597 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
598 m4trace:configure.in:76: -1- AC_SUBST([am__fastdepCXX_TRUE])
599 m4trace:configure.in:76: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
600 m4trace:configure.in:76: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
601 m4trace:configure.in:76: -1- AC_SUBST([am__fastdepCXX_FALSE])
602 m4trace:configure.in:76: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
603 m4trace:configure.in:76: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
604 m4trace:configure.in:76: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
605 m4trace:configure.in:76: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
606 m4trace:configure.in:76: -1- AC_SUBST([CXXCPP])
607 m4trace:configure.in:76: -1- AC_SUBST_TRACE([CXXCPP])
608 m4trace:configure.in:76: -1- m4_pattern_allow([^CXXCPP$])
609 m4trace:configure.in:76: -1- AC_SUBST([CPPFLAGS])
610 m4trace:configure.in:76: -1- AC_SUBST_TRACE([CPPFLAGS])
611 m4trace:configure.in:76: -1- m4_pattern_allow([^CPPFLAGS$])
612 m4trace:configure.in:76: -1- AC_SUBST([CXXCPP])
613 m4trace:configure.in:76: -1- AC_SUBST_TRACE([CXXCPP])
614 m4trace:configure.in:76: -1- m4_pattern_allow([^CXXCPP$])
615 m4trace:configure.in:76: -1- AC_SUBST([LD])
616 m4trace:configure.in:76: -1- AC_SUBST_TRACE([LD])
617 m4trace:configure.in:76: -1- m4_pattern_allow([^LD$])
618 m4trace:configure.in:76: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
619 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
620 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
621 aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
622 aclocal.m4:5354: _LT_LANG_CXX_CONFIG is expanded from...
623 aclocal.m4:800: _LT_LANG is expanded from...
624 aclocal.m4:783: LT_LANG is expanded from...
625 aclocal.m4:811: _LT_LANG_DEFAULT_CONFIG is expanded from...
626 aclocal.m4:159: _LT_SETUP is expanded from...
627 aclocal.m4:88: LT_INIT is expanded from...
628 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
629 configure.in:76: the top level])
630 m4trace:configure.in:76: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
631 ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
632 ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
633 aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
634 aclocal.m4:5354: _LT_LANG_CXX_CONFIG is expanded from...
635 aclocal.m4:800: _LT_LANG is expanded from...
636 aclocal.m4:783: LT_LANG is expanded from...
637 aclocal.m4:811: _LT_LANG_DEFAULT_CONFIG is expanded from...
638 aclocal.m4:159: _LT_SETUP is expanded from...
639 aclocal.m4:88: LT_INIT is expanded from...
640 aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
641 configure.in:76: the top level])
642 m4trace:configure.in:88: -1- AC_SUBST([TCLSH])
643 m4trace:configure.in:88: -1- AC_SUBST_TRACE([TCLSH])
644 m4trace:configure.in:88: -1- m4_pattern_allow([^TCLSH$])
645 m4trace:configure.in:88: -1- AC_SUBST([TCL_DEFS])
646 m4trace:configure.in:88: -1- AC_SUBST_TRACE([TCL_DEFS])
647 m4trace:configure.in:88: -1- m4_pattern_allow([^TCL_DEFS$])
648 m4trace:configure.in:88: -1- AC_SUBST([TCL_LIBS])
649 m4trace:configure.in:88: -1- AC_SUBST_TRACE([TCL_LIBS])
650 m4trace:configure.in:88: -1- m4_pattern_allow([^TCL_LIBS$])
651 m4trace:configure.in:88: -1- AC_SUBST([TCL_CPPFLAGS])
652 m4trace:configure.in:88: -1- AC_SUBST_TRACE([TCL_CPPFLAGS])
653 m4trace:configure.in:88: -1- m4_pattern_allow([^TCL_CPPFLAGS$])
654 m4trace:configure.in:88: -1- AC_SUBST([TCL_PREFIX])
655 m4trace:configure.in:88: -1- AC_SUBST_TRACE([TCL_PREFIX])
656 m4trace:configure.in:88: -1- m4_pattern_allow([^TCL_PREFIX$])
657 m4trace:configure.in:93: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
658 m4trace:configure.in:93: -1- m4_pattern_allow([^STDC_HEADERS$])
659 m4trace:configure.in:93: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
660 @%:@undef STDC_HEADERS])
661 m4trace:configure.in:94: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
662 @%:@undef HAVE_INTTYPES_H])
663 m4trace:configure.in:94: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
664 @%:@undef HAVE_STDLIB_H])
665 m4trace:configure.in:94: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
666 @%:@undef HAVE_STRING_H])
667 m4trace:configure.in:103: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
668 You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
669 configure.in:103: the top level])
670 m4trace:configure.in:104: -1- AC_DEFINE_TRACE_LITERAL([size_t])
671 m4trace:configure.in:104: -1- m4_pattern_allow([^size_t$])
672 m4trace:configure.in:104: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
673 @%:@undef size_t])
674 m4trace:configure.in:109: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */
675 @%:@undef HAVE_STRCHR])
676 m4trace:configure.in:109: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
677 @%:@undef HAVE_STRSTR])
678 m4trace:configure.in:109: -1- AH_OUTPUT([HAVE_STRTOL], [/* Define to 1 if you have the `strtol\' function. */
679 @%:@undef HAVE_STRTOL])
680 m4trace:configure.in:109: -1- AH_OUTPUT([HAVE_STRTOULL], [/* Define to 1 if you have the `strtoull\' function. */
681 @%:@undef HAVE_STRTOULL])
682 m4trace:configure.in:109: -1- AH_OUTPUT([HAVE_REGCOMP], [/* Define to 1 if you have the `regcomp\' function. */
683 @%:@undef HAVE_REGCOMP])
684 m4trace:configure.in:109: -1- AH_OUTPUT([HAVE_REGEXEC], [/* Define to 1 if you have the `regexec\' function. */
685 @%:@undef HAVE_REGEXEC])
686 m4trace:configure.in:119: -1- AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])
687 m4trace:configure.in:119: -1- AC_SUBST([DEBUG_TRUE])
688 m4trace:configure.in:119: -1- AC_SUBST_TRACE([DEBUG_TRUE])
689 m4trace:configure.in:119: -1- m4_pattern_allow([^DEBUG_TRUE$])
690 m4trace:configure.in:119: -1- AC_SUBST([DEBUG_FALSE])
691 m4trace:configure.in:119: -1- AC_SUBST_TRACE([DEBUG_FALSE])
692 m4trace:configure.in:119: -1- m4_pattern_allow([^DEBUG_FALSE$])
693 m4trace:configure.in:119: -1- _AM_SUBST_NOTMAKE([DEBUG_TRUE])
694 m4trace:configure.in:119: -1- _AM_SUBST_NOTMAKE([DEBUG_FALSE])
695 m4trace:configure.in:124: -1- AM_CONDITIONAL([IBDM_REF_IS_USED], [test $ibdm_ref_is_used = 1])
696 m4trace:configure.in:124: -1- AC_SUBST([IBDM_REF_IS_USED_TRUE])
697 m4trace:configure.in:124: -1- AC_SUBST_TRACE([IBDM_REF_IS_USED_TRUE])
698 m4trace:configure.in:124: -1- m4_pattern_allow([^IBDM_REF_IS_USED_TRUE$])
699 m4trace:configure.in:124: -1- AC_SUBST([IBDM_REF_IS_USED_FALSE])
700 m4trace:configure.in:124: -1- AC_SUBST_TRACE([IBDM_REF_IS_USED_FALSE])
701 m4trace:configure.in:124: -1- m4_pattern_allow([^IBDM_REF_IS_USED_FALSE$])
702 m4trace:configure.in:124: -1- _AM_SUBST_NOTMAKE([IBDM_REF_IS_USED_TRUE])
703 m4trace:configure.in:124: -1- _AM_SUBST_NOTMAKE([IBDM_REF_IS_USED_FALSE])
704 m4trace:configure.in:124: -1- AC_SUBST([with_ibdm])
705 m4trace:configure.in:124: -1- AC_SUBST_TRACE([with_ibdm])
706 m4trace:configure.in:124: -1- m4_pattern_allow([^with_ibdm$])
707 m4trace:configure.in:129: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [../../lib/autoconf/general.m4:2777: AC_CHECK_FILE is expanded from...
708 config/osm.m4:20: OPENIB_APP_OSM is expanded from...
709 configure.in:129: the top level])
710 m4trace:configure.in:129: -1- AM_CONDITIONAL([OSM_VENDOR_TS], [test "x$OSM_VENDOR" = xts])
711 m4trace:configure.in:129: -1- AC_SUBST([OSM_VENDOR_TS_TRUE])
712 m4trace:configure.in:129: -1- AC_SUBST_TRACE([OSM_VENDOR_TS_TRUE])
713 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR_TS_TRUE$])
714 m4trace:configure.in:129: -1- AC_SUBST([OSM_VENDOR_TS_FALSE])
715 m4trace:configure.in:129: -1- AC_SUBST_TRACE([OSM_VENDOR_TS_FALSE])
716 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR_TS_FALSE$])
717 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_TS_TRUE])
718 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_TS_FALSE])
719 m4trace:configure.in:129: -1- AM_CONDITIONAL([OSM_VENDOR_MTL], [test "x$OSM_VENDOR" = xmtl])
720 m4trace:configure.in:129: -1- AC_SUBST([OSM_VENDOR_MTL_TRUE])
721 m4trace:configure.in:129: -1- AC_SUBST_TRACE([OSM_VENDOR_MTL_TRUE])
722 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR_MTL_TRUE$])
723 m4trace:configure.in:129: -1- AC_SUBST([OSM_VENDOR_MTL_FALSE])
724 m4trace:configure.in:129: -1- AC_SUBST_TRACE([OSM_VENDOR_MTL_FALSE])
725 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR_MTL_FALSE$])
726 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_MTL_TRUE])
727 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_MTL_FALSE])
728 m4trace:configure.in:129: -1- AM_CONDITIONAL([OSM_VENDOR_SIM], [test "x$OSM_VENDOR" = xsim])
729 m4trace:configure.in:129: -1- AC_SUBST([OSM_VENDOR_SIM_TRUE])
730 m4trace:configure.in:129: -1- AC_SUBST_TRACE([OSM_VENDOR_SIM_TRUE])
731 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR_SIM_TRUE$])
732 m4trace:configure.in:129: -1- AC_SUBST([OSM_VENDOR_SIM_FALSE])
733 m4trace:configure.in:129: -1- AC_SUBST_TRACE([OSM_VENDOR_SIM_FALSE])
734 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR_SIM_FALSE$])
735 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_SIM_TRUE])
736 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_VENDOR_SIM_FALSE])
737 m4trace:configure.in:129: -1- AM_CONDITIONAL([OSM_BUILD_OPENIB], [test "x$OSM_BUILD" = xopenib])
738 m4trace:configure.in:129: -1- AC_SUBST([OSM_BUILD_OPENIB_TRUE])
739 m4trace:configure.in:129: -1- AC_SUBST_TRACE([OSM_BUILD_OPENIB_TRUE])
740 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_BUILD_OPENIB_TRUE$])
741 m4trace:configure.in:129: -1- AC_SUBST([OSM_BUILD_OPENIB_FALSE])
742 m4trace:configure.in:129: -1- AC_SUBST_TRACE([OSM_BUILD_OPENIB_FALSE])
743 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_BUILD_OPENIB_FALSE$])
744 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_BUILD_OPENIB_TRUE])
745 m4trace:configure.in:129: -1- _AM_SUBST_NOTMAKE([OSM_BUILD_OPENIB_FALSE])
746 m4trace:configure.in:129: -1- AC_SUBST([with_osm])
747 m4trace:configure.in:129: -1- AC_SUBST_TRACE([with_osm])
748 m4trace:configure.in:129: -1- m4_pattern_allow([^with_osm$])
749 m4trace:configure.in:129: -1- AC_SUBST([OSM_CFLAGS])
750 m4trace:configure.in:129: -1- AC_SUBST_TRACE([OSM_CFLAGS])
751 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_CFLAGS$])
752 m4trace:configure.in:129: -1- AC_SUBST([OSM_LDFLAGS])
753 m4trace:configure.in:129: -1- AC_SUBST_TRACE([OSM_LDFLAGS])
754 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_LDFLAGS$])
755 m4trace:configure.in:129: -1- AC_SUBST([OSM_VENDOR])
756 m4trace:configure.in:129: -1- AC_SUBST_TRACE([OSM_VENDOR])
757 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_VENDOR$])
758 m4trace:configure.in:129: -1- AC_SUBST([OSM_BUILD])
759 m4trace:configure.in:129: -1- AC_SUBST_TRACE([OSM_BUILD])
760 m4trace:configure.in:129: -1- m4_pattern_allow([^OSM_BUILD$])
761 m4trace:configure.in:132: -1- AC_CONFIG_FILES([Makefile src/Makefile utils/Makefile tests/Makefile doc/Makefile])
762 m4trace:configure.in:132: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
763 You should run autoupdate.], [])
764 m4trace:configure.in:132: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
765 m4trace:configure.in:132: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
766 m4trace:configure.in:132: -1- m4_pattern_allow([^LIB@&t@OBJS$])
767 m4trace:configure.in:132: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
768 m4trace:configure.in:132: -1- AC_SUBST_TRACE([LTLIBOBJS])
769 m4trace:configure.in:132: -1- m4_pattern_allow([^LTLIBOBJS$])
770 m4trace:configure.in:132: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
771 m4trace:configure.in:132: -1- AC_SUBST([am__EXEEXT_TRUE])
772 m4trace:configure.in:132: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
773 m4trace:configure.in:132: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
774 m4trace:configure.in:132: -1- AC_SUBST([am__EXEEXT_FALSE])
775 m4trace:configure.in:132: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
776 m4trace:configure.in:132: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
777 m4trace:configure.in:132: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
778 m4trace:configure.in:132: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
779 m4trace:configure.in:132: -1- AC_SUBST_TRACE([top_builddir])
780 m4trace:configure.in:132: -1- AC_SUBST_TRACE([top_build_prefix])
781 m4trace:configure.in:132: -1- AC_SUBST_TRACE([srcdir])
782 m4trace:configure.in:132: -1- AC_SUBST_TRACE([abs_srcdir])
783 m4trace:configure.in:132: -1- AC_SUBST_TRACE([top_srcdir])
784 m4trace:configure.in:132: -1- AC_SUBST_TRACE([abs_top_srcdir])
785 m4trace:configure.in:132: -1- AC_SUBST_TRACE([builddir])
786 m4trace:configure.in:132: -1- AC_SUBST_TRACE([abs_builddir])
787 m4trace:configure.in:132: -1- AC_SUBST_TRACE([abs_top_builddir])
788 m4trace:configure.in:132: -1- AC_SUBST_TRACE([INSTALL])
789 m4trace:configure.in:132: -1- AC_SUBST_TRACE([MKDIR_P])
790 m4trace:configure.in:132: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])