blob: 21fdeea8d17f8f754cf7f52543ec91fb76b7e993 [file] [log] [blame]
Emeric Vigier2f625822012-08-06 11:09:52 -04001#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for libdbus-c++ 0.9.0.
4#
5# Report bugs to <andreas.volz@tux-style.com>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order. Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" "" $as_nl"
92
93# Find who we are. Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104IFS=$as_save_IFS
105
106 ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111 as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there. '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153esac
154fi
155"
156 as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170 exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
187 as_have_required=yes
188else
189 as_have_required=no
190fi
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193else
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195as_found=false
196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197do
198 IFS=$as_save_IFS
199 test -z "$as_dir" && as_dir=.
200 as_found=:
201 case $as_dir in #(
202 /*)
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210 break 2
211fi
212fi
213 done;;
214 esac
215 as_found=false
216done
217$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
220fi; }
221IFS=$as_save_IFS
222
223
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
229 BASH_ENV=/dev/null
230 ENV=/dev/null
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 export CONFIG_SHELL
233 case $- in # ((((
234 *v*x* | *x*v* ) as_opts=-vx ;;
235 *v* ) as_opts=-v ;;
236 *x* ) as_opts=-x ;;
237 * ) as_opts= ;;
238 esac
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240fi
241
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248 else
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250$0: andreas.volz@tux-style.com about your system, including
251$0: any error possibly output before this message. Then
252$0: install a modern shell, or manually run the script
253$0: under such a shell if you do have one."
254 fi
255 exit 1
256fi
257fi
258fi
259SHELL=${CONFIG_SHELL-/bin/sh}
260export SHELL
261# Unset more variables known to interfere with behavior of common tools.
262CLICOLOR_FORCE= GREP_OPTIONS=
263unset CLICOLOR_FORCE GREP_OPTIONS
264
265## --------------------- ##
266## M4sh Shell Functions. ##
267## --------------------- ##
268# as_fn_unset VAR
269# ---------------
270# Portably unset VAR.
271as_fn_unset ()
272{
273 { eval $1=; unset $1;}
274}
275as_unset=as_fn_unset
276
277# as_fn_set_status STATUS
278# -----------------------
279# Set $? to STATUS, without forking.
280as_fn_set_status ()
281{
282 return $1
283} # as_fn_set_status
284
285# as_fn_exit STATUS
286# -----------------
287# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288as_fn_exit ()
289{
290 set +e
291 as_fn_set_status $1
292 exit $1
293} # as_fn_exit
294
295# as_fn_mkdir_p
296# -------------
297# Create "$as_dir" as a directory, including parents if necessary.
298as_fn_mkdir_p ()
299{
300
301 case $as_dir in #(
302 -*) as_dir=./$as_dir;;
303 esac
304 test -d "$as_dir" || eval $as_mkdir_p || {
305 as_dirs=
306 while :; do
307 case $as_dir in #(
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309 *) as_qdir=$as_dir;;
310 esac
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317$as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 s//\1/
320 q
321 }
322 /^X\(\/\/\)[^/].*/{
323 s//\1/
324 q
325 }
326 /^X\(\/\/\)$/{
327 s//\1/
328 q
329 }
330 /^X\(\/\).*/{
331 s//\1/
332 q
333 }
334 s/.*/./; q'`
335 test -d "$as_dir" && break
336 done
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341} # as_fn_mkdir_p
342# as_fn_append VAR VALUE
343# ----------------------
344# Append the text in VALUE to the end of the definition contained in VAR. Take
345# advantage of any shell optimizations that allow amortized linear growth over
346# repeated appends, instead of the typical quadratic growth present in naive
347# implementations.
348if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
350 {
351 eval $1+=\$2
352 }'
353else
354 as_fn_append ()
355 {
356 eval $1=\$$1\$2
357 }
358fi # as_fn_append
359
360# as_fn_arith ARG...
361# ------------------
362# Perform arithmetic evaluation on the ARGs, and store the result in the
363# global $as_val. Take advantage of shells that can avoid forks. The arguments
364# must be portable across $(()) and expr.
365if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366 eval 'as_fn_arith ()
367 {
368 as_val=$(( $* ))
369 }'
370else
371 as_fn_arith ()
372 {
373 as_val=`expr "$@" || test $? -eq 1`
374 }
375fi # as_fn_arith
376
377
378# as_fn_error STATUS ERROR [LINENO LOG_FD]
379# ----------------------------------------
380# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382# script with STATUS, using 1 if that was 0.
383as_fn_error ()
384{
385 as_status=$1; test $as_status -eq 0 && as_status=1
386 if test "$4"; then
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389 fi
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
392} # as_fn_error
393
394if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
396 as_expr=expr
397else
398 as_expr=false
399fi
400
401if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402 as_basename=basename
403else
404 as_basename=false
405fi
406
407if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408 as_dirname=dirname
409else
410 as_dirname=false
411fi
412
413as_me=`$as_basename -- "$0" ||
414$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417$as_echo X/"$0" |
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 s//\1/
420 q
421 }
422 /^X\/\(\/\/\)$/{
423 s//\1/
424 q
425 }
426 /^X\/\(\/\).*/{
427 s//\1/
428 q
429 }
430 s/.*/./; q'`
431
432# Avoid depending upon Character Ranges.
433as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436as_cr_digits='0123456789'
437as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 sed -n '
446 p
447 /[$]LINENO/=
448 ' <$as_myself |
449 sed '
450 s/[$]LINENO.*/&-/
451 t lineno
452 b
453 :lineno
454 N
455 :loop
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 t loop
458 s/-\n.*//
459 ' >$as_me.lineno &&
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
466 . "./$as_me.lineno"
467 # Exit status is that of the last command.
468 exit
469}
470
471ECHO_C= ECHO_N= ECHO_T=
472case `echo -n x` in #(((((
473-n*)
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 xy) ECHO_C='\c';;
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
478 ECHO_T=' ';;
479 esac;;
480*)
481 ECHO_N='-n';;
482esac
483
484rm -f conf$$ conf$$.exe conf$$.file
485if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
487else
488 rm -f conf$$.dir
489 mkdir conf$$.dir 2>/dev/null
490fi
491if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s='ln -s'
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499 as_ln_s='cp -p'
500 elif ln conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s=ln
502 else
503 as_ln_s='cp -p'
504 fi
505else
506 as_ln_s='cp -p'
507fi
508rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509rmdir conf$$.dir 2>/dev/null
510
511if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
513else
514 test -d ./-p && rmdir ./-p
515 as_mkdir_p=false
516fi
517
518if test -x / >/dev/null 2>&1; then
519 as_test_x='test -x'
520else
521 if ls -dL / >/dev/null 2>&1; then
522 as_ls_L_option=L
523 else
524 as_ls_L_option=
525 fi
526 as_test_x='
527 eval sh -c '\''
528 if test -d "$1"; then
529 test -d "$1/.";
530 else
531 case $1 in #(
532 -*)set "./$1";;
533 esac;
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
536 '\'' sh
537 '
538fi
539as_executable_p=$as_test_x
540
541# Sed expression to map a string onto a valid CPP name.
542as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544# Sed expression to map a string onto a valid variable name.
545as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550test -n "$DJDIR" || exec 7<&0 </dev/null
551exec 6>&1
552
553# Name of the host.
554# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555# so uname gets run too.
556ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558#
559# Initializations.
560#
561ac_default_prefix=/usr/local
562ac_clean_files=
563ac_config_libobj_dir=.
564LIBOBJS=
565cross_compiling=no
566subdirs=
567MFLAGS=
568MAKEFLAGS=
569
570# Identity of this package.
571PACKAGE_NAME='libdbus-c++'
572PACKAGE_TARNAME='libdbus-c--'
573PACKAGE_VERSION='0.9.0'
574PACKAGE_STRING='libdbus-c++ 0.9.0'
575PACKAGE_BUGREPORT='andreas.volz@tux-style.com'
576PACKAGE_URL=''
577
578# Factoring default headers for most tests.
579ac_includes_default="\
580#include <stdio.h>
581#ifdef HAVE_SYS_TYPES_H
582# include <sys/types.h>
583#endif
584#ifdef HAVE_SYS_STAT_H
585# include <sys/stat.h>
586#endif
587#ifdef STDC_HEADERS
588# include <stdlib.h>
589# include <stddef.h>
590#else
591# ifdef HAVE_STDLIB_H
592# include <stdlib.h>
593# endif
594#endif
595#ifdef HAVE_STRING_H
596# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
597# include <memory.h>
598# endif
599# include <string.h>
600#endif
601#ifdef HAVE_STRINGS_H
602# include <strings.h>
603#endif
604#ifdef HAVE_INTTYPES_H
605# include <inttypes.h>
606#endif
607#ifdef HAVE_STDINT_H
608# include <stdint.h>
609#endif
610#ifdef HAVE_UNISTD_H
611# include <unistd.h>
612#endif"
613
614ac_subst_vars='am__EXEEXT_FALSE
615am__EXEEXT_TRUE
616LTLIBOBJS
617LIBOBJS
618BUILD_LIBDBUS_CXX_DIR
619CROSS_COMPILING_FALSE
620CROSS_COMPILING_TRUE
621DBUS_DOXYGEN_DOCS_ENABLED_FALSE
622DBUS_DOXYGEN_DOCS_ENABLED_TRUE
623DOXYGEN
624HAVE_PTHREAD_FALSE
625HAVE_PTHREAD_TRUE
626PTHREAD_CFLAGS
627PTHREAD_LIBS
628PTHREAD_CC
629acx_pthread_config
630xml_LIBS
631xml_CFLAGS
632ENABLE_EXAMPLES_FALSE
633ENABLE_EXAMPLES_TRUE
634ENABLE_TESTS_FALSE
635ENABLE_TESTS_TRUE
636ENABLE_ECORE_FALSE
637ENABLE_ECORE_TRUE
638ecore_LIBS
639ecore_CFLAGS
640gtkmm_LIBS
641gtkmm_CFLAGS
642HAVE_GTKMM_FALSE
643HAVE_GTKMM_TRUE
644ENABLE_GLIB_FALSE
645ENABLE_GLIB_TRUE
646glib_LIBS
647glib_CFLAGS
648dbus_LIBS
649dbus_CFLAGS
650PKG_CONFIG_LIBDIR
651PKG_CONFIG_PATH
652PKG_CONFIG
653CXXCPP
654CPP
655OTOOL64
656OTOOL
657LIPO
658NMEDIT
659DSYMUTIL
660MANIFEST_TOOL
661RANLIB
662ac_ct_AR
663AR
664DLLTOOL
665OBJDUMP
666LN_S
667NM
668ac_ct_DUMPBIN
669DUMPBIN
670LD
671FGREP
672EGREP
673GREP
674SED
675LIBTOOL
676CXX_FOR_BUILD
677am__fastdepCXX_FALSE
678am__fastdepCXX_TRUE
679CXXDEPMODE
680ac_ct_CXX
681CXXFLAGS
682CXX
683RT_LIBS
684am__fastdepCC_FALSE
685am__fastdepCC_TRUE
686CCDEPMODE
687AMDEPBACKSLASH
688AMDEP_FALSE
689AMDEP_TRUE
690am__quote
691am__include
692DEPDIR
693OBJEXT
694EXEEXT
695ac_ct_CC
696CPPFLAGS
697LDFLAGS
698CFLAGS
699CC
700host_os
701host_vendor
702host_cpu
703host
704build_os
705build_vendor
706build_cpu
707build
708am__untar
709am__tar
710AMTAR
711am__leading_dot
712SET_MAKE
713AWK
714mkdir_p
715MKDIR_P
716INSTALL_STRIP_PROGRAM
717STRIP
718install_sh
719MAKEINFO
720AUTOHEADER
721AUTOMAKE
722AUTOCONF
723ACLOCAL
724VERSION
725PACKAGE
726CYGPATH_W
727am__isrc
728INSTALL_DATA
729INSTALL_SCRIPT
730INSTALL_PROGRAM
731target_alias
732host_alias
733build_alias
734LIBS
735ECHO_T
736ECHO_N
737ECHO_C
738DEFS
739mandir
740localedir
741libdir
742psdir
743pdfdir
744dvidir
745htmldir
746infodir
747docdir
748oldincludedir
749includedir
750localstatedir
751sharedstatedir
752sysconfdir
753datadir
754datarootdir
755libexecdir
756sbindir
757bindir
758program_transform_name
759prefix
760exec_prefix
761PACKAGE_URL
762PACKAGE_BUGREPORT
763PACKAGE_STRING
764PACKAGE_VERSION
765PACKAGE_TARNAME
766PACKAGE_NAME
767PATH_SEPARATOR
768SHELL'
769ac_subst_files=''
770ac_user_opts='
771enable_option_checking
772enable_ecore
773enable_glib
774enable_doxygen_docs
775enable_tests
776enable_examples
777enable_dependency_tracking
778enable_shared
779enable_static
780with_pic
781enable_fast_install
782with_gnu_ld
783with_sysroot
784enable_libtool_lock
785with_build_libdbus_cxx
786'
787 ac_precious_vars='build_alias
788host_alias
789target_alias
790CC
791CFLAGS
792LDFLAGS
793LIBS
794CPPFLAGS
795CXX
796CXXFLAGS
797CCC
798CPP
799CXXCPP
800PKG_CONFIG
801PKG_CONFIG_PATH
802PKG_CONFIG_LIBDIR
803dbus_CFLAGS
804dbus_LIBS
805glib_CFLAGS
806glib_LIBS
807gtkmm_CFLAGS
808gtkmm_LIBS
809ecore_CFLAGS
810ecore_LIBS'
811
812
813# Initialize some variables set by options.
814ac_init_help=
815ac_init_version=false
816ac_unrecognized_opts=
817ac_unrecognized_sep=
818# The variables have the same names as the options, with
819# dashes changed to underlines.
820cache_file=/dev/null
821exec_prefix=NONE
822no_create=
823no_recursion=
824prefix=NONE
825program_prefix=NONE
826program_suffix=NONE
827program_transform_name=s,x,x,
828silent=
829site=
830srcdir=
831verbose=
832x_includes=NONE
833x_libraries=NONE
834
835# Installation directory options.
836# These are left unexpanded so users can "make install exec_prefix=/foo"
837# and all the variables that are supposed to be based on exec_prefix
838# by default will actually change.
839# Use braces instead of parens because sh, perl, etc. also accept them.
840# (The list follows the same order as the GNU Coding Standards.)
841bindir='${exec_prefix}/bin'
842sbindir='${exec_prefix}/sbin'
843libexecdir='${exec_prefix}/libexec'
844datarootdir='${prefix}/share'
845datadir='${datarootdir}'
846sysconfdir='${prefix}/etc'
847sharedstatedir='${prefix}/com'
848localstatedir='${prefix}/var'
849includedir='${prefix}/include'
850oldincludedir='/usr/include'
851docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
852infodir='${datarootdir}/info'
853htmldir='${docdir}'
854dvidir='${docdir}'
855pdfdir='${docdir}'
856psdir='${docdir}'
857libdir='${exec_prefix}/lib'
858localedir='${datarootdir}/locale'
859mandir='${datarootdir}/man'
860
861ac_prev=
862ac_dashdash=
863for ac_option
864do
865 # If the previous option needs an argument, assign it.
866 if test -n "$ac_prev"; then
867 eval $ac_prev=\$ac_option
868 ac_prev=
869 continue
870 fi
871
872 case $ac_option in
873 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
874 *=) ac_optarg= ;;
875 *) ac_optarg=yes ;;
876 esac
877
878 # Accept the important Cygnus configure options, so we can diagnose typos.
879
880 case $ac_dashdash$ac_option in
881 --)
882 ac_dashdash=yes ;;
883
884 -bindir | --bindir | --bindi | --bind | --bin | --bi)
885 ac_prev=bindir ;;
886 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
887 bindir=$ac_optarg ;;
888
889 -build | --build | --buil | --bui | --bu)
890 ac_prev=build_alias ;;
891 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
892 build_alias=$ac_optarg ;;
893
894 -cache-file | --cache-file | --cache-fil | --cache-fi \
895 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
896 ac_prev=cache_file ;;
897 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
898 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
899 cache_file=$ac_optarg ;;
900
901 --config-cache | -C)
902 cache_file=config.cache ;;
903
904 -datadir | --datadir | --datadi | --datad)
905 ac_prev=datadir ;;
906 -datadir=* | --datadir=* | --datadi=* | --datad=*)
907 datadir=$ac_optarg ;;
908
909 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
910 | --dataroo | --dataro | --datar)
911 ac_prev=datarootdir ;;
912 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
913 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
914 datarootdir=$ac_optarg ;;
915
916 -disable-* | --disable-*)
917 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
918 # Reject names that are not valid shell variable names.
919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
920 as_fn_error $? "invalid feature name: $ac_useropt"
921 ac_useropt_orig=$ac_useropt
922 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
923 case $ac_user_opts in
924 *"
925"enable_$ac_useropt"
926"*) ;;
927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
928 ac_unrecognized_sep=', ';;
929 esac
930 eval enable_$ac_useropt=no ;;
931
932 -docdir | --docdir | --docdi | --doc | --do)
933 ac_prev=docdir ;;
934 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
935 docdir=$ac_optarg ;;
936
937 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
938 ac_prev=dvidir ;;
939 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
940 dvidir=$ac_optarg ;;
941
942 -enable-* | --enable-*)
943 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
946 as_fn_error $? "invalid feature name: $ac_useropt"
947 ac_useropt_orig=$ac_useropt
948 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
950 *"
951"enable_$ac_useropt"
952"*) ;;
953 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
954 ac_unrecognized_sep=', ';;
955 esac
956 eval enable_$ac_useropt=\$ac_optarg ;;
957
958 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
959 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
960 | --exec | --exe | --ex)
961 ac_prev=exec_prefix ;;
962 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
963 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
964 | --exec=* | --exe=* | --ex=*)
965 exec_prefix=$ac_optarg ;;
966
967 -gas | --gas | --ga | --g)
968 # Obsolete; use --with-gas.
969 with_gas=yes ;;
970
971 -help | --help | --hel | --he | -h)
972 ac_init_help=long ;;
973 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
974 ac_init_help=recursive ;;
975 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
976 ac_init_help=short ;;
977
978 -host | --host | --hos | --ho)
979 ac_prev=host_alias ;;
980 -host=* | --host=* | --hos=* | --ho=*)
981 host_alias=$ac_optarg ;;
982
983 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
984 ac_prev=htmldir ;;
985 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
986 | --ht=*)
987 htmldir=$ac_optarg ;;
988
989 -includedir | --includedir | --includedi | --included | --include \
990 | --includ | --inclu | --incl | --inc)
991 ac_prev=includedir ;;
992 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
993 | --includ=* | --inclu=* | --incl=* | --inc=*)
994 includedir=$ac_optarg ;;
995
996 -infodir | --infodir | --infodi | --infod | --info | --inf)
997 ac_prev=infodir ;;
998 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
999 infodir=$ac_optarg ;;
1000
1001 -libdir | --libdir | --libdi | --libd)
1002 ac_prev=libdir ;;
1003 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1004 libdir=$ac_optarg ;;
1005
1006 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1007 | --libexe | --libex | --libe)
1008 ac_prev=libexecdir ;;
1009 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1010 | --libexe=* | --libex=* | --libe=*)
1011 libexecdir=$ac_optarg ;;
1012
1013 -localedir | --localedir | --localedi | --localed | --locale)
1014 ac_prev=localedir ;;
1015 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1016 localedir=$ac_optarg ;;
1017
1018 -localstatedir | --localstatedir | --localstatedi | --localstated \
1019 | --localstate | --localstat | --localsta | --localst | --locals)
1020 ac_prev=localstatedir ;;
1021 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1022 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1023 localstatedir=$ac_optarg ;;
1024
1025 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1026 ac_prev=mandir ;;
1027 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1028 mandir=$ac_optarg ;;
1029
1030 -nfp | --nfp | --nf)
1031 # Obsolete; use --without-fp.
1032 with_fp=no ;;
1033
1034 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1035 | --no-cr | --no-c | -n)
1036 no_create=yes ;;
1037
1038 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1039 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1040 no_recursion=yes ;;
1041
1042 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1043 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1044 | --oldin | --oldi | --old | --ol | --o)
1045 ac_prev=oldincludedir ;;
1046 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1047 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1048 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1049 oldincludedir=$ac_optarg ;;
1050
1051 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1052 ac_prev=prefix ;;
1053 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1054 prefix=$ac_optarg ;;
1055
1056 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1057 | --program-pre | --program-pr | --program-p)
1058 ac_prev=program_prefix ;;
1059 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1060 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1061 program_prefix=$ac_optarg ;;
1062
1063 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1064 | --program-suf | --program-su | --program-s)
1065 ac_prev=program_suffix ;;
1066 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1067 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1068 program_suffix=$ac_optarg ;;
1069
1070 -program-transform-name | --program-transform-name \
1071 | --program-transform-nam | --program-transform-na \
1072 | --program-transform-n | --program-transform- \
1073 | --program-transform | --program-transfor \
1074 | --program-transfo | --program-transf \
1075 | --program-trans | --program-tran \
1076 | --progr-tra | --program-tr | --program-t)
1077 ac_prev=program_transform_name ;;
1078 -program-transform-name=* | --program-transform-name=* \
1079 | --program-transform-nam=* | --program-transform-na=* \
1080 | --program-transform-n=* | --program-transform-=* \
1081 | --program-transform=* | --program-transfor=* \
1082 | --program-transfo=* | --program-transf=* \
1083 | --program-trans=* | --program-tran=* \
1084 | --progr-tra=* | --program-tr=* | --program-t=*)
1085 program_transform_name=$ac_optarg ;;
1086
1087 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1088 ac_prev=pdfdir ;;
1089 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1090 pdfdir=$ac_optarg ;;
1091
1092 -psdir | --psdir | --psdi | --psd | --ps)
1093 ac_prev=psdir ;;
1094 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1095 psdir=$ac_optarg ;;
1096
1097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1098 | -silent | --silent | --silen | --sile | --sil)
1099 silent=yes ;;
1100
1101 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1102 ac_prev=sbindir ;;
1103 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1104 | --sbi=* | --sb=*)
1105 sbindir=$ac_optarg ;;
1106
1107 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1108 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1109 | --sharedst | --shareds | --shared | --share | --shar \
1110 | --sha | --sh)
1111 ac_prev=sharedstatedir ;;
1112 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1113 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1114 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1115 | --sha=* | --sh=*)
1116 sharedstatedir=$ac_optarg ;;
1117
1118 -site | --site | --sit)
1119 ac_prev=site ;;
1120 -site=* | --site=* | --sit=*)
1121 site=$ac_optarg ;;
1122
1123 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1124 ac_prev=srcdir ;;
1125 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1126 srcdir=$ac_optarg ;;
1127
1128 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1129 | --syscon | --sysco | --sysc | --sys | --sy)
1130 ac_prev=sysconfdir ;;
1131 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1132 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1133 sysconfdir=$ac_optarg ;;
1134
1135 -target | --target | --targe | --targ | --tar | --ta | --t)
1136 ac_prev=target_alias ;;
1137 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1138 target_alias=$ac_optarg ;;
1139
1140 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1141 verbose=yes ;;
1142
1143 -version | --version | --versio | --versi | --vers | -V)
1144 ac_init_version=: ;;
1145
1146 -with-* | --with-*)
1147 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1150 as_fn_error $? "invalid package name: $ac_useropt"
1151 ac_useropt_orig=$ac_useropt
1152 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1154 *"
1155"with_$ac_useropt"
1156"*) ;;
1157 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1158 ac_unrecognized_sep=', ';;
1159 esac
1160 eval with_$ac_useropt=\$ac_optarg ;;
1161
1162 -without-* | --without-*)
1163 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1166 as_fn_error $? "invalid package name: $ac_useropt"
1167 ac_useropt_orig=$ac_useropt
1168 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1170 *"
1171"with_$ac_useropt"
1172"*) ;;
1173 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1174 ac_unrecognized_sep=', ';;
1175 esac
1176 eval with_$ac_useropt=no ;;
1177
1178 --x)
1179 # Obsolete; use --with-x.
1180 with_x=yes ;;
1181
1182 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1183 | --x-incl | --x-inc | --x-in | --x-i)
1184 ac_prev=x_includes ;;
1185 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1186 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1187 x_includes=$ac_optarg ;;
1188
1189 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1190 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1191 ac_prev=x_libraries ;;
1192 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1193 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1194 x_libraries=$ac_optarg ;;
1195
1196 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1197Try \`$0 --help' for more information"
1198 ;;
1199
1200 *=*)
1201 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1202 # Reject names that are not valid shell variable names.
1203 case $ac_envvar in #(
1204 '' | [0-9]* | *[!_$as_cr_alnum]* )
1205 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1206 esac
1207 eval $ac_envvar=\$ac_optarg
1208 export $ac_envvar ;;
1209
1210 *)
1211 # FIXME: should be removed in autoconf 3.0.
1212 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1213 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1214 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1215 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1216 ;;
1217
1218 esac
1219done
1220
1221if test -n "$ac_prev"; then
1222 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1223 as_fn_error $? "missing argument to $ac_option"
1224fi
1225
1226if test -n "$ac_unrecognized_opts"; then
1227 case $enable_option_checking in
1228 no) ;;
1229 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1230 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1231 esac
1232fi
1233
1234# Check all directory arguments for consistency.
1235for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1236 datadir sysconfdir sharedstatedir localstatedir includedir \
1237 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1238 libdir localedir mandir
1239do
1240 eval ac_val=\$$ac_var
1241 # Remove trailing slashes.
1242 case $ac_val in
1243 */ )
1244 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1245 eval $ac_var=\$ac_val;;
1246 esac
1247 # Be sure to have absolute directory names.
1248 case $ac_val in
1249 [\\/$]* | ?:[\\/]* ) continue;;
1250 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1251 esac
1252 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1253done
1254
1255# There might be people who depend on the old broken behavior: `$host'
1256# used to hold the argument of --host etc.
1257# FIXME: To remove some day.
1258build=$build_alias
1259host=$host_alias
1260target=$target_alias
1261
1262# FIXME: To remove some day.
1263if test "x$host_alias" != x; then
1264 if test "x$build_alias" = x; then
1265 cross_compiling=maybe
1266 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1267 If a cross compiler is detected then cross compile mode will be used" >&2
1268 elif test "x$build_alias" != "x$host_alias"; then
1269 cross_compiling=yes
1270 fi
1271fi
1272
1273ac_tool_prefix=
1274test -n "$host_alias" && ac_tool_prefix=$host_alias-
1275
1276test "$silent" = yes && exec 6>/dev/null
1277
1278
1279ac_pwd=`pwd` && test -n "$ac_pwd" &&
1280ac_ls_di=`ls -di .` &&
1281ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1282 as_fn_error $? "working directory cannot be determined"
1283test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1284 as_fn_error $? "pwd does not report name of working directory"
1285
1286
1287# Find the source files, if location was not specified.
1288if test -z "$srcdir"; then
1289 ac_srcdir_defaulted=yes
1290 # Try the directory containing this script, then the parent directory.
1291 ac_confdir=`$as_dirname -- "$as_myself" ||
1292$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1293 X"$as_myself" : 'X\(//\)[^/]' \| \
1294 X"$as_myself" : 'X\(//\)$' \| \
1295 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1296$as_echo X"$as_myself" |
1297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1298 s//\1/
1299 q
1300 }
1301 /^X\(\/\/\)[^/].*/{
1302 s//\1/
1303 q
1304 }
1305 /^X\(\/\/\)$/{
1306 s//\1/
1307 q
1308 }
1309 /^X\(\/\).*/{
1310 s//\1/
1311 q
1312 }
1313 s/.*/./; q'`
1314 srcdir=$ac_confdir
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1316 srcdir=..
1317 fi
1318else
1319 ac_srcdir_defaulted=no
1320fi
1321if test ! -r "$srcdir/$ac_unique_file"; then
1322 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1323 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1324fi
1325ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1326ac_abs_confdir=`(
1327 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1328 pwd)`
1329# When building in place, set srcdir=.
1330if test "$ac_abs_confdir" = "$ac_pwd"; then
1331 srcdir=.
1332fi
1333# Remove unnecessary trailing slashes from srcdir.
1334# Double slashes in file names in object file debugging info
1335# mess up M-x gdb in Emacs.
1336case $srcdir in
1337*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1338esac
1339for ac_var in $ac_precious_vars; do
1340 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1341 eval ac_env_${ac_var}_value=\$${ac_var}
1342 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1343 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1344done
1345
1346#
1347# Report the --help message.
1348#
1349if test "$ac_init_help" = "long"; then
1350 # Omit some internal or obsolete options to make the list less imposing.
1351 # This message is too long to be a string in the A/UX 3.1 sh.
1352 cat <<_ACEOF
1353\`configure' configures libdbus-c++ 0.9.0 to adapt to many kinds of systems.
1354
1355Usage: $0 [OPTION]... [VAR=VALUE]...
1356
1357To assign environment variables (e.g., CC, CFLAGS...), specify them as
1358VAR=VALUE. See below for descriptions of some of the useful variables.
1359
1360Defaults for the options are specified in brackets.
1361
1362Configuration:
1363 -h, --help display this help and exit
1364 --help=short display options specific to this package
1365 --help=recursive display the short help of all the included packages
1366 -V, --version display version information and exit
1367 -q, --quiet, --silent do not print \`checking ...' messages
1368 --cache-file=FILE cache test results in FILE [disabled]
1369 -C, --config-cache alias for \`--cache-file=config.cache'
1370 -n, --no-create do not create output files
1371 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1372
1373Installation directories:
1374 --prefix=PREFIX install architecture-independent files in PREFIX
1375 [$ac_default_prefix]
1376 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1377 [PREFIX]
1378
1379By default, \`make install' will install all the files in
1380\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1381an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1382for instance \`--prefix=\$HOME'.
1383
1384For better control, use the options below.
1385
1386Fine tuning of the installation directories:
1387 --bindir=DIR user executables [EPREFIX/bin]
1388 --sbindir=DIR system admin executables [EPREFIX/sbin]
1389 --libexecdir=DIR program executables [EPREFIX/libexec]
1390 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1391 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1392 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1393 --libdir=DIR object code libraries [EPREFIX/lib]
1394 --includedir=DIR C header files [PREFIX/include]
1395 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1396 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1397 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1398 --infodir=DIR info documentation [DATAROOTDIR/info]
1399 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1400 --mandir=DIR man documentation [DATAROOTDIR/man]
1401 --docdir=DIR documentation root [DATAROOTDIR/doc/libdbus-c--]
1402 --htmldir=DIR html documentation [DOCDIR]
1403 --dvidir=DIR dvi documentation [DOCDIR]
1404 --pdfdir=DIR pdf documentation [DOCDIR]
1405 --psdir=DIR ps documentation [DOCDIR]
1406_ACEOF
1407
1408 cat <<\_ACEOF
1409
1410Program names:
1411 --program-prefix=PREFIX prepend PREFIX to installed program names
1412 --program-suffix=SUFFIX append SUFFIX to installed program names
1413 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1414
1415System types:
1416 --build=BUILD configure for building on BUILD [guessed]
1417 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1418_ACEOF
1419fi
1420
1421if test -n "$ac_init_help"; then
1422 case $ac_init_help in
1423 short | recursive ) echo "Configuration of libdbus-c++ 0.9.0:";;
1424 esac
1425 cat <<\_ACEOF
1426
1427Optional Features:
1428 --disable-option-checking ignore unrecognized --enable/--with options
1429 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1430 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1431 --enable-ecore enable ecore integration
1432 --enable-glib enable glib integration
1433 --enable-doxygen-docs build DOXYGEN documentation (requires Doxygen)
1434 --enable-tests build tests
1435 --enable-examples build examples
1436 --disable-dependency-tracking speeds up one-time build
1437 --enable-dependency-tracking do not reject slow dependency extractors
1438 --enable-shared[=PKGS] build shared libraries [default=yes]
1439 --enable-static[=PKGS] build static libraries [default=yes]
1440 --enable-fast-install[=PKGS]
1441 optimize for fast installation [default=yes]
1442 --disable-libtool-lock avoid locking (might break parallel builds)
1443
1444Optional Packages:
1445 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1446 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1447 --with-pic try to use only PIC/non-PIC objects [default=use
1448 both]
1449 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1450 --with-sysroot=DIR Search for dependent libraries within DIR
1451 (or the compiler's sysroot if not specified).
1452 --with-build-libdbus-cxx
1453 For cross compilation: path to libdbus-cxx which was
1454 compiled for the 'build' system.
1455
1456Some influential environment variables:
1457 CC C compiler command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1460 nonstandard directory <lib dir>
1461 LIBS libraries to pass to the linker, e.g. -l<library>
1462 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1463 you have headers in a nonstandard directory <include dir>
1464 CXX C++ compiler command
1465 CXXFLAGS C++ compiler flags
1466 CPP C preprocessor
1467 CXXCPP C++ preprocessor
1468 PKG_CONFIG path to pkg-config utility
1469 PKG_CONFIG_PATH
1470 directories to add to pkg-config's search path
1471 PKG_CONFIG_LIBDIR
1472 path overriding pkg-config's built-in search path
1473 dbus_CFLAGS C compiler flags for dbus, overriding pkg-config
1474 dbus_LIBS linker flags for dbus, overriding pkg-config
1475 glib_CFLAGS C compiler flags for glib, overriding pkg-config
1476 glib_LIBS linker flags for glib, overriding pkg-config
1477 gtkmm_CFLAGS
1478 C compiler flags for gtkmm, overriding pkg-config
1479 gtkmm_LIBS linker flags for gtkmm, overriding pkg-config
1480 ecore_CFLAGS
1481 C compiler flags for ecore, overriding pkg-config
1482 ecore_LIBS linker flags for ecore, overriding pkg-config
1483
1484Use these variables to override the choices made by `configure' or to help
1485it to find libraries and programs with nonstandard names/locations.
1486
1487Report bugs to <andreas.volz@tux-style.com>.
1488_ACEOF
1489ac_status=$?
1490fi
1491
1492if test "$ac_init_help" = "recursive"; then
1493 # If there are subdirs, report their specific --help.
1494 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1495 test -d "$ac_dir" ||
1496 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1497 continue
1498 ac_builddir=.
1499
1500case "$ac_dir" in
1501.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1502*)
1503 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1504 # A ".." for each directory in $ac_dir_suffix.
1505 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1506 case $ac_top_builddir_sub in
1507 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1508 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1509 esac ;;
1510esac
1511ac_abs_top_builddir=$ac_pwd
1512ac_abs_builddir=$ac_pwd$ac_dir_suffix
1513# for backward compatibility:
1514ac_top_builddir=$ac_top_build_prefix
1515
1516case $srcdir in
1517 .) # We are building in place.
1518 ac_srcdir=.
1519 ac_top_srcdir=$ac_top_builddir_sub
1520 ac_abs_top_srcdir=$ac_pwd ;;
1521 [\\/]* | ?:[\\/]* ) # Absolute name.
1522 ac_srcdir=$srcdir$ac_dir_suffix;
1523 ac_top_srcdir=$srcdir
1524 ac_abs_top_srcdir=$srcdir ;;
1525 *) # Relative name.
1526 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1527 ac_top_srcdir=$ac_top_build_prefix$srcdir
1528 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1529esac
1530ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1531
1532 cd "$ac_dir" || { ac_status=$?; continue; }
1533 # Check for guested configure.
1534 if test -f "$ac_srcdir/configure.gnu"; then
1535 echo &&
1536 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1537 elif test -f "$ac_srcdir/configure"; then
1538 echo &&
1539 $SHELL "$ac_srcdir/configure" --help=recursive
1540 else
1541 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1542 fi || ac_status=$?
1543 cd "$ac_pwd" || { ac_status=$?; break; }
1544 done
1545fi
1546
1547test -n "$ac_init_help" && exit $ac_status
1548if $ac_init_version; then
1549 cat <<\_ACEOF
1550libdbus-c++ configure 0.9.0
1551generated by GNU Autoconf 2.68
1552
1553Copyright (C) 2010 Free Software Foundation, Inc.
1554This configure script is free software; the Free Software Foundation
1555gives unlimited permission to copy, distribute and modify it.
1556_ACEOF
1557 exit
1558fi
1559
1560## ------------------------ ##
1561## Autoconf initialization. ##
1562## ------------------------ ##
1563
1564# ac_fn_c_try_compile LINENO
1565# --------------------------
1566# Try to compile conftest.$ac_ext, and return whether this succeeded.
1567ac_fn_c_try_compile ()
1568{
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 rm -f conftest.$ac_objext
1571 if { { ac_try="$ac_compile"
1572case "(($ac_try" in
1573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1575esac
1576eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577$as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_compile") 2>conftest.err
1579 ac_status=$?
1580 if test -s conftest.err; then
1581 grep -v '^ *+' conftest.err >conftest.er1
1582 cat conftest.er1 >&5
1583 mv -f conftest.er1 conftest.err
1584 fi
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } && {
1587 test -z "$ac_c_werror_flag" ||
1588 test ! -s conftest.err
1589 } && test -s conftest.$ac_objext; then :
1590 ac_retval=0
1591else
1592 $as_echo "$as_me: failed program was:" >&5
1593sed 's/^/| /' conftest.$ac_ext >&5
1594
1595 ac_retval=1
1596fi
1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1598 as_fn_set_status $ac_retval
1599
1600} # ac_fn_c_try_compile
1601
1602# ac_fn_c_try_link LINENO
1603# -----------------------
1604# Try to link conftest.$ac_ext, and return whether this succeeded.
1605ac_fn_c_try_link ()
1606{
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 rm -f conftest.$ac_objext conftest$ac_exeext
1609 if { { ac_try="$ac_link"
1610case "(($ac_try" in
1611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1612 *) ac_try_echo=$ac_try;;
1613esac
1614eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1615$as_echo "$ac_try_echo"; } >&5
1616 (eval "$ac_link") 2>conftest.err
1617 ac_status=$?
1618 if test -s conftest.err; then
1619 grep -v '^ *+' conftest.err >conftest.er1
1620 cat conftest.er1 >&5
1621 mv -f conftest.er1 conftest.err
1622 fi
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } && {
1625 test -z "$ac_c_werror_flag" ||
1626 test ! -s conftest.err
1627 } && test -s conftest$ac_exeext && {
1628 test "$cross_compiling" = yes ||
1629 $as_test_x conftest$ac_exeext
1630 }; then :
1631 ac_retval=0
1632else
1633 $as_echo "$as_me: failed program was:" >&5
1634sed 's/^/| /' conftest.$ac_ext >&5
1635
1636 ac_retval=1
1637fi
1638 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1639 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1640 # interfere with the next link command; also delete a directory that is
1641 # left behind by Apple's compiler. We do this before executing the actions.
1642 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 as_fn_set_status $ac_retval
1645
1646} # ac_fn_c_try_link
1647
1648# ac_fn_c_check_func LINENO FUNC VAR
1649# ----------------------------------
1650# Tests whether FUNC exists, setting the cache variable VAR accordingly
1651ac_fn_c_check_func ()
1652{
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1655$as_echo_n "checking for $2... " >&6; }
1656if eval \${$3+:} false; then :
1657 $as_echo_n "(cached) " >&6
1658else
1659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1660/* end confdefs.h. */
1661/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1663#define $2 innocuous_$2
1664
1665/* System header to define __stub macros and hopefully few prototypes,
1666 which can conflict with char $2 (); below.
1667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1668 <limits.h> exists even on freestanding compilers. */
1669
1670#ifdef __STDC__
1671# include <limits.h>
1672#else
1673# include <assert.h>
1674#endif
1675
1676#undef $2
1677
1678/* Override any GCC internal prototype to avoid an error.
1679 Use char because int might match the return type of a GCC
1680 builtin and then its argument prototype would still apply. */
1681#ifdef __cplusplus
1682extern "C"
1683#endif
1684char $2 ();
1685/* The GNU C library defines this for functions which it implements
1686 to always fail with ENOSYS. Some functions are actually named
1687 something starting with __ and the normal name is an alias. */
1688#if defined __stub_$2 || defined __stub___$2
1689choke me
1690#endif
1691
1692int
1693main ()
1694{
1695return $2 ();
1696 ;
1697 return 0;
1698}
1699_ACEOF
1700if ac_fn_c_try_link "$LINENO"; then :
1701 eval "$3=yes"
1702else
1703 eval "$3=no"
1704fi
1705rm -f core conftest.err conftest.$ac_objext \
1706 conftest$ac_exeext conftest.$ac_ext
1707fi
1708eval ac_res=\$$3
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710$as_echo "$ac_res" >&6; }
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712
1713} # ac_fn_c_check_func
1714
1715# ac_fn_cxx_try_compile LINENO
1716# ----------------------------
1717# Try to compile conftest.$ac_ext, and return whether this succeeded.
1718ac_fn_cxx_try_compile ()
1719{
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext
1722 if { { ac_try="$ac_compile"
1723case "(($ac_try" in
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1726esac
1727eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728$as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_compile") 2>conftest.err
1730 ac_status=$?
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1735 fi
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_cxx_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest.$ac_objext; then :
1741 ac_retval=0
1742else
1743 $as_echo "$as_me: failed program was:" >&5
1744sed 's/^/| /' conftest.$ac_ext >&5
1745
1746 ac_retval=1
1747fi
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status $ac_retval
1750
1751} # ac_fn_cxx_try_compile
1752
1753# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1754# -------------------------------------------------------
1755# Tests whether HEADER exists and can be compiled using the include files in
1756# INCLUDES, setting the cache variable VAR accordingly.
1757ac_fn_c_check_header_compile ()
1758{
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761$as_echo_n "checking for $2... " >&6; }
1762if eval \${$3+:} false; then :
1763 $as_echo_n "(cached) " >&6
1764else
1765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1766/* end confdefs.h. */
1767$4
1768#include <$2>
1769_ACEOF
1770if ac_fn_c_try_compile "$LINENO"; then :
1771 eval "$3=yes"
1772else
1773 eval "$3=no"
1774fi
1775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1776fi
1777eval ac_res=\$$3
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779$as_echo "$ac_res" >&6; }
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781
1782} # ac_fn_c_check_header_compile
1783
1784# ac_fn_c_try_cpp LINENO
1785# ----------------------
1786# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1787ac_fn_c_try_cpp ()
1788{
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 if { { ac_try="$ac_cpp conftest.$ac_ext"
1791case "(($ac_try" in
1792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1794esac
1795eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796$as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1798 ac_status=$?
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1803 fi
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } > conftest.i && {
1806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1808 }; then :
1809 ac_retval=0
1810else
1811 $as_echo "$as_me: failed program was:" >&5
1812sed 's/^/| /' conftest.$ac_ext >&5
1813
1814 ac_retval=1
1815fi
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 as_fn_set_status $ac_retval
1818
1819} # ac_fn_c_try_cpp
1820
1821# ac_fn_c_try_run LINENO
1822# ----------------------
1823# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1824# that executables *can* be run.
1825ac_fn_c_try_run ()
1826{
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 if { { ac_try="$ac_link"
1829case "(($ac_try" in
1830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1832esac
1833eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834$as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_link") 2>&5
1836 ac_status=$?
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1839 { { case "(($ac_try" in
1840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841 *) ac_try_echo=$ac_try;;
1842esac
1843eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844$as_echo "$ac_try_echo"; } >&5
1845 (eval "$ac_try") 2>&5
1846 ac_status=$?
1847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848 test $ac_status = 0; }; }; then :
1849 ac_retval=0
1850else
1851 $as_echo "$as_me: program exited with status $ac_status" >&5
1852 $as_echo "$as_me: failed program was:" >&5
1853sed 's/^/| /' conftest.$ac_ext >&5
1854
1855 ac_retval=$ac_status
1856fi
1857 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 as_fn_set_status $ac_retval
1860
1861} # ac_fn_c_try_run
1862
1863# ac_fn_cxx_try_cpp LINENO
1864# ------------------------
1865# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1866ac_fn_cxx_try_cpp ()
1867{
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 if { { ac_try="$ac_cpp conftest.$ac_ext"
1870case "(($ac_try" in
1871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1872 *) ac_try_echo=$ac_try;;
1873esac
1874eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875$as_echo "$ac_try_echo"; } >&5
1876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1877 ac_status=$?
1878 if test -s conftest.err; then
1879 grep -v '^ *+' conftest.err >conftest.er1
1880 cat conftest.er1 >&5
1881 mv -f conftest.er1 conftest.err
1882 fi
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; } > conftest.i && {
1885 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1886 test ! -s conftest.err
1887 }; then :
1888 ac_retval=0
1889else
1890 $as_echo "$as_me: failed program was:" >&5
1891sed 's/^/| /' conftest.$ac_ext >&5
1892
1893 ac_retval=1
1894fi
1895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896 as_fn_set_status $ac_retval
1897
1898} # ac_fn_cxx_try_cpp
1899
1900# ac_fn_cxx_try_link LINENO
1901# -------------------------
1902# Try to link conftest.$ac_ext, and return whether this succeeded.
1903ac_fn_cxx_try_link ()
1904{
1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906 rm -f conftest.$ac_objext conftest$ac_exeext
1907 if { { ac_try="$ac_link"
1908case "(($ac_try" in
1909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1910 *) ac_try_echo=$ac_try;;
1911esac
1912eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1913$as_echo "$ac_try_echo"; } >&5
1914 (eval "$ac_link") 2>conftest.err
1915 ac_status=$?
1916 if test -s conftest.err; then
1917 grep -v '^ *+' conftest.err >conftest.er1
1918 cat conftest.er1 >&5
1919 mv -f conftest.er1 conftest.err
1920 fi
1921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1922 test $ac_status = 0; } && {
1923 test -z "$ac_cxx_werror_flag" ||
1924 test ! -s conftest.err
1925 } && test -s conftest$ac_exeext && {
1926 test "$cross_compiling" = yes ||
1927 $as_test_x conftest$ac_exeext
1928 }; then :
1929 ac_retval=0
1930else
1931 $as_echo "$as_me: failed program was:" >&5
1932sed 's/^/| /' conftest.$ac_ext >&5
1933
1934 ac_retval=1
1935fi
1936 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1937 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1938 # interfere with the next link command; also delete a directory that is
1939 # left behind by Apple's compiler. We do this before executing the actions.
1940 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942 as_fn_set_status $ac_retval
1943
1944} # ac_fn_cxx_try_link
1945
1946# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1947# ---------------------------------------------------------
1948# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1949# the include files in INCLUDES and setting the cache variable VAR
1950# accordingly.
1951ac_fn_cxx_check_header_mongrel ()
1952{
1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 if eval \${$3+:} false; then :
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1956$as_echo_n "checking for $2... " >&6; }
1957if eval \${$3+:} false; then :
1958 $as_echo_n "(cached) " >&6
1959fi
1960eval ac_res=\$$3
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1962$as_echo "$ac_res" >&6; }
1963else
1964 # Is the header compilable?
1965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1966$as_echo_n "checking $2 usability... " >&6; }
1967cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968/* end confdefs.h. */
1969$4
1970#include <$2>
1971_ACEOF
1972if ac_fn_cxx_try_compile "$LINENO"; then :
1973 ac_header_compiler=yes
1974else
1975 ac_header_compiler=no
1976fi
1977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1979$as_echo "$ac_header_compiler" >&6; }
1980
1981# Is the header present?
1982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1983$as_echo_n "checking $2 presence... " >&6; }
1984cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985/* end confdefs.h. */
1986#include <$2>
1987_ACEOF
1988if ac_fn_cxx_try_cpp "$LINENO"; then :
1989 ac_header_preproc=yes
1990else
1991 ac_header_preproc=no
1992fi
1993rm -f conftest.err conftest.i conftest.$ac_ext
1994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1995$as_echo "$ac_header_preproc" >&6; }
1996
1997# So? What about this header?
1998case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1999 yes:no: )
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2001$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2003$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2004 ;;
2005 no:yes:* )
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2007$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2009$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2011$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2013$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2015$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2016( $as_echo "## ----------------------------------------- ##
2017## Report this to andreas.volz@tux-style.com ##
2018## ----------------------------------------- ##"
2019 ) | sed "s/^/$as_me: WARNING: /" >&2
2020 ;;
2021esac
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2023$as_echo_n "checking for $2... " >&6; }
2024if eval \${$3+:} false; then :
2025 $as_echo_n "(cached) " >&6
2026else
2027 eval "$3=\$ac_header_compiler"
2028fi
2029eval ac_res=\$$3
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2031$as_echo "$ac_res" >&6; }
2032fi
2033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2034
2035} # ac_fn_cxx_check_header_mongrel
2036cat >config.log <<_ACEOF
2037This file contains any messages produced by compilers while
2038running configure, to aid debugging if configure makes a mistake.
2039
2040It was created by libdbus-c++ $as_me 0.9.0, which was
2041generated by GNU Autoconf 2.68. Invocation command line was
2042
2043 $ $0 $@
2044
2045_ACEOF
2046exec 5>>config.log
2047{
2048cat <<_ASUNAME
2049## --------- ##
2050## Platform. ##
2051## --------- ##
2052
2053hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2054uname -m = `(uname -m) 2>/dev/null || echo unknown`
2055uname -r = `(uname -r) 2>/dev/null || echo unknown`
2056uname -s = `(uname -s) 2>/dev/null || echo unknown`
2057uname -v = `(uname -v) 2>/dev/null || echo unknown`
2058
2059/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2060/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2061
2062/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2063/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2064/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2065/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2066/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2067/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2068/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2069
2070_ASUNAME
2071
2072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073for as_dir in $PATH
2074do
2075 IFS=$as_save_IFS
2076 test -z "$as_dir" && as_dir=.
2077 $as_echo "PATH: $as_dir"
2078 done
2079IFS=$as_save_IFS
2080
2081} >&5
2082
2083cat >&5 <<_ACEOF
2084
2085
2086## ----------- ##
2087## Core tests. ##
2088## ----------- ##
2089
2090_ACEOF
2091
2092
2093# Keep a trace of the command line.
2094# Strip out --no-create and --no-recursion so they do not pile up.
2095# Strip out --silent because we don't want to record it for future runs.
2096# Also quote any args containing shell meta-characters.
2097# Make two passes to allow for proper duplicate-argument suppression.
2098ac_configure_args=
2099ac_configure_args0=
2100ac_configure_args1=
2101ac_must_keep_next=false
2102for ac_pass in 1 2
2103do
2104 for ac_arg
2105 do
2106 case $ac_arg in
2107 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2108 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2109 | -silent | --silent | --silen | --sile | --sil)
2110 continue ;;
2111 *\'*)
2112 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2113 esac
2114 case $ac_pass in
2115 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2116 2)
2117 as_fn_append ac_configure_args1 " '$ac_arg'"
2118 if test $ac_must_keep_next = true; then
2119 ac_must_keep_next=false # Got value, back to normal.
2120 else
2121 case $ac_arg in
2122 *=* | --config-cache | -C | -disable-* | --disable-* \
2123 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2124 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2125 | -with-* | --with-* | -without-* | --without-* | --x)
2126 case "$ac_configure_args0 " in
2127 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2128 esac
2129 ;;
2130 -* ) ac_must_keep_next=true ;;
2131 esac
2132 fi
2133 as_fn_append ac_configure_args " '$ac_arg'"
2134 ;;
2135 esac
2136 done
2137done
2138{ ac_configure_args0=; unset ac_configure_args0;}
2139{ ac_configure_args1=; unset ac_configure_args1;}
2140
2141# When interrupted or exit'd, cleanup temporary files, and complete
2142# config.log. We remove comments because anyway the quotes in there
2143# would cause problems or look ugly.
2144# WARNING: Use '\'' to represent an apostrophe within the trap.
2145# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2146trap 'exit_status=$?
2147 # Save into config.log some information that might help in debugging.
2148 {
2149 echo
2150
2151 $as_echo "## ---------------- ##
2152## Cache variables. ##
2153## ---------------- ##"
2154 echo
2155 # The following way of writing the cache mishandles newlines in values,
2156(
2157 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2158 eval ac_val=\$$ac_var
2159 case $ac_val in #(
2160 *${as_nl}*)
2161 case $ac_var in #(
2162 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2163$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2164 esac
2165 case $ac_var in #(
2166 _ | IFS | as_nl) ;; #(
2167 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2168 *) { eval $ac_var=; unset $ac_var;} ;;
2169 esac ;;
2170 esac
2171 done
2172 (set) 2>&1 |
2173 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2174 *${as_nl}ac_space=\ *)
2175 sed -n \
2176 "s/'\''/'\''\\\\'\'''\''/g;
2177 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2178 ;; #(
2179 *)
2180 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2181 ;;
2182 esac |
2183 sort
2184)
2185 echo
2186
2187 $as_echo "## ----------------- ##
2188## Output variables. ##
2189## ----------------- ##"
2190 echo
2191 for ac_var in $ac_subst_vars
2192 do
2193 eval ac_val=\$$ac_var
2194 case $ac_val in
2195 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2196 esac
2197 $as_echo "$ac_var='\''$ac_val'\''"
2198 done | sort
2199 echo
2200
2201 if test -n "$ac_subst_files"; then
2202 $as_echo "## ------------------- ##
2203## File substitutions. ##
2204## ------------------- ##"
2205 echo
2206 for ac_var in $ac_subst_files
2207 do
2208 eval ac_val=\$$ac_var
2209 case $ac_val in
2210 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2211 esac
2212 $as_echo "$ac_var='\''$ac_val'\''"
2213 done | sort
2214 echo
2215 fi
2216
2217 if test -s confdefs.h; then
2218 $as_echo "## ----------- ##
2219## confdefs.h. ##
2220## ----------- ##"
2221 echo
2222 cat confdefs.h
2223 echo
2224 fi
2225 test "$ac_signal" != 0 &&
2226 $as_echo "$as_me: caught signal $ac_signal"
2227 $as_echo "$as_me: exit $exit_status"
2228 } >&5
2229 rm -f core *.core core.conftest.* &&
2230 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2231 exit $exit_status
2232' 0
2233for ac_signal in 1 2 13 15; do
2234 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2235done
2236ac_signal=0
2237
2238# confdefs.h avoids OS command line length limits that DEFS can exceed.
2239rm -f -r conftest* confdefs.h
2240
2241$as_echo "/* confdefs.h */" > confdefs.h
2242
2243# Predefined preprocessor variables.
2244
2245cat >>confdefs.h <<_ACEOF
2246#define PACKAGE_NAME "$PACKAGE_NAME"
2247_ACEOF
2248
2249cat >>confdefs.h <<_ACEOF
2250#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2251_ACEOF
2252
2253cat >>confdefs.h <<_ACEOF
2254#define PACKAGE_VERSION "$PACKAGE_VERSION"
2255_ACEOF
2256
2257cat >>confdefs.h <<_ACEOF
2258#define PACKAGE_STRING "$PACKAGE_STRING"
2259_ACEOF
2260
2261cat >>confdefs.h <<_ACEOF
2262#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2263_ACEOF
2264
2265cat >>confdefs.h <<_ACEOF
2266#define PACKAGE_URL "$PACKAGE_URL"
2267_ACEOF
2268
2269
2270# Let the site file select an alternate cache file if it wants to.
2271# Prefer an explicitly selected file to automatically selected ones.
2272ac_site_file1=NONE
2273ac_site_file2=NONE
2274if test -n "$CONFIG_SITE"; then
2275 # We do not want a PATH search for config.site.
2276 case $CONFIG_SITE in #((
2277 -*) ac_site_file1=./$CONFIG_SITE;;
2278 */*) ac_site_file1=$CONFIG_SITE;;
2279 *) ac_site_file1=./$CONFIG_SITE;;
2280 esac
2281elif test "x$prefix" != xNONE; then
2282 ac_site_file1=$prefix/share/config.site
2283 ac_site_file2=$prefix/etc/config.site
2284else
2285 ac_site_file1=$ac_default_prefix/share/config.site
2286 ac_site_file2=$ac_default_prefix/etc/config.site
2287fi
2288for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2289do
2290 test "x$ac_site_file" = xNONE && continue
2291 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2293$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2294 sed 's/^/| /' "$ac_site_file" >&5
2295 . "$ac_site_file" \
2296 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2297$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2298as_fn_error $? "failed to load site script $ac_site_file
2299See \`config.log' for more details" "$LINENO" 5; }
2300 fi
2301done
2302
2303if test -r "$cache_file"; then
2304 # Some versions of bash will fail to source /dev/null (special files
2305 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2306 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2308$as_echo "$as_me: loading cache $cache_file" >&6;}
2309 case $cache_file in
2310 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2311 *) . "./$cache_file";;
2312 esac
2313 fi
2314else
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2316$as_echo "$as_me: creating cache $cache_file" >&6;}
2317 >$cache_file
2318fi
2319
2320# Check that the precious variables saved in the cache have kept the same
2321# value.
2322ac_cache_corrupted=false
2323for ac_var in $ac_precious_vars; do
2324 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2325 eval ac_new_set=\$ac_env_${ac_var}_set
2326 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2327 eval ac_new_val=\$ac_env_${ac_var}_value
2328 case $ac_old_set,$ac_new_set in
2329 set,)
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2331$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2332 ac_cache_corrupted=: ;;
2333 ,set)
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2335$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2336 ac_cache_corrupted=: ;;
2337 ,);;
2338 *)
2339 if test "x$ac_old_val" != "x$ac_new_val"; then
2340 # differences in whitespace do not lead to failure.
2341 ac_old_val_w=`echo x $ac_old_val`
2342 ac_new_val_w=`echo x $ac_new_val`
2343 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2345$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2346 ac_cache_corrupted=:
2347 else
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2349$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2350 eval $ac_var=\$ac_old_val
2351 fi
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2353$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2355$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2356 fi;;
2357 esac
2358 # Pass precious variables to config.status.
2359 if test "$ac_new_set" = set; then
2360 case $ac_new_val in
2361 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2362 *) ac_arg=$ac_var=$ac_new_val ;;
2363 esac
2364 case " $ac_configure_args " in
2365 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2366 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2367 esac
2368 fi
2369done
2370if $ac_cache_corrupted; then
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2372$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2374$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2375 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2376fi
2377## -------------------- ##
2378## Main body of script. ##
2379## -------------------- ##
2380
2381ac_ext=c
2382ac_cpp='$CPP $CPPFLAGS'
2383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2385ac_compiler_gnu=$ac_cv_c_compiler_gnu
2386
2387
2388
2389am__api_version='1.11'
2390
2391ac_aux_dir=
2392for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2393 if test -f "$ac_dir/install-sh"; then
2394 ac_aux_dir=$ac_dir
2395 ac_install_sh="$ac_aux_dir/install-sh -c"
2396 break
2397 elif test -f "$ac_dir/install.sh"; then
2398 ac_aux_dir=$ac_dir
2399 ac_install_sh="$ac_aux_dir/install.sh -c"
2400 break
2401 elif test -f "$ac_dir/shtool"; then
2402 ac_aux_dir=$ac_dir
2403 ac_install_sh="$ac_aux_dir/shtool install -c"
2404 break
2405 fi
2406done
2407if test -z "$ac_aux_dir"; then
2408 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2409fi
2410
2411# These three variables are undocumented and unsupported,
2412# and are intended to be withdrawn in a future Autoconf release.
2413# They can cause serious problems if a builder's source tree is in a directory
2414# whose full name contains unusual characters.
2415ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2416ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2417ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2418
2419
2420# Find a good install program. We prefer a C program (faster),
2421# so one script is as good as another. But avoid the broken or
2422# incompatible versions:
2423# SysV /etc/install, /usr/sbin/install
2424# SunOS /usr/etc/install
2425# IRIX /sbin/install
2426# AIX /bin/install
2427# AmigaOS /C/install, which installs bootblocks on floppy discs
2428# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2429# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2430# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2431# OS/2's system install, which has a completely different semantic
2432# ./install, which can be erroneously created by make from ./install.sh.
2433# Reject install programs that cannot install multiple files.
2434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2435$as_echo_n "checking for a BSD-compatible install... " >&6; }
2436if test -z "$INSTALL"; then
2437if ${ac_cv_path_install+:} false; then :
2438 $as_echo_n "(cached) " >&6
2439else
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441for as_dir in $PATH
2442do
2443 IFS=$as_save_IFS
2444 test -z "$as_dir" && as_dir=.
2445 # Account for people who put trailing slashes in PATH elements.
2446case $as_dir/ in #((
2447 ./ | .// | /[cC]/* | \
2448 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2449 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2450 /usr/ucb/* ) ;;
2451 *)
2452 # OSF1 and SCO ODT 3.0 have their own names for install.
2453 # Don't use installbsd from OSF since it installs stuff as root
2454 # by default.
2455 for ac_prog in ginstall scoinst install; do
2456 for ac_exec_ext in '' $ac_executable_extensions; do
2457 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2458 if test $ac_prog = install &&
2459 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2460 # AIX install. It has an incompatible calling convention.
2461 :
2462 elif test $ac_prog = install &&
2463 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2464 # program-specific install script used by HP pwplus--don't use.
2465 :
2466 else
2467 rm -rf conftest.one conftest.two conftest.dir
2468 echo one > conftest.one
2469 echo two > conftest.two
2470 mkdir conftest.dir
2471 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2472 test -s conftest.one && test -s conftest.two &&
2473 test -s conftest.dir/conftest.one &&
2474 test -s conftest.dir/conftest.two
2475 then
2476 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2477 break 3
2478 fi
2479 fi
2480 fi
2481 done
2482 done
2483 ;;
2484esac
2485
2486 done
2487IFS=$as_save_IFS
2488
2489rm -rf conftest.one conftest.two conftest.dir
2490
2491fi
2492 if test "${ac_cv_path_install+set}" = set; then
2493 INSTALL=$ac_cv_path_install
2494 else
2495 # As a last resort, use the slow shell script. Don't cache a
2496 # value for INSTALL within a source directory, because that will
2497 # break other packages using the cache if that directory is
2498 # removed, or if the value is a relative name.
2499 INSTALL=$ac_install_sh
2500 fi
2501fi
2502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2503$as_echo "$INSTALL" >&6; }
2504
2505# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2506# It thinks the first close brace ends the variable substitution.
2507test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2508
2509test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2510
2511test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2512
2513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2514$as_echo_n "checking whether build environment is sane... " >&6; }
2515# Just in case
2516sleep 1
2517echo timestamp > conftest.file
2518# Reject unsafe characters in $srcdir or the absolute working directory
2519# name. Accept space and tab only in the latter.
2520am_lf='
2521'
2522case `pwd` in
2523 *[\\\"\#\$\&\'\`$am_lf]*)
2524 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2525esac
2526case $srcdir in
2527 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2528 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2529esac
2530
2531# Do `set' in a subshell so we don't clobber the current shell's
2532# arguments. Must try -L first in case configure is actually a
2533# symlink; some systems play weird games with the mod time of symlinks
2534# (eg FreeBSD returns the mod time of the symlink's containing
2535# directory).
2536if (
2537 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2538 if test "$*" = "X"; then
2539 # -L didn't work.
2540 set X `ls -t "$srcdir/configure" conftest.file`
2541 fi
2542 rm -f conftest.file
2543 if test "$*" != "X $srcdir/configure conftest.file" \
2544 && test "$*" != "X conftest.file $srcdir/configure"; then
2545
2546 # If neither matched, then we have a broken ls. This can happen
2547 # if, for instance, CONFIG_SHELL is bash and it inherits a
2548 # broken ls alias from the environment. This has actually
2549 # happened. Such a system could not be considered "sane".
2550 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2551alias in your environment" "$LINENO" 5
2552 fi
2553
2554 test "$2" = conftest.file
2555 )
2556then
2557 # Ok.
2558 :
2559else
2560 as_fn_error $? "newly created file is older than distributed files!
2561Check your system clock" "$LINENO" 5
2562fi
2563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2564$as_echo "yes" >&6; }
2565test "$program_prefix" != NONE &&
2566 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2567# Use a double $ so make ignores it.
2568test "$program_suffix" != NONE &&
2569 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2570# Double any \ or $.
2571# By default was `s,x,x', remove it if useless.
2572ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2573program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2574
2575# expand $ac_aux_dir to an absolute path
2576am_aux_dir=`cd $ac_aux_dir && pwd`
2577
2578if test x"${MISSING+set}" != xset; then
2579 case $am_aux_dir in
2580 *\ * | *\ *)
2581 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2582 *)
2583 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2584 esac
2585fi
2586# Use eval to expand $SHELL
2587if eval "$MISSING --run true"; then
2588 am_missing_run="$MISSING --run "
2589else
2590 am_missing_run=
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2592$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2593fi
2594
2595if test x"${install_sh}" != xset; then
2596 case $am_aux_dir in
2597 *\ * | *\ *)
2598 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2599 *)
2600 install_sh="\${SHELL} $am_aux_dir/install-sh"
2601 esac
2602fi
2603
2604# Installed binaries are usually stripped using `strip' when the user
2605# run `make install-strip'. However `strip' might not be the right
2606# tool to use in cross-compilation environments, therefore Automake
2607# will honor the `STRIP' environment variable to overrule this program.
2608if test "$cross_compiling" != no; then
2609 if test -n "$ac_tool_prefix"; then
2610 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2611set dummy ${ac_tool_prefix}strip; ac_word=$2
2612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2613$as_echo_n "checking for $ac_word... " >&6; }
2614if ${ac_cv_prog_STRIP+:} false; then :
2615 $as_echo_n "(cached) " >&6
2616else
2617 if test -n "$STRIP"; then
2618 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2619else
2620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621for as_dir in $PATH
2622do
2623 IFS=$as_save_IFS
2624 test -z "$as_dir" && as_dir=.
2625 for ac_exec_ext in '' $ac_executable_extensions; do
2626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2627 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 break 2
2630 fi
2631done
2632 done
2633IFS=$as_save_IFS
2634
2635fi
2636fi
2637STRIP=$ac_cv_prog_STRIP
2638if test -n "$STRIP"; then
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2640$as_echo "$STRIP" >&6; }
2641else
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2643$as_echo "no" >&6; }
2644fi
2645
2646
2647fi
2648if test -z "$ac_cv_prog_STRIP"; then
2649 ac_ct_STRIP=$STRIP
2650 # Extract the first word of "strip", so it can be a program name with args.
2651set dummy strip; ac_word=$2
2652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653$as_echo_n "checking for $ac_word... " >&6; }
2654if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2655 $as_echo_n "(cached) " >&6
2656else
2657 if test -n "$ac_ct_STRIP"; then
2658 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2659else
2660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661for as_dir in $PATH
2662do
2663 IFS=$as_save_IFS
2664 test -z "$as_dir" && as_dir=.
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2667 ac_cv_prog_ac_ct_STRIP="strip"
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 break 2
2670 fi
2671done
2672 done
2673IFS=$as_save_IFS
2674
2675fi
2676fi
2677ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2678if test -n "$ac_ct_STRIP"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2680$as_echo "$ac_ct_STRIP" >&6; }
2681else
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683$as_echo "no" >&6; }
2684fi
2685
2686 if test "x$ac_ct_STRIP" = x; then
2687 STRIP=":"
2688 else
2689 case $cross_compiling:$ac_tool_warned in
2690yes:)
2691{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2692$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2693ac_tool_warned=yes ;;
2694esac
2695 STRIP=$ac_ct_STRIP
2696 fi
2697else
2698 STRIP="$ac_cv_prog_STRIP"
2699fi
2700
2701fi
2702INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2703
2704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2705$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2706if test -z "$MKDIR_P"; then
2707 if ${ac_cv_path_mkdir+:} false; then :
2708 $as_echo_n "(cached) " >&6
2709else
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2712do
2713 IFS=$as_save_IFS
2714 test -z "$as_dir" && as_dir=.
2715 for ac_prog in mkdir gmkdir; do
2716 for ac_exec_ext in '' $ac_executable_extensions; do
2717 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2718 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2719 'mkdir (GNU coreutils) '* | \
2720 'mkdir (coreutils) '* | \
2721 'mkdir (fileutils) '4.1*)
2722 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2723 break 3;;
2724 esac
2725 done
2726 done
2727 done
2728IFS=$as_save_IFS
2729
2730fi
2731
2732 test -d ./--version && rmdir ./--version
2733 if test "${ac_cv_path_mkdir+set}" = set; then
2734 MKDIR_P="$ac_cv_path_mkdir -p"
2735 else
2736 # As a last resort, use the slow shell script. Don't cache a
2737 # value for MKDIR_P within a source directory, because that will
2738 # break other packages using the cache if that directory is
2739 # removed, or if the value is a relative name.
2740 MKDIR_P="$ac_install_sh -d"
2741 fi
2742fi
2743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2744$as_echo "$MKDIR_P" >&6; }
2745
2746mkdir_p="$MKDIR_P"
2747case $mkdir_p in
2748 [\\/$]* | ?:[\\/]*) ;;
2749 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2750esac
2751
2752for ac_prog in gawk mawk nawk awk
2753do
2754 # Extract the first word of "$ac_prog", so it can be a program name with args.
2755set dummy $ac_prog; ac_word=$2
2756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2757$as_echo_n "checking for $ac_word... " >&6; }
2758if ${ac_cv_prog_AWK+:} false; then :
2759 $as_echo_n "(cached) " >&6
2760else
2761 if test -n "$AWK"; then
2762 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2763else
2764as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2765for as_dir in $PATH
2766do
2767 IFS=$as_save_IFS
2768 test -z "$as_dir" && as_dir=.
2769 for ac_exec_ext in '' $ac_executable_extensions; do
2770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2771 ac_cv_prog_AWK="$ac_prog"
2772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2773 break 2
2774 fi
2775done
2776 done
2777IFS=$as_save_IFS
2778
2779fi
2780fi
2781AWK=$ac_cv_prog_AWK
2782if test -n "$AWK"; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2784$as_echo "$AWK" >&6; }
2785else
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2787$as_echo "no" >&6; }
2788fi
2789
2790
2791 test -n "$AWK" && break
2792done
2793
2794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2795$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2796set x ${MAKE-make}
2797ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2798if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2799 $as_echo_n "(cached) " >&6
2800else
2801 cat >conftest.make <<\_ACEOF
2802SHELL = /bin/sh
2803all:
2804 @echo '@@@%%%=$(MAKE)=@@@%%%'
2805_ACEOF
2806# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2807case `${MAKE-make} -f conftest.make 2>/dev/null` in
2808 *@@@%%%=?*=@@@%%%*)
2809 eval ac_cv_prog_make_${ac_make}_set=yes;;
2810 *)
2811 eval ac_cv_prog_make_${ac_make}_set=no;;
2812esac
2813rm -f conftest.make
2814fi
2815if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2817$as_echo "yes" >&6; }
2818 SET_MAKE=
2819else
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821$as_echo "no" >&6; }
2822 SET_MAKE="MAKE=${MAKE-make}"
2823fi
2824
2825rm -rf .tst 2>/dev/null
2826mkdir .tst 2>/dev/null
2827if test -d .tst; then
2828 am__leading_dot=.
2829else
2830 am__leading_dot=_
2831fi
2832rmdir .tst 2>/dev/null
2833
2834if test "`cd $srcdir && pwd`" != "`pwd`"; then
2835 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2836 # is not polluted with repeated "-I."
2837 am__isrc=' -I$(srcdir)'
2838 # test to see if srcdir already configured
2839 if test -f $srcdir/config.status; then
2840 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2841 fi
2842fi
2843
2844# test whether we have cygpath
2845if test -z "$CYGPATH_W"; then
2846 if (cygpath --version) >/dev/null 2>/dev/null; then
2847 CYGPATH_W='cygpath -w'
2848 else
2849 CYGPATH_W=echo
2850 fi
2851fi
2852
2853
2854# Define the identity of the package.
2855 PACKAGE=libdbus-c++
2856 VERSION=0.9.0
2857
2858
2859cat >>confdefs.h <<_ACEOF
2860#define PACKAGE "$PACKAGE"
2861_ACEOF
2862
2863
2864cat >>confdefs.h <<_ACEOF
2865#define VERSION "$VERSION"
2866_ACEOF
2867
2868# Some tools Automake needs.
2869
2870ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2871
2872
2873AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2874
2875
2876AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2877
2878
2879AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2880
2881
2882MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2883
2884# We need awk for the "check" target. The system "awk" is bad on
2885# some platforms.
2886# Always define AMTAR for backward compatibility.
2887
2888AMTAR=${AMTAR-"${am_missing_run}tar"}
2889
2890am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2891
2892
2893
2894
2895
2896ac_config_headers="$ac_config_headers config.h"
2897
2898
2899
2900# Make sure we can run config.sub.
2901$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2902 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2903
2904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2905$as_echo_n "checking build system type... " >&6; }
2906if ${ac_cv_build+:} false; then :
2907 $as_echo_n "(cached) " >&6
2908else
2909 ac_build_alias=$build_alias
2910test "x$ac_build_alias" = x &&
2911 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2912test "x$ac_build_alias" = x &&
2913 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2914ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2915 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2916
2917fi
2918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2919$as_echo "$ac_cv_build" >&6; }
2920case $ac_cv_build in
2921*-*-*) ;;
2922*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2923esac
2924build=$ac_cv_build
2925ac_save_IFS=$IFS; IFS='-'
2926set x $ac_cv_build
2927shift
2928build_cpu=$1
2929build_vendor=$2
2930shift; shift
2931# Remember, the first character of IFS is used to create $*,
2932# except with old shells:
2933build_os=$*
2934IFS=$ac_save_IFS
2935case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2936
2937
2938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2939$as_echo_n "checking host system type... " >&6; }
2940if ${ac_cv_host+:} false; then :
2941 $as_echo_n "(cached) " >&6
2942else
2943 if test "x$host_alias" = x; then
2944 ac_cv_host=$ac_cv_build
2945else
2946 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2947 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2948fi
2949
2950fi
2951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2952$as_echo "$ac_cv_host" >&6; }
2953case $ac_cv_host in
2954*-*-*) ;;
2955*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2956esac
2957host=$ac_cv_host
2958ac_save_IFS=$IFS; IFS='-'
2959set x $ac_cv_host
2960shift
2961host_cpu=$1
2962host_vendor=$2
2963shift; shift
2964# Remember, the first character of IFS is used to create $*,
2965# except with old shells:
2966host_os=$*
2967IFS=$ac_save_IFS
2968case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2969
2970
2971
2972
2973
2974
2975# Set configuration options
2976
2977# Check whether --enable-ecore was given.
2978if test "${enable_ecore+set}" = set; then :
2979 enableval=$enable_ecore; enable_ecore=$enableval
2980else
2981 enable_ecore=yes
2982
2983fi
2984
2985
2986# Check whether --enable-glib was given.
2987if test "${enable_glib+set}" = set; then :
2988 enableval=$enable_glib; enable_glib=$enableval
2989else
2990 enable_glib=yes
2991
2992fi
2993
2994
2995# Check whether --enable-doxygen-docs was given.
2996if test "${enable_doxygen_docs+set}" = set; then :
2997 enableval=$enable_doxygen_docs; enable_doxygen_docs=$enableval
2998else
2999 enable_doxygen_docs=no
3000
3001fi
3002
3003
3004# Check whether --enable-tests was given.
3005if test "${enable_tests+set}" = set; then :
3006 enableval=$enable_tests; enable_tests=$enableval
3007else
3008 enable_tests=yes
3009
3010fi
3011
3012
3013# Check whether --enable-examples was given.
3014if test "${enable_examples+set}" = set; then :
3015 enableval=$enable_examples; enable_examples=$enableval
3016else
3017 enable_examples=yes
3018
3019fi
3020
3021
3022DEPDIR="${am__leading_dot}deps"
3023
3024ac_config_commands="$ac_config_commands depfiles"
3025
3026
3027am_make=${MAKE-make}
3028cat > confinc << 'END'
3029am__doit:
3030 @echo this is the am__doit target
3031.PHONY: am__doit
3032END
3033# If we don't find an include directive, just comment out the code.
3034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3035$as_echo_n "checking for style of include used by $am_make... " >&6; }
3036am__include="#"
3037am__quote=
3038_am_result=none
3039# First try GNU make style include.
3040echo "include confinc" > confmf
3041# Ignore all kinds of additional output from `make'.
3042case `$am_make -s -f confmf 2> /dev/null` in #(
3043*the\ am__doit\ target*)
3044 am__include=include
3045 am__quote=
3046 _am_result=GNU
3047 ;;
3048esac
3049# Now try BSD make style include.
3050if test "$am__include" = "#"; then
3051 echo '.include "confinc"' > confmf
3052 case `$am_make -s -f confmf 2> /dev/null` in #(
3053 *the\ am__doit\ target*)
3054 am__include=.include
3055 am__quote="\""
3056 _am_result=BSD
3057 ;;
3058 esac
3059fi
3060
3061
3062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3063$as_echo "$_am_result" >&6; }
3064rm -f confinc confmf
3065
3066# Check whether --enable-dependency-tracking was given.
3067if test "${enable_dependency_tracking+set}" = set; then :
3068 enableval=$enable_dependency_tracking;
3069fi
3070
3071if test "x$enable_dependency_tracking" != xno; then
3072 am_depcomp="$ac_aux_dir/depcomp"
3073 AMDEPBACKSLASH='\'
3074fi
3075 if test "x$enable_dependency_tracking" != xno; then
3076 AMDEP_TRUE=
3077 AMDEP_FALSE='#'
3078else
3079 AMDEP_TRUE='#'
3080 AMDEP_FALSE=
3081fi
3082
3083
3084ac_ext=c
3085ac_cpp='$CPP $CPPFLAGS'
3086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3088ac_compiler_gnu=$ac_cv_c_compiler_gnu
3089if test -n "$ac_tool_prefix"; then
3090 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3091set dummy ${ac_tool_prefix}gcc; ac_word=$2
3092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3093$as_echo_n "checking for $ac_word... " >&6; }
3094if ${ac_cv_prog_CC+:} false; then :
3095 $as_echo_n "(cached) " >&6
3096else
3097 if test -n "$CC"; then
3098 ac_cv_prog_CC="$CC" # Let the user override the test.
3099else
3100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3101for as_dir in $PATH
3102do
3103 IFS=$as_save_IFS
3104 test -z "$as_dir" && as_dir=.
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3107 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 break 2
3110 fi
3111done
3112 done
3113IFS=$as_save_IFS
3114
3115fi
3116fi
3117CC=$ac_cv_prog_CC
3118if test -n "$CC"; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3120$as_echo "$CC" >&6; }
3121else
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3123$as_echo "no" >&6; }
3124fi
3125
3126
3127fi
3128if test -z "$ac_cv_prog_CC"; then
3129 ac_ct_CC=$CC
3130 # Extract the first word of "gcc", so it can be a program name with args.
3131set dummy gcc; ac_word=$2
3132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3133$as_echo_n "checking for $ac_word... " >&6; }
3134if ${ac_cv_prog_ac_ct_CC+:} false; then :
3135 $as_echo_n "(cached) " >&6
3136else
3137 if test -n "$ac_ct_CC"; then
3138 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3139else
3140as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141for as_dir in $PATH
3142do
3143 IFS=$as_save_IFS
3144 test -z "$as_dir" && as_dir=.
3145 for ac_exec_ext in '' $ac_executable_extensions; do
3146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3147 ac_cv_prog_ac_ct_CC="gcc"
3148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 break 2
3150 fi
3151done
3152 done
3153IFS=$as_save_IFS
3154
3155fi
3156fi
3157ac_ct_CC=$ac_cv_prog_ac_ct_CC
3158if test -n "$ac_ct_CC"; then
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3160$as_echo "$ac_ct_CC" >&6; }
3161else
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163$as_echo "no" >&6; }
3164fi
3165
3166 if test "x$ac_ct_CC" = x; then
3167 CC=""
3168 else
3169 case $cross_compiling:$ac_tool_warned in
3170yes:)
3171{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3172$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3173ac_tool_warned=yes ;;
3174esac
3175 CC=$ac_ct_CC
3176 fi
3177else
3178 CC="$ac_cv_prog_CC"
3179fi
3180
3181if test -z "$CC"; then
3182 if test -n "$ac_tool_prefix"; then
3183 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3184set dummy ${ac_tool_prefix}cc; ac_word=$2
3185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186$as_echo_n "checking for $ac_word... " >&6; }
3187if ${ac_cv_prog_CC+:} false; then :
3188 $as_echo_n "(cached) " >&6
3189else
3190 if test -n "$CC"; then
3191 ac_cv_prog_CC="$CC" # Let the user override the test.
3192else
3193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194for as_dir in $PATH
3195do
3196 IFS=$as_save_IFS
3197 test -z "$as_dir" && as_dir=.
3198 for ac_exec_ext in '' $ac_executable_extensions; do
3199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3200 ac_cv_prog_CC="${ac_tool_prefix}cc"
3201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 break 2
3203 fi
3204done
3205 done
3206IFS=$as_save_IFS
3207
3208fi
3209fi
3210CC=$ac_cv_prog_CC
3211if test -n "$CC"; then
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3213$as_echo "$CC" >&6; }
3214else
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216$as_echo "no" >&6; }
3217fi
3218
3219
3220 fi
3221fi
3222if test -z "$CC"; then
3223 # Extract the first word of "cc", so it can be a program name with args.
3224set dummy cc; ac_word=$2
3225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3226$as_echo_n "checking for $ac_word... " >&6; }
3227if ${ac_cv_prog_CC+:} false; then :
3228 $as_echo_n "(cached) " >&6
3229else
3230 if test -n "$CC"; then
3231 ac_cv_prog_CC="$CC" # Let the user override the test.
3232else
3233 ac_prog_rejected=no
3234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235for as_dir in $PATH
3236do
3237 IFS=$as_save_IFS
3238 test -z "$as_dir" && as_dir=.
3239 for ac_exec_ext in '' $ac_executable_extensions; do
3240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3242 ac_prog_rejected=yes
3243 continue
3244 fi
3245 ac_cv_prog_CC="cc"
3246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 break 2
3248 fi
3249done
3250 done
3251IFS=$as_save_IFS
3252
3253if test $ac_prog_rejected = yes; then
3254 # We found a bogon in the path, so make sure we never use it.
3255 set dummy $ac_cv_prog_CC
3256 shift
3257 if test $# != 0; then
3258 # We chose a different compiler from the bogus one.
3259 # However, it has the same basename, so the bogon will be chosen
3260 # first if we set CC to just the basename; use the full file name.
3261 shift
3262 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3263 fi
3264fi
3265fi
3266fi
3267CC=$ac_cv_prog_CC
3268if test -n "$CC"; then
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3270$as_echo "$CC" >&6; }
3271else
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273$as_echo "no" >&6; }
3274fi
3275
3276
3277fi
3278if test -z "$CC"; then
3279 if test -n "$ac_tool_prefix"; then
3280 for ac_prog in cl.exe
3281 do
3282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3283set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3285$as_echo_n "checking for $ac_word... " >&6; }
3286if ${ac_cv_prog_CC+:} false; then :
3287 $as_echo_n "(cached) " >&6
3288else
3289 if test -n "$CC"; then
3290 ac_cv_prog_CC="$CC" # Let the user override the test.
3291else
3292as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293for as_dir in $PATH
3294do
3295 IFS=$as_save_IFS
3296 test -z "$as_dir" && as_dir=.
3297 for ac_exec_ext in '' $ac_executable_extensions; do
3298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3299 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3301 break 2
3302 fi
3303done
3304 done
3305IFS=$as_save_IFS
3306
3307fi
3308fi
3309CC=$ac_cv_prog_CC
3310if test -n "$CC"; then
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3312$as_echo "$CC" >&6; }
3313else
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3315$as_echo "no" >&6; }
3316fi
3317
3318
3319 test -n "$CC" && break
3320 done
3321fi
3322if test -z "$CC"; then
3323 ac_ct_CC=$CC
3324 for ac_prog in cl.exe
3325do
3326 # Extract the first word of "$ac_prog", so it can be a program name with args.
3327set dummy $ac_prog; ac_word=$2
3328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329$as_echo_n "checking for $ac_word... " >&6; }
3330if ${ac_cv_prog_ac_ct_CC+:} false; then :
3331 $as_echo_n "(cached) " >&6
3332else
3333 if test -n "$ac_ct_CC"; then
3334 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3335else
3336as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337for as_dir in $PATH
3338do
3339 IFS=$as_save_IFS
3340 test -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343 ac_cv_prog_ac_ct_CC="$ac_prog"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 break 2
3346 fi
3347done
3348 done
3349IFS=$as_save_IFS
3350
3351fi
3352fi
3353ac_ct_CC=$ac_cv_prog_ac_ct_CC
3354if test -n "$ac_ct_CC"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3356$as_echo "$ac_ct_CC" >&6; }
3357else
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359$as_echo "no" >&6; }
3360fi
3361
3362
3363 test -n "$ac_ct_CC" && break
3364done
3365
3366 if test "x$ac_ct_CC" = x; then
3367 CC=""
3368 else
3369 case $cross_compiling:$ac_tool_warned in
3370yes:)
3371{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3372$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3373ac_tool_warned=yes ;;
3374esac
3375 CC=$ac_ct_CC
3376 fi
3377fi
3378
3379fi
3380
3381
3382test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3383$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3384as_fn_error $? "no acceptable C compiler found in \$PATH
3385See \`config.log' for more details" "$LINENO" 5; }
3386
3387# Provide some information about the compiler.
3388$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3389set X $ac_compile
3390ac_compiler=$2
3391for ac_option in --version -v -V -qversion; do
3392 { { ac_try="$ac_compiler $ac_option >&5"
3393case "(($ac_try" in
3394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3395 *) ac_try_echo=$ac_try;;
3396esac
3397eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3398$as_echo "$ac_try_echo"; } >&5
3399 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3400 ac_status=$?
3401 if test -s conftest.err; then
3402 sed '10a\
3403... rest of stderr output deleted ...
3404 10q' conftest.err >conftest.er1
3405 cat conftest.er1 >&5
3406 fi
3407 rm -f conftest.er1 conftest.err
3408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3409 test $ac_status = 0; }
3410done
3411
3412cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413/* end confdefs.h. */
3414
3415int
3416main ()
3417{
3418
3419 ;
3420 return 0;
3421}
3422_ACEOF
3423ac_clean_files_save=$ac_clean_files
3424ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3425# Try to create an executable without -o first, disregard a.out.
3426# It will help us diagnose broken compilers, and finding out an intuition
3427# of exeext.
3428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3429$as_echo_n "checking whether the C compiler works... " >&6; }
3430ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3431
3432# The possible output files:
3433ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3434
3435ac_rmfiles=
3436for ac_file in $ac_files
3437do
3438 case $ac_file in
3439 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3440 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3441 esac
3442done
3443rm -f $ac_rmfiles
3444
3445if { { ac_try="$ac_link_default"
3446case "(($ac_try" in
3447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3449esac
3450eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3451$as_echo "$ac_try_echo"; } >&5
3452 (eval "$ac_link_default") 2>&5
3453 ac_status=$?
3454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3455 test $ac_status = 0; }; then :
3456 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3457# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3458# in a Makefile. We should not override ac_cv_exeext if it was cached,
3459# so that the user can short-circuit this test for compilers unknown to
3460# Autoconf.
3461for ac_file in $ac_files ''
3462do
3463 test -f "$ac_file" || continue
3464 case $ac_file in
3465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3466 ;;
3467 [ab].out )
3468 # We found the default executable, but exeext='' is most
3469 # certainly right.
3470 break;;
3471 *.* )
3472 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3473 then :; else
3474 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3475 fi
3476 # We set ac_cv_exeext here because the later test for it is not
3477 # safe: cross compilers may not add the suffix if given an `-o'
3478 # argument, so we may need to know it at that point already.
3479 # Even if this section looks crufty: it has the advantage of
3480 # actually working.
3481 break;;
3482 * )
3483 break;;
3484 esac
3485done
3486test "$ac_cv_exeext" = no && ac_cv_exeext=
3487
3488else
3489 ac_file=''
3490fi
3491if test -z "$ac_file"; then :
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493$as_echo "no" >&6; }
3494$as_echo "$as_me: failed program was:" >&5
3495sed 's/^/| /' conftest.$ac_ext >&5
3496
3497{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499as_fn_error 77 "C compiler cannot create executables
3500See \`config.log' for more details" "$LINENO" 5; }
3501else
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3503$as_echo "yes" >&6; }
3504fi
3505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3506$as_echo_n "checking for C compiler default output file name... " >&6; }
3507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3508$as_echo "$ac_file" >&6; }
3509ac_exeext=$ac_cv_exeext
3510
3511rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3512ac_clean_files=$ac_clean_files_save
3513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3514$as_echo_n "checking for suffix of executables... " >&6; }
3515if { { ac_try="$ac_link"
3516case "(($ac_try" in
3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3519esac
3520eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521$as_echo "$ac_try_echo"; } >&5
3522 (eval "$ac_link") 2>&5
3523 ac_status=$?
3524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525 test $ac_status = 0; }; then :
3526 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3527# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3528# work properly (i.e., refer to `conftest.exe'), while it won't with
3529# `rm'.
3530for ac_file in conftest.exe conftest conftest.*; do
3531 test -f "$ac_file" || continue
3532 case $ac_file in
3533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3534 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3535 break;;
3536 * ) break;;
3537 esac
3538done
3539else
3540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3541$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3542as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3543See \`config.log' for more details" "$LINENO" 5; }
3544fi
3545rm -f conftest conftest$ac_cv_exeext
3546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3547$as_echo "$ac_cv_exeext" >&6; }
3548
3549rm -f conftest.$ac_ext
3550EXEEXT=$ac_cv_exeext
3551ac_exeext=$EXEEXT
3552cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553/* end confdefs.h. */
3554#include <stdio.h>
3555int
3556main ()
3557{
3558FILE *f = fopen ("conftest.out", "w");
3559 return ferror (f) || fclose (f) != 0;
3560
3561 ;
3562 return 0;
3563}
3564_ACEOF
3565ac_clean_files="$ac_clean_files conftest.out"
3566# Check that the compiler produces executables we can run. If not, either
3567# the compiler is broken, or we cross compile.
3568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3569$as_echo_n "checking whether we are cross compiling... " >&6; }
3570if test "$cross_compiling" != yes; then
3571 { { ac_try="$ac_link"
3572case "(($ac_try" in
3573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;;
3575esac
3576eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3577$as_echo "$ac_try_echo"; } >&5
3578 (eval "$ac_link") 2>&5
3579 ac_status=$?
3580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3581 test $ac_status = 0; }
3582 if { ac_try='./conftest$ac_cv_exeext'
3583 { { case "(($ac_try" in
3584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3585 *) ac_try_echo=$ac_try;;
3586esac
3587eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3588$as_echo "$ac_try_echo"; } >&5
3589 (eval "$ac_try") 2>&5
3590 ac_status=$?
3591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3592 test $ac_status = 0; }; }; then
3593 cross_compiling=no
3594 else
3595 if test "$cross_compiling" = maybe; then
3596 cross_compiling=yes
3597 else
3598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3599$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3600as_fn_error $? "cannot run C compiled programs.
3601If you meant to cross compile, use \`--host'.
3602See \`config.log' for more details" "$LINENO" 5; }
3603 fi
3604 fi
3605fi
3606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3607$as_echo "$cross_compiling" >&6; }
3608
3609rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3610ac_clean_files=$ac_clean_files_save
3611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3612$as_echo_n "checking for suffix of object files... " >&6; }
3613if ${ac_cv_objext+:} false; then :
3614 $as_echo_n "(cached) " >&6
3615else
3616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3617/* end confdefs.h. */
3618
3619int
3620main ()
3621{
3622
3623 ;
3624 return 0;
3625}
3626_ACEOF
3627rm -f conftest.o conftest.obj
3628if { { ac_try="$ac_compile"
3629case "(($ac_try" in
3630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3632esac
3633eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3634$as_echo "$ac_try_echo"; } >&5
3635 (eval "$ac_compile") 2>&5
3636 ac_status=$?
3637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3638 test $ac_status = 0; }; then :
3639 for ac_file in conftest.o conftest.obj conftest.*; do
3640 test -f "$ac_file" || continue;
3641 case $ac_file in
3642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3643 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3644 break;;
3645 esac
3646done
3647else
3648 $as_echo "$as_me: failed program was:" >&5
3649sed 's/^/| /' conftest.$ac_ext >&5
3650
3651{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3652$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3653as_fn_error $? "cannot compute suffix of object files: cannot compile
3654See \`config.log' for more details" "$LINENO" 5; }
3655fi
3656rm -f conftest.$ac_cv_objext conftest.$ac_ext
3657fi
3658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3659$as_echo "$ac_cv_objext" >&6; }
3660OBJEXT=$ac_cv_objext
3661ac_objext=$OBJEXT
3662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3663$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3664if ${ac_cv_c_compiler_gnu+:} false; then :
3665 $as_echo_n "(cached) " >&6
3666else
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668/* end confdefs.h. */
3669
3670int
3671main ()
3672{
3673#ifndef __GNUC__
3674 choke me
3675#endif
3676
3677 ;
3678 return 0;
3679}
3680_ACEOF
3681if ac_fn_c_try_compile "$LINENO"; then :
3682 ac_compiler_gnu=yes
3683else
3684 ac_compiler_gnu=no
3685fi
3686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3687ac_cv_c_compiler_gnu=$ac_compiler_gnu
3688
3689fi
3690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3691$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3692if test $ac_compiler_gnu = yes; then
3693 GCC=yes
3694else
3695 GCC=
3696fi
3697ac_test_CFLAGS=${CFLAGS+set}
3698ac_save_CFLAGS=$CFLAGS
3699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3700$as_echo_n "checking whether $CC accepts -g... " >&6; }
3701if ${ac_cv_prog_cc_g+:} false; then :
3702 $as_echo_n "(cached) " >&6
3703else
3704 ac_save_c_werror_flag=$ac_c_werror_flag
3705 ac_c_werror_flag=yes
3706 ac_cv_prog_cc_g=no
3707 CFLAGS="-g"
3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3709/* end confdefs.h. */
3710
3711int
3712main ()
3713{
3714
3715 ;
3716 return 0;
3717}
3718_ACEOF
3719if ac_fn_c_try_compile "$LINENO"; then :
3720 ac_cv_prog_cc_g=yes
3721else
3722 CFLAGS=""
3723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724/* end confdefs.h. */
3725
3726int
3727main ()
3728{
3729
3730 ;
3731 return 0;
3732}
3733_ACEOF
3734if ac_fn_c_try_compile "$LINENO"; then :
3735
3736else
3737 ac_c_werror_flag=$ac_save_c_werror_flag
3738 CFLAGS="-g"
3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3740/* end confdefs.h. */
3741
3742int
3743main ()
3744{
3745
3746 ;
3747 return 0;
3748}
3749_ACEOF
3750if ac_fn_c_try_compile "$LINENO"; then :
3751 ac_cv_prog_cc_g=yes
3752fi
3753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3754fi
3755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3756fi
3757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3758 ac_c_werror_flag=$ac_save_c_werror_flag
3759fi
3760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3761$as_echo "$ac_cv_prog_cc_g" >&6; }
3762if test "$ac_test_CFLAGS" = set; then
3763 CFLAGS=$ac_save_CFLAGS
3764elif test $ac_cv_prog_cc_g = yes; then
3765 if test "$GCC" = yes; then
3766 CFLAGS="-g -O2"
3767 else
3768 CFLAGS="-g"
3769 fi
3770else
3771 if test "$GCC" = yes; then
3772 CFLAGS="-O2"
3773 else
3774 CFLAGS=
3775 fi
3776fi
3777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3778$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3779if ${ac_cv_prog_cc_c89+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781else
3782 ac_cv_prog_cc_c89=no
3783ac_save_CC=$CC
3784cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785/* end confdefs.h. */
3786#include <stdarg.h>
3787#include <stdio.h>
3788#include <sys/types.h>
3789#include <sys/stat.h>
3790/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3791struct buf { int x; };
3792FILE * (*rcsopen) (struct buf *, struct stat *, int);
3793static char *e (p, i)
3794 char **p;
3795 int i;
3796{
3797 return p[i];
3798}
3799static char *f (char * (*g) (char **, int), char **p, ...)
3800{
3801 char *s;
3802 va_list v;
3803 va_start (v,p);
3804 s = g (p, va_arg (v,int));
3805 va_end (v);
3806 return s;
3807}
3808
3809/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3810 function prototypes and stuff, but not '\xHH' hex character constants.
3811 These don't provoke an error unfortunately, instead are silently treated
3812 as 'x'. The following induces an error, until -std is added to get
3813 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3814 array size at least. It's necessary to write '\x00'==0 to get something
3815 that's true only with -std. */
3816int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3817
3818/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3819 inside strings and character constants. */
3820#define FOO(x) 'x'
3821int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3822
3823int test (int i, double x);
3824struct s1 {int (*f) (int a);};
3825struct s2 {int (*f) (double a);};
3826int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3827int argc;
3828char **argv;
3829int
3830main ()
3831{
3832return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3833 ;
3834 return 0;
3835}
3836_ACEOF
3837for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3838 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3839do
3840 CC="$ac_save_CC $ac_arg"
3841 if ac_fn_c_try_compile "$LINENO"; then :
3842 ac_cv_prog_cc_c89=$ac_arg
3843fi
3844rm -f core conftest.err conftest.$ac_objext
3845 test "x$ac_cv_prog_cc_c89" != "xno" && break
3846done
3847rm -f conftest.$ac_ext
3848CC=$ac_save_CC
3849
3850fi
3851# AC_CACHE_VAL
3852case "x$ac_cv_prog_cc_c89" in
3853 x)
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3855$as_echo "none needed" >&6; } ;;
3856 xno)
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3858$as_echo "unsupported" >&6; } ;;
3859 *)
3860 CC="$CC $ac_cv_prog_cc_c89"
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3862$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3863esac
3864if test "x$ac_cv_prog_cc_c89" != xno; then :
3865
3866fi
3867
3868ac_ext=c
3869ac_cpp='$CPP $CPPFLAGS'
3870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3872ac_compiler_gnu=$ac_cv_c_compiler_gnu
3873
3874depcc="$CC" am_compiler_list=
3875
3876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3877$as_echo_n "checking dependency style of $depcc... " >&6; }
3878if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3879 $as_echo_n "(cached) " >&6
3880else
3881 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3882 # We make a subdir and do the tests there. Otherwise we can end up
3883 # making bogus files that we don't know about and never remove. For
3884 # instance it was reported that on HP-UX the gcc test will end up
3885 # making a dummy file named `D' -- because `-MD' means `put the output
3886 # in D'.
3887 mkdir conftest.dir
3888 # Copy depcomp to subdir because otherwise we won't find it if we're
3889 # using a relative directory.
3890 cp "$am_depcomp" conftest.dir
3891 cd conftest.dir
3892 # We will build objects and dependencies in a subdirectory because
3893 # it helps to detect inapplicable dependency modes. For instance
3894 # both Tru64's cc and ICC support -MD to output dependencies as a
3895 # side effect of compilation, but ICC will put the dependencies in
3896 # the current directory while Tru64 will put them in the object
3897 # directory.
3898 mkdir sub
3899
3900 am_cv_CC_dependencies_compiler_type=none
3901 if test "$am_compiler_list" = ""; then
3902 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3903 fi
3904 am__universal=false
3905 case " $depcc " in #(
3906 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3907 esac
3908
3909 for depmode in $am_compiler_list; do
3910 # Setup a source with many dependencies, because some compilers
3911 # like to wrap large dependency lists on column 80 (with \), and
3912 # we should not choose a depcomp mode which is confused by this.
3913 #
3914 # We need to recreate these files for each test, as the compiler may
3915 # overwrite some of them when testing with obscure command lines.
3916 # This happens at least with the AIX C compiler.
3917 : > sub/conftest.c
3918 for i in 1 2 3 4 5 6; do
3919 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3920 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3921 # Solaris 8's {/usr,}/bin/sh.
3922 touch sub/conftst$i.h
3923 done
3924 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3925
3926 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3927 # mode. It turns out that the SunPro C++ compiler does not properly
3928 # handle `-M -o', and we need to detect this. Also, some Intel
3929 # versions had trouble with output in subdirs
3930 am__obj=sub/conftest.${OBJEXT-o}
3931 am__minus_obj="-o $am__obj"
3932 case $depmode in
3933 gcc)
3934 # This depmode causes a compiler race in universal mode.
3935 test "$am__universal" = false || continue
3936 ;;
3937 nosideeffect)
3938 # after this tag, mechanisms are not by side-effect, so they'll
3939 # only be used when explicitly requested
3940 if test "x$enable_dependency_tracking" = xyes; then
3941 continue
3942 else
3943 break
3944 fi
3945 ;;
3946 msvisualcpp | msvcmsys)
3947 # This compiler won't grok `-c -o', but also, the minuso test has
3948 # not run yet. These depmodes are late enough in the game, and
3949 # so weak that their functioning should not be impacted.
3950 am__obj=conftest.${OBJEXT-o}
3951 am__minus_obj=
3952 ;;
3953 none) break ;;
3954 esac
3955 if depmode=$depmode \
3956 source=sub/conftest.c object=$am__obj \
3957 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3958 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3959 >/dev/null 2>conftest.err &&
3960 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3961 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3962 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3963 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3964 # icc doesn't choke on unknown options, it will just issue warnings
3965 # or remarks (even with -Werror). So we grep stderr for any message
3966 # that says an option was ignored or not supported.
3967 # When given -MP, icc 7.0 and 7.1 complain thusly:
3968 # icc: Command line warning: ignoring option '-M'; no argument required
3969 # The diagnosis changed in icc 8.0:
3970 # icc: Command line remark: option '-MP' not supported
3971 if (grep 'ignoring option' conftest.err ||
3972 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3973 am_cv_CC_dependencies_compiler_type=$depmode
3974 break
3975 fi
3976 fi
3977 done
3978
3979 cd ..
3980 rm -rf conftest.dir
3981else
3982 am_cv_CC_dependencies_compiler_type=none
3983fi
3984
3985fi
3986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3987$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3988CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3989
3990 if
3991 test "x$enable_dependency_tracking" != xno \
3992 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3993 am__fastdepCC_TRUE=
3994 am__fastdepCC_FALSE='#'
3995else
3996 am__fastdepCC_TRUE='#'
3997 am__fastdepCC_FALSE=
3998fi
3999
4000
4001
4002for ac_func in clock_gettime
4003do :
4004 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
4005if test "x$ac_cv_func_clock_gettime" = xyes; then :
4006 cat >>confdefs.h <<_ACEOF
4007#define HAVE_CLOCK_GETTIME 1
4008_ACEOF
4009
4010else
4011
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
4013$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
4014if ${ac_cv_lib_rt_clock_gettime+:} false; then :
4015 $as_echo_n "(cached) " >&6
4016else
4017 ac_check_lib_save_LIBS=$LIBS
4018LIBS="-lrt $LIBS"
4019cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4020/* end confdefs.h. */
4021
4022/* Override any GCC internal prototype to avoid an error.
4023 Use char because int might match the return type of a GCC
4024 builtin and then its argument prototype would still apply. */
4025#ifdef __cplusplus
4026extern "C"
4027#endif
4028char clock_gettime ();
4029int
4030main ()
4031{
4032return clock_gettime ();
4033 ;
4034 return 0;
4035}
4036_ACEOF
4037if ac_fn_c_try_link "$LINENO"; then :
4038 ac_cv_lib_rt_clock_gettime=yes
4039else
4040 ac_cv_lib_rt_clock_gettime=no
4041fi
4042rm -f core conftest.err conftest.$ac_objext \
4043 conftest$ac_exeext conftest.$ac_ext
4044LIBS=$ac_check_lib_save_LIBS
4045fi
4046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
4047$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
4048if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
4049
4050 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
4051
4052 RT_LIBS="-lrt"
4053
4054fi
4055
4056
4057fi
4058done
4059
4060
4061
4062# Check for programs
4063
4064ac_ext=cpp
4065ac_cpp='$CXXCPP $CPPFLAGS'
4066ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4067ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4068ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4069
4070
4071ac_ext=c
4072ac_cpp='$CPP $CPPFLAGS'
4073ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4074ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4075ac_compiler_gnu=$ac_cv_c_compiler_gnu
4076if test -n "$ac_tool_prefix"; then
4077 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4078set dummy ${ac_tool_prefix}gcc; ac_word=$2
4079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4080$as_echo_n "checking for $ac_word... " >&6; }
4081if ${ac_cv_prog_CC+:} false; then :
4082 $as_echo_n "(cached) " >&6
4083else
4084 if test -n "$CC"; then
4085 ac_cv_prog_CC="$CC" # Let the user override the test.
4086else
4087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088for as_dir in $PATH
4089do
4090 IFS=$as_save_IFS
4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4094 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 break 2
4097 fi
4098done
4099 done
4100IFS=$as_save_IFS
4101
4102fi
4103fi
4104CC=$ac_cv_prog_CC
4105if test -n "$CC"; then
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4107$as_echo "$CC" >&6; }
4108else
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4110$as_echo "no" >&6; }
4111fi
4112
4113
4114fi
4115if test -z "$ac_cv_prog_CC"; then
4116 ac_ct_CC=$CC
4117 # Extract the first word of "gcc", so it can be a program name with args.
4118set dummy gcc; ac_word=$2
4119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4120$as_echo_n "checking for $ac_word... " >&6; }
4121if ${ac_cv_prog_ac_ct_CC+:} false; then :
4122 $as_echo_n "(cached) " >&6
4123else
4124 if test -n "$ac_ct_CC"; then
4125 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4126else
4127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128for as_dir in $PATH
4129do
4130 IFS=$as_save_IFS
4131 test -z "$as_dir" && as_dir=.
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4134 ac_cv_prog_ac_ct_CC="gcc"
4135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 break 2
4137 fi
4138done
4139 done
4140IFS=$as_save_IFS
4141
4142fi
4143fi
4144ac_ct_CC=$ac_cv_prog_ac_ct_CC
4145if test -n "$ac_ct_CC"; then
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4147$as_echo "$ac_ct_CC" >&6; }
4148else
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4150$as_echo "no" >&6; }
4151fi
4152
4153 if test "x$ac_ct_CC" = x; then
4154 CC=""
4155 else
4156 case $cross_compiling:$ac_tool_warned in
4157yes:)
4158{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4159$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4160ac_tool_warned=yes ;;
4161esac
4162 CC=$ac_ct_CC
4163 fi
4164else
4165 CC="$ac_cv_prog_CC"
4166fi
4167
4168if test -z "$CC"; then
4169 if test -n "$ac_tool_prefix"; then
4170 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4171set dummy ${ac_tool_prefix}cc; ac_word=$2
4172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173$as_echo_n "checking for $ac_word... " >&6; }
4174if ${ac_cv_prog_CC+:} false; then :
4175 $as_echo_n "(cached) " >&6
4176else
4177 if test -n "$CC"; then
4178 ac_cv_prog_CC="$CC" # Let the user override the test.
4179else
4180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4181for as_dir in $PATH
4182do
4183 IFS=$as_save_IFS
4184 test -z "$as_dir" && as_dir=.
4185 for ac_exec_ext in '' $ac_executable_extensions; do
4186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4187 ac_cv_prog_CC="${ac_tool_prefix}cc"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 break 2
4190 fi
4191done
4192 done
4193IFS=$as_save_IFS
4194
4195fi
4196fi
4197CC=$ac_cv_prog_CC
4198if test -n "$CC"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4200$as_echo "$CC" >&6; }
4201else
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203$as_echo "no" >&6; }
4204fi
4205
4206
4207 fi
4208fi
4209if test -z "$CC"; then
4210 # Extract the first word of "cc", so it can be a program name with args.
4211set dummy cc; ac_word=$2
4212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4213$as_echo_n "checking for $ac_word... " >&6; }
4214if ${ac_cv_prog_CC+:} false; then :
4215 $as_echo_n "(cached) " >&6
4216else
4217 if test -n "$CC"; then
4218 ac_cv_prog_CC="$CC" # Let the user override the test.
4219else
4220 ac_prog_rejected=no
4221as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222for as_dir in $PATH
4223do
4224 IFS=$as_save_IFS
4225 test -z "$as_dir" && as_dir=.
4226 for ac_exec_ext in '' $ac_executable_extensions; do
4227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4228 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4229 ac_prog_rejected=yes
4230 continue
4231 fi
4232 ac_cv_prog_CC="cc"
4233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 break 2
4235 fi
4236done
4237 done
4238IFS=$as_save_IFS
4239
4240if test $ac_prog_rejected = yes; then
4241 # We found a bogon in the path, so make sure we never use it.
4242 set dummy $ac_cv_prog_CC
4243 shift
4244 if test $# != 0; then
4245 # We chose a different compiler from the bogus one.
4246 # However, it has the same basename, so the bogon will be chosen
4247 # first if we set CC to just the basename; use the full file name.
4248 shift
4249 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4250 fi
4251fi
4252fi
4253fi
4254CC=$ac_cv_prog_CC
4255if test -n "$CC"; then
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4257$as_echo "$CC" >&6; }
4258else
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260$as_echo "no" >&6; }
4261fi
4262
4263
4264fi
4265if test -z "$CC"; then
4266 if test -n "$ac_tool_prefix"; then
4267 for ac_prog in cl.exe
4268 do
4269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4270set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4272$as_echo_n "checking for $ac_word... " >&6; }
4273if ${ac_cv_prog_CC+:} false; then :
4274 $as_echo_n "(cached) " >&6
4275else
4276 if test -n "$CC"; then
4277 ac_cv_prog_CC="$CC" # Let the user override the test.
4278else
4279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280for as_dir in $PATH
4281do
4282 IFS=$as_save_IFS
4283 test -z "$as_dir" && as_dir=.
4284 for ac_exec_ext in '' $ac_executable_extensions; do
4285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4286 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4288 break 2
4289 fi
4290done
4291 done
4292IFS=$as_save_IFS
4293
4294fi
4295fi
4296CC=$ac_cv_prog_CC
4297if test -n "$CC"; then
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4299$as_echo "$CC" >&6; }
4300else
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4302$as_echo "no" >&6; }
4303fi
4304
4305
4306 test -n "$CC" && break
4307 done
4308fi
4309if test -z "$CC"; then
4310 ac_ct_CC=$CC
4311 for ac_prog in cl.exe
4312do
4313 # Extract the first word of "$ac_prog", so it can be a program name with args.
4314set dummy $ac_prog; ac_word=$2
4315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4316$as_echo_n "checking for $ac_word... " >&6; }
4317if ${ac_cv_prog_ac_ct_CC+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319else
4320 if test -n "$ac_ct_CC"; then
4321 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4322else
4323as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324for as_dir in $PATH
4325do
4326 IFS=$as_save_IFS
4327 test -z "$as_dir" && as_dir=.
4328 for ac_exec_ext in '' $ac_executable_extensions; do
4329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4330 ac_cv_prog_ac_ct_CC="$ac_prog"
4331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 break 2
4333 fi
4334done
4335 done
4336IFS=$as_save_IFS
4337
4338fi
4339fi
4340ac_ct_CC=$ac_cv_prog_ac_ct_CC
4341if test -n "$ac_ct_CC"; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4343$as_echo "$ac_ct_CC" >&6; }
4344else
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346$as_echo "no" >&6; }
4347fi
4348
4349
4350 test -n "$ac_ct_CC" && break
4351done
4352
4353 if test "x$ac_ct_CC" = x; then
4354 CC=""
4355 else
4356 case $cross_compiling:$ac_tool_warned in
4357yes:)
4358{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4359$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4360ac_tool_warned=yes ;;
4361esac
4362 CC=$ac_ct_CC
4363 fi
4364fi
4365
4366fi
4367
4368
4369test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4370$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4371as_fn_error $? "no acceptable C compiler found in \$PATH
4372See \`config.log' for more details" "$LINENO" 5; }
4373
4374# Provide some information about the compiler.
4375$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4376set X $ac_compile
4377ac_compiler=$2
4378for ac_option in --version -v -V -qversion; do
4379 { { ac_try="$ac_compiler $ac_option >&5"
4380case "(($ac_try" in
4381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4382 *) ac_try_echo=$ac_try;;
4383esac
4384eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4385$as_echo "$ac_try_echo"; } >&5
4386 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4387 ac_status=$?
4388 if test -s conftest.err; then
4389 sed '10a\
4390... rest of stderr output deleted ...
4391 10q' conftest.err >conftest.er1
4392 cat conftest.er1 >&5
4393 fi
4394 rm -f conftest.er1 conftest.err
4395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396 test $ac_status = 0; }
4397done
4398
4399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4400$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4401if ${ac_cv_c_compiler_gnu+:} false; then :
4402 $as_echo_n "(cached) " >&6
4403else
4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405/* end confdefs.h. */
4406
4407int
4408main ()
4409{
4410#ifndef __GNUC__
4411 choke me
4412#endif
4413
4414 ;
4415 return 0;
4416}
4417_ACEOF
4418if ac_fn_c_try_compile "$LINENO"; then :
4419 ac_compiler_gnu=yes
4420else
4421 ac_compiler_gnu=no
4422fi
4423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4424ac_cv_c_compiler_gnu=$ac_compiler_gnu
4425
4426fi
4427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4428$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4429if test $ac_compiler_gnu = yes; then
4430 GCC=yes
4431else
4432 GCC=
4433fi
4434ac_test_CFLAGS=${CFLAGS+set}
4435ac_save_CFLAGS=$CFLAGS
4436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4437$as_echo_n "checking whether $CC accepts -g... " >&6; }
4438if ${ac_cv_prog_cc_g+:} false; then :
4439 $as_echo_n "(cached) " >&6
4440else
4441 ac_save_c_werror_flag=$ac_c_werror_flag
4442 ac_c_werror_flag=yes
4443 ac_cv_prog_cc_g=no
4444 CFLAGS="-g"
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446/* end confdefs.h. */
4447
4448int
4449main ()
4450{
4451
4452 ;
4453 return 0;
4454}
4455_ACEOF
4456if ac_fn_c_try_compile "$LINENO"; then :
4457 ac_cv_prog_cc_g=yes
4458else
4459 CFLAGS=""
4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461/* end confdefs.h. */
4462
4463int
4464main ()
4465{
4466
4467 ;
4468 return 0;
4469}
4470_ACEOF
4471if ac_fn_c_try_compile "$LINENO"; then :
4472
4473else
4474 ac_c_werror_flag=$ac_save_c_werror_flag
4475 CFLAGS="-g"
4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477/* end confdefs.h. */
4478
4479int
4480main ()
4481{
4482
4483 ;
4484 return 0;
4485}
4486_ACEOF
4487if ac_fn_c_try_compile "$LINENO"; then :
4488 ac_cv_prog_cc_g=yes
4489fi
4490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4491fi
4492rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493fi
4494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495 ac_c_werror_flag=$ac_save_c_werror_flag
4496fi
4497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4498$as_echo "$ac_cv_prog_cc_g" >&6; }
4499if test "$ac_test_CFLAGS" = set; then
4500 CFLAGS=$ac_save_CFLAGS
4501elif test $ac_cv_prog_cc_g = yes; then
4502 if test "$GCC" = yes; then
4503 CFLAGS="-g -O2"
4504 else
4505 CFLAGS="-g"
4506 fi
4507else
4508 if test "$GCC" = yes; then
4509 CFLAGS="-O2"
4510 else
4511 CFLAGS=
4512 fi
4513fi
4514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4515$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4516if ${ac_cv_prog_cc_c89+:} false; then :
4517 $as_echo_n "(cached) " >&6
4518else
4519 ac_cv_prog_cc_c89=no
4520ac_save_CC=$CC
4521cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522/* end confdefs.h. */
4523#include <stdarg.h>
4524#include <stdio.h>
4525#include <sys/types.h>
4526#include <sys/stat.h>
4527/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4528struct buf { int x; };
4529FILE * (*rcsopen) (struct buf *, struct stat *, int);
4530static char *e (p, i)
4531 char **p;
4532 int i;
4533{
4534 return p[i];
4535}
4536static char *f (char * (*g) (char **, int), char **p, ...)
4537{
4538 char *s;
4539 va_list v;
4540 va_start (v,p);
4541 s = g (p, va_arg (v,int));
4542 va_end (v);
4543 return s;
4544}
4545
4546/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4547 function prototypes and stuff, but not '\xHH' hex character constants.
4548 These don't provoke an error unfortunately, instead are silently treated
4549 as 'x'. The following induces an error, until -std is added to get
4550 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4551 array size at least. It's necessary to write '\x00'==0 to get something
4552 that's true only with -std. */
4553int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4554
4555/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4556 inside strings and character constants. */
4557#define FOO(x) 'x'
4558int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4559
4560int test (int i, double x);
4561struct s1 {int (*f) (int a);};
4562struct s2 {int (*f) (double a);};
4563int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4564int argc;
4565char **argv;
4566int
4567main ()
4568{
4569return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4570 ;
4571 return 0;
4572}
4573_ACEOF
4574for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4575 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4576do
4577 CC="$ac_save_CC $ac_arg"
4578 if ac_fn_c_try_compile "$LINENO"; then :
4579 ac_cv_prog_cc_c89=$ac_arg
4580fi
4581rm -f core conftest.err conftest.$ac_objext
4582 test "x$ac_cv_prog_cc_c89" != "xno" && break
4583done
4584rm -f conftest.$ac_ext
4585CC=$ac_save_CC
4586
4587fi
4588# AC_CACHE_VAL
4589case "x$ac_cv_prog_cc_c89" in
4590 x)
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4592$as_echo "none needed" >&6; } ;;
4593 xno)
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4595$as_echo "unsupported" >&6; } ;;
4596 *)
4597 CC="$CC $ac_cv_prog_cc_c89"
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4599$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4600esac
4601if test "x$ac_cv_prog_cc_c89" != xno; then :
4602
4603fi
4604
4605ac_ext=cpp
4606ac_cpp='$CXXCPP $CPPFLAGS'
4607ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4608ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4609ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4610
4611depcc="$CC" am_compiler_list=
4612
4613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4614$as_echo_n "checking dependency style of $depcc... " >&6; }
4615if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4616 $as_echo_n "(cached) " >&6
4617else
4618 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4619 # We make a subdir and do the tests there. Otherwise we can end up
4620 # making bogus files that we don't know about and never remove. For
4621 # instance it was reported that on HP-UX the gcc test will end up
4622 # making a dummy file named `D' -- because `-MD' means `put the output
4623 # in D'.
4624 mkdir conftest.dir
4625 # Copy depcomp to subdir because otherwise we won't find it if we're
4626 # using a relative directory.
4627 cp "$am_depcomp" conftest.dir
4628 cd conftest.dir
4629 # We will build objects and dependencies in a subdirectory because
4630 # it helps to detect inapplicable dependency modes. For instance
4631 # both Tru64's cc and ICC support -MD to output dependencies as a
4632 # side effect of compilation, but ICC will put the dependencies in
4633 # the current directory while Tru64 will put them in the object
4634 # directory.
4635 mkdir sub
4636
4637 am_cv_CC_dependencies_compiler_type=none
4638 if test "$am_compiler_list" = ""; then
4639 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4640 fi
4641 am__universal=false
4642 case " $depcc " in #(
4643 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4644 esac
4645
4646 for depmode in $am_compiler_list; do
4647 # Setup a source with many dependencies, because some compilers
4648 # like to wrap large dependency lists on column 80 (with \), and
4649 # we should not choose a depcomp mode which is confused by this.
4650 #
4651 # We need to recreate these files for each test, as the compiler may
4652 # overwrite some of them when testing with obscure command lines.
4653 # This happens at least with the AIX C compiler.
4654 : > sub/conftest.c
4655 for i in 1 2 3 4 5 6; do
4656 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4657 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4658 # Solaris 8's {/usr,}/bin/sh.
4659 touch sub/conftst$i.h
4660 done
4661 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4662
4663 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4664 # mode. It turns out that the SunPro C++ compiler does not properly
4665 # handle `-M -o', and we need to detect this. Also, some Intel
4666 # versions had trouble with output in subdirs
4667 am__obj=sub/conftest.${OBJEXT-o}
4668 am__minus_obj="-o $am__obj"
4669 case $depmode in
4670 gcc)
4671 # This depmode causes a compiler race in universal mode.
4672 test "$am__universal" = false || continue
4673 ;;
4674 nosideeffect)
4675 # after this tag, mechanisms are not by side-effect, so they'll
4676 # only be used when explicitly requested
4677 if test "x$enable_dependency_tracking" = xyes; then
4678 continue
4679 else
4680 break
4681 fi
4682 ;;
4683 msvisualcpp | msvcmsys)
4684 # This compiler won't grok `-c -o', but also, the minuso test has
4685 # not run yet. These depmodes are late enough in the game, and
4686 # so weak that their functioning should not be impacted.
4687 am__obj=conftest.${OBJEXT-o}
4688 am__minus_obj=
4689 ;;
4690 none) break ;;
4691 esac
4692 if depmode=$depmode \
4693 source=sub/conftest.c object=$am__obj \
4694 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4695 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4696 >/dev/null 2>conftest.err &&
4697 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4698 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4699 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4700 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4701 # icc doesn't choke on unknown options, it will just issue warnings
4702 # or remarks (even with -Werror). So we grep stderr for any message
4703 # that says an option was ignored or not supported.
4704 # When given -MP, icc 7.0 and 7.1 complain thusly:
4705 # icc: Command line warning: ignoring option '-M'; no argument required
4706 # The diagnosis changed in icc 8.0:
4707 # icc: Command line remark: option '-MP' not supported
4708 if (grep 'ignoring option' conftest.err ||
4709 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4710 am_cv_CC_dependencies_compiler_type=$depmode
4711 break
4712 fi
4713 fi
4714 done
4715
4716 cd ..
4717 rm -rf conftest.dir
4718else
4719 am_cv_CC_dependencies_compiler_type=none
4720fi
4721
4722fi
4723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4724$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4725CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4726
4727 if
4728 test "x$enable_dependency_tracking" != xno \
4729 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4730 am__fastdepCC_TRUE=
4731 am__fastdepCC_FALSE='#'
4732else
4733 am__fastdepCC_TRUE='#'
4734 am__fastdepCC_FALSE=
4735fi
4736
4737
4738ac_ext=cpp
4739ac_cpp='$CXXCPP $CPPFLAGS'
4740ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4743if test -z "$CXX"; then
4744 if test -n "$CCC"; then
4745 CXX=$CCC
4746 else
4747 if test -n "$ac_tool_prefix"; then
4748 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4749 do
4750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4751set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753$as_echo_n "checking for $ac_word... " >&6; }
4754if ${ac_cv_prog_CXX+:} false; then :
4755 $as_echo_n "(cached) " >&6
4756else
4757 if test -n "$CXX"; then
4758 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4759else
4760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761for as_dir in $PATH
4762do
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_exec_ext in '' $ac_executable_extensions; do
4766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4767 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 break 2
4770 fi
4771done
4772 done
4773IFS=$as_save_IFS
4774
4775fi
4776fi
4777CXX=$ac_cv_prog_CXX
4778if test -n "$CXX"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4780$as_echo "$CXX" >&6; }
4781else
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783$as_echo "no" >&6; }
4784fi
4785
4786
4787 test -n "$CXX" && break
4788 done
4789fi
4790if test -z "$CXX"; then
4791 ac_ct_CXX=$CXX
4792 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4793do
4794 # Extract the first word of "$ac_prog", so it can be a program name with args.
4795set dummy $ac_prog; ac_word=$2
4796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797$as_echo_n "checking for $ac_word... " >&6; }
4798if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4799 $as_echo_n "(cached) " >&6
4800else
4801 if test -n "$ac_ct_CXX"; then
4802 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4803else
4804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4805for as_dir in $PATH
4806do
4807 IFS=$as_save_IFS
4808 test -z "$as_dir" && as_dir=.
4809 for ac_exec_ext in '' $ac_executable_extensions; do
4810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4811 ac_cv_prog_ac_ct_CXX="$ac_prog"
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4813 break 2
4814 fi
4815done
4816 done
4817IFS=$as_save_IFS
4818
4819fi
4820fi
4821ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4822if test -n "$ac_ct_CXX"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4824$as_echo "$ac_ct_CXX" >&6; }
4825else
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827$as_echo "no" >&6; }
4828fi
4829
4830
4831 test -n "$ac_ct_CXX" && break
4832done
4833
4834 if test "x$ac_ct_CXX" = x; then
4835 CXX="g++"
4836 else
4837 case $cross_compiling:$ac_tool_warned in
4838yes:)
4839{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4840$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4841ac_tool_warned=yes ;;
4842esac
4843 CXX=$ac_ct_CXX
4844 fi
4845fi
4846
4847 fi
4848fi
4849# Provide some information about the compiler.
4850$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4851set X $ac_compile
4852ac_compiler=$2
4853for ac_option in --version -v -V -qversion; do
4854 { { ac_try="$ac_compiler $ac_option >&5"
4855case "(($ac_try" in
4856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4857 *) ac_try_echo=$ac_try;;
4858esac
4859eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4860$as_echo "$ac_try_echo"; } >&5
4861 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4862 ac_status=$?
4863 if test -s conftest.err; then
4864 sed '10a\
4865... rest of stderr output deleted ...
4866 10q' conftest.err >conftest.er1
4867 cat conftest.er1 >&5
4868 fi
4869 rm -f conftest.er1 conftest.err
4870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4871 test $ac_status = 0; }
4872done
4873
4874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4875$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4876if ${ac_cv_cxx_compiler_gnu+:} false; then :
4877 $as_echo_n "(cached) " >&6
4878else
4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880/* end confdefs.h. */
4881
4882int
4883main ()
4884{
4885#ifndef __GNUC__
4886 choke me
4887#endif
4888
4889 ;
4890 return 0;
4891}
4892_ACEOF
4893if ac_fn_cxx_try_compile "$LINENO"; then :
4894 ac_compiler_gnu=yes
4895else
4896 ac_compiler_gnu=no
4897fi
4898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4900
4901fi
4902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4903$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4904if test $ac_compiler_gnu = yes; then
4905 GXX=yes
4906else
4907 GXX=
4908fi
4909ac_test_CXXFLAGS=${CXXFLAGS+set}
4910ac_save_CXXFLAGS=$CXXFLAGS
4911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4912$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4913if ${ac_cv_prog_cxx_g+:} false; then :
4914 $as_echo_n "(cached) " >&6
4915else
4916 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4917 ac_cxx_werror_flag=yes
4918 ac_cv_prog_cxx_g=no
4919 CXXFLAGS="-g"
4920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921/* end confdefs.h. */
4922
4923int
4924main ()
4925{
4926
4927 ;
4928 return 0;
4929}
4930_ACEOF
4931if ac_fn_cxx_try_compile "$LINENO"; then :
4932 ac_cv_prog_cxx_g=yes
4933else
4934 CXXFLAGS=""
4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936/* end confdefs.h. */
4937
4938int
4939main ()
4940{
4941
4942 ;
4943 return 0;
4944}
4945_ACEOF
4946if ac_fn_cxx_try_compile "$LINENO"; then :
4947
4948else
4949 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4950 CXXFLAGS="-g"
4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952/* end confdefs.h. */
4953
4954int
4955main ()
4956{
4957
4958 ;
4959 return 0;
4960}
4961_ACEOF
4962if ac_fn_cxx_try_compile "$LINENO"; then :
4963 ac_cv_prog_cxx_g=yes
4964fi
4965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4966fi
4967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4968fi
4969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4971fi
4972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4973$as_echo "$ac_cv_prog_cxx_g" >&6; }
4974if test "$ac_test_CXXFLAGS" = set; then
4975 CXXFLAGS=$ac_save_CXXFLAGS
4976elif test $ac_cv_prog_cxx_g = yes; then
4977 if test "$GXX" = yes; then
4978 CXXFLAGS="-g -O2"
4979 else
4980 CXXFLAGS="-g"
4981 fi
4982else
4983 if test "$GXX" = yes; then
4984 CXXFLAGS="-O2"
4985 else
4986 CXXFLAGS=
4987 fi
4988fi
4989ac_ext=cpp
4990ac_cpp='$CXXCPP $CPPFLAGS'
4991ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4992ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4993ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4994
4995depcc="$CXX" am_compiler_list=
4996
4997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4998$as_echo_n "checking dependency style of $depcc... " >&6; }
4999if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5000 $as_echo_n "(cached) " >&6
5001else
5002 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5003 # We make a subdir and do the tests there. Otherwise we can end up
5004 # making bogus files that we don't know about and never remove. For
5005 # instance it was reported that on HP-UX the gcc test will end up
5006 # making a dummy file named `D' -- because `-MD' means `put the output
5007 # in D'.
5008 mkdir conftest.dir
5009 # Copy depcomp to subdir because otherwise we won't find it if we're
5010 # using a relative directory.
5011 cp "$am_depcomp" conftest.dir
5012 cd conftest.dir
5013 # We will build objects and dependencies in a subdirectory because
5014 # it helps to detect inapplicable dependency modes. For instance
5015 # both Tru64's cc and ICC support -MD to output dependencies as a
5016 # side effect of compilation, but ICC will put the dependencies in
5017 # the current directory while Tru64 will put them in the object
5018 # directory.
5019 mkdir sub
5020
5021 am_cv_CXX_dependencies_compiler_type=none
5022 if test "$am_compiler_list" = ""; then
5023 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5024 fi
5025 am__universal=false
5026 case " $depcc " in #(
5027 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5028 esac
5029
5030 for depmode in $am_compiler_list; do
5031 # Setup a source with many dependencies, because some compilers
5032 # like to wrap large dependency lists on column 80 (with \), and
5033 # we should not choose a depcomp mode which is confused by this.
5034 #
5035 # We need to recreate these files for each test, as the compiler may
5036 # overwrite some of them when testing with obscure command lines.
5037 # This happens at least with the AIX C compiler.
5038 : > sub/conftest.c
5039 for i in 1 2 3 4 5 6; do
5040 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5041 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5042 # Solaris 8's {/usr,}/bin/sh.
5043 touch sub/conftst$i.h
5044 done
5045 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5046
5047 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5048 # mode. It turns out that the SunPro C++ compiler does not properly
5049 # handle `-M -o', and we need to detect this. Also, some Intel
5050 # versions had trouble with output in subdirs
5051 am__obj=sub/conftest.${OBJEXT-o}
5052 am__minus_obj="-o $am__obj"
5053 case $depmode in
5054 gcc)
5055 # This depmode causes a compiler race in universal mode.
5056 test "$am__universal" = false || continue
5057 ;;
5058 nosideeffect)
5059 # after this tag, mechanisms are not by side-effect, so they'll
5060 # only be used when explicitly requested
5061 if test "x$enable_dependency_tracking" = xyes; then
5062 continue
5063 else
5064 break
5065 fi
5066 ;;
5067 msvisualcpp | msvcmsys)
5068 # This compiler won't grok `-c -o', but also, the minuso test has
5069 # not run yet. These depmodes are late enough in the game, and
5070 # so weak that their functioning should not be impacted.
5071 am__obj=conftest.${OBJEXT-o}
5072 am__minus_obj=
5073 ;;
5074 none) break ;;
5075 esac
5076 if depmode=$depmode \
5077 source=sub/conftest.c object=$am__obj \
5078 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5079 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5080 >/dev/null 2>conftest.err &&
5081 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5082 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5083 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5084 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5085 # icc doesn't choke on unknown options, it will just issue warnings
5086 # or remarks (even with -Werror). So we grep stderr for any message
5087 # that says an option was ignored or not supported.
5088 # When given -MP, icc 7.0 and 7.1 complain thusly:
5089 # icc: Command line warning: ignoring option '-M'; no argument required
5090 # The diagnosis changed in icc 8.0:
5091 # icc: Command line remark: option '-MP' not supported
5092 if (grep 'ignoring option' conftest.err ||
5093 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5094 am_cv_CXX_dependencies_compiler_type=$depmode
5095 break
5096 fi
5097 fi
5098 done
5099
5100 cd ..
5101 rm -rf conftest.dir
5102else
5103 am_cv_CXX_dependencies_compiler_type=none
5104fi
5105
5106fi
5107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5108$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5109CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5110
5111 if
5112 test "x$enable_dependency_tracking" != xno \
5113 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5114 am__fastdepCXX_TRUE=
5115 am__fastdepCXX_FALSE='#'
5116else
5117 am__fastdepCXX_TRUE='#'
5118 am__fastdepCXX_FALSE=
5119fi
5120
5121
5122
5123CXX_FOR_BUILD=${CXX_FOR_BUILD-${CXX}}
5124
5125
5126case `pwd` in
5127 *\ * | *\ *)
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5129$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5130esac
5131
5132
5133
5134macro_version='2.4'
5135macro_revision='1.3293'
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149ltmain="$ac_aux_dir/ltmain.sh"
5150
5151# Backslashify metacharacters that are still active within
5152# double-quoted strings.
5153sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5154
5155# Same as above, but do not quote variable references.
5156double_quote_subst='s/\(["`\\]\)/\\\1/g'
5157
5158# Sed substitution to delay expansion of an escaped shell variable in a
5159# double_quote_subst'ed string.
5160delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5161
5162# Sed substitution to delay expansion of an escaped single quote.
5163delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5164
5165# Sed substitution to avoid accidental globbing in evaled expressions
5166no_glob_subst='s/\*/\\\*/g'
5167
5168ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5169ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5170ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5171
5172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5173$as_echo_n "checking how to print strings... " >&6; }
5174# Test print first, because it will be a builtin if present.
5175if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5176 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5177 ECHO='print -r --'
5178elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5179 ECHO='printf %s\n'
5180else
5181 # Use this function as a fallback that always works.
5182 func_fallback_echo ()
5183 {
5184 eval 'cat <<_LTECHO_EOF
5185$1
5186_LTECHO_EOF'
5187 }
5188 ECHO='func_fallback_echo'
5189fi
5190
5191# func_echo_all arg...
5192# Invoke $ECHO with all args, space-separated.
5193func_echo_all ()
5194{
5195 $ECHO ""
5196}
5197
5198case "$ECHO" in
5199 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5200$as_echo "printf" >&6; } ;;
5201 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5202$as_echo "print -r" >&6; } ;;
5203 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5204$as_echo "cat" >&6; } ;;
5205esac
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5221$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5222if ${ac_cv_path_SED+:} false; then :
5223 $as_echo_n "(cached) " >&6
5224else
5225 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5226 for ac_i in 1 2 3 4 5 6 7; do
5227 ac_script="$ac_script$as_nl$ac_script"
5228 done
5229 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5230 { ac_script=; unset ac_script;}
5231 if test -z "$SED"; then
5232 ac_path_SED_found=false
5233 # Loop through the user's path and test for each of PROGNAME-LIST
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235for as_dir in $PATH
5236do
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_prog in sed gsed; do
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5242 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5243# Check for GNU ac_path_SED and select it if it is found.
5244 # Check for GNU $ac_path_SED
5245case `"$ac_path_SED" --version 2>&1` in
5246*GNU*)
5247 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5248*)
5249 ac_count=0
5250 $as_echo_n 0123456789 >"conftest.in"
5251 while :
5252 do
5253 cat "conftest.in" "conftest.in" >"conftest.tmp"
5254 mv "conftest.tmp" "conftest.in"
5255 cp "conftest.in" "conftest.nl"
5256 $as_echo '' >> "conftest.nl"
5257 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5258 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5259 as_fn_arith $ac_count + 1 && ac_count=$as_val
5260 if test $ac_count -gt ${ac_path_SED_max-0}; then
5261 # Best one so far, save it but keep looking for a better one
5262 ac_cv_path_SED="$ac_path_SED"
5263 ac_path_SED_max=$ac_count
5264 fi
5265 # 10*(2^10) chars as input seems more than enough
5266 test $ac_count -gt 10 && break
5267 done
5268 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5269esac
5270
5271 $ac_path_SED_found && break 3
5272 done
5273 done
5274 done
5275IFS=$as_save_IFS
5276 if test -z "$ac_cv_path_SED"; then
5277 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5278 fi
5279else
5280 ac_cv_path_SED=$SED
5281fi
5282
5283fi
5284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5285$as_echo "$ac_cv_path_SED" >&6; }
5286 SED="$ac_cv_path_SED"
5287 rm -f conftest.sed
5288
5289test -z "$SED" && SED=sed
5290Xsed="$SED -e 1s/^X//"
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5303$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5304if ${ac_cv_path_GREP+:} false; then :
5305 $as_echo_n "(cached) " >&6
5306else
5307 if test -z "$GREP"; then
5308 ac_path_GREP_found=false
5309 # Loop through the user's path and test for each of PROGNAME-LIST
5310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5311for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5312do
5313 IFS=$as_save_IFS
5314 test -z "$as_dir" && as_dir=.
5315 for ac_prog in grep ggrep; do
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5318 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5319# Check for GNU ac_path_GREP and select it if it is found.
5320 # Check for GNU $ac_path_GREP
5321case `"$ac_path_GREP" --version 2>&1` in
5322*GNU*)
5323 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5324*)
5325 ac_count=0
5326 $as_echo_n 0123456789 >"conftest.in"
5327 while :
5328 do
5329 cat "conftest.in" "conftest.in" >"conftest.tmp"
5330 mv "conftest.tmp" "conftest.in"
5331 cp "conftest.in" "conftest.nl"
5332 $as_echo 'GREP' >> "conftest.nl"
5333 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5334 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5335 as_fn_arith $ac_count + 1 && ac_count=$as_val
5336 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5337 # Best one so far, save it but keep looking for a better one
5338 ac_cv_path_GREP="$ac_path_GREP"
5339 ac_path_GREP_max=$ac_count
5340 fi
5341 # 10*(2^10) chars as input seems more than enough
5342 test $ac_count -gt 10 && break
5343 done
5344 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5345esac
5346
5347 $ac_path_GREP_found && break 3
5348 done
5349 done
5350 done
5351IFS=$as_save_IFS
5352 if test -z "$ac_cv_path_GREP"; then
5353 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5354 fi
5355else
5356 ac_cv_path_GREP=$GREP
5357fi
5358
5359fi
5360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5361$as_echo "$ac_cv_path_GREP" >&6; }
5362 GREP="$ac_cv_path_GREP"
5363
5364
5365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5366$as_echo_n "checking for egrep... " >&6; }
5367if ${ac_cv_path_EGREP+:} false; then :
5368 $as_echo_n "(cached) " >&6
5369else
5370 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5371 then ac_cv_path_EGREP="$GREP -E"
5372 else
5373 if test -z "$EGREP"; then
5374 ac_path_EGREP_found=false
5375 # Loop through the user's path and test for each of PROGNAME-LIST
5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5378do
5379 IFS=$as_save_IFS
5380 test -z "$as_dir" && as_dir=.
5381 for ac_prog in egrep; do
5382 for ac_exec_ext in '' $ac_executable_extensions; do
5383 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5384 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5385# Check for GNU ac_path_EGREP and select it if it is found.
5386 # Check for GNU $ac_path_EGREP
5387case `"$ac_path_EGREP" --version 2>&1` in
5388*GNU*)
5389 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5390*)
5391 ac_count=0
5392 $as_echo_n 0123456789 >"conftest.in"
5393 while :
5394 do
5395 cat "conftest.in" "conftest.in" >"conftest.tmp"
5396 mv "conftest.tmp" "conftest.in"
5397 cp "conftest.in" "conftest.nl"
5398 $as_echo 'EGREP' >> "conftest.nl"
5399 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5400 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5401 as_fn_arith $ac_count + 1 && ac_count=$as_val
5402 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5403 # Best one so far, save it but keep looking for a better one
5404 ac_cv_path_EGREP="$ac_path_EGREP"
5405 ac_path_EGREP_max=$ac_count
5406 fi
5407 # 10*(2^10) chars as input seems more than enough
5408 test $ac_count -gt 10 && break
5409 done
5410 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5411esac
5412
5413 $ac_path_EGREP_found && break 3
5414 done
5415 done
5416 done
5417IFS=$as_save_IFS
5418 if test -z "$ac_cv_path_EGREP"; then
5419 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5420 fi
5421else
5422 ac_cv_path_EGREP=$EGREP
5423fi
5424
5425 fi
5426fi
5427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5428$as_echo "$ac_cv_path_EGREP" >&6; }
5429 EGREP="$ac_cv_path_EGREP"
5430
5431
5432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5433$as_echo_n "checking for fgrep... " >&6; }
5434if ${ac_cv_path_FGREP+:} false; then :
5435 $as_echo_n "(cached) " >&6
5436else
5437 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5438 then ac_cv_path_FGREP="$GREP -F"
5439 else
5440 if test -z "$FGREP"; then
5441 ac_path_FGREP_found=false
5442 # Loop through the user's path and test for each of PROGNAME-LIST
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5445do
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_prog in fgrep; do
5449 for ac_exec_ext in '' $ac_executable_extensions; do
5450 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5451 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5452# Check for GNU ac_path_FGREP and select it if it is found.
5453 # Check for GNU $ac_path_FGREP
5454case `"$ac_path_FGREP" --version 2>&1` in
5455*GNU*)
5456 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5457*)
5458 ac_count=0
5459 $as_echo_n 0123456789 >"conftest.in"
5460 while :
5461 do
5462 cat "conftest.in" "conftest.in" >"conftest.tmp"
5463 mv "conftest.tmp" "conftest.in"
5464 cp "conftest.in" "conftest.nl"
5465 $as_echo 'FGREP' >> "conftest.nl"
5466 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5467 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5468 as_fn_arith $ac_count + 1 && ac_count=$as_val
5469 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5470 # Best one so far, save it but keep looking for a better one
5471 ac_cv_path_FGREP="$ac_path_FGREP"
5472 ac_path_FGREP_max=$ac_count
5473 fi
5474 # 10*(2^10) chars as input seems more than enough
5475 test $ac_count -gt 10 && break
5476 done
5477 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5478esac
5479
5480 $ac_path_FGREP_found && break 3
5481 done
5482 done
5483 done
5484IFS=$as_save_IFS
5485 if test -z "$ac_cv_path_FGREP"; then
5486 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5487 fi
5488else
5489 ac_cv_path_FGREP=$FGREP
5490fi
5491
5492 fi
5493fi
5494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5495$as_echo "$ac_cv_path_FGREP" >&6; }
5496 FGREP="$ac_cv_path_FGREP"
5497
5498
5499test -z "$GREP" && GREP=grep
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519# Check whether --with-gnu-ld was given.
5520if test "${with_gnu_ld+set}" = set; then :
5521 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5522else
5523 with_gnu_ld=no
5524fi
5525
5526ac_prog=ld
5527if test "$GCC" = yes; then
5528 # Check if gcc -print-prog-name=ld gives a path.
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5530$as_echo_n "checking for ld used by $CC... " >&6; }
5531 case $host in
5532 *-*-mingw*)
5533 # gcc leaves a trailing carriage return which upsets mingw
5534 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5535 *)
5536 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5537 esac
5538 case $ac_prog in
5539 # Accept absolute paths.
5540 [\\/]* | ?:[\\/]*)
5541 re_direlt='/[^/][^/]*/\.\./'
5542 # Canonicalize the pathname of ld
5543 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5544 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5545 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5546 done
5547 test -z "$LD" && LD="$ac_prog"
5548 ;;
5549 "")
5550 # If it fails, then pretend we aren't using GCC.
5551 ac_prog=ld
5552 ;;
5553 *)
5554 # If it is relative, then search for the first ld in PATH.
5555 with_gnu_ld=unknown
5556 ;;
5557 esac
5558elif test "$with_gnu_ld" = yes; then
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5560$as_echo_n "checking for GNU ld... " >&6; }
5561else
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5563$as_echo_n "checking for non-GNU ld... " >&6; }
5564fi
5565if ${lt_cv_path_LD+:} false; then :
5566 $as_echo_n "(cached) " >&6
5567else
5568 if test -z "$LD"; then
5569 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5570 for ac_dir in $PATH; do
5571 IFS="$lt_save_ifs"
5572 test -z "$ac_dir" && ac_dir=.
5573 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5574 lt_cv_path_LD="$ac_dir/$ac_prog"
5575 # Check to see if the program is GNU ld. I'd rather use --version,
5576 # but apparently some variants of GNU ld only accept -v.
5577 # Break only if it was the GNU/non-GNU ld that we prefer.
5578 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5579 *GNU* | *'with BFD'*)
5580 test "$with_gnu_ld" != no && break
5581 ;;
5582 *)
5583 test "$with_gnu_ld" != yes && break
5584 ;;
5585 esac
5586 fi
5587 done
5588 IFS="$lt_save_ifs"
5589else
5590 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5591fi
5592fi
5593
5594LD="$lt_cv_path_LD"
5595if test -n "$LD"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5597$as_echo "$LD" >&6; }
5598else
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600$as_echo "no" >&6; }
5601fi
5602test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5604$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5605if ${lt_cv_prog_gnu_ld+:} false; then :
5606 $as_echo_n "(cached) " >&6
5607else
5608 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5609case `$LD -v 2>&1 </dev/null` in
5610*GNU* | *'with BFD'*)
5611 lt_cv_prog_gnu_ld=yes
5612 ;;
5613*)
5614 lt_cv_prog_gnu_ld=no
5615 ;;
5616esac
5617fi
5618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5619$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5620with_gnu_ld=$lt_cv_prog_gnu_ld
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5631$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5632if ${lt_cv_path_NM+:} false; then :
5633 $as_echo_n "(cached) " >&6
5634else
5635 if test -n "$NM"; then
5636 # Let the user override the test.
5637 lt_cv_path_NM="$NM"
5638else
5639 lt_nm_to_check="${ac_tool_prefix}nm"
5640 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5641 lt_nm_to_check="$lt_nm_to_check nm"
5642 fi
5643 for lt_tmp_nm in $lt_nm_to_check; do
5644 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5645 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5646 IFS="$lt_save_ifs"
5647 test -z "$ac_dir" && ac_dir=.
5648 tmp_nm="$ac_dir/$lt_tmp_nm"
5649 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5650 # Check to see if the nm accepts a BSD-compat flag.
5651 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5652 # nm: unknown option "B" ignored
5653 # Tru64's nm complains that /dev/null is an invalid object file
5654 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5655 */dev/null* | *'Invalid file or object type'*)
5656 lt_cv_path_NM="$tmp_nm -B"
5657 break
5658 ;;
5659 *)
5660 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5661 */dev/null*)
5662 lt_cv_path_NM="$tmp_nm -p"
5663 break
5664 ;;
5665 *)
5666 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5667 continue # so that we can try to find one that supports BSD flags
5668 ;;
5669 esac
5670 ;;
5671 esac
5672 fi
5673 done
5674 IFS="$lt_save_ifs"
5675 done
5676 : ${lt_cv_path_NM=no}
5677fi
5678fi
5679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5680$as_echo "$lt_cv_path_NM" >&6; }
5681if test "$lt_cv_path_NM" != "no"; then
5682 NM="$lt_cv_path_NM"
5683else
5684 # Didn't find any BSD compatible name lister, look for dumpbin.
5685 if test -n "$DUMPBIN"; then :
5686 # Let the user override the test.
5687 else
5688 if test -n "$ac_tool_prefix"; then
5689 for ac_prog in dumpbin "link -dump"
5690 do
5691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5692set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694$as_echo_n "checking for $ac_word... " >&6; }
5695if ${ac_cv_prog_DUMPBIN+:} false; then :
5696 $as_echo_n "(cached) " >&6
5697else
5698 if test -n "$DUMPBIN"; then
5699 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5700else
5701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5702for as_dir in $PATH
5703do
5704 IFS=$as_save_IFS
5705 test -z "$as_dir" && as_dir=.
5706 for ac_exec_ext in '' $ac_executable_extensions; do
5707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5708 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5710 break 2
5711 fi
5712done
5713 done
5714IFS=$as_save_IFS
5715
5716fi
5717fi
5718DUMPBIN=$ac_cv_prog_DUMPBIN
5719if test -n "$DUMPBIN"; then
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5721$as_echo "$DUMPBIN" >&6; }
5722else
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5724$as_echo "no" >&6; }
5725fi
5726
5727
5728 test -n "$DUMPBIN" && break
5729 done
5730fi
5731if test -z "$DUMPBIN"; then
5732 ac_ct_DUMPBIN=$DUMPBIN
5733 for ac_prog in dumpbin "link -dump"
5734do
5735 # Extract the first word of "$ac_prog", so it can be a program name with args.
5736set dummy $ac_prog; ac_word=$2
5737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738$as_echo_n "checking for $ac_word... " >&6; }
5739if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5740 $as_echo_n "(cached) " >&6
5741else
5742 if test -n "$ac_ct_DUMPBIN"; then
5743 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5744else
5745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746for as_dir in $PATH
5747do
5748 IFS=$as_save_IFS
5749 test -z "$as_dir" && as_dir=.
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5752 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 break 2
5755 fi
5756done
5757 done
5758IFS=$as_save_IFS
5759
5760fi
5761fi
5762ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5763if test -n "$ac_ct_DUMPBIN"; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5765$as_echo "$ac_ct_DUMPBIN" >&6; }
5766else
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768$as_echo "no" >&6; }
5769fi
5770
5771
5772 test -n "$ac_ct_DUMPBIN" && break
5773done
5774
5775 if test "x$ac_ct_DUMPBIN" = x; then
5776 DUMPBIN=":"
5777 else
5778 case $cross_compiling:$ac_tool_warned in
5779yes:)
5780{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5781$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5782ac_tool_warned=yes ;;
5783esac
5784 DUMPBIN=$ac_ct_DUMPBIN
5785 fi
5786fi
5787
5788 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5789 *COFF*)
5790 DUMPBIN="$DUMPBIN -symbols"
5791 ;;
5792 *)
5793 DUMPBIN=:
5794 ;;
5795 esac
5796 fi
5797
5798 if test "$DUMPBIN" != ":"; then
5799 NM="$DUMPBIN"
5800 fi
5801fi
5802test -z "$NM" && NM=nm
5803
5804
5805
5806
5807
5808
5809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5810$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5811if ${lt_cv_nm_interface+:} false; then :
5812 $as_echo_n "(cached) " >&6
5813else
5814 lt_cv_nm_interface="BSD nm"
5815 echo "int some_variable = 0;" > conftest.$ac_ext
5816 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5817 (eval "$ac_compile" 2>conftest.err)
5818 cat conftest.err >&5
5819 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5820 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5821 cat conftest.err >&5
5822 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5823 cat conftest.out >&5
5824 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5825 lt_cv_nm_interface="MS dumpbin"
5826 fi
5827 rm -f conftest*
5828fi
5829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5830$as_echo "$lt_cv_nm_interface" >&6; }
5831
5832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5833$as_echo_n "checking whether ln -s works... " >&6; }
5834LN_S=$as_ln_s
5835if test "$LN_S" = "ln -s"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5837$as_echo "yes" >&6; }
5838else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5840$as_echo "no, using $LN_S" >&6; }
5841fi
5842
5843# find the maximum length of command line arguments
5844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5845$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5846if ${lt_cv_sys_max_cmd_len+:} false; then :
5847 $as_echo_n "(cached) " >&6
5848else
5849 i=0
5850 teststring="ABCD"
5851
5852 case $build_os in
5853 msdosdjgpp*)
5854 # On DJGPP, this test can blow up pretty badly due to problems in libc
5855 # (any single argument exceeding 2000 bytes causes a buffer overrun
5856 # during glob expansion). Even if it were fixed, the result of this
5857 # check would be larger than it should be.
5858 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5859 ;;
5860
5861 gnu*)
5862 # Under GNU Hurd, this test is not required because there is
5863 # no limit to the length of command line arguments.
5864 # Libtool will interpret -1 as no limit whatsoever
5865 lt_cv_sys_max_cmd_len=-1;
5866 ;;
5867
5868 cygwin* | mingw* | cegcc*)
5869 # On Win9x/ME, this test blows up -- it succeeds, but takes
5870 # about 5 minutes as the teststring grows exponentially.
5871 # Worse, since 9x/ME are not pre-emptively multitasking,
5872 # you end up with a "frozen" computer, even though with patience
5873 # the test eventually succeeds (with a max line length of 256k).
5874 # Instead, let's just punt: use the minimum linelength reported by
5875 # all of the supported platforms: 8192 (on NT/2K/XP).
5876 lt_cv_sys_max_cmd_len=8192;
5877 ;;
5878
5879 mint*)
5880 # On MiNT this can take a long time and run out of memory.
5881 lt_cv_sys_max_cmd_len=8192;
5882 ;;
5883
5884 amigaos*)
5885 # On AmigaOS with pdksh, this test takes hours, literally.
5886 # So we just punt and use a minimum line length of 8192.
5887 lt_cv_sys_max_cmd_len=8192;
5888 ;;
5889
5890 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5891 # This has been around since 386BSD, at least. Likely further.
5892 if test -x /sbin/sysctl; then
5893 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5894 elif test -x /usr/sbin/sysctl; then
5895 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5896 else
5897 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5898 fi
5899 # And add a safety zone
5900 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5901 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5902 ;;
5903
5904 interix*)
5905 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5906 lt_cv_sys_max_cmd_len=196608
5907 ;;
5908
5909 osf*)
5910 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5911 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5912 # nice to cause kernel panics so lets avoid the loop below.
5913 # First set a reasonable default.
5914 lt_cv_sys_max_cmd_len=16384
5915 #
5916 if test -x /sbin/sysconfig; then
5917 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5918 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5919 esac
5920 fi
5921 ;;
5922 sco3.2v5*)
5923 lt_cv_sys_max_cmd_len=102400
5924 ;;
5925 sysv5* | sco5v6* | sysv4.2uw2*)
5926 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5927 if test -n "$kargmax"; then
5928 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5929 else
5930 lt_cv_sys_max_cmd_len=32768
5931 fi
5932 ;;
5933 *)
5934 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5935 if test -n "$lt_cv_sys_max_cmd_len"; then
5936 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5938 else
5939 # Make teststring a little bigger before we do anything with it.
5940 # a 1K string should be a reasonable start.
5941 for i in 1 2 3 4 5 6 7 8 ; do
5942 teststring=$teststring$teststring
5943 done
5944 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5945 # If test is not a shell built-in, we'll probably end up computing a
5946 # maximum length that is only half of the actual maximum length, but
5947 # we can't tell.
5948 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5949 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5950 test $i != 17 # 1/2 MB should be enough
5951 do
5952 i=`expr $i + 1`
5953 teststring=$teststring$teststring
5954 done
5955 # Only check the string length outside the loop.
5956 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5957 teststring=
5958 # Add a significant safety factor because C++ compilers can tack on
5959 # massive amounts of additional arguments before passing them to the
5960 # linker. It appears as though 1/2 is a usable value.
5961 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5962 fi
5963 ;;
5964 esac
5965
5966fi
5967
5968if test -n $lt_cv_sys_max_cmd_len ; then
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5970$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5971else
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5973$as_echo "none" >&6; }
5974fi
5975max_cmd_len=$lt_cv_sys_max_cmd_len
5976
5977
5978
5979
5980
5981
5982: ${CP="cp -f"}
5983: ${MV="mv -f"}
5984: ${RM="rm -f"}
5985
5986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5987$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5988# Try some XSI features
5989xsi_shell=no
5990( _lt_dummy="a/b/c"
5991 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5992 = c,a/b,b/c, \
5993 && eval 'test $(( 1 + 1 )) -eq 2 \
5994 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5995 && xsi_shell=yes
5996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5997$as_echo "$xsi_shell" >&6; }
5998
5999
6000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6001$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6002lt_shell_append=no
6003( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6004 >/dev/null 2>&1 \
6005 && lt_shell_append=yes
6006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6007$as_echo "$lt_shell_append" >&6; }
6008
6009
6010if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6011 lt_unset=unset
6012else
6013 lt_unset=false
6014fi
6015
6016
6017
6018
6019
6020# test EBCDIC or ASCII
6021case `echo X|tr X '\101'` in
6022 A) # ASCII based system
6023 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6024 lt_SP2NL='tr \040 \012'
6025 lt_NL2SP='tr \015\012 \040\040'
6026 ;;
6027 *) # EBCDIC based system
6028 lt_SP2NL='tr \100 \n'
6029 lt_NL2SP='tr \r\n \100\100'
6030 ;;
6031esac
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6042$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6043if ${lt_cv_to_host_file_cmd+:} false; then :
6044 $as_echo_n "(cached) " >&6
6045else
6046 case $host in
6047 *-*-mingw* )
6048 case $build in
6049 *-*-mingw* ) # actually msys
6050 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6051 ;;
6052 *-*-cygwin* )
6053 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6054 ;;
6055 * ) # otherwise, assume *nix
6056 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6057 ;;
6058 esac
6059 ;;
6060 *-*-cygwin* )
6061 case $build in
6062 *-*-mingw* ) # actually msys
6063 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6064 ;;
6065 *-*-cygwin* )
6066 lt_cv_to_host_file_cmd=func_convert_file_noop
6067 ;;
6068 * ) # otherwise, assume *nix
6069 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6070 ;;
6071 esac
6072 ;;
6073 * ) # unhandled hosts (and "normal" native builds)
6074 lt_cv_to_host_file_cmd=func_convert_file_noop
6075 ;;
6076esac
6077
6078fi
6079
6080to_host_file_cmd=$lt_cv_to_host_file_cmd
6081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6082$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6083
6084
6085
6086
6087
6088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6089$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6090if ${lt_cv_to_tool_file_cmd+:} false; then :
6091 $as_echo_n "(cached) " >&6
6092else
6093 #assume ordinary cross tools, or native build.
6094lt_cv_to_tool_file_cmd=func_convert_file_noop
6095case $host in
6096 *-*-mingw* )
6097 case $build in
6098 *-*-mingw* ) # actually msys
6099 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6100 ;;
6101 esac
6102 ;;
6103esac
6104
6105fi
6106
6107to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6109$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6110
6111
6112
6113
6114
6115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6116$as_echo_n "checking for $LD option to reload object files... " >&6; }
6117if ${lt_cv_ld_reload_flag+:} false; then :
6118 $as_echo_n "(cached) " >&6
6119else
6120 lt_cv_ld_reload_flag='-r'
6121fi
6122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6123$as_echo "$lt_cv_ld_reload_flag" >&6; }
6124reload_flag=$lt_cv_ld_reload_flag
6125case $reload_flag in
6126"" | " "*) ;;
6127*) reload_flag=" $reload_flag" ;;
6128esac
6129reload_cmds='$LD$reload_flag -o $output$reload_objs'
6130case $host_os in
6131 cygwin* | mingw* | pw32* | cegcc*)
6132 if test "$GCC" != yes; then
6133 reload_cmds=false
6134 fi
6135 ;;
6136 darwin*)
6137 if test "$GCC" = yes; then
6138 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6139 else
6140 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6141 fi
6142 ;;
6143esac
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153if test -n "$ac_tool_prefix"; then
6154 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6155set dummy ${ac_tool_prefix}objdump; ac_word=$2
6156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157$as_echo_n "checking for $ac_word... " >&6; }
6158if ${ac_cv_prog_OBJDUMP+:} false; then :
6159 $as_echo_n "(cached) " >&6
6160else
6161 if test -n "$OBJDUMP"; then
6162 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6163else
6164as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165for as_dir in $PATH
6166do
6167 IFS=$as_save_IFS
6168 test -z "$as_dir" && as_dir=.
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 break 2
6174 fi
6175done
6176 done
6177IFS=$as_save_IFS
6178
6179fi
6180fi
6181OBJDUMP=$ac_cv_prog_OBJDUMP
6182if test -n "$OBJDUMP"; then
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6184$as_echo "$OBJDUMP" >&6; }
6185else
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187$as_echo "no" >&6; }
6188fi
6189
6190
6191fi
6192if test -z "$ac_cv_prog_OBJDUMP"; then
6193 ac_ct_OBJDUMP=$OBJDUMP
6194 # Extract the first word of "objdump", so it can be a program name with args.
6195set dummy objdump; ac_word=$2
6196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197$as_echo_n "checking for $ac_word... " >&6; }
6198if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6199 $as_echo_n "(cached) " >&6
6200else
6201 if test -n "$ac_ct_OBJDUMP"; then
6202 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6203else
6204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205for as_dir in $PATH
6206do
6207 IFS=$as_save_IFS
6208 test -z "$as_dir" && as_dir=.
6209 for ac_exec_ext in '' $ac_executable_extensions; do
6210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 break 2
6214 fi
6215done
6216 done
6217IFS=$as_save_IFS
6218
6219fi
6220fi
6221ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6222if test -n "$ac_ct_OBJDUMP"; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6224$as_echo "$ac_ct_OBJDUMP" >&6; }
6225else
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227$as_echo "no" >&6; }
6228fi
6229
6230 if test "x$ac_ct_OBJDUMP" = x; then
6231 OBJDUMP="false"
6232 else
6233 case $cross_compiling:$ac_tool_warned in
6234yes:)
6235{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6236$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6237ac_tool_warned=yes ;;
6238esac
6239 OBJDUMP=$ac_ct_OBJDUMP
6240 fi
6241else
6242 OBJDUMP="$ac_cv_prog_OBJDUMP"
6243fi
6244
6245test -z "$OBJDUMP" && OBJDUMP=objdump
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6256$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6257if ${lt_cv_deplibs_check_method+:} false; then :
6258 $as_echo_n "(cached) " >&6
6259else
6260 lt_cv_file_magic_cmd='$MAGIC_CMD'
6261lt_cv_file_magic_test_file=
6262lt_cv_deplibs_check_method='unknown'
6263# Need to set the preceding variable on all platforms that support
6264# interlibrary dependencies.
6265# 'none' -- dependencies not supported.
6266# `unknown' -- same as none, but documents that we really don't know.
6267# 'pass_all' -- all dependencies passed with no checks.
6268# 'test_compile' -- check by making test program.
6269# 'file_magic [[regex]]' -- check by looking for files in library path
6270# which responds to the $file_magic_cmd with a given extended regex.
6271# If you have `file' or equivalent on your system and you're not sure
6272# whether `pass_all' will *always* work, you probably want this one.
6273
6274case $host_os in
6275aix[4-9]*)
6276 lt_cv_deplibs_check_method=pass_all
6277 ;;
6278
6279beos*)
6280 lt_cv_deplibs_check_method=pass_all
6281 ;;
6282
6283bsdi[45]*)
6284 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6285 lt_cv_file_magic_cmd='/usr/bin/file -L'
6286 lt_cv_file_magic_test_file=/shlib/libc.so
6287 ;;
6288
6289cygwin*)
6290 # func_win32_libid is a shell function defined in ltmain.sh
6291 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6292 lt_cv_file_magic_cmd='func_win32_libid'
6293 ;;
6294
6295mingw* | pw32*)
6296 # Base MSYS/MinGW do not provide the 'file' command needed by
6297 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6298 # unless we find 'file', for example because we are cross-compiling.
6299 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6300 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6301 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6302 lt_cv_file_magic_cmd='func_win32_libid'
6303 else
6304 # Keep this pattern in sync with the one in func_win32_libid.
6305 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6306 lt_cv_file_magic_cmd='$OBJDUMP -f'
6307 fi
6308 ;;
6309
6310cegcc*)
6311 # use the weaker test based on 'objdump'. See mingw*.
6312 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6313 lt_cv_file_magic_cmd='$OBJDUMP -f'
6314 ;;
6315
6316darwin* | rhapsody*)
6317 lt_cv_deplibs_check_method=pass_all
6318 ;;
6319
6320freebsd* | dragonfly*)
6321 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6322 case $host_cpu in
6323 i*86 )
6324 # Not sure whether the presence of OpenBSD here was a mistake.
6325 # Let's accept both of them until this is cleared up.
6326 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6327 lt_cv_file_magic_cmd=/usr/bin/file
6328 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6329 ;;
6330 esac
6331 else
6332 lt_cv_deplibs_check_method=pass_all
6333 fi
6334 ;;
6335
6336gnu*)
6337 lt_cv_deplibs_check_method=pass_all
6338 ;;
6339
6340haiku*)
6341 lt_cv_deplibs_check_method=pass_all
6342 ;;
6343
6344hpux10.20* | hpux11*)
6345 lt_cv_file_magic_cmd=/usr/bin/file
6346 case $host_cpu in
6347 ia64*)
6348 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6349 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6350 ;;
6351 hppa*64*)
6352 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6353 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6354 ;;
6355 *)
6356 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6357 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6358 ;;
6359 esac
6360 ;;
6361
6362interix[3-9]*)
6363 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6364 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6365 ;;
6366
6367irix5* | irix6* | nonstopux*)
6368 case $LD in
6369 *-32|*"-32 ") libmagic=32-bit;;
6370 *-n32|*"-n32 ") libmagic=N32;;
6371 *-64|*"-64 ") libmagic=64-bit;;
6372 *) libmagic=never-match;;
6373 esac
6374 lt_cv_deplibs_check_method=pass_all
6375 ;;
6376
6377# This must be Linux ELF.
6378linux* | k*bsd*-gnu | kopensolaris*-gnu)
6379 lt_cv_deplibs_check_method=pass_all
6380 ;;
6381
6382netbsd* | netbsdelf*-gnu)
6383 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6384 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6385 else
6386 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6387 fi
6388 ;;
6389
6390newos6*)
6391 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6392 lt_cv_file_magic_cmd=/usr/bin/file
6393 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6394 ;;
6395
6396*nto* | *qnx*)
6397 lt_cv_deplibs_check_method=pass_all
6398 ;;
6399
6400openbsd*)
6401 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6402 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6403 else
6404 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6405 fi
6406 ;;
6407
6408osf3* | osf4* | osf5*)
6409 lt_cv_deplibs_check_method=pass_all
6410 ;;
6411
6412rdos*)
6413 lt_cv_deplibs_check_method=pass_all
6414 ;;
6415
6416solaris*)
6417 lt_cv_deplibs_check_method=pass_all
6418 ;;
6419
6420sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6421 lt_cv_deplibs_check_method=pass_all
6422 ;;
6423
6424sysv4 | sysv4.3*)
6425 case $host_vendor in
6426 motorola)
6427 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]'
6428 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6429 ;;
6430 ncr)
6431 lt_cv_deplibs_check_method=pass_all
6432 ;;
6433 sequent)
6434 lt_cv_file_magic_cmd='/bin/file'
6435 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6436 ;;
6437 sni)
6438 lt_cv_file_magic_cmd='/bin/file'
6439 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6440 lt_cv_file_magic_test_file=/lib/libc.so
6441 ;;
6442 siemens)
6443 lt_cv_deplibs_check_method=pass_all
6444 ;;
6445 pc)
6446 lt_cv_deplibs_check_method=pass_all
6447 ;;
6448 esac
6449 ;;
6450
6451tpf*)
6452 lt_cv_deplibs_check_method=pass_all
6453 ;;
6454esac
6455
6456fi
6457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6458$as_echo "$lt_cv_deplibs_check_method" >&6; }
6459
6460file_magic_glob=
6461want_nocaseglob=no
6462if test "$build" = "$host"; then
6463 case $host_os in
6464 mingw* | pw32*)
6465 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6466 want_nocaseglob=yes
6467 else
6468 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6469 fi
6470 ;;
6471 esac
6472fi
6473
6474file_magic_cmd=$lt_cv_file_magic_cmd
6475deplibs_check_method=$lt_cv_deplibs_check_method
6476test -z "$deplibs_check_method" && deplibs_check_method=unknown
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499if test -n "$ac_tool_prefix"; then
6500 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6501set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503$as_echo_n "checking for $ac_word... " >&6; }
6504if ${ac_cv_prog_DLLTOOL+:} false; then :
6505 $as_echo_n "(cached) " >&6
6506else
6507 if test -n "$DLLTOOL"; then
6508 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6509else
6510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511for as_dir in $PATH
6512do
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6520 fi
6521done
6522 done
6523IFS=$as_save_IFS
6524
6525fi
6526fi
6527DLLTOOL=$ac_cv_prog_DLLTOOL
6528if test -n "$DLLTOOL"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6530$as_echo "$DLLTOOL" >&6; }
6531else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533$as_echo "no" >&6; }
6534fi
6535
6536
6537fi
6538if test -z "$ac_cv_prog_DLLTOOL"; then
6539 ac_ct_DLLTOOL=$DLLTOOL
6540 # Extract the first word of "dlltool", so it can be a program name with args.
6541set dummy dlltool; ac_word=$2
6542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543$as_echo_n "checking for $ac_word... " >&6; }
6544if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6545 $as_echo_n "(cached) " >&6
6546else
6547 if test -n "$ac_ct_DLLTOOL"; then
6548 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6549else
6550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551for as_dir in $PATH
6552do
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 break 2
6560 fi
6561done
6562 done
6563IFS=$as_save_IFS
6564
6565fi
6566fi
6567ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6568if test -n "$ac_ct_DLLTOOL"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6570$as_echo "$ac_ct_DLLTOOL" >&6; }
6571else
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573$as_echo "no" >&6; }
6574fi
6575
6576 if test "x$ac_ct_DLLTOOL" = x; then
6577 DLLTOOL="false"
6578 else
6579 case $cross_compiling:$ac_tool_warned in
6580yes:)
6581{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583ac_tool_warned=yes ;;
6584esac
6585 DLLTOOL=$ac_ct_DLLTOOL
6586 fi
6587else
6588 DLLTOOL="$ac_cv_prog_DLLTOOL"
6589fi
6590
6591test -z "$DLLTOOL" && DLLTOOL=dlltool
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6603$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6604if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606else
6607 lt_cv_sharedlib_from_linklib_cmd='unknown'
6608
6609case $host_os in
6610cygwin* | mingw* | pw32* | cegcc*)
6611 # two different shell functions defined in ltmain.sh
6612 # decide which to use based on capabilities of $DLLTOOL
6613 case `$DLLTOOL --help 2>&1` in
6614 *--identify-strict*)
6615 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6616 ;;
6617 *)
6618 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6619 ;;
6620 esac
6621 ;;
6622*)
6623 # fallback: assume linklib IS sharedlib
6624 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6625 ;;
6626esac
6627
6628fi
6629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6630$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6631sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6632test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6633
6634
6635
6636
6637
6638
6639
6640
6641if test -n "$ac_tool_prefix"; then
6642 for ac_prog in ar
6643 do
6644 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6645set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647$as_echo_n "checking for $ac_word... " >&6; }
6648if ${ac_cv_prog_AR+:} false; then :
6649 $as_echo_n "(cached) " >&6
6650else
6651 if test -n "$AR"; then
6652 ac_cv_prog_AR="$AR" # Let the user override the test.
6653else
6654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655for as_dir in $PATH
6656do
6657 IFS=$as_save_IFS
6658 test -z "$as_dir" && as_dir=.
6659 for ac_exec_ext in '' $ac_executable_extensions; do
6660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6661 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6663 break 2
6664 fi
6665done
6666 done
6667IFS=$as_save_IFS
6668
6669fi
6670fi
6671AR=$ac_cv_prog_AR
6672if test -n "$AR"; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6674$as_echo "$AR" >&6; }
6675else
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677$as_echo "no" >&6; }
6678fi
6679
6680
6681 test -n "$AR" && break
6682 done
6683fi
6684if test -z "$AR"; then
6685 ac_ct_AR=$AR
6686 for ac_prog in ar
6687do
6688 # Extract the first word of "$ac_prog", so it can be a program name with args.
6689set dummy $ac_prog; ac_word=$2
6690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691$as_echo_n "checking for $ac_word... " >&6; }
6692if ${ac_cv_prog_ac_ct_AR+:} false; then :
6693 $as_echo_n "(cached) " >&6
6694else
6695 if test -n "$ac_ct_AR"; then
6696 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6697else
6698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699for as_dir in $PATH
6700do
6701 IFS=$as_save_IFS
6702 test -z "$as_dir" && as_dir=.
6703 for ac_exec_ext in '' $ac_executable_extensions; do
6704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6705 ac_cv_prog_ac_ct_AR="$ac_prog"
6706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707 break 2
6708 fi
6709done
6710 done
6711IFS=$as_save_IFS
6712
6713fi
6714fi
6715ac_ct_AR=$ac_cv_prog_ac_ct_AR
6716if test -n "$ac_ct_AR"; then
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6718$as_echo "$ac_ct_AR" >&6; }
6719else
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721$as_echo "no" >&6; }
6722fi
6723
6724
6725 test -n "$ac_ct_AR" && break
6726done
6727
6728 if test "x$ac_ct_AR" = x; then
6729 AR="false"
6730 else
6731 case $cross_compiling:$ac_tool_warned in
6732yes:)
6733{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6734$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6735ac_tool_warned=yes ;;
6736esac
6737 AR=$ac_ct_AR
6738 fi
6739fi
6740
6741: ${AR=ar}
6742: ${AR_FLAGS=cru}
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6755$as_echo_n "checking for archiver @FILE support... " >&6; }
6756if ${lt_cv_ar_at_file+:} false; then :
6757 $as_echo_n "(cached) " >&6
6758else
6759 lt_cv_ar_at_file=no
6760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6761/* end confdefs.h. */
6762
6763int
6764main ()
6765{
6766
6767 ;
6768 return 0;
6769}
6770_ACEOF
6771if ac_fn_cxx_try_compile "$LINENO"; then :
6772 echo conftest.$ac_objext > conftest.lst
6773 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6774 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6775 (eval $lt_ar_try) 2>&5
6776 ac_status=$?
6777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6778 test $ac_status = 0; }
6779 if test "$ac_status" -eq 0; then
6780 # Ensure the archiver fails upon bogus file names.
6781 rm -f conftest.$ac_objext libconftest.a
6782 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6783 (eval $lt_ar_try) 2>&5
6784 ac_status=$?
6785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6786 test $ac_status = 0; }
6787 if test "$ac_status" -ne 0; then
6788 lt_cv_ar_at_file=@
6789 fi
6790 fi
6791 rm -f conftest.* libconftest.a
6792
6793fi
6794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6795
6796fi
6797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6798$as_echo "$lt_cv_ar_at_file" >&6; }
6799
6800if test "x$lt_cv_ar_at_file" = xno; then
6801 archiver_list_spec=
6802else
6803 archiver_list_spec=$lt_cv_ar_at_file
6804fi
6805
6806
6807
6808
6809
6810
6811
6812if test -n "$ac_tool_prefix"; then
6813 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6814set dummy ${ac_tool_prefix}strip; ac_word=$2
6815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6816$as_echo_n "checking for $ac_word... " >&6; }
6817if ${ac_cv_prog_STRIP+:} false; then :
6818 $as_echo_n "(cached) " >&6
6819else
6820 if test -n "$STRIP"; then
6821 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6822else
6823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824for as_dir in $PATH
6825do
6826 IFS=$as_save_IFS
6827 test -z "$as_dir" && as_dir=.
6828 for ac_exec_ext in '' $ac_executable_extensions; do
6829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6830 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6832 break 2
6833 fi
6834done
6835 done
6836IFS=$as_save_IFS
6837
6838fi
6839fi
6840STRIP=$ac_cv_prog_STRIP
6841if test -n "$STRIP"; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6843$as_echo "$STRIP" >&6; }
6844else
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6846$as_echo "no" >&6; }
6847fi
6848
6849
6850fi
6851if test -z "$ac_cv_prog_STRIP"; then
6852 ac_ct_STRIP=$STRIP
6853 # Extract the first word of "strip", so it can be a program name with args.
6854set dummy strip; ac_word=$2
6855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6856$as_echo_n "checking for $ac_word... " >&6; }
6857if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6858 $as_echo_n "(cached) " >&6
6859else
6860 if test -n "$ac_ct_STRIP"; then
6861 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6862else
6863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6864for as_dir in $PATH
6865do
6866 IFS=$as_save_IFS
6867 test -z "$as_dir" && as_dir=.
6868 for ac_exec_ext in '' $ac_executable_extensions; do
6869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6870 ac_cv_prog_ac_ct_STRIP="strip"
6871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6872 break 2
6873 fi
6874done
6875 done
6876IFS=$as_save_IFS
6877
6878fi
6879fi
6880ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6881if test -n "$ac_ct_STRIP"; then
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6883$as_echo "$ac_ct_STRIP" >&6; }
6884else
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6886$as_echo "no" >&6; }
6887fi
6888
6889 if test "x$ac_ct_STRIP" = x; then
6890 STRIP=":"
6891 else
6892 case $cross_compiling:$ac_tool_warned in
6893yes:)
6894{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6895$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6896ac_tool_warned=yes ;;
6897esac
6898 STRIP=$ac_ct_STRIP
6899 fi
6900else
6901 STRIP="$ac_cv_prog_STRIP"
6902fi
6903
6904test -z "$STRIP" && STRIP=:
6905
6906
6907
6908
6909
6910
6911if test -n "$ac_tool_prefix"; then
6912 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6913set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6915$as_echo_n "checking for $ac_word... " >&6; }
6916if ${ac_cv_prog_RANLIB+:} false; then :
6917 $as_echo_n "(cached) " >&6
6918else
6919 if test -n "$RANLIB"; then
6920 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6921else
6922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923for as_dir in $PATH
6924do
6925 IFS=$as_save_IFS
6926 test -z "$as_dir" && as_dir=.
6927 for ac_exec_ext in '' $ac_executable_extensions; do
6928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931 break 2
6932 fi
6933done
6934 done
6935IFS=$as_save_IFS
6936
6937fi
6938fi
6939RANLIB=$ac_cv_prog_RANLIB
6940if test -n "$RANLIB"; then
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6942$as_echo "$RANLIB" >&6; }
6943else
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6945$as_echo "no" >&6; }
6946fi
6947
6948
6949fi
6950if test -z "$ac_cv_prog_RANLIB"; then
6951 ac_ct_RANLIB=$RANLIB
6952 # Extract the first word of "ranlib", so it can be a program name with args.
6953set dummy ranlib; ac_word=$2
6954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6955$as_echo_n "checking for $ac_word... " >&6; }
6956if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6957 $as_echo_n "(cached) " >&6
6958else
6959 if test -n "$ac_ct_RANLIB"; then
6960 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6961else
6962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963for as_dir in $PATH
6964do
6965 IFS=$as_save_IFS
6966 test -z "$as_dir" && as_dir=.
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6969 ac_cv_prog_ac_ct_RANLIB="ranlib"
6970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 break 2
6972 fi
6973done
6974 done
6975IFS=$as_save_IFS
6976
6977fi
6978fi
6979ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6980if test -n "$ac_ct_RANLIB"; then
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6982$as_echo "$ac_ct_RANLIB" >&6; }
6983else
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6985$as_echo "no" >&6; }
6986fi
6987
6988 if test "x$ac_ct_RANLIB" = x; then
6989 RANLIB=":"
6990 else
6991 case $cross_compiling:$ac_tool_warned in
6992yes:)
6993{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6994$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6995ac_tool_warned=yes ;;
6996esac
6997 RANLIB=$ac_ct_RANLIB
6998 fi
6999else
7000 RANLIB="$ac_cv_prog_RANLIB"
7001fi
7002
7003test -z "$RANLIB" && RANLIB=:
7004
7005
7006
7007
7008
7009
7010# Determine commands to create old-style static archives.
7011old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7012old_postinstall_cmds='chmod 644 $oldlib'
7013old_postuninstall_cmds=
7014
7015if test -n "$RANLIB"; then
7016 case $host_os in
7017 openbsd*)
7018 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7019 ;;
7020 *)
7021 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7022 ;;
7023 esac
7024 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7025fi
7026
7027case $host_os in
7028 darwin*)
7029 lock_old_archive_extraction=yes ;;
7030 *)
7031 lock_old_archive_extraction=no ;;
7032esac
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072# If no C compiler was specified, use CC.
7073LTCC=${LTCC-"$CC"}
7074
7075# If no C compiler flags were specified, use CFLAGS.
7076LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7077
7078# Allow CC to be a program name with arguments.
7079compiler=$CC
7080
7081
7082# Check for command to grab the raw symbol name followed by C symbol from nm.
7083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7084$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7085if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7086 $as_echo_n "(cached) " >&6
7087else
7088
7089# These are sane defaults that work on at least a few old systems.
7090# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7091
7092# Character class describing NM global symbol codes.
7093symcode='[BCDEGRST]'
7094
7095# Regexp to match symbols that can be accessed directly from C.
7096sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7097
7098# Define system-specific variables.
7099case $host_os in
7100aix*)
7101 symcode='[BCDT]'
7102 ;;
7103cygwin* | mingw* | pw32* | cegcc*)
7104 symcode='[ABCDGISTW]'
7105 ;;
7106hpux*)
7107 if test "$host_cpu" = ia64; then
7108 symcode='[ABCDEGRST]'
7109 fi
7110 ;;
7111irix* | nonstopux*)
7112 symcode='[BCDEGRST]'
7113 ;;
7114osf*)
7115 symcode='[BCDEGQRST]'
7116 ;;
7117solaris*)
7118 symcode='[BDRT]'
7119 ;;
7120sco3.2v5*)
7121 symcode='[DT]'
7122 ;;
7123sysv4.2uw2*)
7124 symcode='[DT]'
7125 ;;
7126sysv5* | sco5v6* | unixware* | OpenUNIX*)
7127 symcode='[ABDT]'
7128 ;;
7129sysv4)
7130 symcode='[DFNSTU]'
7131 ;;
7132esac
7133
7134# If we're using GNU nm, then use its standard symbol codes.
7135case `$NM -V 2>&1` in
7136*GNU* | *'with BFD'*)
7137 symcode='[ABCDGIRSTW]' ;;
7138esac
7139
7140# Transform an extracted symbol line into a proper C declaration.
7141# Some systems (esp. on ia64) link data and code symbols differently,
7142# so use this general approach.
7143lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7144
7145# Transform an extracted symbol line into symbol name and symbol address
7146lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7147lt_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'"
7148
7149# Handle CRLF in mingw tool chain
7150opt_cr=
7151case $build_os in
7152mingw*)
7153 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7154 ;;
7155esac
7156
7157# Try without a prefix underscore, then with it.
7158for ac_symprfx in "" "_"; do
7159
7160 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7161 symxfrm="\\1 $ac_symprfx\\2 \\2"
7162
7163 # Write the raw and C identifiers.
7164 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7165 # Fake it for dumpbin and say T for any non-static function
7166 # and D for any global variable.
7167 # Also find C++ and __fastcall symbols from MSVC++,
7168 # which start with @ or ?.
7169 lt_cv_sys_global_symbol_pipe="$AWK '"\
7170" {last_section=section; section=\$ 3};"\
7171" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7172" \$ 0!~/External *\|/{next};"\
7173" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7174" {if(hide[section]) next};"\
7175" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7176" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7177" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7178" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7179" ' prfx=^$ac_symprfx"
7180 else
7181 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7182 fi
7183 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7184
7185 # Check to see that the pipe works correctly.
7186 pipe_works=no
7187
7188 rm -f conftest*
7189 cat > conftest.$ac_ext <<_LT_EOF
7190#ifdef __cplusplus
7191extern "C" {
7192#endif
7193char nm_test_var;
7194void nm_test_func(void);
7195void nm_test_func(void){}
7196#ifdef __cplusplus
7197}
7198#endif
7199int main(){nm_test_var='a';nm_test_func();return(0);}
7200_LT_EOF
7201
7202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7203 (eval $ac_compile) 2>&5
7204 ac_status=$?
7205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7206 test $ac_status = 0; }; then
7207 # Now try to grab the symbols.
7208 nlist=conftest.nm
7209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7210 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7211 ac_status=$?
7212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7213 test $ac_status = 0; } && test -s "$nlist"; then
7214 # Try sorting and uniquifying the output.
7215 if sort "$nlist" | uniq > "$nlist"T; then
7216 mv -f "$nlist"T "$nlist"
7217 else
7218 rm -f "$nlist"T
7219 fi
7220
7221 # Make sure that we snagged all the symbols we need.
7222 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7223 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7224 cat <<_LT_EOF > conftest.$ac_ext
7225/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7226#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7227/* DATA imports from DLLs on WIN32 con't be const, because runtime
7228 relocations are performed -- see ld's documentation on pseudo-relocs. */
7229# define LT_DLSYM_CONST
7230#elif defined(__osf__)
7231/* This system does not cope well with relocations in const data. */
7232# define LT_DLSYM_CONST
7233#else
7234# define LT_DLSYM_CONST const
7235#endif
7236
7237#ifdef __cplusplus
7238extern "C" {
7239#endif
7240
7241_LT_EOF
7242 # Now generate the symbol file.
7243 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7244
7245 cat <<_LT_EOF >> conftest.$ac_ext
7246
7247/* The mapping between symbol names and symbols. */
7248LT_DLSYM_CONST struct {
7249 const char *name;
7250 void *address;
7251}
7252lt__PROGRAM__LTX_preloaded_symbols[] =
7253{
7254 { "@PROGRAM@", (void *) 0 },
7255_LT_EOF
7256 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7257 cat <<\_LT_EOF >> conftest.$ac_ext
7258 {0, (void *) 0}
7259};
7260
7261/* This works around a problem in FreeBSD linker */
7262#ifdef FREEBSD_WORKAROUND
7263static const void *lt_preloaded_setup() {
7264 return lt__PROGRAM__LTX_preloaded_symbols;
7265}
7266#endif
7267
7268#ifdef __cplusplus
7269}
7270#endif
7271_LT_EOF
7272 # Now try linking the two files.
7273 mv conftest.$ac_objext conftstm.$ac_objext
7274 lt_globsym_save_LIBS=$LIBS
7275 lt_globsym_save_CFLAGS=$CFLAGS
7276 LIBS="conftstm.$ac_objext"
7277 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7279 (eval $ac_link) 2>&5
7280 ac_status=$?
7281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7282 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7283 pipe_works=yes
7284 fi
7285 LIBS=$lt_globsym_save_LIBS
7286 CFLAGS=$lt_globsym_save_CFLAGS
7287 else
7288 echo "cannot find nm_test_func in $nlist" >&5
7289 fi
7290 else
7291 echo "cannot find nm_test_var in $nlist" >&5
7292 fi
7293 else
7294 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7295 fi
7296 else
7297 echo "$progname: failed program was:" >&5
7298 cat conftest.$ac_ext >&5
7299 fi
7300 rm -rf conftest* conftst*
7301
7302 # Do not use the global_symbol_pipe unless it works.
7303 if test "$pipe_works" = yes; then
7304 break
7305 else
7306 lt_cv_sys_global_symbol_pipe=
7307 fi
7308done
7309
7310fi
7311
7312if test -z "$lt_cv_sys_global_symbol_pipe"; then
7313 lt_cv_sys_global_symbol_to_cdecl=
7314fi
7315if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7317$as_echo "failed" >&6; }
7318else
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7320$as_echo "ok" >&6; }
7321fi
7322
7323# Response file support.
7324if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7325 nm_file_list_spec='@'
7326elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7327 nm_file_list_spec='@'
7328fi
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7357$as_echo_n "checking for sysroot... " >&6; }
7358
7359# Check whether --with-sysroot was given.
7360if test "${with_sysroot+set}" = set; then :
7361 withval=$with_sysroot;
7362else
7363 with_sysroot=no
7364fi
7365
7366
7367lt_sysroot=
7368case ${with_sysroot} in #(
7369 yes)
7370 if test "$GCC" = yes; then
7371 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7372 fi
7373 ;; #(
7374 /*)
7375 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7376 ;; #(
7377 no|'')
7378 ;; #(
7379 *)
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7381$as_echo "${with_sysroot}" >&6; }
7382 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7383 ;;
7384esac
7385
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7387$as_echo "${lt_sysroot:-no}" >&6; }
7388
7389
7390
7391
7392
7393# Check whether --enable-libtool-lock was given.
7394if test "${enable_libtool_lock+set}" = set; then :
7395 enableval=$enable_libtool_lock;
7396fi
7397
7398test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7399
7400# Some flags need to be propagated to the compiler or linker for good
7401# libtool support.
7402case $host in
7403ia64-*-hpux*)
7404 # Find out which ABI we are using.
7405 echo 'int i;' > conftest.$ac_ext
7406 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7407 (eval $ac_compile) 2>&5
7408 ac_status=$?
7409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7410 test $ac_status = 0; }; then
7411 case `/usr/bin/file conftest.$ac_objext` in
7412 *ELF-32*)
7413 HPUX_IA64_MODE="32"
7414 ;;
7415 *ELF-64*)
7416 HPUX_IA64_MODE="64"
7417 ;;
7418 esac
7419 fi
7420 rm -rf conftest*
7421 ;;
7422*-*-irix6*)
7423 # Find out which ABI we are using.
7424 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7426 (eval $ac_compile) 2>&5
7427 ac_status=$?
7428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7429 test $ac_status = 0; }; then
7430 if test "$lt_cv_prog_gnu_ld" = yes; then
7431 case `/usr/bin/file conftest.$ac_objext` in
7432 *32-bit*)
7433 LD="${LD-ld} -melf32bsmip"
7434 ;;
7435 *N32*)
7436 LD="${LD-ld} -melf32bmipn32"
7437 ;;
7438 *64-bit*)
7439 LD="${LD-ld} -melf64bmip"
7440 ;;
7441 esac
7442 else
7443 case `/usr/bin/file conftest.$ac_objext` in
7444 *32-bit*)
7445 LD="${LD-ld} -32"
7446 ;;
7447 *N32*)
7448 LD="${LD-ld} -n32"
7449 ;;
7450 *64-bit*)
7451 LD="${LD-ld} -64"
7452 ;;
7453 esac
7454 fi
7455 fi
7456 rm -rf conftest*
7457 ;;
7458
7459x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7460s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7461 # Find out which ABI we are using.
7462 echo 'int i;' > conftest.$ac_ext
7463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7464 (eval $ac_compile) 2>&5
7465 ac_status=$?
7466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7467 test $ac_status = 0; }; then
7468 case `/usr/bin/file conftest.o` in
7469 *32-bit*)
7470 case $host in
7471 x86_64-*kfreebsd*-gnu)
7472 LD="${LD-ld} -m elf_i386_fbsd"
7473 ;;
7474 x86_64-*linux*)
7475 LD="${LD-ld} -m elf_i386"
7476 ;;
7477 ppc64-*linux*|powerpc64-*linux*)
7478 LD="${LD-ld} -m elf32ppclinux"
7479 ;;
7480 s390x-*linux*)
7481 LD="${LD-ld} -m elf_s390"
7482 ;;
7483 sparc64-*linux*)
7484 LD="${LD-ld} -m elf32_sparc"
7485 ;;
7486 esac
7487 ;;
7488 *64-bit*)
7489 case $host in
7490 x86_64-*kfreebsd*-gnu)
7491 LD="${LD-ld} -m elf_x86_64_fbsd"
7492 ;;
7493 x86_64-*linux*)
7494 LD="${LD-ld} -m elf_x86_64"
7495 ;;
7496 ppc*-*linux*|powerpc*-*linux*)
7497 LD="${LD-ld} -m elf64ppc"
7498 ;;
7499 s390*-*linux*|s390*-*tpf*)
7500 LD="${LD-ld} -m elf64_s390"
7501 ;;
7502 sparc*-*linux*)
7503 LD="${LD-ld} -m elf64_sparc"
7504 ;;
7505 esac
7506 ;;
7507 esac
7508 fi
7509 rm -rf conftest*
7510 ;;
7511
7512*-*-sco3.2v5*)
7513 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7514 SAVE_CFLAGS="$CFLAGS"
7515 CFLAGS="$CFLAGS -belf"
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7517$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7518if ${lt_cv_cc_needs_belf+:} false; then :
7519 $as_echo_n "(cached) " >&6
7520else
7521 ac_ext=c
7522ac_cpp='$CPP $CPPFLAGS'
7523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7525ac_compiler_gnu=$ac_cv_c_compiler_gnu
7526
7527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7528/* end confdefs.h. */
7529
7530int
7531main ()
7532{
7533
7534 ;
7535 return 0;
7536}
7537_ACEOF
7538if ac_fn_c_try_link "$LINENO"; then :
7539 lt_cv_cc_needs_belf=yes
7540else
7541 lt_cv_cc_needs_belf=no
7542fi
7543rm -f core conftest.err conftest.$ac_objext \
7544 conftest$ac_exeext conftest.$ac_ext
7545 ac_ext=c
7546ac_cpp='$CPP $CPPFLAGS'
7547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7549ac_compiler_gnu=$ac_cv_c_compiler_gnu
7550
7551fi
7552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7553$as_echo "$lt_cv_cc_needs_belf" >&6; }
7554 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7555 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7556 CFLAGS="$SAVE_CFLAGS"
7557 fi
7558 ;;
7559sparc*-*solaris*)
7560 # Find out which ABI we are using.
7561 echo 'int i;' > conftest.$ac_ext
7562 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7563 (eval $ac_compile) 2>&5
7564 ac_status=$?
7565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7566 test $ac_status = 0; }; then
7567 case `/usr/bin/file conftest.o` in
7568 *64-bit*)
7569 case $lt_cv_prog_gnu_ld in
7570 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7571 *)
7572 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7573 LD="${LD-ld} -64"
7574 fi
7575 ;;
7576 esac
7577 ;;
7578 esac
7579 fi
7580 rm -rf conftest*
7581 ;;
7582esac
7583
7584need_locks="$enable_libtool_lock"
7585
7586if test -n "$ac_tool_prefix"; then
7587 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7588set dummy ${ac_tool_prefix}mt; ac_word=$2
7589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590$as_echo_n "checking for $ac_word... " >&6; }
7591if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7592 $as_echo_n "(cached) " >&6
7593else
7594 if test -n "$MANIFEST_TOOL"; then
7595 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7596else
7597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598for as_dir in $PATH
7599do
7600 IFS=$as_save_IFS
7601 test -z "$as_dir" && as_dir=.
7602 for ac_exec_ext in '' $ac_executable_extensions; do
7603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7604 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7606 break 2
7607 fi
7608done
7609 done
7610IFS=$as_save_IFS
7611
7612fi
7613fi
7614MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7615if test -n "$MANIFEST_TOOL"; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7617$as_echo "$MANIFEST_TOOL" >&6; }
7618else
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620$as_echo "no" >&6; }
7621fi
7622
7623
7624fi
7625if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7626 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7627 # Extract the first word of "mt", so it can be a program name with args.
7628set dummy mt; ac_word=$2
7629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7630$as_echo_n "checking for $ac_word... " >&6; }
7631if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7632 $as_echo_n "(cached) " >&6
7633else
7634 if test -n "$ac_ct_MANIFEST_TOOL"; then
7635 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7636else
7637as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7638for as_dir in $PATH
7639do
7640 IFS=$as_save_IFS
7641 test -z "$as_dir" && as_dir=.
7642 for ac_exec_ext in '' $ac_executable_extensions; do
7643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7644 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7646 break 2
7647 fi
7648done
7649 done
7650IFS=$as_save_IFS
7651
7652fi
7653fi
7654ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7655if test -n "$ac_ct_MANIFEST_TOOL"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7657$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7658else
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660$as_echo "no" >&6; }
7661fi
7662
7663 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7664 MANIFEST_TOOL=":"
7665 else
7666 case $cross_compiling:$ac_tool_warned in
7667yes:)
7668{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7669$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7670ac_tool_warned=yes ;;
7671esac
7672 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7673 fi
7674else
7675 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7676fi
7677
7678test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7680$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7681if ${lt_cv_path_mainfest_tool+:} false; then :
7682 $as_echo_n "(cached) " >&6
7683else
7684 lt_cv_path_mainfest_tool=no
7685 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7686 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7687 cat conftest.err >&5
7688 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7689 lt_cv_path_mainfest_tool=yes
7690 fi
7691 rm -f conftest*
7692fi
7693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7694$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7695if test "x$lt_cv_path_mainfest_tool" != xyes; then
7696 MANIFEST_TOOL=:
7697fi
7698
7699
7700
7701
7702
7703
7704 case $host_os in
7705 rhapsody* | darwin*)
7706 if test -n "$ac_tool_prefix"; then
7707 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7708set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7710$as_echo_n "checking for $ac_word... " >&6; }
7711if ${ac_cv_prog_DSYMUTIL+:} false; then :
7712 $as_echo_n "(cached) " >&6
7713else
7714 if test -n "$DSYMUTIL"; then
7715 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7716else
7717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718for as_dir in $PATH
7719do
7720 IFS=$as_save_IFS
7721 test -z "$as_dir" && as_dir=.
7722 for ac_exec_ext in '' $ac_executable_extensions; do
7723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7724 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7726 break 2
7727 fi
7728done
7729 done
7730IFS=$as_save_IFS
7731
7732fi
7733fi
7734DSYMUTIL=$ac_cv_prog_DSYMUTIL
7735if test -n "$DSYMUTIL"; then
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7737$as_echo "$DSYMUTIL" >&6; }
7738else
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7740$as_echo "no" >&6; }
7741fi
7742
7743
7744fi
7745if test -z "$ac_cv_prog_DSYMUTIL"; then
7746 ac_ct_DSYMUTIL=$DSYMUTIL
7747 # Extract the first word of "dsymutil", so it can be a program name with args.
7748set dummy dsymutil; ac_word=$2
7749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7750$as_echo_n "checking for $ac_word... " >&6; }
7751if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7752 $as_echo_n "(cached) " >&6
7753else
7754 if test -n "$ac_ct_DSYMUTIL"; then
7755 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7756else
7757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758for as_dir in $PATH
7759do
7760 IFS=$as_save_IFS
7761 test -z "$as_dir" && as_dir=.
7762 for ac_exec_ext in '' $ac_executable_extensions; do
7763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7764 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 break 2
7767 fi
7768done
7769 done
7770IFS=$as_save_IFS
7771
7772fi
7773fi
7774ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7775if test -n "$ac_ct_DSYMUTIL"; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7777$as_echo "$ac_ct_DSYMUTIL" >&6; }
7778else
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780$as_echo "no" >&6; }
7781fi
7782
7783 if test "x$ac_ct_DSYMUTIL" = x; then
7784 DSYMUTIL=":"
7785 else
7786 case $cross_compiling:$ac_tool_warned in
7787yes:)
7788{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7789$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7790ac_tool_warned=yes ;;
7791esac
7792 DSYMUTIL=$ac_ct_DSYMUTIL
7793 fi
7794else
7795 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7796fi
7797
7798 if test -n "$ac_tool_prefix"; then
7799 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7800set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7802$as_echo_n "checking for $ac_word... " >&6; }
7803if ${ac_cv_prog_NMEDIT+:} false; then :
7804 $as_echo_n "(cached) " >&6
7805else
7806 if test -n "$NMEDIT"; then
7807 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7808else
7809as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7810for as_dir in $PATH
7811do
7812 IFS=$as_save_IFS
7813 test -z "$as_dir" && as_dir=.
7814 for ac_exec_ext in '' $ac_executable_extensions; do
7815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7816 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7818 break 2
7819 fi
7820done
7821 done
7822IFS=$as_save_IFS
7823
7824fi
7825fi
7826NMEDIT=$ac_cv_prog_NMEDIT
7827if test -n "$NMEDIT"; then
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7829$as_echo "$NMEDIT" >&6; }
7830else
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7832$as_echo "no" >&6; }
7833fi
7834
7835
7836fi
7837if test -z "$ac_cv_prog_NMEDIT"; then
7838 ac_ct_NMEDIT=$NMEDIT
7839 # Extract the first word of "nmedit", so it can be a program name with args.
7840set dummy nmedit; ac_word=$2
7841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7842$as_echo_n "checking for $ac_word... " >&6; }
7843if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7844 $as_echo_n "(cached) " >&6
7845else
7846 if test -n "$ac_ct_NMEDIT"; then
7847 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7848else
7849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7850for as_dir in $PATH
7851do
7852 IFS=$as_save_IFS
7853 test -z "$as_dir" && as_dir=.
7854 for ac_exec_ext in '' $ac_executable_extensions; do
7855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7856 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7858 break 2
7859 fi
7860done
7861 done
7862IFS=$as_save_IFS
7863
7864fi
7865fi
7866ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7867if test -n "$ac_ct_NMEDIT"; then
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7869$as_echo "$ac_ct_NMEDIT" >&6; }
7870else
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7872$as_echo "no" >&6; }
7873fi
7874
7875 if test "x$ac_ct_NMEDIT" = x; then
7876 NMEDIT=":"
7877 else
7878 case $cross_compiling:$ac_tool_warned in
7879yes:)
7880{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7881$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7882ac_tool_warned=yes ;;
7883esac
7884 NMEDIT=$ac_ct_NMEDIT
7885 fi
7886else
7887 NMEDIT="$ac_cv_prog_NMEDIT"
7888fi
7889
7890 if test -n "$ac_tool_prefix"; then
7891 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7892set dummy ${ac_tool_prefix}lipo; ac_word=$2
7893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7894$as_echo_n "checking for $ac_word... " >&6; }
7895if ${ac_cv_prog_LIPO+:} false; then :
7896 $as_echo_n "(cached) " >&6
7897else
7898 if test -n "$LIPO"; then
7899 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7900else
7901as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7902for as_dir in $PATH
7903do
7904 IFS=$as_save_IFS
7905 test -z "$as_dir" && as_dir=.
7906 for ac_exec_ext in '' $ac_executable_extensions; do
7907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7908 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7910 break 2
7911 fi
7912done
7913 done
7914IFS=$as_save_IFS
7915
7916fi
7917fi
7918LIPO=$ac_cv_prog_LIPO
7919if test -n "$LIPO"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7921$as_echo "$LIPO" >&6; }
7922else
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7924$as_echo "no" >&6; }
7925fi
7926
7927
7928fi
7929if test -z "$ac_cv_prog_LIPO"; then
7930 ac_ct_LIPO=$LIPO
7931 # Extract the first word of "lipo", so it can be a program name with args.
7932set dummy lipo; ac_word=$2
7933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7934$as_echo_n "checking for $ac_word... " >&6; }
7935if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7936 $as_echo_n "(cached) " >&6
7937else
7938 if test -n "$ac_ct_LIPO"; then
7939 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7940else
7941as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7942for as_dir in $PATH
7943do
7944 IFS=$as_save_IFS
7945 test -z "$as_dir" && as_dir=.
7946 for ac_exec_ext in '' $ac_executable_extensions; do
7947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7948 ac_cv_prog_ac_ct_LIPO="lipo"
7949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7950 break 2
7951 fi
7952done
7953 done
7954IFS=$as_save_IFS
7955
7956fi
7957fi
7958ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7959if test -n "$ac_ct_LIPO"; then
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7961$as_echo "$ac_ct_LIPO" >&6; }
7962else
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7964$as_echo "no" >&6; }
7965fi
7966
7967 if test "x$ac_ct_LIPO" = x; then
7968 LIPO=":"
7969 else
7970 case $cross_compiling:$ac_tool_warned in
7971yes:)
7972{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7973$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7974ac_tool_warned=yes ;;
7975esac
7976 LIPO=$ac_ct_LIPO
7977 fi
7978else
7979 LIPO="$ac_cv_prog_LIPO"
7980fi
7981
7982 if test -n "$ac_tool_prefix"; then
7983 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7984set dummy ${ac_tool_prefix}otool; ac_word=$2
7985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7986$as_echo_n "checking for $ac_word... " >&6; }
7987if ${ac_cv_prog_OTOOL+:} false; then :
7988 $as_echo_n "(cached) " >&6
7989else
7990 if test -n "$OTOOL"; then
7991 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7992else
7993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7994for as_dir in $PATH
7995do
7996 IFS=$as_save_IFS
7997 test -z "$as_dir" && as_dir=.
7998 for ac_exec_ext in '' $ac_executable_extensions; do
7999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8000 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8002 break 2
8003 fi
8004done
8005 done
8006IFS=$as_save_IFS
8007
8008fi
8009fi
8010OTOOL=$ac_cv_prog_OTOOL
8011if test -n "$OTOOL"; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8013$as_echo "$OTOOL" >&6; }
8014else
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8016$as_echo "no" >&6; }
8017fi
8018
8019
8020fi
8021if test -z "$ac_cv_prog_OTOOL"; then
8022 ac_ct_OTOOL=$OTOOL
8023 # Extract the first word of "otool", so it can be a program name with args.
8024set dummy otool; ac_word=$2
8025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8026$as_echo_n "checking for $ac_word... " >&6; }
8027if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8028 $as_echo_n "(cached) " >&6
8029else
8030 if test -n "$ac_ct_OTOOL"; then
8031 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8032else
8033as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8034for as_dir in $PATH
8035do
8036 IFS=$as_save_IFS
8037 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8040 ac_cv_prog_ac_ct_OTOOL="otool"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 break 2
8043 fi
8044done
8045 done
8046IFS=$as_save_IFS
8047
8048fi
8049fi
8050ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8051if test -n "$ac_ct_OTOOL"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8053$as_echo "$ac_ct_OTOOL" >&6; }
8054else
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8056$as_echo "no" >&6; }
8057fi
8058
8059 if test "x$ac_ct_OTOOL" = x; then
8060 OTOOL=":"
8061 else
8062 case $cross_compiling:$ac_tool_warned in
8063yes:)
8064{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8065$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8066ac_tool_warned=yes ;;
8067esac
8068 OTOOL=$ac_ct_OTOOL
8069 fi
8070else
8071 OTOOL="$ac_cv_prog_OTOOL"
8072fi
8073
8074 if test -n "$ac_tool_prefix"; then
8075 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8076set dummy ${ac_tool_prefix}otool64; ac_word=$2
8077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8078$as_echo_n "checking for $ac_word... " >&6; }
8079if ${ac_cv_prog_OTOOL64+:} false; then :
8080 $as_echo_n "(cached) " >&6
8081else
8082 if test -n "$OTOOL64"; then
8083 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8084else
8085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8086for as_dir in $PATH
8087do
8088 IFS=$as_save_IFS
8089 test -z "$as_dir" && as_dir=.
8090 for ac_exec_ext in '' $ac_executable_extensions; do
8091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8092 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8094 break 2
8095 fi
8096done
8097 done
8098IFS=$as_save_IFS
8099
8100fi
8101fi
8102OTOOL64=$ac_cv_prog_OTOOL64
8103if test -n "$OTOOL64"; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8105$as_echo "$OTOOL64" >&6; }
8106else
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8108$as_echo "no" >&6; }
8109fi
8110
8111
8112fi
8113if test -z "$ac_cv_prog_OTOOL64"; then
8114 ac_ct_OTOOL64=$OTOOL64
8115 # Extract the first word of "otool64", so it can be a program name with args.
8116set dummy otool64; ac_word=$2
8117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8118$as_echo_n "checking for $ac_word... " >&6; }
8119if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8120 $as_echo_n "(cached) " >&6
8121else
8122 if test -n "$ac_ct_OTOOL64"; then
8123 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8124else
8125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8126for as_dir in $PATH
8127do
8128 IFS=$as_save_IFS
8129 test -z "$as_dir" && as_dir=.
8130 for ac_exec_ext in '' $ac_executable_extensions; do
8131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8132 ac_cv_prog_ac_ct_OTOOL64="otool64"
8133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8134 break 2
8135 fi
8136done
8137 done
8138IFS=$as_save_IFS
8139
8140fi
8141fi
8142ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8143if test -n "$ac_ct_OTOOL64"; then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8145$as_echo "$ac_ct_OTOOL64" >&6; }
8146else
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148$as_echo "no" >&6; }
8149fi
8150
8151 if test "x$ac_ct_OTOOL64" = x; then
8152 OTOOL64=":"
8153 else
8154 case $cross_compiling:$ac_tool_warned in
8155yes:)
8156{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8157$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8158ac_tool_warned=yes ;;
8159esac
8160 OTOOL64=$ac_ct_OTOOL64
8161 fi
8162else
8163 OTOOL64="$ac_cv_prog_OTOOL64"
8164fi
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8193$as_echo_n "checking for -single_module linker flag... " >&6; }
8194if ${lt_cv_apple_cc_single_mod+:} false; then :
8195 $as_echo_n "(cached) " >&6
8196else
8197 lt_cv_apple_cc_single_mod=no
8198 if test -z "${LT_MULTI_MODULE}"; then
8199 # By default we will add the -single_module flag. You can override
8200 # by either setting the environment variable LT_MULTI_MODULE
8201 # non-empty at configure time, or by adding -multi_module to the
8202 # link flags.
8203 rm -rf libconftest.dylib*
8204 echo "int foo(void){return 1;}" > conftest.c
8205 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8206-dynamiclib -Wl,-single_module conftest.c" >&5
8207 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8208 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8209 _lt_result=$?
8210 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8211 lt_cv_apple_cc_single_mod=yes
8212 else
8213 cat conftest.err >&5
8214 fi
8215 rm -rf libconftest.dylib*
8216 rm -f conftest.*
8217 fi
8218fi
8219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8220$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8222$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8223if ${lt_cv_ld_exported_symbols_list+:} false; then :
8224 $as_echo_n "(cached) " >&6
8225else
8226 lt_cv_ld_exported_symbols_list=no
8227 save_LDFLAGS=$LDFLAGS
8228 echo "_main" > conftest.sym
8229 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8231/* end confdefs.h. */
8232
8233int
8234main ()
8235{
8236
8237 ;
8238 return 0;
8239}
8240_ACEOF
8241if ac_fn_c_try_link "$LINENO"; then :
8242 lt_cv_ld_exported_symbols_list=yes
8243else
8244 lt_cv_ld_exported_symbols_list=no
8245fi
8246rm -f core conftest.err conftest.$ac_objext \
8247 conftest$ac_exeext conftest.$ac_ext
8248 LDFLAGS="$save_LDFLAGS"
8249
8250fi
8251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8252$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8254$as_echo_n "checking for -force_load linker flag... " >&6; }
8255if ${lt_cv_ld_force_load+:} false; then :
8256 $as_echo_n "(cached) " >&6
8257else
8258 lt_cv_ld_force_load=no
8259 cat > conftest.c << _LT_EOF
8260int forced_loaded() { return 2;}
8261_LT_EOF
8262 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8263 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8264 echo "$AR cru libconftest.a conftest.o" >&5
8265 $AR cru libconftest.a conftest.o 2>&5
8266 echo "$RANLIB libconftest.a" >&5
8267 $RANLIB libconftest.a 2>&5
8268 cat > conftest.c << _LT_EOF
8269int main() { return 0;}
8270_LT_EOF
8271 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8272 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8273 _lt_result=$?
8274 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8275 lt_cv_ld_force_load=yes
8276 else
8277 cat conftest.err >&5
8278 fi
8279 rm -f conftest.err libconftest.a conftest conftest.c
8280 rm -rf conftest.dSYM
8281
8282fi
8283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8284$as_echo "$lt_cv_ld_force_load" >&6; }
8285 case $host_os in
8286 rhapsody* | darwin1.[012])
8287 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8288 darwin1.*)
8289 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8290 darwin*) # darwin 5.x on
8291 # if running on 10.5 or later, the deployment target defaults
8292 # to the OS version, if on x86, and 10.4, the deployment
8293 # target defaults to 10.4. Don't you love it?
8294 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8295 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8296 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8297 10.[012]*)
8298 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8299 10.*)
8300 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8301 esac
8302 ;;
8303 esac
8304 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8305 _lt_dar_single_mod='$single_module'
8306 fi
8307 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8308 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8309 else
8310 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8311 fi
8312 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8313 _lt_dsymutil='~$DSYMUTIL $lib || :'
8314 else
8315 _lt_dsymutil=
8316 fi
8317 ;;
8318 esac
8319
8320ac_ext=c
8321ac_cpp='$CPP $CPPFLAGS'
8322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8324ac_compiler_gnu=$ac_cv_c_compiler_gnu
8325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8326$as_echo_n "checking how to run the C preprocessor... " >&6; }
8327# On Suns, sometimes $CPP names a directory.
8328if test -n "$CPP" && test -d "$CPP"; then
8329 CPP=
8330fi
8331if test -z "$CPP"; then
8332 if ${ac_cv_prog_CPP+:} false; then :
8333 $as_echo_n "(cached) " >&6
8334else
8335 # Double quotes because CPP needs to be expanded
8336 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8337 do
8338 ac_preproc_ok=false
8339for ac_c_preproc_warn_flag in '' yes
8340do
8341 # Use a header file that comes with gcc, so configuring glibc
8342 # with a fresh cross-compiler works.
8343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8344 # <limits.h> exists even on freestanding compilers.
8345 # On the NeXT, cc -E runs the code through the compiler's parser,
8346 # not just through cpp. "Syntax error" is here to catch this case.
8347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8348/* end confdefs.h. */
8349#ifdef __STDC__
8350# include <limits.h>
8351#else
8352# include <assert.h>
8353#endif
8354 Syntax error
8355_ACEOF
8356if ac_fn_c_try_cpp "$LINENO"; then :
8357
8358else
8359 # Broken: fails on valid input.
8360continue
8361fi
8362rm -f conftest.err conftest.i conftest.$ac_ext
8363
8364 # OK, works on sane cases. Now check whether nonexistent headers
8365 # can be detected and how.
8366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367/* end confdefs.h. */
8368#include <ac_nonexistent.h>
8369_ACEOF
8370if ac_fn_c_try_cpp "$LINENO"; then :
8371 # Broken: success on invalid input.
8372continue
8373else
8374 # Passes both tests.
8375ac_preproc_ok=:
8376break
8377fi
8378rm -f conftest.err conftest.i conftest.$ac_ext
8379
8380done
8381# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8382rm -f conftest.i conftest.err conftest.$ac_ext
8383if $ac_preproc_ok; then :
8384 break
8385fi
8386
8387 done
8388 ac_cv_prog_CPP=$CPP
8389
8390fi
8391 CPP=$ac_cv_prog_CPP
8392else
8393 ac_cv_prog_CPP=$CPP
8394fi
8395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8396$as_echo "$CPP" >&6; }
8397ac_preproc_ok=false
8398for ac_c_preproc_warn_flag in '' yes
8399do
8400 # Use a header file that comes with gcc, so configuring glibc
8401 # with a fresh cross-compiler works.
8402 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8403 # <limits.h> exists even on freestanding compilers.
8404 # On the NeXT, cc -E runs the code through the compiler's parser,
8405 # not just through cpp. "Syntax error" is here to catch this case.
8406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8407/* end confdefs.h. */
8408#ifdef __STDC__
8409# include <limits.h>
8410#else
8411# include <assert.h>
8412#endif
8413 Syntax error
8414_ACEOF
8415if ac_fn_c_try_cpp "$LINENO"; then :
8416
8417else
8418 # Broken: fails on valid input.
8419continue
8420fi
8421rm -f conftest.err conftest.i conftest.$ac_ext
8422
8423 # OK, works on sane cases. Now check whether nonexistent headers
8424 # can be detected and how.
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426/* end confdefs.h. */
8427#include <ac_nonexistent.h>
8428_ACEOF
8429if ac_fn_c_try_cpp "$LINENO"; then :
8430 # Broken: success on invalid input.
8431continue
8432else
8433 # Passes both tests.
8434ac_preproc_ok=:
8435break
8436fi
8437rm -f conftest.err conftest.i conftest.$ac_ext
8438
8439done
8440# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8441rm -f conftest.i conftest.err conftest.$ac_ext
8442if $ac_preproc_ok; then :
8443
8444else
8445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8446$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8447as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8448See \`config.log' for more details" "$LINENO" 5; }
8449fi
8450
8451ac_ext=c
8452ac_cpp='$CPP $CPPFLAGS'
8453ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8454ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8455ac_compiler_gnu=$ac_cv_c_compiler_gnu
8456
8457
8458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8459$as_echo_n "checking for ANSI C header files... " >&6; }
8460if ${ac_cv_header_stdc+:} false; then :
8461 $as_echo_n "(cached) " >&6
8462else
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464/* end confdefs.h. */
8465#include <stdlib.h>
8466#include <stdarg.h>
8467#include <string.h>
8468#include <float.h>
8469
8470int
8471main ()
8472{
8473
8474 ;
8475 return 0;
8476}
8477_ACEOF
8478if ac_fn_c_try_compile "$LINENO"; then :
8479 ac_cv_header_stdc=yes
8480else
8481 ac_cv_header_stdc=no
8482fi
8483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8484
8485if test $ac_cv_header_stdc = yes; then
8486 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488/* end confdefs.h. */
8489#include <string.h>
8490
8491_ACEOF
8492if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8493 $EGREP "memchr" >/dev/null 2>&1; then :
8494
8495else
8496 ac_cv_header_stdc=no
8497fi
8498rm -f conftest*
8499
8500fi
8501
8502if test $ac_cv_header_stdc = yes; then
8503 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505/* end confdefs.h. */
8506#include <stdlib.h>
8507
8508_ACEOF
8509if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8510 $EGREP "free" >/dev/null 2>&1; then :
8511
8512else
8513 ac_cv_header_stdc=no
8514fi
8515rm -f conftest*
8516
8517fi
8518
8519if test $ac_cv_header_stdc = yes; then
8520 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8521 if test "$cross_compiling" = yes; then :
8522 :
8523else
8524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8525/* end confdefs.h. */
8526#include <ctype.h>
8527#include <stdlib.h>
8528#if ((' ' & 0x0FF) == 0x020)
8529# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8530# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8531#else
8532# define ISLOWER(c) \
8533 (('a' <= (c) && (c) <= 'i') \
8534 || ('j' <= (c) && (c) <= 'r') \
8535 || ('s' <= (c) && (c) <= 'z'))
8536# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8537#endif
8538
8539#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8540int
8541main ()
8542{
8543 int i;
8544 for (i = 0; i < 256; i++)
8545 if (XOR (islower (i), ISLOWER (i))
8546 || toupper (i) != TOUPPER (i))
8547 return 2;
8548 return 0;
8549}
8550_ACEOF
8551if ac_fn_c_try_run "$LINENO"; then :
8552
8553else
8554 ac_cv_header_stdc=no
8555fi
8556rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8557 conftest.$ac_objext conftest.beam conftest.$ac_ext
8558fi
8559
8560fi
8561fi
8562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8563$as_echo "$ac_cv_header_stdc" >&6; }
8564if test $ac_cv_header_stdc = yes; then
8565
8566$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8567
8568fi
8569
8570# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8571for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8572 inttypes.h stdint.h unistd.h
8573do :
8574 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8575ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8576"
8577if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8578 cat >>confdefs.h <<_ACEOF
8579#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8580_ACEOF
8581
8582fi
8583
8584done
8585
8586
8587for ac_header in dlfcn.h
8588do :
8589 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8590"
8591if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8592 cat >>confdefs.h <<_ACEOF
8593#define HAVE_DLFCN_H 1
8594_ACEOF
8595
8596fi
8597
8598done
8599
8600
8601
8602func_stripname_cnf ()
8603{
8604 case ${2} in
8605 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8606 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8607 esac
8608} # func_stripname_cnf
8609
8610
8611
8612
8613
8614# Set options
8615
8616
8617
8618 enable_dlopen=no
8619
8620
8621 enable_win32_dll=no
8622
8623
8624 # Check whether --enable-shared was given.
8625if test "${enable_shared+set}" = set; then :
8626 enableval=$enable_shared; p=${PACKAGE-default}
8627 case $enableval in
8628 yes) enable_shared=yes ;;
8629 no) enable_shared=no ;;
8630 *)
8631 enable_shared=no
8632 # Look at the argument we got. We use all the common list separators.
8633 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8634 for pkg in $enableval; do
8635 IFS="$lt_save_ifs"
8636 if test "X$pkg" = "X$p"; then
8637 enable_shared=yes
8638 fi
8639 done
8640 IFS="$lt_save_ifs"
8641 ;;
8642 esac
8643else
8644 enable_shared=yes
8645fi
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655 # Check whether --enable-static was given.
8656if test "${enable_static+set}" = set; then :
8657 enableval=$enable_static; p=${PACKAGE-default}
8658 case $enableval in
8659 yes) enable_static=yes ;;
8660 no) enable_static=no ;;
8661 *)
8662 enable_static=no
8663 # Look at the argument we got. We use all the common list separators.
8664 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8665 for pkg in $enableval; do
8666 IFS="$lt_save_ifs"
8667 if test "X$pkg" = "X$p"; then
8668 enable_static=yes
8669 fi
8670 done
8671 IFS="$lt_save_ifs"
8672 ;;
8673 esac
8674else
8675 enable_static=yes
8676fi
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687# Check whether --with-pic was given.
8688if test "${with_pic+set}" = set; then :
8689 withval=$with_pic; pic_mode="$withval"
8690else
8691 pic_mode=default
8692fi
8693
8694
8695test -z "$pic_mode" && pic_mode=default
8696
8697
8698
8699
8700
8701
8702
8703 # Check whether --enable-fast-install was given.
8704if test "${enable_fast_install+set}" = set; then :
8705 enableval=$enable_fast_install; p=${PACKAGE-default}
8706 case $enableval in
8707 yes) enable_fast_install=yes ;;
8708 no) enable_fast_install=no ;;
8709 *)
8710 enable_fast_install=no
8711 # Look at the argument we got. We use all the common list separators.
8712 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8713 for pkg in $enableval; do
8714 IFS="$lt_save_ifs"
8715 if test "X$pkg" = "X$p"; then
8716 enable_fast_install=yes
8717 fi
8718 done
8719 IFS="$lt_save_ifs"
8720 ;;
8721 esac
8722else
8723 enable_fast_install=yes
8724fi
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736# This can be used to rebuild libtool when needed
8737LIBTOOL_DEPS="$ltmain"
8738
8739# Always use our own libtool.
8740LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767test -z "$LN_S" && LN_S="ln -s"
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782if test -n "${ZSH_VERSION+set}" ; then
8783 setopt NO_GLOB_SUBST
8784fi
8785
8786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8787$as_echo_n "checking for objdir... " >&6; }
8788if ${lt_cv_objdir+:} false; then :
8789 $as_echo_n "(cached) " >&6
8790else
8791 rm -f .libs 2>/dev/null
8792mkdir .libs 2>/dev/null
8793if test -d .libs; then
8794 lt_cv_objdir=.libs
8795else
8796 # MS-DOS does not allow filenames that begin with a dot.
8797 lt_cv_objdir=_libs
8798fi
8799rmdir .libs 2>/dev/null
8800fi
8801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8802$as_echo "$lt_cv_objdir" >&6; }
8803objdir=$lt_cv_objdir
8804
8805
8806
8807
8808
8809cat >>confdefs.h <<_ACEOF
8810#define LT_OBJDIR "$lt_cv_objdir/"
8811_ACEOF
8812
8813
8814
8815
8816case $host_os in
8817aix3*)
8818 # AIX sometimes has problems with the GCC collect2 program. For some
8819 # reason, if we set the COLLECT_NAMES environment variable, the problems
8820 # vanish in a puff of smoke.
8821 if test "X${COLLECT_NAMES+set}" != Xset; then
8822 COLLECT_NAMES=
8823 export COLLECT_NAMES
8824 fi
8825 ;;
8826esac
8827
8828# Global variables:
8829ofile=libtool
8830can_build_shared=yes
8831
8832# All known linkers require a `.a' archive for static linking (except MSVC,
8833# which needs '.lib').
8834libext=a
8835
8836with_gnu_ld="$lt_cv_prog_gnu_ld"
8837
8838old_CC="$CC"
8839old_CFLAGS="$CFLAGS"
8840
8841# Set sane defaults for various variables
8842test -z "$CC" && CC=cc
8843test -z "$LTCC" && LTCC=$CC
8844test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8845test -z "$LD" && LD=ld
8846test -z "$ac_objext" && ac_objext=o
8847
8848for cc_temp in $compiler""; do
8849 case $cc_temp in
8850 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8851 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8852 \-*) ;;
8853 *) break;;
8854 esac
8855done
8856cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8857
8858
8859# Only perform the check for file, if the check method requires it
8860test -z "$MAGIC_CMD" && MAGIC_CMD=file
8861case $deplibs_check_method in
8862file_magic*)
8863 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8865$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8866if ${lt_cv_path_MAGIC_CMD+:} false; then :
8867 $as_echo_n "(cached) " >&6
8868else
8869 case $MAGIC_CMD in
8870[\\/*] | ?:[\\/]*)
8871 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8872 ;;
8873*)
8874 lt_save_MAGIC_CMD="$MAGIC_CMD"
8875 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8876 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8877 for ac_dir in $ac_dummy; do
8878 IFS="$lt_save_ifs"
8879 test -z "$ac_dir" && ac_dir=.
8880 if test -f $ac_dir/${ac_tool_prefix}file; then
8881 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8882 if test -n "$file_magic_test_file"; then
8883 case $deplibs_check_method in
8884 "file_magic "*)
8885 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8886 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8887 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8888 $EGREP "$file_magic_regex" > /dev/null; then
8889 :
8890 else
8891 cat <<_LT_EOF 1>&2
8892
8893*** Warning: the command libtool uses to detect shared libraries,
8894*** $file_magic_cmd, produces output that libtool cannot recognize.
8895*** The result is that libtool may fail to recognize shared libraries
8896*** as such. This will affect the creation of libtool libraries that
8897*** depend on shared libraries, but programs linked with such libtool
8898*** libraries will work regardless of this problem. Nevertheless, you
8899*** may want to report the problem to your system manager and/or to
8900*** bug-libtool@gnu.org
8901
8902_LT_EOF
8903 fi ;;
8904 esac
8905 fi
8906 break
8907 fi
8908 done
8909 IFS="$lt_save_ifs"
8910 MAGIC_CMD="$lt_save_MAGIC_CMD"
8911 ;;
8912esac
8913fi
8914
8915MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8916if test -n "$MAGIC_CMD"; then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8918$as_echo "$MAGIC_CMD" >&6; }
8919else
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8921$as_echo "no" >&6; }
8922fi
8923
8924
8925
8926
8927
8928if test -z "$lt_cv_path_MAGIC_CMD"; then
8929 if test -n "$ac_tool_prefix"; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8931$as_echo_n "checking for file... " >&6; }
8932if ${lt_cv_path_MAGIC_CMD+:} false; then :
8933 $as_echo_n "(cached) " >&6
8934else
8935 case $MAGIC_CMD in
8936[\\/*] | ?:[\\/]*)
8937 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8938 ;;
8939*)
8940 lt_save_MAGIC_CMD="$MAGIC_CMD"
8941 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8942 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8943 for ac_dir in $ac_dummy; do
8944 IFS="$lt_save_ifs"
8945 test -z "$ac_dir" && ac_dir=.
8946 if test -f $ac_dir/file; then
8947 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8948 if test -n "$file_magic_test_file"; then
8949 case $deplibs_check_method in
8950 "file_magic "*)
8951 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8952 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8953 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8954 $EGREP "$file_magic_regex" > /dev/null; then
8955 :
8956 else
8957 cat <<_LT_EOF 1>&2
8958
8959*** Warning: the command libtool uses to detect shared libraries,
8960*** $file_magic_cmd, produces output that libtool cannot recognize.
8961*** The result is that libtool may fail to recognize shared libraries
8962*** as such. This will affect the creation of libtool libraries that
8963*** depend on shared libraries, but programs linked with such libtool
8964*** libraries will work regardless of this problem. Nevertheless, you
8965*** may want to report the problem to your system manager and/or to
8966*** bug-libtool@gnu.org
8967
8968_LT_EOF
8969 fi ;;
8970 esac
8971 fi
8972 break
8973 fi
8974 done
8975 IFS="$lt_save_ifs"
8976 MAGIC_CMD="$lt_save_MAGIC_CMD"
8977 ;;
8978esac
8979fi
8980
8981MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8982if test -n "$MAGIC_CMD"; then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8984$as_echo "$MAGIC_CMD" >&6; }
8985else
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8987$as_echo "no" >&6; }
8988fi
8989
8990
8991 else
8992 MAGIC_CMD=:
8993 fi
8994fi
8995
8996 fi
8997 ;;
8998esac
8999
9000# Use C for the default configuration in the libtool script
9001
9002lt_save_CC="$CC"
9003ac_ext=c
9004ac_cpp='$CPP $CPPFLAGS'
9005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9007ac_compiler_gnu=$ac_cv_c_compiler_gnu
9008
9009
9010# Source file extension for C test sources.
9011ac_ext=c
9012
9013# Object file extension for compiled C test sources.
9014objext=o
9015objext=$objext
9016
9017# Code to be used in simple compile tests
9018lt_simple_compile_test_code="int some_variable = 0;"
9019
9020# Code to be used in simple link tests
9021lt_simple_link_test_code='int main(){return(0);}'
9022
9023
9024
9025
9026
9027
9028
9029# If no C compiler was specified, use CC.
9030LTCC=${LTCC-"$CC"}
9031
9032# If no C compiler flags were specified, use CFLAGS.
9033LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9034
9035# Allow CC to be a program name with arguments.
9036compiler=$CC
9037
9038# Save the default compiler, since it gets overwritten when the other
9039# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9040compiler_DEFAULT=$CC
9041
9042# save warnings/boilerplate of simple test code
9043ac_outfile=conftest.$ac_objext
9044echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9045eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9046_lt_compiler_boilerplate=`cat conftest.err`
9047$RM conftest*
9048
9049ac_outfile=conftest.$ac_objext
9050echo "$lt_simple_link_test_code" >conftest.$ac_ext
9051eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9052_lt_linker_boilerplate=`cat conftest.err`
9053$RM -r conftest*
9054
9055
9056## CAVEAT EMPTOR:
9057## There is no encapsulation within the following macros, do not change
9058## the running order or otherwise move them around unless you know exactly
9059## what you are doing...
9060if test -n "$compiler"; then
9061
9062lt_prog_compiler_no_builtin_flag=
9063
9064if test "$GCC" = yes; then
9065 case $cc_basename in
9066 nvcc*)
9067 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9068 *)
9069 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9070 esac
9071
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9073$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9074if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9075 $as_echo_n "(cached) " >&6
9076else
9077 lt_cv_prog_compiler_rtti_exceptions=no
9078 ac_outfile=conftest.$ac_objext
9079 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9080 lt_compiler_flag="-fno-rtti -fno-exceptions"
9081 # Insert the option either (1) after the last *FLAGS variable, or
9082 # (2) before a word containing "conftest.", or (3) at the end.
9083 # Note that $ac_compile itself does not contain backslashes and begins
9084 # with a dollar sign (not a hyphen), so the echo should work correctly.
9085 # The option is referenced via a variable to avoid confusing sed.
9086 lt_compile=`echo "$ac_compile" | $SED \
9087 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9088 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9089 -e 's:$: $lt_compiler_flag:'`
9090 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9091 (eval "$lt_compile" 2>conftest.err)
9092 ac_status=$?
9093 cat conftest.err >&5
9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095 if (exit $ac_status) && test -s "$ac_outfile"; then
9096 # The compiler can only warn and ignore the option if not recognized
9097 # So say no if there are warnings other than the usual output.
9098 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9099 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9100 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9101 lt_cv_prog_compiler_rtti_exceptions=yes
9102 fi
9103 fi
9104 $RM conftest*
9105
9106fi
9107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9108$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9109
9110if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9111 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9112else
9113 :
9114fi
9115
9116fi
9117
9118
9119
9120
9121
9122
9123 lt_prog_compiler_wl=
9124lt_prog_compiler_pic=
9125lt_prog_compiler_static=
9126
9127
9128 if test "$GCC" = yes; then
9129 lt_prog_compiler_wl='-Wl,'
9130 lt_prog_compiler_static='-static'
9131
9132 case $host_os in
9133 aix*)
9134 # All AIX code is PIC.
9135 if test "$host_cpu" = ia64; then
9136 # AIX 5 now supports IA64 processor
9137 lt_prog_compiler_static='-Bstatic'
9138 fi
9139 ;;
9140
9141 amigaos*)
9142 case $host_cpu in
9143 powerpc)
9144 # see comment about AmigaOS4 .so support
9145 lt_prog_compiler_pic='-fPIC'
9146 ;;
9147 m68k)
9148 # FIXME: we need at least 68020 code to build shared libraries, but
9149 # adding the `-m68020' flag to GCC prevents building anything better,
9150 # like `-m68040'.
9151 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9152 ;;
9153 esac
9154 ;;
9155
9156 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9157 # PIC is the default for these OSes.
9158 ;;
9159
9160 mingw* | cygwin* | pw32* | os2* | cegcc*)
9161 # This hack is so that the source file can tell whether it is being
9162 # built for inclusion in a dll (and should export symbols for example).
9163 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9164 # (--disable-auto-import) libraries
9165 lt_prog_compiler_pic='-DDLL_EXPORT'
9166 ;;
9167
9168 darwin* | rhapsody*)
9169 # PIC is the default on this platform
9170 # Common symbols not allowed in MH_DYLIB files
9171 lt_prog_compiler_pic='-fno-common'
9172 ;;
9173
9174 haiku*)
9175 # PIC is the default for Haiku.
9176 # The "-static" flag exists, but is broken.
9177 lt_prog_compiler_static=
9178 ;;
9179
9180 hpux*)
9181 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9182 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9183 # sets the default TLS model and affects inlining.
9184 case $host_cpu in
9185 hppa*64*)
9186 # +Z the default
9187 ;;
9188 *)
9189 lt_prog_compiler_pic='-fPIC'
9190 ;;
9191 esac
9192 ;;
9193
9194 interix[3-9]*)
9195 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9196 # Instead, we relocate shared libraries at runtime.
9197 ;;
9198
9199 msdosdjgpp*)
9200 # Just because we use GCC doesn't mean we suddenly get shared libraries
9201 # on systems that don't support them.
9202 lt_prog_compiler_can_build_shared=no
9203 enable_shared=no
9204 ;;
9205
9206 *nto* | *qnx*)
9207 # QNX uses GNU C++, but need to define -shared option too, otherwise
9208 # it will coredump.
9209 lt_prog_compiler_pic='-fPIC -shared'
9210 ;;
9211
9212 sysv4*MP*)
9213 if test -d /usr/nec; then
9214 lt_prog_compiler_pic=-Kconform_pic
9215 fi
9216 ;;
9217
9218 *)
9219 lt_prog_compiler_pic='-fPIC'
9220 ;;
9221 esac
9222
9223 case $cc_basename in
9224 nvcc*) # Cuda Compiler Driver 2.2
9225 lt_prog_compiler_wl='-Xlinker '
9226 lt_prog_compiler_pic='-Xcompiler -fPIC'
9227 ;;
9228 esac
9229 else
9230 # PORTME Check for flag to pass linker flags through the system compiler.
9231 case $host_os in
9232 aix*)
9233 lt_prog_compiler_wl='-Wl,'
9234 if test "$host_cpu" = ia64; then
9235 # AIX 5 now supports IA64 processor
9236 lt_prog_compiler_static='-Bstatic'
9237 else
9238 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9239 fi
9240 ;;
9241
9242 mingw* | cygwin* | pw32* | os2* | cegcc*)
9243 # This hack is so that the source file can tell whether it is being
9244 # built for inclusion in a dll (and should export symbols for example).
9245 lt_prog_compiler_pic='-DDLL_EXPORT'
9246 ;;
9247
9248 hpux9* | hpux10* | hpux11*)
9249 lt_prog_compiler_wl='-Wl,'
9250 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9251 # not for PA HP-UX.
9252 case $host_cpu in
9253 hppa*64*|ia64*)
9254 # +Z the default
9255 ;;
9256 *)
9257 lt_prog_compiler_pic='+Z'
9258 ;;
9259 esac
9260 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9261 lt_prog_compiler_static='${wl}-a ${wl}archive'
9262 ;;
9263
9264 irix5* | irix6* | nonstopux*)
9265 lt_prog_compiler_wl='-Wl,'
9266 # PIC (with -KPIC) is the default.
9267 lt_prog_compiler_static='-non_shared'
9268 ;;
9269
9270 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9271 case $cc_basename in
9272 # old Intel for x86_64 which still supported -KPIC.
9273 ecc*)
9274 lt_prog_compiler_wl='-Wl,'
9275 lt_prog_compiler_pic='-KPIC'
9276 lt_prog_compiler_static='-static'
9277 ;;
9278 # icc used to be incompatible with GCC.
9279 # ICC 10 doesn't accept -KPIC any more.
9280 icc* | ifort*)
9281 lt_prog_compiler_wl='-Wl,'
9282 lt_prog_compiler_pic='-fPIC'
9283 lt_prog_compiler_static='-static'
9284 ;;
9285 # Lahey Fortran 8.1.
9286 lf95*)
9287 lt_prog_compiler_wl='-Wl,'
9288 lt_prog_compiler_pic='--shared'
9289 lt_prog_compiler_static='--static'
9290 ;;
9291 nagfor*)
9292 # NAG Fortran compiler
9293 lt_prog_compiler_wl='-Wl,-Wl,,'
9294 lt_prog_compiler_pic='-PIC'
9295 lt_prog_compiler_static='-Bstatic'
9296 ;;
9297 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9298 # Portland Group compilers (*not* the Pentium gcc compiler,
9299 # which looks to be a dead project)
9300 lt_prog_compiler_wl='-Wl,'
9301 lt_prog_compiler_pic='-fpic'
9302 lt_prog_compiler_static='-Bstatic'
9303 ;;
9304 ccc*)
9305 lt_prog_compiler_wl='-Wl,'
9306 # All Alpha code is PIC.
9307 lt_prog_compiler_static='-non_shared'
9308 ;;
9309 xl* | bgxl* | bgf* | mpixl*)
9310 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9311 lt_prog_compiler_wl='-Wl,'
9312 lt_prog_compiler_pic='-qpic'
9313 lt_prog_compiler_static='-qstaticlink'
9314 ;;
9315 *)
9316 case `$CC -V 2>&1 | sed 5q` in
9317 *Sun\ F* | *Sun*Fortran*)
9318 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9319 lt_prog_compiler_pic='-KPIC'
9320 lt_prog_compiler_static='-Bstatic'
9321 lt_prog_compiler_wl=''
9322 ;;
9323 *Sun\ C*)
9324 # Sun C 5.9
9325 lt_prog_compiler_pic='-KPIC'
9326 lt_prog_compiler_static='-Bstatic'
9327 lt_prog_compiler_wl='-Wl,'
9328 ;;
9329 esac
9330 ;;
9331 esac
9332 ;;
9333
9334 newsos6)
9335 lt_prog_compiler_pic='-KPIC'
9336 lt_prog_compiler_static='-Bstatic'
9337 ;;
9338
9339 *nto* | *qnx*)
9340 # QNX uses GNU C++, but need to define -shared option too, otherwise
9341 # it will coredump.
9342 lt_prog_compiler_pic='-fPIC -shared'
9343 ;;
9344
9345 osf3* | osf4* | osf5*)
9346 lt_prog_compiler_wl='-Wl,'
9347 # All OSF/1 code is PIC.
9348 lt_prog_compiler_static='-non_shared'
9349 ;;
9350
9351 rdos*)
9352 lt_prog_compiler_static='-non_shared'
9353 ;;
9354
9355 solaris*)
9356 lt_prog_compiler_pic='-KPIC'
9357 lt_prog_compiler_static='-Bstatic'
9358 case $cc_basename in
9359 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9360 lt_prog_compiler_wl='-Qoption ld ';;
9361 *)
9362 lt_prog_compiler_wl='-Wl,';;
9363 esac
9364 ;;
9365
9366 sunos4*)
9367 lt_prog_compiler_wl='-Qoption ld '
9368 lt_prog_compiler_pic='-PIC'
9369 lt_prog_compiler_static='-Bstatic'
9370 ;;
9371
9372 sysv4 | sysv4.2uw2* | sysv4.3*)
9373 lt_prog_compiler_wl='-Wl,'
9374 lt_prog_compiler_pic='-KPIC'
9375 lt_prog_compiler_static='-Bstatic'
9376 ;;
9377
9378 sysv4*MP*)
9379 if test -d /usr/nec ;then
9380 lt_prog_compiler_pic='-Kconform_pic'
9381 lt_prog_compiler_static='-Bstatic'
9382 fi
9383 ;;
9384
9385 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9386 lt_prog_compiler_wl='-Wl,'
9387 lt_prog_compiler_pic='-KPIC'
9388 lt_prog_compiler_static='-Bstatic'
9389 ;;
9390
9391 unicos*)
9392 lt_prog_compiler_wl='-Wl,'
9393 lt_prog_compiler_can_build_shared=no
9394 ;;
9395
9396 uts4*)
9397 lt_prog_compiler_pic='-pic'
9398 lt_prog_compiler_static='-Bstatic'
9399 ;;
9400
9401 *)
9402 lt_prog_compiler_can_build_shared=no
9403 ;;
9404 esac
9405 fi
9406
9407case $host_os in
9408 # For platforms which do not support PIC, -DPIC is meaningless:
9409 *djgpp*)
9410 lt_prog_compiler_pic=
9411 ;;
9412 *)
9413 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9414 ;;
9415esac
9416
9417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9418$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9419if ${lt_cv_prog_compiler_pic+:} false; then :
9420 $as_echo_n "(cached) " >&6
9421else
9422 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9423fi
9424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9425$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9426lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9427
9428#
9429# Check to make sure the PIC flag actually works.
9430#
9431if test -n "$lt_prog_compiler_pic"; then
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9433$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9434if ${lt_cv_prog_compiler_pic_works+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436else
9437 lt_cv_prog_compiler_pic_works=no
9438 ac_outfile=conftest.$ac_objext
9439 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9440 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9441 # Insert the option either (1) after the last *FLAGS variable, or
9442 # (2) before a word containing "conftest.", or (3) at the end.
9443 # Note that $ac_compile itself does not contain backslashes and begins
9444 # with a dollar sign (not a hyphen), so the echo should work correctly.
9445 # The option is referenced via a variable to avoid confusing sed.
9446 lt_compile=`echo "$ac_compile" | $SED \
9447 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9448 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9449 -e 's:$: $lt_compiler_flag:'`
9450 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9451 (eval "$lt_compile" 2>conftest.err)
9452 ac_status=$?
9453 cat conftest.err >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 if (exit $ac_status) && test -s "$ac_outfile"; then
9456 # The compiler can only warn and ignore the option if not recognized
9457 # So say no if there are warnings other than the usual output.
9458 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9459 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9460 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9461 lt_cv_prog_compiler_pic_works=yes
9462 fi
9463 fi
9464 $RM conftest*
9465
9466fi
9467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9468$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9469
9470if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9471 case $lt_prog_compiler_pic in
9472 "" | " "*) ;;
9473 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9474 esac
9475else
9476 lt_prog_compiler_pic=
9477 lt_prog_compiler_can_build_shared=no
9478fi
9479
9480fi
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492#
9493# Check to make sure the static flag actually works.
9494#
9495wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9497$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9498if ${lt_cv_prog_compiler_static_works+:} false; then :
9499 $as_echo_n "(cached) " >&6
9500else
9501 lt_cv_prog_compiler_static_works=no
9502 save_LDFLAGS="$LDFLAGS"
9503 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9504 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9505 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9506 # The linker can only warn and ignore the option if not recognized
9507 # So say no if there are warnings
9508 if test -s conftest.err; then
9509 # Append any errors to the config.log.
9510 cat conftest.err 1>&5
9511 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9512 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9513 if diff conftest.exp conftest.er2 >/dev/null; then
9514 lt_cv_prog_compiler_static_works=yes
9515 fi
9516 else
9517 lt_cv_prog_compiler_static_works=yes
9518 fi
9519 fi
9520 $RM -r conftest*
9521 LDFLAGS="$save_LDFLAGS"
9522
9523fi
9524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9525$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9526
9527if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9528 :
9529else
9530 lt_prog_compiler_static=
9531fi
9532
9533
9534
9535
9536
9537
9538
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9540$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9541if ${lt_cv_prog_compiler_c_o+:} false; then :
9542 $as_echo_n "(cached) " >&6
9543else
9544 lt_cv_prog_compiler_c_o=no
9545 $RM -r conftest 2>/dev/null
9546 mkdir conftest
9547 cd conftest
9548 mkdir out
9549 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9550
9551 lt_compiler_flag="-o out/conftest2.$ac_objext"
9552 # Insert the option either (1) after the last *FLAGS variable, or
9553 # (2) before a word containing "conftest.", or (3) at the end.
9554 # Note that $ac_compile itself does not contain backslashes and begins
9555 # with a dollar sign (not a hyphen), so the echo should work correctly.
9556 lt_compile=`echo "$ac_compile" | $SED \
9557 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9558 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9559 -e 's:$: $lt_compiler_flag:'`
9560 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9561 (eval "$lt_compile" 2>out/conftest.err)
9562 ac_status=$?
9563 cat out/conftest.err >&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9566 then
9567 # The compiler can only warn and ignore the option if not recognized
9568 # So say no if there are warnings
9569 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9570 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9571 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9572 lt_cv_prog_compiler_c_o=yes
9573 fi
9574 fi
9575 chmod u+w . 2>&5
9576 $RM conftest*
9577 # SGI C++ compiler will create directory out/ii_files/ for
9578 # template instantiation
9579 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9580 $RM out/* && rmdir out
9581 cd ..
9582 $RM -r conftest
9583 $RM conftest*
9584
9585fi
9586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9587$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9588
9589
9590
9591
9592
9593
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9595$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9596if ${lt_cv_prog_compiler_c_o+:} false; then :
9597 $as_echo_n "(cached) " >&6
9598else
9599 lt_cv_prog_compiler_c_o=no
9600 $RM -r conftest 2>/dev/null
9601 mkdir conftest
9602 cd conftest
9603 mkdir out
9604 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9605
9606 lt_compiler_flag="-o out/conftest2.$ac_objext"
9607 # Insert the option either (1) after the last *FLAGS variable, or
9608 # (2) before a word containing "conftest.", or (3) at the end.
9609 # Note that $ac_compile itself does not contain backslashes and begins
9610 # with a dollar sign (not a hyphen), so the echo should work correctly.
9611 lt_compile=`echo "$ac_compile" | $SED \
9612 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9613 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9614 -e 's:$: $lt_compiler_flag:'`
9615 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9616 (eval "$lt_compile" 2>out/conftest.err)
9617 ac_status=$?
9618 cat out/conftest.err >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9621 then
9622 # The compiler can only warn and ignore the option if not recognized
9623 # So say no if there are warnings
9624 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9625 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9626 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9627 lt_cv_prog_compiler_c_o=yes
9628 fi
9629 fi
9630 chmod u+w . 2>&5
9631 $RM conftest*
9632 # SGI C++ compiler will create directory out/ii_files/ for
9633 # template instantiation
9634 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9635 $RM out/* && rmdir out
9636 cd ..
9637 $RM -r conftest
9638 $RM conftest*
9639
9640fi
9641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9642$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9643
9644
9645
9646
9647hard_links="nottested"
9648if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9649 # do not overwrite the value of need_locks provided by the user
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9651$as_echo_n "checking if we can lock with hard links... " >&6; }
9652 hard_links=yes
9653 $RM conftest*
9654 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9655 touch conftest.a
9656 ln conftest.a conftest.b 2>&5 || hard_links=no
9657 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9659$as_echo "$hard_links" >&6; }
9660 if test "$hard_links" = no; then
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9662$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9663 need_locks=warn
9664 fi
9665else
9666 need_locks=no
9667fi
9668
9669
9670
9671
9672
9673
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9675$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9676
9677 runpath_var=
9678 allow_undefined_flag=
9679 always_export_symbols=no
9680 archive_cmds=
9681 archive_expsym_cmds=
9682 compiler_needs_object=no
9683 enable_shared_with_static_runtimes=no
9684 export_dynamic_flag_spec=
9685 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9686 hardcode_automatic=no
9687 hardcode_direct=no
9688 hardcode_direct_absolute=no
9689 hardcode_libdir_flag_spec=
9690 hardcode_libdir_flag_spec_ld=
9691 hardcode_libdir_separator=
9692 hardcode_minus_L=no
9693 hardcode_shlibpath_var=unsupported
9694 inherit_rpath=no
9695 link_all_deplibs=unknown
9696 module_cmds=
9697 module_expsym_cmds=
9698 old_archive_from_new_cmds=
9699 old_archive_from_expsyms_cmds=
9700 thread_safe_flag_spec=
9701 whole_archive_flag_spec=
9702 # include_expsyms should be a list of space-separated symbols to be *always*
9703 # included in the symbol list
9704 include_expsyms=
9705 # exclude_expsyms can be an extended regexp of symbols to exclude
9706 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9707 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9708 # as well as any symbol that contains `d'.
9709 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9710 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9711 # platforms (ab)use it in PIC code, but their linkers get confused if
9712 # the symbol is explicitly referenced. Since portable code cannot
9713 # rely on this symbol name, it's probably fine to never include it in
9714 # preloaded symbol tables.
9715 # Exclude shared library initialization/finalization symbols.
9716 extract_expsyms_cmds=
9717
9718 case $host_os in
9719 cygwin* | mingw* | pw32* | cegcc*)
9720 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9721 # When not using gcc, we currently assume that we are using
9722 # Microsoft Visual C++.
9723 if test "$GCC" != yes; then
9724 with_gnu_ld=no
9725 fi
9726 ;;
9727 interix*)
9728 # we just hope/assume this is gcc and not c89 (= MSVC++)
9729 with_gnu_ld=yes
9730 ;;
9731 openbsd*)
9732 with_gnu_ld=no
9733 ;;
9734 linux* | k*bsd*-gnu | gnu*)
9735 link_all_deplibs=no
9736 ;;
9737 esac
9738
9739 ld_shlibs=yes
9740
9741 # On some targets, GNU ld is compatible enough with the native linker
9742 # that we're better off using the native interface for both.
9743 lt_use_gnu_ld_interface=no
9744 if test "$with_gnu_ld" = yes; then
9745 case $host_os in
9746 aix*)
9747 # The AIX port of GNU ld has always aspired to compatibility
9748 # with the native linker. However, as the warning in the GNU ld
9749 # block says, versions before 2.19.5* couldn't really create working
9750 # shared libraries, regardless of the interface used.
9751 case `$LD -v 2>&1` in
9752 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9753 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9754 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9755 *)
9756 lt_use_gnu_ld_interface=yes
9757 ;;
9758 esac
9759 ;;
9760 *)
9761 lt_use_gnu_ld_interface=yes
9762 ;;
9763 esac
9764 fi
9765
9766 if test "$lt_use_gnu_ld_interface" = yes; then
9767 # If archive_cmds runs LD, not CC, wlarc should be empty
9768 wlarc='${wl}'
9769
9770 # Set some defaults for GNU ld with shared library support. These
9771 # are reset later if shared libraries are not supported. Putting them
9772 # here allows them to be overridden if necessary.
9773 runpath_var=LD_RUN_PATH
9774 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9775 export_dynamic_flag_spec='${wl}--export-dynamic'
9776 # ancient GNU ld didn't support --whole-archive et. al.
9777 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9778 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9779 else
9780 whole_archive_flag_spec=
9781 fi
9782 supports_anon_versioning=no
9783 case `$LD -v 2>&1` in
9784 *GNU\ gold*) supports_anon_versioning=yes ;;
9785 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9786 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9787 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9788 *\ 2.11.*) ;; # other 2.11 versions
9789 *) supports_anon_versioning=yes ;;
9790 esac
9791
9792 # See if GNU ld supports shared libraries.
9793 case $host_os in
9794 aix[3-9]*)
9795 # On AIX/PPC, the GNU linker is very broken
9796 if test "$host_cpu" != ia64; then
9797 ld_shlibs=no
9798 cat <<_LT_EOF 1>&2
9799
9800*** Warning: the GNU linker, at least up to release 2.19, is reported
9801*** to be unable to reliably create shared libraries on AIX.
9802*** Therefore, libtool is disabling shared libraries support. If you
9803*** really care for shared libraries, you may want to install binutils
9804*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9805*** You will then need to restart the configuration process.
9806
9807_LT_EOF
9808 fi
9809 ;;
9810
9811 amigaos*)
9812 case $host_cpu in
9813 powerpc)
9814 # see comment about AmigaOS4 .so support
9815 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9816 archive_expsym_cmds=''
9817 ;;
9818 m68k)
9819 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)'
9820 hardcode_libdir_flag_spec='-L$libdir'
9821 hardcode_minus_L=yes
9822 ;;
9823 esac
9824 ;;
9825
9826 beos*)
9827 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9828 allow_undefined_flag=unsupported
9829 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9830 # support --undefined. This deserves some investigation. FIXME
9831 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9832 else
9833 ld_shlibs=no
9834 fi
9835 ;;
9836
9837 cygwin* | mingw* | pw32* | cegcc*)
9838 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9839 # as there is no search path for DLLs.
9840 hardcode_libdir_flag_spec='-L$libdir'
9841 export_dynamic_flag_spec='${wl}--export-all-symbols'
9842 allow_undefined_flag=unsupported
9843 always_export_symbols=no
9844 enable_shared_with_static_runtimes=yes
9845 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9846 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9847
9848 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9849 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9850 # If the export-symbols file already is a .def file (1st line
9851 # is EXPORTS), use it as is; otherwise, prepend...
9852 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9853 cp $export_symbols $output_objdir/$soname.def;
9854 else
9855 echo EXPORTS > $output_objdir/$soname.def;
9856 cat $export_symbols >> $output_objdir/$soname.def;
9857 fi~
9858 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9859 else
9860 ld_shlibs=no
9861 fi
9862 ;;
9863
9864 haiku*)
9865 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9866 link_all_deplibs=yes
9867 ;;
9868
9869 interix[3-9]*)
9870 hardcode_direct=no
9871 hardcode_shlibpath_var=no
9872 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9873 export_dynamic_flag_spec='${wl}-E'
9874 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9875 # Instead, shared libraries are loaded at an image base (0x10000000 by
9876 # default) and relocated if they conflict, which is a slow very memory
9877 # consuming and fragmenting process. To avoid this, we pick a random,
9878 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9879 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9880 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9881 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'
9882 ;;
9883
9884 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9885 tmp_diet=no
9886 if test "$host_os" = linux-dietlibc; then
9887 case $cc_basename in
9888 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9889 esac
9890 fi
9891 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9892 && test "$tmp_diet" = no
9893 then
9894 tmp_addflag=' $pic_flag'
9895 tmp_sharedflag='-shared'
9896 case $cc_basename,$host_cpu in
9897 pgcc*) # Portland Group C compiler
9898 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9899 tmp_addflag=' $pic_flag'
9900 ;;
9901 pgf77* | pgf90* | pgf95* | pgfortran*)
9902 # Portland Group f77 and f90 compilers
9903 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9904 tmp_addflag=' $pic_flag -Mnomain' ;;
9905 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9906 tmp_addflag=' -i_dynamic' ;;
9907 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9908 tmp_addflag=' -i_dynamic -nofor_main' ;;
9909 ifc* | ifort*) # Intel Fortran compiler
9910 tmp_addflag=' -nofor_main' ;;
9911 lf95*) # Lahey Fortran 8.1
9912 whole_archive_flag_spec=
9913 tmp_sharedflag='--shared' ;;
9914 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9915 tmp_sharedflag='-qmkshrobj'
9916 tmp_addflag= ;;
9917 nvcc*) # Cuda Compiler Driver 2.2
9918 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9919 compiler_needs_object=yes
9920 ;;
9921 esac
9922 case `$CC -V 2>&1 | sed 5q` in
9923 *Sun\ C*) # Sun C 5.9
9924 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9925 compiler_needs_object=yes
9926 tmp_sharedflag='-G' ;;
9927 *Sun\ F*) # Sun Fortran 8.3
9928 tmp_sharedflag='-G' ;;
9929 esac
9930 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9931
9932 if test "x$supports_anon_versioning" = xyes; then
9933 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9934 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9935 echo "local: *; };" >> $output_objdir/$libname.ver~
9936 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9937 fi
9938
9939 case $cc_basename in
9940 xlf* | bgf* | bgxlf* | mpixlf*)
9941 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9942 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9943 hardcode_libdir_flag_spec=
9944 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9945 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9946 if test "x$supports_anon_versioning" = xyes; then
9947 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9948 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9949 echo "local: *; };" >> $output_objdir/$libname.ver~
9950 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9951 fi
9952 ;;
9953 esac
9954 else
9955 ld_shlibs=no
9956 fi
9957 ;;
9958
9959 netbsd* | netbsdelf*-gnu)
9960 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9961 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9962 wlarc=
9963 else
9964 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9965 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9966 fi
9967 ;;
9968
9969 solaris*)
9970 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9971 ld_shlibs=no
9972 cat <<_LT_EOF 1>&2
9973
9974*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9975*** create shared libraries on Solaris systems. Therefore, libtool
9976*** is disabling shared libraries support. We urge you to upgrade GNU
9977*** binutils to release 2.9.1 or newer. Another option is to modify
9978*** your PATH or compiler configuration so that the native linker is
9979*** used, and then restart.
9980
9981_LT_EOF
9982 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9983 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9984 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9985 else
9986 ld_shlibs=no
9987 fi
9988 ;;
9989
9990 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9991 case `$LD -v 2>&1` in
9992 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9993 ld_shlibs=no
9994 cat <<_LT_EOF 1>&2
9995
9996*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9997*** reliably create shared libraries on SCO systems. Therefore, libtool
9998*** is disabling shared libraries support. We urge you to upgrade GNU
9999*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10000*** your PATH or compiler configuration so that the native linker is
10001*** used, and then restart.
10002
10003_LT_EOF
10004 ;;
10005 *)
10006 # For security reasons, it is highly recommended that you always
10007 # use absolute paths for naming shared libraries, and exclude the
10008 # DT_RUNPATH tag from executables and libraries. But doing so
10009 # requires that you compile everything twice, which is a pain.
10010 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10011 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10012 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10013 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10014 else
10015 ld_shlibs=no
10016 fi
10017 ;;
10018 esac
10019 ;;
10020
10021 sunos4*)
10022 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10023 wlarc=
10024 hardcode_direct=yes
10025 hardcode_shlibpath_var=no
10026 ;;
10027
10028 *)
10029 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10030 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10031 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10032 else
10033 ld_shlibs=no
10034 fi
10035 ;;
10036 esac
10037
10038 if test "$ld_shlibs" = no; then
10039 runpath_var=
10040 hardcode_libdir_flag_spec=
10041 export_dynamic_flag_spec=
10042 whole_archive_flag_spec=
10043 fi
10044 else
10045 # PORTME fill in a description of your system's linker (not GNU ld)
10046 case $host_os in
10047 aix3*)
10048 allow_undefined_flag=unsupported
10049 always_export_symbols=yes
10050 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'
10051 # Note: this linker hardcodes the directories in LIBPATH if there
10052 # are no directories specified by -L.
10053 hardcode_minus_L=yes
10054 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10055 # Neither direct hardcoding nor static linking is supported with a
10056 # broken collect2.
10057 hardcode_direct=unsupported
10058 fi
10059 ;;
10060
10061 aix[4-9]*)
10062 if test "$host_cpu" = ia64; then
10063 # On IA64, the linker does run time linking by default, so we don't
10064 # have to do anything special.
10065 aix_use_runtimelinking=no
10066 exp_sym_flag='-Bexport'
10067 no_entry_flag=""
10068 else
10069 # If we're using GNU nm, then we don't want the "-C" option.
10070 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10071 # Also, AIX nm treats weak defined symbols like other global
10072 # defined symbols, whereas GNU nm marks them as "W".
10073 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10074 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10075 else
10076 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'
10077 fi
10078 aix_use_runtimelinking=no
10079
10080 # Test if we are trying to use run time linking or normal
10081 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10082 # need to do runtime linking.
10083 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10084 for ld_flag in $LDFLAGS; do
10085 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10086 aix_use_runtimelinking=yes
10087 break
10088 fi
10089 done
10090 ;;
10091 esac
10092
10093 exp_sym_flag='-bexport'
10094 no_entry_flag='-bnoentry'
10095 fi
10096
10097 # When large executables or shared objects are built, AIX ld can
10098 # have problems creating the table of contents. If linking a library
10099 # or program results in "error TOC overflow" add -mminimal-toc to
10100 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10101 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10102
10103 archive_cmds=''
10104 hardcode_direct=yes
10105 hardcode_direct_absolute=yes
10106 hardcode_libdir_separator=':'
10107 link_all_deplibs=yes
10108 file_list_spec='${wl}-f,'
10109
10110 if test "$GCC" = yes; then
10111 case $host_os in aix4.[012]|aix4.[012].*)
10112 # We only want to do this on AIX 4.2 and lower, the check
10113 # below for broken collect2 doesn't work under 4.3+
10114 collect2name=`${CC} -print-prog-name=collect2`
10115 if test -f "$collect2name" &&
10116 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10117 then
10118 # We have reworked collect2
10119 :
10120 else
10121 # We have old collect2
10122 hardcode_direct=unsupported
10123 # It fails to find uninstalled libraries when the uninstalled
10124 # path is not listed in the libpath. Setting hardcode_minus_L
10125 # to unsupported forces relinking
10126 hardcode_minus_L=yes
10127 hardcode_libdir_flag_spec='-L$libdir'
10128 hardcode_libdir_separator=
10129 fi
10130 ;;
10131 esac
10132 shared_flag='-shared'
10133 if test "$aix_use_runtimelinking" = yes; then
10134 shared_flag="$shared_flag "'${wl}-G'
10135 fi
10136 link_all_deplibs=no
10137 else
10138 # not using gcc
10139 if test "$host_cpu" = ia64; then
10140 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10141 # chokes on -Wl,-G. The following line is correct:
10142 shared_flag='-G'
10143 else
10144 if test "$aix_use_runtimelinking" = yes; then
10145 shared_flag='${wl}-G'
10146 else
10147 shared_flag='${wl}-bM:SRE'
10148 fi
10149 fi
10150 fi
10151
10152 export_dynamic_flag_spec='${wl}-bexpall'
10153 # It seems that -bexpall does not export symbols beginning with
10154 # underscore (_), so it is better to generate a list of symbols to export.
10155 always_export_symbols=yes
10156 if test "$aix_use_runtimelinking" = yes; then
10157 # Warning - without using the other runtime loading flags (-brtl),
10158 # -berok will link without error, but may produce a broken library.
10159 allow_undefined_flag='-berok'
10160 # Determine the default libpath from the value encoded in an
10161 # empty executable.
10162 if test "${lt_cv_aix_libpath+set}" = set; then
10163 aix_libpath=$lt_cv_aix_libpath
10164else
10165 if ${lt_cv_aix_libpath_+:} false; then :
10166 $as_echo_n "(cached) " >&6
10167else
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169/* end confdefs.h. */
10170
10171int
10172main ()
10173{
10174
10175 ;
10176 return 0;
10177}
10178_ACEOF
10179if ac_fn_c_try_link "$LINENO"; then :
10180
10181 lt_aix_libpath_sed='
10182 /Import File Strings/,/^$/ {
10183 /^0/ {
10184 s/^0 *\([^ ]*\) *$/\1/
10185 p
10186 }
10187 }'
10188 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10189 # Check for a 64-bit object if we didn't find anything.
10190 if test -z "$lt_cv_aix_libpath_"; then
10191 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10192 fi
10193fi
10194rm -f core conftest.err conftest.$ac_objext \
10195 conftest$ac_exeext conftest.$ac_ext
10196 if test -z "$lt_cv_aix_libpath_"; then
10197 lt_cv_aix_libpath_="/usr/lib:/lib"
10198 fi
10199
10200fi
10201
10202 aix_libpath=$lt_cv_aix_libpath_
10203fi
10204
10205 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10206 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10207 else
10208 if test "$host_cpu" = ia64; then
10209 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10210 allow_undefined_flag="-z nodefs"
10211 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"
10212 else
10213 # Determine the default libpath from the value encoded in an
10214 # empty executable.
10215 if test "${lt_cv_aix_libpath+set}" = set; then
10216 aix_libpath=$lt_cv_aix_libpath
10217else
10218 if ${lt_cv_aix_libpath_+:} false; then :
10219 $as_echo_n "(cached) " >&6
10220else
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222/* end confdefs.h. */
10223
10224int
10225main ()
10226{
10227
10228 ;
10229 return 0;
10230}
10231_ACEOF
10232if ac_fn_c_try_link "$LINENO"; then :
10233
10234 lt_aix_libpath_sed='
10235 /Import File Strings/,/^$/ {
10236 /^0/ {
10237 s/^0 *\([^ ]*\) *$/\1/
10238 p
10239 }
10240 }'
10241 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10242 # Check for a 64-bit object if we didn't find anything.
10243 if test -z "$lt_cv_aix_libpath_"; then
10244 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10245 fi
10246fi
10247rm -f core conftest.err conftest.$ac_objext \
10248 conftest$ac_exeext conftest.$ac_ext
10249 if test -z "$lt_cv_aix_libpath_"; then
10250 lt_cv_aix_libpath_="/usr/lib:/lib"
10251 fi
10252
10253fi
10254
10255 aix_libpath=$lt_cv_aix_libpath_
10256fi
10257
10258 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10259 # Warning - without using the other run time loading flags,
10260 # -berok will link without error, but may produce a broken library.
10261 no_undefined_flag=' ${wl}-bernotok'
10262 allow_undefined_flag=' ${wl}-berok'
10263 if test "$with_gnu_ld" = yes; then
10264 # We only use this code for GNU lds that support --whole-archive.
10265 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10266 else
10267 # Exported symbols can be pulled into shared objects from archives
10268 whole_archive_flag_spec='$convenience'
10269 fi
10270 archive_cmds_need_lc=yes
10271 # This is similar to how AIX traditionally builds its shared libraries.
10272 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'
10273 fi
10274 fi
10275 ;;
10276
10277 amigaos*)
10278 case $host_cpu in
10279 powerpc)
10280 # see comment about AmigaOS4 .so support
10281 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10282 archive_expsym_cmds=''
10283 ;;
10284 m68k)
10285 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)'
10286 hardcode_libdir_flag_spec='-L$libdir'
10287 hardcode_minus_L=yes
10288 ;;
10289 esac
10290 ;;
10291
10292 bsdi[45]*)
10293 export_dynamic_flag_spec=-rdynamic
10294 ;;
10295
10296 cygwin* | mingw* | pw32* | cegcc*)
10297 # When not using gcc, we currently assume that we are using
10298 # Microsoft Visual C++.
10299 # hardcode_libdir_flag_spec is actually meaningless, as there is
10300 # no search path for DLLs.
10301 case $cc_basename in
10302 cl*)
10303 # Native MSVC
10304 hardcode_libdir_flag_spec=' '
10305 allow_undefined_flag=unsupported
10306 always_export_symbols=yes
10307 file_list_spec='@'
10308 # Tell ltmain to make .lib files, not .a files.
10309 libext=lib
10310 # Tell ltmain to make .dll files, not .so files.
10311 shrext_cmds=".dll"
10312 # FIXME: Setting linknames here is a bad hack.
10313 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10314 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10315 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10316 else
10317 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10318 fi~
10319 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10320 linknames='
10321 # The linker will not automatically build a static lib if we build a DLL.
10322 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10323 enable_shared_with_static_runtimes=yes
10324 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10325 # Don't use ranlib
10326 old_postinstall_cmds='chmod 644 $oldlib'
10327 postlink_cmds='lt_outputfile="@OUTPUT@"~
10328 lt_tool_outputfile="@TOOL_OUTPUT@"~
10329 case $lt_outputfile in
10330 *.exe|*.EXE) ;;
10331 *)
10332 lt_outputfile="$lt_outputfile.exe"
10333 lt_tool_outputfile="$lt_tool_outputfile.exe"
10334 ;;
10335 esac~
10336 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10337 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10338 $RM "$lt_outputfile.manifest";
10339 fi'
10340 ;;
10341 *)
10342 # Assume MSVC wrapper
10343 hardcode_libdir_flag_spec=' '
10344 allow_undefined_flag=unsupported
10345 # Tell ltmain to make .lib files, not .a files.
10346 libext=lib
10347 # Tell ltmain to make .dll files, not .so files.
10348 shrext_cmds=".dll"
10349 # FIXME: Setting linknames here is a bad hack.
10350 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10351 # The linker will automatically build a .lib file if we build a DLL.
10352 old_archive_from_new_cmds='true'
10353 # FIXME: Should let the user specify the lib program.
10354 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10355 enable_shared_with_static_runtimes=yes
10356 ;;
10357 esac
10358 ;;
10359
10360 darwin* | rhapsody*)
10361
10362
10363 archive_cmds_need_lc=no
10364 hardcode_direct=no
10365 hardcode_automatic=yes
10366 hardcode_shlibpath_var=unsupported
10367 if test "$lt_cv_ld_force_load" = "yes"; then
10368 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10369 else
10370 whole_archive_flag_spec=''
10371 fi
10372 link_all_deplibs=yes
10373 allow_undefined_flag="$_lt_dar_allow_undefined"
10374 case $cc_basename in
10375 ifort*) _lt_dar_can_shared=yes ;;
10376 *) _lt_dar_can_shared=$GCC ;;
10377 esac
10378 if test "$_lt_dar_can_shared" = "yes"; then
10379 output_verbose_link_cmd=func_echo_all
10380 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10381 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10382 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}"
10383 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}"
10384
10385 else
10386 ld_shlibs=no
10387 fi
10388
10389 ;;
10390
10391 dgux*)
10392 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10393 hardcode_libdir_flag_spec='-L$libdir'
10394 hardcode_shlibpath_var=no
10395 ;;
10396
10397 freebsd1*)
10398 ld_shlibs=no
10399 ;;
10400
10401 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10402 # support. Future versions do this automatically, but an explicit c++rt0.o
10403 # does not break anything, and helps significantly (at the cost of a little
10404 # extra space).
10405 freebsd2.2*)
10406 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10407 hardcode_libdir_flag_spec='-R$libdir'
10408 hardcode_direct=yes
10409 hardcode_shlibpath_var=no
10410 ;;
10411
10412 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10413 freebsd2*)
10414 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10415 hardcode_direct=yes
10416 hardcode_minus_L=yes
10417 hardcode_shlibpath_var=no
10418 ;;
10419
10420 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10421 freebsd* | dragonfly*)
10422 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10423 hardcode_libdir_flag_spec='-R$libdir'
10424 hardcode_direct=yes
10425 hardcode_shlibpath_var=no
10426 ;;
10427
10428 hpux9*)
10429 if test "$GCC" = yes; then
10430 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10431 else
10432 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'
10433 fi
10434 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10435 hardcode_libdir_separator=:
10436 hardcode_direct=yes
10437
10438 # hardcode_minus_L: Not really in the search PATH,
10439 # but as the default location of the library.
10440 hardcode_minus_L=yes
10441 export_dynamic_flag_spec='${wl}-E'
10442 ;;
10443
10444 hpux10*)
10445 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10446 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10447 else
10448 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10449 fi
10450 if test "$with_gnu_ld" = no; then
10451 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10452 hardcode_libdir_flag_spec_ld='+b $libdir'
10453 hardcode_libdir_separator=:
10454 hardcode_direct=yes
10455 hardcode_direct_absolute=yes
10456 export_dynamic_flag_spec='${wl}-E'
10457 # hardcode_minus_L: Not really in the search PATH,
10458 # but as the default location of the library.
10459 hardcode_minus_L=yes
10460 fi
10461 ;;
10462
10463 hpux11*)
10464 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10465 case $host_cpu in
10466 hppa*64*)
10467 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10468 ;;
10469 ia64*)
10470 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10471 ;;
10472 *)
10473 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10474 ;;
10475 esac
10476 else
10477 case $host_cpu in
10478 hppa*64*)
10479 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10480 ;;
10481 ia64*)
10482 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10483 ;;
10484 *)
10485
10486 # Older versions of the 11.00 compiler do not understand -b yet
10487 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10489$as_echo_n "checking if $CC understands -b... " >&6; }
10490if ${lt_cv_prog_compiler__b+:} false; then :
10491 $as_echo_n "(cached) " >&6
10492else
10493 lt_cv_prog_compiler__b=no
10494 save_LDFLAGS="$LDFLAGS"
10495 LDFLAGS="$LDFLAGS -b"
10496 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10497 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10498 # The linker can only warn and ignore the option if not recognized
10499 # So say no if there are warnings
10500 if test -s conftest.err; then
10501 # Append any errors to the config.log.
10502 cat conftest.err 1>&5
10503 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10504 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10505 if diff conftest.exp conftest.er2 >/dev/null; then
10506 lt_cv_prog_compiler__b=yes
10507 fi
10508 else
10509 lt_cv_prog_compiler__b=yes
10510 fi
10511 fi
10512 $RM -r conftest*
10513 LDFLAGS="$save_LDFLAGS"
10514
10515fi
10516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10517$as_echo "$lt_cv_prog_compiler__b" >&6; }
10518
10519if test x"$lt_cv_prog_compiler__b" = xyes; then
10520 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10521else
10522 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10523fi
10524
10525 ;;
10526 esac
10527 fi
10528 if test "$with_gnu_ld" = no; then
10529 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10530 hardcode_libdir_separator=:
10531
10532 case $host_cpu in
10533 hppa*64*|ia64*)
10534 hardcode_direct=no
10535 hardcode_shlibpath_var=no
10536 ;;
10537 *)
10538 hardcode_direct=yes
10539 hardcode_direct_absolute=yes
10540 export_dynamic_flag_spec='${wl}-E'
10541
10542 # hardcode_minus_L: Not really in the search PATH,
10543 # but as the default location of the library.
10544 hardcode_minus_L=yes
10545 ;;
10546 esac
10547 fi
10548 ;;
10549
10550 irix5* | irix6* | nonstopux*)
10551 if test "$GCC" = yes; then
10552 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10553 # Try to use the -exported_symbol ld option, if it does not
10554 # work, assume that -exports_file does not work either and
10555 # implicitly export all symbols.
10556 # This should be the same for all languages, so no per-tag cache variable.
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10558$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10559if ${lt_cv_irix_exported_symbol+:} false; then :
10560 $as_echo_n "(cached) " >&6
10561else
10562 save_LDFLAGS="$LDFLAGS"
10563 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10565/* end confdefs.h. */
10566int foo (void) { return 0; }
10567_ACEOF
10568if ac_fn_c_try_link "$LINENO"; then :
10569 lt_cv_irix_exported_symbol=yes
10570else
10571 lt_cv_irix_exported_symbol=no
10572fi
10573rm -f core conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 LDFLAGS="$save_LDFLAGS"
10576fi
10577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10578$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10579 if test "$lt_cv_irix_exported_symbol" = yes; then
10580 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10581 fi
10582 else
10583 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10584 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10585 fi
10586 archive_cmds_need_lc='no'
10587 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10588 hardcode_libdir_separator=:
10589 inherit_rpath=yes
10590 link_all_deplibs=yes
10591 ;;
10592
10593 netbsd* | netbsdelf*-gnu)
10594 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10595 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10596 else
10597 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10598 fi
10599 hardcode_libdir_flag_spec='-R$libdir'
10600 hardcode_direct=yes
10601 hardcode_shlibpath_var=no
10602 ;;
10603
10604 newsos6)
10605 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10606 hardcode_direct=yes
10607 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10608 hardcode_libdir_separator=:
10609 hardcode_shlibpath_var=no
10610 ;;
10611
10612 *nto* | *qnx*)
10613 ;;
10614
10615 openbsd*)
10616 if test -f /usr/libexec/ld.so; then
10617 hardcode_direct=yes
10618 hardcode_shlibpath_var=no
10619 hardcode_direct_absolute=yes
10620 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10621 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10622 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10623 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10624 export_dynamic_flag_spec='${wl}-E'
10625 else
10626 case $host_os in
10627 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10628 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10629 hardcode_libdir_flag_spec='-R$libdir'
10630 ;;
10631 *)
10632 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10633 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10634 ;;
10635 esac
10636 fi
10637 else
10638 ld_shlibs=no
10639 fi
10640 ;;
10641
10642 os2*)
10643 hardcode_libdir_flag_spec='-L$libdir'
10644 hardcode_minus_L=yes
10645 allow_undefined_flag=unsupported
10646 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'
10647 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10648 ;;
10649
10650 osf3*)
10651 if test "$GCC" = yes; then
10652 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10653 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10654 else
10655 allow_undefined_flag=' -expect_unresolved \*'
10656 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10657 fi
10658 archive_cmds_need_lc='no'
10659 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10660 hardcode_libdir_separator=:
10661 ;;
10662
10663 osf4* | osf5*) # as osf3* with the addition of -msym flag
10664 if test "$GCC" = yes; then
10665 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10666 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10667 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10668 else
10669 allow_undefined_flag=' -expect_unresolved \*'
10670 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10671 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~
10672 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10673
10674 # Both c and cxx compiler support -rpath directly
10675 hardcode_libdir_flag_spec='-rpath $libdir'
10676 fi
10677 archive_cmds_need_lc='no'
10678 hardcode_libdir_separator=:
10679 ;;
10680
10681 solaris*)
10682 no_undefined_flag=' -z defs'
10683 if test "$GCC" = yes; then
10684 wlarc='${wl}'
10685 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10686 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10687 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10688 else
10689 case `$CC -V 2>&1` in
10690 *"Compilers 5.0"*)
10691 wlarc=''
10692 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10693 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10694 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10695 ;;
10696 *)
10697 wlarc='${wl}'
10698 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10699 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10700 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10701 ;;
10702 esac
10703 fi
10704 hardcode_libdir_flag_spec='-R$libdir'
10705 hardcode_shlibpath_var=no
10706 case $host_os in
10707 solaris2.[0-5] | solaris2.[0-5].*) ;;
10708 *)
10709 # The compiler driver will combine and reorder linker options,
10710 # but understands `-z linker_flag'. GCC discards it without `$wl',
10711 # but is careful enough not to reorder.
10712 # Supported since Solaris 2.6 (maybe 2.5.1?)
10713 if test "$GCC" = yes; then
10714 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10715 else
10716 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10717 fi
10718 ;;
10719 esac
10720 link_all_deplibs=yes
10721 ;;
10722
10723 sunos4*)
10724 if test "x$host_vendor" = xsequent; then
10725 # Use $CC to link under sequent, because it throws in some extra .o
10726 # files that make .init and .fini sections work.
10727 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10728 else
10729 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10730 fi
10731 hardcode_libdir_flag_spec='-L$libdir'
10732 hardcode_direct=yes
10733 hardcode_minus_L=yes
10734 hardcode_shlibpath_var=no
10735 ;;
10736
10737 sysv4)
10738 case $host_vendor in
10739 sni)
10740 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10741 hardcode_direct=yes # is this really true???
10742 ;;
10743 siemens)
10744 ## LD is ld it makes a PLAMLIB
10745 ## CC just makes a GrossModule.
10746 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10747 reload_cmds='$CC -r -o $output$reload_objs'
10748 hardcode_direct=no
10749 ;;
10750 motorola)
10751 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10752 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10753 ;;
10754 esac
10755 runpath_var='LD_RUN_PATH'
10756 hardcode_shlibpath_var=no
10757 ;;
10758
10759 sysv4.3*)
10760 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10761 hardcode_shlibpath_var=no
10762 export_dynamic_flag_spec='-Bexport'
10763 ;;
10764
10765 sysv4*MP*)
10766 if test -d /usr/nec; then
10767 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10768 hardcode_shlibpath_var=no
10769 runpath_var=LD_RUN_PATH
10770 hardcode_runpath_var=yes
10771 ld_shlibs=yes
10772 fi
10773 ;;
10774
10775 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10776 no_undefined_flag='${wl}-z,text'
10777 archive_cmds_need_lc=no
10778 hardcode_shlibpath_var=no
10779 runpath_var='LD_RUN_PATH'
10780
10781 if test "$GCC" = yes; then
10782 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10783 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10784 else
10785 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10786 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10787 fi
10788 ;;
10789
10790 sysv5* | sco3.2v5* | sco5v6*)
10791 # Note: We can NOT use -z defs as we might desire, because we do not
10792 # link with -lc, and that would cause any symbols used from libc to
10793 # always be unresolved, which means just about no library would
10794 # ever link correctly. If we're not using GNU ld we use -z text
10795 # though, which does catch some bad symbols but isn't as heavy-handed
10796 # as -z defs.
10797 no_undefined_flag='${wl}-z,text'
10798 allow_undefined_flag='${wl}-z,nodefs'
10799 archive_cmds_need_lc=no
10800 hardcode_shlibpath_var=no
10801 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10802 hardcode_libdir_separator=':'
10803 link_all_deplibs=yes
10804 export_dynamic_flag_spec='${wl}-Bexport'
10805 runpath_var='LD_RUN_PATH'
10806
10807 if test "$GCC" = yes; then
10808 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10809 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10810 else
10811 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10812 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10813 fi
10814 ;;
10815
10816 uts4*)
10817 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10818 hardcode_libdir_flag_spec='-L$libdir'
10819 hardcode_shlibpath_var=no
10820 ;;
10821
10822 *)
10823 ld_shlibs=no
10824 ;;
10825 esac
10826
10827 if test x$host_vendor = xsni; then
10828 case $host in
10829 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10830 export_dynamic_flag_spec='${wl}-Blargedynsym'
10831 ;;
10832 esac
10833 fi
10834 fi
10835
10836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10837$as_echo "$ld_shlibs" >&6; }
10838test "$ld_shlibs" = no && can_build_shared=no
10839
10840with_gnu_ld=$with_gnu_ld
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856#
10857# Do we need to explicitly link libc?
10858#
10859case "x$archive_cmds_need_lc" in
10860x|xyes)
10861 # Assume -lc should be added
10862 archive_cmds_need_lc=yes
10863
10864 if test "$enable_shared" = yes && test "$GCC" = yes; then
10865 case $archive_cmds in
10866 *'~'*)
10867 # FIXME: we may have to deal with multi-command sequences.
10868 ;;
10869 '$CC '*)
10870 # Test whether the compiler implicitly links with -lc since on some
10871 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10872 # to ld, don't add -lc before -lgcc.
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10874$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10875if ${lt_cv_archive_cmds_need_lc+:} false; then :
10876 $as_echo_n "(cached) " >&6
10877else
10878 $RM conftest*
10879 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10880
10881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10882 (eval $ac_compile) 2>&5
10883 ac_status=$?
10884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10885 test $ac_status = 0; } 2>conftest.err; then
10886 soname=conftest
10887 lib=conftest
10888 libobjs=conftest.$ac_objext
10889 deplibs=
10890 wl=$lt_prog_compiler_wl
10891 pic_flag=$lt_prog_compiler_pic
10892 compiler_flags=-v
10893 linker_flags=-v
10894 verstring=
10895 output_objdir=.
10896 libname=conftest
10897 lt_save_allow_undefined_flag=$allow_undefined_flag
10898 allow_undefined_flag=
10899 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10900 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10901 ac_status=$?
10902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10903 test $ac_status = 0; }
10904 then
10905 lt_cv_archive_cmds_need_lc=no
10906 else
10907 lt_cv_archive_cmds_need_lc=yes
10908 fi
10909 allow_undefined_flag=$lt_save_allow_undefined_flag
10910 else
10911 cat conftest.err 1>&5
10912 fi
10913 $RM conftest*
10914
10915fi
10916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10917$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10918 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10919 ;;
10920 esac
10921 fi
10922 ;;
10923esac
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11082$as_echo_n "checking dynamic linker characteristics... " >&6; }
11083
11084if test "$GCC" = yes; then
11085 case $host_os in
11086 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11087 *) lt_awk_arg="/^libraries:/" ;;
11088 esac
11089 case $host_os in
11090 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11091 *) lt_sed_strip_eq="s,=/,/,g" ;;
11092 esac
11093 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11094 case $lt_search_path_spec in
11095 *\;*)
11096 # if the path contains ";" then we assume it to be the separator
11097 # otherwise default to the standard path separator (i.e. ":") - it is
11098 # assumed that no part of a normal pathname contains ";" but that should
11099 # okay in the real world where ";" in dirpaths is itself problematic.
11100 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11101 ;;
11102 *)
11103 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11104 ;;
11105 esac
11106 # Ok, now we have the path, separated by spaces, we can step through it
11107 # and add multilib dir if necessary.
11108 lt_tmp_lt_search_path_spec=
11109 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11110 for lt_sys_path in $lt_search_path_spec; do
11111 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11112 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11113 else
11114 test -d "$lt_sys_path" && \
11115 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11116 fi
11117 done
11118 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11119BEGIN {RS=" "; FS="/|\n";} {
11120 lt_foo="";
11121 lt_count=0;
11122 for (lt_i = NF; lt_i > 0; lt_i--) {
11123 if ($lt_i != "" && $lt_i != ".") {
11124 if ($lt_i == "..") {
11125 lt_count++;
11126 } else {
11127 if (lt_count == 0) {
11128 lt_foo="/" $lt_i lt_foo;
11129 } else {
11130 lt_count--;
11131 }
11132 }
11133 }
11134 }
11135 if (lt_foo != "") { lt_freq[lt_foo]++; }
11136 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11137}'`
11138 # AWK program above erroneously prepends '/' to C:/dos/paths
11139 # for these hosts.
11140 case $host_os in
11141 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11142 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11143 esac
11144 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11145else
11146 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11147fi
11148library_names_spec=
11149libname_spec='lib$name'
11150soname_spec=
11151shrext_cmds=".so"
11152postinstall_cmds=
11153postuninstall_cmds=
11154finish_cmds=
11155finish_eval=
11156shlibpath_var=
11157shlibpath_overrides_runpath=unknown
11158version_type=none
11159dynamic_linker="$host_os ld.so"
11160sys_lib_dlsearch_path_spec="/lib /usr/lib"
11161need_lib_prefix=unknown
11162hardcode_into_libs=no
11163
11164# when you set need_version to no, make sure it does not cause -set_version
11165# flags to be left without arguments
11166need_version=unknown
11167
11168case $host_os in
11169aix3*)
11170 version_type=linux
11171 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11172 shlibpath_var=LIBPATH
11173
11174 # AIX 3 has no versioning support, so we append a major version to the name.
11175 soname_spec='${libname}${release}${shared_ext}$major'
11176 ;;
11177
11178aix[4-9]*)
11179 version_type=linux
11180 need_lib_prefix=no
11181 need_version=no
11182 hardcode_into_libs=yes
11183 if test "$host_cpu" = ia64; then
11184 # AIX 5 supports IA64
11185 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11186 shlibpath_var=LD_LIBRARY_PATH
11187 else
11188 # With GCC up to 2.95.x, collect2 would create an import file
11189 # for dependence libraries. The import file would start with
11190 # the line `#! .'. This would cause the generated library to
11191 # depend on `.', always an invalid library. This was fixed in
11192 # development snapshots of GCC prior to 3.0.
11193 case $host_os in
11194 aix4 | aix4.[01] | aix4.[01].*)
11195 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11196 echo ' yes '
11197 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11198 :
11199 else
11200 can_build_shared=no
11201 fi
11202 ;;
11203 esac
11204 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11205 # soname into executable. Probably we can add versioning support to
11206 # collect2, so additional links can be useful in future.
11207 if test "$aix_use_runtimelinking" = yes; then
11208 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11209 # instead of lib<name>.a to let people know that these are not
11210 # typical AIX shared libraries.
11211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11212 else
11213 # We preserve .a as extension for shared libraries through AIX4.2
11214 # and later when we are not doing run time linking.
11215 library_names_spec='${libname}${release}.a $libname.a'
11216 soname_spec='${libname}${release}${shared_ext}$major'
11217 fi
11218 shlibpath_var=LIBPATH
11219 fi
11220 ;;
11221
11222amigaos*)
11223 case $host_cpu in
11224 powerpc)
11225 # Since July 2007 AmigaOS4 officially supports .so libraries.
11226 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11228 ;;
11229 m68k)
11230 library_names_spec='$libname.ixlibrary $libname.a'
11231 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11232 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11233 ;;
11234 esac
11235 ;;
11236
11237beos*)
11238 library_names_spec='${libname}${shared_ext}'
11239 dynamic_linker="$host_os ld.so"
11240 shlibpath_var=LIBRARY_PATH
11241 ;;
11242
11243bsdi[45]*)
11244 version_type=linux
11245 need_version=no
11246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11247 soname_spec='${libname}${release}${shared_ext}$major'
11248 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11249 shlibpath_var=LD_LIBRARY_PATH
11250 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11251 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11252 # the default ld.so.conf also contains /usr/contrib/lib and
11253 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11254 # libtool to hard-code these into programs
11255 ;;
11256
11257cygwin* | mingw* | pw32* | cegcc*)
11258 version_type=windows
11259 shrext_cmds=".dll"
11260 need_version=no
11261 need_lib_prefix=no
11262
11263 case $GCC,$cc_basename in
11264 yes,*)
11265 # gcc
11266 library_names_spec='$libname.dll.a'
11267 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11268 postinstall_cmds='base_file=`basename \${file}`~
11269 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11270 dldir=$destdir/`dirname \$dlpath`~
11271 test -d \$dldir || mkdir -p \$dldir~
11272 $install_prog $dir/$dlname \$dldir/$dlname~
11273 chmod a+x \$dldir/$dlname~
11274 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11275 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11276 fi'
11277 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11278 dlpath=$dir/\$dldll~
11279 $RM \$dlpath'
11280 shlibpath_overrides_runpath=yes
11281
11282 case $host_os in
11283 cygwin*)
11284 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11285 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11286
11287 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11288 ;;
11289 mingw* | cegcc*)
11290 # MinGW DLLs use traditional 'lib' prefix
11291 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11292 ;;
11293 pw32*)
11294 # pw32 DLLs use 'pw' prefix rather than 'lib'
11295 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11296 ;;
11297 esac
11298 dynamic_linker='Win32 ld.exe'
11299 ;;
11300
11301 *,cl*)
11302 # Native MSVC
11303 libname_spec='$name'
11304 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11305 library_names_spec='${libname}.dll.lib'
11306
11307 case $build_os in
11308 mingw*)
11309 sys_lib_search_path_spec=
11310 lt_save_ifs=$IFS
11311 IFS=';'
11312 for lt_path in $LIB
11313 do
11314 IFS=$lt_save_ifs
11315 # Let DOS variable expansion print the short 8.3 style file name.
11316 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11317 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11318 done
11319 IFS=$lt_save_ifs
11320 # Convert to MSYS style.
11321 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11322 ;;
11323 cygwin*)
11324 # Convert to unix form, then to dos form, then back to unix form
11325 # but this time dos style (no spaces!) so that the unix form looks
11326 # like /cygdrive/c/PROGRA~1:/cygdr...
11327 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11328 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11329 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11330 ;;
11331 *)
11332 sys_lib_search_path_spec="$LIB"
11333 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11334 # It is most probably a Windows format PATH.
11335 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11336 else
11337 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11338 fi
11339 # FIXME: find the short name or the path components, as spaces are
11340 # common. (e.g. "Program Files" -> "PROGRA~1")
11341 ;;
11342 esac
11343
11344 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11345 postinstall_cmds='base_file=`basename \${file}`~
11346 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11347 dldir=$destdir/`dirname \$dlpath`~
11348 test -d \$dldir || mkdir -p \$dldir~
11349 $install_prog $dir/$dlname \$dldir/$dlname'
11350 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11351 dlpath=$dir/\$dldll~
11352 $RM \$dlpath'
11353 shlibpath_overrides_runpath=yes
11354 dynamic_linker='Win32 link.exe'
11355 ;;
11356
11357 *)
11358 # Assume MSVC wrapper
11359 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11360 dynamic_linker='Win32 ld.exe'
11361 ;;
11362 esac
11363 # FIXME: first we should search . and the directory the executable is in
11364 shlibpath_var=PATH
11365 ;;
11366
11367darwin* | rhapsody*)
11368 dynamic_linker="$host_os dyld"
11369 version_type=darwin
11370 need_lib_prefix=no
11371 need_version=no
11372 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11373 soname_spec='${libname}${release}${major}$shared_ext'
11374 shlibpath_overrides_runpath=yes
11375 shlibpath_var=DYLD_LIBRARY_PATH
11376 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11377
11378 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11379 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11380 ;;
11381
11382dgux*)
11383 version_type=linux
11384 need_lib_prefix=no
11385 need_version=no
11386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11387 soname_spec='${libname}${release}${shared_ext}$major'
11388 shlibpath_var=LD_LIBRARY_PATH
11389 ;;
11390
11391freebsd1*)
11392 dynamic_linker=no
11393 ;;
11394
11395freebsd* | dragonfly*)
11396 # DragonFly does not have aout. When/if they implement a new
11397 # versioning mechanism, adjust this.
11398 if test -x /usr/bin/objformat; then
11399 objformat=`/usr/bin/objformat`
11400 else
11401 case $host_os in
11402 freebsd[123]*) objformat=aout ;;
11403 *) objformat=elf ;;
11404 esac
11405 fi
11406 version_type=freebsd-$objformat
11407 case $version_type in
11408 freebsd-elf*)
11409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11410 need_version=no
11411 need_lib_prefix=no
11412 ;;
11413 freebsd-*)
11414 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11415 need_version=yes
11416 ;;
11417 esac
11418 shlibpath_var=LD_LIBRARY_PATH
11419 case $host_os in
11420 freebsd2*)
11421 shlibpath_overrides_runpath=yes
11422 ;;
11423 freebsd3.[01]* | freebsdelf3.[01]*)
11424 shlibpath_overrides_runpath=yes
11425 hardcode_into_libs=yes
11426 ;;
11427 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11428 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11429 shlibpath_overrides_runpath=no
11430 hardcode_into_libs=yes
11431 ;;
11432 *) # from 4.6 on, and DragonFly
11433 shlibpath_overrides_runpath=yes
11434 hardcode_into_libs=yes
11435 ;;
11436 esac
11437 ;;
11438
11439gnu*)
11440 version_type=linux
11441 need_lib_prefix=no
11442 need_version=no
11443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11444 soname_spec='${libname}${release}${shared_ext}$major'
11445 shlibpath_var=LD_LIBRARY_PATH
11446 shlibpath_overrides_runpath=no
11447 hardcode_into_libs=yes
11448 ;;
11449
11450haiku*)
11451 version_type=linux
11452 need_lib_prefix=no
11453 need_version=no
11454 dynamic_linker="$host_os runtime_loader"
11455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11456 soname_spec='${libname}${release}${shared_ext}$major'
11457 shlibpath_var=LIBRARY_PATH
11458 shlibpath_overrides_runpath=yes
11459 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11460 hardcode_into_libs=yes
11461 ;;
11462
11463hpux9* | hpux10* | hpux11*)
11464 # Give a soname corresponding to the major version so that dld.sl refuses to
11465 # link against other versions.
11466 version_type=sunos
11467 need_lib_prefix=no
11468 need_version=no
11469 case $host_cpu in
11470 ia64*)
11471 shrext_cmds='.so'
11472 hardcode_into_libs=yes
11473 dynamic_linker="$host_os dld.so"
11474 shlibpath_var=LD_LIBRARY_PATH
11475 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477 soname_spec='${libname}${release}${shared_ext}$major'
11478 if test "X$HPUX_IA64_MODE" = X32; then
11479 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11480 else
11481 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11482 fi
11483 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11484 ;;
11485 hppa*64*)
11486 shrext_cmds='.sl'
11487 hardcode_into_libs=yes
11488 dynamic_linker="$host_os dld.sl"
11489 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11490 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11492 soname_spec='${libname}${release}${shared_ext}$major'
11493 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11494 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11495 ;;
11496 *)
11497 shrext_cmds='.sl'
11498 dynamic_linker="$host_os dld.sl"
11499 shlibpath_var=SHLIB_PATH
11500 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11502 soname_spec='${libname}${release}${shared_ext}$major'
11503 ;;
11504 esac
11505 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11506 postinstall_cmds='chmod 555 $lib'
11507 # or fails outright, so override atomically:
11508 install_override_mode=555
11509 ;;
11510
11511interix[3-9]*)
11512 version_type=linux
11513 need_lib_prefix=no
11514 need_version=no
11515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11516 soname_spec='${libname}${release}${shared_ext}$major'
11517 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11518 shlibpath_var=LD_LIBRARY_PATH
11519 shlibpath_overrides_runpath=no
11520 hardcode_into_libs=yes
11521 ;;
11522
11523irix5* | irix6* | nonstopux*)
11524 case $host_os in
11525 nonstopux*) version_type=nonstopux ;;
11526 *)
11527 if test "$lt_cv_prog_gnu_ld" = yes; then
11528 version_type=linux
11529 else
11530 version_type=irix
11531 fi ;;
11532 esac
11533 need_lib_prefix=no
11534 need_version=no
11535 soname_spec='${libname}${release}${shared_ext}$major'
11536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11537 case $host_os in
11538 irix5* | nonstopux*)
11539 libsuff= shlibsuff=
11540 ;;
11541 *)
11542 case $LD in # libtool.m4 will add one of these switches to LD
11543 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11544 libsuff= shlibsuff= libmagic=32-bit;;
11545 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11546 libsuff=32 shlibsuff=N32 libmagic=N32;;
11547 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11548 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11549 *) libsuff= shlibsuff= libmagic=never-match;;
11550 esac
11551 ;;
11552 esac
11553 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11554 shlibpath_overrides_runpath=no
11555 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11556 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11557 hardcode_into_libs=yes
11558 ;;
11559
11560# No shared lib support for Linux oldld, aout, or coff.
11561linux*oldld* | linux*aout* | linux*coff*)
11562 dynamic_linker=no
11563 ;;
11564
11565# This must be Linux ELF.
11566linux* | k*bsd*-gnu | kopensolaris*-gnu)
11567 version_type=linux
11568 need_lib_prefix=no
11569 need_version=no
11570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11571 soname_spec='${libname}${release}${shared_ext}$major'
11572 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11573 shlibpath_var=LD_LIBRARY_PATH
11574 shlibpath_overrides_runpath=no
11575
11576 # Some binutils ld are patched to set DT_RUNPATH
11577 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11578 $as_echo_n "(cached) " >&6
11579else
11580 lt_cv_shlibpath_overrides_runpath=no
11581 save_LDFLAGS=$LDFLAGS
11582 save_libdir=$libdir
11583 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11584 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586/* end confdefs.h. */
11587
11588int
11589main ()
11590{
11591
11592 ;
11593 return 0;
11594}
11595_ACEOF
11596if ac_fn_c_try_link "$LINENO"; then :
11597 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11598 lt_cv_shlibpath_overrides_runpath=yes
11599fi
11600fi
11601rm -f core conftest.err conftest.$ac_objext \
11602 conftest$ac_exeext conftest.$ac_ext
11603 LDFLAGS=$save_LDFLAGS
11604 libdir=$save_libdir
11605
11606fi
11607
11608 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11609
11610 # This implies no fast_install, which is unacceptable.
11611 # Some rework will be needed to allow for fast_install
11612 # before this can be enabled.
11613 hardcode_into_libs=yes
11614
11615 # Append ld.so.conf contents to the search path
11616 if test -f /etc/ld.so.conf; then
11617 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11618 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11619 fi
11620
11621 # We used to test for /lib/ld.so.1 and disable shared libraries on
11622 # powerpc, because MkLinux only supported shared libraries with the
11623 # GNU dynamic linker. Since this was broken with cross compilers,
11624 # most powerpc-linux boxes support dynamic linking these days and
11625 # people can always --disable-shared, the test was removed, and we
11626 # assume the GNU/Linux dynamic linker is in use.
11627 dynamic_linker='GNU/Linux ld.so'
11628 ;;
11629
11630netbsdelf*-gnu)
11631 version_type=linux
11632 need_lib_prefix=no
11633 need_version=no
11634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11635 soname_spec='${libname}${release}${shared_ext}$major'
11636 shlibpath_var=LD_LIBRARY_PATH
11637 shlibpath_overrides_runpath=no
11638 hardcode_into_libs=yes
11639 dynamic_linker='NetBSD ld.elf_so'
11640 ;;
11641
11642netbsd*)
11643 version_type=sunos
11644 need_lib_prefix=no
11645 need_version=no
11646 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11648 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11649 dynamic_linker='NetBSD (a.out) ld.so'
11650 else
11651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11652 soname_spec='${libname}${release}${shared_ext}$major'
11653 dynamic_linker='NetBSD ld.elf_so'
11654 fi
11655 shlibpath_var=LD_LIBRARY_PATH
11656 shlibpath_overrides_runpath=yes
11657 hardcode_into_libs=yes
11658 ;;
11659
11660newsos6)
11661 version_type=linux
11662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11663 shlibpath_var=LD_LIBRARY_PATH
11664 shlibpath_overrides_runpath=yes
11665 ;;
11666
11667*nto* | *qnx*)
11668 version_type=qnx
11669 need_lib_prefix=no
11670 need_version=no
11671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11672 soname_spec='${libname}${release}${shared_ext}$major'
11673 shlibpath_var=LD_LIBRARY_PATH
11674 shlibpath_overrides_runpath=no
11675 hardcode_into_libs=yes
11676 dynamic_linker='ldqnx.so'
11677 ;;
11678
11679openbsd*)
11680 version_type=sunos
11681 sys_lib_dlsearch_path_spec="/usr/lib"
11682 need_lib_prefix=no
11683 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11684 case $host_os in
11685 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11686 *) need_version=no ;;
11687 esac
11688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11689 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11690 shlibpath_var=LD_LIBRARY_PATH
11691 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11692 case $host_os in
11693 openbsd2.[89] | openbsd2.[89].*)
11694 shlibpath_overrides_runpath=no
11695 ;;
11696 *)
11697 shlibpath_overrides_runpath=yes
11698 ;;
11699 esac
11700 else
11701 shlibpath_overrides_runpath=yes
11702 fi
11703 ;;
11704
11705os2*)
11706 libname_spec='$name'
11707 shrext_cmds=".dll"
11708 need_lib_prefix=no
11709 library_names_spec='$libname${shared_ext} $libname.a'
11710 dynamic_linker='OS/2 ld.exe'
11711 shlibpath_var=LIBPATH
11712 ;;
11713
11714osf3* | osf4* | osf5*)
11715 version_type=osf
11716 need_lib_prefix=no
11717 need_version=no
11718 soname_spec='${libname}${release}${shared_ext}$major'
11719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11720 shlibpath_var=LD_LIBRARY_PATH
11721 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11722 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11723 ;;
11724
11725rdos*)
11726 dynamic_linker=no
11727 ;;
11728
11729solaris*)
11730 version_type=linux
11731 need_lib_prefix=no
11732 need_version=no
11733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11734 soname_spec='${libname}${release}${shared_ext}$major'
11735 shlibpath_var=LD_LIBRARY_PATH
11736 shlibpath_overrides_runpath=yes
11737 hardcode_into_libs=yes
11738 # ldd complains unless libraries are executable
11739 postinstall_cmds='chmod +x $lib'
11740 ;;
11741
11742sunos4*)
11743 version_type=sunos
11744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11745 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11746 shlibpath_var=LD_LIBRARY_PATH
11747 shlibpath_overrides_runpath=yes
11748 if test "$with_gnu_ld" = yes; then
11749 need_lib_prefix=no
11750 fi
11751 need_version=yes
11752 ;;
11753
11754sysv4 | sysv4.3*)
11755 version_type=linux
11756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11757 soname_spec='${libname}${release}${shared_ext}$major'
11758 shlibpath_var=LD_LIBRARY_PATH
11759 case $host_vendor in
11760 sni)
11761 shlibpath_overrides_runpath=no
11762 need_lib_prefix=no
11763 runpath_var=LD_RUN_PATH
11764 ;;
11765 siemens)
11766 need_lib_prefix=no
11767 ;;
11768 motorola)
11769 need_lib_prefix=no
11770 need_version=no
11771 shlibpath_overrides_runpath=no
11772 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11773 ;;
11774 esac
11775 ;;
11776
11777sysv4*MP*)
11778 if test -d /usr/nec ;then
11779 version_type=linux
11780 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11781 soname_spec='$libname${shared_ext}.$major'
11782 shlibpath_var=LD_LIBRARY_PATH
11783 fi
11784 ;;
11785
11786sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11787 version_type=freebsd-elf
11788 need_lib_prefix=no
11789 need_version=no
11790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11791 soname_spec='${libname}${release}${shared_ext}$major'
11792 shlibpath_var=LD_LIBRARY_PATH
11793 shlibpath_overrides_runpath=yes
11794 hardcode_into_libs=yes
11795 if test "$with_gnu_ld" = yes; then
11796 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11797 else
11798 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11799 case $host_os in
11800 sco3.2v5*)
11801 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11802 ;;
11803 esac
11804 fi
11805 sys_lib_dlsearch_path_spec='/usr/lib'
11806 ;;
11807
11808tpf*)
11809 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11810 version_type=linux
11811 need_lib_prefix=no
11812 need_version=no
11813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11814 shlibpath_var=LD_LIBRARY_PATH
11815 shlibpath_overrides_runpath=no
11816 hardcode_into_libs=yes
11817 ;;
11818
11819uts4*)
11820 version_type=linux
11821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11822 soname_spec='${libname}${release}${shared_ext}$major'
11823 shlibpath_var=LD_LIBRARY_PATH
11824 ;;
11825
11826*)
11827 dynamic_linker=no
11828 ;;
11829esac
11830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11831$as_echo "$dynamic_linker" >&6; }
11832test "$dynamic_linker" = no && can_build_shared=no
11833
11834variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11835if test "$GCC" = yes; then
11836 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11837fi
11838
11839if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11840 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11841fi
11842if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11843 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11844fi
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11938$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11939hardcode_action=
11940if test -n "$hardcode_libdir_flag_spec" ||
11941 test -n "$runpath_var" ||
11942 test "X$hardcode_automatic" = "Xyes" ; then
11943
11944 # We can hardcode non-existent directories.
11945 if test "$hardcode_direct" != no &&
11946 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11947 # have to relink, otherwise we might link with an installed library
11948 # when we should be linking with a yet-to-be-installed one
11949 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11950 test "$hardcode_minus_L" != no; then
11951 # Linking always hardcodes the temporary library directory.
11952 hardcode_action=relink
11953 else
11954 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11955 hardcode_action=immediate
11956 fi
11957else
11958 # We cannot hardcode anything, or else we can only hardcode existing
11959 # directories.
11960 hardcode_action=unsupported
11961fi
11962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11963$as_echo "$hardcode_action" >&6; }
11964
11965if test "$hardcode_action" = relink ||
11966 test "$inherit_rpath" = yes; then
11967 # Fast installation is not supported
11968 enable_fast_install=no
11969elif test "$shlibpath_overrides_runpath" = yes ||
11970 test "$enable_shared" = no; then
11971 # Fast installation is not necessary
11972 enable_fast_install=needless
11973fi
11974
11975
11976
11977
11978
11979
11980 if test "x$enable_dlopen" != xyes; then
11981 enable_dlopen=unknown
11982 enable_dlopen_self=unknown
11983 enable_dlopen_self_static=unknown
11984else
11985 lt_cv_dlopen=no
11986 lt_cv_dlopen_libs=
11987
11988 case $host_os in
11989 beos*)
11990 lt_cv_dlopen="load_add_on"
11991 lt_cv_dlopen_libs=
11992 lt_cv_dlopen_self=yes
11993 ;;
11994
11995 mingw* | pw32* | cegcc*)
11996 lt_cv_dlopen="LoadLibrary"
11997 lt_cv_dlopen_libs=
11998 ;;
11999
12000 cygwin*)
12001 lt_cv_dlopen="dlopen"
12002 lt_cv_dlopen_libs=
12003 ;;
12004
12005 darwin*)
12006 # if libdl is installed we need to link against it
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12008$as_echo_n "checking for dlopen in -ldl... " >&6; }
12009if ${ac_cv_lib_dl_dlopen+:} false; then :
12010 $as_echo_n "(cached) " >&6
12011else
12012 ac_check_lib_save_LIBS=$LIBS
12013LIBS="-ldl $LIBS"
12014cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12015/* end confdefs.h. */
12016
12017/* Override any GCC internal prototype to avoid an error.
12018 Use char because int might match the return type of a GCC
12019 builtin and then its argument prototype would still apply. */
12020#ifdef __cplusplus
12021extern "C"
12022#endif
12023char dlopen ();
12024int
12025main ()
12026{
12027return dlopen ();
12028 ;
12029 return 0;
12030}
12031_ACEOF
12032if ac_fn_c_try_link "$LINENO"; then :
12033 ac_cv_lib_dl_dlopen=yes
12034else
12035 ac_cv_lib_dl_dlopen=no
12036fi
12037rm -f core conftest.err conftest.$ac_objext \
12038 conftest$ac_exeext conftest.$ac_ext
12039LIBS=$ac_check_lib_save_LIBS
12040fi
12041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12042$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12043if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12044 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12045else
12046
12047 lt_cv_dlopen="dyld"
12048 lt_cv_dlopen_libs=
12049 lt_cv_dlopen_self=yes
12050
12051fi
12052
12053 ;;
12054
12055 *)
12056 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12057if test "x$ac_cv_func_shl_load" = xyes; then :
12058 lt_cv_dlopen="shl_load"
12059else
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12061$as_echo_n "checking for shl_load in -ldld... " >&6; }
12062if ${ac_cv_lib_dld_shl_load+:} false; then :
12063 $as_echo_n "(cached) " >&6
12064else
12065 ac_check_lib_save_LIBS=$LIBS
12066LIBS="-ldld $LIBS"
12067cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12068/* end confdefs.h. */
12069
12070/* Override any GCC internal prototype to avoid an error.
12071 Use char because int might match the return type of a GCC
12072 builtin and then its argument prototype would still apply. */
12073#ifdef __cplusplus
12074extern "C"
12075#endif
12076char shl_load ();
12077int
12078main ()
12079{
12080return shl_load ();
12081 ;
12082 return 0;
12083}
12084_ACEOF
12085if ac_fn_c_try_link "$LINENO"; then :
12086 ac_cv_lib_dld_shl_load=yes
12087else
12088 ac_cv_lib_dld_shl_load=no
12089fi
12090rm -f core conftest.err conftest.$ac_objext \
12091 conftest$ac_exeext conftest.$ac_ext
12092LIBS=$ac_check_lib_save_LIBS
12093fi
12094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12095$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12096if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12097 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12098else
12099 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12100if test "x$ac_cv_func_dlopen" = xyes; then :
12101 lt_cv_dlopen="dlopen"
12102else
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12104$as_echo_n "checking for dlopen in -ldl... " >&6; }
12105if ${ac_cv_lib_dl_dlopen+:} false; then :
12106 $as_echo_n "(cached) " >&6
12107else
12108 ac_check_lib_save_LIBS=$LIBS
12109LIBS="-ldl $LIBS"
12110cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111/* end confdefs.h. */
12112
12113/* Override any GCC internal prototype to avoid an error.
12114 Use char because int might match the return type of a GCC
12115 builtin and then its argument prototype would still apply. */
12116#ifdef __cplusplus
12117extern "C"
12118#endif
12119char dlopen ();
12120int
12121main ()
12122{
12123return dlopen ();
12124 ;
12125 return 0;
12126}
12127_ACEOF
12128if ac_fn_c_try_link "$LINENO"; then :
12129 ac_cv_lib_dl_dlopen=yes
12130else
12131 ac_cv_lib_dl_dlopen=no
12132fi
12133rm -f core conftest.err conftest.$ac_objext \
12134 conftest$ac_exeext conftest.$ac_ext
12135LIBS=$ac_check_lib_save_LIBS
12136fi
12137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12138$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12139if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12140 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12141else
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12143$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12144if ${ac_cv_lib_svld_dlopen+:} false; then :
12145 $as_echo_n "(cached) " >&6
12146else
12147 ac_check_lib_save_LIBS=$LIBS
12148LIBS="-lsvld $LIBS"
12149cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150/* end confdefs.h. */
12151
12152/* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12155#ifdef __cplusplus
12156extern "C"
12157#endif
12158char dlopen ();
12159int
12160main ()
12161{
12162return dlopen ();
12163 ;
12164 return 0;
12165}
12166_ACEOF
12167if ac_fn_c_try_link "$LINENO"; then :
12168 ac_cv_lib_svld_dlopen=yes
12169else
12170 ac_cv_lib_svld_dlopen=no
12171fi
12172rm -f core conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174LIBS=$ac_check_lib_save_LIBS
12175fi
12176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12177$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12178if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12179 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12180else
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12182$as_echo_n "checking for dld_link in -ldld... " >&6; }
12183if ${ac_cv_lib_dld_dld_link+:} false; then :
12184 $as_echo_n "(cached) " >&6
12185else
12186 ac_check_lib_save_LIBS=$LIBS
12187LIBS="-ldld $LIBS"
12188cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189/* end confdefs.h. */
12190
12191/* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12194#ifdef __cplusplus
12195extern "C"
12196#endif
12197char dld_link ();
12198int
12199main ()
12200{
12201return dld_link ();
12202 ;
12203 return 0;
12204}
12205_ACEOF
12206if ac_fn_c_try_link "$LINENO"; then :
12207 ac_cv_lib_dld_dld_link=yes
12208else
12209 ac_cv_lib_dld_dld_link=no
12210fi
12211rm -f core conftest.err conftest.$ac_objext \
12212 conftest$ac_exeext conftest.$ac_ext
12213LIBS=$ac_check_lib_save_LIBS
12214fi
12215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12216$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12217if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12218 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12219fi
12220
12221
12222fi
12223
12224
12225fi
12226
12227
12228fi
12229
12230
12231fi
12232
12233
12234fi
12235
12236 ;;
12237 esac
12238
12239 if test "x$lt_cv_dlopen" != xno; then
12240 enable_dlopen=yes
12241 else
12242 enable_dlopen=no
12243 fi
12244
12245 case $lt_cv_dlopen in
12246 dlopen)
12247 save_CPPFLAGS="$CPPFLAGS"
12248 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12249
12250 save_LDFLAGS="$LDFLAGS"
12251 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12252
12253 save_LIBS="$LIBS"
12254 LIBS="$lt_cv_dlopen_libs $LIBS"
12255
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12257$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12258if ${lt_cv_dlopen_self+:} false; then :
12259 $as_echo_n "(cached) " >&6
12260else
12261 if test "$cross_compiling" = yes; then :
12262 lt_cv_dlopen_self=cross
12263else
12264 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12265 lt_status=$lt_dlunknown
12266 cat > conftest.$ac_ext <<_LT_EOF
12267#line $LINENO "configure"
12268#include "confdefs.h"
12269
12270#if HAVE_DLFCN_H
12271#include <dlfcn.h>
12272#endif
12273
12274#include <stdio.h>
12275
12276#ifdef RTLD_GLOBAL
12277# define LT_DLGLOBAL RTLD_GLOBAL
12278#else
12279# ifdef DL_GLOBAL
12280# define LT_DLGLOBAL DL_GLOBAL
12281# else
12282# define LT_DLGLOBAL 0
12283# endif
12284#endif
12285
12286/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12287 find out it does not work in some platform. */
12288#ifndef LT_DLLAZY_OR_NOW
12289# ifdef RTLD_LAZY
12290# define LT_DLLAZY_OR_NOW RTLD_LAZY
12291# else
12292# ifdef DL_LAZY
12293# define LT_DLLAZY_OR_NOW DL_LAZY
12294# else
12295# ifdef RTLD_NOW
12296# define LT_DLLAZY_OR_NOW RTLD_NOW
12297# else
12298# ifdef DL_NOW
12299# define LT_DLLAZY_OR_NOW DL_NOW
12300# else
12301# define LT_DLLAZY_OR_NOW 0
12302# endif
12303# endif
12304# endif
12305# endif
12306#endif
12307
12308/* When -fvisbility=hidden is used, assume the code has been annotated
12309 correspondingly for the symbols needed. */
12310#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12311int fnord () __attribute__((visibility("default")));
12312#endif
12313
12314int fnord () { return 42; }
12315int main ()
12316{
12317 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12318 int status = $lt_dlunknown;
12319
12320 if (self)
12321 {
12322 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12323 else
12324 {
12325 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12326 else puts (dlerror ());
12327 }
12328 /* dlclose (self); */
12329 }
12330 else
12331 puts (dlerror ());
12332
12333 return status;
12334}
12335_LT_EOF
12336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12337 (eval $ac_link) 2>&5
12338 ac_status=$?
12339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12340 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12341 (./conftest; exit; ) >&5 2>/dev/null
12342 lt_status=$?
12343 case x$lt_status in
12344 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12345 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12346 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12347 esac
12348 else :
12349 # compilation failed
12350 lt_cv_dlopen_self=no
12351 fi
12352fi
12353rm -fr conftest*
12354
12355
12356fi
12357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12358$as_echo "$lt_cv_dlopen_self" >&6; }
12359
12360 if test "x$lt_cv_dlopen_self" = xyes; then
12361 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12363$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12364if ${lt_cv_dlopen_self_static+:} false; then :
12365 $as_echo_n "(cached) " >&6
12366else
12367 if test "$cross_compiling" = yes; then :
12368 lt_cv_dlopen_self_static=cross
12369else
12370 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12371 lt_status=$lt_dlunknown
12372 cat > conftest.$ac_ext <<_LT_EOF
12373#line $LINENO "configure"
12374#include "confdefs.h"
12375
12376#if HAVE_DLFCN_H
12377#include <dlfcn.h>
12378#endif
12379
12380#include <stdio.h>
12381
12382#ifdef RTLD_GLOBAL
12383# define LT_DLGLOBAL RTLD_GLOBAL
12384#else
12385# ifdef DL_GLOBAL
12386# define LT_DLGLOBAL DL_GLOBAL
12387# else
12388# define LT_DLGLOBAL 0
12389# endif
12390#endif
12391
12392/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12393 find out it does not work in some platform. */
12394#ifndef LT_DLLAZY_OR_NOW
12395# ifdef RTLD_LAZY
12396# define LT_DLLAZY_OR_NOW RTLD_LAZY
12397# else
12398# ifdef DL_LAZY
12399# define LT_DLLAZY_OR_NOW DL_LAZY
12400# else
12401# ifdef RTLD_NOW
12402# define LT_DLLAZY_OR_NOW RTLD_NOW
12403# else
12404# ifdef DL_NOW
12405# define LT_DLLAZY_OR_NOW DL_NOW
12406# else
12407# define LT_DLLAZY_OR_NOW 0
12408# endif
12409# endif
12410# endif
12411# endif
12412#endif
12413
12414/* When -fvisbility=hidden is used, assume the code has been annotated
12415 correspondingly for the symbols needed. */
12416#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12417int fnord () __attribute__((visibility("default")));
12418#endif
12419
12420int fnord () { return 42; }
12421int main ()
12422{
12423 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12424 int status = $lt_dlunknown;
12425
12426 if (self)
12427 {
12428 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12429 else
12430 {
12431 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12432 else puts (dlerror ());
12433 }
12434 /* dlclose (self); */
12435 }
12436 else
12437 puts (dlerror ());
12438
12439 return status;
12440}
12441_LT_EOF
12442 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12443 (eval $ac_link) 2>&5
12444 ac_status=$?
12445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12446 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12447 (./conftest; exit; ) >&5 2>/dev/null
12448 lt_status=$?
12449 case x$lt_status in
12450 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12451 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12452 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12453 esac
12454 else :
12455 # compilation failed
12456 lt_cv_dlopen_self_static=no
12457 fi
12458fi
12459rm -fr conftest*
12460
12461
12462fi
12463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12464$as_echo "$lt_cv_dlopen_self_static" >&6; }
12465 fi
12466
12467 CPPFLAGS="$save_CPPFLAGS"
12468 LDFLAGS="$save_LDFLAGS"
12469 LIBS="$save_LIBS"
12470 ;;
12471 esac
12472
12473 case $lt_cv_dlopen_self in
12474 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12475 *) enable_dlopen_self=unknown ;;
12476 esac
12477
12478 case $lt_cv_dlopen_self_static in
12479 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12480 *) enable_dlopen_self_static=unknown ;;
12481 esac
12482fi
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500striplib=
12501old_striplib=
12502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12503$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12504if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12505 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12506 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12508$as_echo "yes" >&6; }
12509else
12510# FIXME - insert some real tests, host_os isn't really good enough
12511 case $host_os in
12512 darwin*)
12513 if test -n "$STRIP" ; then
12514 striplib="$STRIP -x"
12515 old_striplib="$STRIP -S"
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12517$as_echo "yes" >&6; }
12518 else
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12520$as_echo "no" >&6; }
12521 fi
12522 ;;
12523 *)
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12525$as_echo "no" >&6; }
12526 ;;
12527 esac
12528fi
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541 # Report which library types will actually be built
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12543$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12545$as_echo "$can_build_shared" >&6; }
12546
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12548$as_echo_n "checking whether to build shared libraries... " >&6; }
12549 test "$can_build_shared" = "no" && enable_shared=no
12550
12551 # On AIX, shared libraries and static libraries use the same namespace, and
12552 # are all built from PIC.
12553 case $host_os in
12554 aix3*)
12555 test "$enable_shared" = yes && enable_static=no
12556 if test -n "$RANLIB"; then
12557 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12558 postinstall_cmds='$RANLIB $lib'
12559 fi
12560 ;;
12561
12562 aix[4-9]*)
12563 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12564 test "$enable_shared" = yes && enable_static=no
12565 fi
12566 ;;
12567 esac
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12569$as_echo "$enable_shared" >&6; }
12570
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12572$as_echo_n "checking whether to build static libraries... " >&6; }
12573 # Make sure either enable_shared or enable_static is yes.
12574 test "$enable_shared" = yes || enable_static=yes
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12576$as_echo "$enable_static" >&6; }
12577
12578
12579
12580
12581fi
12582ac_ext=cpp
12583ac_cpp='$CXXCPP $CPPFLAGS'
12584ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12585ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12586ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12587
12588CC="$lt_save_CC"
12589
12590 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12591 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12592 (test "X$CXX" != "Xg++"))) ; then
12593 ac_ext=cpp
12594ac_cpp='$CXXCPP $CPPFLAGS'
12595ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12596ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12597ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12599$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12600if test -z "$CXXCPP"; then
12601 if ${ac_cv_prog_CXXCPP+:} false; then :
12602 $as_echo_n "(cached) " >&6
12603else
12604 # Double quotes because CXXCPP needs to be expanded
12605 for CXXCPP in "$CXX -E" "/lib/cpp"
12606 do
12607 ac_preproc_ok=false
12608for ac_cxx_preproc_warn_flag in '' yes
12609do
12610 # Use a header file that comes with gcc, so configuring glibc
12611 # with a fresh cross-compiler works.
12612 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12613 # <limits.h> exists even on freestanding compilers.
12614 # On the NeXT, cc -E runs the code through the compiler's parser,
12615 # not just through cpp. "Syntax error" is here to catch this case.
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617/* end confdefs.h. */
12618#ifdef __STDC__
12619# include <limits.h>
12620#else
12621# include <assert.h>
12622#endif
12623 Syntax error
12624_ACEOF
12625if ac_fn_cxx_try_cpp "$LINENO"; then :
12626
12627else
12628 # Broken: fails on valid input.
12629continue
12630fi
12631rm -f conftest.err conftest.i conftest.$ac_ext
12632
12633 # OK, works on sane cases. Now check whether nonexistent headers
12634 # can be detected and how.
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636/* end confdefs.h. */
12637#include <ac_nonexistent.h>
12638_ACEOF
12639if ac_fn_cxx_try_cpp "$LINENO"; then :
12640 # Broken: success on invalid input.
12641continue
12642else
12643 # Passes both tests.
12644ac_preproc_ok=:
12645break
12646fi
12647rm -f conftest.err conftest.i conftest.$ac_ext
12648
12649done
12650# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12651rm -f conftest.i conftest.err conftest.$ac_ext
12652if $ac_preproc_ok; then :
12653 break
12654fi
12655
12656 done
12657 ac_cv_prog_CXXCPP=$CXXCPP
12658
12659fi
12660 CXXCPP=$ac_cv_prog_CXXCPP
12661else
12662 ac_cv_prog_CXXCPP=$CXXCPP
12663fi
12664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12665$as_echo "$CXXCPP" >&6; }
12666ac_preproc_ok=false
12667for ac_cxx_preproc_warn_flag in '' yes
12668do
12669 # Use a header file that comes with gcc, so configuring glibc
12670 # with a fresh cross-compiler works.
12671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12672 # <limits.h> exists even on freestanding compilers.
12673 # On the NeXT, cc -E runs the code through the compiler's parser,
12674 # not just through cpp. "Syntax error" is here to catch this case.
12675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12676/* end confdefs.h. */
12677#ifdef __STDC__
12678# include <limits.h>
12679#else
12680# include <assert.h>
12681#endif
12682 Syntax error
12683_ACEOF
12684if ac_fn_cxx_try_cpp "$LINENO"; then :
12685
12686else
12687 # Broken: fails on valid input.
12688continue
12689fi
12690rm -f conftest.err conftest.i conftest.$ac_ext
12691
12692 # OK, works on sane cases. Now check whether nonexistent headers
12693 # can be detected and how.
12694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12695/* end confdefs.h. */
12696#include <ac_nonexistent.h>
12697_ACEOF
12698if ac_fn_cxx_try_cpp "$LINENO"; then :
12699 # Broken: success on invalid input.
12700continue
12701else
12702 # Passes both tests.
12703ac_preproc_ok=:
12704break
12705fi
12706rm -f conftest.err conftest.i conftest.$ac_ext
12707
12708done
12709# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12710rm -f conftest.i conftest.err conftest.$ac_ext
12711if $ac_preproc_ok; then :
12712
12713else
12714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12715$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12716as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12717See \`config.log' for more details" "$LINENO" 5; }
12718fi
12719
12720ac_ext=cpp
12721ac_cpp='$CXXCPP $CPPFLAGS'
12722ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12723ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12724ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12725
12726else
12727 _lt_caught_CXX_error=yes
12728fi
12729
12730ac_ext=cpp
12731ac_cpp='$CXXCPP $CPPFLAGS'
12732ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12733ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12734ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12735
12736archive_cmds_need_lc_CXX=no
12737allow_undefined_flag_CXX=
12738always_export_symbols_CXX=no
12739archive_expsym_cmds_CXX=
12740compiler_needs_object_CXX=no
12741export_dynamic_flag_spec_CXX=
12742hardcode_direct_CXX=no
12743hardcode_direct_absolute_CXX=no
12744hardcode_libdir_flag_spec_CXX=
12745hardcode_libdir_flag_spec_ld_CXX=
12746hardcode_libdir_separator_CXX=
12747hardcode_minus_L_CXX=no
12748hardcode_shlibpath_var_CXX=unsupported
12749hardcode_automatic_CXX=no
12750inherit_rpath_CXX=no
12751module_cmds_CXX=
12752module_expsym_cmds_CXX=
12753link_all_deplibs_CXX=unknown
12754old_archive_cmds_CXX=$old_archive_cmds
12755reload_flag_CXX=$reload_flag
12756reload_cmds_CXX=$reload_cmds
12757no_undefined_flag_CXX=
12758whole_archive_flag_spec_CXX=
12759enable_shared_with_static_runtimes_CXX=no
12760
12761# Source file extension for C++ test sources.
12762ac_ext=cpp
12763
12764# Object file extension for compiled C++ test sources.
12765objext=o
12766objext_CXX=$objext
12767
12768# No sense in running all these tests if we already determined that
12769# the CXX compiler isn't working. Some variables (like enable_shared)
12770# are currently assumed to apply to all compilers on this platform,
12771# and will be corrupted by setting them based on a non-working compiler.
12772if test "$_lt_caught_CXX_error" != yes; then
12773 # Code to be used in simple compile tests
12774 lt_simple_compile_test_code="int some_variable = 0;"
12775
12776 # Code to be used in simple link tests
12777 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12778
12779 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12780
12781
12782
12783
12784
12785
12786# If no C compiler was specified, use CC.
12787LTCC=${LTCC-"$CC"}
12788
12789# If no C compiler flags were specified, use CFLAGS.
12790LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12791
12792# Allow CC to be a program name with arguments.
12793compiler=$CC
12794
12795
12796 # save warnings/boilerplate of simple test code
12797 ac_outfile=conftest.$ac_objext
12798echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12799eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12800_lt_compiler_boilerplate=`cat conftest.err`
12801$RM conftest*
12802
12803 ac_outfile=conftest.$ac_objext
12804echo "$lt_simple_link_test_code" >conftest.$ac_ext
12805eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12806_lt_linker_boilerplate=`cat conftest.err`
12807$RM -r conftest*
12808
12809
12810 # Allow CC to be a program name with arguments.
12811 lt_save_CC=$CC
12812 lt_save_CFLAGS=$CFLAGS
12813 lt_save_LD=$LD
12814 lt_save_GCC=$GCC
12815 GCC=$GXX
12816 lt_save_with_gnu_ld=$with_gnu_ld
12817 lt_save_path_LD=$lt_cv_path_LD
12818 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12819 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12820 else
12821 $as_unset lt_cv_prog_gnu_ld
12822 fi
12823 if test -n "${lt_cv_path_LDCXX+set}"; then
12824 lt_cv_path_LD=$lt_cv_path_LDCXX
12825 else
12826 $as_unset lt_cv_path_LD
12827 fi
12828 test -z "${LDCXX+set}" || LD=$LDCXX
12829 CC=${CXX-"c++"}
12830 CFLAGS=$CXXFLAGS
12831 compiler=$CC
12832 compiler_CXX=$CC
12833 for cc_temp in $compiler""; do
12834 case $cc_temp in
12835 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12836 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12837 \-*) ;;
12838 *) break;;
12839 esac
12840done
12841cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12842
12843
12844 if test -n "$compiler"; then
12845 # We don't want -fno-exception when compiling C++ code, so set the
12846 # no_builtin_flag separately
12847 if test "$GXX" = yes; then
12848 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12849 else
12850 lt_prog_compiler_no_builtin_flag_CXX=
12851 fi
12852
12853 if test "$GXX" = yes; then
12854 # Set up default GNU C++ configuration
12855
12856
12857
12858# Check whether --with-gnu-ld was given.
12859if test "${with_gnu_ld+set}" = set; then :
12860 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12861else
12862 with_gnu_ld=no
12863fi
12864
12865ac_prog=ld
12866if test "$GCC" = yes; then
12867 # Check if gcc -print-prog-name=ld gives a path.
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12869$as_echo_n "checking for ld used by $CC... " >&6; }
12870 case $host in
12871 *-*-mingw*)
12872 # gcc leaves a trailing carriage return which upsets mingw
12873 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12874 *)
12875 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12876 esac
12877 case $ac_prog in
12878 # Accept absolute paths.
12879 [\\/]* | ?:[\\/]*)
12880 re_direlt='/[^/][^/]*/\.\./'
12881 # Canonicalize the pathname of ld
12882 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12883 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12884 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12885 done
12886 test -z "$LD" && LD="$ac_prog"
12887 ;;
12888 "")
12889 # If it fails, then pretend we aren't using GCC.
12890 ac_prog=ld
12891 ;;
12892 *)
12893 # If it is relative, then search for the first ld in PATH.
12894 with_gnu_ld=unknown
12895 ;;
12896 esac
12897elif test "$with_gnu_ld" = yes; then
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12899$as_echo_n "checking for GNU ld... " >&6; }
12900else
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12902$as_echo_n "checking for non-GNU ld... " >&6; }
12903fi
12904if ${lt_cv_path_LD+:} false; then :
12905 $as_echo_n "(cached) " >&6
12906else
12907 if test -z "$LD"; then
12908 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12909 for ac_dir in $PATH; do
12910 IFS="$lt_save_ifs"
12911 test -z "$ac_dir" && ac_dir=.
12912 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12913 lt_cv_path_LD="$ac_dir/$ac_prog"
12914 # Check to see if the program is GNU ld. I'd rather use --version,
12915 # but apparently some variants of GNU ld only accept -v.
12916 # Break only if it was the GNU/non-GNU ld that we prefer.
12917 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12918 *GNU* | *'with BFD'*)
12919 test "$with_gnu_ld" != no && break
12920 ;;
12921 *)
12922 test "$with_gnu_ld" != yes && break
12923 ;;
12924 esac
12925 fi
12926 done
12927 IFS="$lt_save_ifs"
12928else
12929 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12930fi
12931fi
12932
12933LD="$lt_cv_path_LD"
12934if test -n "$LD"; then
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12936$as_echo "$LD" >&6; }
12937else
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12939$as_echo "no" >&6; }
12940fi
12941test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12943$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12944if ${lt_cv_prog_gnu_ld+:} false; then :
12945 $as_echo_n "(cached) " >&6
12946else
12947 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12948case `$LD -v 2>&1 </dev/null` in
12949*GNU* | *'with BFD'*)
12950 lt_cv_prog_gnu_ld=yes
12951 ;;
12952*)
12953 lt_cv_prog_gnu_ld=no
12954 ;;
12955esac
12956fi
12957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12958$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12959with_gnu_ld=$lt_cv_prog_gnu_ld
12960
12961
12962
12963
12964
12965
12966
12967 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12968 # archiving commands below assume that GNU ld is being used.
12969 if test "$with_gnu_ld" = yes; then
12970 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12971 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12972
12973 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12974 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12975
12976 # If archive_cmds runs LD, not CC, wlarc should be empty
12977 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12978 # investigate it a little bit more. (MM)
12979 wlarc='${wl}'
12980
12981 # ancient GNU ld didn't support --whole-archive et. al.
12982 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12983 $GREP 'no-whole-archive' > /dev/null; then
12984 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12985 else
12986 whole_archive_flag_spec_CXX=
12987 fi
12988 else
12989 with_gnu_ld=no
12990 wlarc=
12991
12992 # A generic and very simple default shared library creation
12993 # command for GNU C++ for the case where it uses the native
12994 # linker, instead of GNU ld. If possible, this setting should
12995 # overridden to take advantage of the native linker features on
12996 # the platform it is being used on.
12997 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12998 fi
12999
13000 # Commands to make compiler produce verbose output that lists
13001 # what "hidden" libraries, object files and flags are used when
13002 # linking a shared library.
13003 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13004
13005 else
13006 GXX=no
13007 with_gnu_ld=no
13008 wlarc=
13009 fi
13010
13011 # PORTME: fill in a description of your system's C++ link characteristics
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13013$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13014 ld_shlibs_CXX=yes
13015 case $host_os in
13016 aix3*)
13017 # FIXME: insert proper C++ library support
13018 ld_shlibs_CXX=no
13019 ;;
13020 aix[4-9]*)
13021 if test "$host_cpu" = ia64; then
13022 # On IA64, the linker does run time linking by default, so we don't
13023 # have to do anything special.
13024 aix_use_runtimelinking=no
13025 exp_sym_flag='-Bexport'
13026 no_entry_flag=""
13027 else
13028 aix_use_runtimelinking=no
13029
13030 # Test if we are trying to use run time linking or normal
13031 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13032 # need to do runtime linking.
13033 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13034 for ld_flag in $LDFLAGS; do
13035 case $ld_flag in
13036 *-brtl*)
13037 aix_use_runtimelinking=yes
13038 break
13039 ;;
13040 esac
13041 done
13042 ;;
13043 esac
13044
13045 exp_sym_flag='-bexport'
13046 no_entry_flag='-bnoentry'
13047 fi
13048
13049 # When large executables or shared objects are built, AIX ld can
13050 # have problems creating the table of contents. If linking a library
13051 # or program results in "error TOC overflow" add -mminimal-toc to
13052 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13053 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13054
13055 archive_cmds_CXX=''
13056 hardcode_direct_CXX=yes
13057 hardcode_direct_absolute_CXX=yes
13058 hardcode_libdir_separator_CXX=':'
13059 link_all_deplibs_CXX=yes
13060 file_list_spec_CXX='${wl}-f,'
13061
13062 if test "$GXX" = yes; then
13063 case $host_os in aix4.[012]|aix4.[012].*)
13064 # We only want to do this on AIX 4.2 and lower, the check
13065 # below for broken collect2 doesn't work under 4.3+
13066 collect2name=`${CC} -print-prog-name=collect2`
13067 if test -f "$collect2name" &&
13068 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13069 then
13070 # We have reworked collect2
13071 :
13072 else
13073 # We have old collect2
13074 hardcode_direct_CXX=unsupported
13075 # It fails to find uninstalled libraries when the uninstalled
13076 # path is not listed in the libpath. Setting hardcode_minus_L
13077 # to unsupported forces relinking
13078 hardcode_minus_L_CXX=yes
13079 hardcode_libdir_flag_spec_CXX='-L$libdir'
13080 hardcode_libdir_separator_CXX=
13081 fi
13082 esac
13083 shared_flag='-shared'
13084 if test "$aix_use_runtimelinking" = yes; then
13085 shared_flag="$shared_flag "'${wl}-G'
13086 fi
13087 else
13088 # not using gcc
13089 if test "$host_cpu" = ia64; then
13090 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13091 # chokes on -Wl,-G. The following line is correct:
13092 shared_flag='-G'
13093 else
13094 if test "$aix_use_runtimelinking" = yes; then
13095 shared_flag='${wl}-G'
13096 else
13097 shared_flag='${wl}-bM:SRE'
13098 fi
13099 fi
13100 fi
13101
13102 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13103 # It seems that -bexpall does not export symbols beginning with
13104 # underscore (_), so it is better to generate a list of symbols to
13105 # export.
13106 always_export_symbols_CXX=yes
13107 if test "$aix_use_runtimelinking" = yes; then
13108 # Warning - without using the other runtime loading flags (-brtl),
13109 # -berok will link without error, but may produce a broken library.
13110 allow_undefined_flag_CXX='-berok'
13111 # Determine the default libpath from the value encoded in an empty
13112 # executable.
13113 if test "${lt_cv_aix_libpath+set}" = set; then
13114 aix_libpath=$lt_cv_aix_libpath
13115else
13116 if ${lt_cv_aix_libpath__CXX+:} false; then :
13117 $as_echo_n "(cached) " >&6
13118else
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120/* end confdefs.h. */
13121
13122int
13123main ()
13124{
13125
13126 ;
13127 return 0;
13128}
13129_ACEOF
13130if ac_fn_cxx_try_link "$LINENO"; then :
13131
13132 lt_aix_libpath_sed='
13133 /Import File Strings/,/^$/ {
13134 /^0/ {
13135 s/^0 *\([^ ]*\) *$/\1/
13136 p
13137 }
13138 }'
13139 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13140 # Check for a 64-bit object if we didn't find anything.
13141 if test -z "$lt_cv_aix_libpath__CXX"; then
13142 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13143 fi
13144fi
13145rm -f core conftest.err conftest.$ac_objext \
13146 conftest$ac_exeext conftest.$ac_ext
13147 if test -z "$lt_cv_aix_libpath__CXX"; then
13148 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13149 fi
13150
13151fi
13152
13153 aix_libpath=$lt_cv_aix_libpath__CXX
13154fi
13155
13156 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13157
13158 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13159 else
13160 if test "$host_cpu" = ia64; then
13161 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13162 allow_undefined_flag_CXX="-z nodefs"
13163 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"
13164 else
13165 # Determine the default libpath from the value encoded in an
13166 # empty executable.
13167 if test "${lt_cv_aix_libpath+set}" = set; then
13168 aix_libpath=$lt_cv_aix_libpath
13169else
13170 if ${lt_cv_aix_libpath__CXX+:} false; then :
13171 $as_echo_n "(cached) " >&6
13172else
13173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13174/* end confdefs.h. */
13175
13176int
13177main ()
13178{
13179
13180 ;
13181 return 0;
13182}
13183_ACEOF
13184if ac_fn_cxx_try_link "$LINENO"; then :
13185
13186 lt_aix_libpath_sed='
13187 /Import File Strings/,/^$/ {
13188 /^0/ {
13189 s/^0 *\([^ ]*\) *$/\1/
13190 p
13191 }
13192 }'
13193 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13194 # Check for a 64-bit object if we didn't find anything.
13195 if test -z "$lt_cv_aix_libpath__CXX"; then
13196 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13197 fi
13198fi
13199rm -f core conftest.err conftest.$ac_objext \
13200 conftest$ac_exeext conftest.$ac_ext
13201 if test -z "$lt_cv_aix_libpath__CXX"; then
13202 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13203 fi
13204
13205fi
13206
13207 aix_libpath=$lt_cv_aix_libpath__CXX
13208fi
13209
13210 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13211 # Warning - without using the other run time loading flags,
13212 # -berok will link without error, but may produce a broken library.
13213 no_undefined_flag_CXX=' ${wl}-bernotok'
13214 allow_undefined_flag_CXX=' ${wl}-berok'
13215 if test "$with_gnu_ld" = yes; then
13216 # We only use this code for GNU lds that support --whole-archive.
13217 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13218 else
13219 # Exported symbols can be pulled into shared objects from archives
13220 whole_archive_flag_spec_CXX='$convenience'
13221 fi
13222 archive_cmds_need_lc_CXX=yes
13223 # This is similar to how AIX traditionally builds its shared
13224 # libraries.
13225 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'
13226 fi
13227 fi
13228 ;;
13229
13230 beos*)
13231 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13232 allow_undefined_flag_CXX=unsupported
13233 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13234 # support --undefined. This deserves some investigation. FIXME
13235 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13236 else
13237 ld_shlibs_CXX=no
13238 fi
13239 ;;
13240
13241 chorus*)
13242 case $cc_basename in
13243 *)
13244 # FIXME: insert proper C++ library support
13245 ld_shlibs_CXX=no
13246 ;;
13247 esac
13248 ;;
13249
13250 cygwin* | mingw* | pw32* | cegcc*)
13251 case $GXX,$cc_basename in
13252 ,cl* | no,cl*)
13253 # Native MSVC
13254 # hardcode_libdir_flag_spec is actually meaningless, as there is
13255 # no search path for DLLs.
13256 hardcode_libdir_flag_spec_CXX=' '
13257 allow_undefined_flag_CXX=unsupported
13258 always_export_symbols_CXX=yes
13259 file_list_spec_CXX='@'
13260 # Tell ltmain to make .lib files, not .a files.
13261 libext=lib
13262 # Tell ltmain to make .dll files, not .so files.
13263 shrext_cmds=".dll"
13264 # FIXME: Setting linknames here is a bad hack.
13265 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13266 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13267 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13268 else
13269 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13270 fi~
13271 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13272 linknames='
13273 # The linker will not automatically build a static lib if we build a DLL.
13274 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13275 enable_shared_with_static_runtimes_CXX=yes
13276 # Don't use ranlib
13277 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13278 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13279 lt_tool_outputfile="@TOOL_OUTPUT@"~
13280 case $lt_outputfile in
13281 *.exe|*.EXE) ;;
13282 *)
13283 lt_outputfile="$lt_outputfile.exe"
13284 lt_tool_outputfile="$lt_tool_outputfile.exe"
13285 ;;
13286 esac~
13287 func_to_tool_file "$lt_outputfile"~
13288 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13289 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13290 $RM "$lt_outputfile.manifest";
13291 fi'
13292 ;;
13293 *)
13294 # g++
13295 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13296 # as there is no search path for DLLs.
13297 hardcode_libdir_flag_spec_CXX='-L$libdir'
13298 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13299 allow_undefined_flag_CXX=unsupported
13300 always_export_symbols_CXX=no
13301 enable_shared_with_static_runtimes_CXX=yes
13302
13303 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13304 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'
13305 # If the export-symbols file already is a .def file (1st line
13306 # is EXPORTS), use it as is; otherwise, prepend...
13307 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13308 cp $export_symbols $output_objdir/$soname.def;
13309 else
13310 echo EXPORTS > $output_objdir/$soname.def;
13311 cat $export_symbols >> $output_objdir/$soname.def;
13312 fi~
13313 $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'
13314 else
13315 ld_shlibs_CXX=no
13316 fi
13317 ;;
13318 esac
13319 ;;
13320 darwin* | rhapsody*)
13321
13322
13323 archive_cmds_need_lc_CXX=no
13324 hardcode_direct_CXX=no
13325 hardcode_automatic_CXX=yes
13326 hardcode_shlibpath_var_CXX=unsupported
13327 if test "$lt_cv_ld_force_load" = "yes"; then
13328 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13329 else
13330 whole_archive_flag_spec_CXX=''
13331 fi
13332 link_all_deplibs_CXX=yes
13333 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13334 case $cc_basename in
13335 ifort*) _lt_dar_can_shared=yes ;;
13336 *) _lt_dar_can_shared=$GCC ;;
13337 esac
13338 if test "$_lt_dar_can_shared" = "yes"; then
13339 output_verbose_link_cmd=func_echo_all
13340 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}"
13341 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13342 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}"
13343 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}"
13344 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13345 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}"
13346 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}"
13347 fi
13348
13349 else
13350 ld_shlibs_CXX=no
13351 fi
13352
13353 ;;
13354
13355 dgux*)
13356 case $cc_basename in
13357 ec++*)
13358 # FIXME: insert proper C++ library support
13359 ld_shlibs_CXX=no
13360 ;;
13361 ghcx*)
13362 # Green Hills C++ Compiler
13363 # FIXME: insert proper C++ library support
13364 ld_shlibs_CXX=no
13365 ;;
13366 *)
13367 # FIXME: insert proper C++ library support
13368 ld_shlibs_CXX=no
13369 ;;
13370 esac
13371 ;;
13372
13373 freebsd[12]*)
13374 # C++ shared libraries reported to be fairly broken before
13375 # switch to ELF
13376 ld_shlibs_CXX=no
13377 ;;
13378
13379 freebsd-elf*)
13380 archive_cmds_need_lc_CXX=no
13381 ;;
13382
13383 freebsd* | dragonfly*)
13384 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13385 # conventions
13386 ld_shlibs_CXX=yes
13387 ;;
13388
13389 gnu*)
13390 ;;
13391
13392 haiku*)
13393 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13394 link_all_deplibs_CXX=yes
13395 ;;
13396
13397 hpux9*)
13398 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13399 hardcode_libdir_separator_CXX=:
13400 export_dynamic_flag_spec_CXX='${wl}-E'
13401 hardcode_direct_CXX=yes
13402 hardcode_minus_L_CXX=yes # Not in the search PATH,
13403 # but as the default
13404 # location of the library.
13405
13406 case $cc_basename in
13407 CC*)
13408 # FIXME: insert proper C++ library support
13409 ld_shlibs_CXX=no
13410 ;;
13411 aCC*)
13412 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'
13413 # Commands to make compiler produce verbose output that lists
13414 # what "hidden" libraries, object files and flags are used when
13415 # linking a shared library.
13416 #
13417 # There doesn't appear to be a way to prevent this compiler from
13418 # explicitly linking system object files so we need to strip them
13419 # from the output so that they don't get included in the library
13420 # dependencies.
13421 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; func_echo_all "$list"'
13422 ;;
13423 *)
13424 if test "$GXX" = yes; then
13425 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
13426 else
13427 # FIXME: insert proper C++ library support
13428 ld_shlibs_CXX=no
13429 fi
13430 ;;
13431 esac
13432 ;;
13433
13434 hpux10*|hpux11*)
13435 if test $with_gnu_ld = no; then
13436 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13437 hardcode_libdir_separator_CXX=:
13438
13439 case $host_cpu in
13440 hppa*64*|ia64*)
13441 ;;
13442 *)
13443 export_dynamic_flag_spec_CXX='${wl}-E'
13444 ;;
13445 esac
13446 fi
13447 case $host_cpu in
13448 hppa*64*|ia64*)
13449 hardcode_direct_CXX=no
13450 hardcode_shlibpath_var_CXX=no
13451 ;;
13452 *)
13453 hardcode_direct_CXX=yes
13454 hardcode_direct_absolute_CXX=yes
13455 hardcode_minus_L_CXX=yes # Not in the search PATH,
13456 # but as the default
13457 # location of the library.
13458 ;;
13459 esac
13460
13461 case $cc_basename in
13462 CC*)
13463 # FIXME: insert proper C++ library support
13464 ld_shlibs_CXX=no
13465 ;;
13466 aCC*)
13467 case $host_cpu in
13468 hppa*64*)
13469 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13470 ;;
13471 ia64*)
13472 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13473 ;;
13474 *)
13475 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13476 ;;
13477 esac
13478 # Commands to make compiler produce verbose output that lists
13479 # what "hidden" libraries, object files and flags are used when
13480 # linking a shared library.
13481 #
13482 # There doesn't appear to be a way to prevent this compiler from
13483 # explicitly linking system object files so we need to strip them
13484 # from the output so that they don't get included in the library
13485 # dependencies.
13486 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; func_echo_all "$list"'
13487 ;;
13488 *)
13489 if test "$GXX" = yes; then
13490 if test $with_gnu_ld = no; then
13491 case $host_cpu in
13492 hppa*64*)
13493 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13494 ;;
13495 ia64*)
13496 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13497 ;;
13498 *)
13499 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13500 ;;
13501 esac
13502 fi
13503 else
13504 # FIXME: insert proper C++ library support
13505 ld_shlibs_CXX=no
13506 fi
13507 ;;
13508 esac
13509 ;;
13510
13511 interix[3-9]*)
13512 hardcode_direct_CXX=no
13513 hardcode_shlibpath_var_CXX=no
13514 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13515 export_dynamic_flag_spec_CXX='${wl}-E'
13516 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13517 # Instead, shared libraries are loaded at an image base (0x10000000 by
13518 # default) and relocated if they conflict, which is a slow very memory
13519 # consuming and fragmenting process. To avoid this, we pick a random,
13520 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13521 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13522 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'
13523 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'
13524 ;;
13525 irix5* | irix6*)
13526 case $cc_basename in
13527 CC*)
13528 # SGI C++
13529 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13530
13531 # Archives containing C++ object files must be created using
13532 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13533 # necessary to make sure instantiated templates are included
13534 # in the archive.
13535 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13536 ;;
13537 *)
13538 if test "$GXX" = yes; then
13539 if test "$with_gnu_ld" = no; then
13540 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13541 else
13542 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13543 fi
13544 fi
13545 link_all_deplibs_CXX=yes
13546 ;;
13547 esac
13548 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13549 hardcode_libdir_separator_CXX=:
13550 inherit_rpath_CXX=yes
13551 ;;
13552
13553 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13554 case $cc_basename in
13555 KCC*)
13556 # Kuck and Associates, Inc. (KAI) C++ Compiler
13557
13558 # KCC will only create a shared library if the output file
13559 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13560 # to its proper name (with version) after linking.
13561 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'
13562 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'
13563 # Commands to make compiler produce verbose output that lists
13564 # what "hidden" libraries, object files and flags are used when
13565 # linking a shared library.
13566 #
13567 # There doesn't appear to be a way to prevent this compiler from
13568 # explicitly linking system object files so we need to strip them
13569 # from the output so that they don't get included in the library
13570 # dependencies.
13571 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; func_echo_all "$list"'
13572
13573 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13574 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13575
13576 # Archives containing C++ object files must be created using
13577 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13578 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13579 ;;
13580 icpc* | ecpc* )
13581 # Intel C++
13582 with_gnu_ld=yes
13583 # version 8.0 and above of icpc choke on multiply defined symbols
13584 # if we add $predep_objects and $postdep_objects, however 7.1 and
13585 # earlier do not add the objects themselves.
13586 case `$CC -V 2>&1` in
13587 *"Version 7."*)
13588 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13589 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'
13590 ;;
13591 *) # Version 8.0 or newer
13592 tmp_idyn=
13593 case $host_cpu in
13594 ia64*) tmp_idyn=' -i_dynamic';;
13595 esac
13596 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13597 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'
13598 ;;
13599 esac
13600 archive_cmds_need_lc_CXX=no
13601 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13602 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13603 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13604 ;;
13605 pgCC* | pgcpp*)
13606 # Portland Group C++ compiler
13607 case `$CC -V` in
13608 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13609 prelink_cmds_CXX='tpldir=Template.dir~
13610 rm -rf $tpldir~
13611 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13612 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13613 old_archive_cmds_CXX='tpldir=Template.dir~
13614 rm -rf $tpldir~
13615 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13616 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13617 $RANLIB $oldlib'
13618 archive_cmds_CXX='tpldir=Template.dir~
13619 rm -rf $tpldir~
13620 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13621 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13622 archive_expsym_cmds_CXX='tpldir=Template.dir~
13623 rm -rf $tpldir~
13624 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13625 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13626 ;;
13627 *) # Version 6 and above use weak symbols
13628 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13629 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'
13630 ;;
13631 esac
13632
13633 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13634 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13635 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13636 ;;
13637 cxx*)
13638 # Compaq C++
13639 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13640 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'
13641
13642 runpath_var=LD_RUN_PATH
13643 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13644 hardcode_libdir_separator_CXX=:
13645
13646 # Commands to make compiler produce verbose output that lists
13647 # what "hidden" libraries, object files and flags are used when
13648 # linking a shared library.
13649 #
13650 # There doesn't appear to be a way to prevent this compiler from
13651 # explicitly linking system object files so we need to strip them
13652 # from the output so that they don't get included in the library
13653 # dependencies.
13654 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13655 ;;
13656 xl* | mpixl* | bgxl*)
13657 # IBM XL 8.0 on PPC, with GNU ld
13658 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13659 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13660 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13661 if test "x$supports_anon_versioning" = xyes; then
13662 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13663 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13664 echo "local: *; };" >> $output_objdir/$libname.ver~
13665 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13666 fi
13667 ;;
13668 *)
13669 case `$CC -V 2>&1 | sed 5q` in
13670 *Sun\ C*)
13671 # Sun C++ 5.9
13672 no_undefined_flag_CXX=' -zdefs'
13673 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13674 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'
13675 hardcode_libdir_flag_spec_CXX='-R$libdir'
13676 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13677 compiler_needs_object_CXX=yes
13678
13679 # Not sure whether something based on
13680 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13681 # would be better.
13682 output_verbose_link_cmd='func_echo_all'
13683
13684 # Archives containing C++ object files must be created using
13685 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13686 # necessary to make sure instantiated templates are included
13687 # in the archive.
13688 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13689 ;;
13690 esac
13691 ;;
13692 esac
13693 ;;
13694
13695 lynxos*)
13696 # FIXME: insert proper C++ library support
13697 ld_shlibs_CXX=no
13698 ;;
13699
13700 m88k*)
13701 # FIXME: insert proper C++ library support
13702 ld_shlibs_CXX=no
13703 ;;
13704
13705 mvs*)
13706 case $cc_basename in
13707 cxx*)
13708 # FIXME: insert proper C++ library support
13709 ld_shlibs_CXX=no
13710 ;;
13711 *)
13712 # FIXME: insert proper C++ library support
13713 ld_shlibs_CXX=no
13714 ;;
13715 esac
13716 ;;
13717
13718 netbsd*)
13719 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13720 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13721 wlarc=
13722 hardcode_libdir_flag_spec_CXX='-R$libdir'
13723 hardcode_direct_CXX=yes
13724 hardcode_shlibpath_var_CXX=no
13725 fi
13726 # Workaround some broken pre-1.5 toolchains
13727 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13728 ;;
13729
13730 *nto* | *qnx*)
13731 ld_shlibs_CXX=yes
13732 ;;
13733
13734 openbsd2*)
13735 # C++ shared libraries are fairly broken
13736 ld_shlibs_CXX=no
13737 ;;
13738
13739 openbsd*)
13740 if test -f /usr/libexec/ld.so; then
13741 hardcode_direct_CXX=yes
13742 hardcode_shlibpath_var_CXX=no
13743 hardcode_direct_absolute_CXX=yes
13744 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13745 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13746 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13747 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13748 export_dynamic_flag_spec_CXX='${wl}-E'
13749 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13750 fi
13751 output_verbose_link_cmd=func_echo_all
13752 else
13753 ld_shlibs_CXX=no
13754 fi
13755 ;;
13756
13757 osf3* | osf4* | osf5*)
13758 case $cc_basename in
13759 KCC*)
13760 # Kuck and Associates, Inc. (KAI) C++ Compiler
13761
13762 # KCC will only create a shared library if the output file
13763 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13764 # to its proper name (with version) after linking.
13765 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'
13766
13767 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13768 hardcode_libdir_separator_CXX=:
13769
13770 # Archives containing C++ object files must be created using
13771 # the KAI C++ compiler.
13772 case $host in
13773 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13774 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13775 esac
13776 ;;
13777 RCC*)
13778 # Rational C++ 2.4.1
13779 # FIXME: insert proper C++ library support
13780 ld_shlibs_CXX=no
13781 ;;
13782 cxx*)
13783 case $host in
13784 osf3*)
13785 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13786 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13787 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13788 ;;
13789 *)
13790 allow_undefined_flag_CXX=' -expect_unresolved \*'
13791 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13792 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13793 echo "-hidden">> $lib.exp~
13794 $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 "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13795 $RM $lib.exp'
13796 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13797 ;;
13798 esac
13799
13800 hardcode_libdir_separator_CXX=:
13801
13802 # Commands to make compiler produce verbose output that lists
13803 # what "hidden" libraries, object files and flags are used when
13804 # linking a shared library.
13805 #
13806 # There doesn't appear to be a way to prevent this compiler from
13807 # explicitly linking system object files so we need to strip them
13808 # from the output so that they don't get included in the library
13809 # dependencies.
13810 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13811 ;;
13812 *)
13813 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13814 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13815 case $host in
13816 osf3*)
13817 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13818 ;;
13819 *)
13820 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13821 ;;
13822 esac
13823
13824 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13825 hardcode_libdir_separator_CXX=:
13826
13827 # Commands to make compiler produce verbose output that lists
13828 # what "hidden" libraries, object files and flags are used when
13829 # linking a shared library.
13830 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13831
13832 else
13833 # FIXME: insert proper C++ library support
13834 ld_shlibs_CXX=no
13835 fi
13836 ;;
13837 esac
13838 ;;
13839
13840 psos*)
13841 # FIXME: insert proper C++ library support
13842 ld_shlibs_CXX=no
13843 ;;
13844
13845 sunos4*)
13846 case $cc_basename in
13847 CC*)
13848 # Sun C++ 4.x
13849 # FIXME: insert proper C++ library support
13850 ld_shlibs_CXX=no
13851 ;;
13852 lcc*)
13853 # Lucid
13854 # FIXME: insert proper C++ library support
13855 ld_shlibs_CXX=no
13856 ;;
13857 *)
13858 # FIXME: insert proper C++ library support
13859 ld_shlibs_CXX=no
13860 ;;
13861 esac
13862 ;;
13863
13864 solaris*)
13865 case $cc_basename in
13866 CC* | sunCC*)
13867 # Sun C++ 4.2, 5.x and Centerline C++
13868 archive_cmds_need_lc_CXX=yes
13869 no_undefined_flag_CXX=' -zdefs'
13870 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13871 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13872 $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'
13873
13874 hardcode_libdir_flag_spec_CXX='-R$libdir'
13875 hardcode_shlibpath_var_CXX=no
13876 case $host_os in
13877 solaris2.[0-5] | solaris2.[0-5].*) ;;
13878 *)
13879 # The compiler driver will combine and reorder linker options,
13880 # but understands `-z linker_flag'.
13881 # Supported since Solaris 2.6 (maybe 2.5.1?)
13882 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13883 ;;
13884 esac
13885 link_all_deplibs_CXX=yes
13886
13887 output_verbose_link_cmd='func_echo_all'
13888
13889 # Archives containing C++ object files must be created using
13890 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13891 # necessary to make sure instantiated templates are included
13892 # in the archive.
13893 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13894 ;;
13895 gcx*)
13896 # Green Hills C++ Compiler
13897 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13898
13899 # The C++ compiler must be used to create the archive.
13900 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13901 ;;
13902 *)
13903 # GNU C++ compiler with Solaris linker
13904 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13905 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13906 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13907 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13908 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13909 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13910
13911 # Commands to make compiler produce verbose output that lists
13912 # what "hidden" libraries, object files and flags are used when
13913 # linking a shared library.
13914 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13915 else
13916 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13917 # platform.
13918 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13919 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13920 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13921
13922 # Commands to make compiler produce verbose output that lists
13923 # what "hidden" libraries, object files and flags are used when
13924 # linking a shared library.
13925 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13926 fi
13927
13928 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13929 case $host_os in
13930 solaris2.[0-5] | solaris2.[0-5].*) ;;
13931 *)
13932 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13933 ;;
13934 esac
13935 fi
13936 ;;
13937 esac
13938 ;;
13939
13940 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13941 no_undefined_flag_CXX='${wl}-z,text'
13942 archive_cmds_need_lc_CXX=no
13943 hardcode_shlibpath_var_CXX=no
13944 runpath_var='LD_RUN_PATH'
13945
13946 case $cc_basename in
13947 CC*)
13948 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13949 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13950 ;;
13951 *)
13952 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13953 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13954 ;;
13955 esac
13956 ;;
13957
13958 sysv5* | sco3.2v5* | sco5v6*)
13959 # Note: We can NOT use -z defs as we might desire, because we do not
13960 # link with -lc, and that would cause any symbols used from libc to
13961 # always be unresolved, which means just about no library would
13962 # ever link correctly. If we're not using GNU ld we use -z text
13963 # though, which does catch some bad symbols but isn't as heavy-handed
13964 # as -z defs.
13965 no_undefined_flag_CXX='${wl}-z,text'
13966 allow_undefined_flag_CXX='${wl}-z,nodefs'
13967 archive_cmds_need_lc_CXX=no
13968 hardcode_shlibpath_var_CXX=no
13969 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13970 hardcode_libdir_separator_CXX=':'
13971 link_all_deplibs_CXX=yes
13972 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13973 runpath_var='LD_RUN_PATH'
13974
13975 case $cc_basename in
13976 CC*)
13977 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13978 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13979 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13980 '"$old_archive_cmds_CXX"
13981 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13982 '"$reload_cmds_CXX"
13983 ;;
13984 *)
13985 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13986 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13987 ;;
13988 esac
13989 ;;
13990
13991 tandem*)
13992 case $cc_basename in
13993 NCC*)
13994 # NonStop-UX NCC 3.20
13995 # FIXME: insert proper C++ library support
13996 ld_shlibs_CXX=no
13997 ;;
13998 *)
13999 # FIXME: insert proper C++ library support
14000 ld_shlibs_CXX=no
14001 ;;
14002 esac
14003 ;;
14004
14005 vxworks*)
14006 # FIXME: insert proper C++ library support
14007 ld_shlibs_CXX=no
14008 ;;
14009
14010 *)
14011 # FIXME: insert proper C++ library support
14012 ld_shlibs_CXX=no
14013 ;;
14014 esac
14015
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14017$as_echo "$ld_shlibs_CXX" >&6; }
14018 test "$ld_shlibs_CXX" = no && can_build_shared=no
14019
14020 GCC_CXX="$GXX"
14021 LD_CXX="$LD"
14022
14023 ## CAVEAT EMPTOR:
14024 ## There is no encapsulation within the following macros, do not change
14025 ## the running order or otherwise move them around unless you know exactly
14026 ## what you are doing...
14027 # Dependencies to place before and after the object being linked:
14028predep_objects_CXX=
14029postdep_objects_CXX=
14030predeps_CXX=
14031postdeps_CXX=
14032compiler_lib_search_path_CXX=
14033
14034cat > conftest.$ac_ext <<_LT_EOF
14035class Foo
14036{
14037public:
14038 Foo (void) { a = 0; }
14039private:
14040 int a;
14041};
14042_LT_EOF
14043
14044
14045_lt_libdeps_save_CFLAGS=$CFLAGS
14046case "$CC $CFLAGS " in #(
14047*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14048*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14049esac
14050
14051if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14052 (eval $ac_compile) 2>&5
14053 ac_status=$?
14054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14055 test $ac_status = 0; }; then
14056 # Parse the compiler output and extract the necessary
14057 # objects, libraries and library flags.
14058
14059 # Sentinel used to keep track of whether or not we are before
14060 # the conftest object file.
14061 pre_test_object_deps_done=no
14062
14063 for p in `eval "$output_verbose_link_cmd"`; do
14064 case ${prev}${p} in
14065
14066 -L* | -R* | -l*)
14067 # Some compilers place space between "-{L,R}" and the path.
14068 # Remove the space.
14069 if test $p = "-L" ||
14070 test $p = "-R"; then
14071 prev=$p
14072 continue
14073 fi
14074
14075 # Expand the sysroot to ease extracting the directories later.
14076 if test -z "$prev"; then
14077 case $p in
14078 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14079 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14080 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14081 esac
14082 fi
14083 case $p in
14084 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14085 esac
14086 if test "$pre_test_object_deps_done" = no; then
14087 case ${prev} in
14088 -L | -R)
14089 # Internal compiler library paths should come after those
14090 # provided the user. The postdeps already come after the
14091 # user supplied libs so there is no need to process them.
14092 if test -z "$compiler_lib_search_path_CXX"; then
14093 compiler_lib_search_path_CXX="${prev}${p}"
14094 else
14095 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14096 fi
14097 ;;
14098 # The "-l" case would never come before the object being
14099 # linked, so don't bother handling this case.
14100 esac
14101 else
14102 if test -z "$postdeps_CXX"; then
14103 postdeps_CXX="${prev}${p}"
14104 else
14105 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14106 fi
14107 fi
14108 prev=
14109 ;;
14110
14111 *.lto.$objext) ;; # Ignore GCC LTO objects
14112 *.$objext)
14113 # This assumes that the test object file only shows up
14114 # once in the compiler output.
14115 if test "$p" = "conftest.$objext"; then
14116 pre_test_object_deps_done=yes
14117 continue
14118 fi
14119
14120 if test "$pre_test_object_deps_done" = no; then
14121 if test -z "$predep_objects_CXX"; then
14122 predep_objects_CXX="$p"
14123 else
14124 predep_objects_CXX="$predep_objects_CXX $p"
14125 fi
14126 else
14127 if test -z "$postdep_objects_CXX"; then
14128 postdep_objects_CXX="$p"
14129 else
14130 postdep_objects_CXX="$postdep_objects_CXX $p"
14131 fi
14132 fi
14133 ;;
14134
14135 *) ;; # Ignore the rest.
14136
14137 esac
14138 done
14139
14140 # Clean up.
14141 rm -f a.out a.exe
14142else
14143 echo "libtool.m4: error: problem compiling CXX test program"
14144fi
14145
14146$RM -f confest.$objext
14147CFLAGS=$_lt_libdeps_save_CFLAGS
14148
14149# PORTME: override above test on systems where it is broken
14150case $host_os in
14151interix[3-9]*)
14152 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14153 # hack all around it, let's just trust "g++" to DTRT.
14154 predep_objects_CXX=
14155 postdep_objects_CXX=
14156 postdeps_CXX=
14157 ;;
14158
14159linux*)
14160 case `$CC -V 2>&1 | sed 5q` in
14161 *Sun\ C*)
14162 # Sun C++ 5.9
14163
14164 # The more standards-conforming stlport4 library is
14165 # incompatible with the Cstd library. Avoid specifying
14166 # it if it's in CXXFLAGS. Ignore libCrun as
14167 # -library=stlport4 depends on it.
14168 case " $CXX $CXXFLAGS " in
14169 *" -library=stlport4 "*)
14170 solaris_use_stlport4=yes
14171 ;;
14172 esac
14173
14174 if test "$solaris_use_stlport4" != yes; then
14175 postdeps_CXX='-library=Cstd -library=Crun'
14176 fi
14177 ;;
14178 esac
14179 ;;
14180
14181solaris*)
14182 case $cc_basename in
14183 CC* | sunCC*)
14184 # The more standards-conforming stlport4 library is
14185 # incompatible with the Cstd library. Avoid specifying
14186 # it if it's in CXXFLAGS. Ignore libCrun as
14187 # -library=stlport4 depends on it.
14188 case " $CXX $CXXFLAGS " in
14189 *" -library=stlport4 "*)
14190 solaris_use_stlport4=yes
14191 ;;
14192 esac
14193
14194 # Adding this requires a known-good setup of shared libraries for
14195 # Sun compiler versions before 5.6, else PIC objects from an old
14196 # archive will be linked into the output, leading to subtle bugs.
14197 if test "$solaris_use_stlport4" != yes; then
14198 postdeps_CXX='-library=Cstd -library=Crun'
14199 fi
14200 ;;
14201 esac
14202 ;;
14203esac
14204
14205
14206case " $postdeps_CXX " in
14207*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14208esac
14209 compiler_lib_search_dirs_CXX=
14210if test -n "${compiler_lib_search_path_CXX}"; then
14211 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14212fi
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244 lt_prog_compiler_wl_CXX=
14245lt_prog_compiler_pic_CXX=
14246lt_prog_compiler_static_CXX=
14247
14248
14249 # C++ specific cases for pic, static, wl, etc.
14250 if test "$GXX" = yes; then
14251 lt_prog_compiler_wl_CXX='-Wl,'
14252 lt_prog_compiler_static_CXX='-static'
14253
14254 case $host_os in
14255 aix*)
14256 # All AIX code is PIC.
14257 if test "$host_cpu" = ia64; then
14258 # AIX 5 now supports IA64 processor
14259 lt_prog_compiler_static_CXX='-Bstatic'
14260 fi
14261 ;;
14262
14263 amigaos*)
14264 case $host_cpu in
14265 powerpc)
14266 # see comment about AmigaOS4 .so support
14267 lt_prog_compiler_pic_CXX='-fPIC'
14268 ;;
14269 m68k)
14270 # FIXME: we need at least 68020 code to build shared libraries, but
14271 # adding the `-m68020' flag to GCC prevents building anything better,
14272 # like `-m68040'.
14273 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14274 ;;
14275 esac
14276 ;;
14277
14278 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14279 # PIC is the default for these OSes.
14280 ;;
14281 mingw* | cygwin* | os2* | pw32* | cegcc*)
14282 # This hack is so that the source file can tell whether it is being
14283 # built for inclusion in a dll (and should export symbols for example).
14284 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14285 # (--disable-auto-import) libraries
14286 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14287 ;;
14288 darwin* | rhapsody*)
14289 # PIC is the default on this platform
14290 # Common symbols not allowed in MH_DYLIB files
14291 lt_prog_compiler_pic_CXX='-fno-common'
14292 ;;
14293 *djgpp*)
14294 # DJGPP does not support shared libraries at all
14295 lt_prog_compiler_pic_CXX=
14296 ;;
14297 haiku*)
14298 # PIC is the default for Haiku.
14299 # The "-static" flag exists, but is broken.
14300 lt_prog_compiler_static_CXX=
14301 ;;
14302 interix[3-9]*)
14303 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14304 # Instead, we relocate shared libraries at runtime.
14305 ;;
14306 sysv4*MP*)
14307 if test -d /usr/nec; then
14308 lt_prog_compiler_pic_CXX=-Kconform_pic
14309 fi
14310 ;;
14311 hpux*)
14312 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14313 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14314 # sets the default TLS model and affects inlining.
14315 case $host_cpu in
14316 hppa*64*)
14317 ;;
14318 *)
14319 lt_prog_compiler_pic_CXX='-fPIC'
14320 ;;
14321 esac
14322 ;;
14323 *qnx* | *nto*)
14324 # QNX uses GNU C++, but need to define -shared option too, otherwise
14325 # it will coredump.
14326 lt_prog_compiler_pic_CXX='-fPIC -shared'
14327 ;;
14328 *)
14329 lt_prog_compiler_pic_CXX='-fPIC'
14330 ;;
14331 esac
14332 else
14333 case $host_os in
14334 aix[4-9]*)
14335 # All AIX code is PIC.
14336 if test "$host_cpu" = ia64; then
14337 # AIX 5 now supports IA64 processor
14338 lt_prog_compiler_static_CXX='-Bstatic'
14339 else
14340 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14341 fi
14342 ;;
14343 chorus*)
14344 case $cc_basename in
14345 cxch68*)
14346 # Green Hills C++ Compiler
14347 # _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"
14348 ;;
14349 esac
14350 ;;
14351 mingw* | cygwin* | os2* | pw32* | cegcc*)
14352 # This hack is so that the source file can tell whether it is being
14353 # built for inclusion in a dll (and should export symbols for example).
14354 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14355 ;;
14356 dgux*)
14357 case $cc_basename in
14358 ec++*)
14359 lt_prog_compiler_pic_CXX='-KPIC'
14360 ;;
14361 ghcx*)
14362 # Green Hills C++ Compiler
14363 lt_prog_compiler_pic_CXX='-pic'
14364 ;;
14365 *)
14366 ;;
14367 esac
14368 ;;
14369 freebsd* | dragonfly*)
14370 # FreeBSD uses GNU C++
14371 ;;
14372 hpux9* | hpux10* | hpux11*)
14373 case $cc_basename in
14374 CC*)
14375 lt_prog_compiler_wl_CXX='-Wl,'
14376 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14377 if test "$host_cpu" != ia64; then
14378 lt_prog_compiler_pic_CXX='+Z'
14379 fi
14380 ;;
14381 aCC*)
14382 lt_prog_compiler_wl_CXX='-Wl,'
14383 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14384 case $host_cpu in
14385 hppa*64*|ia64*)
14386 # +Z the default
14387 ;;
14388 *)
14389 lt_prog_compiler_pic_CXX='+Z'
14390 ;;
14391 esac
14392 ;;
14393 *)
14394 ;;
14395 esac
14396 ;;
14397 interix*)
14398 # This is c89, which is MS Visual C++ (no shared libs)
14399 # Anyone wants to do a port?
14400 ;;
14401 irix5* | irix6* | nonstopux*)
14402 case $cc_basename in
14403 CC*)
14404 lt_prog_compiler_wl_CXX='-Wl,'
14405 lt_prog_compiler_static_CXX='-non_shared'
14406 # CC pic flag -KPIC is the default.
14407 ;;
14408 *)
14409 ;;
14410 esac
14411 ;;
14412 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14413 case $cc_basename in
14414 KCC*)
14415 # KAI C++ Compiler
14416 lt_prog_compiler_wl_CXX='--backend -Wl,'
14417 lt_prog_compiler_pic_CXX='-fPIC'
14418 ;;
14419 ecpc* )
14420 # old Intel C++ for x86_64 which still supported -KPIC.
14421 lt_prog_compiler_wl_CXX='-Wl,'
14422 lt_prog_compiler_pic_CXX='-KPIC'
14423 lt_prog_compiler_static_CXX='-static'
14424 ;;
14425 icpc* )
14426 # Intel C++, used to be incompatible with GCC.
14427 # ICC 10 doesn't accept -KPIC any more.
14428 lt_prog_compiler_wl_CXX='-Wl,'
14429 lt_prog_compiler_pic_CXX='-fPIC'
14430 lt_prog_compiler_static_CXX='-static'
14431 ;;
14432 pgCC* | pgcpp*)
14433 # Portland Group C++ compiler
14434 lt_prog_compiler_wl_CXX='-Wl,'
14435 lt_prog_compiler_pic_CXX='-fpic'
14436 lt_prog_compiler_static_CXX='-Bstatic'
14437 ;;
14438 cxx*)
14439 # Compaq C++
14440 # Make sure the PIC flag is empty. It appears that all Alpha
14441 # Linux and Compaq Tru64 Unix objects are PIC.
14442 lt_prog_compiler_pic_CXX=
14443 lt_prog_compiler_static_CXX='-non_shared'
14444 ;;
14445 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14446 # IBM XL 8.0, 9.0 on PPC and BlueGene
14447 lt_prog_compiler_wl_CXX='-Wl,'
14448 lt_prog_compiler_pic_CXX='-qpic'
14449 lt_prog_compiler_static_CXX='-qstaticlink'
14450 ;;
14451 *)
14452 case `$CC -V 2>&1 | sed 5q` in
14453 *Sun\ C*)
14454 # Sun C++ 5.9
14455 lt_prog_compiler_pic_CXX='-KPIC'
14456 lt_prog_compiler_static_CXX='-Bstatic'
14457 lt_prog_compiler_wl_CXX='-Qoption ld '
14458 ;;
14459 esac
14460 ;;
14461 esac
14462 ;;
14463 lynxos*)
14464 ;;
14465 m88k*)
14466 ;;
14467 mvs*)
14468 case $cc_basename in
14469 cxx*)
14470 lt_prog_compiler_pic_CXX='-W c,exportall'
14471 ;;
14472 *)
14473 ;;
14474 esac
14475 ;;
14476 netbsd* | netbsdelf*-gnu)
14477 ;;
14478 *qnx* | *nto*)
14479 # QNX uses GNU C++, but need to define -shared option too, otherwise
14480 # it will coredump.
14481 lt_prog_compiler_pic_CXX='-fPIC -shared'
14482 ;;
14483 osf3* | osf4* | osf5*)
14484 case $cc_basename in
14485 KCC*)
14486 lt_prog_compiler_wl_CXX='--backend -Wl,'
14487 ;;
14488 RCC*)
14489 # Rational C++ 2.4.1
14490 lt_prog_compiler_pic_CXX='-pic'
14491 ;;
14492 cxx*)
14493 # Digital/Compaq C++
14494 lt_prog_compiler_wl_CXX='-Wl,'
14495 # Make sure the PIC flag is empty. It appears that all Alpha
14496 # Linux and Compaq Tru64 Unix objects are PIC.
14497 lt_prog_compiler_pic_CXX=
14498 lt_prog_compiler_static_CXX='-non_shared'
14499 ;;
14500 *)
14501 ;;
14502 esac
14503 ;;
14504 psos*)
14505 ;;
14506 solaris*)
14507 case $cc_basename in
14508 CC* | sunCC*)
14509 # Sun C++ 4.2, 5.x and Centerline C++
14510 lt_prog_compiler_pic_CXX='-KPIC'
14511 lt_prog_compiler_static_CXX='-Bstatic'
14512 lt_prog_compiler_wl_CXX='-Qoption ld '
14513 ;;
14514 gcx*)
14515 # Green Hills C++ Compiler
14516 lt_prog_compiler_pic_CXX='-PIC'
14517 ;;
14518 *)
14519 ;;
14520 esac
14521 ;;
14522 sunos4*)
14523 case $cc_basename in
14524 CC*)
14525 # Sun C++ 4.x
14526 lt_prog_compiler_pic_CXX='-pic'
14527 lt_prog_compiler_static_CXX='-Bstatic'
14528 ;;
14529 lcc*)
14530 # Lucid
14531 lt_prog_compiler_pic_CXX='-pic'
14532 ;;
14533 *)
14534 ;;
14535 esac
14536 ;;
14537 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14538 case $cc_basename in
14539 CC*)
14540 lt_prog_compiler_wl_CXX='-Wl,'
14541 lt_prog_compiler_pic_CXX='-KPIC'
14542 lt_prog_compiler_static_CXX='-Bstatic'
14543 ;;
14544 esac
14545 ;;
14546 tandem*)
14547 case $cc_basename in
14548 NCC*)
14549 # NonStop-UX NCC 3.20
14550 lt_prog_compiler_pic_CXX='-KPIC'
14551 ;;
14552 *)
14553 ;;
14554 esac
14555 ;;
14556 vxworks*)
14557 ;;
14558 *)
14559 lt_prog_compiler_can_build_shared_CXX=no
14560 ;;
14561 esac
14562 fi
14563
14564case $host_os in
14565 # For platforms which do not support PIC, -DPIC is meaningless:
14566 *djgpp*)
14567 lt_prog_compiler_pic_CXX=
14568 ;;
14569 *)
14570 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14571 ;;
14572esac
14573
14574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14575$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14576if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14577 $as_echo_n "(cached) " >&6
14578else
14579 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14580fi
14581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14582$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14583lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14584
14585#
14586# Check to make sure the PIC flag actually works.
14587#
14588if test -n "$lt_prog_compiler_pic_CXX"; then
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14590$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14591if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14592 $as_echo_n "(cached) " >&6
14593else
14594 lt_cv_prog_compiler_pic_works_CXX=no
14595 ac_outfile=conftest.$ac_objext
14596 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14597 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14598 # Insert the option either (1) after the last *FLAGS variable, or
14599 # (2) before a word containing "conftest.", or (3) at the end.
14600 # Note that $ac_compile itself does not contain backslashes and begins
14601 # with a dollar sign (not a hyphen), so the echo should work correctly.
14602 # The option is referenced via a variable to avoid confusing sed.
14603 lt_compile=`echo "$ac_compile" | $SED \
14604 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14605 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14606 -e 's:$: $lt_compiler_flag:'`
14607 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14608 (eval "$lt_compile" 2>conftest.err)
14609 ac_status=$?
14610 cat conftest.err >&5
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 if (exit $ac_status) && test -s "$ac_outfile"; then
14613 # The compiler can only warn and ignore the option if not recognized
14614 # So say no if there are warnings other than the usual output.
14615 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14616 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14617 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14618 lt_cv_prog_compiler_pic_works_CXX=yes
14619 fi
14620 fi
14621 $RM conftest*
14622
14623fi
14624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14625$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14626
14627if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14628 case $lt_prog_compiler_pic_CXX in
14629 "" | " "*) ;;
14630 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14631 esac
14632else
14633 lt_prog_compiler_pic_CXX=
14634 lt_prog_compiler_can_build_shared_CXX=no
14635fi
14636
14637fi
14638
14639
14640
14641
14642
14643#
14644# Check to make sure the static flag actually works.
14645#
14646wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14648$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14649if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14650 $as_echo_n "(cached) " >&6
14651else
14652 lt_cv_prog_compiler_static_works_CXX=no
14653 save_LDFLAGS="$LDFLAGS"
14654 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14655 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14656 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14657 # The linker can only warn and ignore the option if not recognized
14658 # So say no if there are warnings
14659 if test -s conftest.err; then
14660 # Append any errors to the config.log.
14661 cat conftest.err 1>&5
14662 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14663 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14664 if diff conftest.exp conftest.er2 >/dev/null; then
14665 lt_cv_prog_compiler_static_works_CXX=yes
14666 fi
14667 else
14668 lt_cv_prog_compiler_static_works_CXX=yes
14669 fi
14670 fi
14671 $RM -r conftest*
14672 LDFLAGS="$save_LDFLAGS"
14673
14674fi
14675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14676$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14677
14678if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14679 :
14680else
14681 lt_prog_compiler_static_CXX=
14682fi
14683
14684
14685
14686
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14688$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14689if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14690 $as_echo_n "(cached) " >&6
14691else
14692 lt_cv_prog_compiler_c_o_CXX=no
14693 $RM -r conftest 2>/dev/null
14694 mkdir conftest
14695 cd conftest
14696 mkdir out
14697 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14698
14699 lt_compiler_flag="-o out/conftest2.$ac_objext"
14700 # Insert the option either (1) after the last *FLAGS variable, or
14701 # (2) before a word containing "conftest.", or (3) at the end.
14702 # Note that $ac_compile itself does not contain backslashes and begins
14703 # with a dollar sign (not a hyphen), so the echo should work correctly.
14704 lt_compile=`echo "$ac_compile" | $SED \
14705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14707 -e 's:$: $lt_compiler_flag:'`
14708 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14709 (eval "$lt_compile" 2>out/conftest.err)
14710 ac_status=$?
14711 cat out/conftest.err >&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14714 then
14715 # The compiler can only warn and ignore the option if not recognized
14716 # So say no if there are warnings
14717 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14718 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14719 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14720 lt_cv_prog_compiler_c_o_CXX=yes
14721 fi
14722 fi
14723 chmod u+w . 2>&5
14724 $RM conftest*
14725 # SGI C++ compiler will create directory out/ii_files/ for
14726 # template instantiation
14727 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14728 $RM out/* && rmdir out
14729 cd ..
14730 $RM -r conftest
14731 $RM conftest*
14732
14733fi
14734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14735$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14736
14737
14738
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14740$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14741if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14742 $as_echo_n "(cached) " >&6
14743else
14744 lt_cv_prog_compiler_c_o_CXX=no
14745 $RM -r conftest 2>/dev/null
14746 mkdir conftest
14747 cd conftest
14748 mkdir out
14749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14750
14751 lt_compiler_flag="-o out/conftest2.$ac_objext"
14752 # Insert the option either (1) after the last *FLAGS variable, or
14753 # (2) before a word containing "conftest.", or (3) at the end.
14754 # Note that $ac_compile itself does not contain backslashes and begins
14755 # with a dollar sign (not a hyphen), so the echo should work correctly.
14756 lt_compile=`echo "$ac_compile" | $SED \
14757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14759 -e 's:$: $lt_compiler_flag:'`
14760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14761 (eval "$lt_compile" 2>out/conftest.err)
14762 ac_status=$?
14763 cat out/conftest.err >&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14766 then
14767 # The compiler can only warn and ignore the option if not recognized
14768 # So say no if there are warnings
14769 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14770 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14771 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14772 lt_cv_prog_compiler_c_o_CXX=yes
14773 fi
14774 fi
14775 chmod u+w . 2>&5
14776 $RM conftest*
14777 # SGI C++ compiler will create directory out/ii_files/ for
14778 # template instantiation
14779 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14780 $RM out/* && rmdir out
14781 cd ..
14782 $RM -r conftest
14783 $RM conftest*
14784
14785fi
14786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14787$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14788
14789
14790
14791
14792hard_links="nottested"
14793if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14794 # do not overwrite the value of need_locks provided by the user
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14796$as_echo_n "checking if we can lock with hard links... " >&6; }
14797 hard_links=yes
14798 $RM conftest*
14799 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14800 touch conftest.a
14801 ln conftest.a conftest.b 2>&5 || hard_links=no
14802 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14804$as_echo "$hard_links" >&6; }
14805 if test "$hard_links" = no; then
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14807$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14808 need_locks=warn
14809 fi
14810else
14811 need_locks=no
14812fi
14813
14814
14815
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14817$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14818
14819 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14820 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14821 case $host_os in
14822 aix[4-9]*)
14823 # If we're using GNU nm, then we don't want the "-C" option.
14824 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14825 # Also, AIX nm treats weak defined symbols like other global defined
14826 # symbols, whereas GNU nm marks them as "W".
14827 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14828 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14829 else
14830 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'
14831 fi
14832 ;;
14833 pw32*)
14834 export_symbols_cmds_CXX="$ltdll_cmds"
14835 ;;
14836 cygwin* | mingw* | cegcc*)
14837 case $cc_basename in
14838 cl*) ;;
14839 *)
14840 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14841 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14842 ;;
14843 esac
14844 ;;
14845 linux* | k*bsd*-gnu | gnu*)
14846 link_all_deplibs_CXX=no
14847 ;;
14848 *)
14849 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14850 ;;
14851 esac
14852
14853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14854$as_echo "$ld_shlibs_CXX" >&6; }
14855test "$ld_shlibs_CXX" = no && can_build_shared=no
14856
14857with_gnu_ld_CXX=$with_gnu_ld
14858
14859
14860
14861
14862
14863
14864#
14865# Do we need to explicitly link libc?
14866#
14867case "x$archive_cmds_need_lc_CXX" in
14868x|xyes)
14869 # Assume -lc should be added
14870 archive_cmds_need_lc_CXX=yes
14871
14872 if test "$enable_shared" = yes && test "$GCC" = yes; then
14873 case $archive_cmds_CXX in
14874 *'~'*)
14875 # FIXME: we may have to deal with multi-command sequences.
14876 ;;
14877 '$CC '*)
14878 # Test whether the compiler implicitly links with -lc since on some
14879 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14880 # to ld, don't add -lc before -lgcc.
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14882$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14883if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14884 $as_echo_n "(cached) " >&6
14885else
14886 $RM conftest*
14887 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14888
14889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14890 (eval $ac_compile) 2>&5
14891 ac_status=$?
14892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14893 test $ac_status = 0; } 2>conftest.err; then
14894 soname=conftest
14895 lib=conftest
14896 libobjs=conftest.$ac_objext
14897 deplibs=
14898 wl=$lt_prog_compiler_wl_CXX
14899 pic_flag=$lt_prog_compiler_pic_CXX
14900 compiler_flags=-v
14901 linker_flags=-v
14902 verstring=
14903 output_objdir=.
14904 libname=conftest
14905 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14906 allow_undefined_flag_CXX=
14907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14908 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14909 ac_status=$?
14910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14911 test $ac_status = 0; }
14912 then
14913 lt_cv_archive_cmds_need_lc_CXX=no
14914 else
14915 lt_cv_archive_cmds_need_lc_CXX=yes
14916 fi
14917 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14918 else
14919 cat conftest.err 1>&5
14920 fi
14921 $RM conftest*
14922
14923fi
14924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14925$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14926 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14927 ;;
14928 esac
14929 fi
14930 ;;
14931esac
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14997$as_echo_n "checking dynamic linker characteristics... " >&6; }
14998
14999library_names_spec=
15000libname_spec='lib$name'
15001soname_spec=
15002shrext_cmds=".so"
15003postinstall_cmds=
15004postuninstall_cmds=
15005finish_cmds=
15006finish_eval=
15007shlibpath_var=
15008shlibpath_overrides_runpath=unknown
15009version_type=none
15010dynamic_linker="$host_os ld.so"
15011sys_lib_dlsearch_path_spec="/lib /usr/lib"
15012need_lib_prefix=unknown
15013hardcode_into_libs=no
15014
15015# when you set need_version to no, make sure it does not cause -set_version
15016# flags to be left without arguments
15017need_version=unknown
15018
15019case $host_os in
15020aix3*)
15021 version_type=linux
15022 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15023 shlibpath_var=LIBPATH
15024
15025 # AIX 3 has no versioning support, so we append a major version to the name.
15026 soname_spec='${libname}${release}${shared_ext}$major'
15027 ;;
15028
15029aix[4-9]*)
15030 version_type=linux
15031 need_lib_prefix=no
15032 need_version=no
15033 hardcode_into_libs=yes
15034 if test "$host_cpu" = ia64; then
15035 # AIX 5 supports IA64
15036 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15037 shlibpath_var=LD_LIBRARY_PATH
15038 else
15039 # With GCC up to 2.95.x, collect2 would create an import file
15040 # for dependence libraries. The import file would start with
15041 # the line `#! .'. This would cause the generated library to
15042 # depend on `.', always an invalid library. This was fixed in
15043 # development snapshots of GCC prior to 3.0.
15044 case $host_os in
15045 aix4 | aix4.[01] | aix4.[01].*)
15046 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15047 echo ' yes '
15048 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15049 :
15050 else
15051 can_build_shared=no
15052 fi
15053 ;;
15054 esac
15055 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15056 # soname into executable. Probably we can add versioning support to
15057 # collect2, so additional links can be useful in future.
15058 if test "$aix_use_runtimelinking" = yes; then
15059 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15060 # instead of lib<name>.a to let people know that these are not
15061 # typical AIX shared libraries.
15062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15063 else
15064 # We preserve .a as extension for shared libraries through AIX4.2
15065 # and later when we are not doing run time linking.
15066 library_names_spec='${libname}${release}.a $libname.a'
15067 soname_spec='${libname}${release}${shared_ext}$major'
15068 fi
15069 shlibpath_var=LIBPATH
15070 fi
15071 ;;
15072
15073amigaos*)
15074 case $host_cpu in
15075 powerpc)
15076 # Since July 2007 AmigaOS4 officially supports .so libraries.
15077 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15079 ;;
15080 m68k)
15081 library_names_spec='$libname.ixlibrary $libname.a'
15082 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15083 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15084 ;;
15085 esac
15086 ;;
15087
15088beos*)
15089 library_names_spec='${libname}${shared_ext}'
15090 dynamic_linker="$host_os ld.so"
15091 shlibpath_var=LIBRARY_PATH
15092 ;;
15093
15094bsdi[45]*)
15095 version_type=linux
15096 need_version=no
15097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15098 soname_spec='${libname}${release}${shared_ext}$major'
15099 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15100 shlibpath_var=LD_LIBRARY_PATH
15101 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15102 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15103 # the default ld.so.conf also contains /usr/contrib/lib and
15104 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15105 # libtool to hard-code these into programs
15106 ;;
15107
15108cygwin* | mingw* | pw32* | cegcc*)
15109 version_type=windows
15110 shrext_cmds=".dll"
15111 need_version=no
15112 need_lib_prefix=no
15113
15114 case $GCC,$cc_basename in
15115 yes,*)
15116 # gcc
15117 library_names_spec='$libname.dll.a'
15118 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15119 postinstall_cmds='base_file=`basename \${file}`~
15120 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15121 dldir=$destdir/`dirname \$dlpath`~
15122 test -d \$dldir || mkdir -p \$dldir~
15123 $install_prog $dir/$dlname \$dldir/$dlname~
15124 chmod a+x \$dldir/$dlname~
15125 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15126 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15127 fi'
15128 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15129 dlpath=$dir/\$dldll~
15130 $RM \$dlpath'
15131 shlibpath_overrides_runpath=yes
15132
15133 case $host_os in
15134 cygwin*)
15135 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15136 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15137
15138 ;;
15139 mingw* | cegcc*)
15140 # MinGW DLLs use traditional 'lib' prefix
15141 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15142 ;;
15143 pw32*)
15144 # pw32 DLLs use 'pw' prefix rather than 'lib'
15145 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15146 ;;
15147 esac
15148 dynamic_linker='Win32 ld.exe'
15149 ;;
15150
15151 *,cl*)
15152 # Native MSVC
15153 libname_spec='$name'
15154 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15155 library_names_spec='${libname}.dll.lib'
15156
15157 case $build_os in
15158 mingw*)
15159 sys_lib_search_path_spec=
15160 lt_save_ifs=$IFS
15161 IFS=';'
15162 for lt_path in $LIB
15163 do
15164 IFS=$lt_save_ifs
15165 # Let DOS variable expansion print the short 8.3 style file name.
15166 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15167 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15168 done
15169 IFS=$lt_save_ifs
15170 # Convert to MSYS style.
15171 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15172 ;;
15173 cygwin*)
15174 # Convert to unix form, then to dos form, then back to unix form
15175 # but this time dos style (no spaces!) so that the unix form looks
15176 # like /cygdrive/c/PROGRA~1:/cygdr...
15177 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15178 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15179 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15180 ;;
15181 *)
15182 sys_lib_search_path_spec="$LIB"
15183 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15184 # It is most probably a Windows format PATH.
15185 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15186 else
15187 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15188 fi
15189 # FIXME: find the short name or the path components, as spaces are
15190 # common. (e.g. "Program Files" -> "PROGRA~1")
15191 ;;
15192 esac
15193
15194 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15195 postinstall_cmds='base_file=`basename \${file}`~
15196 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15197 dldir=$destdir/`dirname \$dlpath`~
15198 test -d \$dldir || mkdir -p \$dldir~
15199 $install_prog $dir/$dlname \$dldir/$dlname'
15200 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15201 dlpath=$dir/\$dldll~
15202 $RM \$dlpath'
15203 shlibpath_overrides_runpath=yes
15204 dynamic_linker='Win32 link.exe'
15205 ;;
15206
15207 *)
15208 # Assume MSVC wrapper
15209 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15210 dynamic_linker='Win32 ld.exe'
15211 ;;
15212 esac
15213 # FIXME: first we should search . and the directory the executable is in
15214 shlibpath_var=PATH
15215 ;;
15216
15217darwin* | rhapsody*)
15218 dynamic_linker="$host_os dyld"
15219 version_type=darwin
15220 need_lib_prefix=no
15221 need_version=no
15222 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15223 soname_spec='${libname}${release}${major}$shared_ext'
15224 shlibpath_overrides_runpath=yes
15225 shlibpath_var=DYLD_LIBRARY_PATH
15226 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15227
15228 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15229 ;;
15230
15231dgux*)
15232 version_type=linux
15233 need_lib_prefix=no
15234 need_version=no
15235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15236 soname_spec='${libname}${release}${shared_ext}$major'
15237 shlibpath_var=LD_LIBRARY_PATH
15238 ;;
15239
15240freebsd1*)
15241 dynamic_linker=no
15242 ;;
15243
15244freebsd* | dragonfly*)
15245 # DragonFly does not have aout. When/if they implement a new
15246 # versioning mechanism, adjust this.
15247 if test -x /usr/bin/objformat; then
15248 objformat=`/usr/bin/objformat`
15249 else
15250 case $host_os in
15251 freebsd[123]*) objformat=aout ;;
15252 *) objformat=elf ;;
15253 esac
15254 fi
15255 version_type=freebsd-$objformat
15256 case $version_type in
15257 freebsd-elf*)
15258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15259 need_version=no
15260 need_lib_prefix=no
15261 ;;
15262 freebsd-*)
15263 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15264 need_version=yes
15265 ;;
15266 esac
15267 shlibpath_var=LD_LIBRARY_PATH
15268 case $host_os in
15269 freebsd2*)
15270 shlibpath_overrides_runpath=yes
15271 ;;
15272 freebsd3.[01]* | freebsdelf3.[01]*)
15273 shlibpath_overrides_runpath=yes
15274 hardcode_into_libs=yes
15275 ;;
15276 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15277 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15278 shlibpath_overrides_runpath=no
15279 hardcode_into_libs=yes
15280 ;;
15281 *) # from 4.6 on, and DragonFly
15282 shlibpath_overrides_runpath=yes
15283 hardcode_into_libs=yes
15284 ;;
15285 esac
15286 ;;
15287
15288gnu*)
15289 version_type=linux
15290 need_lib_prefix=no
15291 need_version=no
15292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15293 soname_spec='${libname}${release}${shared_ext}$major'
15294 shlibpath_var=LD_LIBRARY_PATH
15295 shlibpath_overrides_runpath=no
15296 hardcode_into_libs=yes
15297 ;;
15298
15299haiku*)
15300 version_type=linux
15301 need_lib_prefix=no
15302 need_version=no
15303 dynamic_linker="$host_os runtime_loader"
15304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15305 soname_spec='${libname}${release}${shared_ext}$major'
15306 shlibpath_var=LIBRARY_PATH
15307 shlibpath_overrides_runpath=yes
15308 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15309 hardcode_into_libs=yes
15310 ;;
15311
15312hpux9* | hpux10* | hpux11*)
15313 # Give a soname corresponding to the major version so that dld.sl refuses to
15314 # link against other versions.
15315 version_type=sunos
15316 need_lib_prefix=no
15317 need_version=no
15318 case $host_cpu in
15319 ia64*)
15320 shrext_cmds='.so'
15321 hardcode_into_libs=yes
15322 dynamic_linker="$host_os dld.so"
15323 shlibpath_var=LD_LIBRARY_PATH
15324 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15326 soname_spec='${libname}${release}${shared_ext}$major'
15327 if test "X$HPUX_IA64_MODE" = X32; then
15328 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15329 else
15330 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15331 fi
15332 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15333 ;;
15334 hppa*64*)
15335 shrext_cmds='.sl'
15336 hardcode_into_libs=yes
15337 dynamic_linker="$host_os dld.sl"
15338 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15339 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15341 soname_spec='${libname}${release}${shared_ext}$major'
15342 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15343 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15344 ;;
15345 *)
15346 shrext_cmds='.sl'
15347 dynamic_linker="$host_os dld.sl"
15348 shlibpath_var=SHLIB_PATH
15349 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15351 soname_spec='${libname}${release}${shared_ext}$major'
15352 ;;
15353 esac
15354 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15355 postinstall_cmds='chmod 555 $lib'
15356 # or fails outright, so override atomically:
15357 install_override_mode=555
15358 ;;
15359
15360interix[3-9]*)
15361 version_type=linux
15362 need_lib_prefix=no
15363 need_version=no
15364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15365 soname_spec='${libname}${release}${shared_ext}$major'
15366 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15367 shlibpath_var=LD_LIBRARY_PATH
15368 shlibpath_overrides_runpath=no
15369 hardcode_into_libs=yes
15370 ;;
15371
15372irix5* | irix6* | nonstopux*)
15373 case $host_os in
15374 nonstopux*) version_type=nonstopux ;;
15375 *)
15376 if test "$lt_cv_prog_gnu_ld" = yes; then
15377 version_type=linux
15378 else
15379 version_type=irix
15380 fi ;;
15381 esac
15382 need_lib_prefix=no
15383 need_version=no
15384 soname_spec='${libname}${release}${shared_ext}$major'
15385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15386 case $host_os in
15387 irix5* | nonstopux*)
15388 libsuff= shlibsuff=
15389 ;;
15390 *)
15391 case $LD in # libtool.m4 will add one of these switches to LD
15392 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15393 libsuff= shlibsuff= libmagic=32-bit;;
15394 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15395 libsuff=32 shlibsuff=N32 libmagic=N32;;
15396 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15397 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15398 *) libsuff= shlibsuff= libmagic=never-match;;
15399 esac
15400 ;;
15401 esac
15402 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15403 shlibpath_overrides_runpath=no
15404 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15405 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15406 hardcode_into_libs=yes
15407 ;;
15408
15409# No shared lib support for Linux oldld, aout, or coff.
15410linux*oldld* | linux*aout* | linux*coff*)
15411 dynamic_linker=no
15412 ;;
15413
15414# This must be Linux ELF.
15415linux* | k*bsd*-gnu | kopensolaris*-gnu)
15416 version_type=linux
15417 need_lib_prefix=no
15418 need_version=no
15419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15420 soname_spec='${libname}${release}${shared_ext}$major'
15421 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15422 shlibpath_var=LD_LIBRARY_PATH
15423 shlibpath_overrides_runpath=no
15424
15425 # Some binutils ld are patched to set DT_RUNPATH
15426 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15427 $as_echo_n "(cached) " >&6
15428else
15429 lt_cv_shlibpath_overrides_runpath=no
15430 save_LDFLAGS=$LDFLAGS
15431 save_libdir=$libdir
15432 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15433 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15435/* end confdefs.h. */
15436
15437int
15438main ()
15439{
15440
15441 ;
15442 return 0;
15443}
15444_ACEOF
15445if ac_fn_cxx_try_link "$LINENO"; then :
15446 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15447 lt_cv_shlibpath_overrides_runpath=yes
15448fi
15449fi
15450rm -f core conftest.err conftest.$ac_objext \
15451 conftest$ac_exeext conftest.$ac_ext
15452 LDFLAGS=$save_LDFLAGS
15453 libdir=$save_libdir
15454
15455fi
15456
15457 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15458
15459 # This implies no fast_install, which is unacceptable.
15460 # Some rework will be needed to allow for fast_install
15461 # before this can be enabled.
15462 hardcode_into_libs=yes
15463
15464 # Append ld.so.conf contents to the search path
15465 if test -f /etc/ld.so.conf; then
15466 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15467 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15468 fi
15469
15470 # We used to test for /lib/ld.so.1 and disable shared libraries on
15471 # powerpc, because MkLinux only supported shared libraries with the
15472 # GNU dynamic linker. Since this was broken with cross compilers,
15473 # most powerpc-linux boxes support dynamic linking these days and
15474 # people can always --disable-shared, the test was removed, and we
15475 # assume the GNU/Linux dynamic linker is in use.
15476 dynamic_linker='GNU/Linux ld.so'
15477 ;;
15478
15479netbsdelf*-gnu)
15480 version_type=linux
15481 need_lib_prefix=no
15482 need_version=no
15483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15484 soname_spec='${libname}${release}${shared_ext}$major'
15485 shlibpath_var=LD_LIBRARY_PATH
15486 shlibpath_overrides_runpath=no
15487 hardcode_into_libs=yes
15488 dynamic_linker='NetBSD ld.elf_so'
15489 ;;
15490
15491netbsd*)
15492 version_type=sunos
15493 need_lib_prefix=no
15494 need_version=no
15495 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15497 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15498 dynamic_linker='NetBSD (a.out) ld.so'
15499 else
15500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15501 soname_spec='${libname}${release}${shared_ext}$major'
15502 dynamic_linker='NetBSD ld.elf_so'
15503 fi
15504 shlibpath_var=LD_LIBRARY_PATH
15505 shlibpath_overrides_runpath=yes
15506 hardcode_into_libs=yes
15507 ;;
15508
15509newsos6)
15510 version_type=linux
15511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15512 shlibpath_var=LD_LIBRARY_PATH
15513 shlibpath_overrides_runpath=yes
15514 ;;
15515
15516*nto* | *qnx*)
15517 version_type=qnx
15518 need_lib_prefix=no
15519 need_version=no
15520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15521 soname_spec='${libname}${release}${shared_ext}$major'
15522 shlibpath_var=LD_LIBRARY_PATH
15523 shlibpath_overrides_runpath=no
15524 hardcode_into_libs=yes
15525 dynamic_linker='ldqnx.so'
15526 ;;
15527
15528openbsd*)
15529 version_type=sunos
15530 sys_lib_dlsearch_path_spec="/usr/lib"
15531 need_lib_prefix=no
15532 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15533 case $host_os in
15534 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15535 *) need_version=no ;;
15536 esac
15537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15538 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15539 shlibpath_var=LD_LIBRARY_PATH
15540 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15541 case $host_os in
15542 openbsd2.[89] | openbsd2.[89].*)
15543 shlibpath_overrides_runpath=no
15544 ;;
15545 *)
15546 shlibpath_overrides_runpath=yes
15547 ;;
15548 esac
15549 else
15550 shlibpath_overrides_runpath=yes
15551 fi
15552 ;;
15553
15554os2*)
15555 libname_spec='$name'
15556 shrext_cmds=".dll"
15557 need_lib_prefix=no
15558 library_names_spec='$libname${shared_ext} $libname.a'
15559 dynamic_linker='OS/2 ld.exe'
15560 shlibpath_var=LIBPATH
15561 ;;
15562
15563osf3* | osf4* | osf5*)
15564 version_type=osf
15565 need_lib_prefix=no
15566 need_version=no
15567 soname_spec='${libname}${release}${shared_ext}$major'
15568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15569 shlibpath_var=LD_LIBRARY_PATH
15570 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15571 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15572 ;;
15573
15574rdos*)
15575 dynamic_linker=no
15576 ;;
15577
15578solaris*)
15579 version_type=linux
15580 need_lib_prefix=no
15581 need_version=no
15582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15583 soname_spec='${libname}${release}${shared_ext}$major'
15584 shlibpath_var=LD_LIBRARY_PATH
15585 shlibpath_overrides_runpath=yes
15586 hardcode_into_libs=yes
15587 # ldd complains unless libraries are executable
15588 postinstall_cmds='chmod +x $lib'
15589 ;;
15590
15591sunos4*)
15592 version_type=sunos
15593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15594 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15595 shlibpath_var=LD_LIBRARY_PATH
15596 shlibpath_overrides_runpath=yes
15597 if test "$with_gnu_ld" = yes; then
15598 need_lib_prefix=no
15599 fi
15600 need_version=yes
15601 ;;
15602
15603sysv4 | sysv4.3*)
15604 version_type=linux
15605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15606 soname_spec='${libname}${release}${shared_ext}$major'
15607 shlibpath_var=LD_LIBRARY_PATH
15608 case $host_vendor in
15609 sni)
15610 shlibpath_overrides_runpath=no
15611 need_lib_prefix=no
15612 runpath_var=LD_RUN_PATH
15613 ;;
15614 siemens)
15615 need_lib_prefix=no
15616 ;;
15617 motorola)
15618 need_lib_prefix=no
15619 need_version=no
15620 shlibpath_overrides_runpath=no
15621 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15622 ;;
15623 esac
15624 ;;
15625
15626sysv4*MP*)
15627 if test -d /usr/nec ;then
15628 version_type=linux
15629 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15630 soname_spec='$libname${shared_ext}.$major'
15631 shlibpath_var=LD_LIBRARY_PATH
15632 fi
15633 ;;
15634
15635sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15636 version_type=freebsd-elf
15637 need_lib_prefix=no
15638 need_version=no
15639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15640 soname_spec='${libname}${release}${shared_ext}$major'
15641 shlibpath_var=LD_LIBRARY_PATH
15642 shlibpath_overrides_runpath=yes
15643 hardcode_into_libs=yes
15644 if test "$with_gnu_ld" = yes; then
15645 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15646 else
15647 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15648 case $host_os in
15649 sco3.2v5*)
15650 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15651 ;;
15652 esac
15653 fi
15654 sys_lib_dlsearch_path_spec='/usr/lib'
15655 ;;
15656
15657tpf*)
15658 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15659 version_type=linux
15660 need_lib_prefix=no
15661 need_version=no
15662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15663 shlibpath_var=LD_LIBRARY_PATH
15664 shlibpath_overrides_runpath=no
15665 hardcode_into_libs=yes
15666 ;;
15667
15668uts4*)
15669 version_type=linux
15670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15671 soname_spec='${libname}${release}${shared_ext}$major'
15672 shlibpath_var=LD_LIBRARY_PATH
15673 ;;
15674
15675*)
15676 dynamic_linker=no
15677 ;;
15678esac
15679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15680$as_echo "$dynamic_linker" >&6; }
15681test "$dynamic_linker" = no && can_build_shared=no
15682
15683variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15684if test "$GCC" = yes; then
15685 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15686fi
15687
15688if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15689 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15690fi
15691if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15692 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15693fi
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15733$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15734hardcode_action_CXX=
15735if test -n "$hardcode_libdir_flag_spec_CXX" ||
15736 test -n "$runpath_var_CXX" ||
15737 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15738
15739 # We can hardcode non-existent directories.
15740 if test "$hardcode_direct_CXX" != no &&
15741 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15742 # have to relink, otherwise we might link with an installed library
15743 # when we should be linking with a yet-to-be-installed one
15744 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15745 test "$hardcode_minus_L_CXX" != no; then
15746 # Linking always hardcodes the temporary library directory.
15747 hardcode_action_CXX=relink
15748 else
15749 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15750 hardcode_action_CXX=immediate
15751 fi
15752else
15753 # We cannot hardcode anything, or else we can only hardcode existing
15754 # directories.
15755 hardcode_action_CXX=unsupported
15756fi
15757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15758$as_echo "$hardcode_action_CXX" >&6; }
15759
15760if test "$hardcode_action_CXX" = relink ||
15761 test "$inherit_rpath_CXX" = yes; then
15762 # Fast installation is not supported
15763 enable_fast_install=no
15764elif test "$shlibpath_overrides_runpath" = yes ||
15765 test "$enable_shared" = no; then
15766 # Fast installation is not necessary
15767 enable_fast_install=needless
15768fi
15769
15770
15771
15772
15773
15774
15775
15776 fi # test -n "$compiler"
15777
15778 CC=$lt_save_CC
15779 CFLAGS=$lt_save_CFLAGS
15780 LDCXX=$LD
15781 LD=$lt_save_LD
15782 GCC=$lt_save_GCC
15783 with_gnu_ld=$lt_save_with_gnu_ld
15784 lt_cv_path_LDCXX=$lt_cv_path_LD
15785 lt_cv_path_LD=$lt_save_path_LD
15786 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15787 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15788fi # test "$_lt_caught_CXX_error" != yes
15789
15790ac_ext=cpp
15791ac_cpp='$CXXCPP $CPPFLAGS'
15792ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15793ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15794ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808 ac_config_commands="$ac_config_commands libtool"
15809
15810
15811
15812
15813# Only expand once:
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15825 if test -n "$ac_tool_prefix"; then
15826 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15827set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15829$as_echo_n "checking for $ac_word... " >&6; }
15830if ${ac_cv_path_PKG_CONFIG+:} false; then :
15831 $as_echo_n "(cached) " >&6
15832else
15833 case $PKG_CONFIG in
15834 [\\/]* | ?:[\\/]*)
15835 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15836 ;;
15837 *)
15838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15839for as_dir in $PATH
15840do
15841 IFS=$as_save_IFS
15842 test -z "$as_dir" && as_dir=.
15843 for ac_exec_ext in '' $ac_executable_extensions; do
15844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15845 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15847 break 2
15848 fi
15849done
15850 done
15851IFS=$as_save_IFS
15852
15853 ;;
15854esac
15855fi
15856PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15857if test -n "$PKG_CONFIG"; then
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15859$as_echo "$PKG_CONFIG" >&6; }
15860else
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15862$as_echo "no" >&6; }
15863fi
15864
15865
15866fi
15867if test -z "$ac_cv_path_PKG_CONFIG"; then
15868 ac_pt_PKG_CONFIG=$PKG_CONFIG
15869 # Extract the first word of "pkg-config", so it can be a program name with args.
15870set dummy pkg-config; ac_word=$2
15871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15872$as_echo_n "checking for $ac_word... " >&6; }
15873if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15874 $as_echo_n "(cached) " >&6
15875else
15876 case $ac_pt_PKG_CONFIG in
15877 [\\/]* | ?:[\\/]*)
15878 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15879 ;;
15880 *)
15881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15882for as_dir in $PATH
15883do
15884 IFS=$as_save_IFS
15885 test -z "$as_dir" && as_dir=.
15886 for ac_exec_ext in '' $ac_executable_extensions; do
15887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15888 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15890 break 2
15891 fi
15892done
15893 done
15894IFS=$as_save_IFS
15895
15896 ;;
15897esac
15898fi
15899ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15900if test -n "$ac_pt_PKG_CONFIG"; then
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15902$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15903else
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15905$as_echo "no" >&6; }
15906fi
15907
15908 if test "x$ac_pt_PKG_CONFIG" = x; then
15909 PKG_CONFIG=""
15910 else
15911 case $cross_compiling:$ac_tool_warned in
15912yes:)
15913{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15914$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15915ac_tool_warned=yes ;;
15916esac
15917 PKG_CONFIG=$ac_pt_PKG_CONFIG
15918 fi
15919else
15920 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15921fi
15922
15923fi
15924if test -n "$PKG_CONFIG"; then
15925 _pkg_min_version=0.9.0
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15927$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15928 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15930$as_echo "yes" >&6; }
15931 else
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15933$as_echo "no" >&6; }
15934 PKG_CONFIG=""
15935 fi
15936fi
15937
15938
15939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports symbol visibility" >&5
15940$as_echo_n "checking whether $CXX supports symbol visibility... " >&6; }
15941
15942vtest=`$CXX --help --verbose 2>&1 | grep fvisibility`
15943
15944if test -n "$vtest"; then
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15946$as_echo "yes" >&6; }
15947
15948
15949$as_echo "#define GCC_HASCLASSVISIBILITY 1" >>confdefs.h
15950
15951 CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
15952else
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15954$as_echo "no" >&6; }
15955fi
15956
15957
15958# Check for dependencies
15959
15960DBUS_REQUIRED_VERSION=0.60
15961
15962pkg_failed=no
15963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus" >&5
15964$as_echo_n "checking for dbus... " >&6; }
15965
15966if test -n "$dbus_CFLAGS"; then
15967 pkg_cv_dbus_CFLAGS="$dbus_CFLAGS"
15968 elif test -n "$PKG_CONFIG"; then
15969 if test -n "$PKG_CONFIG" && \
15970 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= \$DBUS_REQUIRED_VERSION\""; } >&5
15971 ($PKG_CONFIG --exists --print-errors "dbus-1 >= $DBUS_REQUIRED_VERSION") 2>&5
15972 ac_status=$?
15973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15974 test $ac_status = 0; }; then
15975 pkg_cv_dbus_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= $DBUS_REQUIRED_VERSION" 2>/dev/null`
15976 test "x$?" != "x0" && pkg_failed=yes
15977else
15978 pkg_failed=yes
15979fi
15980 else
15981 pkg_failed=untried
15982fi
15983if test -n "$dbus_LIBS"; then
15984 pkg_cv_dbus_LIBS="$dbus_LIBS"
15985 elif test -n "$PKG_CONFIG"; then
15986 if test -n "$PKG_CONFIG" && \
15987 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= \$DBUS_REQUIRED_VERSION\""; } >&5
15988 ($PKG_CONFIG --exists --print-errors "dbus-1 >= $DBUS_REQUIRED_VERSION") 2>&5
15989 ac_status=$?
15990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15991 test $ac_status = 0; }; then
15992 pkg_cv_dbus_LIBS=`$PKG_CONFIG --libs "dbus-1 >= $DBUS_REQUIRED_VERSION" 2>/dev/null`
15993 test "x$?" != "x0" && pkg_failed=yes
15994else
15995 pkg_failed=yes
15996fi
15997 else
15998 pkg_failed=untried
15999fi
16000
16001
16002
16003if test $pkg_failed = yes; then
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16005$as_echo "no" >&6; }
16006
16007if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16008 _pkg_short_errors_supported=yes
16009else
16010 _pkg_short_errors_supported=no
16011fi
16012 if test $_pkg_short_errors_supported = yes; then
16013 dbus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= $DBUS_REQUIRED_VERSION" 2>&1`
16014 else
16015 dbus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= $DBUS_REQUIRED_VERSION" 2>&1`
16016 fi
16017 # Put the nasty error message in config.log where it belongs
16018 echo "$dbus_PKG_ERRORS" >&5
16019
16020 as_fn_error $? "You need the DBus libraries (version 0.6 or better)
16021 http://www.freedesktop.org/wiki/Software_2fdbus" "$LINENO" 5
16022
16023elif test $pkg_failed = untried; then
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16025$as_echo "no" >&6; }
16026 as_fn_error $? "You need the DBus libraries (version 0.6 or better)
16027 http://www.freedesktop.org/wiki/Software_2fdbus" "$LINENO" 5
16028
16029else
16030 dbus_CFLAGS=$pkg_cv_dbus_CFLAGS
16031 dbus_LIBS=$pkg_cv_dbus_LIBS
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16033$as_echo "yes" >&6; }
16034
16035fi
16036
16037
16038
16039DBUS_API_STABLE_VERSION=1.0.0
16040if test -n "$PKG_CONFIG" && \
16041 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 < \$DBUS_API_STABLE_VERSION\""; } >&5
16042 ($PKG_CONFIG --exists --print-errors "dbus-1 < $DBUS_API_STABLE_VERSION") 2>&5
16043 ac_status=$?
16044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16045 test $ac_status = 0; }; then
16046
16047$as_echo "#define DBUS_API_SUBJECT_TO_CHANGE /**/" >>confdefs.h
16048
16049
16050fi
16051
16052DBUS_THREADS_INIT_DEFAULT_VERSION=0.93
16053if test -n "$PKG_CONFIG" && \
16054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= \$DBUS_THREADS_INIT_DEFAULT_VERSION\""; } >&5
16055 ($PKG_CONFIG --exists --print-errors "dbus-1 >= $DBUS_THREADS_INIT_DEFAULT_VERSION") 2>&5
16056 ac_status=$?
16057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16058 test $ac_status = 0; }; then
16059
16060$as_echo "#define DBUS_HAS_THREADS_INIT_DEFAULT /**/" >>confdefs.h
16061
16062
16063fi
16064
16065DBUS_RECURSIVE_MUTEX_VERSION=0.95
16066if test -n "$PKG_CONFIG" && \
16067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= \$DBUS_RECURSIVE_MUTEX_VERSION\""; } >&5
16068 ($PKG_CONFIG --exists --print-errors "dbus-1 >= $DBUS_RECURSIVE_MUTEX_VERSION") 2>&5
16069 ac_status=$?
16070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16071 test $ac_status = 0; }; then
16072
16073$as_echo "#define DBUS_HAS_RECURSIVE_MUTEX /**/" >>confdefs.h
16074
16075
16076fi
16077
16078
16079if test "$enable_glib" = "yes" ; then
16080
16081pkg_failed=no
16082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib" >&5
16083$as_echo_n "checking for glib... " >&6; }
16084
16085if test -n "$glib_CFLAGS"; then
16086 pkg_cv_glib_CFLAGS="$glib_CFLAGS"
16087 elif test -n "$PKG_CONFIG"; then
16088 if test -n "$PKG_CONFIG" && \
16089 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
16090 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
16091 ac_status=$?
16092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16093 test $ac_status = 0; }; then
16094 pkg_cv_glib_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
16095 test "x$?" != "x0" && pkg_failed=yes
16096else
16097 pkg_failed=yes
16098fi
16099 else
16100 pkg_failed=untried
16101fi
16102if test -n "$glib_LIBS"; then
16103 pkg_cv_glib_LIBS="$glib_LIBS"
16104 elif test -n "$PKG_CONFIG"; then
16105 if test -n "$PKG_CONFIG" && \
16106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
16107 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
16108 ac_status=$?
16109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16110 test $ac_status = 0; }; then
16111 pkg_cv_glib_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
16112 test "x$?" != "x0" && pkg_failed=yes
16113else
16114 pkg_failed=yes
16115fi
16116 else
16117 pkg_failed=untried
16118fi
16119
16120
16121
16122if test $pkg_failed = yes; then
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16124$as_echo "no" >&6; }
16125
16126if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16127 _pkg_short_errors_supported=yes
16128else
16129 _pkg_short_errors_supported=no
16130fi
16131 if test $_pkg_short_errors_supported = yes; then
16132 glib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1`
16133 else
16134 glib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1`
16135 fi
16136 # Put the nasty error message in config.log where it belongs
16137 echo "$glib_PKG_ERRORS" >&5
16138
16139 as_fn_error $? "Package requirements (glib-2.0) were not met:
16140
16141$glib_PKG_ERRORS
16142
16143Consider adjusting the PKG_CONFIG_PATH environment variable if you
16144installed software in a non-standard prefix.
16145
16146Alternatively, you may set the environment variables glib_CFLAGS
16147and glib_LIBS to avoid the need to call pkg-config.
16148See the pkg-config man page for more details." "$LINENO" 5
16149elif test $pkg_failed = untried; then
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16151$as_echo "no" >&6; }
16152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16153$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16154as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16155is in your PATH or set the PKG_CONFIG environment variable to the full
16156path to pkg-config.
16157
16158Alternatively, you may set the environment variables glib_CFLAGS
16159and glib_LIBS to avoid the need to call pkg-config.
16160See the pkg-config man page for more details.
16161
16162To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16163See \`config.log' for more details" "$LINENO" 5; }
16164else
16165 glib_CFLAGS=$pkg_cv_glib_CFLAGS
16166 glib_LIBS=$pkg_cv_glib_LIBS
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16168$as_echo "yes" >&6; }
16169
16170fi
16171
16172
16173 if test 1 = 1; then
16174 ENABLE_GLIB_TRUE=
16175 ENABLE_GLIB_FALSE='#'
16176else
16177 ENABLE_GLIB_TRUE='#'
16178 ENABLE_GLIB_FALSE=
16179fi
16180
16181
16182pkg_failed=no
16183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtkmm" >&5
16184$as_echo_n "checking for gtkmm... " >&6; }
16185
16186if test -n "$gtkmm_CFLAGS"; then
16187 pkg_cv_gtkmm_CFLAGS="$gtkmm_CFLAGS"
16188 elif test -n "$PKG_CONFIG"; then
16189 if test -n "$PKG_CONFIG" && \
16190 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4\""; } >&5
16191 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4") 2>&5
16192 ac_status=$?
16193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16194 test $ac_status = 0; }; then
16195 pkg_cv_gtkmm_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4" 2>/dev/null`
16196 test "x$?" != "x0" && pkg_failed=yes
16197else
16198 pkg_failed=yes
16199fi
16200 else
16201 pkg_failed=untried
16202fi
16203if test -n "$gtkmm_LIBS"; then
16204 pkg_cv_gtkmm_LIBS="$gtkmm_LIBS"
16205 elif test -n "$PKG_CONFIG"; then
16206 if test -n "$PKG_CONFIG" && \
16207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4\""; } >&5
16208 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4") 2>&5
16209 ac_status=$?
16210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16211 test $ac_status = 0; }; then
16212 pkg_cv_gtkmm_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4" 2>/dev/null`
16213 test "x$?" != "x0" && pkg_failed=yes
16214else
16215 pkg_failed=yes
16216fi
16217 else
16218 pkg_failed=untried
16219fi
16220
16221
16222
16223if test $pkg_failed = yes; then
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16225$as_echo "no" >&6; }
16226
16227if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16228 _pkg_short_errors_supported=yes
16229else
16230 _pkg_short_errors_supported=no
16231fi
16232 if test $_pkg_short_errors_supported = yes; then
16233 gtkmm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtkmm-2.4" 2>&1`
16234 else
16235 gtkmm_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtkmm-2.4" 2>&1`
16236 fi
16237 # Put the nasty error message in config.log where it belongs
16238 echo "$gtkmm_PKG_ERRORS" >&5
16239
16240 if test 0 = 1; then
16241 HAVE_GTKMM_TRUE=
16242 HAVE_GTKMM_FALSE='#'
16243else
16244 HAVE_GTKMM_TRUE='#'
16245 HAVE_GTKMM_FALSE=
16246fi
16247
16248
16249elif test $pkg_failed = untried; then
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16251$as_echo "no" >&6; }
16252 if test 0 = 1; then
16253 HAVE_GTKMM_TRUE=
16254 HAVE_GTKMM_FALSE='#'
16255else
16256 HAVE_GTKMM_TRUE='#'
16257 HAVE_GTKMM_FALSE=
16258fi
16259
16260
16261else
16262 gtkmm_CFLAGS=$pkg_cv_gtkmm_CFLAGS
16263 gtkmm_LIBS=$pkg_cv_gtkmm_LIBS
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16265$as_echo "yes" >&6; }
16266 if test 1 = 1; then
16267 HAVE_GTKMM_TRUE=
16268 HAVE_GTKMM_FALSE='#'
16269else
16270 HAVE_GTKMM_TRUE='#'
16271 HAVE_GTKMM_FALSE=
16272fi
16273
16274fi
16275
16276
16277else
16278 if test 0 = 1; then
16279 ENABLE_GLIB_TRUE=
16280 ENABLE_GLIB_FALSE='#'
16281else
16282 ENABLE_GLIB_TRUE='#'
16283 ENABLE_GLIB_FALSE=
16284fi
16285
16286 if test 0 = 1; then
16287 HAVE_GTKMM_TRUE=
16288 HAVE_GTKMM_FALSE='#'
16289else
16290 HAVE_GTKMM_TRUE='#'
16291 HAVE_GTKMM_FALSE=
16292fi
16293
16294fi
16295
16296if test "$enable_ecore" = "yes" ; then
16297
16298pkg_failed=no
16299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ecore" >&5
16300$as_echo_n "checking for ecore... " >&6; }
16301
16302if test -n "$ecore_CFLAGS"; then
16303 pkg_cv_ecore_CFLAGS="$ecore_CFLAGS"
16304 elif test -n "$PKG_CONFIG"; then
16305 if test -n "$PKG_CONFIG" && \
16306 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore\""; } >&5
16307 ($PKG_CONFIG --exists --print-errors "ecore") 2>&5
16308 ac_status=$?
16309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16310 test $ac_status = 0; }; then
16311 pkg_cv_ecore_CFLAGS=`$PKG_CONFIG --cflags "ecore" 2>/dev/null`
16312 test "x$?" != "x0" && pkg_failed=yes
16313else
16314 pkg_failed=yes
16315fi
16316 else
16317 pkg_failed=untried
16318fi
16319if test -n "$ecore_LIBS"; then
16320 pkg_cv_ecore_LIBS="$ecore_LIBS"
16321 elif test -n "$PKG_CONFIG"; then
16322 if test -n "$PKG_CONFIG" && \
16323 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore\""; } >&5
16324 ($PKG_CONFIG --exists --print-errors "ecore") 2>&5
16325 ac_status=$?
16326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16327 test $ac_status = 0; }; then
16328 pkg_cv_ecore_LIBS=`$PKG_CONFIG --libs "ecore" 2>/dev/null`
16329 test "x$?" != "x0" && pkg_failed=yes
16330else
16331 pkg_failed=yes
16332fi
16333 else
16334 pkg_failed=untried
16335fi
16336
16337
16338
16339if test $pkg_failed = yes; then
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16341$as_echo "no" >&6; }
16342
16343if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16344 _pkg_short_errors_supported=yes
16345else
16346 _pkg_short_errors_supported=no
16347fi
16348 if test $_pkg_short_errors_supported = yes; then
16349 ecore_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore" 2>&1`
16350 else
16351 ecore_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore" 2>&1`
16352 fi
16353 # Put the nasty error message in config.log where it belongs
16354 echo "$ecore_PKG_ERRORS" >&5
16355
16356 as_fn_error $? "Package requirements (ecore) were not met:
16357
16358$ecore_PKG_ERRORS
16359
16360Consider adjusting the PKG_CONFIG_PATH environment variable if you
16361installed software in a non-standard prefix.
16362
16363Alternatively, you may set the environment variables ecore_CFLAGS
16364and ecore_LIBS to avoid the need to call pkg-config.
16365See the pkg-config man page for more details." "$LINENO" 5
16366elif test $pkg_failed = untried; then
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16368$as_echo "no" >&6; }
16369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16370$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16371as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16372is in your PATH or set the PKG_CONFIG environment variable to the full
16373path to pkg-config.
16374
16375Alternatively, you may set the environment variables ecore_CFLAGS
16376and ecore_LIBS to avoid the need to call pkg-config.
16377See the pkg-config man page for more details.
16378
16379To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16380See \`config.log' for more details" "$LINENO" 5; }
16381else
16382 ecore_CFLAGS=$pkg_cv_ecore_CFLAGS
16383 ecore_LIBS=$pkg_cv_ecore_LIBS
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16385$as_echo "yes" >&6; }
16386
16387fi
16388
16389
16390 if test 1 = 1; then
16391 ENABLE_ECORE_TRUE=
16392 ENABLE_ECORE_FALSE='#'
16393else
16394 ENABLE_ECORE_TRUE='#'
16395 ENABLE_ECORE_FALSE=
16396fi
16397
16398else
16399 if test 0 = 1; then
16400 ENABLE_ECORE_TRUE=
16401 ENABLE_ECORE_FALSE='#'
16402else
16403 ENABLE_ECORE_TRUE='#'
16404 ENABLE_ECORE_FALSE=
16405fi
16406
16407fi
16408
16409if test "$enable_tests" = "yes" ; then
16410 if test 1 = 1; then
16411 ENABLE_TESTS_TRUE=
16412 ENABLE_TESTS_FALSE='#'
16413else
16414 ENABLE_TESTS_TRUE='#'
16415 ENABLE_TESTS_FALSE=
16416fi
16417
16418else
16419 if test 0 = 1; then
16420 ENABLE_TESTS_TRUE=
16421 ENABLE_TESTS_FALSE='#'
16422else
16423 ENABLE_TESTS_TRUE='#'
16424 ENABLE_TESTS_FALSE=
16425fi
16426
16427fi
16428
16429if test "$enable_examples" = "yes" ; then
16430 if test 1 = 1; then
16431 ENABLE_EXAMPLES_TRUE=
16432 ENABLE_EXAMPLES_FALSE='#'
16433else
16434 ENABLE_EXAMPLES_TRUE='#'
16435 ENABLE_EXAMPLES_FALSE=
16436fi
16437
16438else
16439 if test 0 = 1; then
16440 ENABLE_EXAMPLES_TRUE=
16441 ENABLE_EXAMPLES_FALSE='#'
16442else
16443 ENABLE_EXAMPLES_TRUE='#'
16444 ENABLE_EXAMPLES_FALSE=
16445fi
16446
16447fi
16448
16449
16450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate_MM in -lexpat" >&5
16451$as_echo_n "checking for XML_ParserCreate_MM in -lexpat... " >&6; }
16452if ${ac_cv_lib_expat_XML_ParserCreate_MM+:} false; then :
16453 $as_echo_n "(cached) " >&6
16454else
16455 ac_check_lib_save_LIBS=$LIBS
16456LIBS="-lexpat $LIBS"
16457cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458/* end confdefs.h. */
16459
16460/* Override any GCC internal prototype to avoid an error.
16461 Use char because int might match the return type of a GCC
16462 builtin and then its argument prototype would still apply. */
16463#ifdef __cplusplus
16464extern "C"
16465#endif
16466char XML_ParserCreate_MM ();
16467int
16468main ()
16469{
16470return XML_ParserCreate_MM ();
16471 ;
16472 return 0;
16473}
16474_ACEOF
16475if ac_fn_cxx_try_link "$LINENO"; then :
16476 ac_cv_lib_expat_XML_ParserCreate_MM=yes
16477else
16478 ac_cv_lib_expat_XML_ParserCreate_MM=no
16479fi
16480rm -f core conftest.err conftest.$ac_objext \
16481 conftest$ac_exeext conftest.$ac_ext
16482LIBS=$ac_check_lib_save_LIBS
16483fi
16484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate_MM" >&5
16485$as_echo "$ac_cv_lib_expat_XML_ParserCreate_MM" >&6; }
16486if test "x$ac_cv_lib_expat_XML_ParserCreate_MM" = xyes; then :
16487 for ac_header in expat.h
16488do :
16489 ac_fn_cxx_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
16490if test "x$ac_cv_header_expat_h" = xyes; then :
16491 cat >>confdefs.h <<_ACEOF
16492#define HAVE_EXPAT_H 1
16493_ACEOF
16494 have_expat=true
16495else
16496 have_expat=false
16497fi
16498
16499done
16500
16501else
16502 have_expat=false
16503fi
16504
16505
16506if ! $have_expat; then
16507 as_fn_error $? "You need the eXpat xml parser
16508 http://expat.sourceforge.net/" "$LINENO" 5
16509fi
16510
16511xml_CFLAGS=
16512xml_LIBS=-lexpat
16513
16514
16515
16516
16517
16518
16519
16520ac_ext=c
16521ac_cpp='$CPP $CPPFLAGS'
16522ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16523ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16524ac_compiler_gnu=$ac_cv_c_compiler_gnu
16525
16526acx_pthread_ok=no
16527
16528# We used to check for pthread.h first, but this fails if pthread.h
16529# requires special compiler flags (e.g. on True64 or Sequent).
16530# It gets checked for in the link test anyway.
16531
16532# First of all, check if the user has set any of the PTHREAD_LIBS,
16533# etcetera environment variables, and if threads linking works using
16534# them:
16535if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
16536 save_CFLAGS="$CFLAGS"
16537 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
16538 save_LIBS="$LIBS"
16539 LIBS="$PTHREAD_LIBS $LIBS"
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
16541$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
16542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16543/* end confdefs.h. */
16544
16545/* Override any GCC internal prototype to avoid an error.
16546 Use char because int might match the return type of a GCC
16547 builtin and then its argument prototype would still apply. */
16548#ifdef __cplusplus
16549extern "C"
16550#endif
16551char pthread_join ();
16552int
16553main ()
16554{
16555return pthread_join ();
16556 ;
16557 return 0;
16558}
16559_ACEOF
16560if ac_fn_c_try_link "$LINENO"; then :
16561 acx_pthread_ok=yes
16562fi
16563rm -f core conftest.err conftest.$ac_objext \
16564 conftest$ac_exeext conftest.$ac_ext
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
16566$as_echo "$acx_pthread_ok" >&6; }
16567 if test x"$acx_pthread_ok" = xno; then
16568 PTHREAD_LIBS=""
16569 PTHREAD_CFLAGS=""
16570 fi
16571 LIBS="$save_LIBS"
16572 CFLAGS="$save_CFLAGS"
16573fi
16574
16575# We must check for the threads library under a number of different
16576# names; the ordering is very important because some systems
16577# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
16578# libraries is broken (non-POSIX).
16579
16580# Create a list of thread flags to try. Items starting with a "-" are
16581# C compiler flags, and other items are library names, except for "none"
16582# which indicates that we try without any flags at all, and "pthread-config"
16583# which is a program returning the flags for the Pth emulation library.
16584
16585acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
16586
16587# The ordering *is* (sometimes) important. Some notes on the
16588# individual items follow:
16589
16590# pthreads: AIX (must check this before -lpthread)
16591# none: in case threads are in libc; should be tried before -Kthread and
16592# other compiler flags to prevent continual compiler warnings
16593# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
16594# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
16595# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
16596# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
16597# -pthreads: Solaris/gcc
16598# -mthreads: Mingw32/gcc, Lynx/gcc
16599# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
16600# doesn't hurt to check since this sometimes defines pthreads too;
16601# also defines -D_REENTRANT)
16602# ... -mt is also the pthreads flag for HP/aCC
16603# pthread: Linux, etcetera
16604# --thread-safe: KAI C++
16605# pthread-config: use pthread-config program (for GNU Pth library)
16606
16607case "${host_cpu}-${host_os}" in
16608 *solaris*)
16609
16610 # On Solaris (at least, for some versions), libc contains stubbed
16611 # (non-functional) versions of the pthreads routines, so link-based
16612 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
16613 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
16614 # a function called by this macro, so we could check for that, but
16615 # who knows whether they'll stub that too in a future libc.) So,
16616 # we'll just look for -pthreads and -lpthread first:
16617
16618 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
16619 ;;
16620esac
16621
16622if test x"$acx_pthread_ok" = xno; then
16623for flag in $acx_pthread_flags; do
16624
16625 case $flag in
16626 none)
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
16628$as_echo_n "checking whether pthreads work without any flags... " >&6; }
16629 ;;
16630
16631 -*)
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
16633$as_echo_n "checking whether pthreads work with $flag... " >&6; }
16634 PTHREAD_CFLAGS="$flag"
16635 ;;
16636
16637 pthread-config)
16638 # Extract the first word of "pthread-config", so it can be a program name with args.
16639set dummy pthread-config; ac_word=$2
16640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16641$as_echo_n "checking for $ac_word... " >&6; }
16642if ${ac_cv_prog_acx_pthread_config+:} false; then :
16643 $as_echo_n "(cached) " >&6
16644else
16645 if test -n "$acx_pthread_config"; then
16646 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
16647else
16648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16649for as_dir in $PATH
16650do
16651 IFS=$as_save_IFS
16652 test -z "$as_dir" && as_dir=.
16653 for ac_exec_ext in '' $ac_executable_extensions; do
16654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16655 ac_cv_prog_acx_pthread_config="yes"
16656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16657 break 2
16658 fi
16659done
16660 done
16661IFS=$as_save_IFS
16662
16663 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
16664fi
16665fi
16666acx_pthread_config=$ac_cv_prog_acx_pthread_config
16667if test -n "$acx_pthread_config"; then
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
16669$as_echo "$acx_pthread_config" >&6; }
16670else
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16672$as_echo "no" >&6; }
16673fi
16674
16675
16676 if test x"$acx_pthread_config" = xno; then continue; fi
16677 PTHREAD_CFLAGS="`pthread-config --cflags`"
16678 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
16679 ;;
16680
16681 *)
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
16683$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
16684 PTHREAD_LIBS="-l$flag"
16685 ;;
16686 esac
16687
16688 save_LIBS="$LIBS"
16689 save_CFLAGS="$CFLAGS"
16690 LIBS="$PTHREAD_LIBS $LIBS"
16691 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
16692
16693 # Check for various functions. We must include pthread.h,
16694 # since some functions may be macros. (On the Sequent, we
16695 # need a special flag -Kthread to make this header compile.)
16696 # We check for pthread_join because it is in -lpthread on IRIX
16697 # while pthread_create is in libc. We check for pthread_attr_init
16698 # due to DEC craziness with -lpthreads. We check for
16699 # pthread_cleanup_push because it is one of the few pthread
16700 # functions on Solaris that doesn't have a non-functional libc stub.
16701 # We try pthread_create on general principles.
16702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16703/* end confdefs.h. */
16704#include <pthread.h>
16705int
16706main ()
16707{
16708pthread_t th; pthread_join(th, 0);
16709 pthread_attr_init(0); pthread_cleanup_push(0, 0);
16710 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
16711 ;
16712 return 0;
16713}
16714_ACEOF
16715if ac_fn_c_try_link "$LINENO"; then :
16716 acx_pthread_ok=yes
16717fi
16718rm -f core conftest.err conftest.$ac_objext \
16719 conftest$ac_exeext conftest.$ac_ext
16720
16721 LIBS="$save_LIBS"
16722 CFLAGS="$save_CFLAGS"
16723
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
16725$as_echo "$acx_pthread_ok" >&6; }
16726 if test "x$acx_pthread_ok" = xyes; then
16727 break;
16728 fi
16729
16730 PTHREAD_LIBS=""
16731 PTHREAD_CFLAGS=""
16732done
16733fi
16734
16735# Various other checks:
16736if test "x$acx_pthread_ok" = xyes; then
16737 save_LIBS="$LIBS"
16738 LIBS="$PTHREAD_LIBS $LIBS"
16739 save_CFLAGS="$CFLAGS"
16740 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
16741
16742 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
16744$as_echo_n "checking for joinable pthread attribute... " >&6; }
16745 attr_name=unknown
16746 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
16747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16748/* end confdefs.h. */
16749#include <pthread.h>
16750int
16751main ()
16752{
16753int attr=$attr; return attr;
16754 ;
16755 return 0;
16756}
16757_ACEOF
16758if ac_fn_c_try_link "$LINENO"; then :
16759 attr_name=$attr; break
16760fi
16761rm -f core conftest.err conftest.$ac_objext \
16762 conftest$ac_exeext conftest.$ac_ext
16763 done
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
16765$as_echo "$attr_name" >&6; }
16766 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
16767
16768cat >>confdefs.h <<_ACEOF
16769#define PTHREAD_CREATE_JOINABLE $attr_name
16770_ACEOF
16771
16772 fi
16773
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
16775$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
16776 flag=no
16777 case "${host_cpu}-${host_os}" in
16778 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
16779 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
16780 esac
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
16782$as_echo "${flag}" >&6; }
16783 if test "x$flag" != xno; then
16784 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
16785 fi
16786
16787 LIBS="$save_LIBS"
16788 CFLAGS="$save_CFLAGS"
16789
16790 # More AIX lossage: must compile with xlc_r or cc_r
16791 if test x"$GCC" != xyes; then
16792 for ac_prog in xlc_r cc_r
16793do
16794 # Extract the first word of "$ac_prog", so it can be a program name with args.
16795set dummy $ac_prog; ac_word=$2
16796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16797$as_echo_n "checking for $ac_word... " >&6; }
16798if ${ac_cv_prog_PTHREAD_CC+:} false; then :
16799 $as_echo_n "(cached) " >&6
16800else
16801 if test -n "$PTHREAD_CC"; then
16802 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
16803else
16804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16805for as_dir in $PATH
16806do
16807 IFS=$as_save_IFS
16808 test -z "$as_dir" && as_dir=.
16809 for ac_exec_ext in '' $ac_executable_extensions; do
16810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16811 ac_cv_prog_PTHREAD_CC="$ac_prog"
16812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16813 break 2
16814 fi
16815done
16816 done
16817IFS=$as_save_IFS
16818
16819fi
16820fi
16821PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
16822if test -n "$PTHREAD_CC"; then
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
16824$as_echo "$PTHREAD_CC" >&6; }
16825else
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16827$as_echo "no" >&6; }
16828fi
16829
16830
16831 test -n "$PTHREAD_CC" && break
16832done
16833test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
16834
16835 else
16836 PTHREAD_CC=$CC
16837 fi
16838else
16839 PTHREAD_CC="$CC"
16840fi
16841
16842
16843
16844
16845
16846# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
16847if test x"$acx_pthread_ok" = xyes; then
16848
16849$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
16850
16851 :
16852else
16853 acx_pthread_ok=no
16854
16855fi
16856ac_ext=cpp
16857ac_cpp='$CXXCPP $CPPFLAGS'
16858ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16859ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16860ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16861
16862
16863if test x"$acx_pthread_ok" = xyes; then
16864
16865$as_echo "#define HAVE_PTHREAD_H 1" >>confdefs.h
16866
16867 if test x"$acx_pthread_ok" = xyes; then
16868 HAVE_PTHREAD_TRUE=
16869 HAVE_PTHREAD_FALSE='#'
16870else
16871 HAVE_PTHREAD_TRUE='#'
16872 HAVE_PTHREAD_FALSE=
16873fi
16874
16875fi
16876
16877# Doxygen Documentation
16878
16879# Extract the first word of "doxygen", so it can be a program name with args.
16880set dummy doxygen; ac_word=$2
16881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16882$as_echo_n "checking for $ac_word... " >&6; }
16883if ${ac_cv_path_DOXYGEN+:} false; then :
16884 $as_echo_n "(cached) " >&6
16885else
16886 case $DOXYGEN in
16887 [\\/]* | ?:[\\/]*)
16888 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
16889 ;;
16890 *)
16891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16892for as_dir in $PATH
16893do
16894 IFS=$as_save_IFS
16895 test -z "$as_dir" && as_dir=.
16896 for ac_exec_ext in '' $ac_executable_extensions; do
16897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16898 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
16899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16900 break 2
16901 fi
16902done
16903 done
16904IFS=$as_save_IFS
16905
16906 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="no"
16907 ;;
16908esac
16909fi
16910DOXYGEN=$ac_cv_path_DOXYGEN
16911if test -n "$DOXYGEN"; then
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
16913$as_echo "$DOXYGEN" >&6; }
16914else
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16916$as_echo "no" >&6; }
16917fi
16918
16919
16920
16921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Doxygen documentation" >&5
16922$as_echo_n "checking whether to build Doxygen documentation... " >&6; }
16923
16924if test "$DOXYGEN" = "no" ; then
16925 have_doxygen=no
16926else
16927 have_doxygen=yes
16928fi
16929
16930if test "$enable_doxygen_docs" = "auto" ; then
16931 enable_doxygen_docs=no
16932
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16934$as_echo "no" >&6; }
16935fi
16936
16937if test "$enable_doxygen_docs" = "yes" ; then
16938 if test "$have_doxygen" = "no"; then
16939 as_fn_error $? "Building Doxygen docs explicitly required, but Doxygen not found" "$LINENO" 5
16940 fi
16941
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16943$as_echo "yes" >&6; }
16944fi
16945
16946 if test "$enable_doxygen_docs" = "yes"; then
16947 DBUS_DOXYGEN_DOCS_ENABLED_TRUE=
16948 DBUS_DOXYGEN_DOCS_ENABLED_FALSE='#'
16949else
16950 DBUS_DOXYGEN_DOCS_ENABLED_TRUE='#'
16951 DBUS_DOXYGEN_DOCS_ENABLED_FALSE=
16952fi
16953
16954
16955# For the tools/, we need libdbus-c++ for the "build" architecture as well
16956
16957 if test "$cross_compiling" = "yes"; then
16958 CROSS_COMPILING_TRUE=
16959 CROSS_COMPILING_FALSE='#'
16960else
16961 CROSS_COMPILING_TRUE='#'
16962 CROSS_COMPILING_FALSE=
16963fi
16964
16965
16966
16967# Check whether --with-build-libdbus-cxx was given.
16968if test "${with_build_libdbus_cxx+set}" = set; then :
16969 withval=$with_build_libdbus_cxx; BUILD_LIBDBUS_CXX_DIR=${withval}
16970else
16971 BUILD_LIBDBUS_CXX_DIR="\$(top_builddir)"
16972
16973fi
16974
16975
16976
16977# Save processed files
16978
16979ac_config_files="$ac_config_files Makefile src/Makefile src/integration/Makefile src/integration/ecore/Makefile src/integration/glib/Makefile tools/Makefile test/Makefile test/generator/Makefile test/functional/Makefile test/functional/Test1/Makefile data/Makefile doc/Makefile doc/Doxyfile examples/Makefile examples/properties/Makefile examples/echo/Makefile examples/ecore/Makefile examples/hal/Makefile examples/glib/Makefile examples/echo_ecore/Makefile dbus-c++-1.pc dbus-c++-1-uninstalled.pc dbus-c++-ecore-1.pc dbus-c++-ecore-1-uninstalled.pc dbus-c++-glib-1.pc dbus-c++-glib-1-uninstalled.pc libdbus-c++.spec"
16980
16981cat >confcache <<\_ACEOF
16982# This file is a shell script that caches the results of configure
16983# tests run on this system so they can be shared between configure
16984# scripts and configure runs, see configure's option --config-cache.
16985# It is not useful on other systems. If it contains results you don't
16986# want to keep, you may remove or edit it.
16987#
16988# config.status only pays attention to the cache file if you give it
16989# the --recheck option to rerun configure.
16990#
16991# `ac_cv_env_foo' variables (set or unset) will be overridden when
16992# loading this file, other *unset* `ac_cv_foo' will be assigned the
16993# following values.
16994
16995_ACEOF
16996
16997# The following way of writing the cache mishandles newlines in values,
16998# but we know of no workaround that is simple, portable, and efficient.
16999# So, we kill variables containing newlines.
17000# Ultrix sh set writes to stderr and can't be redirected directly,
17001# and sets the high bit in the cache file unless we assign to the vars.
17002(
17003 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17004 eval ac_val=\$$ac_var
17005 case $ac_val in #(
17006 *${as_nl}*)
17007 case $ac_var in #(
17008 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17009$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17010 esac
17011 case $ac_var in #(
17012 _ | IFS | as_nl) ;; #(
17013 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17014 *) { eval $ac_var=; unset $ac_var;} ;;
17015 esac ;;
17016 esac
17017 done
17018
17019 (set) 2>&1 |
17020 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17021 *${as_nl}ac_space=\ *)
17022 # `set' does not quote correctly, so add quotes: double-quote
17023 # substitution turns \\\\ into \\, and sed turns \\ into \.
17024 sed -n \
17025 "s/'/'\\\\''/g;
17026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17027 ;; #(
17028 *)
17029 # `set' quotes correctly as required by POSIX, so do not add quotes.
17030 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17031 ;;
17032 esac |
17033 sort
17034) |
17035 sed '
17036 /^ac_cv_env_/b end
17037 t clear
17038 :clear
17039 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17040 t end
17041 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17042 :end' >>confcache
17043if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17044 if test -w "$cache_file"; then
17045 if test "x$cache_file" != "x/dev/null"; then
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17047$as_echo "$as_me: updating cache $cache_file" >&6;}
17048 if test ! -f "$cache_file" || test -h "$cache_file"; then
17049 cat confcache >"$cache_file"
17050 else
17051 case $cache_file in #(
17052 */* | ?:*)
17053 mv -f confcache "$cache_file"$$ &&
17054 mv -f "$cache_file"$$ "$cache_file" ;; #(
17055 *)
17056 mv -f confcache "$cache_file" ;;
17057 esac
17058 fi
17059 fi
17060 else
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17062$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17063 fi
17064fi
17065rm -f confcache
17066
17067test "x$prefix" = xNONE && prefix=$ac_default_prefix
17068# Let make expand exec_prefix.
17069test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17070
17071DEFS=-DHAVE_CONFIG_H
17072
17073ac_libobjs=
17074ac_ltlibobjs=
17075U=
17076for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17077 # 1. Remove the extension, and $U if already installed.
17078 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17079 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17080 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17081 # will be set to the directory where LIBOBJS objects are built.
17082 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17083 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17084done
17085LIBOBJS=$ac_libobjs
17086
17087LTLIBOBJS=$ac_ltlibobjs
17088
17089
17090 if test -n "$EXEEXT"; then
17091 am__EXEEXT_TRUE=
17092 am__EXEEXT_FALSE='#'
17093else
17094 am__EXEEXT_TRUE='#'
17095 am__EXEEXT_FALSE=
17096fi
17097
17098if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17099 as_fn_error $? "conditional \"AMDEP\" was never defined.
17100Usually this means the macro was only invoked conditionally." "$LINENO" 5
17101fi
17102if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17103 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17104Usually this means the macro was only invoked conditionally." "$LINENO" 5
17105fi
17106if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17107 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17108Usually this means the macro was only invoked conditionally." "$LINENO" 5
17109fi
17110if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17111 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17112Usually this means the macro was only invoked conditionally." "$LINENO" 5
17113fi
17114if test -z "${ENABLE_GLIB_TRUE}" && test -z "${ENABLE_GLIB_FALSE}"; then
17115 as_fn_error $? "conditional \"ENABLE_GLIB\" was never defined.
17116Usually this means the macro was only invoked conditionally." "$LINENO" 5
17117fi
17118if test -z "${HAVE_GTKMM_TRUE}" && test -z "${HAVE_GTKMM_FALSE}"; then
17119 as_fn_error $? "conditional \"HAVE_GTKMM\" was never defined.
17120Usually this means the macro was only invoked conditionally." "$LINENO" 5
17121fi
17122if test -z "${HAVE_GTKMM_TRUE}" && test -z "${HAVE_GTKMM_FALSE}"; then
17123 as_fn_error $? "conditional \"HAVE_GTKMM\" was never defined.
17124Usually this means the macro was only invoked conditionally." "$LINENO" 5
17125fi
17126if test -z "${ENABLE_GLIB_TRUE}" && test -z "${ENABLE_GLIB_FALSE}"; then
17127 as_fn_error $? "conditional \"ENABLE_GLIB\" was never defined.
17128Usually this means the macro was only invoked conditionally." "$LINENO" 5
17129fi
17130if test -z "${HAVE_GTKMM_TRUE}" && test -z "${HAVE_GTKMM_FALSE}"; then
17131 as_fn_error $? "conditional \"HAVE_GTKMM\" was never defined.
17132Usually this means the macro was only invoked conditionally." "$LINENO" 5
17133fi
17134if test -z "${ENABLE_ECORE_TRUE}" && test -z "${ENABLE_ECORE_FALSE}"; then
17135 as_fn_error $? "conditional \"ENABLE_ECORE\" was never defined.
17136Usually this means the macro was only invoked conditionally." "$LINENO" 5
17137fi
17138if test -z "${ENABLE_ECORE_TRUE}" && test -z "${ENABLE_ECORE_FALSE}"; then
17139 as_fn_error $? "conditional \"ENABLE_ECORE\" was never defined.
17140Usually this means the macro was only invoked conditionally." "$LINENO" 5
17141fi
17142if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
17143 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
17144Usually this means the macro was only invoked conditionally." "$LINENO" 5
17145fi
17146if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
17147 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
17148Usually this means the macro was only invoked conditionally." "$LINENO" 5
17149fi
17150if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
17151 as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
17152Usually this means the macro was only invoked conditionally." "$LINENO" 5
17153fi
17154if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
17155 as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
17156Usually this means the macro was only invoked conditionally." "$LINENO" 5
17157fi
17158if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
17159 as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
17160Usually this means the macro was only invoked conditionally." "$LINENO" 5
17161fi
17162if test -z "${DBUS_DOXYGEN_DOCS_ENABLED_TRUE}" && test -z "${DBUS_DOXYGEN_DOCS_ENABLED_FALSE}"; then
17163 as_fn_error $? "conditional \"DBUS_DOXYGEN_DOCS_ENABLED\" was never defined.
17164Usually this means the macro was only invoked conditionally." "$LINENO" 5
17165fi
17166if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
17167 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
17168Usually this means the macro was only invoked conditionally." "$LINENO" 5
17169fi
17170
17171: "${CONFIG_STATUS=./config.status}"
17172ac_write_fail=0
17173ac_clean_files_save=$ac_clean_files
17174ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17175{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17176$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17177as_write_fail=0
17178cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17179#! $SHELL
17180# Generated by $as_me.
17181# Run this file to recreate the current configuration.
17182# Compiler output produced by configure, useful for debugging
17183# configure, is in config.log if it exists.
17184
17185debug=false
17186ac_cs_recheck=false
17187ac_cs_silent=false
17188
17189SHELL=\${CONFIG_SHELL-$SHELL}
17190export SHELL
17191_ASEOF
17192cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17193## -------------------- ##
17194## M4sh Initialization. ##
17195## -------------------- ##
17196
17197# Be more Bourne compatible
17198DUALCASE=1; export DUALCASE # for MKS sh
17199if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17200 emulate sh
17201 NULLCMD=:
17202 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17203 # is contrary to our usage. Disable this feature.
17204 alias -g '${1+"$@"}'='"$@"'
17205 setopt NO_GLOB_SUBST
17206else
17207 case `(set -o) 2>/dev/null` in #(
17208 *posix*) :
17209 set -o posix ;; #(
17210 *) :
17211 ;;
17212esac
17213fi
17214
17215
17216as_nl='
17217'
17218export as_nl
17219# Printing a long string crashes Solaris 7 /usr/bin/printf.
17220as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17221as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17222as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17223# Prefer a ksh shell builtin over an external printf program on Solaris,
17224# but without wasting forks for bash or zsh.
17225if test -z "$BASH_VERSION$ZSH_VERSION" \
17226 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17227 as_echo='print -r --'
17228 as_echo_n='print -rn --'
17229elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17230 as_echo='printf %s\n'
17231 as_echo_n='printf %s'
17232else
17233 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17234 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17235 as_echo_n='/usr/ucb/echo -n'
17236 else
17237 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17238 as_echo_n_body='eval
17239 arg=$1;
17240 case $arg in #(
17241 *"$as_nl"*)
17242 expr "X$arg" : "X\\(.*\\)$as_nl";
17243 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17244 esac;
17245 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17246 '
17247 export as_echo_n_body
17248 as_echo_n='sh -c $as_echo_n_body as_echo'
17249 fi
17250 export as_echo_body
17251 as_echo='sh -c $as_echo_body as_echo'
17252fi
17253
17254# The user is always right.
17255if test "${PATH_SEPARATOR+set}" != set; then
17256 PATH_SEPARATOR=:
17257 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17258 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17259 PATH_SEPARATOR=';'
17260 }
17261fi
17262
17263
17264# IFS
17265# We need space, tab and new line, in precisely that order. Quoting is
17266# there to prevent editors from complaining about space-tab.
17267# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17268# splitting by setting IFS to empty value.)
17269IFS=" "" $as_nl"
17270
17271# Find who we are. Look in the path if we contain no directory separator.
17272as_myself=
17273case $0 in #((
17274 *[\\/]* ) as_myself=$0 ;;
17275 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17276for as_dir in $PATH
17277do
17278 IFS=$as_save_IFS
17279 test -z "$as_dir" && as_dir=.
17280 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17281 done
17282IFS=$as_save_IFS
17283
17284 ;;
17285esac
17286# We did not find ourselves, most probably we were run as `sh COMMAND'
17287# in which case we are not to be found in the path.
17288if test "x$as_myself" = x; then
17289 as_myself=$0
17290fi
17291if test ! -f "$as_myself"; then
17292 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17293 exit 1
17294fi
17295
17296# Unset variables that we do not need and which cause bugs (e.g. in
17297# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17298# suppresses any "Segmentation fault" message there. '((' could
17299# trigger a bug in pdksh 5.2.14.
17300for as_var in BASH_ENV ENV MAIL MAILPATH
17301do eval test x\${$as_var+set} = xset \
17302 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17303done
17304PS1='$ '
17305PS2='> '
17306PS4='+ '
17307
17308# NLS nuisances.
17309LC_ALL=C
17310export LC_ALL
17311LANGUAGE=C
17312export LANGUAGE
17313
17314# CDPATH.
17315(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17316
17317
17318# as_fn_error STATUS ERROR [LINENO LOG_FD]
17319# ----------------------------------------
17320# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17321# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17322# script with STATUS, using 1 if that was 0.
17323as_fn_error ()
17324{
17325 as_status=$1; test $as_status -eq 0 && as_status=1
17326 if test "$4"; then
17327 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17328 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17329 fi
17330 $as_echo "$as_me: error: $2" >&2
17331 as_fn_exit $as_status
17332} # as_fn_error
17333
17334
17335# as_fn_set_status STATUS
17336# -----------------------
17337# Set $? to STATUS, without forking.
17338as_fn_set_status ()
17339{
17340 return $1
17341} # as_fn_set_status
17342
17343# as_fn_exit STATUS
17344# -----------------
17345# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17346as_fn_exit ()
17347{
17348 set +e
17349 as_fn_set_status $1
17350 exit $1
17351} # as_fn_exit
17352
17353# as_fn_unset VAR
17354# ---------------
17355# Portably unset VAR.
17356as_fn_unset ()
17357{
17358 { eval $1=; unset $1;}
17359}
17360as_unset=as_fn_unset
17361# as_fn_append VAR VALUE
17362# ----------------------
17363# Append the text in VALUE to the end of the definition contained in VAR. Take
17364# advantage of any shell optimizations that allow amortized linear growth over
17365# repeated appends, instead of the typical quadratic growth present in naive
17366# implementations.
17367if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17368 eval 'as_fn_append ()
17369 {
17370 eval $1+=\$2
17371 }'
17372else
17373 as_fn_append ()
17374 {
17375 eval $1=\$$1\$2
17376 }
17377fi # as_fn_append
17378
17379# as_fn_arith ARG...
17380# ------------------
17381# Perform arithmetic evaluation on the ARGs, and store the result in the
17382# global $as_val. Take advantage of shells that can avoid forks. The arguments
17383# must be portable across $(()) and expr.
17384if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17385 eval 'as_fn_arith ()
17386 {
17387 as_val=$(( $* ))
17388 }'
17389else
17390 as_fn_arith ()
17391 {
17392 as_val=`expr "$@" || test $? -eq 1`
17393 }
17394fi # as_fn_arith
17395
17396
17397if expr a : '\(a\)' >/dev/null 2>&1 &&
17398 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17399 as_expr=expr
17400else
17401 as_expr=false
17402fi
17403
17404if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17405 as_basename=basename
17406else
17407 as_basename=false
17408fi
17409
17410if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17411 as_dirname=dirname
17412else
17413 as_dirname=false
17414fi
17415
17416as_me=`$as_basename -- "$0" ||
17417$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17418 X"$0" : 'X\(//\)$' \| \
17419 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17420$as_echo X/"$0" |
17421 sed '/^.*\/\([^/][^/]*\)\/*$/{
17422 s//\1/
17423 q
17424 }
17425 /^X\/\(\/\/\)$/{
17426 s//\1/
17427 q
17428 }
17429 /^X\/\(\/\).*/{
17430 s//\1/
17431 q
17432 }
17433 s/.*/./; q'`
17434
17435# Avoid depending upon Character Ranges.
17436as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17437as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17438as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17439as_cr_digits='0123456789'
17440as_cr_alnum=$as_cr_Letters$as_cr_digits
17441
17442ECHO_C= ECHO_N= ECHO_T=
17443case `echo -n x` in #(((((
17444-n*)
17445 case `echo 'xy\c'` in
17446 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17447 xy) ECHO_C='\c';;
17448 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17449 ECHO_T=' ';;
17450 esac;;
17451*)
17452 ECHO_N='-n';;
17453esac
17454
17455rm -f conf$$ conf$$.exe conf$$.file
17456if test -d conf$$.dir; then
17457 rm -f conf$$.dir/conf$$.file
17458else
17459 rm -f conf$$.dir
17460 mkdir conf$$.dir 2>/dev/null
17461fi
17462if (echo >conf$$.file) 2>/dev/null; then
17463 if ln -s conf$$.file conf$$ 2>/dev/null; then
17464 as_ln_s='ln -s'
17465 # ... but there are two gotchas:
17466 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17467 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17468 # In both cases, we have to default to `cp -p'.
17469 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17470 as_ln_s='cp -p'
17471 elif ln conf$$.file conf$$ 2>/dev/null; then
17472 as_ln_s=ln
17473 else
17474 as_ln_s='cp -p'
17475 fi
17476else
17477 as_ln_s='cp -p'
17478fi
17479rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17480rmdir conf$$.dir 2>/dev/null
17481
17482
17483# as_fn_mkdir_p
17484# -------------
17485# Create "$as_dir" as a directory, including parents if necessary.
17486as_fn_mkdir_p ()
17487{
17488
17489 case $as_dir in #(
17490 -*) as_dir=./$as_dir;;
17491 esac
17492 test -d "$as_dir" || eval $as_mkdir_p || {
17493 as_dirs=
17494 while :; do
17495 case $as_dir in #(
17496 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17497 *) as_qdir=$as_dir;;
17498 esac
17499 as_dirs="'$as_qdir' $as_dirs"
17500 as_dir=`$as_dirname -- "$as_dir" ||
17501$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17502 X"$as_dir" : 'X\(//\)[^/]' \| \
17503 X"$as_dir" : 'X\(//\)$' \| \
17504 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17505$as_echo X"$as_dir" |
17506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17507 s//\1/
17508 q
17509 }
17510 /^X\(\/\/\)[^/].*/{
17511 s//\1/
17512 q
17513 }
17514 /^X\(\/\/\)$/{
17515 s//\1/
17516 q
17517 }
17518 /^X\(\/\).*/{
17519 s//\1/
17520 q
17521 }
17522 s/.*/./; q'`
17523 test -d "$as_dir" && break
17524 done
17525 test -z "$as_dirs" || eval "mkdir $as_dirs"
17526 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17527
17528
17529} # as_fn_mkdir_p
17530if mkdir -p . 2>/dev/null; then
17531 as_mkdir_p='mkdir -p "$as_dir"'
17532else
17533 test -d ./-p && rmdir ./-p
17534 as_mkdir_p=false
17535fi
17536
17537if test -x / >/dev/null 2>&1; then
17538 as_test_x='test -x'
17539else
17540 if ls -dL / >/dev/null 2>&1; then
17541 as_ls_L_option=L
17542 else
17543 as_ls_L_option=
17544 fi
17545 as_test_x='
17546 eval sh -c '\''
17547 if test -d "$1"; then
17548 test -d "$1/.";
17549 else
17550 case $1 in #(
17551 -*)set "./$1";;
17552 esac;
17553 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17554 ???[sx]*):;;*)false;;esac;fi
17555 '\'' sh
17556 '
17557fi
17558as_executable_p=$as_test_x
17559
17560# Sed expression to map a string onto a valid CPP name.
17561as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17562
17563# Sed expression to map a string onto a valid variable name.
17564as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17565
17566
17567exec 6>&1
17568## ----------------------------------- ##
17569## Main body of $CONFIG_STATUS script. ##
17570## ----------------------------------- ##
17571_ASEOF
17572test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17573
17574cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17575# Save the log message, to keep $0 and so on meaningful, and to
17576# report actual input values of CONFIG_FILES etc. instead of their
17577# values after options handling.
17578ac_log="
17579This file was extended by libdbus-c++ $as_me 0.9.0, which was
17580generated by GNU Autoconf 2.68. Invocation command line was
17581
17582 CONFIG_FILES = $CONFIG_FILES
17583 CONFIG_HEADERS = $CONFIG_HEADERS
17584 CONFIG_LINKS = $CONFIG_LINKS
17585 CONFIG_COMMANDS = $CONFIG_COMMANDS
17586 $ $0 $@
17587
17588on `(hostname || uname -n) 2>/dev/null | sed 1q`
17589"
17590
17591_ACEOF
17592
17593case $ac_config_files in *"
17594"*) set x $ac_config_files; shift; ac_config_files=$*;;
17595esac
17596
17597case $ac_config_headers in *"
17598"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17599esac
17600
17601
17602cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17603# Files that config.status was made for.
17604config_files="$ac_config_files"
17605config_headers="$ac_config_headers"
17606config_commands="$ac_config_commands"
17607
17608_ACEOF
17609
17610cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17611ac_cs_usage="\
17612\`$as_me' instantiates files and other configuration actions
17613from templates according to the current configuration. Unless the files
17614and actions are specified as TAGs, all are instantiated by default.
17615
17616Usage: $0 [OPTION]... [TAG]...
17617
17618 -h, --help print this help, then exit
17619 -V, --version print version number and configuration settings, then exit
17620 --config print configuration, then exit
17621 -q, --quiet, --silent
17622 do not print progress messages
17623 -d, --debug don't remove temporary files
17624 --recheck update $as_me by reconfiguring in the same conditions
17625 --file=FILE[:TEMPLATE]
17626 instantiate the configuration file FILE
17627 --header=FILE[:TEMPLATE]
17628 instantiate the configuration header FILE
17629
17630Configuration files:
17631$config_files
17632
17633Configuration headers:
17634$config_headers
17635
17636Configuration commands:
17637$config_commands
17638
17639Report bugs to <andreas.volz@tux-style.com>."
17640
17641_ACEOF
17642cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17643ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17644ac_cs_version="\\
17645libdbus-c++ config.status 0.9.0
17646configured by $0, generated by GNU Autoconf 2.68,
17647 with options \\"\$ac_cs_config\\"
17648
17649Copyright (C) 2010 Free Software Foundation, Inc.
17650This config.status script is free software; the Free Software Foundation
17651gives unlimited permission to copy, distribute and modify it."
17652
17653ac_pwd='$ac_pwd'
17654srcdir='$srcdir'
17655INSTALL='$INSTALL'
17656MKDIR_P='$MKDIR_P'
17657AWK='$AWK'
17658test -n "\$AWK" || AWK=awk
17659_ACEOF
17660
17661cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17662# The default lists apply if the user does not specify any file.
17663ac_need_defaults=:
17664while test $# != 0
17665do
17666 case $1 in
17667 --*=?*)
17668 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17669 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17670 ac_shift=:
17671 ;;
17672 --*=)
17673 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17674 ac_optarg=
17675 ac_shift=:
17676 ;;
17677 *)
17678 ac_option=$1
17679 ac_optarg=$2
17680 ac_shift=shift
17681 ;;
17682 esac
17683
17684 case $ac_option in
17685 # Handling of the options.
17686 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17687 ac_cs_recheck=: ;;
17688 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17689 $as_echo "$ac_cs_version"; exit ;;
17690 --config | --confi | --conf | --con | --co | --c )
17691 $as_echo "$ac_cs_config"; exit ;;
17692 --debug | --debu | --deb | --de | --d | -d )
17693 debug=: ;;
17694 --file | --fil | --fi | --f )
17695 $ac_shift
17696 case $ac_optarg in
17697 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17698 '') as_fn_error $? "missing file argument" ;;
17699 esac
17700 as_fn_append CONFIG_FILES " '$ac_optarg'"
17701 ac_need_defaults=false;;
17702 --header | --heade | --head | --hea )
17703 $ac_shift
17704 case $ac_optarg in
17705 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17706 esac
17707 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17708 ac_need_defaults=false;;
17709 --he | --h)
17710 # Conflict between --help and --header
17711 as_fn_error $? "ambiguous option: \`$1'
17712Try \`$0 --help' for more information.";;
17713 --help | --hel | -h )
17714 $as_echo "$ac_cs_usage"; exit ;;
17715 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17716 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17717 ac_cs_silent=: ;;
17718
17719 # This is an error.
17720 -*) as_fn_error $? "unrecognized option: \`$1'
17721Try \`$0 --help' for more information." ;;
17722
17723 *) as_fn_append ac_config_targets " $1"
17724 ac_need_defaults=false ;;
17725
17726 esac
17727 shift
17728done
17729
17730ac_configure_extra_args=
17731
17732if $ac_cs_silent; then
17733 exec 6>/dev/null
17734 ac_configure_extra_args="$ac_configure_extra_args --silent"
17735fi
17736
17737_ACEOF
17738cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17739if \$ac_cs_recheck; then
17740 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17741 shift
17742 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17743 CONFIG_SHELL='$SHELL'
17744 export CONFIG_SHELL
17745 exec "\$@"
17746fi
17747
17748_ACEOF
17749cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17750exec 5>>config.log
17751{
17752 echo
17753 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17754## Running $as_me. ##
17755_ASBOX
17756 $as_echo "$ac_log"
17757} >&5
17758
17759_ACEOF
17760cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17761#
17762# INIT-COMMANDS
17763#
17764AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17765
17766
17767# The HP-UX ksh and POSIX shell print the target directory to stdout
17768# if CDPATH is set.
17769(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17770
17771sed_quote_subst='$sed_quote_subst'
17772double_quote_subst='$double_quote_subst'
17773delay_variable_subst='$delay_variable_subst'
17774macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17775macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17776enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17777enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17778pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17779enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17780SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17781ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17782host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17783host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17784host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17785build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17786build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17787build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17788SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17789Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17790GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17791EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17792FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17793LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17794NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17795LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17796max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17797ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17798exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17799lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17800lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17801lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17802lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17803lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17804reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17805reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17806OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17807deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17808file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17809file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17810want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17811DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17812sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17813AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17814AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17815archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17816STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17817RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17818old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17819old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17820old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17821lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17822CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17823CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17824compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17825GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17826lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17827lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17828lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17829lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17830nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17831lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17832objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17833MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17834lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17835lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17836lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17837lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17838lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17839need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17840MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17841DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17842NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17843LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17844OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17845OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17846libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17847shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17848extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17849archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17850enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17851export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17852whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17853compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17854old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17855old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17856archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17857archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17858module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17859module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17860with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17861allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17862no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17863hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17864hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17865hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17866hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17867hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17868hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17869hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17870hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17871inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17872link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17873always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17874export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17875exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17876include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17877prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17878postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17879file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17880variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17881need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17882need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17883version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17884runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17885shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17886shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17887libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17888library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17889soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17890install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17891postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17892postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17893finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17894finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17895hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17896sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17897sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17898hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17899enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17900enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17901enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17902old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17903striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17904compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17905predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17906postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17907predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17908postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17909compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17910LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17911reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17912reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17913old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17914compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17915GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17916lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17917lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17918lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17919lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17920lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17921archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17922enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17923export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17924whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17925compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17926old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17927old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17928archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17929archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17930module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17931module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17932with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17933allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17934no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17935hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17936hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17937hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17938hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17939hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17940hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17941hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17942hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17943inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17944link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17945always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17946export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17947exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17948include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17949prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17950postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17951file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17952hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17953compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17954predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17955postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17956predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17957postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17958compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17959
17960LTCC='$LTCC'
17961LTCFLAGS='$LTCFLAGS'
17962compiler='$compiler_DEFAULT'
17963
17964# A function that is used when there is no print builtin or printf.
17965func_fallback_echo ()
17966{
17967 eval 'cat <<_LTECHO_EOF
17968\$1
17969_LTECHO_EOF'
17970}
17971
17972# Quote evaled strings.
17973for var in SHELL \
17974ECHO \
17975SED \
17976GREP \
17977EGREP \
17978FGREP \
17979LD \
17980NM \
17981LN_S \
17982lt_SP2NL \
17983lt_NL2SP \
17984reload_flag \
17985OBJDUMP \
17986deplibs_check_method \
17987file_magic_cmd \
17988file_magic_glob \
17989want_nocaseglob \
17990DLLTOOL \
17991sharedlib_from_linklib_cmd \
17992AR \
17993AR_FLAGS \
17994archiver_list_spec \
17995STRIP \
17996RANLIB \
17997CC \
17998CFLAGS \
17999compiler \
18000lt_cv_sys_global_symbol_pipe \
18001lt_cv_sys_global_symbol_to_cdecl \
18002lt_cv_sys_global_symbol_to_c_name_address \
18003lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18004nm_file_list_spec \
18005lt_prog_compiler_no_builtin_flag \
18006lt_prog_compiler_pic \
18007lt_prog_compiler_wl \
18008lt_prog_compiler_static \
18009lt_cv_prog_compiler_c_o \
18010need_locks \
18011MANIFEST_TOOL \
18012DSYMUTIL \
18013NMEDIT \
18014LIPO \
18015OTOOL \
18016OTOOL64 \
18017shrext_cmds \
18018export_dynamic_flag_spec \
18019whole_archive_flag_spec \
18020compiler_needs_object \
18021with_gnu_ld \
18022allow_undefined_flag \
18023no_undefined_flag \
18024hardcode_libdir_flag_spec \
18025hardcode_libdir_flag_spec_ld \
18026hardcode_libdir_separator \
18027exclude_expsyms \
18028include_expsyms \
18029file_list_spec \
18030variables_saved_for_relink \
18031libname_spec \
18032library_names_spec \
18033soname_spec \
18034install_override_mode \
18035finish_eval \
18036old_striplib \
18037striplib \
18038compiler_lib_search_dirs \
18039predep_objects \
18040postdep_objects \
18041predeps \
18042postdeps \
18043compiler_lib_search_path \
18044LD_CXX \
18045reload_flag_CXX \
18046compiler_CXX \
18047lt_prog_compiler_no_builtin_flag_CXX \
18048lt_prog_compiler_pic_CXX \
18049lt_prog_compiler_wl_CXX \
18050lt_prog_compiler_static_CXX \
18051lt_cv_prog_compiler_c_o_CXX \
18052export_dynamic_flag_spec_CXX \
18053whole_archive_flag_spec_CXX \
18054compiler_needs_object_CXX \
18055with_gnu_ld_CXX \
18056allow_undefined_flag_CXX \
18057no_undefined_flag_CXX \
18058hardcode_libdir_flag_spec_CXX \
18059hardcode_libdir_flag_spec_ld_CXX \
18060hardcode_libdir_separator_CXX \
18061exclude_expsyms_CXX \
18062include_expsyms_CXX \
18063file_list_spec_CXX \
18064compiler_lib_search_dirs_CXX \
18065predep_objects_CXX \
18066postdep_objects_CXX \
18067predeps_CXX \
18068postdeps_CXX \
18069compiler_lib_search_path_CXX; do
18070 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18071 *[\\\\\\\`\\"\\\$]*)
18072 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18073 ;;
18074 *)
18075 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18076 ;;
18077 esac
18078done
18079
18080# Double-quote double-evaled strings.
18081for var in reload_cmds \
18082old_postinstall_cmds \
18083old_postuninstall_cmds \
18084old_archive_cmds \
18085extract_expsyms_cmds \
18086old_archive_from_new_cmds \
18087old_archive_from_expsyms_cmds \
18088archive_cmds \
18089archive_expsym_cmds \
18090module_cmds \
18091module_expsym_cmds \
18092export_symbols_cmds \
18093prelink_cmds \
18094postlink_cmds \
18095postinstall_cmds \
18096postuninstall_cmds \
18097finish_cmds \
18098sys_lib_search_path_spec \
18099sys_lib_dlsearch_path_spec \
18100reload_cmds_CXX \
18101old_archive_cmds_CXX \
18102old_archive_from_new_cmds_CXX \
18103old_archive_from_expsyms_cmds_CXX \
18104archive_cmds_CXX \
18105archive_expsym_cmds_CXX \
18106module_cmds_CXX \
18107module_expsym_cmds_CXX \
18108export_symbols_cmds_CXX \
18109prelink_cmds_CXX \
18110postlink_cmds_CXX; do
18111 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18112 *[\\\\\\\`\\"\\\$]*)
18113 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18114 ;;
18115 *)
18116 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18117 ;;
18118 esac
18119done
18120
18121ac_aux_dir='$ac_aux_dir'
18122xsi_shell='$xsi_shell'
18123lt_shell_append='$lt_shell_append'
18124
18125# See if we are running on zsh, and set the options which allow our
18126# commands through without removal of \ escapes INIT.
18127if test -n "\${ZSH_VERSION+set}" ; then
18128 setopt NO_GLOB_SUBST
18129fi
18130
18131
18132 PACKAGE='$PACKAGE'
18133 VERSION='$VERSION'
18134 TIMESTAMP='$TIMESTAMP'
18135 RM='$RM'
18136 ofile='$ofile'
18137
18138
18139
18140
18141
18142
18143_ACEOF
18144
18145cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18146
18147# Handling of arguments.
18148for ac_config_target in $ac_config_targets
18149do
18150 case $ac_config_target in
18151 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18152 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18153 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18154 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18155 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18156 "src/integration/Makefile") CONFIG_FILES="$CONFIG_FILES src/integration/Makefile" ;;
18157 "src/integration/ecore/Makefile") CONFIG_FILES="$CONFIG_FILES src/integration/ecore/Makefile" ;;
18158 "src/integration/glib/Makefile") CONFIG_FILES="$CONFIG_FILES src/integration/glib/Makefile" ;;
18159 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
18160 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
18161 "test/generator/Makefile") CONFIG_FILES="$CONFIG_FILES test/generator/Makefile" ;;
18162 "test/functional/Makefile") CONFIG_FILES="$CONFIG_FILES test/functional/Makefile" ;;
18163 "test/functional/Test1/Makefile") CONFIG_FILES="$CONFIG_FILES test/functional/Test1/Makefile" ;;
18164 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
18165 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18166 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
18167 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
18168 "examples/properties/Makefile") CONFIG_FILES="$CONFIG_FILES examples/properties/Makefile" ;;
18169 "examples/echo/Makefile") CONFIG_FILES="$CONFIG_FILES examples/echo/Makefile" ;;
18170 "examples/ecore/Makefile") CONFIG_FILES="$CONFIG_FILES examples/ecore/Makefile" ;;
18171 "examples/hal/Makefile") CONFIG_FILES="$CONFIG_FILES examples/hal/Makefile" ;;
18172 "examples/glib/Makefile") CONFIG_FILES="$CONFIG_FILES examples/glib/Makefile" ;;
18173 "examples/echo_ecore/Makefile") CONFIG_FILES="$CONFIG_FILES examples/echo_ecore/Makefile" ;;
18174 "dbus-c++-1.pc") CONFIG_FILES="$CONFIG_FILES dbus-c++-1.pc" ;;
18175 "dbus-c++-1-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES dbus-c++-1-uninstalled.pc" ;;
18176 "dbus-c++-ecore-1.pc") CONFIG_FILES="$CONFIG_FILES dbus-c++-ecore-1.pc" ;;
18177 "dbus-c++-ecore-1-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES dbus-c++-ecore-1-uninstalled.pc" ;;
18178 "dbus-c++-glib-1.pc") CONFIG_FILES="$CONFIG_FILES dbus-c++-glib-1.pc" ;;
18179 "dbus-c++-glib-1-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES dbus-c++-glib-1-uninstalled.pc" ;;
18180 "libdbus-c++.spec") CONFIG_FILES="$CONFIG_FILES libdbus-c++.spec" ;;
18181
18182 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18183 esac
18184done
18185
18186
18187# If the user did not use the arguments to specify the items to instantiate,
18188# then the envvar interface is used. Set only those that are not.
18189# We use the long form for the default assignment because of an extremely
18190# bizarre bug on SunOS 4.1.3.
18191if $ac_need_defaults; then
18192 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18193 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18194 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18195fi
18196
18197# Have a temporary directory for convenience. Make it in the build tree
18198# simply because there is no reason against having it here, and in addition,
18199# creating and moving files from /tmp can sometimes cause problems.
18200# Hook for its removal unless debugging.
18201# Note that there is a small window in which the directory will not be cleaned:
18202# after its creation but before its name has been assigned to `$tmp'.
18203$debug ||
18204{
18205 tmp= ac_tmp=
18206 trap 'exit_status=$?
18207 : "${ac_tmp:=$tmp}"
18208 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18209' 0
18210 trap 'as_fn_exit 1' 1 2 13 15
18211}
18212# Create a (secure) tmp directory for tmp files.
18213
18214{
18215 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18216 test -d "$tmp"
18217} ||
18218{
18219 tmp=./conf$$-$RANDOM
18220 (umask 077 && mkdir "$tmp")
18221} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18222ac_tmp=$tmp
18223
18224# Set up the scripts for CONFIG_FILES section.
18225# No need to generate them if there are no CONFIG_FILES.
18226# This happens for instance with `./config.status config.h'.
18227if test -n "$CONFIG_FILES"; then
18228
18229
18230ac_cr=`echo X | tr X '\015'`
18231# On cygwin, bash can eat \r inside `` if the user requested igncr.
18232# But we know of no other shell where ac_cr would be empty at this
18233# point, so we can use a bashism as a fallback.
18234if test "x$ac_cr" = x; then
18235 eval ac_cr=\$\'\\r\'
18236fi
18237ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18238if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18239 ac_cs_awk_cr='\\r'
18240else
18241 ac_cs_awk_cr=$ac_cr
18242fi
18243
18244echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18245_ACEOF
18246
18247
18248{
18249 echo "cat >conf$$subs.awk <<_ACEOF" &&
18250 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18251 echo "_ACEOF"
18252} >conf$$subs.sh ||
18253 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18254ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18255ac_delim='%!_!# '
18256for ac_last_try in false false false false false :; do
18257 . ./conf$$subs.sh ||
18258 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18259
18260 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18261 if test $ac_delim_n = $ac_delim_num; then
18262 break
18263 elif $ac_last_try; then
18264 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18265 else
18266 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18267 fi
18268done
18269rm -f conf$$subs.sh
18270
18271cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18272cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18273_ACEOF
18274sed -n '
18275h
18276s/^/S["/; s/!.*/"]=/
18277p
18278g
18279s/^[^!]*!//
18280:repl
18281t repl
18282s/'"$ac_delim"'$//
18283t delim
18284:nl
18285h
18286s/\(.\{148\}\)..*/\1/
18287t more1
18288s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18289p
18290n
18291b repl
18292:more1
18293s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18294p
18295g
18296s/.\{148\}//
18297t nl
18298:delim
18299h
18300s/\(.\{148\}\)..*/\1/
18301t more2
18302s/["\\]/\\&/g; s/^/"/; s/$/"/
18303p
18304b
18305:more2
18306s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18307p
18308g
18309s/.\{148\}//
18310t delim
18311' <conf$$subs.awk | sed '
18312/^[^""]/{
18313 N
18314 s/\n//
18315}
18316' >>$CONFIG_STATUS || ac_write_fail=1
18317rm -f conf$$subs.awk
18318cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18319_ACAWK
18320cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18321 for (key in S) S_is_set[key] = 1
18322 FS = ""
18323
18324}
18325{
18326 line = $ 0
18327 nfields = split(line, field, "@")
18328 substed = 0
18329 len = length(field[1])
18330 for (i = 2; i < nfields; i++) {
18331 key = field[i]
18332 keylen = length(key)
18333 if (S_is_set[key]) {
18334 value = S[key]
18335 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18336 len += length(value) + length(field[++i])
18337 substed = 1
18338 } else
18339 len += 1 + keylen
18340 }
18341
18342 print line
18343}
18344
18345_ACAWK
18346_ACEOF
18347cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18348if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18349 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18350else
18351 cat
18352fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18353 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18354_ACEOF
18355
18356# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18357# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18358# trailing colons and then remove the whole line if VPATH becomes empty
18359# (actually we leave an empty line to preserve line numbers).
18360if test "x$srcdir" = x.; then
18361 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18362h
18363s///
18364s/^/:/
18365s/[ ]*$/:/
18366s/:\$(srcdir):/:/g
18367s/:\${srcdir}:/:/g
18368s/:@srcdir@:/:/g
18369s/^:*//
18370s/:*$//
18371x
18372s/\(=[ ]*\).*/\1/
18373G
18374s/\n//
18375s/^[^=]*=[ ]*$//
18376}'
18377fi
18378
18379cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18380fi # test -n "$CONFIG_FILES"
18381
18382# Set up the scripts for CONFIG_HEADERS section.
18383# No need to generate them if there are no CONFIG_HEADERS.
18384# This happens for instance with `./config.status Makefile'.
18385if test -n "$CONFIG_HEADERS"; then
18386cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18387BEGIN {
18388_ACEOF
18389
18390# Transform confdefs.h into an awk script `defines.awk', embedded as
18391# here-document in config.status, that substitutes the proper values into
18392# config.h.in to produce config.h.
18393
18394# Create a delimiter string that does not exist in confdefs.h, to ease
18395# handling of long lines.
18396ac_delim='%!_!# '
18397for ac_last_try in false false :; do
18398 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18399 if test -z "$ac_tt"; then
18400 break
18401 elif $ac_last_try; then
18402 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18403 else
18404 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18405 fi
18406done
18407
18408# For the awk script, D is an array of macro values keyed by name,
18409# likewise P contains macro parameters if any. Preserve backslash
18410# newline sequences.
18411
18412ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18413sed -n '
18414s/.\{148\}/&'"$ac_delim"'/g
18415t rset
18416:rset
18417s/^[ ]*#[ ]*define[ ][ ]*/ /
18418t def
18419d
18420:def
18421s/\\$//
18422t bsnl
18423s/["\\]/\\&/g
18424s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18425D["\1"]=" \3"/p
18426s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18427d
18428:bsnl
18429s/["\\]/\\&/g
18430s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18431D["\1"]=" \3\\\\\\n"\\/p
18432t cont
18433s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18434t cont
18435d
18436:cont
18437n
18438s/.\{148\}/&'"$ac_delim"'/g
18439t clear
18440:clear
18441s/\\$//
18442t bsnlc
18443s/["\\]/\\&/g; s/^/"/; s/$/"/p
18444d
18445:bsnlc
18446s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18447b cont
18448' <confdefs.h | sed '
18449s/'"$ac_delim"'/"\\\
18450"/g' >>$CONFIG_STATUS || ac_write_fail=1
18451
18452cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18453 for (key in D) D_is_set[key] = 1
18454 FS = ""
18455}
18456/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18457 line = \$ 0
18458 split(line, arg, " ")
18459 if (arg[1] == "#") {
18460 defundef = arg[2]
18461 mac1 = arg[3]
18462 } else {
18463 defundef = substr(arg[1], 2)
18464 mac1 = arg[2]
18465 }
18466 split(mac1, mac2, "(") #)
18467 macro = mac2[1]
18468 prefix = substr(line, 1, index(line, defundef) - 1)
18469 if (D_is_set[macro]) {
18470 # Preserve the white space surrounding the "#".
18471 print prefix "define", macro P[macro] D[macro]
18472 next
18473 } else {
18474 # Replace #undef with comments. This is necessary, for example,
18475 # in the case of _POSIX_SOURCE, which is predefined and required
18476 # on some systems where configure will not decide to define it.
18477 if (defundef == "undef") {
18478 print "/*", prefix defundef, macro, "*/"
18479 next
18480 }
18481 }
18482}
18483{ print }
18484_ACAWK
18485_ACEOF
18486cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18487 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18488fi # test -n "$CONFIG_HEADERS"
18489
18490
18491eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18492shift
18493for ac_tag
18494do
18495 case $ac_tag in
18496 :[FHLC]) ac_mode=$ac_tag; continue;;
18497 esac
18498 case $ac_mode$ac_tag in
18499 :[FHL]*:*);;
18500 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18501 :[FH]-) ac_tag=-:-;;
18502 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18503 esac
18504 ac_save_IFS=$IFS
18505 IFS=:
18506 set x $ac_tag
18507 IFS=$ac_save_IFS
18508 shift
18509 ac_file=$1
18510 shift
18511
18512 case $ac_mode in
18513 :L) ac_source=$1;;
18514 :[FH])
18515 ac_file_inputs=
18516 for ac_f
18517 do
18518 case $ac_f in
18519 -) ac_f="$ac_tmp/stdin";;
18520 *) # Look for the file first in the build tree, then in the source tree
18521 # (if the path is not absolute). The absolute path cannot be DOS-style,
18522 # because $ac_f cannot contain `:'.
18523 test -f "$ac_f" ||
18524 case $ac_f in
18525 [\\/$]*) false;;
18526 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18527 esac ||
18528 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18529 esac
18530 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18531 as_fn_append ac_file_inputs " '$ac_f'"
18532 done
18533
18534 # Let's still pretend it is `configure' which instantiates (i.e., don't
18535 # use $as_me), people would be surprised to read:
18536 # /* config.h. Generated by config.status. */
18537 configure_input='Generated from '`
18538 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18539 `' by configure.'
18540 if test x"$ac_file" != x-; then
18541 configure_input="$ac_file. $configure_input"
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18543$as_echo "$as_me: creating $ac_file" >&6;}
18544 fi
18545 # Neutralize special characters interpreted by sed in replacement strings.
18546 case $configure_input in #(
18547 *\&* | *\|* | *\\* )
18548 ac_sed_conf_input=`$as_echo "$configure_input" |
18549 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18550 *) ac_sed_conf_input=$configure_input;;
18551 esac
18552
18553 case $ac_tag in
18554 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18555 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18556 esac
18557 ;;
18558 esac
18559
18560 ac_dir=`$as_dirname -- "$ac_file" ||
18561$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18562 X"$ac_file" : 'X\(//\)[^/]' \| \
18563 X"$ac_file" : 'X\(//\)$' \| \
18564 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18565$as_echo X"$ac_file" |
18566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18567 s//\1/
18568 q
18569 }
18570 /^X\(\/\/\)[^/].*/{
18571 s//\1/
18572 q
18573 }
18574 /^X\(\/\/\)$/{
18575 s//\1/
18576 q
18577 }
18578 /^X\(\/\).*/{
18579 s//\1/
18580 q
18581 }
18582 s/.*/./; q'`
18583 as_dir="$ac_dir"; as_fn_mkdir_p
18584 ac_builddir=.
18585
18586case "$ac_dir" in
18587.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18588*)
18589 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18590 # A ".." for each directory in $ac_dir_suffix.
18591 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18592 case $ac_top_builddir_sub in
18593 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18594 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18595 esac ;;
18596esac
18597ac_abs_top_builddir=$ac_pwd
18598ac_abs_builddir=$ac_pwd$ac_dir_suffix
18599# for backward compatibility:
18600ac_top_builddir=$ac_top_build_prefix
18601
18602case $srcdir in
18603 .) # We are building in place.
18604 ac_srcdir=.
18605 ac_top_srcdir=$ac_top_builddir_sub
18606 ac_abs_top_srcdir=$ac_pwd ;;
18607 [\\/]* | ?:[\\/]* ) # Absolute name.
18608 ac_srcdir=$srcdir$ac_dir_suffix;
18609 ac_top_srcdir=$srcdir
18610 ac_abs_top_srcdir=$srcdir ;;
18611 *) # Relative name.
18612 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18613 ac_top_srcdir=$ac_top_build_prefix$srcdir
18614 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18615esac
18616ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18617
18618
18619 case $ac_mode in
18620 :F)
18621 #
18622 # CONFIG_FILE
18623 #
18624
18625 case $INSTALL in
18626 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18627 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18628 esac
18629 ac_MKDIR_P=$MKDIR_P
18630 case $MKDIR_P in
18631 [\\/$]* | ?:[\\/]* ) ;;
18632 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18633 esac
18634_ACEOF
18635
18636cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18637# If the template does not know about datarootdir, expand it.
18638# FIXME: This hack should be removed a few years after 2.60.
18639ac_datarootdir_hack=; ac_datarootdir_seen=
18640ac_sed_dataroot='
18641/datarootdir/ {
18642 p
18643 q
18644}
18645/@datadir@/p
18646/@docdir@/p
18647/@infodir@/p
18648/@localedir@/p
18649/@mandir@/p'
18650case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18651*datarootdir*) ac_datarootdir_seen=yes;;
18652*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18654$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18655_ACEOF
18656cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18657 ac_datarootdir_hack='
18658 s&@datadir@&$datadir&g
18659 s&@docdir@&$docdir&g
18660 s&@infodir@&$infodir&g
18661 s&@localedir@&$localedir&g
18662 s&@mandir@&$mandir&g
18663 s&\\\${datarootdir}&$datarootdir&g' ;;
18664esac
18665_ACEOF
18666
18667# Neutralize VPATH when `$srcdir' = `.'.
18668# Shell code in configure.ac might set extrasub.
18669# FIXME: do we really want to maintain this feature?
18670cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18671ac_sed_extra="$ac_vpsub
18672$extrasub
18673_ACEOF
18674cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18675:t
18676/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18677s|@configure_input@|$ac_sed_conf_input|;t t
18678s&@top_builddir@&$ac_top_builddir_sub&;t t
18679s&@top_build_prefix@&$ac_top_build_prefix&;t t
18680s&@srcdir@&$ac_srcdir&;t t
18681s&@abs_srcdir@&$ac_abs_srcdir&;t t
18682s&@top_srcdir@&$ac_top_srcdir&;t t
18683s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18684s&@builddir@&$ac_builddir&;t t
18685s&@abs_builddir@&$ac_abs_builddir&;t t
18686s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18687s&@INSTALL@&$ac_INSTALL&;t t
18688s&@MKDIR_P@&$ac_MKDIR_P&;t t
18689$ac_datarootdir_hack
18690"
18691eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18692 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18693
18694test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18695 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18696 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18697 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18699which seems to be undefined. Please make sure it is defined" >&5
18700$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18701which seems to be undefined. Please make sure it is defined" >&2;}
18702
18703 rm -f "$ac_tmp/stdin"
18704 case $ac_file in
18705 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18706 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18707 esac \
18708 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18709 ;;
18710 :H)
18711 #
18712 # CONFIG_HEADER
18713 #
18714 if test x"$ac_file" != x-; then
18715 {
18716 $as_echo "/* $configure_input */" \
18717 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18718 } >"$ac_tmp/config.h" \
18719 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18720 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18722$as_echo "$as_me: $ac_file is unchanged" >&6;}
18723 else
18724 rm -f "$ac_file"
18725 mv "$ac_tmp/config.h" "$ac_file" \
18726 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18727 fi
18728 else
18729 $as_echo "/* $configure_input */" \
18730 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18731 || as_fn_error $? "could not create -" "$LINENO" 5
18732 fi
18733# Compute "$ac_file"'s index in $config_headers.
18734_am_arg="$ac_file"
18735_am_stamp_count=1
18736for _am_header in $config_headers :; do
18737 case $_am_header in
18738 $_am_arg | $_am_arg:* )
18739 break ;;
18740 * )
18741 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18742 esac
18743done
18744echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18745$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18746 X"$_am_arg" : 'X\(//\)[^/]' \| \
18747 X"$_am_arg" : 'X\(//\)$' \| \
18748 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18749$as_echo X"$_am_arg" |
18750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18751 s//\1/
18752 q
18753 }
18754 /^X\(\/\/\)[^/].*/{
18755 s//\1/
18756 q
18757 }
18758 /^X\(\/\/\)$/{
18759 s//\1/
18760 q
18761 }
18762 /^X\(\/\).*/{
18763 s//\1/
18764 q
18765 }
18766 s/.*/./; q'`/stamp-h$_am_stamp_count
18767 ;;
18768
18769 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18770$as_echo "$as_me: executing $ac_file commands" >&6;}
18771 ;;
18772 esac
18773
18774
18775 case $ac_file$ac_mode in
18776 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18777 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18778 # are listed without --file. Let's play safe and only enable the eval
18779 # if we detect the quoting.
18780 case $CONFIG_FILES in
18781 *\'*) eval set x "$CONFIG_FILES" ;;
18782 *) set x $CONFIG_FILES ;;
18783 esac
18784 shift
18785 for mf
18786 do
18787 # Strip MF so we end up with the name of the file.
18788 mf=`echo "$mf" | sed -e 's/:.*$//'`
18789 # Check whether this is an Automake generated Makefile or not.
18790 # We used to match only the files named `Makefile.in', but
18791 # some people rename them; so instead we look at the file content.
18792 # Grep'ing the first line is not enough: some people post-process
18793 # each Makefile.in and add a new line on top of each file to say so.
18794 # Grep'ing the whole file is not good either: AIX grep has a line
18795 # limit of 2048, but all sed's we know have understand at least 4000.
18796 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18797 dirpart=`$as_dirname -- "$mf" ||
18798$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18799 X"$mf" : 'X\(//\)[^/]' \| \
18800 X"$mf" : 'X\(//\)$' \| \
18801 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18802$as_echo X"$mf" |
18803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18804 s//\1/
18805 q
18806 }
18807 /^X\(\/\/\)[^/].*/{
18808 s//\1/
18809 q
18810 }
18811 /^X\(\/\/\)$/{
18812 s//\1/
18813 q
18814 }
18815 /^X\(\/\).*/{
18816 s//\1/
18817 q
18818 }
18819 s/.*/./; q'`
18820 else
18821 continue
18822 fi
18823 # Extract the definition of DEPDIR, am__include, and am__quote
18824 # from the Makefile without running `make'.
18825 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18826 test -z "$DEPDIR" && continue
18827 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18828 test -z "am__include" && continue
18829 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18830 # When using ansi2knr, U may be empty or an underscore; expand it
18831 U=`sed -n 's/^U = //p' < "$mf"`
18832 # Find all dependency output files, they are included files with
18833 # $(DEPDIR) in their names. We invoke sed twice because it is the
18834 # simplest approach to changing $(DEPDIR) to its actual value in the
18835 # expansion.
18836 for file in `sed -n "
18837 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18838 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18839 # Make sure the directory exists.
18840 test -f "$dirpart/$file" && continue
18841 fdir=`$as_dirname -- "$file" ||
18842$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18843 X"$file" : 'X\(//\)[^/]' \| \
18844 X"$file" : 'X\(//\)$' \| \
18845 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18846$as_echo X"$file" |
18847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18848 s//\1/
18849 q
18850 }
18851 /^X\(\/\/\)[^/].*/{
18852 s//\1/
18853 q
18854 }
18855 /^X\(\/\/\)$/{
18856 s//\1/
18857 q
18858 }
18859 /^X\(\/\).*/{
18860 s//\1/
18861 q
18862 }
18863 s/.*/./; q'`
18864 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18865 # echo "creating $dirpart/$file"
18866 echo '# dummy' > "$dirpart/$file"
18867 done
18868 done
18869}
18870 ;;
18871 "libtool":C)
18872
18873 # See if we are running on zsh, and set the options which allow our
18874 # commands through without removal of \ escapes.
18875 if test -n "${ZSH_VERSION+set}" ; then
18876 setopt NO_GLOB_SUBST
18877 fi
18878
18879 cfgfile="${ofile}T"
18880 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18881 $RM "$cfgfile"
18882
18883 cat <<_LT_EOF >> "$cfgfile"
18884#! $SHELL
18885
18886# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18887# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18888# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18889# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18890#
18891# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18892# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
18893# Inc.
18894# Written by Gordon Matzigkeit, 1996
18895#
18896# This file is part of GNU Libtool.
18897#
18898# GNU Libtool is free software; you can redistribute it and/or
18899# modify it under the terms of the GNU General Public License as
18900# published by the Free Software Foundation; either version 2 of
18901# the License, or (at your option) any later version.
18902#
18903# As a special exception to the GNU General Public License,
18904# if you distribute this file as part of a program or library that
18905# is built using GNU Libtool, you may include this file under the
18906# same distribution terms that you use for the rest of that program.
18907#
18908# GNU Libtool is distributed in the hope that it will be useful,
18909# but WITHOUT ANY WARRANTY; without even the implied warranty of
18910# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18911# GNU General Public License for more details.
18912#
18913# You should have received a copy of the GNU General Public License
18914# along with GNU Libtool; see the file COPYING. If not, a copy
18915# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18916# obtained by writing to the Free Software Foundation, Inc.,
18917# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18918
18919
18920# The names of the tagged configurations supported by this script.
18921available_tags="CXX "
18922
18923# ### BEGIN LIBTOOL CONFIG
18924
18925# Which release of libtool.m4 was used?
18926macro_version=$macro_version
18927macro_revision=$macro_revision
18928
18929# Whether or not to build shared libraries.
18930build_libtool_libs=$enable_shared
18931
18932# Whether or not to build static libraries.
18933build_old_libs=$enable_static
18934
18935# What type of objects to build.
18936pic_mode=$pic_mode
18937
18938# Whether or not to optimize for fast installation.
18939fast_install=$enable_fast_install
18940
18941# Shell to use when invoking shell scripts.
18942SHELL=$lt_SHELL
18943
18944# An echo program that protects backslashes.
18945ECHO=$lt_ECHO
18946
18947# The host system.
18948host_alias=$host_alias
18949host=$host
18950host_os=$host_os
18951
18952# The build system.
18953build_alias=$build_alias
18954build=$build
18955build_os=$build_os
18956
18957# A sed program that does not truncate output.
18958SED=$lt_SED
18959
18960# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18961Xsed="\$SED -e 1s/^X//"
18962
18963# A grep program that handles long lines.
18964GREP=$lt_GREP
18965
18966# An ERE matcher.
18967EGREP=$lt_EGREP
18968
18969# A literal string matcher.
18970FGREP=$lt_FGREP
18971
18972# A BSD- or MS-compatible name lister.
18973NM=$lt_NM
18974
18975# Whether we need soft or hard links.
18976LN_S=$lt_LN_S
18977
18978# What is the maximum length of a command?
18979max_cmd_len=$max_cmd_len
18980
18981# Object file suffix (normally "o").
18982objext=$ac_objext
18983
18984# Executable file suffix (normally "").
18985exeext=$exeext
18986
18987# whether the shell understands "unset".
18988lt_unset=$lt_unset
18989
18990# turn spaces into newlines.
18991SP2NL=$lt_lt_SP2NL
18992
18993# turn newlines into spaces.
18994NL2SP=$lt_lt_NL2SP
18995
18996# convert \$build file names to \$host format.
18997to_host_file_cmd=$lt_cv_to_host_file_cmd
18998
18999# convert \$build files to toolchain format.
19000to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19001
19002# An object symbol dumper.
19003OBJDUMP=$lt_OBJDUMP
19004
19005# Method to check whether dependent libraries are shared objects.
19006deplibs_check_method=$lt_deplibs_check_method
19007
19008# Command to use when deplibs_check_method = "file_magic".
19009file_magic_cmd=$lt_file_magic_cmd
19010
19011# How to find potential files when deplibs_check_method = "file_magic".
19012file_magic_glob=$lt_file_magic_glob
19013
19014# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19015want_nocaseglob=$lt_want_nocaseglob
19016
19017# DLL creation program.
19018DLLTOOL=$lt_DLLTOOL
19019
19020# Command to associate shared and link libraries.
19021sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19022
19023# The archiver.
19024AR=$lt_AR
19025
19026# Flags to create an archive.
19027AR_FLAGS=$lt_AR_FLAGS
19028
19029# How to feed a file listing to the archiver.
19030archiver_list_spec=$lt_archiver_list_spec
19031
19032# A symbol stripping program.
19033STRIP=$lt_STRIP
19034
19035# Commands used to install an old-style archive.
19036RANLIB=$lt_RANLIB
19037old_postinstall_cmds=$lt_old_postinstall_cmds
19038old_postuninstall_cmds=$lt_old_postuninstall_cmds
19039
19040# Whether to use a lock for old archive extraction.
19041lock_old_archive_extraction=$lock_old_archive_extraction
19042
19043# A C compiler.
19044LTCC=$lt_CC
19045
19046# LTCC compiler flags.
19047LTCFLAGS=$lt_CFLAGS
19048
19049# Take the output of nm and produce a listing of raw symbols and C names.
19050global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19051
19052# Transform the output of nm in a proper C declaration.
19053global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19054
19055# Transform the output of nm in a C name address pair.
19056global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19057
19058# Transform the output of nm in a C name address pair when lib prefix is needed.
19059global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19060
19061# Specify filename containing input files for \$NM.
19062nm_file_list_spec=$lt_nm_file_list_spec
19063
19064# The root where to search for dependent libraries,and in which our libraries should be installed.
19065lt_sysroot=$lt_sysroot
19066
19067# The name of the directory that contains temporary libtool files.
19068objdir=$objdir
19069
19070# Used to examine libraries when file_magic_cmd begins with "file".
19071MAGIC_CMD=$MAGIC_CMD
19072
19073# Must we lock files when doing compilation?
19074need_locks=$lt_need_locks
19075
19076# Manifest tool.
19077MANIFEST_TOOL=$lt_MANIFEST_TOOL
19078
19079# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19080DSYMUTIL=$lt_DSYMUTIL
19081
19082# Tool to change global to local symbols on Mac OS X.
19083NMEDIT=$lt_NMEDIT
19084
19085# Tool to manipulate fat objects and archives on Mac OS X.
19086LIPO=$lt_LIPO
19087
19088# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19089OTOOL=$lt_OTOOL
19090
19091# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19092OTOOL64=$lt_OTOOL64
19093
19094# Old archive suffix (normally "a").
19095libext=$libext
19096
19097# Shared library suffix (normally ".so").
19098shrext_cmds=$lt_shrext_cmds
19099
19100# The commands to extract the exported symbol list from a shared archive.
19101extract_expsyms_cmds=$lt_extract_expsyms_cmds
19102
19103# Variables whose values should be saved in libtool wrapper scripts and
19104# restored at link time.
19105variables_saved_for_relink=$lt_variables_saved_for_relink
19106
19107# Do we need the "lib" prefix for modules?
19108need_lib_prefix=$need_lib_prefix
19109
19110# Do we need a version for libraries?
19111need_version=$need_version
19112
19113# Library versioning type.
19114version_type=$version_type
19115
19116# Shared library runtime path variable.
19117runpath_var=$runpath_var
19118
19119# Shared library path variable.
19120shlibpath_var=$shlibpath_var
19121
19122# Is shlibpath searched before the hard-coded library search path?
19123shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19124
19125# Format of library name prefix.
19126libname_spec=$lt_libname_spec
19127
19128# List of archive names. First name is the real one, the rest are links.
19129# The last name is the one that the linker finds with -lNAME
19130library_names_spec=$lt_library_names_spec
19131
19132# The coded name of the library, if different from the real name.
19133soname_spec=$lt_soname_spec
19134
19135# Permission mode override for installation of shared libraries.
19136install_override_mode=$lt_install_override_mode
19137
19138# Command to use after installation of a shared archive.
19139postinstall_cmds=$lt_postinstall_cmds
19140
19141# Command to use after uninstallation of a shared archive.
19142postuninstall_cmds=$lt_postuninstall_cmds
19143
19144# Commands used to finish a libtool library installation in a directory.
19145finish_cmds=$lt_finish_cmds
19146
19147# As "finish_cmds", except a single script fragment to be evaled but
19148# not shown.
19149finish_eval=$lt_finish_eval
19150
19151# Whether we should hardcode library paths into libraries.
19152hardcode_into_libs=$hardcode_into_libs
19153
19154# Compile-time system search path for libraries.
19155sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19156
19157# Run-time system search path for libraries.
19158sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19159
19160# Whether dlopen is supported.
19161dlopen_support=$enable_dlopen
19162
19163# Whether dlopen of programs is supported.
19164dlopen_self=$enable_dlopen_self
19165
19166# Whether dlopen of statically linked programs is supported.
19167dlopen_self_static=$enable_dlopen_self_static
19168
19169# Commands to strip libraries.
19170old_striplib=$lt_old_striplib
19171striplib=$lt_striplib
19172
19173
19174# The linker used to build libraries.
19175LD=$lt_LD
19176
19177# How to create reloadable object files.
19178reload_flag=$lt_reload_flag
19179reload_cmds=$lt_reload_cmds
19180
19181# Commands used to build an old-style archive.
19182old_archive_cmds=$lt_old_archive_cmds
19183
19184# A language specific compiler.
19185CC=$lt_compiler
19186
19187# Is the compiler the GNU compiler?
19188with_gcc=$GCC
19189
19190# Compiler flag to turn off builtin functions.
19191no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19192
19193# Additional compiler flags for building library objects.
19194pic_flag=$lt_lt_prog_compiler_pic
19195
19196# How to pass a linker flag through the compiler.
19197wl=$lt_lt_prog_compiler_wl
19198
19199# Compiler flag to prevent dynamic linking.
19200link_static_flag=$lt_lt_prog_compiler_static
19201
19202# Does compiler simultaneously support -c and -o options?
19203compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19204
19205# Whether or not to add -lc for building shared libraries.
19206build_libtool_need_lc=$archive_cmds_need_lc
19207
19208# Whether or not to disallow shared libs when runtime libs are static.
19209allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19210
19211# Compiler flag to allow reflexive dlopens.
19212export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19213
19214# Compiler flag to generate shared objects directly from archives.
19215whole_archive_flag_spec=$lt_whole_archive_flag_spec
19216
19217# Whether the compiler copes with passing no objects directly.
19218compiler_needs_object=$lt_compiler_needs_object
19219
19220# Create an old-style archive from a shared archive.
19221old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19222
19223# Create a temporary old-style archive to link instead of a shared archive.
19224old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19225
19226# Commands used to build a shared archive.
19227archive_cmds=$lt_archive_cmds
19228archive_expsym_cmds=$lt_archive_expsym_cmds
19229
19230# Commands used to build a loadable module if different from building
19231# a shared archive.
19232module_cmds=$lt_module_cmds
19233module_expsym_cmds=$lt_module_expsym_cmds
19234
19235# Whether we are building with GNU ld or not.
19236with_gnu_ld=$lt_with_gnu_ld
19237
19238# Flag that allows shared libraries with undefined symbols to be built.
19239allow_undefined_flag=$lt_allow_undefined_flag
19240
19241# Flag that enforces no undefined symbols.
19242no_undefined_flag=$lt_no_undefined_flag
19243
19244# Flag to hardcode \$libdir into a binary during linking.
19245# This must work even if \$libdir does not exist
19246hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19247
19248# If ld is used when linking, flag to hardcode \$libdir into a binary
19249# during linking. This must work even if \$libdir does not exist.
19250hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19251
19252# Whether we need a single "-rpath" flag with a separated argument.
19253hardcode_libdir_separator=$lt_hardcode_libdir_separator
19254
19255# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19256# DIR into the resulting binary.
19257hardcode_direct=$hardcode_direct
19258
19259# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19260# DIR into the resulting binary and the resulting library dependency is
19261# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19262# library is relocated.
19263hardcode_direct_absolute=$hardcode_direct_absolute
19264
19265# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19266# into the resulting binary.
19267hardcode_minus_L=$hardcode_minus_L
19268
19269# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19270# into the resulting binary.
19271hardcode_shlibpath_var=$hardcode_shlibpath_var
19272
19273# Set to "yes" if building a shared library automatically hardcodes DIR
19274# into the library and all subsequent libraries and executables linked
19275# against it.
19276hardcode_automatic=$hardcode_automatic
19277
19278# Set to yes if linker adds runtime paths of dependent libraries
19279# to runtime path list.
19280inherit_rpath=$inherit_rpath
19281
19282# Whether libtool must link a program against all its dependency libraries.
19283link_all_deplibs=$link_all_deplibs
19284
19285# Set to "yes" if exported symbols are required.
19286always_export_symbols=$always_export_symbols
19287
19288# The commands to list exported symbols.
19289export_symbols_cmds=$lt_export_symbols_cmds
19290
19291# Symbols that should not be listed in the preloaded symbols.
19292exclude_expsyms=$lt_exclude_expsyms
19293
19294# Symbols that must always be exported.
19295include_expsyms=$lt_include_expsyms
19296
19297# Commands necessary for linking programs (against libraries) with templates.
19298prelink_cmds=$lt_prelink_cmds
19299
19300# Commands necessary for finishing linking programs.
19301postlink_cmds=$lt_postlink_cmds
19302
19303# Specify filename containing input files.
19304file_list_spec=$lt_file_list_spec
19305
19306# How to hardcode a shared library path into an executable.
19307hardcode_action=$hardcode_action
19308
19309# The directories searched by this compiler when creating a shared library.
19310compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19311
19312# Dependencies to place before and after the objects being linked to
19313# create a shared library.
19314predep_objects=$lt_predep_objects
19315postdep_objects=$lt_postdep_objects
19316predeps=$lt_predeps
19317postdeps=$lt_postdeps
19318
19319# The library search path used internally by the compiler when linking
19320# a shared library.
19321compiler_lib_search_path=$lt_compiler_lib_search_path
19322
19323# ### END LIBTOOL CONFIG
19324
19325_LT_EOF
19326
19327 case $host_os in
19328 aix3*)
19329 cat <<\_LT_EOF >> "$cfgfile"
19330# AIX sometimes has problems with the GCC collect2 program. For some
19331# reason, if we set the COLLECT_NAMES environment variable, the problems
19332# vanish in a puff of smoke.
19333if test "X${COLLECT_NAMES+set}" != Xset; then
19334 COLLECT_NAMES=
19335 export COLLECT_NAMES
19336fi
19337_LT_EOF
19338 ;;
19339 esac
19340
19341
19342ltmain="$ac_aux_dir/ltmain.sh"
19343
19344
19345 # We use sed instead of cat because bash on DJGPP gets confused if
19346 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19347 # text mode, it properly converts lines to CR/LF. This bash problem
19348 # is reportedly fixed, but why not run on old versions too?
19349 sed '$q' "$ltmain" >> "$cfgfile" \
19350 || (rm -f "$cfgfile"; exit 1)
19351
19352 if test x"$xsi_shell" = xyes; then
19353 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19354func_dirname ()\
19355{\
19356\ case ${1} in\
19357\ */*) func_dirname_result="${1%/*}${2}" ;;\
19358\ * ) func_dirname_result="${3}" ;;\
19359\ esac\
19360} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19361 && mv -f "$cfgfile.tmp" "$cfgfile" \
19362 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19363test 0 -eq $? || _lt_function_replace_fail=:
19364
19365
19366 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19367func_basename ()\
19368{\
19369\ func_basename_result="${1##*/}"\
19370} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19371 && mv -f "$cfgfile.tmp" "$cfgfile" \
19372 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19373test 0 -eq $? || _lt_function_replace_fail=:
19374
19375
19376 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19377func_dirname_and_basename ()\
19378{\
19379\ case ${1} in\
19380\ */*) func_dirname_result="${1%/*}${2}" ;;\
19381\ * ) func_dirname_result="${3}" ;;\
19382\ esac\
19383\ func_basename_result="${1##*/}"\
19384} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19385 && mv -f "$cfgfile.tmp" "$cfgfile" \
19386 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19387test 0 -eq $? || _lt_function_replace_fail=:
19388
19389
19390 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19391func_stripname ()\
19392{\
19393\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19394\ # positional parameters, so assign one to ordinary parameter first.\
19395\ func_stripname_result=${3}\
19396\ func_stripname_result=${func_stripname_result#"${1}"}\
19397\ func_stripname_result=${func_stripname_result%"${2}"}\
19398} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19399 && mv -f "$cfgfile.tmp" "$cfgfile" \
19400 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19401test 0 -eq $? || _lt_function_replace_fail=:
19402
19403
19404 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19405func_split_long_opt ()\
19406{\
19407\ func_split_long_opt_name=${1%%=*}\
19408\ func_split_long_opt_arg=${1#*=}\
19409} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19410 && mv -f "$cfgfile.tmp" "$cfgfile" \
19411 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19412test 0 -eq $? || _lt_function_replace_fail=:
19413
19414
19415 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19416func_split_short_opt ()\
19417{\
19418\ func_split_short_opt_arg=${1#??}\
19419\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19420} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19421 && mv -f "$cfgfile.tmp" "$cfgfile" \
19422 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19423test 0 -eq $? || _lt_function_replace_fail=:
19424
19425
19426 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19427func_lo2o ()\
19428{\
19429\ case ${1} in\
19430\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19431\ *) func_lo2o_result=${1} ;;\
19432\ esac\
19433} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19434 && mv -f "$cfgfile.tmp" "$cfgfile" \
19435 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19436test 0 -eq $? || _lt_function_replace_fail=:
19437
19438
19439 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19440func_xform ()\
19441{\
19442 func_xform_result=${1%.*}.lo\
19443} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19444 && mv -f "$cfgfile.tmp" "$cfgfile" \
19445 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19446test 0 -eq $? || _lt_function_replace_fail=:
19447
19448
19449 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19450func_arith ()\
19451{\
19452 func_arith_result=$(( $* ))\
19453} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19454 && mv -f "$cfgfile.tmp" "$cfgfile" \
19455 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19456test 0 -eq $? || _lt_function_replace_fail=:
19457
19458
19459 sed -e '/^func_len ()$/,/^} # func_len /c\
19460func_len ()\
19461{\
19462 func_len_result=${#1}\
19463} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19464 && mv -f "$cfgfile.tmp" "$cfgfile" \
19465 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19466test 0 -eq $? || _lt_function_replace_fail=:
19467
19468fi
19469
19470if test x"$lt_shell_append" = xyes; then
19471 sed -e '/^func_append ()$/,/^} # func_append /c\
19472func_append ()\
19473{\
19474 eval "${1}+=\\${2}"\
19475} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19476 && mv -f "$cfgfile.tmp" "$cfgfile" \
19477 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19478test 0 -eq $? || _lt_function_replace_fail=:
19479
19480
19481 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19482func_append_quoted ()\
19483{\
19484\ func_quote_for_eval "${2}"\
19485\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19486} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19487 && mv -f "$cfgfile.tmp" "$cfgfile" \
19488 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19489test 0 -eq $? || _lt_function_replace_fail=:
19490
19491
19492 # Save a `func_append' function call where possible by direct use of '+='
19493 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19494 && mv -f "$cfgfile.tmp" "$cfgfile" \
19495 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19496 test 0 -eq $? || _lt_function_replace_fail=:
19497else
19498 # Save a `func_append' function call even when '+=' is not available
19499 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19500 && mv -f "$cfgfile.tmp" "$cfgfile" \
19501 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19502 test 0 -eq $? || _lt_function_replace_fail=:
19503fi
19504
19505if test x"$_lt_function_replace_fail" = x":"; then
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19507$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19508fi
19509
19510
19511 mv -f "$cfgfile" "$ofile" ||
19512 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19513 chmod +x "$ofile"
19514
19515
19516 cat <<_LT_EOF >> "$ofile"
19517
19518# ### BEGIN LIBTOOL TAG CONFIG: CXX
19519
19520# The linker used to build libraries.
19521LD=$lt_LD_CXX
19522
19523# How to create reloadable object files.
19524reload_flag=$lt_reload_flag_CXX
19525reload_cmds=$lt_reload_cmds_CXX
19526
19527# Commands used to build an old-style archive.
19528old_archive_cmds=$lt_old_archive_cmds_CXX
19529
19530# A language specific compiler.
19531CC=$lt_compiler_CXX
19532
19533# Is the compiler the GNU compiler?
19534with_gcc=$GCC_CXX
19535
19536# Compiler flag to turn off builtin functions.
19537no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19538
19539# Additional compiler flags for building library objects.
19540pic_flag=$lt_lt_prog_compiler_pic_CXX
19541
19542# How to pass a linker flag through the compiler.
19543wl=$lt_lt_prog_compiler_wl_CXX
19544
19545# Compiler flag to prevent dynamic linking.
19546link_static_flag=$lt_lt_prog_compiler_static_CXX
19547
19548# Does compiler simultaneously support -c and -o options?
19549compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19550
19551# Whether or not to add -lc for building shared libraries.
19552build_libtool_need_lc=$archive_cmds_need_lc_CXX
19553
19554# Whether or not to disallow shared libs when runtime libs are static.
19555allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19556
19557# Compiler flag to allow reflexive dlopens.
19558export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19559
19560# Compiler flag to generate shared objects directly from archives.
19561whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19562
19563# Whether the compiler copes with passing no objects directly.
19564compiler_needs_object=$lt_compiler_needs_object_CXX
19565
19566# Create an old-style archive from a shared archive.
19567old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19568
19569# Create a temporary old-style archive to link instead of a shared archive.
19570old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19571
19572# Commands used to build a shared archive.
19573archive_cmds=$lt_archive_cmds_CXX
19574archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19575
19576# Commands used to build a loadable module if different from building
19577# a shared archive.
19578module_cmds=$lt_module_cmds_CXX
19579module_expsym_cmds=$lt_module_expsym_cmds_CXX
19580
19581# Whether we are building with GNU ld or not.
19582with_gnu_ld=$lt_with_gnu_ld_CXX
19583
19584# Flag that allows shared libraries with undefined symbols to be built.
19585allow_undefined_flag=$lt_allow_undefined_flag_CXX
19586
19587# Flag that enforces no undefined symbols.
19588no_undefined_flag=$lt_no_undefined_flag_CXX
19589
19590# Flag to hardcode \$libdir into a binary during linking.
19591# This must work even if \$libdir does not exist
19592hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19593
19594# If ld is used when linking, flag to hardcode \$libdir into a binary
19595# during linking. This must work even if \$libdir does not exist.
19596hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19597
19598# Whether we need a single "-rpath" flag with a separated argument.
19599hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19600
19601# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19602# DIR into the resulting binary.
19603hardcode_direct=$hardcode_direct_CXX
19604
19605# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19606# DIR into the resulting binary and the resulting library dependency is
19607# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19608# library is relocated.
19609hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19610
19611# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19612# into the resulting binary.
19613hardcode_minus_L=$hardcode_minus_L_CXX
19614
19615# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19616# into the resulting binary.
19617hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19618
19619# Set to "yes" if building a shared library automatically hardcodes DIR
19620# into the library and all subsequent libraries and executables linked
19621# against it.
19622hardcode_automatic=$hardcode_automatic_CXX
19623
19624# Set to yes if linker adds runtime paths of dependent libraries
19625# to runtime path list.
19626inherit_rpath=$inherit_rpath_CXX
19627
19628# Whether libtool must link a program against all its dependency libraries.
19629link_all_deplibs=$link_all_deplibs_CXX
19630
19631# Set to "yes" if exported symbols are required.
19632always_export_symbols=$always_export_symbols_CXX
19633
19634# The commands to list exported symbols.
19635export_symbols_cmds=$lt_export_symbols_cmds_CXX
19636
19637# Symbols that should not be listed in the preloaded symbols.
19638exclude_expsyms=$lt_exclude_expsyms_CXX
19639
19640# Symbols that must always be exported.
19641include_expsyms=$lt_include_expsyms_CXX
19642
19643# Commands necessary for linking programs (against libraries) with templates.
19644prelink_cmds=$lt_prelink_cmds_CXX
19645
19646# Commands necessary for finishing linking programs.
19647postlink_cmds=$lt_postlink_cmds_CXX
19648
19649# Specify filename containing input files.
19650file_list_spec=$lt_file_list_spec_CXX
19651
19652# How to hardcode a shared library path into an executable.
19653hardcode_action=$hardcode_action_CXX
19654
19655# The directories searched by this compiler when creating a shared library.
19656compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19657
19658# Dependencies to place before and after the objects being linked to
19659# create a shared library.
19660predep_objects=$lt_predep_objects_CXX
19661postdep_objects=$lt_postdep_objects_CXX
19662predeps=$lt_predeps_CXX
19663postdeps=$lt_postdeps_CXX
19664
19665# The library search path used internally by the compiler when linking
19666# a shared library.
19667compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19668
19669# ### END LIBTOOL TAG CONFIG: CXX
19670_LT_EOF
19671
19672 ;;
19673
19674 esac
19675done # for ac_tag
19676
19677
19678as_fn_exit 0
19679_ACEOF
19680ac_clean_files=$ac_clean_files_save
19681
19682test $ac_write_fail = 0 ||
19683 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19684
19685
19686# configure is writing to config.log, and then calls config.status.
19687# config.status does its own redirection, appending to config.log.
19688# Unfortunately, on DOS this fails, as config.log is still kept open
19689# by configure, so config.status won't be able to write to it; its
19690# output is simply discarded. So we exec the FD to /dev/null,
19691# effectively closing config.log, so it can be properly (re)opened and
19692# appended to by config.status. When coming back to configure, we
19693# need to make the FD available again.
19694if test "$no_create" != yes; then
19695 ac_cs_success=:
19696 ac_config_status_args=
19697 test "$silent" = yes &&
19698 ac_config_status_args="$ac_config_status_args --quiet"
19699 exec 5>/dev/null
19700 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19701 exec 5>>config.log
19702 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19703 # would make configure fail if this is the last instruction.
19704 $ac_cs_success || as_fn_exit 1
19705fi
19706if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19708$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19709fi
19710
19711
19712echo
19713echo "Build configuration:"
19714echo "--------------------"
19715echo
19716echo "Mainloop integration support:"
19717echo "ecore ......................... $enable_ecore"
19718echo "glib........................... $enable_glib"
19719echo
19720echo "Optional build items:"
19721echo "build tests.................... $enable_tests"
19722echo "build examples................. $enable_examples"
19723echo "build doxygen documentation.... $enable_doxygen_docs"
19724echo "Cross Compiling activated...... $cross_compiling"
19725echo "PThread support found.......... $acx_pthread_ok"
19726echo
19727