Updated date in changes file
[profile/ivi/libgee.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libgee 0.6.6.1.
4 #
5 # Report bugs to <ptitjes@free.fr>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and ptitjes@free.fr
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
281 $0: have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='libgee'
592 PACKAGE_TARNAME='libgee'
593 PACKAGE_VERSION='0.6.6.1'
594 PACKAGE_STRING='libgee 0.6.6.1'
595 PACKAGE_BUGREPORT='ptitjes@free.fr'
596 PACKAGE_URL=''
597
598 ac_unique_file="Makefile.am"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 #  include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #  include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 HAVE_INTROSPECTION_FALSE
640 HAVE_INTROSPECTION_TRUE
641 INTROSPECTION_MAKEFILE
642 INTROSPECTION_LIBS
643 INTROSPECTION_CFLAGS
644 INTROSPECTION_TYPELIBDIR
645 INTROSPECTION_GIRDIR
646 INTROSPECTION_GENERATE
647 INTROSPECTION_COMPILER
648 INTROSPECTION_SCANNER
649 GLIB_LIBS
650 GLIB_CFLAGS
651 PKG_CONFIG_LIBDIR
652 PKG_CONFIG_PATH
653 PKG_CONFIG
654 ENABLE_BENCHMARK_FALSE
655 ENABLE_BENCHMARK_TRUE
656 LCOV
657 COVERAGE_LIBS
658 COVERAGE_VALAFLAGS
659 COVERAGE_CFLAGS
660 ENABLE_COVERAGE_FALSE
661 ENABLE_COVERAGE_TRUE
662 VALADOC
663 ENABLE_DOC_FALSE
664 ENABLE_DOC_TRUE
665 VALAFLAGS
666 VALAC
667 LIBGEE_LT_VERSION
668 CPP
669 OTOOL64
670 OTOOL
671 LIPO
672 NMEDIT
673 DSYMUTIL
674 MANIFEST_TOOL
675 RANLIB
676 ac_ct_AR
677 AR
678 DLLTOOL
679 OBJDUMP
680 LN_S
681 NM
682 ac_ct_DUMPBIN
683 DUMPBIN
684 LD
685 FGREP
686 EGREP
687 GREP
688 SED
689 host_os
690 host_vendor
691 host_cpu
692 host
693 build_os
694 build_vendor
695 build_cpu
696 build
697 LIBTOOL
698 am__fastdepCC_FALSE
699 am__fastdepCC_TRUE
700 CCDEPMODE
701 am__nodep
702 AMDEPBACKSLASH
703 AMDEP_FALSE
704 AMDEP_TRUE
705 am__quote
706 am__include
707 DEPDIR
708 OBJEXT
709 EXEEXT
710 ac_ct_CC
711 CPPFLAGS
712 LDFLAGS
713 CFLAGS
714 CC
715 AM_BACKSLASH
716 AM_DEFAULT_VERBOSITY
717 AM_DEFAULT_V
718 AM_V
719 am__untar
720 am__tar
721 AMTAR
722 am__leading_dot
723 SET_MAKE
724 AWK
725 mkdir_p
726 MKDIR_P
727 INSTALL_STRIP_PROGRAM
728 STRIP
729 install_sh
730 MAKEINFO
731 AUTOHEADER
732 AUTOMAKE
733 AUTOCONF
734 ACLOCAL
735 VERSION
736 PACKAGE
737 CYGPATH_W
738 am__isrc
739 INSTALL_DATA
740 INSTALL_SCRIPT
741 INSTALL_PROGRAM
742 target_alias
743 host_alias
744 build_alias
745 LIBS
746 ECHO_T
747 ECHO_N
748 ECHO_C
749 DEFS
750 mandir
751 localedir
752 libdir
753 psdir
754 pdfdir
755 dvidir
756 htmldir
757 infodir
758 docdir
759 oldincludedir
760 includedir
761 localstatedir
762 sharedstatedir
763 sysconfdir
764 datadir
765 datarootdir
766 libexecdir
767 sbindir
768 bindir
769 program_transform_name
770 prefix
771 exec_prefix
772 PACKAGE_URL
773 PACKAGE_BUGREPORT
774 PACKAGE_STRING
775 PACKAGE_VERSION
776 PACKAGE_TARNAME
777 PACKAGE_NAME
778 PATH_SEPARATOR
779 SHELL'
780 ac_subst_files=''
781 ac_user_opts='
782 enable_option_checking
783 enable_silent_rules
784 enable_dependency_tracking
785 enable_static
786 enable_shared
787 with_pic
788 enable_fast_install
789 with_gnu_ld
790 with_sysroot
791 enable_libtool_lock
792 enable_doc
793 enable_coverage
794 enable_benchmark
795 enable_introspection
796 '
797       ac_precious_vars='build_alias
798 host_alias
799 target_alias
800 CC
801 CFLAGS
802 LDFLAGS
803 LIBS
804 CPPFLAGS
805 CPP
806 PKG_CONFIG
807 PKG_CONFIG_PATH
808 PKG_CONFIG_LIBDIR
809 GLIB_CFLAGS
810 GLIB_LIBS'
811
812
813 # Initialize some variables set by options.
814 ac_init_help=
815 ac_init_version=false
816 ac_unrecognized_opts=
817 ac_unrecognized_sep=
818 # The variables have the same names as the options, with
819 # dashes changed to underlines.
820 cache_file=/dev/null
821 exec_prefix=NONE
822 no_create=
823 no_recursion=
824 prefix=NONE
825 program_prefix=NONE
826 program_suffix=NONE
827 program_transform_name=s,x,x,
828 silent=
829 site=
830 srcdir=
831 verbose=
832 x_includes=NONE
833 x_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.)
841 bindir='${exec_prefix}/bin'
842 sbindir='${exec_prefix}/sbin'
843 libexecdir='${exec_prefix}/libexec'
844 datarootdir='${prefix}/share'
845 datadir='${datarootdir}'
846 sysconfdir='${prefix}/etc'
847 sharedstatedir='${prefix}/com'
848 localstatedir='${prefix}/var'
849 includedir='${prefix}/include'
850 oldincludedir='/usr/include'
851 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
852 infodir='${datarootdir}/info'
853 htmldir='${docdir}'
854 dvidir='${docdir}'
855 pdfdir='${docdir}'
856 psdir='${docdir}'
857 libdir='${exec_prefix}/lib'
858 localedir='${datarootdir}/locale'
859 mandir='${datarootdir}/man'
860
861 ac_prev=
862 ac_dashdash=
863 for ac_option
864 do
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'
1197 Try \`$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
1219 done
1220
1221 if test -n "$ac_prev"; then
1222   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1223   as_fn_error $? "missing argument to $ac_option"
1224 fi
1225
1226 if 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
1232 fi
1233
1234 # Check all directory arguments for consistency.
1235 for 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
1239 do
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"
1253 done
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.
1258 build=$build_alias
1259 host=$host_alias
1260 target=$target_alias
1261
1262 # FIXME: To remove some day.
1263 if test "x$host_alias" != x; then
1264   if test "x$build_alias" = x; then
1265     cross_compiling=maybe
1266   elif test "x$build_alias" != "x$host_alias"; then
1267     cross_compiling=yes
1268   fi
1269 fi
1270
1271 ac_tool_prefix=
1272 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1273
1274 test "$silent" = yes && exec 6>/dev/null
1275
1276
1277 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1278 ac_ls_di=`ls -di .` &&
1279 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1280   as_fn_error $? "working directory cannot be determined"
1281 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1282   as_fn_error $? "pwd does not report name of working directory"
1283
1284
1285 # Find the source files, if location was not specified.
1286 if test -z "$srcdir"; then
1287   ac_srcdir_defaulted=yes
1288   # Try the directory containing this script, then the parent directory.
1289   ac_confdir=`$as_dirname -- "$as_myself" ||
1290 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1291          X"$as_myself" : 'X\(//\)[^/]' \| \
1292          X"$as_myself" : 'X\(//\)$' \| \
1293          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1294 $as_echo X"$as_myself" |
1295     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1296             s//\1/
1297             q
1298           }
1299           /^X\(\/\/\)[^/].*/{
1300             s//\1/
1301             q
1302           }
1303           /^X\(\/\/\)$/{
1304             s//\1/
1305             q
1306           }
1307           /^X\(\/\).*/{
1308             s//\1/
1309             q
1310           }
1311           s/.*/./; q'`
1312   srcdir=$ac_confdir
1313   if test ! -r "$srcdir/$ac_unique_file"; then
1314     srcdir=..
1315   fi
1316 else
1317   ac_srcdir_defaulted=no
1318 fi
1319 if test ! -r "$srcdir/$ac_unique_file"; then
1320   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1321   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1322 fi
1323 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1324 ac_abs_confdir=`(
1325         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1326         pwd)`
1327 # When building in place, set srcdir=.
1328 if test "$ac_abs_confdir" = "$ac_pwd"; then
1329   srcdir=.
1330 fi
1331 # Remove unnecessary trailing slashes from srcdir.
1332 # Double slashes in file names in object file debugging info
1333 # mess up M-x gdb in Emacs.
1334 case $srcdir in
1335 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1336 esac
1337 for ac_var in $ac_precious_vars; do
1338   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1339   eval ac_env_${ac_var}_value=\$${ac_var}
1340   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1341   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1342 done
1343
1344 #
1345 # Report the --help message.
1346 #
1347 if test "$ac_init_help" = "long"; then
1348   # Omit some internal or obsolete options to make the list less imposing.
1349   # This message is too long to be a string in the A/UX 3.1 sh.
1350   cat <<_ACEOF
1351 \`configure' configures libgee 0.6.6.1 to adapt to many kinds of systems.
1352
1353 Usage: $0 [OPTION]... [VAR=VALUE]...
1354
1355 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1356 VAR=VALUE.  See below for descriptions of some of the useful variables.
1357
1358 Defaults for the options are specified in brackets.
1359
1360 Configuration:
1361   -h, --help              display this help and exit
1362       --help=short        display options specific to this package
1363       --help=recursive    display the short help of all the included packages
1364   -V, --version           display version information and exit
1365   -q, --quiet, --silent   do not print \`checking ...' messages
1366       --cache-file=FILE   cache test results in FILE [disabled]
1367   -C, --config-cache      alias for \`--cache-file=config.cache'
1368   -n, --no-create         do not create output files
1369       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1370
1371 Installation directories:
1372   --prefix=PREFIX         install architecture-independent files in PREFIX
1373                           [$ac_default_prefix]
1374   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1375                           [PREFIX]
1376
1377 By default, \`make install' will install all the files in
1378 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1379 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1380 for instance \`--prefix=\$HOME'.
1381
1382 For better control, use the options below.
1383
1384 Fine tuning of the installation directories:
1385   --bindir=DIR            user executables [EPREFIX/bin]
1386   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1387   --libexecdir=DIR        program executables [EPREFIX/libexec]
1388   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1389   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1390   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1391   --libdir=DIR            object code libraries [EPREFIX/lib]
1392   --includedir=DIR        C header files [PREFIX/include]
1393   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1394   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1395   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1396   --infodir=DIR           info documentation [DATAROOTDIR/info]
1397   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1398   --mandir=DIR            man documentation [DATAROOTDIR/man]
1399   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgee]
1400   --htmldir=DIR           html documentation [DOCDIR]
1401   --dvidir=DIR            dvi documentation [DOCDIR]
1402   --pdfdir=DIR            pdf documentation [DOCDIR]
1403   --psdir=DIR             ps documentation [DOCDIR]
1404 _ACEOF
1405
1406   cat <<\_ACEOF
1407
1408 Program names:
1409   --program-prefix=PREFIX            prepend PREFIX to installed program names
1410   --program-suffix=SUFFIX            append SUFFIX to installed program names
1411   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1412
1413 System types:
1414   --build=BUILD     configure for building on BUILD [guessed]
1415   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1416 _ACEOF
1417 fi
1418
1419 if test -n "$ac_init_help"; then
1420   case $ac_init_help in
1421      short | recursive ) echo "Configuration of libgee 0.6.6.1:";;
1422    esac
1423   cat <<\_ACEOF
1424
1425 Optional Features:
1426   --disable-option-checking  ignore unrecognized --enable/--with options
1427   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1428   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1429   --enable-silent-rules          less verbose build output (undo: `make V=1')
1430   --disable-silent-rules         verbose build output (undo: `make V=0')
1431   --disable-dependency-tracking  speeds up one-time build
1432   --enable-dependency-tracking   do not reject slow dependency extractors
1433   --enable-static[=PKGS]  build static libraries [default=no]
1434   --enable-shared[=PKGS]  build shared libraries [default=yes]
1435   --enable-fast-install[=PKGS]
1436                           optimize for fast installation [default=yes]
1437   --disable-libtool-lock  avoid locking (might break parallel builds)
1438   --enable-doc            Enable documentation generation
1439   --enable-coverage       compile with coverage profiling and debug (gcc only)
1440   --enable-benchmark      Enable benchmark
1441   --enable-introspection=[no/auto/yes]
1442                           Enable introspection for this build
1443
1444 Optional Packages:
1445   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1446   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1447   --with-pic[=PKGS]       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
1453 Some influential environment variables:
1454   CC          C compiler command
1455   CFLAGS      C compiler flags
1456   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1457               nonstandard directory <lib dir>
1458   LIBS        libraries to pass to the linker, e.g. -l<library>
1459   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1460               you have headers in a nonstandard directory <include dir>
1461   CPP         C preprocessor
1462   PKG_CONFIG  path to pkg-config utility
1463   PKG_CONFIG_PATH
1464               directories to add to pkg-config's search path
1465   PKG_CONFIG_LIBDIR
1466               path overriding pkg-config's built-in search path
1467   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1468   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1469
1470 Use these variables to override the choices made by `configure' or to help
1471 it to find libraries and programs with nonstandard names/locations.
1472
1473 Report bugs to <ptitjes@free.fr>.
1474 _ACEOF
1475 ac_status=$?
1476 fi
1477
1478 if test "$ac_init_help" = "recursive"; then
1479   # If there are subdirs, report their specific --help.
1480   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1481     test -d "$ac_dir" ||
1482       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1483       continue
1484     ac_builddir=.
1485
1486 case "$ac_dir" in
1487 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488 *)
1489   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1490   # A ".." for each directory in $ac_dir_suffix.
1491   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1492   case $ac_top_builddir_sub in
1493   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1494   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1495   esac ;;
1496 esac
1497 ac_abs_top_builddir=$ac_pwd
1498 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1499 # for backward compatibility:
1500 ac_top_builddir=$ac_top_build_prefix
1501
1502 case $srcdir in
1503   .)  # We are building in place.
1504     ac_srcdir=.
1505     ac_top_srcdir=$ac_top_builddir_sub
1506     ac_abs_top_srcdir=$ac_pwd ;;
1507   [\\/]* | ?:[\\/]* )  # Absolute name.
1508     ac_srcdir=$srcdir$ac_dir_suffix;
1509     ac_top_srcdir=$srcdir
1510     ac_abs_top_srcdir=$srcdir ;;
1511   *) # Relative name.
1512     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1513     ac_top_srcdir=$ac_top_build_prefix$srcdir
1514     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1515 esac
1516 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1517
1518     cd "$ac_dir" || { ac_status=$?; continue; }
1519     # Check for guested configure.
1520     if test -f "$ac_srcdir/configure.gnu"; then
1521       echo &&
1522       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1523     elif test -f "$ac_srcdir/configure"; then
1524       echo &&
1525       $SHELL "$ac_srcdir/configure" --help=recursive
1526     else
1527       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1528     fi || ac_status=$?
1529     cd "$ac_pwd" || { ac_status=$?; break; }
1530   done
1531 fi
1532
1533 test -n "$ac_init_help" && exit $ac_status
1534 if $ac_init_version; then
1535   cat <<\_ACEOF
1536 libgee configure 0.6.6.1
1537 generated by GNU Autoconf 2.69
1538
1539 Copyright (C) 2012 Free Software Foundation, Inc.
1540 This configure script is free software; the Free Software Foundation
1541 gives unlimited permission to copy, distribute and modify it.
1542 _ACEOF
1543   exit
1544 fi
1545
1546 ## ------------------------ ##
1547 ## Autoconf initialization. ##
1548 ## ------------------------ ##
1549
1550 # ac_fn_c_try_compile LINENO
1551 # --------------------------
1552 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1553 ac_fn_c_try_compile ()
1554 {
1555   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1556   rm -f conftest.$ac_objext
1557   if { { ac_try="$ac_compile"
1558 case "(($ac_try" in
1559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1560   *) ac_try_echo=$ac_try;;
1561 esac
1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564   (eval "$ac_compile") 2>conftest.err
1565   ac_status=$?
1566   if test -s conftest.err; then
1567     grep -v '^ *+' conftest.err >conftest.er1
1568     cat conftest.er1 >&5
1569     mv -f conftest.er1 conftest.err
1570   fi
1571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572   test $ac_status = 0; } && {
1573          test -z "$ac_c_werror_flag" ||
1574          test ! -s conftest.err
1575        } && test -s conftest.$ac_objext; then :
1576   ac_retval=0
1577 else
1578   $as_echo "$as_me: failed program was:" >&5
1579 sed 's/^/| /' conftest.$ac_ext >&5
1580
1581         ac_retval=1
1582 fi
1583   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1584   as_fn_set_status $ac_retval
1585
1586 } # ac_fn_c_try_compile
1587
1588 # ac_fn_c_try_link LINENO
1589 # -----------------------
1590 # Try to link conftest.$ac_ext, and return whether this succeeded.
1591 ac_fn_c_try_link ()
1592 {
1593   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594   rm -f conftest.$ac_objext conftest$ac_exeext
1595   if { { ac_try="$ac_link"
1596 case "(($ac_try" in
1597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1598   *) ac_try_echo=$ac_try;;
1599 esac
1600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601 $as_echo "$ac_try_echo"; } >&5
1602   (eval "$ac_link") 2>conftest.err
1603   ac_status=$?
1604   if test -s conftest.err; then
1605     grep -v '^ *+' conftest.err >conftest.er1
1606     cat conftest.er1 >&5
1607     mv -f conftest.er1 conftest.err
1608   fi
1609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610   test $ac_status = 0; } && {
1611          test -z "$ac_c_werror_flag" ||
1612          test ! -s conftest.err
1613        } && test -s conftest$ac_exeext && {
1614          test "$cross_compiling" = yes ||
1615          test -x conftest$ac_exeext
1616        }; then :
1617   ac_retval=0
1618 else
1619   $as_echo "$as_me: failed program was:" >&5
1620 sed 's/^/| /' conftest.$ac_ext >&5
1621
1622         ac_retval=1
1623 fi
1624   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1625   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1626   # interfere with the next link command; also delete a directory that is
1627   # left behind by Apple's compiler.  We do this before executing the actions.
1628   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630   as_fn_set_status $ac_retval
1631
1632 } # ac_fn_c_try_link
1633
1634 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1635 # -------------------------------------------------------
1636 # Tests whether HEADER exists and can be compiled using the include files in
1637 # INCLUDES, setting the cache variable VAR accordingly.
1638 ac_fn_c_check_header_compile ()
1639 {
1640   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1642 $as_echo_n "checking for $2... " >&6; }
1643 if eval \${$3+:} false; then :
1644   $as_echo_n "(cached) " >&6
1645 else
1646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1647 /* end confdefs.h.  */
1648 $4
1649 #include <$2>
1650 _ACEOF
1651 if ac_fn_c_try_compile "$LINENO"; then :
1652   eval "$3=yes"
1653 else
1654   eval "$3=no"
1655 fi
1656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1657 fi
1658 eval ac_res=\$$3
1659                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1660 $as_echo "$ac_res" >&6; }
1661   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662
1663 } # ac_fn_c_check_header_compile
1664
1665 # ac_fn_c_try_cpp LINENO
1666 # ----------------------
1667 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1668 ac_fn_c_try_cpp ()
1669 {
1670   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671   if { { ac_try="$ac_cpp conftest.$ac_ext"
1672 case "(($ac_try" in
1673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674   *) ac_try_echo=$ac_try;;
1675 esac
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1679   ac_status=$?
1680   if test -s conftest.err; then
1681     grep -v '^ *+' conftest.err >conftest.er1
1682     cat conftest.er1 >&5
1683     mv -f conftest.er1 conftest.err
1684   fi
1685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686   test $ac_status = 0; } > conftest.i && {
1687          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1688          test ! -s conftest.err
1689        }; then :
1690   ac_retval=0
1691 else
1692   $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1694
1695     ac_retval=1
1696 fi
1697   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698   as_fn_set_status $ac_retval
1699
1700 } # ac_fn_c_try_cpp
1701
1702 # ac_fn_c_try_run LINENO
1703 # ----------------------
1704 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1705 # that executables *can* be run.
1706 ac_fn_c_try_run ()
1707 {
1708   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709   if { { ac_try="$ac_link"
1710 case "(($ac_try" in
1711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712   *) ac_try_echo=$ac_try;;
1713 esac
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716   (eval "$ac_link") 2>&5
1717   ac_status=$?
1718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1720   { { case "(($ac_try" in
1721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722   *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726   (eval "$ac_try") 2>&5
1727   ac_status=$?
1728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729   test $ac_status = 0; }; }; then :
1730   ac_retval=0
1731 else
1732   $as_echo "$as_me: program exited with status $ac_status" >&5
1733        $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1735
1736        ac_retval=$ac_status
1737 fi
1738   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1739   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740   as_fn_set_status $ac_retval
1741
1742 } # ac_fn_c_try_run
1743
1744 # ac_fn_c_check_func LINENO FUNC VAR
1745 # ----------------------------------
1746 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1747 ac_fn_c_check_func ()
1748 {
1749   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1751 $as_echo_n "checking for $2... " >&6; }
1752 if eval \${$3+:} false; then :
1753   $as_echo_n "(cached) " >&6
1754 else
1755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756 /* end confdefs.h.  */
1757 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1758    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1759 #define $2 innocuous_$2
1760
1761 /* System header to define __stub macros and hopefully few prototypes,
1762     which can conflict with char $2 (); below.
1763     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1764     <limits.h> exists even on freestanding compilers.  */
1765
1766 #ifdef __STDC__
1767 # include <limits.h>
1768 #else
1769 # include <assert.h>
1770 #endif
1771
1772 #undef $2
1773
1774 /* Override any GCC internal prototype to avoid an error.
1775    Use char because int might match the return type of a GCC
1776    builtin and then its argument prototype would still apply.  */
1777 #ifdef __cplusplus
1778 extern "C"
1779 #endif
1780 char $2 ();
1781 /* The GNU C library defines this for functions which it implements
1782     to always fail with ENOSYS.  Some functions are actually named
1783     something starting with __ and the normal name is an alias.  */
1784 #if defined __stub_$2 || defined __stub___$2
1785 choke me
1786 #endif
1787
1788 int
1789 main ()
1790 {
1791 return $2 ();
1792   ;
1793   return 0;
1794 }
1795 _ACEOF
1796 if ac_fn_c_try_link "$LINENO"; then :
1797   eval "$3=yes"
1798 else
1799   eval "$3=no"
1800 fi
1801 rm -f core conftest.err conftest.$ac_objext \
1802     conftest$ac_exeext conftest.$ac_ext
1803 fi
1804 eval ac_res=\$$3
1805                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806 $as_echo "$ac_res" >&6; }
1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808
1809 } # ac_fn_c_check_func
1810 cat >config.log <<_ACEOF
1811 This file contains any messages produced by compilers while
1812 running configure, to aid debugging if configure makes a mistake.
1813
1814 It was created by libgee $as_me 0.6.6.1, which was
1815 generated by GNU Autoconf 2.69.  Invocation command line was
1816
1817   $ $0 $@
1818
1819 _ACEOF
1820 exec 5>>config.log
1821 {
1822 cat <<_ASUNAME
1823 ## --------- ##
1824 ## Platform. ##
1825 ## --------- ##
1826
1827 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1828 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1829 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1830 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1831 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1832
1833 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1834 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1835
1836 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1837 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1838 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1839 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1840 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1841 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1842 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1843
1844 _ASUNAME
1845
1846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 for as_dir in $PATH
1848 do
1849   IFS=$as_save_IFS
1850   test -z "$as_dir" && as_dir=.
1851     $as_echo "PATH: $as_dir"
1852   done
1853 IFS=$as_save_IFS
1854
1855 } >&5
1856
1857 cat >&5 <<_ACEOF
1858
1859
1860 ## ----------- ##
1861 ## Core tests. ##
1862 ## ----------- ##
1863
1864 _ACEOF
1865
1866
1867 # Keep a trace of the command line.
1868 # Strip out --no-create and --no-recursion so they do not pile up.
1869 # Strip out --silent because we don't want to record it for future runs.
1870 # Also quote any args containing shell meta-characters.
1871 # Make two passes to allow for proper duplicate-argument suppression.
1872 ac_configure_args=
1873 ac_configure_args0=
1874 ac_configure_args1=
1875 ac_must_keep_next=false
1876 for ac_pass in 1 2
1877 do
1878   for ac_arg
1879   do
1880     case $ac_arg in
1881     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1882     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1883     | -silent | --silent | --silen | --sile | --sil)
1884       continue ;;
1885     *\'*)
1886       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1887     esac
1888     case $ac_pass in
1889     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1890     2)
1891       as_fn_append ac_configure_args1 " '$ac_arg'"
1892       if test $ac_must_keep_next = true; then
1893         ac_must_keep_next=false # Got value, back to normal.
1894       else
1895         case $ac_arg in
1896           *=* | --config-cache | -C | -disable-* | --disable-* \
1897           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1898           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1899           | -with-* | --with-* | -without-* | --without-* | --x)
1900             case "$ac_configure_args0 " in
1901               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1902             esac
1903             ;;
1904           -* ) ac_must_keep_next=true ;;
1905         esac
1906       fi
1907       as_fn_append ac_configure_args " '$ac_arg'"
1908       ;;
1909     esac
1910   done
1911 done
1912 { ac_configure_args0=; unset ac_configure_args0;}
1913 { ac_configure_args1=; unset ac_configure_args1;}
1914
1915 # When interrupted or exit'd, cleanup temporary files, and complete
1916 # config.log.  We remove comments because anyway the quotes in there
1917 # would cause problems or look ugly.
1918 # WARNING: Use '\'' to represent an apostrophe within the trap.
1919 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1920 trap 'exit_status=$?
1921   # Save into config.log some information that might help in debugging.
1922   {
1923     echo
1924
1925     $as_echo "## ---------------- ##
1926 ## Cache variables. ##
1927 ## ---------------- ##"
1928     echo
1929     # The following way of writing the cache mishandles newlines in values,
1930 (
1931   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1932     eval ac_val=\$$ac_var
1933     case $ac_val in #(
1934     *${as_nl}*)
1935       case $ac_var in #(
1936       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1937 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1938       esac
1939       case $ac_var in #(
1940       _ | IFS | as_nl) ;; #(
1941       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1942       *) { eval $ac_var=; unset $ac_var;} ;;
1943       esac ;;
1944     esac
1945   done
1946   (set) 2>&1 |
1947     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1948     *${as_nl}ac_space=\ *)
1949       sed -n \
1950         "s/'\''/'\''\\\\'\'''\''/g;
1951           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1952       ;; #(
1953     *)
1954       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1955       ;;
1956     esac |
1957     sort
1958 )
1959     echo
1960
1961     $as_echo "## ----------------- ##
1962 ## Output variables. ##
1963 ## ----------------- ##"
1964     echo
1965     for ac_var in $ac_subst_vars
1966     do
1967       eval ac_val=\$$ac_var
1968       case $ac_val in
1969       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1970       esac
1971       $as_echo "$ac_var='\''$ac_val'\''"
1972     done | sort
1973     echo
1974
1975     if test -n "$ac_subst_files"; then
1976       $as_echo "## ------------------- ##
1977 ## File substitutions. ##
1978 ## ------------------- ##"
1979       echo
1980       for ac_var in $ac_subst_files
1981       do
1982         eval ac_val=\$$ac_var
1983         case $ac_val in
1984         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1985         esac
1986         $as_echo "$ac_var='\''$ac_val'\''"
1987       done | sort
1988       echo
1989     fi
1990
1991     if test -s confdefs.h; then
1992       $as_echo "## ----------- ##
1993 ## confdefs.h. ##
1994 ## ----------- ##"
1995       echo
1996       cat confdefs.h
1997       echo
1998     fi
1999     test "$ac_signal" != 0 &&
2000       $as_echo "$as_me: caught signal $ac_signal"
2001     $as_echo "$as_me: exit $exit_status"
2002   } >&5
2003   rm -f core *.core core.conftest.* &&
2004     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2005     exit $exit_status
2006 ' 0
2007 for ac_signal in 1 2 13 15; do
2008   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2009 done
2010 ac_signal=0
2011
2012 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2013 rm -f -r conftest* confdefs.h
2014
2015 $as_echo "/* confdefs.h */" > confdefs.h
2016
2017 # Predefined preprocessor variables.
2018
2019 cat >>confdefs.h <<_ACEOF
2020 #define PACKAGE_NAME "$PACKAGE_NAME"
2021 _ACEOF
2022
2023 cat >>confdefs.h <<_ACEOF
2024 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2025 _ACEOF
2026
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2029 _ACEOF
2030
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_STRING "$PACKAGE_STRING"
2033 _ACEOF
2034
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2037 _ACEOF
2038
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_URL "$PACKAGE_URL"
2041 _ACEOF
2042
2043
2044 # Let the site file select an alternate cache file if it wants to.
2045 # Prefer an explicitly selected file to automatically selected ones.
2046 ac_site_file1=NONE
2047 ac_site_file2=NONE
2048 if test -n "$CONFIG_SITE"; then
2049   # We do not want a PATH search for config.site.
2050   case $CONFIG_SITE in #((
2051     -*)  ac_site_file1=./$CONFIG_SITE;;
2052     */*) ac_site_file1=$CONFIG_SITE;;
2053     *)   ac_site_file1=./$CONFIG_SITE;;
2054   esac
2055 elif test "x$prefix" != xNONE; then
2056   ac_site_file1=$prefix/share/config.site
2057   ac_site_file2=$prefix/etc/config.site
2058 else
2059   ac_site_file1=$ac_default_prefix/share/config.site
2060   ac_site_file2=$ac_default_prefix/etc/config.site
2061 fi
2062 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2063 do
2064   test "x$ac_site_file" = xNONE && continue
2065   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2066     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2067 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2068     sed 's/^/| /' "$ac_site_file" >&5
2069     . "$ac_site_file" \
2070       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2072 as_fn_error $? "failed to load site script $ac_site_file
2073 See \`config.log' for more details" "$LINENO" 5; }
2074   fi
2075 done
2076
2077 if test -r "$cache_file"; then
2078   # Some versions of bash will fail to source /dev/null (special files
2079   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2080   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2081     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2082 $as_echo "$as_me: loading cache $cache_file" >&6;}
2083     case $cache_file in
2084       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2085       *)                      . "./$cache_file";;
2086     esac
2087   fi
2088 else
2089   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2090 $as_echo "$as_me: creating cache $cache_file" >&6;}
2091   >$cache_file
2092 fi
2093
2094 # Check that the precious variables saved in the cache have kept the same
2095 # value.
2096 ac_cache_corrupted=false
2097 for ac_var in $ac_precious_vars; do
2098   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2099   eval ac_new_set=\$ac_env_${ac_var}_set
2100   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2101   eval ac_new_val=\$ac_env_${ac_var}_value
2102   case $ac_old_set,$ac_new_set in
2103     set,)
2104       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2105 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2106       ac_cache_corrupted=: ;;
2107     ,set)
2108       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2109 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2110       ac_cache_corrupted=: ;;
2111     ,);;
2112     *)
2113       if test "x$ac_old_val" != "x$ac_new_val"; then
2114         # differences in whitespace do not lead to failure.
2115         ac_old_val_w=`echo x $ac_old_val`
2116         ac_new_val_w=`echo x $ac_new_val`
2117         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2118           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2119 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2120           ac_cache_corrupted=:
2121         else
2122           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2123 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2124           eval $ac_var=\$ac_old_val
2125         fi
2126         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2127 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2128         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2129 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2130       fi;;
2131   esac
2132   # Pass precious variables to config.status.
2133   if test "$ac_new_set" = set; then
2134     case $ac_new_val in
2135     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2136     *) ac_arg=$ac_var=$ac_new_val ;;
2137     esac
2138     case " $ac_configure_args " in
2139       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2140       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2141     esac
2142   fi
2143 done
2144 if $ac_cache_corrupted; then
2145   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2147   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2148 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2149   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2150 fi
2151 ## -------------------- ##
2152 ## Main body of script. ##
2153 ## -------------------- ##
2154
2155 ac_ext=c
2156 ac_cpp='$CPP $CPPFLAGS'
2157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2160
2161
2162
2163 ac_config_headers="$ac_config_headers config.h"
2164
2165
2166 am__api_version='1.11'
2167
2168 ac_aux_dir=
2169 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2170   if test -f "$ac_dir/install-sh"; then
2171     ac_aux_dir=$ac_dir
2172     ac_install_sh="$ac_aux_dir/install-sh -c"
2173     break
2174   elif test -f "$ac_dir/install.sh"; then
2175     ac_aux_dir=$ac_dir
2176     ac_install_sh="$ac_aux_dir/install.sh -c"
2177     break
2178   elif test -f "$ac_dir/shtool"; then
2179     ac_aux_dir=$ac_dir
2180     ac_install_sh="$ac_aux_dir/shtool install -c"
2181     break
2182   fi
2183 done
2184 if test -z "$ac_aux_dir"; then
2185   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2186 fi
2187
2188 # These three variables are undocumented and unsupported,
2189 # and are intended to be withdrawn in a future Autoconf release.
2190 # They can cause serious problems if a builder's source tree is in a directory
2191 # whose full name contains unusual characters.
2192 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2193 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2194 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2195
2196
2197 # Find a good install program.  We prefer a C program (faster),
2198 # so one script is as good as another.  But avoid the broken or
2199 # incompatible versions:
2200 # SysV /etc/install, /usr/sbin/install
2201 # SunOS /usr/etc/install
2202 # IRIX /sbin/install
2203 # AIX /bin/install
2204 # AmigaOS /C/install, which installs bootblocks on floppy discs
2205 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2206 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2207 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2208 # OS/2's system install, which has a completely different semantic
2209 # ./install, which can be erroneously created by make from ./install.sh.
2210 # Reject install programs that cannot install multiple files.
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2212 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2213 if test -z "$INSTALL"; then
2214 if ${ac_cv_path_install+:} false; then :
2215   $as_echo_n "(cached) " >&6
2216 else
2217   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218 for as_dir in $PATH
2219 do
2220   IFS=$as_save_IFS
2221   test -z "$as_dir" && as_dir=.
2222     # Account for people who put trailing slashes in PATH elements.
2223 case $as_dir/ in #((
2224   ./ | .// | /[cC]/* | \
2225   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2226   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2227   /usr/ucb/* ) ;;
2228   *)
2229     # OSF1 and SCO ODT 3.0 have their own names for install.
2230     # Don't use installbsd from OSF since it installs stuff as root
2231     # by default.
2232     for ac_prog in ginstall scoinst install; do
2233       for ac_exec_ext in '' $ac_executable_extensions; do
2234         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2235           if test $ac_prog = install &&
2236             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2237             # AIX install.  It has an incompatible calling convention.
2238             :
2239           elif test $ac_prog = install &&
2240             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2241             # program-specific install script used by HP pwplus--don't use.
2242             :
2243           else
2244             rm -rf conftest.one conftest.two conftest.dir
2245             echo one > conftest.one
2246             echo two > conftest.two
2247             mkdir conftest.dir
2248             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2249               test -s conftest.one && test -s conftest.two &&
2250               test -s conftest.dir/conftest.one &&
2251               test -s conftest.dir/conftest.two
2252             then
2253               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2254               break 3
2255             fi
2256           fi
2257         fi
2258       done
2259     done
2260     ;;
2261 esac
2262
2263   done
2264 IFS=$as_save_IFS
2265
2266 rm -rf conftest.one conftest.two conftest.dir
2267
2268 fi
2269   if test "${ac_cv_path_install+set}" = set; then
2270     INSTALL=$ac_cv_path_install
2271   else
2272     # As a last resort, use the slow shell script.  Don't cache a
2273     # value for INSTALL within a source directory, because that will
2274     # break other packages using the cache if that directory is
2275     # removed, or if the value is a relative name.
2276     INSTALL=$ac_install_sh
2277   fi
2278 fi
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2280 $as_echo "$INSTALL" >&6; }
2281
2282 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2283 # It thinks the first close brace ends the variable substitution.
2284 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2285
2286 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2287
2288 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2289
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2291 $as_echo_n "checking whether build environment is sane... " >&6; }
2292 # Just in case
2293 sleep 1
2294 echo timestamp > conftest.file
2295 # Reject unsafe characters in $srcdir or the absolute working directory
2296 # name.  Accept space and tab only in the latter.
2297 am_lf='
2298 '
2299 case `pwd` in
2300   *[\\\"\#\$\&\'\`$am_lf]*)
2301     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2302 esac
2303 case $srcdir in
2304   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2305     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2306 esac
2307
2308 # Do `set' in a subshell so we don't clobber the current shell's
2309 # arguments.  Must try -L first in case configure is actually a
2310 # symlink; some systems play weird games with the mod time of symlinks
2311 # (eg FreeBSD returns the mod time of the symlink's containing
2312 # directory).
2313 if (
2314    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2315    if test "$*" = "X"; then
2316       # -L didn't work.
2317       set X `ls -t "$srcdir/configure" conftest.file`
2318    fi
2319    rm -f conftest.file
2320    if test "$*" != "X $srcdir/configure conftest.file" \
2321       && test "$*" != "X conftest.file $srcdir/configure"; then
2322
2323       # If neither matched, then we have a broken ls.  This can happen
2324       # if, for instance, CONFIG_SHELL is bash and it inherits a
2325       # broken ls alias from the environment.  This has actually
2326       # happened.  Such a system could not be considered "sane".
2327       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2328 alias in your environment" "$LINENO" 5
2329    fi
2330
2331    test "$2" = conftest.file
2332    )
2333 then
2334    # Ok.
2335    :
2336 else
2337    as_fn_error $? "newly created file is older than distributed files!
2338 Check your system clock" "$LINENO" 5
2339 fi
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2341 $as_echo "yes" >&6; }
2342 test "$program_prefix" != NONE &&
2343   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2344 # Use a double $ so make ignores it.
2345 test "$program_suffix" != NONE &&
2346   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2347 # Double any \ or $.
2348 # By default was `s,x,x', remove it if useless.
2349 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2350 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2351
2352 # expand $ac_aux_dir to an absolute path
2353 am_aux_dir=`cd $ac_aux_dir && pwd`
2354
2355 if test x"${MISSING+set}" != xset; then
2356   case $am_aux_dir in
2357   *\ * | *\     *)
2358     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2359   *)
2360     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2361   esac
2362 fi
2363 # Use eval to expand $SHELL
2364 if eval "$MISSING --run true"; then
2365   am_missing_run="$MISSING --run "
2366 else
2367   am_missing_run=
2368   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2369 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2370 fi
2371
2372 if test x"${install_sh}" != xset; then
2373   case $am_aux_dir in
2374   *\ * | *\     *)
2375     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2376   *)
2377     install_sh="\${SHELL} $am_aux_dir/install-sh"
2378   esac
2379 fi
2380
2381 # Installed binaries are usually stripped using `strip' when the user
2382 # run `make install-strip'.  However `strip' might not be the right
2383 # tool to use in cross-compilation environments, therefore Automake
2384 # will honor the `STRIP' environment variable to overrule this program.
2385 if test "$cross_compiling" != no; then
2386   if test -n "$ac_tool_prefix"; then
2387   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2388 set dummy ${ac_tool_prefix}strip; ac_word=$2
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2390 $as_echo_n "checking for $ac_word... " >&6; }
2391 if ${ac_cv_prog_STRIP+:} false; then :
2392   $as_echo_n "(cached) " >&6
2393 else
2394   if test -n "$STRIP"; then
2395   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2396 else
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 for as_dir in $PATH
2399 do
2400   IFS=$as_save_IFS
2401   test -z "$as_dir" && as_dir=.
2402     for ac_exec_ext in '' $ac_executable_extensions; do
2403   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2404     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2406     break 2
2407   fi
2408 done
2409   done
2410 IFS=$as_save_IFS
2411
2412 fi
2413 fi
2414 STRIP=$ac_cv_prog_STRIP
2415 if test -n "$STRIP"; then
2416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2417 $as_echo "$STRIP" >&6; }
2418 else
2419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2420 $as_echo "no" >&6; }
2421 fi
2422
2423
2424 fi
2425 if test -z "$ac_cv_prog_STRIP"; then
2426   ac_ct_STRIP=$STRIP
2427   # Extract the first word of "strip", so it can be a program name with args.
2428 set dummy strip; ac_word=$2
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2430 $as_echo_n "checking for $ac_word... " >&6; }
2431 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2432   $as_echo_n "(cached) " >&6
2433 else
2434   if test -n "$ac_ct_STRIP"; then
2435   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2436 else
2437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438 for as_dir in $PATH
2439 do
2440   IFS=$as_save_IFS
2441   test -z "$as_dir" && as_dir=.
2442     for ac_exec_ext in '' $ac_executable_extensions; do
2443   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2444     ac_cv_prog_ac_ct_STRIP="strip"
2445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2446     break 2
2447   fi
2448 done
2449   done
2450 IFS=$as_save_IFS
2451
2452 fi
2453 fi
2454 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2455 if test -n "$ac_ct_STRIP"; then
2456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2457 $as_echo "$ac_ct_STRIP" >&6; }
2458 else
2459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2460 $as_echo "no" >&6; }
2461 fi
2462
2463   if test "x$ac_ct_STRIP" = x; then
2464     STRIP=":"
2465   else
2466     case $cross_compiling:$ac_tool_warned in
2467 yes:)
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2470 ac_tool_warned=yes ;;
2471 esac
2472     STRIP=$ac_ct_STRIP
2473   fi
2474 else
2475   STRIP="$ac_cv_prog_STRIP"
2476 fi
2477
2478 fi
2479 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2480
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2482 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2483 if test -z "$MKDIR_P"; then
2484   if ${ac_cv_path_mkdir+:} false; then :
2485   $as_echo_n "(cached) " >&6
2486 else
2487   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2489 do
2490   IFS=$as_save_IFS
2491   test -z "$as_dir" && as_dir=.
2492     for ac_prog in mkdir gmkdir; do
2493          for ac_exec_ext in '' $ac_executable_extensions; do
2494            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2495            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2496              'mkdir (GNU coreutils) '* | \
2497              'mkdir (coreutils) '* | \
2498              'mkdir (fileutils) '4.1*)
2499                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2500                break 3;;
2501            esac
2502          done
2503        done
2504   done
2505 IFS=$as_save_IFS
2506
2507 fi
2508
2509   test -d ./--version && rmdir ./--version
2510   if test "${ac_cv_path_mkdir+set}" = set; then
2511     MKDIR_P="$ac_cv_path_mkdir -p"
2512   else
2513     # As a last resort, use the slow shell script.  Don't cache a
2514     # value for MKDIR_P within a source directory, because that will
2515     # break other packages using the cache if that directory is
2516     # removed, or if the value is a relative name.
2517     MKDIR_P="$ac_install_sh -d"
2518   fi
2519 fi
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2521 $as_echo "$MKDIR_P" >&6; }
2522
2523 mkdir_p="$MKDIR_P"
2524 case $mkdir_p in
2525   [\\/$]* | ?:[\\/]*) ;;
2526   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2527 esac
2528
2529 for ac_prog in gawk mawk nawk awk
2530 do
2531   # Extract the first word of "$ac_prog", so it can be a program name with args.
2532 set dummy $ac_prog; ac_word=$2
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2534 $as_echo_n "checking for $ac_word... " >&6; }
2535 if ${ac_cv_prog_AWK+:} false; then :
2536   $as_echo_n "(cached) " >&6
2537 else
2538   if test -n "$AWK"; then
2539   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2540 else
2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542 for as_dir in $PATH
2543 do
2544   IFS=$as_save_IFS
2545   test -z "$as_dir" && as_dir=.
2546     for ac_exec_ext in '' $ac_executable_extensions; do
2547   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548     ac_cv_prog_AWK="$ac_prog"
2549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550     break 2
2551   fi
2552 done
2553   done
2554 IFS=$as_save_IFS
2555
2556 fi
2557 fi
2558 AWK=$ac_cv_prog_AWK
2559 if test -n "$AWK"; then
2560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2561 $as_echo "$AWK" >&6; }
2562 else
2563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2564 $as_echo "no" >&6; }
2565 fi
2566
2567
2568   test -n "$AWK" && break
2569 done
2570
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2572 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2573 set x ${MAKE-make}
2574 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2575 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2576   $as_echo_n "(cached) " >&6
2577 else
2578   cat >conftest.make <<\_ACEOF
2579 SHELL = /bin/sh
2580 all:
2581         @echo '@@@%%%=$(MAKE)=@@@%%%'
2582 _ACEOF
2583 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2584 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2585   *@@@%%%=?*=@@@%%%*)
2586     eval ac_cv_prog_make_${ac_make}_set=yes;;
2587   *)
2588     eval ac_cv_prog_make_${ac_make}_set=no;;
2589 esac
2590 rm -f conftest.make
2591 fi
2592 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2594 $as_echo "yes" >&6; }
2595   SET_MAKE=
2596 else
2597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598 $as_echo "no" >&6; }
2599   SET_MAKE="MAKE=${MAKE-make}"
2600 fi
2601
2602 rm -rf .tst 2>/dev/null
2603 mkdir .tst 2>/dev/null
2604 if test -d .tst; then
2605   am__leading_dot=.
2606 else
2607   am__leading_dot=_
2608 fi
2609 rmdir .tst 2>/dev/null
2610
2611 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2612   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2613   # is not polluted with repeated "-I."
2614   am__isrc=' -I$(srcdir)'
2615   # test to see if srcdir already configured
2616   if test -f $srcdir/config.status; then
2617     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2618   fi
2619 fi
2620
2621 # test whether we have cygpath
2622 if test -z "$CYGPATH_W"; then
2623   if (cygpath --version) >/dev/null 2>/dev/null; then
2624     CYGPATH_W='cygpath -w'
2625   else
2626     CYGPATH_W=echo
2627   fi
2628 fi
2629
2630
2631 # Define the identity of the package.
2632  PACKAGE='libgee'
2633  VERSION='0.6.6.1'
2634
2635
2636 cat >>confdefs.h <<_ACEOF
2637 #define PACKAGE "$PACKAGE"
2638 _ACEOF
2639
2640
2641 cat >>confdefs.h <<_ACEOF
2642 #define VERSION "$VERSION"
2643 _ACEOF
2644
2645 # Some tools Automake needs.
2646
2647 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2648
2649
2650 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2651
2652
2653 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2654
2655
2656 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2657
2658
2659 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2660
2661 # We need awk for the "check" target.  The system "awk" is bad on
2662 # some platforms.
2663 # Always define AMTAR for backward compatibility.  Yes, it's still used
2664 # in the wild :-(  We should find a proper way to deprecate it ...
2665 AMTAR='$${TAR-tar}'
2666
2667 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2668
2669
2670
2671
2672
2673 # Check whether --enable-silent-rules was given.
2674 if test "${enable_silent_rules+set}" = set; then :
2675   enableval=$enable_silent_rules;
2676 fi
2677
2678 case $enable_silent_rules in
2679 yes) AM_DEFAULT_VERBOSITY=0;;
2680 no)  AM_DEFAULT_VERBOSITY=1;;
2681 *)   AM_DEFAULT_VERBOSITY=0;;
2682 esac
2683 am_make=${MAKE-make}
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2685 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2686 if ${am_cv_make_support_nested_variables+:} false; then :
2687   $as_echo_n "(cached) " >&6
2688 else
2689   if $as_echo 'TRUE=$(BAR$(V))
2690 BAR0=false
2691 BAR1=true
2692 V=1
2693 am__doit:
2694         @$(TRUE)
2695 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2696   am_cv_make_support_nested_variables=yes
2697 else
2698   am_cv_make_support_nested_variables=no
2699 fi
2700 fi
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2702 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2703 if test $am_cv_make_support_nested_variables = yes; then
2704     AM_V='$(V)'
2705   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2706 else
2707   AM_V=$AM_DEFAULT_VERBOSITY
2708   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2709 fi
2710 AM_BACKSLASH='\'
2711
2712
2713 # Checks for programs.
2714 ac_ext=c
2715 ac_cpp='$CPP $CPPFLAGS'
2716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2719 if test -n "$ac_tool_prefix"; then
2720   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2721 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if ${ac_cv_prog_CC+:} false; then :
2725   $as_echo_n "(cached) " >&6
2726 else
2727   if test -n "$CC"; then
2728   ac_cv_prog_CC="$CC" # Let the user override the test.
2729 else
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 for as_dir in $PATH
2732 do
2733   IFS=$as_save_IFS
2734   test -z "$as_dir" && as_dir=.
2735     for ac_exec_ext in '' $ac_executable_extensions; do
2736   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2737     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2739     break 2
2740   fi
2741 done
2742   done
2743 IFS=$as_save_IFS
2744
2745 fi
2746 fi
2747 CC=$ac_cv_prog_CC
2748 if test -n "$CC"; then
2749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2750 $as_echo "$CC" >&6; }
2751 else
2752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2754 fi
2755
2756
2757 fi
2758 if test -z "$ac_cv_prog_CC"; then
2759   ac_ct_CC=$CC
2760   # Extract the first word of "gcc", so it can be a program name with args.
2761 set dummy gcc; ac_word=$2
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2765   $as_echo_n "(cached) " >&6
2766 else
2767   if test -n "$ac_ct_CC"; then
2768   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2769 else
2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 for as_dir in $PATH
2772 do
2773   IFS=$as_save_IFS
2774   test -z "$as_dir" && as_dir=.
2775     for ac_exec_ext in '' $ac_executable_extensions; do
2776   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2777     ac_cv_prog_ac_ct_CC="gcc"
2778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2779     break 2
2780   fi
2781 done
2782   done
2783 IFS=$as_save_IFS
2784
2785 fi
2786 fi
2787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2788 if test -n "$ac_ct_CC"; then
2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2790 $as_echo "$ac_ct_CC" >&6; }
2791 else
2792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2794 fi
2795
2796   if test "x$ac_ct_CC" = x; then
2797     CC=""
2798   else
2799     case $cross_compiling:$ac_tool_warned in
2800 yes:)
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2803 ac_tool_warned=yes ;;
2804 esac
2805     CC=$ac_ct_CC
2806   fi
2807 else
2808   CC="$ac_cv_prog_CC"
2809 fi
2810
2811 if test -z "$CC"; then
2812           if test -n "$ac_tool_prefix"; then
2813     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2814 set dummy ${ac_tool_prefix}cc; ac_word=$2
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2816 $as_echo_n "checking for $ac_word... " >&6; }
2817 if ${ac_cv_prog_CC+:} false; then :
2818   $as_echo_n "(cached) " >&6
2819 else
2820   if test -n "$CC"; then
2821   ac_cv_prog_CC="$CC" # Let the user override the test.
2822 else
2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 for as_dir in $PATH
2825 do
2826   IFS=$as_save_IFS
2827   test -z "$as_dir" && as_dir=.
2828     for ac_exec_ext in '' $ac_executable_extensions; do
2829   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2830     ac_cv_prog_CC="${ac_tool_prefix}cc"
2831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2832     break 2
2833   fi
2834 done
2835   done
2836 IFS=$as_save_IFS
2837
2838 fi
2839 fi
2840 CC=$ac_cv_prog_CC
2841 if test -n "$CC"; then
2842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2843 $as_echo "$CC" >&6; }
2844 else
2845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2846 $as_echo "no" >&6; }
2847 fi
2848
2849
2850   fi
2851 fi
2852 if test -z "$CC"; then
2853   # Extract the first word of "cc", so it can be a program name with args.
2854 set dummy cc; ac_word=$2
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2856 $as_echo_n "checking for $ac_word... " >&6; }
2857 if ${ac_cv_prog_CC+:} false; then :
2858   $as_echo_n "(cached) " >&6
2859 else
2860   if test -n "$CC"; then
2861   ac_cv_prog_CC="$CC" # Let the user override the test.
2862 else
2863   ac_prog_rejected=no
2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2865 for as_dir in $PATH
2866 do
2867   IFS=$as_save_IFS
2868   test -z "$as_dir" && as_dir=.
2869     for ac_exec_ext in '' $ac_executable_extensions; do
2870   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2871     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2872        ac_prog_rejected=yes
2873        continue
2874      fi
2875     ac_cv_prog_CC="cc"
2876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2877     break 2
2878   fi
2879 done
2880   done
2881 IFS=$as_save_IFS
2882
2883 if test $ac_prog_rejected = yes; then
2884   # We found a bogon in the path, so make sure we never use it.
2885   set dummy $ac_cv_prog_CC
2886   shift
2887   if test $# != 0; then
2888     # We chose a different compiler from the bogus one.
2889     # However, it has the same basename, so the bogon will be chosen
2890     # first if we set CC to just the basename; use the full file name.
2891     shift
2892     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2893   fi
2894 fi
2895 fi
2896 fi
2897 CC=$ac_cv_prog_CC
2898 if test -n "$CC"; then
2899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2900 $as_echo "$CC" >&6; }
2901 else
2902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 $as_echo "no" >&6; }
2904 fi
2905
2906
2907 fi
2908 if test -z "$CC"; then
2909   if test -n "$ac_tool_prefix"; then
2910   for ac_prog in cl.exe
2911   do
2912     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2913 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915 $as_echo_n "checking for $ac_word... " >&6; }
2916 if ${ac_cv_prog_CC+:} false; then :
2917   $as_echo_n "(cached) " >&6
2918 else
2919   if test -n "$CC"; then
2920   ac_cv_prog_CC="$CC" # Let the user override the test.
2921 else
2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 for as_dir in $PATH
2924 do
2925   IFS=$as_save_IFS
2926   test -z "$as_dir" && as_dir=.
2927     for ac_exec_ext in '' $ac_executable_extensions; do
2928   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2931     break 2
2932   fi
2933 done
2934   done
2935 IFS=$as_save_IFS
2936
2937 fi
2938 fi
2939 CC=$ac_cv_prog_CC
2940 if test -n "$CC"; then
2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2942 $as_echo "$CC" >&6; }
2943 else
2944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2946 fi
2947
2948
2949     test -n "$CC" && break
2950   done
2951 fi
2952 if test -z "$CC"; then
2953   ac_ct_CC=$CC
2954   for ac_prog in cl.exe
2955 do
2956   # Extract the first word of "$ac_prog", so it can be a program name with args.
2957 set dummy $ac_prog; ac_word=$2
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959 $as_echo_n "checking for $ac_word... " >&6; }
2960 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2961   $as_echo_n "(cached) " >&6
2962 else
2963   if test -n "$ac_ct_CC"; then
2964   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2965 else
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 for as_dir in $PATH
2968 do
2969   IFS=$as_save_IFS
2970   test -z "$as_dir" && as_dir=.
2971     for ac_exec_ext in '' $ac_executable_extensions; do
2972   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2973     ac_cv_prog_ac_ct_CC="$ac_prog"
2974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2975     break 2
2976   fi
2977 done
2978   done
2979 IFS=$as_save_IFS
2980
2981 fi
2982 fi
2983 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2984 if test -n "$ac_ct_CC"; then
2985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2986 $as_echo "$ac_ct_CC" >&6; }
2987 else
2988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2990 fi
2991
2992
2993   test -n "$ac_ct_CC" && break
2994 done
2995
2996   if test "x$ac_ct_CC" = x; then
2997     CC=""
2998   else
2999     case $cross_compiling:$ac_tool_warned in
3000 yes:)
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3003 ac_tool_warned=yes ;;
3004 esac
3005     CC=$ac_ct_CC
3006   fi
3007 fi
3008
3009 fi
3010
3011
3012 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3014 as_fn_error $? "no acceptable C compiler found in \$PATH
3015 See \`config.log' for more details" "$LINENO" 5; }
3016
3017 # Provide some information about the compiler.
3018 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3019 set X $ac_compile
3020 ac_compiler=$2
3021 for ac_option in --version -v -V -qversion; do
3022   { { ac_try="$ac_compiler $ac_option >&5"
3023 case "(($ac_try" in
3024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025   *) ac_try_echo=$ac_try;;
3026 esac
3027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3028 $as_echo "$ac_try_echo"; } >&5
3029   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3030   ac_status=$?
3031   if test -s conftest.err; then
3032     sed '10a\
3033 ... rest of stderr output deleted ...
3034          10q' conftest.err >conftest.er1
3035     cat conftest.er1 >&5
3036   fi
3037   rm -f conftest.er1 conftest.err
3038   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3039   test $ac_status = 0; }
3040 done
3041
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h.  */
3044
3045 int
3046 main ()
3047 {
3048
3049   ;
3050   return 0;
3051 }
3052 _ACEOF
3053 ac_clean_files_save=$ac_clean_files
3054 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3055 # Try to create an executable without -o first, disregard a.out.
3056 # It will help us diagnose broken compilers, and finding out an intuition
3057 # of exeext.
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3059 $as_echo_n "checking whether the C compiler works... " >&6; }
3060 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3061
3062 # The possible output files:
3063 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3064
3065 ac_rmfiles=
3066 for ac_file in $ac_files
3067 do
3068   case $ac_file in
3069     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3070     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3071   esac
3072 done
3073 rm -f $ac_rmfiles
3074
3075 if { { ac_try="$ac_link_default"
3076 case "(($ac_try" in
3077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078   *) ac_try_echo=$ac_try;;
3079 esac
3080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3081 $as_echo "$ac_try_echo"; } >&5
3082   (eval "$ac_link_default") 2>&5
3083   ac_status=$?
3084   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3085   test $ac_status = 0; }; then :
3086   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3087 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3088 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3089 # so that the user can short-circuit this test for compilers unknown to
3090 # Autoconf.
3091 for ac_file in $ac_files ''
3092 do
3093   test -f "$ac_file" || continue
3094   case $ac_file in
3095     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3096         ;;
3097     [ab].out )
3098         # We found the default executable, but exeext='' is most
3099         # certainly right.
3100         break;;
3101     *.* )
3102         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3103         then :; else
3104            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3105         fi
3106         # We set ac_cv_exeext here because the later test for it is not
3107         # safe: cross compilers may not add the suffix if given an `-o'
3108         # argument, so we may need to know it at that point already.
3109         # Even if this section looks crufty: it has the advantage of
3110         # actually working.
3111         break;;
3112     * )
3113         break;;
3114   esac
3115 done
3116 test "$ac_cv_exeext" = no && ac_cv_exeext=
3117
3118 else
3119   ac_file=''
3120 fi
3121 if test -z "$ac_file"; then :
3122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3123 $as_echo "no" >&6; }
3124 $as_echo "$as_me: failed program was:" >&5
3125 sed 's/^/| /' conftest.$ac_ext >&5
3126
3127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 as_fn_error 77 "C compiler cannot create executables
3130 See \`config.log' for more details" "$LINENO" 5; }
3131 else
3132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3133 $as_echo "yes" >&6; }
3134 fi
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3136 $as_echo_n "checking for C compiler default output file name... " >&6; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3138 $as_echo "$ac_file" >&6; }
3139 ac_exeext=$ac_cv_exeext
3140
3141 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3142 ac_clean_files=$ac_clean_files_save
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3144 $as_echo_n "checking for suffix of executables... " >&6; }
3145 if { { ac_try="$ac_link"
3146 case "(($ac_try" in
3147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148   *) ac_try_echo=$ac_try;;
3149 esac
3150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3151 $as_echo "$ac_try_echo"; } >&5
3152   (eval "$ac_link") 2>&5
3153   ac_status=$?
3154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3155   test $ac_status = 0; }; then :
3156   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3157 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3158 # work properly (i.e., refer to `conftest.exe'), while it won't with
3159 # `rm'.
3160 for ac_file in conftest.exe conftest conftest.*; do
3161   test -f "$ac_file" || continue
3162   case $ac_file in
3163     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3164     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3165           break;;
3166     * ) break;;
3167   esac
3168 done
3169 else
3170   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3172 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3173 See \`config.log' for more details" "$LINENO" 5; }
3174 fi
3175 rm -f conftest conftest$ac_cv_exeext
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3177 $as_echo "$ac_cv_exeext" >&6; }
3178
3179 rm -f conftest.$ac_ext
3180 EXEEXT=$ac_cv_exeext
3181 ac_exeext=$EXEEXT
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h.  */
3184 #include <stdio.h>
3185 int
3186 main ()
3187 {
3188 FILE *f = fopen ("conftest.out", "w");
3189  return ferror (f) || fclose (f) != 0;
3190
3191   ;
3192   return 0;
3193 }
3194 _ACEOF
3195 ac_clean_files="$ac_clean_files conftest.out"
3196 # Check that the compiler produces executables we can run.  If not, either
3197 # the compiler is broken, or we cross compile.
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3199 $as_echo_n "checking whether we are cross compiling... " >&6; }
3200 if test "$cross_compiling" != yes; then
3201   { { ac_try="$ac_link"
3202 case "(($ac_try" in
3203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204   *) ac_try_echo=$ac_try;;
3205 esac
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208   (eval "$ac_link") 2>&5
3209   ac_status=$?
3210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211   test $ac_status = 0; }
3212   if { ac_try='./conftest$ac_cv_exeext'
3213   { { case "(($ac_try" in
3214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215   *) ac_try_echo=$ac_try;;
3216 esac
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219   (eval "$ac_try") 2>&5
3220   ac_status=$?
3221   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222   test $ac_status = 0; }; }; then
3223     cross_compiling=no
3224   else
3225     if test "$cross_compiling" = maybe; then
3226         cross_compiling=yes
3227     else
3228         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3230 as_fn_error $? "cannot run C compiled programs.
3231 If you meant to cross compile, use \`--host'.
3232 See \`config.log' for more details" "$LINENO" 5; }
3233     fi
3234   fi
3235 fi
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3237 $as_echo "$cross_compiling" >&6; }
3238
3239 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3240 ac_clean_files=$ac_clean_files_save
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3242 $as_echo_n "checking for suffix of object files... " >&6; }
3243 if ${ac_cv_objext+:} false; then :
3244   $as_echo_n "(cached) " >&6
3245 else
3246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h.  */
3248
3249 int
3250 main ()
3251 {
3252
3253   ;
3254   return 0;
3255 }
3256 _ACEOF
3257 rm -f conftest.o conftest.obj
3258 if { { ac_try="$ac_compile"
3259 case "(($ac_try" in
3260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261   *) ac_try_echo=$ac_try;;
3262 esac
3263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265   (eval "$ac_compile") 2>&5
3266   ac_status=$?
3267   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268   test $ac_status = 0; }; then :
3269   for ac_file in conftest.o conftest.obj conftest.*; do
3270   test -f "$ac_file" || continue;
3271   case $ac_file in
3272     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3273     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3274        break;;
3275   esac
3276 done
3277 else
3278   $as_echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3280
3281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3283 as_fn_error $? "cannot compute suffix of object files: cannot compile
3284 See \`config.log' for more details" "$LINENO" 5; }
3285 fi
3286 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3287 fi
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3289 $as_echo "$ac_cv_objext" >&6; }
3290 OBJEXT=$ac_cv_objext
3291 ac_objext=$OBJEXT
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3293 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3294 if ${ac_cv_c_compiler_gnu+:} false; then :
3295   $as_echo_n "(cached) " >&6
3296 else
3297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h.  */
3299
3300 int
3301 main ()
3302 {
3303 #ifndef __GNUC__
3304        choke me
3305 #endif
3306
3307   ;
3308   return 0;
3309 }
3310 _ACEOF
3311 if ac_fn_c_try_compile "$LINENO"; then :
3312   ac_compiler_gnu=yes
3313 else
3314   ac_compiler_gnu=no
3315 fi
3316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3318
3319 fi
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3321 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3322 if test $ac_compiler_gnu = yes; then
3323   GCC=yes
3324 else
3325   GCC=
3326 fi
3327 ac_test_CFLAGS=${CFLAGS+set}
3328 ac_save_CFLAGS=$CFLAGS
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3330 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3331 if ${ac_cv_prog_cc_g+:} false; then :
3332   $as_echo_n "(cached) " >&6
3333 else
3334   ac_save_c_werror_flag=$ac_c_werror_flag
3335    ac_c_werror_flag=yes
3336    ac_cv_prog_cc_g=no
3337    CFLAGS="-g"
3338    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h.  */
3340
3341 int
3342 main ()
3343 {
3344
3345   ;
3346   return 0;
3347 }
3348 _ACEOF
3349 if ac_fn_c_try_compile "$LINENO"; then :
3350   ac_cv_prog_cc_g=yes
3351 else
3352   CFLAGS=""
3353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h.  */
3355
3356 int
3357 main ()
3358 {
3359
3360   ;
3361   return 0;
3362 }
3363 _ACEOF
3364 if ac_fn_c_try_compile "$LINENO"; then :
3365
3366 else
3367   ac_c_werror_flag=$ac_save_c_werror_flag
3368          CFLAGS="-g"
3369          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h.  */
3371
3372 int
3373 main ()
3374 {
3375
3376   ;
3377   return 0;
3378 }
3379 _ACEOF
3380 if ac_fn_c_try_compile "$LINENO"; then :
3381   ac_cv_prog_cc_g=yes
3382 fi
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 fi
3385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3386 fi
3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388    ac_c_werror_flag=$ac_save_c_werror_flag
3389 fi
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3391 $as_echo "$ac_cv_prog_cc_g" >&6; }
3392 if test "$ac_test_CFLAGS" = set; then
3393   CFLAGS=$ac_save_CFLAGS
3394 elif test $ac_cv_prog_cc_g = yes; then
3395   if test "$GCC" = yes; then
3396     CFLAGS="-g -O2"
3397   else
3398     CFLAGS="-g"
3399   fi
3400 else
3401   if test "$GCC" = yes; then
3402     CFLAGS="-O2"
3403   else
3404     CFLAGS=
3405   fi
3406 fi
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3408 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3409 if ${ac_cv_prog_cc_c89+:} false; then :
3410   $as_echo_n "(cached) " >&6
3411 else
3412   ac_cv_prog_cc_c89=no
3413 ac_save_CC=$CC
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h.  */
3416 #include <stdarg.h>
3417 #include <stdio.h>
3418 struct stat;
3419 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3420 struct buf { int x; };
3421 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3422 static char *e (p, i)
3423      char **p;
3424      int i;
3425 {
3426   return p[i];
3427 }
3428 static char *f (char * (*g) (char **, int), char **p, ...)
3429 {
3430   char *s;
3431   va_list v;
3432   va_start (v,p);
3433   s = g (p, va_arg (v,int));
3434   va_end (v);
3435   return s;
3436 }
3437
3438 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3439    function prototypes and stuff, but not '\xHH' hex character constants.
3440    These don't provoke an error unfortunately, instead are silently treated
3441    as 'x'.  The following induces an error, until -std is added to get
3442    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3443    array size at least.  It's necessary to write '\x00'==0 to get something
3444    that's true only with -std.  */
3445 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3446
3447 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3448    inside strings and character constants.  */
3449 #define FOO(x) 'x'
3450 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3451
3452 int test (int i, double x);
3453 struct s1 {int (*f) (int a);};
3454 struct s2 {int (*f) (double a);};
3455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3456 int argc;
3457 char **argv;
3458 int
3459 main ()
3460 {
3461 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3462   ;
3463   return 0;
3464 }
3465 _ACEOF
3466 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3467         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3468 do
3469   CC="$ac_save_CC $ac_arg"
3470   if ac_fn_c_try_compile "$LINENO"; then :
3471   ac_cv_prog_cc_c89=$ac_arg
3472 fi
3473 rm -f core conftest.err conftest.$ac_objext
3474   test "x$ac_cv_prog_cc_c89" != "xno" && break
3475 done
3476 rm -f conftest.$ac_ext
3477 CC=$ac_save_CC
3478
3479 fi
3480 # AC_CACHE_VAL
3481 case "x$ac_cv_prog_cc_c89" in
3482   x)
3483     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3484 $as_echo "none needed" >&6; } ;;
3485   xno)
3486     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3487 $as_echo "unsupported" >&6; } ;;
3488   *)
3489     CC="$CC $ac_cv_prog_cc_c89"
3490     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3491 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3492 esac
3493 if test "x$ac_cv_prog_cc_c89" != xno; then :
3494
3495 fi
3496
3497 ac_ext=c
3498 ac_cpp='$CPP $CPPFLAGS'
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3502 DEPDIR="${am__leading_dot}deps"
3503
3504 ac_config_commands="$ac_config_commands depfiles"
3505
3506
3507 am_make=${MAKE-make}
3508 cat > confinc << 'END'
3509 am__doit:
3510         @echo this is the am__doit target
3511 .PHONY: am__doit
3512 END
3513 # If we don't find an include directive, just comment out the code.
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3515 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3516 am__include="#"
3517 am__quote=
3518 _am_result=none
3519 # First try GNU make style include.
3520 echo "include confinc" > confmf
3521 # Ignore all kinds of additional output from `make'.
3522 case `$am_make -s -f confmf 2> /dev/null` in #(
3523 *the\ am__doit\ target*)
3524   am__include=include
3525   am__quote=
3526   _am_result=GNU
3527   ;;
3528 esac
3529 # Now try BSD make style include.
3530 if test "$am__include" = "#"; then
3531    echo '.include "confinc"' > confmf
3532    case `$am_make -s -f confmf 2> /dev/null` in #(
3533    *the\ am__doit\ target*)
3534      am__include=.include
3535      am__quote="\""
3536      _am_result=BSD
3537      ;;
3538    esac
3539 fi
3540
3541
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3543 $as_echo "$_am_result" >&6; }
3544 rm -f confinc confmf
3545
3546 # Check whether --enable-dependency-tracking was given.
3547 if test "${enable_dependency_tracking+set}" = set; then :
3548   enableval=$enable_dependency_tracking;
3549 fi
3550
3551 if test "x$enable_dependency_tracking" != xno; then
3552   am_depcomp="$ac_aux_dir/depcomp"
3553   AMDEPBACKSLASH='\'
3554   am__nodep='_no'
3555 fi
3556  if test "x$enable_dependency_tracking" != xno; then
3557   AMDEP_TRUE=
3558   AMDEP_FALSE='#'
3559 else
3560   AMDEP_TRUE='#'
3561   AMDEP_FALSE=
3562 fi
3563
3564
3565
3566 depcc="$CC"   am_compiler_list=
3567
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3569 $as_echo_n "checking dependency style of $depcc... " >&6; }
3570 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3571   $as_echo_n "(cached) " >&6
3572 else
3573   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3574   # We make a subdir and do the tests there.  Otherwise we can end up
3575   # making bogus files that we don't know about and never remove.  For
3576   # instance it was reported that on HP-UX the gcc test will end up
3577   # making a dummy file named `D' -- because `-MD' means `put the output
3578   # in D'.
3579   rm -rf conftest.dir
3580   mkdir conftest.dir
3581   # Copy depcomp to subdir because otherwise we won't find it if we're
3582   # using a relative directory.
3583   cp "$am_depcomp" conftest.dir
3584   cd conftest.dir
3585   # We will build objects and dependencies in a subdirectory because
3586   # it helps to detect inapplicable dependency modes.  For instance
3587   # both Tru64's cc and ICC support -MD to output dependencies as a
3588   # side effect of compilation, but ICC will put the dependencies in
3589   # the current directory while Tru64 will put them in the object
3590   # directory.
3591   mkdir sub
3592
3593   am_cv_CC_dependencies_compiler_type=none
3594   if test "$am_compiler_list" = ""; then
3595      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3596   fi
3597   am__universal=false
3598   case " $depcc " in #(
3599      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3600      esac
3601
3602   for depmode in $am_compiler_list; do
3603     # Setup a source with many dependencies, because some compilers
3604     # like to wrap large dependency lists on column 80 (with \), and
3605     # we should not choose a depcomp mode which is confused by this.
3606     #
3607     # We need to recreate these files for each test, as the compiler may
3608     # overwrite some of them when testing with obscure command lines.
3609     # This happens at least with the AIX C compiler.
3610     : > sub/conftest.c
3611     for i in 1 2 3 4 5 6; do
3612       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3613       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3614       # Solaris 8's {/usr,}/bin/sh.
3615       touch sub/conftst$i.h
3616     done
3617     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3618
3619     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3620     # mode.  It turns out that the SunPro C++ compiler does not properly
3621     # handle `-M -o', and we need to detect this.  Also, some Intel
3622     # versions had trouble with output in subdirs
3623     am__obj=sub/conftest.${OBJEXT-o}
3624     am__minus_obj="-o $am__obj"
3625     case $depmode in
3626     gcc)
3627       # This depmode causes a compiler race in universal mode.
3628       test "$am__universal" = false || continue
3629       ;;
3630     nosideeffect)
3631       # after this tag, mechanisms are not by side-effect, so they'll
3632       # only be used when explicitly requested
3633       if test "x$enable_dependency_tracking" = xyes; then
3634         continue
3635       else
3636         break
3637       fi
3638       ;;
3639     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3640       # This compiler won't grok `-c -o', but also, the minuso test has
3641       # not run yet.  These depmodes are late enough in the game, and
3642       # so weak that their functioning should not be impacted.
3643       am__obj=conftest.${OBJEXT-o}
3644       am__minus_obj=
3645       ;;
3646     none) break ;;
3647     esac
3648     if depmode=$depmode \
3649        source=sub/conftest.c object=$am__obj \
3650        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3651        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3652          >/dev/null 2>conftest.err &&
3653        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3654        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3655        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3656        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3657       # icc doesn't choke on unknown options, it will just issue warnings
3658       # or remarks (even with -Werror).  So we grep stderr for any message
3659       # that says an option was ignored or not supported.
3660       # When given -MP, icc 7.0 and 7.1 complain thusly:
3661       #   icc: Command line warning: ignoring option '-M'; no argument required
3662       # The diagnosis changed in icc 8.0:
3663       #   icc: Command line remark: option '-MP' not supported
3664       if (grep 'ignoring option' conftest.err ||
3665           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3666         am_cv_CC_dependencies_compiler_type=$depmode
3667         break
3668       fi
3669     fi
3670   done
3671
3672   cd ..
3673   rm -rf conftest.dir
3674 else
3675   am_cv_CC_dependencies_compiler_type=none
3676 fi
3677
3678 fi
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3680 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3681 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3682
3683  if
3684   test "x$enable_dependency_tracking" != xno \
3685   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3686   am__fastdepCC_TRUE=
3687   am__fastdepCC_FALSE='#'
3688 else
3689   am__fastdepCC_TRUE='#'
3690   am__fastdepCC_FALSE=
3691 fi
3692
3693
3694 if test "x$CC" != xcc; then
3695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3696 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3697 else
3698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3699 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3700 fi
3701 set dummy $CC; ac_cc=`$as_echo "$2" |
3702                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3703 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3704   $as_echo_n "(cached) " >&6
3705 else
3706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h.  */
3708
3709 int
3710 main ()
3711 {
3712
3713   ;
3714   return 0;
3715 }
3716 _ACEOF
3717 # Make sure it works both with $CC and with simple cc.
3718 # We do the test twice because some compilers refuse to overwrite an
3719 # existing .o file with -o, though they will create one.
3720 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3721 rm -f conftest2.*
3722 if { { case "(($ac_try" in
3723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3724   *) ac_try_echo=$ac_try;;
3725 esac
3726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3727 $as_echo "$ac_try_echo"; } >&5
3728   (eval "$ac_try") 2>&5
3729   ac_status=$?
3730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3731   test $ac_status = 0; } &&
3732    test -f conftest2.$ac_objext && { { case "(($ac_try" in
3733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3734   *) ac_try_echo=$ac_try;;
3735 esac
3736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3737 $as_echo "$ac_try_echo"; } >&5
3738   (eval "$ac_try") 2>&5
3739   ac_status=$?
3740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3741   test $ac_status = 0; };
3742 then
3743   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3744   if test "x$CC" != xcc; then
3745     # Test first that cc exists at all.
3746     if { ac_try='cc -c conftest.$ac_ext >&5'
3747   { { case "(($ac_try" in
3748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749   *) ac_try_echo=$ac_try;;
3750 esac
3751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3752 $as_echo "$ac_try_echo"; } >&5
3753   (eval "$ac_try") 2>&5
3754   ac_status=$?
3755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3756   test $ac_status = 0; }; }; then
3757       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3758       rm -f conftest2.*
3759       if { { case "(($ac_try" in
3760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3761   *) ac_try_echo=$ac_try;;
3762 esac
3763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3764 $as_echo "$ac_try_echo"; } >&5
3765   (eval "$ac_try") 2>&5
3766   ac_status=$?
3767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3768   test $ac_status = 0; } &&
3769          test -f conftest2.$ac_objext && { { case "(($ac_try" in
3770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3771   *) ac_try_echo=$ac_try;;
3772 esac
3773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3774 $as_echo "$ac_try_echo"; } >&5
3775   (eval "$ac_try") 2>&5
3776   ac_status=$?
3777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3778   test $ac_status = 0; };
3779       then
3780         # cc works too.
3781         :
3782       else
3783         # cc exists but doesn't like -o.
3784         eval ac_cv_prog_cc_${ac_cc}_c_o=no
3785       fi
3786     fi
3787   fi
3788 else
3789   eval ac_cv_prog_cc_${ac_cc}_c_o=no
3790 fi
3791 rm -f core conftest*
3792
3793 fi
3794 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3796 $as_echo "yes" >&6; }
3797 else
3798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3800
3801 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3802
3803 fi
3804
3805 # FIXME: we rely on the cache variable name because
3806 # there is no other way.
3807 set dummy $CC
3808 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3809 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3810 if test "$am_t" != yes; then
3811    # Losing compiler, so override with the script.
3812    # FIXME: It is wrong to rewrite CC.
3813    # But if we don't then we get into trouble of one sort or another.
3814    # A longer-term fix would be to have automake use am__CC in this case,
3815    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3816    CC="$am_aux_dir/compile $CC"
3817 fi
3818
3819
3820 # Check whether --enable-static was given.
3821 if test "${enable_static+set}" = set; then :
3822   enableval=$enable_static; p=${PACKAGE-default}
3823     case $enableval in
3824     yes) enable_static=yes ;;
3825     no) enable_static=no ;;
3826     *)
3827      enable_static=no
3828       # Look at the argument we got.  We use all the common list separators.
3829       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3830       for pkg in $enableval; do
3831         IFS="$lt_save_ifs"
3832         if test "X$pkg" = "X$p"; then
3833           enable_static=yes
3834         fi
3835       done
3836       IFS="$lt_save_ifs"
3837       ;;
3838     esac
3839 else
3840   enable_static=no
3841 fi
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851 case `pwd` in
3852   *\ * | *\     *)
3853     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3854 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3855 esac
3856
3857
3858
3859 macro_version='2.4.2'
3860 macro_revision='1.3337'
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874 ltmain="$ac_aux_dir/ltmain.sh"
3875
3876 # Make sure we can run config.sub.
3877 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3878   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3879
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3881 $as_echo_n "checking build system type... " >&6; }
3882 if ${ac_cv_build+:} false; then :
3883   $as_echo_n "(cached) " >&6
3884 else
3885   ac_build_alias=$build_alias
3886 test "x$ac_build_alias" = x &&
3887   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3888 test "x$ac_build_alias" = x &&
3889   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3890 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3891   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3892
3893 fi
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3895 $as_echo "$ac_cv_build" >&6; }
3896 case $ac_cv_build in
3897 *-*-*) ;;
3898 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3899 esac
3900 build=$ac_cv_build
3901 ac_save_IFS=$IFS; IFS='-'
3902 set x $ac_cv_build
3903 shift
3904 build_cpu=$1
3905 build_vendor=$2
3906 shift; shift
3907 # Remember, the first character of IFS is used to create $*,
3908 # except with old shells:
3909 build_os=$*
3910 IFS=$ac_save_IFS
3911 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3912
3913
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3915 $as_echo_n "checking host system type... " >&6; }
3916 if ${ac_cv_host+:} false; then :
3917   $as_echo_n "(cached) " >&6
3918 else
3919   if test "x$host_alias" = x; then
3920   ac_cv_host=$ac_cv_build
3921 else
3922   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3923     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3924 fi
3925
3926 fi
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3928 $as_echo "$ac_cv_host" >&6; }
3929 case $ac_cv_host in
3930 *-*-*) ;;
3931 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3932 esac
3933 host=$ac_cv_host
3934 ac_save_IFS=$IFS; IFS='-'
3935 set x $ac_cv_host
3936 shift
3937 host_cpu=$1
3938 host_vendor=$2
3939 shift; shift
3940 # Remember, the first character of IFS is used to create $*,
3941 # except with old shells:
3942 host_os=$*
3943 IFS=$ac_save_IFS
3944 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3945
3946
3947 # Backslashify metacharacters that are still active within
3948 # double-quoted strings.
3949 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3950
3951 # Same as above, but do not quote variable references.
3952 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3953
3954 # Sed substitution to delay expansion of an escaped shell variable in a
3955 # double_quote_subst'ed string.
3956 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3957
3958 # Sed substitution to delay expansion of an escaped single quote.
3959 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3960
3961 # Sed substitution to avoid accidental globbing in evaled expressions
3962 no_glob_subst='s/\*/\\\*/g'
3963
3964 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3965 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3966 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3967
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3969 $as_echo_n "checking how to print strings... " >&6; }
3970 # Test print first, because it will be a builtin if present.
3971 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3972    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3973   ECHO='print -r --'
3974 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3975   ECHO='printf %s\n'
3976 else
3977   # Use this function as a fallback that always works.
3978   func_fallback_echo ()
3979   {
3980     eval 'cat <<_LTECHO_EOF
3981 $1
3982 _LTECHO_EOF'
3983   }
3984   ECHO='func_fallback_echo'
3985 fi
3986
3987 # func_echo_all arg...
3988 # Invoke $ECHO with all args, space-separated.
3989 func_echo_all ()
3990 {
3991     $ECHO ""
3992 }
3993
3994 case "$ECHO" in
3995   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3996 $as_echo "printf" >&6; } ;;
3997   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3998 $as_echo "print -r" >&6; } ;;
3999   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4000 $as_echo "cat" >&6; } ;;
4001 esac
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4017 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4018 if ${ac_cv_path_SED+:} false; then :
4019   $as_echo_n "(cached) " >&6
4020 else
4021             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4022      for ac_i in 1 2 3 4 5 6 7; do
4023        ac_script="$ac_script$as_nl$ac_script"
4024      done
4025      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4026      { ac_script=; unset ac_script;}
4027      if test -z "$SED"; then
4028   ac_path_SED_found=false
4029   # Loop through the user's path and test for each of PROGNAME-LIST
4030   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 for as_dir in $PATH
4032 do
4033   IFS=$as_save_IFS
4034   test -z "$as_dir" && as_dir=.
4035     for ac_prog in sed gsed; do
4036     for ac_exec_ext in '' $ac_executable_extensions; do
4037       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4038       as_fn_executable_p "$ac_path_SED" || continue
4039 # Check for GNU ac_path_SED and select it if it is found.
4040   # Check for GNU $ac_path_SED
4041 case `"$ac_path_SED" --version 2>&1` in
4042 *GNU*)
4043   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4044 *)
4045   ac_count=0
4046   $as_echo_n 0123456789 >"conftest.in"
4047   while :
4048   do
4049     cat "conftest.in" "conftest.in" >"conftest.tmp"
4050     mv "conftest.tmp" "conftest.in"
4051     cp "conftest.in" "conftest.nl"
4052     $as_echo '' >> "conftest.nl"
4053     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4054     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4055     as_fn_arith $ac_count + 1 && ac_count=$as_val
4056     if test $ac_count -gt ${ac_path_SED_max-0}; then
4057       # Best one so far, save it but keep looking for a better one
4058       ac_cv_path_SED="$ac_path_SED"
4059       ac_path_SED_max=$ac_count
4060     fi
4061     # 10*(2^10) chars as input seems more than enough
4062     test $ac_count -gt 10 && break
4063   done
4064   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4065 esac
4066
4067       $ac_path_SED_found && break 3
4068     done
4069   done
4070   done
4071 IFS=$as_save_IFS
4072   if test -z "$ac_cv_path_SED"; then
4073     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4074   fi
4075 else
4076   ac_cv_path_SED=$SED
4077 fi
4078
4079 fi
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4081 $as_echo "$ac_cv_path_SED" >&6; }
4082  SED="$ac_cv_path_SED"
4083   rm -f conftest.sed
4084
4085 test -z "$SED" && SED=sed
4086 Xsed="$SED -e 1s/^X//"
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4099 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4100 if ${ac_cv_path_GREP+:} false; then :
4101   $as_echo_n "(cached) " >&6
4102 else
4103   if test -z "$GREP"; then
4104   ac_path_GREP_found=false
4105   # Loop through the user's path and test for each of PROGNAME-LIST
4106   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4107 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4108 do
4109   IFS=$as_save_IFS
4110   test -z "$as_dir" && as_dir=.
4111     for ac_prog in grep ggrep; do
4112     for ac_exec_ext in '' $ac_executable_extensions; do
4113       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4114       as_fn_executable_p "$ac_path_GREP" || continue
4115 # Check for GNU ac_path_GREP and select it if it is found.
4116   # Check for GNU $ac_path_GREP
4117 case `"$ac_path_GREP" --version 2>&1` in
4118 *GNU*)
4119   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4120 *)
4121   ac_count=0
4122   $as_echo_n 0123456789 >"conftest.in"
4123   while :
4124   do
4125     cat "conftest.in" "conftest.in" >"conftest.tmp"
4126     mv "conftest.tmp" "conftest.in"
4127     cp "conftest.in" "conftest.nl"
4128     $as_echo 'GREP' >> "conftest.nl"
4129     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4130     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4131     as_fn_arith $ac_count + 1 && ac_count=$as_val
4132     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4133       # Best one so far, save it but keep looking for a better one
4134       ac_cv_path_GREP="$ac_path_GREP"
4135       ac_path_GREP_max=$ac_count
4136     fi
4137     # 10*(2^10) chars as input seems more than enough
4138     test $ac_count -gt 10 && break
4139   done
4140   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4141 esac
4142
4143       $ac_path_GREP_found && break 3
4144     done
4145   done
4146   done
4147 IFS=$as_save_IFS
4148   if test -z "$ac_cv_path_GREP"; then
4149     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4150   fi
4151 else
4152   ac_cv_path_GREP=$GREP
4153 fi
4154
4155 fi
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4157 $as_echo "$ac_cv_path_GREP" >&6; }
4158  GREP="$ac_cv_path_GREP"
4159
4160
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4162 $as_echo_n "checking for egrep... " >&6; }
4163 if ${ac_cv_path_EGREP+:} false; then :
4164   $as_echo_n "(cached) " >&6
4165 else
4166   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4167    then ac_cv_path_EGREP="$GREP -E"
4168    else
4169      if test -z "$EGREP"; then
4170   ac_path_EGREP_found=false
4171   # Loop through the user's path and test for each of PROGNAME-LIST
4172   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4174 do
4175   IFS=$as_save_IFS
4176   test -z "$as_dir" && as_dir=.
4177     for ac_prog in egrep; do
4178     for ac_exec_ext in '' $ac_executable_extensions; do
4179       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4180       as_fn_executable_p "$ac_path_EGREP" || continue
4181 # Check for GNU ac_path_EGREP and select it if it is found.
4182   # Check for GNU $ac_path_EGREP
4183 case `"$ac_path_EGREP" --version 2>&1` in
4184 *GNU*)
4185   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4186 *)
4187   ac_count=0
4188   $as_echo_n 0123456789 >"conftest.in"
4189   while :
4190   do
4191     cat "conftest.in" "conftest.in" >"conftest.tmp"
4192     mv "conftest.tmp" "conftest.in"
4193     cp "conftest.in" "conftest.nl"
4194     $as_echo 'EGREP' >> "conftest.nl"
4195     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4196     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4197     as_fn_arith $ac_count + 1 && ac_count=$as_val
4198     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4199       # Best one so far, save it but keep looking for a better one
4200       ac_cv_path_EGREP="$ac_path_EGREP"
4201       ac_path_EGREP_max=$ac_count
4202     fi
4203     # 10*(2^10) chars as input seems more than enough
4204     test $ac_count -gt 10 && break
4205   done
4206   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4207 esac
4208
4209       $ac_path_EGREP_found && break 3
4210     done
4211   done
4212   done
4213 IFS=$as_save_IFS
4214   if test -z "$ac_cv_path_EGREP"; then
4215     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4216   fi
4217 else
4218   ac_cv_path_EGREP=$EGREP
4219 fi
4220
4221    fi
4222 fi
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4224 $as_echo "$ac_cv_path_EGREP" >&6; }
4225  EGREP="$ac_cv_path_EGREP"
4226
4227
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4229 $as_echo_n "checking for fgrep... " >&6; }
4230 if ${ac_cv_path_FGREP+:} false; then :
4231   $as_echo_n "(cached) " >&6
4232 else
4233   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4234    then ac_cv_path_FGREP="$GREP -F"
4235    else
4236      if test -z "$FGREP"; then
4237   ac_path_FGREP_found=false
4238   # Loop through the user's path and test for each of PROGNAME-LIST
4239   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4240 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4241 do
4242   IFS=$as_save_IFS
4243   test -z "$as_dir" && as_dir=.
4244     for ac_prog in fgrep; do
4245     for ac_exec_ext in '' $ac_executable_extensions; do
4246       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4247       as_fn_executable_p "$ac_path_FGREP" || continue
4248 # Check for GNU ac_path_FGREP and select it if it is found.
4249   # Check for GNU $ac_path_FGREP
4250 case `"$ac_path_FGREP" --version 2>&1` in
4251 *GNU*)
4252   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4253 *)
4254   ac_count=0
4255   $as_echo_n 0123456789 >"conftest.in"
4256   while :
4257   do
4258     cat "conftest.in" "conftest.in" >"conftest.tmp"
4259     mv "conftest.tmp" "conftest.in"
4260     cp "conftest.in" "conftest.nl"
4261     $as_echo 'FGREP' >> "conftest.nl"
4262     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4263     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4264     as_fn_arith $ac_count + 1 && ac_count=$as_val
4265     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4266       # Best one so far, save it but keep looking for a better one
4267       ac_cv_path_FGREP="$ac_path_FGREP"
4268       ac_path_FGREP_max=$ac_count
4269     fi
4270     # 10*(2^10) chars as input seems more than enough
4271     test $ac_count -gt 10 && break
4272   done
4273   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4274 esac
4275
4276       $ac_path_FGREP_found && break 3
4277     done
4278   done
4279   done
4280 IFS=$as_save_IFS
4281   if test -z "$ac_cv_path_FGREP"; then
4282     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4283   fi
4284 else
4285   ac_cv_path_FGREP=$FGREP
4286 fi
4287
4288    fi
4289 fi
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4291 $as_echo "$ac_cv_path_FGREP" >&6; }
4292  FGREP="$ac_cv_path_FGREP"
4293
4294
4295 test -z "$GREP" && GREP=grep
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315 # Check whether --with-gnu-ld was given.
4316 if test "${with_gnu_ld+set}" = set; then :
4317   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4318 else
4319   with_gnu_ld=no
4320 fi
4321
4322 ac_prog=ld
4323 if test "$GCC" = yes; then
4324   # Check if gcc -print-prog-name=ld gives a path.
4325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4326 $as_echo_n "checking for ld used by $CC... " >&6; }
4327   case $host in
4328   *-*-mingw*)
4329     # gcc leaves a trailing carriage return which upsets mingw
4330     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4331   *)
4332     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4333   esac
4334   case $ac_prog in
4335     # Accept absolute paths.
4336     [\\/]* | ?:[\\/]*)
4337       re_direlt='/[^/][^/]*/\.\./'
4338       # Canonicalize the pathname of ld
4339       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4340       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4341         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4342       done
4343       test -z "$LD" && LD="$ac_prog"
4344       ;;
4345   "")
4346     # If it fails, then pretend we aren't using GCC.
4347     ac_prog=ld
4348     ;;
4349   *)
4350     # If it is relative, then search for the first ld in PATH.
4351     with_gnu_ld=unknown
4352     ;;
4353   esac
4354 elif test "$with_gnu_ld" = yes; then
4355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4356 $as_echo_n "checking for GNU ld... " >&6; }
4357 else
4358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4359 $as_echo_n "checking for non-GNU ld... " >&6; }
4360 fi
4361 if ${lt_cv_path_LD+:} false; then :
4362   $as_echo_n "(cached) " >&6
4363 else
4364   if test -z "$LD"; then
4365   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4366   for ac_dir in $PATH; do
4367     IFS="$lt_save_ifs"
4368     test -z "$ac_dir" && ac_dir=.
4369     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4370       lt_cv_path_LD="$ac_dir/$ac_prog"
4371       # Check to see if the program is GNU ld.  I'd rather use --version,
4372       # but apparently some variants of GNU ld only accept -v.
4373       # Break only if it was the GNU/non-GNU ld that we prefer.
4374       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4375       *GNU* | *'with BFD'*)
4376         test "$with_gnu_ld" != no && break
4377         ;;
4378       *)
4379         test "$with_gnu_ld" != yes && break
4380         ;;
4381       esac
4382     fi
4383   done
4384   IFS="$lt_save_ifs"
4385 else
4386   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4387 fi
4388 fi
4389
4390 LD="$lt_cv_path_LD"
4391 if test -n "$LD"; then
4392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4393 $as_echo "$LD" >&6; }
4394 else
4395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396 $as_echo "no" >&6; }
4397 fi
4398 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4400 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4401 if ${lt_cv_prog_gnu_ld+:} false; then :
4402   $as_echo_n "(cached) " >&6
4403 else
4404   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4405 case `$LD -v 2>&1 </dev/null` in
4406 *GNU* | *'with BFD'*)
4407   lt_cv_prog_gnu_ld=yes
4408   ;;
4409 *)
4410   lt_cv_prog_gnu_ld=no
4411   ;;
4412 esac
4413 fi
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4415 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4416 with_gnu_ld=$lt_cv_prog_gnu_ld
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4427 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4428 if ${lt_cv_path_NM+:} false; then :
4429   $as_echo_n "(cached) " >&6
4430 else
4431   if test -n "$NM"; then
4432   # Let the user override the test.
4433   lt_cv_path_NM="$NM"
4434 else
4435   lt_nm_to_check="${ac_tool_prefix}nm"
4436   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4437     lt_nm_to_check="$lt_nm_to_check nm"
4438   fi
4439   for lt_tmp_nm in $lt_nm_to_check; do
4440     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4441     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4442       IFS="$lt_save_ifs"
4443       test -z "$ac_dir" && ac_dir=.
4444       tmp_nm="$ac_dir/$lt_tmp_nm"
4445       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4446         # Check to see if the nm accepts a BSD-compat flag.
4447         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4448         #   nm: unknown option "B" ignored
4449         # Tru64's nm complains that /dev/null is an invalid object file
4450         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4451         */dev/null* | *'Invalid file or object type'*)
4452           lt_cv_path_NM="$tmp_nm -B"
4453           break
4454           ;;
4455         *)
4456           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4457           */dev/null*)
4458             lt_cv_path_NM="$tmp_nm -p"
4459             break
4460             ;;
4461           *)
4462             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4463             continue # so that we can try to find one that supports BSD flags
4464             ;;
4465           esac
4466           ;;
4467         esac
4468       fi
4469     done
4470     IFS="$lt_save_ifs"
4471   done
4472   : ${lt_cv_path_NM=no}
4473 fi
4474 fi
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4476 $as_echo "$lt_cv_path_NM" >&6; }
4477 if test "$lt_cv_path_NM" != "no"; then
4478   NM="$lt_cv_path_NM"
4479 else
4480   # Didn't find any BSD compatible name lister, look for dumpbin.
4481   if test -n "$DUMPBIN"; then :
4482     # Let the user override the test.
4483   else
4484     if test -n "$ac_tool_prefix"; then
4485   for ac_prog in dumpbin "link -dump"
4486   do
4487     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4488 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4490 $as_echo_n "checking for $ac_word... " >&6; }
4491 if ${ac_cv_prog_DUMPBIN+:} false; then :
4492   $as_echo_n "(cached) " >&6
4493 else
4494   if test -n "$DUMPBIN"; then
4495   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4496 else
4497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4498 for as_dir in $PATH
4499 do
4500   IFS=$as_save_IFS
4501   test -z "$as_dir" && as_dir=.
4502     for ac_exec_ext in '' $ac_executable_extensions; do
4503   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4504     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4506     break 2
4507   fi
4508 done
4509   done
4510 IFS=$as_save_IFS
4511
4512 fi
4513 fi
4514 DUMPBIN=$ac_cv_prog_DUMPBIN
4515 if test -n "$DUMPBIN"; then
4516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4517 $as_echo "$DUMPBIN" >&6; }
4518 else
4519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4520 $as_echo "no" >&6; }
4521 fi
4522
4523
4524     test -n "$DUMPBIN" && break
4525   done
4526 fi
4527 if test -z "$DUMPBIN"; then
4528   ac_ct_DUMPBIN=$DUMPBIN
4529   for ac_prog in dumpbin "link -dump"
4530 do
4531   # Extract the first word of "$ac_prog", so it can be a program name with args.
4532 set dummy $ac_prog; ac_word=$2
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4534 $as_echo_n "checking for $ac_word... " >&6; }
4535 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4536   $as_echo_n "(cached) " >&6
4537 else
4538   if test -n "$ac_ct_DUMPBIN"; then
4539   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4540 else
4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542 for as_dir in $PATH
4543 do
4544   IFS=$as_save_IFS
4545   test -z "$as_dir" && as_dir=.
4546     for ac_exec_ext in '' $ac_executable_extensions; do
4547   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4548     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550     break 2
4551   fi
4552 done
4553   done
4554 IFS=$as_save_IFS
4555
4556 fi
4557 fi
4558 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4559 if test -n "$ac_ct_DUMPBIN"; then
4560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4561 $as_echo "$ac_ct_DUMPBIN" >&6; }
4562 else
4563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4564 $as_echo "no" >&6; }
4565 fi
4566
4567
4568   test -n "$ac_ct_DUMPBIN" && break
4569 done
4570
4571   if test "x$ac_ct_DUMPBIN" = x; then
4572     DUMPBIN=":"
4573   else
4574     case $cross_compiling:$ac_tool_warned in
4575 yes:)
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4578 ac_tool_warned=yes ;;
4579 esac
4580     DUMPBIN=$ac_ct_DUMPBIN
4581   fi
4582 fi
4583
4584     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4585     *COFF*)
4586       DUMPBIN="$DUMPBIN -symbols"
4587       ;;
4588     *)
4589       DUMPBIN=:
4590       ;;
4591     esac
4592   fi
4593
4594   if test "$DUMPBIN" != ":"; then
4595     NM="$DUMPBIN"
4596   fi
4597 fi
4598 test -z "$NM" && NM=nm
4599
4600
4601
4602
4603
4604
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4606 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4607 if ${lt_cv_nm_interface+:} false; then :
4608   $as_echo_n "(cached) " >&6
4609 else
4610   lt_cv_nm_interface="BSD nm"
4611   echo "int some_variable = 0;" > conftest.$ac_ext
4612   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4613   (eval "$ac_compile" 2>conftest.err)
4614   cat conftest.err >&5
4615   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4616   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4617   cat conftest.err >&5
4618   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4619   cat conftest.out >&5
4620   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4621     lt_cv_nm_interface="MS dumpbin"
4622   fi
4623   rm -f conftest*
4624 fi
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4626 $as_echo "$lt_cv_nm_interface" >&6; }
4627
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4629 $as_echo_n "checking whether ln -s works... " >&6; }
4630 LN_S=$as_ln_s
4631 if test "$LN_S" = "ln -s"; then
4632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4633 $as_echo "yes" >&6; }
4634 else
4635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4636 $as_echo "no, using $LN_S" >&6; }
4637 fi
4638
4639 # find the maximum length of command line arguments
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4641 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4642 if ${lt_cv_sys_max_cmd_len+:} false; then :
4643   $as_echo_n "(cached) " >&6
4644 else
4645     i=0
4646   teststring="ABCD"
4647
4648   case $build_os in
4649   msdosdjgpp*)
4650     # On DJGPP, this test can blow up pretty badly due to problems in libc
4651     # (any single argument exceeding 2000 bytes causes a buffer overrun
4652     # during glob expansion).  Even if it were fixed, the result of this
4653     # check would be larger than it should be.
4654     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4655     ;;
4656
4657   gnu*)
4658     # Under GNU Hurd, this test is not required because there is
4659     # no limit to the length of command line arguments.
4660     # Libtool will interpret -1 as no limit whatsoever
4661     lt_cv_sys_max_cmd_len=-1;
4662     ;;
4663
4664   cygwin* | mingw* | cegcc*)
4665     # On Win9x/ME, this test blows up -- it succeeds, but takes
4666     # about 5 minutes as the teststring grows exponentially.
4667     # Worse, since 9x/ME are not pre-emptively multitasking,
4668     # you end up with a "frozen" computer, even though with patience
4669     # the test eventually succeeds (with a max line length of 256k).
4670     # Instead, let's just punt: use the minimum linelength reported by
4671     # all of the supported platforms: 8192 (on NT/2K/XP).
4672     lt_cv_sys_max_cmd_len=8192;
4673     ;;
4674
4675   mint*)
4676     # On MiNT this can take a long time and run out of memory.
4677     lt_cv_sys_max_cmd_len=8192;
4678     ;;
4679
4680   amigaos*)
4681     # On AmigaOS with pdksh, this test takes hours, literally.
4682     # So we just punt and use a minimum line length of 8192.
4683     lt_cv_sys_max_cmd_len=8192;
4684     ;;
4685
4686   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4687     # This has been around since 386BSD, at least.  Likely further.
4688     if test -x /sbin/sysctl; then
4689       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4690     elif test -x /usr/sbin/sysctl; then
4691       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4692     else
4693       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4694     fi
4695     # And add a safety zone
4696     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4697     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4698     ;;
4699
4700   interix*)
4701     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4702     lt_cv_sys_max_cmd_len=196608
4703     ;;
4704
4705   os2*)
4706     # The test takes a long time on OS/2.
4707     lt_cv_sys_max_cmd_len=8192
4708     ;;
4709
4710   osf*)
4711     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4712     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4713     # nice to cause kernel panics so lets avoid the loop below.
4714     # First set a reasonable default.
4715     lt_cv_sys_max_cmd_len=16384
4716     #
4717     if test -x /sbin/sysconfig; then
4718       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4719         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4720       esac
4721     fi
4722     ;;
4723   sco3.2v5*)
4724     lt_cv_sys_max_cmd_len=102400
4725     ;;
4726   sysv5* | sco5v6* | sysv4.2uw2*)
4727     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4728     if test -n "$kargmax"; then
4729       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4730     else
4731       lt_cv_sys_max_cmd_len=32768
4732     fi
4733     ;;
4734   *)
4735     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4736     if test -n "$lt_cv_sys_max_cmd_len"; then
4737       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4738       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4739     else
4740       # Make teststring a little bigger before we do anything with it.
4741       # a 1K string should be a reasonable start.
4742       for i in 1 2 3 4 5 6 7 8 ; do
4743         teststring=$teststring$teststring
4744       done
4745       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4746       # If test is not a shell built-in, we'll probably end up computing a
4747       # maximum length that is only half of the actual maximum length, but
4748       # we can't tell.
4749       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4750                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4751               test $i != 17 # 1/2 MB should be enough
4752       do
4753         i=`expr $i + 1`
4754         teststring=$teststring$teststring
4755       done
4756       # Only check the string length outside the loop.
4757       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4758       teststring=
4759       # Add a significant safety factor because C++ compilers can tack on
4760       # massive amounts of additional arguments before passing them to the
4761       # linker.  It appears as though 1/2 is a usable value.
4762       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4763     fi
4764     ;;
4765   esac
4766
4767 fi
4768
4769 if test -n $lt_cv_sys_max_cmd_len ; then
4770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4771 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4772 else
4773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4774 $as_echo "none" >&6; }
4775 fi
4776 max_cmd_len=$lt_cv_sys_max_cmd_len
4777
4778
4779
4780
4781
4782
4783 : ${CP="cp -f"}
4784 : ${MV="mv -f"}
4785 : ${RM="rm -f"}
4786
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4788 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4789 # Try some XSI features
4790 xsi_shell=no
4791 ( _lt_dummy="a/b/c"
4792   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4793       = c,a/b,b/c, \
4794     && eval 'test $(( 1 + 1 )) -eq 2 \
4795     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4796   && xsi_shell=yes
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4798 $as_echo "$xsi_shell" >&6; }
4799
4800
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4802 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4803 lt_shell_append=no
4804 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4805     >/dev/null 2>&1 \
4806   && lt_shell_append=yes
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4808 $as_echo "$lt_shell_append" >&6; }
4809
4810
4811 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4812   lt_unset=unset
4813 else
4814   lt_unset=false
4815 fi
4816
4817
4818
4819
4820
4821 # test EBCDIC or ASCII
4822 case `echo X|tr X '\101'` in
4823  A) # ASCII based system
4824     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4825   lt_SP2NL='tr \040 \012'
4826   lt_NL2SP='tr \015\012 \040\040'
4827   ;;
4828  *) # EBCDIC based system
4829   lt_SP2NL='tr \100 \n'
4830   lt_NL2SP='tr \r\n \100\100'
4831   ;;
4832 esac
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4843 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4844 if ${lt_cv_to_host_file_cmd+:} false; then :
4845   $as_echo_n "(cached) " >&6
4846 else
4847   case $host in
4848   *-*-mingw* )
4849     case $build in
4850       *-*-mingw* ) # actually msys
4851         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4852         ;;
4853       *-*-cygwin* )
4854         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4855         ;;
4856       * ) # otherwise, assume *nix
4857         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4858         ;;
4859     esac
4860     ;;
4861   *-*-cygwin* )
4862     case $build in
4863       *-*-mingw* ) # actually msys
4864         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4865         ;;
4866       *-*-cygwin* )
4867         lt_cv_to_host_file_cmd=func_convert_file_noop
4868         ;;
4869       * ) # otherwise, assume *nix
4870         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4871         ;;
4872     esac
4873     ;;
4874   * ) # unhandled hosts (and "normal" native builds)
4875     lt_cv_to_host_file_cmd=func_convert_file_noop
4876     ;;
4877 esac
4878
4879 fi
4880
4881 to_host_file_cmd=$lt_cv_to_host_file_cmd
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4883 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4884
4885
4886
4887
4888
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4890 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4891 if ${lt_cv_to_tool_file_cmd+:} false; then :
4892   $as_echo_n "(cached) " >&6
4893 else
4894   #assume ordinary cross tools, or native build.
4895 lt_cv_to_tool_file_cmd=func_convert_file_noop
4896 case $host in
4897   *-*-mingw* )
4898     case $build in
4899       *-*-mingw* ) # actually msys
4900         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4901         ;;
4902     esac
4903     ;;
4904 esac
4905
4906 fi
4907
4908 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4910 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4911
4912
4913
4914
4915
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4917 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4918 if ${lt_cv_ld_reload_flag+:} false; then :
4919   $as_echo_n "(cached) " >&6
4920 else
4921   lt_cv_ld_reload_flag='-r'
4922 fi
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4924 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4925 reload_flag=$lt_cv_ld_reload_flag
4926 case $reload_flag in
4927 "" | " "*) ;;
4928 *) reload_flag=" $reload_flag" ;;
4929 esac
4930 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4931 case $host_os in
4932   cygwin* | mingw* | pw32* | cegcc*)
4933     if test "$GCC" != yes; then
4934       reload_cmds=false
4935     fi
4936     ;;
4937   darwin*)
4938     if test "$GCC" = yes; then
4939       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4940     else
4941       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4942     fi
4943     ;;
4944 esac
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954 if test -n "$ac_tool_prefix"; then
4955   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4956 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4958 $as_echo_n "checking for $ac_word... " >&6; }
4959 if ${ac_cv_prog_OBJDUMP+:} false; then :
4960   $as_echo_n "(cached) " >&6
4961 else
4962   if test -n "$OBJDUMP"; then
4963   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4964 else
4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 for as_dir in $PATH
4967 do
4968   IFS=$as_save_IFS
4969   test -z "$as_dir" && as_dir=.
4970     for ac_exec_ext in '' $ac_executable_extensions; do
4971   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4972     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4974     break 2
4975   fi
4976 done
4977   done
4978 IFS=$as_save_IFS
4979
4980 fi
4981 fi
4982 OBJDUMP=$ac_cv_prog_OBJDUMP
4983 if test -n "$OBJDUMP"; then
4984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4985 $as_echo "$OBJDUMP" >&6; }
4986 else
4987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 $as_echo "no" >&6; }
4989 fi
4990
4991
4992 fi
4993 if test -z "$ac_cv_prog_OBJDUMP"; then
4994   ac_ct_OBJDUMP=$OBJDUMP
4995   # Extract the first word of "objdump", so it can be a program name with args.
4996 set dummy objdump; ac_word=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5000   $as_echo_n "(cached) " >&6
5001 else
5002   if test -n "$ac_ct_OBJDUMP"; then
5003   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5004 else
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 for as_dir in $PATH
5007 do
5008   IFS=$as_save_IFS
5009   test -z "$as_dir" && as_dir=.
5010     for ac_exec_ext in '' $ac_executable_extensions; do
5011   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5012     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014     break 2
5015   fi
5016 done
5017   done
5018 IFS=$as_save_IFS
5019
5020 fi
5021 fi
5022 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5023 if test -n "$ac_ct_OBJDUMP"; then
5024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5025 $as_echo "$ac_ct_OBJDUMP" >&6; }
5026 else
5027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5029 fi
5030
5031   if test "x$ac_ct_OBJDUMP" = x; then
5032     OBJDUMP="false"
5033   else
5034     case $cross_compiling:$ac_tool_warned in
5035 yes:)
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5038 ac_tool_warned=yes ;;
5039 esac
5040     OBJDUMP=$ac_ct_OBJDUMP
5041   fi
5042 else
5043   OBJDUMP="$ac_cv_prog_OBJDUMP"
5044 fi
5045
5046 test -z "$OBJDUMP" && OBJDUMP=objdump
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5057 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5058 if ${lt_cv_deplibs_check_method+:} false; then :
5059   $as_echo_n "(cached) " >&6
5060 else
5061   lt_cv_file_magic_cmd='$MAGIC_CMD'
5062 lt_cv_file_magic_test_file=
5063 lt_cv_deplibs_check_method='unknown'
5064 # Need to set the preceding variable on all platforms that support
5065 # interlibrary dependencies.
5066 # 'none' -- dependencies not supported.
5067 # `unknown' -- same as none, but documents that we really don't know.
5068 # 'pass_all' -- all dependencies passed with no checks.
5069 # 'test_compile' -- check by making test program.
5070 # 'file_magic [[regex]]' -- check by looking for files in library path
5071 # which responds to the $file_magic_cmd with a given extended regex.
5072 # If you have `file' or equivalent on your system and you're not sure
5073 # whether `pass_all' will *always* work, you probably want this one.
5074
5075 case $host_os in
5076 aix[4-9]*)
5077   lt_cv_deplibs_check_method=pass_all
5078   ;;
5079
5080 beos*)
5081   lt_cv_deplibs_check_method=pass_all
5082   ;;
5083
5084 bsdi[45]*)
5085   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5086   lt_cv_file_magic_cmd='/usr/bin/file -L'
5087   lt_cv_file_magic_test_file=/shlib/libc.so
5088   ;;
5089
5090 cygwin*)
5091   # func_win32_libid is a shell function defined in ltmain.sh
5092   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5093   lt_cv_file_magic_cmd='func_win32_libid'
5094   ;;
5095
5096 mingw* | pw32*)
5097   # Base MSYS/MinGW do not provide the 'file' command needed by
5098   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5099   # unless we find 'file', for example because we are cross-compiling.
5100   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5101   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5102     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5103     lt_cv_file_magic_cmd='func_win32_libid'
5104   else
5105     # Keep this pattern in sync with the one in func_win32_libid.
5106     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5107     lt_cv_file_magic_cmd='$OBJDUMP -f'
5108   fi
5109   ;;
5110
5111 cegcc*)
5112   # use the weaker test based on 'objdump'. See mingw*.
5113   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5114   lt_cv_file_magic_cmd='$OBJDUMP -f'
5115   ;;
5116
5117 darwin* | rhapsody*)
5118   lt_cv_deplibs_check_method=pass_all
5119   ;;
5120
5121 freebsd* | dragonfly*)
5122   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5123     case $host_cpu in
5124     i*86 )
5125       # Not sure whether the presence of OpenBSD here was a mistake.
5126       # Let's accept both of them until this is cleared up.
5127       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5128       lt_cv_file_magic_cmd=/usr/bin/file
5129       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5130       ;;
5131     esac
5132   else
5133     lt_cv_deplibs_check_method=pass_all
5134   fi
5135   ;;
5136
5137 gnu*)
5138   lt_cv_deplibs_check_method=pass_all
5139   ;;
5140
5141 haiku*)
5142   lt_cv_deplibs_check_method=pass_all
5143   ;;
5144
5145 hpux10.20* | hpux11*)
5146   lt_cv_file_magic_cmd=/usr/bin/file
5147   case $host_cpu in
5148   ia64*)
5149     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5150     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5151     ;;
5152   hppa*64*)
5153     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]'
5154     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5155     ;;
5156   *)
5157     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5158     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5159     ;;
5160   esac
5161   ;;
5162
5163 interix[3-9]*)
5164   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5165   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5166   ;;
5167
5168 irix5* | irix6* | nonstopux*)
5169   case $LD in
5170   *-32|*"-32 ") libmagic=32-bit;;
5171   *-n32|*"-n32 ") libmagic=N32;;
5172   *-64|*"-64 ") libmagic=64-bit;;
5173   *) libmagic=never-match;;
5174   esac
5175   lt_cv_deplibs_check_method=pass_all
5176   ;;
5177
5178 # This must be glibc/ELF.
5179 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5180   lt_cv_deplibs_check_method=pass_all
5181   ;;
5182
5183 netbsd* | netbsdelf*-gnu)
5184   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5185     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5186   else
5187     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5188   fi
5189   ;;
5190
5191 newos6*)
5192   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5193   lt_cv_file_magic_cmd=/usr/bin/file
5194   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5195   ;;
5196
5197 *nto* | *qnx*)
5198   lt_cv_deplibs_check_method=pass_all
5199   ;;
5200
5201 openbsd*)
5202   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5203     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5204   else
5205     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5206   fi
5207   ;;
5208
5209 osf3* | osf4* | osf5*)
5210   lt_cv_deplibs_check_method=pass_all
5211   ;;
5212
5213 rdos*)
5214   lt_cv_deplibs_check_method=pass_all
5215   ;;
5216
5217 solaris*)
5218   lt_cv_deplibs_check_method=pass_all
5219   ;;
5220
5221 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5222   lt_cv_deplibs_check_method=pass_all
5223   ;;
5224
5225 sysv4 | sysv4.3*)
5226   case $host_vendor in
5227   motorola)
5228     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]'
5229     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5230     ;;
5231   ncr)
5232     lt_cv_deplibs_check_method=pass_all
5233     ;;
5234   sequent)
5235     lt_cv_file_magic_cmd='/bin/file'
5236     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5237     ;;
5238   sni)
5239     lt_cv_file_magic_cmd='/bin/file'
5240     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5241     lt_cv_file_magic_test_file=/lib/libc.so
5242     ;;
5243   siemens)
5244     lt_cv_deplibs_check_method=pass_all
5245     ;;
5246   pc)
5247     lt_cv_deplibs_check_method=pass_all
5248     ;;
5249   esac
5250   ;;
5251
5252 tpf*)
5253   lt_cv_deplibs_check_method=pass_all
5254   ;;
5255 esac
5256
5257 fi
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5259 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5260
5261 file_magic_glob=
5262 want_nocaseglob=no
5263 if test "$build" = "$host"; then
5264   case $host_os in
5265   mingw* | pw32*)
5266     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5267       want_nocaseglob=yes
5268     else
5269       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5270     fi
5271     ;;
5272   esac
5273 fi
5274
5275 file_magic_cmd=$lt_cv_file_magic_cmd
5276 deplibs_check_method=$lt_cv_deplibs_check_method
5277 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300 if test -n "$ac_tool_prefix"; then
5301   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5302 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5304 $as_echo_n "checking for $ac_word... " >&6; }
5305 if ${ac_cv_prog_DLLTOOL+:} false; then :
5306   $as_echo_n "(cached) " >&6
5307 else
5308   if test -n "$DLLTOOL"; then
5309   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5310 else
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH
5313 do
5314   IFS=$as_save_IFS
5315   test -z "$as_dir" && as_dir=.
5316     for ac_exec_ext in '' $ac_executable_extensions; do
5317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320     break 2
5321   fi
5322 done
5323   done
5324 IFS=$as_save_IFS
5325
5326 fi
5327 fi
5328 DLLTOOL=$ac_cv_prog_DLLTOOL
5329 if test -n "$DLLTOOL"; then
5330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5331 $as_echo "$DLLTOOL" >&6; }
5332 else
5333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5335 fi
5336
5337
5338 fi
5339 if test -z "$ac_cv_prog_DLLTOOL"; then
5340   ac_ct_DLLTOOL=$DLLTOOL
5341   # Extract the first word of "dlltool", so it can be a program name with args.
5342 set dummy dlltool; ac_word=$2
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5344 $as_echo_n "checking for $ac_word... " >&6; }
5345 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5346   $as_echo_n "(cached) " >&6
5347 else
5348   if test -n "$ac_ct_DLLTOOL"; then
5349   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5350 else
5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 for as_dir in $PATH
5353 do
5354   IFS=$as_save_IFS
5355   test -z "$as_dir" && as_dir=.
5356     for ac_exec_ext in '' $ac_executable_extensions; do
5357   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5358     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360     break 2
5361   fi
5362 done
5363   done
5364 IFS=$as_save_IFS
5365
5366 fi
5367 fi
5368 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5369 if test -n "$ac_ct_DLLTOOL"; then
5370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5371 $as_echo "$ac_ct_DLLTOOL" >&6; }
5372 else
5373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5374 $as_echo "no" >&6; }
5375 fi
5376
5377   if test "x$ac_ct_DLLTOOL" = x; then
5378     DLLTOOL="false"
5379   else
5380     case $cross_compiling:$ac_tool_warned in
5381 yes:)
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5384 ac_tool_warned=yes ;;
5385 esac
5386     DLLTOOL=$ac_ct_DLLTOOL
5387   fi
5388 else
5389   DLLTOOL="$ac_cv_prog_DLLTOOL"
5390 fi
5391
5392 test -z "$DLLTOOL" && DLLTOOL=dlltool
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5404 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5405 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5406   $as_echo_n "(cached) " >&6
5407 else
5408   lt_cv_sharedlib_from_linklib_cmd='unknown'
5409
5410 case $host_os in
5411 cygwin* | mingw* | pw32* | cegcc*)
5412   # two different shell functions defined in ltmain.sh
5413   # decide which to use based on capabilities of $DLLTOOL
5414   case `$DLLTOOL --help 2>&1` in
5415   *--identify-strict*)
5416     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5417     ;;
5418   *)
5419     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5420     ;;
5421   esac
5422   ;;
5423 *)
5424   # fallback: assume linklib IS sharedlib
5425   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5426   ;;
5427 esac
5428
5429 fi
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5431 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5432 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5433 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5434
5435
5436
5437
5438
5439
5440
5441
5442 if test -n "$ac_tool_prefix"; then
5443   for ac_prog in ar
5444   do
5445     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_AR+:} false; then :
5450   $as_echo_n "(cached) " >&6
5451 else
5452   if test -n "$AR"; then
5453   ac_cv_prog_AR="$AR" # Let the user override the test.
5454 else
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 for as_dir in $PATH
5457 do
5458   IFS=$as_save_IFS
5459   test -z "$as_dir" && as_dir=.
5460     for ac_exec_ext in '' $ac_executable_extensions; do
5461   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5462     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464     break 2
5465   fi
5466 done
5467   done
5468 IFS=$as_save_IFS
5469
5470 fi
5471 fi
5472 AR=$ac_cv_prog_AR
5473 if test -n "$AR"; then
5474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5475 $as_echo "$AR" >&6; }
5476 else
5477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5479 fi
5480
5481
5482     test -n "$AR" && break
5483   done
5484 fi
5485 if test -z "$AR"; then
5486   ac_ct_AR=$AR
5487   for ac_prog in ar
5488 do
5489   # Extract the first word of "$ac_prog", so it can be a program name with args.
5490 set dummy $ac_prog; ac_word=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5494   $as_echo_n "(cached) " >&6
5495 else
5496   if test -n "$ac_ct_AR"; then
5497   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5498 else
5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 for as_dir in $PATH
5501 do
5502   IFS=$as_save_IFS
5503   test -z "$as_dir" && as_dir=.
5504     for ac_exec_ext in '' $ac_executable_extensions; do
5505   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5506     ac_cv_prog_ac_ct_AR="$ac_prog"
5507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508     break 2
5509   fi
5510 done
5511   done
5512 IFS=$as_save_IFS
5513
5514 fi
5515 fi
5516 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5517 if test -n "$ac_ct_AR"; then
5518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5519 $as_echo "$ac_ct_AR" >&6; }
5520 else
5521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
5523 fi
5524
5525
5526   test -n "$ac_ct_AR" && break
5527 done
5528
5529   if test "x$ac_ct_AR" = x; then
5530     AR="false"
5531   else
5532     case $cross_compiling:$ac_tool_warned in
5533 yes:)
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5536 ac_tool_warned=yes ;;
5537 esac
5538     AR=$ac_ct_AR
5539   fi
5540 fi
5541
5542 : ${AR=ar}
5543 : ${AR_FLAGS=cru}
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5556 $as_echo_n "checking for archiver @FILE support... " >&6; }
5557 if ${lt_cv_ar_at_file+:} false; then :
5558   $as_echo_n "(cached) " >&6
5559 else
5560   lt_cv_ar_at_file=no
5561    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5562 /* end confdefs.h.  */
5563
5564 int
5565 main ()
5566 {
5567
5568   ;
5569   return 0;
5570 }
5571 _ACEOF
5572 if ac_fn_c_try_compile "$LINENO"; then :
5573   echo conftest.$ac_objext > conftest.lst
5574       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5575       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5576   (eval $lt_ar_try) 2>&5
5577   ac_status=$?
5578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5579   test $ac_status = 0; }
5580       if test "$ac_status" -eq 0; then
5581         # Ensure the archiver fails upon bogus file names.
5582         rm -f conftest.$ac_objext libconftest.a
5583         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5584   (eval $lt_ar_try) 2>&5
5585   ac_status=$?
5586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5587   test $ac_status = 0; }
5588         if test "$ac_status" -ne 0; then
5589           lt_cv_ar_at_file=@
5590         fi
5591       fi
5592       rm -f conftest.* libconftest.a
5593
5594 fi
5595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5596
5597 fi
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5599 $as_echo "$lt_cv_ar_at_file" >&6; }
5600
5601 if test "x$lt_cv_ar_at_file" = xno; then
5602   archiver_list_spec=
5603 else
5604   archiver_list_spec=$lt_cv_ar_at_file
5605 fi
5606
5607
5608
5609
5610
5611
5612
5613 if test -n "$ac_tool_prefix"; then
5614   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5615 set dummy ${ac_tool_prefix}strip; ac_word=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_STRIP+:} false; then :
5619   $as_echo_n "(cached) " >&6
5620 else
5621   if test -n "$STRIP"; then
5622   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5623 else
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 for as_dir in $PATH
5626 do
5627   IFS=$as_save_IFS
5628   test -z "$as_dir" && as_dir=.
5629     for ac_exec_ext in '' $ac_executable_extensions; do
5630   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5631     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633     break 2
5634   fi
5635 done
5636   done
5637 IFS=$as_save_IFS
5638
5639 fi
5640 fi
5641 STRIP=$ac_cv_prog_STRIP
5642 if test -n "$STRIP"; then
5643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5644 $as_echo "$STRIP" >&6; }
5645 else
5646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5648 fi
5649
5650
5651 fi
5652 if test -z "$ac_cv_prog_STRIP"; then
5653   ac_ct_STRIP=$STRIP
5654   # Extract the first word of "strip", so it can be a program name with args.
5655 set dummy strip; ac_word=$2
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 $as_echo_n "checking for $ac_word... " >&6; }
5658 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5659   $as_echo_n "(cached) " >&6
5660 else
5661   if test -n "$ac_ct_STRIP"; then
5662   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5663 else
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH
5666 do
5667   IFS=$as_save_IFS
5668   test -z "$as_dir" && as_dir=.
5669     for ac_exec_ext in '' $ac_executable_extensions; do
5670   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5671     ac_cv_prog_ac_ct_STRIP="strip"
5672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5673     break 2
5674   fi
5675 done
5676   done
5677 IFS=$as_save_IFS
5678
5679 fi
5680 fi
5681 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5682 if test -n "$ac_ct_STRIP"; then
5683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5684 $as_echo "$ac_ct_STRIP" >&6; }
5685 else
5686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 $as_echo "no" >&6; }
5688 fi
5689
5690   if test "x$ac_ct_STRIP" = x; then
5691     STRIP=":"
5692   else
5693     case $cross_compiling:$ac_tool_warned in
5694 yes:)
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5697 ac_tool_warned=yes ;;
5698 esac
5699     STRIP=$ac_ct_STRIP
5700   fi
5701 else
5702   STRIP="$ac_cv_prog_STRIP"
5703 fi
5704
5705 test -z "$STRIP" && STRIP=:
5706
5707
5708
5709
5710
5711
5712 if test -n "$ac_tool_prefix"; then
5713   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5714 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716 $as_echo_n "checking for $ac_word... " >&6; }
5717 if ${ac_cv_prog_RANLIB+:} false; then :
5718   $as_echo_n "(cached) " >&6
5719 else
5720   if test -n "$RANLIB"; then
5721   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5722 else
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 for as_dir in $PATH
5725 do
5726   IFS=$as_save_IFS
5727   test -z "$as_dir" && as_dir=.
5728     for ac_exec_ext in '' $ac_executable_extensions; do
5729   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5730     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732     break 2
5733   fi
5734 done
5735   done
5736 IFS=$as_save_IFS
5737
5738 fi
5739 fi
5740 RANLIB=$ac_cv_prog_RANLIB
5741 if test -n "$RANLIB"; then
5742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5743 $as_echo "$RANLIB" >&6; }
5744 else
5745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5747 fi
5748
5749
5750 fi
5751 if test -z "$ac_cv_prog_RANLIB"; then
5752   ac_ct_RANLIB=$RANLIB
5753   # Extract the first word of "ranlib", so it can be a program name with args.
5754 set dummy ranlib; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5758   $as_echo_n "(cached) " >&6
5759 else
5760   if test -n "$ac_ct_RANLIB"; then
5761   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5762 else
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 for as_dir in $PATH
5765 do
5766   IFS=$as_save_IFS
5767   test -z "$as_dir" && as_dir=.
5768     for ac_exec_ext in '' $ac_executable_extensions; do
5769   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5770     ac_cv_prog_ac_ct_RANLIB="ranlib"
5771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772     break 2
5773   fi
5774 done
5775   done
5776 IFS=$as_save_IFS
5777
5778 fi
5779 fi
5780 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5781 if test -n "$ac_ct_RANLIB"; then
5782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5783 $as_echo "$ac_ct_RANLIB" >&6; }
5784 else
5785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5787 fi
5788
5789   if test "x$ac_ct_RANLIB" = x; then
5790     RANLIB=":"
5791   else
5792     case $cross_compiling:$ac_tool_warned in
5793 yes:)
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5796 ac_tool_warned=yes ;;
5797 esac
5798     RANLIB=$ac_ct_RANLIB
5799   fi
5800 else
5801   RANLIB="$ac_cv_prog_RANLIB"
5802 fi
5803
5804 test -z "$RANLIB" && RANLIB=:
5805
5806
5807
5808
5809
5810
5811 # Determine commands to create old-style static archives.
5812 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5813 old_postinstall_cmds='chmod 644 $oldlib'
5814 old_postuninstall_cmds=
5815
5816 if test -n "$RANLIB"; then
5817   case $host_os in
5818   openbsd*)
5819     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5820     ;;
5821   *)
5822     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5823     ;;
5824   esac
5825   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5826 fi
5827
5828 case $host_os in
5829   darwin*)
5830     lock_old_archive_extraction=yes ;;
5831   *)
5832     lock_old_archive_extraction=no ;;
5833 esac
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873 # If no C compiler was specified, use CC.
5874 LTCC=${LTCC-"$CC"}
5875
5876 # If no C compiler flags were specified, use CFLAGS.
5877 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5878
5879 # Allow CC to be a program name with arguments.
5880 compiler=$CC
5881
5882
5883 # Check for command to grab the raw symbol name followed by C symbol from nm.
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5885 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5886 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5887   $as_echo_n "(cached) " >&6
5888 else
5889
5890 # These are sane defaults that work on at least a few old systems.
5891 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5892
5893 # Character class describing NM global symbol codes.
5894 symcode='[BCDEGRST]'
5895
5896 # Regexp to match symbols that can be accessed directly from C.
5897 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5898
5899 # Define system-specific variables.
5900 case $host_os in
5901 aix*)
5902   symcode='[BCDT]'
5903   ;;
5904 cygwin* | mingw* | pw32* | cegcc*)
5905   symcode='[ABCDGISTW]'
5906   ;;
5907 hpux*)
5908   if test "$host_cpu" = ia64; then
5909     symcode='[ABCDEGRST]'
5910   fi
5911   ;;
5912 irix* | nonstopux*)
5913   symcode='[BCDEGRST]'
5914   ;;
5915 osf*)
5916   symcode='[BCDEGQRST]'
5917   ;;
5918 solaris*)
5919   symcode='[BDRT]'
5920   ;;
5921 sco3.2v5*)
5922   symcode='[DT]'
5923   ;;
5924 sysv4.2uw2*)
5925   symcode='[DT]'
5926   ;;
5927 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5928   symcode='[ABDT]'
5929   ;;
5930 sysv4)
5931   symcode='[DFNSTU]'
5932   ;;
5933 esac
5934
5935 # If we're using GNU nm, then use its standard symbol codes.
5936 case `$NM -V 2>&1` in
5937 *GNU* | *'with BFD'*)
5938   symcode='[ABCDGIRSTW]' ;;
5939 esac
5940
5941 # Transform an extracted symbol line into a proper C declaration.
5942 # Some systems (esp. on ia64) link data and code symbols differently,
5943 # so use this general approach.
5944 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5945
5946 # Transform an extracted symbol line into symbol name and symbol address
5947 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5948 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5949
5950 # Handle CRLF in mingw tool chain
5951 opt_cr=
5952 case $build_os in
5953 mingw*)
5954   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5955   ;;
5956 esac
5957
5958 # Try without a prefix underscore, then with it.
5959 for ac_symprfx in "" "_"; do
5960
5961   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5962   symxfrm="\\1 $ac_symprfx\\2 \\2"
5963
5964   # Write the raw and C identifiers.
5965   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5966     # Fake it for dumpbin and say T for any non-static function
5967     # and D for any global variable.
5968     # Also find C++ and __fastcall symbols from MSVC++,
5969     # which start with @ or ?.
5970     lt_cv_sys_global_symbol_pipe="$AWK '"\
5971 "     {last_section=section; section=\$ 3};"\
5972 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5973 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5974 "     \$ 0!~/External *\|/{next};"\
5975 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5976 "     {if(hide[section]) next};"\
5977 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5978 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5979 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5980 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5981 "     ' prfx=^$ac_symprfx"
5982   else
5983     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5984   fi
5985   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5986
5987   # Check to see that the pipe works correctly.
5988   pipe_works=no
5989
5990   rm -f conftest*
5991   cat > conftest.$ac_ext <<_LT_EOF
5992 #ifdef __cplusplus
5993 extern "C" {
5994 #endif
5995 char nm_test_var;
5996 void nm_test_func(void);
5997 void nm_test_func(void){}
5998 #ifdef __cplusplus
5999 }
6000 #endif
6001 int main(){nm_test_var='a';nm_test_func();return(0);}
6002 _LT_EOF
6003
6004   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6005   (eval $ac_compile) 2>&5
6006   ac_status=$?
6007   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6008   test $ac_status = 0; }; then
6009     # Now try to grab the symbols.
6010     nlist=conftest.nm
6011     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6012   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6013   ac_status=$?
6014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6015   test $ac_status = 0; } && test -s "$nlist"; then
6016       # Try sorting and uniquifying the output.
6017       if sort "$nlist" | uniq > "$nlist"T; then
6018         mv -f "$nlist"T "$nlist"
6019       else
6020         rm -f "$nlist"T
6021       fi
6022
6023       # Make sure that we snagged all the symbols we need.
6024       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6025         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6026           cat <<_LT_EOF > conftest.$ac_ext
6027 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6028 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6029 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6030    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6031 # define LT_DLSYM_CONST
6032 #elif defined(__osf__)
6033 /* This system does not cope well with relocations in const data.  */
6034 # define LT_DLSYM_CONST
6035 #else
6036 # define LT_DLSYM_CONST const
6037 #endif
6038
6039 #ifdef __cplusplus
6040 extern "C" {
6041 #endif
6042
6043 _LT_EOF
6044           # Now generate the symbol file.
6045           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6046
6047           cat <<_LT_EOF >> conftest.$ac_ext
6048
6049 /* The mapping between symbol names and symbols.  */
6050 LT_DLSYM_CONST struct {
6051   const char *name;
6052   void       *address;
6053 }
6054 lt__PROGRAM__LTX_preloaded_symbols[] =
6055 {
6056   { "@PROGRAM@", (void *) 0 },
6057 _LT_EOF
6058           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6059           cat <<\_LT_EOF >> conftest.$ac_ext
6060   {0, (void *) 0}
6061 };
6062
6063 /* This works around a problem in FreeBSD linker */
6064 #ifdef FREEBSD_WORKAROUND
6065 static const void *lt_preloaded_setup() {
6066   return lt__PROGRAM__LTX_preloaded_symbols;
6067 }
6068 #endif
6069
6070 #ifdef __cplusplus
6071 }
6072 #endif
6073 _LT_EOF
6074           # Now try linking the two files.
6075           mv conftest.$ac_objext conftstm.$ac_objext
6076           lt_globsym_save_LIBS=$LIBS
6077           lt_globsym_save_CFLAGS=$CFLAGS
6078           LIBS="conftstm.$ac_objext"
6079           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6080           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6081   (eval $ac_link) 2>&5
6082   ac_status=$?
6083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6084   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6085             pipe_works=yes
6086           fi
6087           LIBS=$lt_globsym_save_LIBS
6088           CFLAGS=$lt_globsym_save_CFLAGS
6089         else
6090           echo "cannot find nm_test_func in $nlist" >&5
6091         fi
6092       else
6093         echo "cannot find nm_test_var in $nlist" >&5
6094       fi
6095     else
6096       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6097     fi
6098   else
6099     echo "$progname: failed program was:" >&5
6100     cat conftest.$ac_ext >&5
6101   fi
6102   rm -rf conftest* conftst*
6103
6104   # Do not use the global_symbol_pipe unless it works.
6105   if test "$pipe_works" = yes; then
6106     break
6107   else
6108     lt_cv_sys_global_symbol_pipe=
6109   fi
6110 done
6111
6112 fi
6113
6114 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6115   lt_cv_sys_global_symbol_to_cdecl=
6116 fi
6117 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6119 $as_echo "failed" >&6; }
6120 else
6121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6122 $as_echo "ok" >&6; }
6123 fi
6124
6125 # Response file support.
6126 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6127   nm_file_list_spec='@'
6128 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6129   nm_file_list_spec='@'
6130 fi
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6159 $as_echo_n "checking for sysroot... " >&6; }
6160
6161 # Check whether --with-sysroot was given.
6162 if test "${with_sysroot+set}" = set; then :
6163   withval=$with_sysroot;
6164 else
6165   with_sysroot=no
6166 fi
6167
6168
6169 lt_sysroot=
6170 case ${with_sysroot} in #(
6171  yes)
6172    if test "$GCC" = yes; then
6173      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6174    fi
6175    ;; #(
6176  /*)
6177    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6178    ;; #(
6179  no|'')
6180    ;; #(
6181  *)
6182    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6183 $as_echo "${with_sysroot}" >&6; }
6184    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6185    ;;
6186 esac
6187
6188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6189 $as_echo "${lt_sysroot:-no}" >&6; }
6190
6191
6192
6193
6194
6195 # Check whether --enable-libtool-lock was given.
6196 if test "${enable_libtool_lock+set}" = set; then :
6197   enableval=$enable_libtool_lock;
6198 fi
6199
6200 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6201
6202 # Some flags need to be propagated to the compiler or linker for good
6203 # libtool support.
6204 case $host in
6205 ia64-*-hpux*)
6206   # Find out which ABI we are using.
6207   echo 'int i;' > conftest.$ac_ext
6208   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6209   (eval $ac_compile) 2>&5
6210   ac_status=$?
6211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6212   test $ac_status = 0; }; then
6213     case `/usr/bin/file conftest.$ac_objext` in
6214       *ELF-32*)
6215         HPUX_IA64_MODE="32"
6216         ;;
6217       *ELF-64*)
6218         HPUX_IA64_MODE="64"
6219         ;;
6220     esac
6221   fi
6222   rm -rf conftest*
6223   ;;
6224 *-*-irix6*)
6225   # Find out which ABI we are using.
6226   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6227   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6228   (eval $ac_compile) 2>&5
6229   ac_status=$?
6230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6231   test $ac_status = 0; }; then
6232     if test "$lt_cv_prog_gnu_ld" = yes; then
6233       case `/usr/bin/file conftest.$ac_objext` in
6234         *32-bit*)
6235           LD="${LD-ld} -melf32bsmip"
6236           ;;
6237         *N32*)
6238           LD="${LD-ld} -melf32bmipn32"
6239           ;;
6240         *64-bit*)
6241           LD="${LD-ld} -melf64bmip"
6242         ;;
6243       esac
6244     else
6245       case `/usr/bin/file conftest.$ac_objext` in
6246         *32-bit*)
6247           LD="${LD-ld} -32"
6248           ;;
6249         *N32*)
6250           LD="${LD-ld} -n32"
6251           ;;
6252         *64-bit*)
6253           LD="${LD-ld} -64"
6254           ;;
6255       esac
6256     fi
6257   fi
6258   rm -rf conftest*
6259   ;;
6260
6261 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6262 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6263   # Find out which ABI we are using.
6264   echo 'int i;' > conftest.$ac_ext
6265   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6266   (eval $ac_compile) 2>&5
6267   ac_status=$?
6268   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6269   test $ac_status = 0; }; then
6270     case `/usr/bin/file conftest.o` in
6271       *32-bit*)
6272         case $host in
6273           x86_64-*kfreebsd*-gnu)
6274             LD="${LD-ld} -m elf_i386_fbsd"
6275             ;;
6276           x86_64-*linux*)
6277             LD="${LD-ld} -m elf_i386"
6278             ;;
6279           ppc64-*linux*|powerpc64-*linux*)
6280             LD="${LD-ld} -m elf32ppclinux"
6281             ;;
6282           s390x-*linux*)
6283             LD="${LD-ld} -m elf_s390"
6284             ;;
6285           sparc64-*linux*)
6286             LD="${LD-ld} -m elf32_sparc"
6287             ;;
6288         esac
6289         ;;
6290       *64-bit*)
6291         case $host in
6292           x86_64-*kfreebsd*-gnu)
6293             LD="${LD-ld} -m elf_x86_64_fbsd"
6294             ;;
6295           x86_64-*linux*)
6296             LD="${LD-ld} -m elf_x86_64"
6297             ;;
6298           ppc*-*linux*|powerpc*-*linux*)
6299             LD="${LD-ld} -m elf64ppc"
6300             ;;
6301           s390*-*linux*|s390*-*tpf*)
6302             LD="${LD-ld} -m elf64_s390"
6303             ;;
6304           sparc*-*linux*)
6305             LD="${LD-ld} -m elf64_sparc"
6306             ;;
6307         esac
6308         ;;
6309     esac
6310   fi
6311   rm -rf conftest*
6312   ;;
6313
6314 *-*-sco3.2v5*)
6315   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6316   SAVE_CFLAGS="$CFLAGS"
6317   CFLAGS="$CFLAGS -belf"
6318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6319 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6320 if ${lt_cv_cc_needs_belf+:} false; then :
6321   $as_echo_n "(cached) " >&6
6322 else
6323   ac_ext=c
6324 ac_cpp='$CPP $CPPFLAGS'
6325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6328
6329      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6330 /* end confdefs.h.  */
6331
6332 int
6333 main ()
6334 {
6335
6336   ;
6337   return 0;
6338 }
6339 _ACEOF
6340 if ac_fn_c_try_link "$LINENO"; then :
6341   lt_cv_cc_needs_belf=yes
6342 else
6343   lt_cv_cc_needs_belf=no
6344 fi
6345 rm -f core conftest.err conftest.$ac_objext \
6346     conftest$ac_exeext conftest.$ac_ext
6347      ac_ext=c
6348 ac_cpp='$CPP $CPPFLAGS'
6349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6352
6353 fi
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6355 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6356   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6357     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6358     CFLAGS="$SAVE_CFLAGS"
6359   fi
6360   ;;
6361 *-*solaris*)
6362   # Find out which ABI we are using.
6363   echo 'int i;' > conftest.$ac_ext
6364   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6365   (eval $ac_compile) 2>&5
6366   ac_status=$?
6367   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6368   test $ac_status = 0; }; then
6369     case `/usr/bin/file conftest.o` in
6370     *64-bit*)
6371       case $lt_cv_prog_gnu_ld in
6372       yes*)
6373         case $host in
6374         i?86-*-solaris*)
6375           LD="${LD-ld} -m elf_x86_64"
6376           ;;
6377         sparc*-*-solaris*)
6378           LD="${LD-ld} -m elf64_sparc"
6379           ;;
6380         esac
6381         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6382         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6383           LD="${LD-ld}_sol2"
6384         fi
6385         ;;
6386       *)
6387         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6388           LD="${LD-ld} -64"
6389         fi
6390         ;;
6391       esac
6392       ;;
6393     esac
6394   fi
6395   rm -rf conftest*
6396   ;;
6397 esac
6398
6399 need_locks="$enable_libtool_lock"
6400
6401 if test -n "$ac_tool_prefix"; then
6402   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6403 set dummy ${ac_tool_prefix}mt; ac_word=$2
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6405 $as_echo_n "checking for $ac_word... " >&6; }
6406 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6407   $as_echo_n "(cached) " >&6
6408 else
6409   if test -n "$MANIFEST_TOOL"; then
6410   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6411 else
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413 for as_dir in $PATH
6414 do
6415   IFS=$as_save_IFS
6416   test -z "$as_dir" && as_dir=.
6417     for ac_exec_ext in '' $ac_executable_extensions; do
6418   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6419     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6421     break 2
6422   fi
6423 done
6424   done
6425 IFS=$as_save_IFS
6426
6427 fi
6428 fi
6429 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6430 if test -n "$MANIFEST_TOOL"; then
6431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6432 $as_echo "$MANIFEST_TOOL" >&6; }
6433 else
6434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6436 fi
6437
6438
6439 fi
6440 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6441   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6442   # Extract the first word of "mt", so it can be a program name with args.
6443 set dummy mt; ac_word=$2
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6445 $as_echo_n "checking for $ac_word... " >&6; }
6446 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6447   $as_echo_n "(cached) " >&6
6448 else
6449   if test -n "$ac_ct_MANIFEST_TOOL"; then
6450   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6451 else
6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6453 for as_dir in $PATH
6454 do
6455   IFS=$as_save_IFS
6456   test -z "$as_dir" && as_dir=.
6457     for ac_exec_ext in '' $ac_executable_extensions; do
6458   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6459     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6461     break 2
6462   fi
6463 done
6464   done
6465 IFS=$as_save_IFS
6466
6467 fi
6468 fi
6469 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6470 if test -n "$ac_ct_MANIFEST_TOOL"; then
6471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6472 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6473 else
6474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6475 $as_echo "no" >&6; }
6476 fi
6477
6478   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6479     MANIFEST_TOOL=":"
6480   else
6481     case $cross_compiling:$ac_tool_warned in
6482 yes:)
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6485 ac_tool_warned=yes ;;
6486 esac
6487     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6488   fi
6489 else
6490   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6491 fi
6492
6493 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6495 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6496 if ${lt_cv_path_mainfest_tool+:} false; then :
6497   $as_echo_n "(cached) " >&6
6498 else
6499   lt_cv_path_mainfest_tool=no
6500   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6501   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6502   cat conftest.err >&5
6503   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6504     lt_cv_path_mainfest_tool=yes
6505   fi
6506   rm -f conftest*
6507 fi
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6509 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6510 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6511   MANIFEST_TOOL=:
6512 fi
6513
6514
6515
6516
6517
6518
6519   case $host_os in
6520     rhapsody* | darwin*)
6521     if test -n "$ac_tool_prefix"; then
6522   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6523 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6527   $as_echo_n "(cached) " >&6
6528 else
6529   if test -n "$DSYMUTIL"; then
6530   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6531 else
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 for as_dir in $PATH
6534 do
6535   IFS=$as_save_IFS
6536   test -z "$as_dir" && as_dir=.
6537     for ac_exec_ext in '' $ac_executable_extensions; do
6538   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6539     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541     break 2
6542   fi
6543 done
6544   done
6545 IFS=$as_save_IFS
6546
6547 fi
6548 fi
6549 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6550 if test -n "$DSYMUTIL"; then
6551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6552 $as_echo "$DSYMUTIL" >&6; }
6553 else
6554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6556 fi
6557
6558
6559 fi
6560 if test -z "$ac_cv_prog_DSYMUTIL"; then
6561   ac_ct_DSYMUTIL=$DSYMUTIL
6562   # Extract the first word of "dsymutil", so it can be a program name with args.
6563 set dummy dsymutil; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6567   $as_echo_n "(cached) " >&6
6568 else
6569   if test -n "$ac_ct_DSYMUTIL"; then
6570   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6574 do
6575   IFS=$as_save_IFS
6576   test -z "$as_dir" && as_dir=.
6577     for ac_exec_ext in '' $ac_executable_extensions; do
6578   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6579     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581     break 2
6582   fi
6583 done
6584   done
6585 IFS=$as_save_IFS
6586
6587 fi
6588 fi
6589 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6590 if test -n "$ac_ct_DSYMUTIL"; then
6591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6592 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6593 else
6594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6596 fi
6597
6598   if test "x$ac_ct_DSYMUTIL" = x; then
6599     DSYMUTIL=":"
6600   else
6601     case $cross_compiling:$ac_tool_warned in
6602 yes:)
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605 ac_tool_warned=yes ;;
6606 esac
6607     DSYMUTIL=$ac_ct_DSYMUTIL
6608   fi
6609 else
6610   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6611 fi
6612
6613     if test -n "$ac_tool_prefix"; then
6614   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6615 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_NMEDIT+:} false; then :
6619   $as_echo_n "(cached) " >&6
6620 else
6621   if test -n "$NMEDIT"; then
6622   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6623 else
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in $PATH
6626 do
6627   IFS=$as_save_IFS
6628   test -z "$as_dir" && as_dir=.
6629     for ac_exec_ext in '' $ac_executable_extensions; do
6630   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6631     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6633     break 2
6634   fi
6635 done
6636   done
6637 IFS=$as_save_IFS
6638
6639 fi
6640 fi
6641 NMEDIT=$ac_cv_prog_NMEDIT
6642 if test -n "$NMEDIT"; then
6643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6644 $as_echo "$NMEDIT" >&6; }
6645 else
6646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6648 fi
6649
6650
6651 fi
6652 if test -z "$ac_cv_prog_NMEDIT"; then
6653   ac_ct_NMEDIT=$NMEDIT
6654   # Extract the first word of "nmedit", so it can be a program name with args.
6655 set dummy nmedit; ac_word=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6659   $as_echo_n "(cached) " >&6
6660 else
6661   if test -n "$ac_ct_NMEDIT"; then
6662   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6663 else
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665 for as_dir in $PATH
6666 do
6667   IFS=$as_save_IFS
6668   test -z "$as_dir" && as_dir=.
6669     for ac_exec_ext in '' $ac_executable_extensions; do
6670   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6671     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6673     break 2
6674   fi
6675 done
6676   done
6677 IFS=$as_save_IFS
6678
6679 fi
6680 fi
6681 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6682 if test -n "$ac_ct_NMEDIT"; then
6683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6684 $as_echo "$ac_ct_NMEDIT" >&6; }
6685 else
6686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6688 fi
6689
6690   if test "x$ac_ct_NMEDIT" = x; then
6691     NMEDIT=":"
6692   else
6693     case $cross_compiling:$ac_tool_warned in
6694 yes:)
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6697 ac_tool_warned=yes ;;
6698 esac
6699     NMEDIT=$ac_ct_NMEDIT
6700   fi
6701 else
6702   NMEDIT="$ac_cv_prog_NMEDIT"
6703 fi
6704
6705     if test -n "$ac_tool_prefix"; then
6706   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6707 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if ${ac_cv_prog_LIPO+:} false; then :
6711   $as_echo_n "(cached) " >&6
6712 else
6713   if test -n "$LIPO"; then
6714   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6715 else
6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 for as_dir in $PATH
6718 do
6719   IFS=$as_save_IFS
6720   test -z "$as_dir" && as_dir=.
6721     for ac_exec_ext in '' $ac_executable_extensions; do
6722   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6723     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725     break 2
6726   fi
6727 done
6728   done
6729 IFS=$as_save_IFS
6730
6731 fi
6732 fi
6733 LIPO=$ac_cv_prog_LIPO
6734 if test -n "$LIPO"; then
6735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6736 $as_echo "$LIPO" >&6; }
6737 else
6738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6740 fi
6741
6742
6743 fi
6744 if test -z "$ac_cv_prog_LIPO"; then
6745   ac_ct_LIPO=$LIPO
6746   # Extract the first word of "lipo", so it can be a program name with args.
6747 set dummy lipo; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6751   $as_echo_n "(cached) " >&6
6752 else
6753   if test -n "$ac_ct_LIPO"; then
6754   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6758 do
6759   IFS=$as_save_IFS
6760   test -z "$as_dir" && as_dir=.
6761     for ac_exec_ext in '' $ac_executable_extensions; do
6762   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6763     ac_cv_prog_ac_ct_LIPO="lipo"
6764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765     break 2
6766   fi
6767 done
6768   done
6769 IFS=$as_save_IFS
6770
6771 fi
6772 fi
6773 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6774 if test -n "$ac_ct_LIPO"; then
6775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6776 $as_echo "$ac_ct_LIPO" >&6; }
6777 else
6778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6780 fi
6781
6782   if test "x$ac_ct_LIPO" = x; then
6783     LIPO=":"
6784   else
6785     case $cross_compiling:$ac_tool_warned in
6786 yes:)
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6789 ac_tool_warned=yes ;;
6790 esac
6791     LIPO=$ac_ct_LIPO
6792   fi
6793 else
6794   LIPO="$ac_cv_prog_LIPO"
6795 fi
6796
6797     if test -n "$ac_tool_prefix"; then
6798   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6799 set dummy ${ac_tool_prefix}otool; ac_word=$2
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6801 $as_echo_n "checking for $ac_word... " >&6; }
6802 if ${ac_cv_prog_OTOOL+:} false; then :
6803   $as_echo_n "(cached) " >&6
6804 else
6805   if test -n "$OTOOL"; then
6806   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6807 else
6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809 for as_dir in $PATH
6810 do
6811   IFS=$as_save_IFS
6812   test -z "$as_dir" && as_dir=.
6813     for ac_exec_ext in '' $ac_executable_extensions; do
6814   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6815     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6817     break 2
6818   fi
6819 done
6820   done
6821 IFS=$as_save_IFS
6822
6823 fi
6824 fi
6825 OTOOL=$ac_cv_prog_OTOOL
6826 if test -n "$OTOOL"; then
6827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6828 $as_echo "$OTOOL" >&6; }
6829 else
6830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6831 $as_echo "no" >&6; }
6832 fi
6833
6834
6835 fi
6836 if test -z "$ac_cv_prog_OTOOL"; then
6837   ac_ct_OTOOL=$OTOOL
6838   # Extract the first word of "otool", so it can be a program name with args.
6839 set dummy otool; ac_word=$2
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841 $as_echo_n "checking for $ac_word... " >&6; }
6842 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6843   $as_echo_n "(cached) " >&6
6844 else
6845   if test -n "$ac_ct_OTOOL"; then
6846   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6847 else
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849 for as_dir in $PATH
6850 do
6851   IFS=$as_save_IFS
6852   test -z "$as_dir" && as_dir=.
6853     for ac_exec_ext in '' $ac_executable_extensions; do
6854   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6855     ac_cv_prog_ac_ct_OTOOL="otool"
6856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6857     break 2
6858   fi
6859 done
6860   done
6861 IFS=$as_save_IFS
6862
6863 fi
6864 fi
6865 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6866 if test -n "$ac_ct_OTOOL"; then
6867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6868 $as_echo "$ac_ct_OTOOL" >&6; }
6869 else
6870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 $as_echo "no" >&6; }
6872 fi
6873
6874   if test "x$ac_ct_OTOOL" = x; then
6875     OTOOL=":"
6876   else
6877     case $cross_compiling:$ac_tool_warned in
6878 yes:)
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6881 ac_tool_warned=yes ;;
6882 esac
6883     OTOOL=$ac_ct_OTOOL
6884   fi
6885 else
6886   OTOOL="$ac_cv_prog_OTOOL"
6887 fi
6888
6889     if test -n "$ac_tool_prefix"; then
6890   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6891 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6893 $as_echo_n "checking for $ac_word... " >&6; }
6894 if ${ac_cv_prog_OTOOL64+:} false; then :
6895   $as_echo_n "(cached) " >&6
6896 else
6897   if test -n "$OTOOL64"; then
6898   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6899 else
6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 for as_dir in $PATH
6902 do
6903   IFS=$as_save_IFS
6904   test -z "$as_dir" && as_dir=.
6905     for ac_exec_ext in '' $ac_executable_extensions; do
6906   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6907     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6909     break 2
6910   fi
6911 done
6912   done
6913 IFS=$as_save_IFS
6914
6915 fi
6916 fi
6917 OTOOL64=$ac_cv_prog_OTOOL64
6918 if test -n "$OTOOL64"; then
6919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6920 $as_echo "$OTOOL64" >&6; }
6921 else
6922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6923 $as_echo "no" >&6; }
6924 fi
6925
6926
6927 fi
6928 if test -z "$ac_cv_prog_OTOOL64"; then
6929   ac_ct_OTOOL64=$OTOOL64
6930   # Extract the first word of "otool64", so it can be a program name with args.
6931 set dummy otool64; ac_word=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933 $as_echo_n "checking for $ac_word... " >&6; }
6934 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6935   $as_echo_n "(cached) " >&6
6936 else
6937   if test -n "$ac_ct_OTOOL64"; then
6938   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6939 else
6940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941 for as_dir in $PATH
6942 do
6943   IFS=$as_save_IFS
6944   test -z "$as_dir" && as_dir=.
6945     for ac_exec_ext in '' $ac_executable_extensions; do
6946   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6947     ac_cv_prog_ac_ct_OTOOL64="otool64"
6948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6949     break 2
6950   fi
6951 done
6952   done
6953 IFS=$as_save_IFS
6954
6955 fi
6956 fi
6957 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6958 if test -n "$ac_ct_OTOOL64"; then
6959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6960 $as_echo "$ac_ct_OTOOL64" >&6; }
6961 else
6962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6963 $as_echo "no" >&6; }
6964 fi
6965
6966   if test "x$ac_ct_OTOOL64" = x; then
6967     OTOOL64=":"
6968   else
6969     case $cross_compiling:$ac_tool_warned in
6970 yes:)
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6973 ac_tool_warned=yes ;;
6974 esac
6975     OTOOL64=$ac_ct_OTOOL64
6976   fi
6977 else
6978   OTOOL64="$ac_cv_prog_OTOOL64"
6979 fi
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7008 $as_echo_n "checking for -single_module linker flag... " >&6; }
7009 if ${lt_cv_apple_cc_single_mod+:} false; then :
7010   $as_echo_n "(cached) " >&6
7011 else
7012   lt_cv_apple_cc_single_mod=no
7013       if test -z "${LT_MULTI_MODULE}"; then
7014         # By default we will add the -single_module flag. You can override
7015         # by either setting the environment variable LT_MULTI_MODULE
7016         # non-empty at configure time, or by adding -multi_module to the
7017         # link flags.
7018         rm -rf libconftest.dylib*
7019         echo "int foo(void){return 1;}" > conftest.c
7020         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7021 -dynamiclib -Wl,-single_module conftest.c" >&5
7022         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7023           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7024         _lt_result=$?
7025         # If there is a non-empty error log, and "single_module"
7026         # appears in it, assume the flag caused a linker warning
7027         if test -s conftest.err && $GREP single_module conftest.err; then
7028           cat conftest.err >&5
7029         # Otherwise, if the output was created with a 0 exit code from
7030         # the compiler, it worked.
7031         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7032           lt_cv_apple_cc_single_mod=yes
7033         else
7034           cat conftest.err >&5
7035         fi
7036         rm -rf libconftest.dylib*
7037         rm -f conftest.*
7038       fi
7039 fi
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7041 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7042
7043     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7044 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7045 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7046   $as_echo_n "(cached) " >&6
7047 else
7048   lt_cv_ld_exported_symbols_list=no
7049       save_LDFLAGS=$LDFLAGS
7050       echo "_main" > conftest.sym
7051       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7053 /* end confdefs.h.  */
7054
7055 int
7056 main ()
7057 {
7058
7059   ;
7060   return 0;
7061 }
7062 _ACEOF
7063 if ac_fn_c_try_link "$LINENO"; then :
7064   lt_cv_ld_exported_symbols_list=yes
7065 else
7066   lt_cv_ld_exported_symbols_list=no
7067 fi
7068 rm -f core conftest.err conftest.$ac_objext \
7069     conftest$ac_exeext conftest.$ac_ext
7070         LDFLAGS="$save_LDFLAGS"
7071
7072 fi
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7074 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7075
7076     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7077 $as_echo_n "checking for -force_load linker flag... " >&6; }
7078 if ${lt_cv_ld_force_load+:} false; then :
7079   $as_echo_n "(cached) " >&6
7080 else
7081   lt_cv_ld_force_load=no
7082       cat > conftest.c << _LT_EOF
7083 int forced_loaded() { return 2;}
7084 _LT_EOF
7085       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7086       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7087       echo "$AR cru libconftest.a conftest.o" >&5
7088       $AR cru libconftest.a conftest.o 2>&5
7089       echo "$RANLIB libconftest.a" >&5
7090       $RANLIB libconftest.a 2>&5
7091       cat > conftest.c << _LT_EOF
7092 int main() { return 0;}
7093 _LT_EOF
7094       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7095       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7096       _lt_result=$?
7097       if test -s conftest.err && $GREP force_load conftest.err; then
7098         cat conftest.err >&5
7099       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7100         lt_cv_ld_force_load=yes
7101       else
7102         cat conftest.err >&5
7103       fi
7104         rm -f conftest.err libconftest.a conftest conftest.c
7105         rm -rf conftest.dSYM
7106
7107 fi
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7109 $as_echo "$lt_cv_ld_force_load" >&6; }
7110     case $host_os in
7111     rhapsody* | darwin1.[012])
7112       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7113     darwin1.*)
7114       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7115     darwin*) # darwin 5.x on
7116       # if running on 10.5 or later, the deployment target defaults
7117       # to the OS version, if on x86, and 10.4, the deployment
7118       # target defaults to 10.4. Don't you love it?
7119       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7120         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7121           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7122         10.[012]*)
7123           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7124         10.*)
7125           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7126       esac
7127     ;;
7128   esac
7129     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7130       _lt_dar_single_mod='$single_module'
7131     fi
7132     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7133       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7134     else
7135       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7136     fi
7137     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7138       _lt_dsymutil='~$DSYMUTIL $lib || :'
7139     else
7140       _lt_dsymutil=
7141     fi
7142     ;;
7143   esac
7144
7145 ac_ext=c
7146 ac_cpp='$CPP $CPPFLAGS'
7147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7151 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7152 # On Suns, sometimes $CPP names a directory.
7153 if test -n "$CPP" && test -d "$CPP"; then
7154   CPP=
7155 fi
7156 if test -z "$CPP"; then
7157   if ${ac_cv_prog_CPP+:} false; then :
7158   $as_echo_n "(cached) " >&6
7159 else
7160       # Double quotes because CPP needs to be expanded
7161     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7162     do
7163       ac_preproc_ok=false
7164 for ac_c_preproc_warn_flag in '' yes
7165 do
7166   # Use a header file that comes with gcc, so configuring glibc
7167   # with a fresh cross-compiler works.
7168   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7169   # <limits.h> exists even on freestanding compilers.
7170   # On the NeXT, cc -E runs the code through the compiler's parser,
7171   # not just through cpp. "Syntax error" is here to catch this case.
7172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h.  */
7174 #ifdef __STDC__
7175 # include <limits.h>
7176 #else
7177 # include <assert.h>
7178 #endif
7179                      Syntax error
7180 _ACEOF
7181 if ac_fn_c_try_cpp "$LINENO"; then :
7182
7183 else
7184   # Broken: fails on valid input.
7185 continue
7186 fi
7187 rm -f conftest.err conftest.i conftest.$ac_ext
7188
7189   # OK, works on sane cases.  Now check whether nonexistent headers
7190   # can be detected and how.
7191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h.  */
7193 #include <ac_nonexistent.h>
7194 _ACEOF
7195 if ac_fn_c_try_cpp "$LINENO"; then :
7196   # Broken: success on invalid input.
7197 continue
7198 else
7199   # Passes both tests.
7200 ac_preproc_ok=:
7201 break
7202 fi
7203 rm -f conftest.err conftest.i conftest.$ac_ext
7204
7205 done
7206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7207 rm -f conftest.i conftest.err conftest.$ac_ext
7208 if $ac_preproc_ok; then :
7209   break
7210 fi
7211
7212     done
7213     ac_cv_prog_CPP=$CPP
7214
7215 fi
7216   CPP=$ac_cv_prog_CPP
7217 else
7218   ac_cv_prog_CPP=$CPP
7219 fi
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7221 $as_echo "$CPP" >&6; }
7222 ac_preproc_ok=false
7223 for ac_c_preproc_warn_flag in '' yes
7224 do
7225   # Use a header file that comes with gcc, so configuring glibc
7226   # with a fresh cross-compiler works.
7227   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7228   # <limits.h> exists even on freestanding compilers.
7229   # On the NeXT, cc -E runs the code through the compiler's parser,
7230   # not just through cpp. "Syntax error" is here to catch this case.
7231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h.  */
7233 #ifdef __STDC__
7234 # include <limits.h>
7235 #else
7236 # include <assert.h>
7237 #endif
7238                      Syntax error
7239 _ACEOF
7240 if ac_fn_c_try_cpp "$LINENO"; then :
7241
7242 else
7243   # Broken: fails on valid input.
7244 continue
7245 fi
7246 rm -f conftest.err conftest.i conftest.$ac_ext
7247
7248   # OK, works on sane cases.  Now check whether nonexistent headers
7249   # can be detected and how.
7250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7251 /* end confdefs.h.  */
7252 #include <ac_nonexistent.h>
7253 _ACEOF
7254 if ac_fn_c_try_cpp "$LINENO"; then :
7255   # Broken: success on invalid input.
7256 continue
7257 else
7258   # Passes both tests.
7259 ac_preproc_ok=:
7260 break
7261 fi
7262 rm -f conftest.err conftest.i conftest.$ac_ext
7263
7264 done
7265 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7266 rm -f conftest.i conftest.err conftest.$ac_ext
7267 if $ac_preproc_ok; then :
7268
7269 else
7270   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7272 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7273 See \`config.log' for more details" "$LINENO" 5; }
7274 fi
7275
7276 ac_ext=c
7277 ac_cpp='$CPP $CPPFLAGS'
7278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7281
7282
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7284 $as_echo_n "checking for ANSI C header files... " >&6; }
7285 if ${ac_cv_header_stdc+:} false; then :
7286   $as_echo_n "(cached) " >&6
7287 else
7288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7289 /* end confdefs.h.  */
7290 #include <stdlib.h>
7291 #include <stdarg.h>
7292 #include <string.h>
7293 #include <float.h>
7294
7295 int
7296 main ()
7297 {
7298
7299   ;
7300   return 0;
7301 }
7302 _ACEOF
7303 if ac_fn_c_try_compile "$LINENO"; then :
7304   ac_cv_header_stdc=yes
7305 else
7306   ac_cv_header_stdc=no
7307 fi
7308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7309
7310 if test $ac_cv_header_stdc = yes; then
7311   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7313 /* end confdefs.h.  */
7314 #include <string.h>
7315
7316 _ACEOF
7317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7318   $EGREP "memchr" >/dev/null 2>&1; then :
7319
7320 else
7321   ac_cv_header_stdc=no
7322 fi
7323 rm -f conftest*
7324
7325 fi
7326
7327 if test $ac_cv_header_stdc = yes; then
7328   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7330 /* end confdefs.h.  */
7331 #include <stdlib.h>
7332
7333 _ACEOF
7334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7335   $EGREP "free" >/dev/null 2>&1; then :
7336
7337 else
7338   ac_cv_header_stdc=no
7339 fi
7340 rm -f conftest*
7341
7342 fi
7343
7344 if test $ac_cv_header_stdc = yes; then
7345   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7346   if test "$cross_compiling" = yes; then :
7347   :
7348 else
7349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7350 /* end confdefs.h.  */
7351 #include <ctype.h>
7352 #include <stdlib.h>
7353 #if ((' ' & 0x0FF) == 0x020)
7354 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7355 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7356 #else
7357 # define ISLOWER(c) \
7358                    (('a' <= (c) && (c) <= 'i') \
7359                      || ('j' <= (c) && (c) <= 'r') \
7360                      || ('s' <= (c) && (c) <= 'z'))
7361 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7362 #endif
7363
7364 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7365 int
7366 main ()
7367 {
7368   int i;
7369   for (i = 0; i < 256; i++)
7370     if (XOR (islower (i), ISLOWER (i))
7371         || toupper (i) != TOUPPER (i))
7372       return 2;
7373   return 0;
7374 }
7375 _ACEOF
7376 if ac_fn_c_try_run "$LINENO"; then :
7377
7378 else
7379   ac_cv_header_stdc=no
7380 fi
7381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7382   conftest.$ac_objext conftest.beam conftest.$ac_ext
7383 fi
7384
7385 fi
7386 fi
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7388 $as_echo "$ac_cv_header_stdc" >&6; }
7389 if test $ac_cv_header_stdc = yes; then
7390
7391 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7392
7393 fi
7394
7395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7396 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7397                   inttypes.h stdint.h unistd.h
7398 do :
7399   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7400 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7401 "
7402 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7403   cat >>confdefs.h <<_ACEOF
7404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7405 _ACEOF
7406
7407 fi
7408
7409 done
7410
7411
7412 for ac_header in dlfcn.h
7413 do :
7414   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7415 "
7416 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7417   cat >>confdefs.h <<_ACEOF
7418 #define HAVE_DLFCN_H 1
7419 _ACEOF
7420
7421 fi
7422
7423 done
7424
7425
7426
7427
7428
7429 # Set options
7430
7431
7432
7433         enable_dlopen=no
7434
7435
7436   enable_win32_dll=no
7437
7438
7439             # Check whether --enable-shared was given.
7440 if test "${enable_shared+set}" = set; then :
7441   enableval=$enable_shared; p=${PACKAGE-default}
7442     case $enableval in
7443     yes) enable_shared=yes ;;
7444     no) enable_shared=no ;;
7445     *)
7446       enable_shared=no
7447       # Look at the argument we got.  We use all the common list separators.
7448       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7449       for pkg in $enableval; do
7450         IFS="$lt_save_ifs"
7451         if test "X$pkg" = "X$p"; then
7452           enable_shared=yes
7453         fi
7454       done
7455       IFS="$lt_save_ifs"
7456       ;;
7457     esac
7458 else
7459   enable_shared=yes
7460 fi
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472 # Check whether --with-pic was given.
7473 if test "${with_pic+set}" = set; then :
7474   withval=$with_pic; lt_p=${PACKAGE-default}
7475     case $withval in
7476     yes|no) pic_mode=$withval ;;
7477     *)
7478       pic_mode=default
7479       # Look at the argument we got.  We use all the common list separators.
7480       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7481       for lt_pkg in $withval; do
7482         IFS="$lt_save_ifs"
7483         if test "X$lt_pkg" = "X$lt_p"; then
7484           pic_mode=yes
7485         fi
7486       done
7487       IFS="$lt_save_ifs"
7488       ;;
7489     esac
7490 else
7491   pic_mode=default
7492 fi
7493
7494
7495 test -z "$pic_mode" && pic_mode=default
7496
7497
7498
7499
7500
7501
7502
7503   # Check whether --enable-fast-install was given.
7504 if test "${enable_fast_install+set}" = set; then :
7505   enableval=$enable_fast_install; p=${PACKAGE-default}
7506     case $enableval in
7507     yes) enable_fast_install=yes ;;
7508     no) enable_fast_install=no ;;
7509     *)
7510       enable_fast_install=no
7511       # Look at the argument we got.  We use all the common list separators.
7512       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7513       for pkg in $enableval; do
7514         IFS="$lt_save_ifs"
7515         if test "X$pkg" = "X$p"; then
7516           enable_fast_install=yes
7517         fi
7518       done
7519       IFS="$lt_save_ifs"
7520       ;;
7521     esac
7522 else
7523   enable_fast_install=yes
7524 fi
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536 # This can be used to rebuild libtool when needed
7537 LIBTOOL_DEPS="$ltmain"
7538
7539 # Always use our own libtool.
7540 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571 test -z "$LN_S" && LN_S="ln -s"
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586 if test -n "${ZSH_VERSION+set}" ; then
7587    setopt NO_GLOB_SUBST
7588 fi
7589
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7591 $as_echo_n "checking for objdir... " >&6; }
7592 if ${lt_cv_objdir+:} false; then :
7593   $as_echo_n "(cached) " >&6
7594 else
7595   rm -f .libs 2>/dev/null
7596 mkdir .libs 2>/dev/null
7597 if test -d .libs; then
7598   lt_cv_objdir=.libs
7599 else
7600   # MS-DOS does not allow filenames that begin with a dot.
7601   lt_cv_objdir=_libs
7602 fi
7603 rmdir .libs 2>/dev/null
7604 fi
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7606 $as_echo "$lt_cv_objdir" >&6; }
7607 objdir=$lt_cv_objdir
7608
7609
7610
7611
7612
7613 cat >>confdefs.h <<_ACEOF
7614 #define LT_OBJDIR "$lt_cv_objdir/"
7615 _ACEOF
7616
7617
7618
7619
7620 case $host_os in
7621 aix3*)
7622   # AIX sometimes has problems with the GCC collect2 program.  For some
7623   # reason, if we set the COLLECT_NAMES environment variable, the problems
7624   # vanish in a puff of smoke.
7625   if test "X${COLLECT_NAMES+set}" != Xset; then
7626     COLLECT_NAMES=
7627     export COLLECT_NAMES
7628   fi
7629   ;;
7630 esac
7631
7632 # Global variables:
7633 ofile=libtool
7634 can_build_shared=yes
7635
7636 # All known linkers require a `.a' archive for static linking (except MSVC,
7637 # which needs '.lib').
7638 libext=a
7639
7640 with_gnu_ld="$lt_cv_prog_gnu_ld"
7641
7642 old_CC="$CC"
7643 old_CFLAGS="$CFLAGS"
7644
7645 # Set sane defaults for various variables
7646 test -z "$CC" && CC=cc
7647 test -z "$LTCC" && LTCC=$CC
7648 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7649 test -z "$LD" && LD=ld
7650 test -z "$ac_objext" && ac_objext=o
7651
7652 for cc_temp in $compiler""; do
7653   case $cc_temp in
7654     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7655     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7656     \-*) ;;
7657     *) break;;
7658   esac
7659 done
7660 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7661
7662
7663 # Only perform the check for file, if the check method requires it
7664 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7665 case $deplibs_check_method in
7666 file_magic*)
7667   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7668     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7669 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7670 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7671   $as_echo_n "(cached) " >&6
7672 else
7673   case $MAGIC_CMD in
7674 [\\/*] |  ?:[\\/]*)
7675   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7676   ;;
7677 *)
7678   lt_save_MAGIC_CMD="$MAGIC_CMD"
7679   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7680   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7681   for ac_dir in $ac_dummy; do
7682     IFS="$lt_save_ifs"
7683     test -z "$ac_dir" && ac_dir=.
7684     if test -f $ac_dir/${ac_tool_prefix}file; then
7685       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7686       if test -n "$file_magic_test_file"; then
7687         case $deplibs_check_method in
7688         "file_magic "*)
7689           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7690           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7691           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7692             $EGREP "$file_magic_regex" > /dev/null; then
7693             :
7694           else
7695             cat <<_LT_EOF 1>&2
7696
7697 *** Warning: the command libtool uses to detect shared libraries,
7698 *** $file_magic_cmd, produces output that libtool cannot recognize.
7699 *** The result is that libtool may fail to recognize shared libraries
7700 *** as such.  This will affect the creation of libtool libraries that
7701 *** depend on shared libraries, but programs linked with such libtool
7702 *** libraries will work regardless of this problem.  Nevertheless, you
7703 *** may want to report the problem to your system manager and/or to
7704 *** bug-libtool@gnu.org
7705
7706 _LT_EOF
7707           fi ;;
7708         esac
7709       fi
7710       break
7711     fi
7712   done
7713   IFS="$lt_save_ifs"
7714   MAGIC_CMD="$lt_save_MAGIC_CMD"
7715   ;;
7716 esac
7717 fi
7718
7719 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7720 if test -n "$MAGIC_CMD"; then
7721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7722 $as_echo "$MAGIC_CMD" >&6; }
7723 else
7724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725 $as_echo "no" >&6; }
7726 fi
7727
7728
7729
7730
7731
7732 if test -z "$lt_cv_path_MAGIC_CMD"; then
7733   if test -n "$ac_tool_prefix"; then
7734     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7735 $as_echo_n "checking for file... " >&6; }
7736 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7737   $as_echo_n "(cached) " >&6
7738 else
7739   case $MAGIC_CMD in
7740 [\\/*] |  ?:[\\/]*)
7741   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7742   ;;
7743 *)
7744   lt_save_MAGIC_CMD="$MAGIC_CMD"
7745   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7746   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7747   for ac_dir in $ac_dummy; do
7748     IFS="$lt_save_ifs"
7749     test -z "$ac_dir" && ac_dir=.
7750     if test -f $ac_dir/file; then
7751       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7752       if test -n "$file_magic_test_file"; then
7753         case $deplibs_check_method in
7754         "file_magic "*)
7755           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7756           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7757           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7758             $EGREP "$file_magic_regex" > /dev/null; then
7759             :
7760           else
7761             cat <<_LT_EOF 1>&2
7762
7763 *** Warning: the command libtool uses to detect shared libraries,
7764 *** $file_magic_cmd, produces output that libtool cannot recognize.
7765 *** The result is that libtool may fail to recognize shared libraries
7766 *** as such.  This will affect the creation of libtool libraries that
7767 *** depend on shared libraries, but programs linked with such libtool
7768 *** libraries will work regardless of this problem.  Nevertheless, you
7769 *** may want to report the problem to your system manager and/or to
7770 *** bug-libtool@gnu.org
7771
7772 _LT_EOF
7773           fi ;;
7774         esac
7775       fi
7776       break
7777     fi
7778   done
7779   IFS="$lt_save_ifs"
7780   MAGIC_CMD="$lt_save_MAGIC_CMD"
7781   ;;
7782 esac
7783 fi
7784
7785 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7786 if test -n "$MAGIC_CMD"; then
7787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7788 $as_echo "$MAGIC_CMD" >&6; }
7789 else
7790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7791 $as_echo "no" >&6; }
7792 fi
7793
7794
7795   else
7796     MAGIC_CMD=:
7797   fi
7798 fi
7799
7800   fi
7801   ;;
7802 esac
7803
7804 # Use C for the default configuration in the libtool script
7805
7806 lt_save_CC="$CC"
7807 ac_ext=c
7808 ac_cpp='$CPP $CPPFLAGS'
7809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7812
7813
7814 # Source file extension for C test sources.
7815 ac_ext=c
7816
7817 # Object file extension for compiled C test sources.
7818 objext=o
7819 objext=$objext
7820
7821 # Code to be used in simple compile tests
7822 lt_simple_compile_test_code="int some_variable = 0;"
7823
7824 # Code to be used in simple link tests
7825 lt_simple_link_test_code='int main(){return(0);}'
7826
7827
7828
7829
7830
7831
7832
7833 # If no C compiler was specified, use CC.
7834 LTCC=${LTCC-"$CC"}
7835
7836 # If no C compiler flags were specified, use CFLAGS.
7837 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7838
7839 # Allow CC to be a program name with arguments.
7840 compiler=$CC
7841
7842 # Save the default compiler, since it gets overwritten when the other
7843 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7844 compiler_DEFAULT=$CC
7845
7846 # save warnings/boilerplate of simple test code
7847 ac_outfile=conftest.$ac_objext
7848 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7849 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7850 _lt_compiler_boilerplate=`cat conftest.err`
7851 $RM conftest*
7852
7853 ac_outfile=conftest.$ac_objext
7854 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7855 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7856 _lt_linker_boilerplate=`cat conftest.err`
7857 $RM -r conftest*
7858
7859
7860 ## CAVEAT EMPTOR:
7861 ## There is no encapsulation within the following macros, do not change
7862 ## the running order or otherwise move them around unless you know exactly
7863 ## what you are doing...
7864 if test -n "$compiler"; then
7865
7866 lt_prog_compiler_no_builtin_flag=
7867
7868 if test "$GCC" = yes; then
7869   case $cc_basename in
7870   nvcc*)
7871     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7872   *)
7873     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7874   esac
7875
7876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7877 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7878 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7879   $as_echo_n "(cached) " >&6
7880 else
7881   lt_cv_prog_compiler_rtti_exceptions=no
7882    ac_outfile=conftest.$ac_objext
7883    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7884    lt_compiler_flag="-fno-rtti -fno-exceptions"
7885    # Insert the option either (1) after the last *FLAGS variable, or
7886    # (2) before a word containing "conftest.", or (3) at the end.
7887    # Note that $ac_compile itself does not contain backslashes and begins
7888    # with a dollar sign (not a hyphen), so the echo should work correctly.
7889    # The option is referenced via a variable to avoid confusing sed.
7890    lt_compile=`echo "$ac_compile" | $SED \
7891    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7892    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7893    -e 's:$: $lt_compiler_flag:'`
7894    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7895    (eval "$lt_compile" 2>conftest.err)
7896    ac_status=$?
7897    cat conftest.err >&5
7898    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7899    if (exit $ac_status) && test -s "$ac_outfile"; then
7900      # The compiler can only warn and ignore the option if not recognized
7901      # So say no if there are warnings other than the usual output.
7902      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7903      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7904      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7905        lt_cv_prog_compiler_rtti_exceptions=yes
7906      fi
7907    fi
7908    $RM conftest*
7909
7910 fi
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7912 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7913
7914 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7915     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7916 else
7917     :
7918 fi
7919
7920 fi
7921
7922
7923
7924
7925
7926
7927   lt_prog_compiler_wl=
7928 lt_prog_compiler_pic=
7929 lt_prog_compiler_static=
7930
7931
7932   if test "$GCC" = yes; then
7933     lt_prog_compiler_wl='-Wl,'
7934     lt_prog_compiler_static='-static'
7935
7936     case $host_os in
7937       aix*)
7938       # All AIX code is PIC.
7939       if test "$host_cpu" = ia64; then
7940         # AIX 5 now supports IA64 processor
7941         lt_prog_compiler_static='-Bstatic'
7942       fi
7943       ;;
7944
7945     amigaos*)
7946       case $host_cpu in
7947       powerpc)
7948             # see comment about AmigaOS4 .so support
7949             lt_prog_compiler_pic='-fPIC'
7950         ;;
7951       m68k)
7952             # FIXME: we need at least 68020 code to build shared libraries, but
7953             # adding the `-m68020' flag to GCC prevents building anything better,
7954             # like `-m68040'.
7955             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7956         ;;
7957       esac
7958       ;;
7959
7960     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7961       # PIC is the default for these OSes.
7962       ;;
7963
7964     mingw* | cygwin* | pw32* | os2* | cegcc*)
7965       # This hack is so that the source file can tell whether it is being
7966       # built for inclusion in a dll (and should export symbols for example).
7967       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7968       # (--disable-auto-import) libraries
7969       lt_prog_compiler_pic='-DDLL_EXPORT'
7970       ;;
7971
7972     darwin* | rhapsody*)
7973       # PIC is the default on this platform
7974       # Common symbols not allowed in MH_DYLIB files
7975       lt_prog_compiler_pic='-fno-common'
7976       ;;
7977
7978     haiku*)
7979       # PIC is the default for Haiku.
7980       # The "-static" flag exists, but is broken.
7981       lt_prog_compiler_static=
7982       ;;
7983
7984     hpux*)
7985       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7986       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7987       # sets the default TLS model and affects inlining.
7988       case $host_cpu in
7989       hppa*64*)
7990         # +Z the default
7991         ;;
7992       *)
7993         lt_prog_compiler_pic='-fPIC'
7994         ;;
7995       esac
7996       ;;
7997
7998     interix[3-9]*)
7999       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8000       # Instead, we relocate shared libraries at runtime.
8001       ;;
8002
8003     msdosdjgpp*)
8004       # Just because we use GCC doesn't mean we suddenly get shared libraries
8005       # on systems that don't support them.
8006       lt_prog_compiler_can_build_shared=no
8007       enable_shared=no
8008       ;;
8009
8010     *nto* | *qnx*)
8011       # QNX uses GNU C++, but need to define -shared option too, otherwise
8012       # it will coredump.
8013       lt_prog_compiler_pic='-fPIC -shared'
8014       ;;
8015
8016     sysv4*MP*)
8017       if test -d /usr/nec; then
8018         lt_prog_compiler_pic=-Kconform_pic
8019       fi
8020       ;;
8021
8022     *)
8023       lt_prog_compiler_pic='-fPIC'
8024       ;;
8025     esac
8026
8027     case $cc_basename in
8028     nvcc*) # Cuda Compiler Driver 2.2
8029       lt_prog_compiler_wl='-Xlinker '
8030       if test -n "$lt_prog_compiler_pic"; then
8031         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8032       fi
8033       ;;
8034     esac
8035   else
8036     # PORTME Check for flag to pass linker flags through the system compiler.
8037     case $host_os in
8038     aix*)
8039       lt_prog_compiler_wl='-Wl,'
8040       if test "$host_cpu" = ia64; then
8041         # AIX 5 now supports IA64 processor
8042         lt_prog_compiler_static='-Bstatic'
8043       else
8044         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8045       fi
8046       ;;
8047
8048     mingw* | cygwin* | pw32* | os2* | cegcc*)
8049       # This hack is so that the source file can tell whether it is being
8050       # built for inclusion in a dll (and should export symbols for example).
8051       lt_prog_compiler_pic='-DDLL_EXPORT'
8052       ;;
8053
8054     hpux9* | hpux10* | hpux11*)
8055       lt_prog_compiler_wl='-Wl,'
8056       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8057       # not for PA HP-UX.
8058       case $host_cpu in
8059       hppa*64*|ia64*)
8060         # +Z the default
8061         ;;
8062       *)
8063         lt_prog_compiler_pic='+Z'
8064         ;;
8065       esac
8066       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8067       lt_prog_compiler_static='${wl}-a ${wl}archive'
8068       ;;
8069
8070     irix5* | irix6* | nonstopux*)
8071       lt_prog_compiler_wl='-Wl,'
8072       # PIC (with -KPIC) is the default.
8073       lt_prog_compiler_static='-non_shared'
8074       ;;
8075
8076     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8077       case $cc_basename in
8078       # old Intel for x86_64 which still supported -KPIC.
8079       ecc*)
8080         lt_prog_compiler_wl='-Wl,'
8081         lt_prog_compiler_pic='-KPIC'
8082         lt_prog_compiler_static='-static'
8083         ;;
8084       # icc used to be incompatible with GCC.
8085       # ICC 10 doesn't accept -KPIC any more.
8086       icc* | ifort*)
8087         lt_prog_compiler_wl='-Wl,'
8088         lt_prog_compiler_pic='-fPIC'
8089         lt_prog_compiler_static='-static'
8090         ;;
8091       # Lahey Fortran 8.1.
8092       lf95*)
8093         lt_prog_compiler_wl='-Wl,'
8094         lt_prog_compiler_pic='--shared'
8095         lt_prog_compiler_static='--static'
8096         ;;
8097       nagfor*)
8098         # NAG Fortran compiler
8099         lt_prog_compiler_wl='-Wl,-Wl,,'
8100         lt_prog_compiler_pic='-PIC'
8101         lt_prog_compiler_static='-Bstatic'
8102         ;;
8103       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8104         # Portland Group compilers (*not* the Pentium gcc compiler,
8105         # which looks to be a dead project)
8106         lt_prog_compiler_wl='-Wl,'
8107         lt_prog_compiler_pic='-fpic'
8108         lt_prog_compiler_static='-Bstatic'
8109         ;;
8110       ccc*)
8111         lt_prog_compiler_wl='-Wl,'
8112         # All Alpha code is PIC.
8113         lt_prog_compiler_static='-non_shared'
8114         ;;
8115       xl* | bgxl* | bgf* | mpixl*)
8116         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8117         lt_prog_compiler_wl='-Wl,'
8118         lt_prog_compiler_pic='-qpic'
8119         lt_prog_compiler_static='-qstaticlink'
8120         ;;
8121       *)
8122         case `$CC -V 2>&1 | sed 5q` in
8123         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8124           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8125           lt_prog_compiler_pic='-KPIC'
8126           lt_prog_compiler_static='-Bstatic'
8127           lt_prog_compiler_wl=''
8128           ;;
8129         *Sun\ F* | *Sun*Fortran*)
8130           lt_prog_compiler_pic='-KPIC'
8131           lt_prog_compiler_static='-Bstatic'
8132           lt_prog_compiler_wl='-Qoption ld '
8133           ;;
8134         *Sun\ C*)
8135           # Sun C 5.9
8136           lt_prog_compiler_pic='-KPIC'
8137           lt_prog_compiler_static='-Bstatic'
8138           lt_prog_compiler_wl='-Wl,'
8139           ;;
8140         *Intel*\ [CF]*Compiler*)
8141           lt_prog_compiler_wl='-Wl,'
8142           lt_prog_compiler_pic='-fPIC'
8143           lt_prog_compiler_static='-static'
8144           ;;
8145         *Portland\ Group*)
8146           lt_prog_compiler_wl='-Wl,'
8147           lt_prog_compiler_pic='-fpic'
8148           lt_prog_compiler_static='-Bstatic'
8149           ;;
8150         esac
8151         ;;
8152       esac
8153       ;;
8154
8155     newsos6)
8156       lt_prog_compiler_pic='-KPIC'
8157       lt_prog_compiler_static='-Bstatic'
8158       ;;
8159
8160     *nto* | *qnx*)
8161       # QNX uses GNU C++, but need to define -shared option too, otherwise
8162       # it will coredump.
8163       lt_prog_compiler_pic='-fPIC -shared'
8164       ;;
8165
8166     osf3* | osf4* | osf5*)
8167       lt_prog_compiler_wl='-Wl,'
8168       # All OSF/1 code is PIC.
8169       lt_prog_compiler_static='-non_shared'
8170       ;;
8171
8172     rdos*)
8173       lt_prog_compiler_static='-non_shared'
8174       ;;
8175
8176     solaris*)
8177       lt_prog_compiler_pic='-KPIC'
8178       lt_prog_compiler_static='-Bstatic'
8179       case $cc_basename in
8180       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8181         lt_prog_compiler_wl='-Qoption ld ';;
8182       *)
8183         lt_prog_compiler_wl='-Wl,';;
8184       esac
8185       ;;
8186
8187     sunos4*)
8188       lt_prog_compiler_wl='-Qoption ld '
8189       lt_prog_compiler_pic='-PIC'
8190       lt_prog_compiler_static='-Bstatic'
8191       ;;
8192
8193     sysv4 | sysv4.2uw2* | sysv4.3*)
8194       lt_prog_compiler_wl='-Wl,'
8195       lt_prog_compiler_pic='-KPIC'
8196       lt_prog_compiler_static='-Bstatic'
8197       ;;
8198
8199     sysv4*MP*)
8200       if test -d /usr/nec ;then
8201         lt_prog_compiler_pic='-Kconform_pic'
8202         lt_prog_compiler_static='-Bstatic'
8203       fi
8204       ;;
8205
8206     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8207       lt_prog_compiler_wl='-Wl,'
8208       lt_prog_compiler_pic='-KPIC'
8209       lt_prog_compiler_static='-Bstatic'
8210       ;;
8211
8212     unicos*)
8213       lt_prog_compiler_wl='-Wl,'
8214       lt_prog_compiler_can_build_shared=no
8215       ;;
8216
8217     uts4*)
8218       lt_prog_compiler_pic='-pic'
8219       lt_prog_compiler_static='-Bstatic'
8220       ;;
8221
8222     *)
8223       lt_prog_compiler_can_build_shared=no
8224       ;;
8225     esac
8226   fi
8227
8228 case $host_os in
8229   # For platforms which do not support PIC, -DPIC is meaningless:
8230   *djgpp*)
8231     lt_prog_compiler_pic=
8232     ;;
8233   *)
8234     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8235     ;;
8236 esac
8237
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8239 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8240 if ${lt_cv_prog_compiler_pic+:} false; then :
8241   $as_echo_n "(cached) " >&6
8242 else
8243   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8244 fi
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8246 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8247 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8248
8249 #
8250 # Check to make sure the PIC flag actually works.
8251 #
8252 if test -n "$lt_prog_compiler_pic"; then
8253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8254 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8255 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8256   $as_echo_n "(cached) " >&6
8257 else
8258   lt_cv_prog_compiler_pic_works=no
8259    ac_outfile=conftest.$ac_objext
8260    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8261    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8262    # Insert the option either (1) after the last *FLAGS variable, or
8263    # (2) before a word containing "conftest.", or (3) at the end.
8264    # Note that $ac_compile itself does not contain backslashes and begins
8265    # with a dollar sign (not a hyphen), so the echo should work correctly.
8266    # The option is referenced via a variable to avoid confusing sed.
8267    lt_compile=`echo "$ac_compile" | $SED \
8268    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8269    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8270    -e 's:$: $lt_compiler_flag:'`
8271    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8272    (eval "$lt_compile" 2>conftest.err)
8273    ac_status=$?
8274    cat conftest.err >&5
8275    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276    if (exit $ac_status) && test -s "$ac_outfile"; then
8277      # The compiler can only warn and ignore the option if not recognized
8278      # So say no if there are warnings other than the usual output.
8279      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8280      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8281      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8282        lt_cv_prog_compiler_pic_works=yes
8283      fi
8284    fi
8285    $RM conftest*
8286
8287 fi
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8289 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8290
8291 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8292     case $lt_prog_compiler_pic in
8293      "" | " "*) ;;
8294      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8295      esac
8296 else
8297     lt_prog_compiler_pic=
8298      lt_prog_compiler_can_build_shared=no
8299 fi
8300
8301 fi
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313 #
8314 # Check to make sure the static flag actually works.
8315 #
8316 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8318 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8319 if ${lt_cv_prog_compiler_static_works+:} false; then :
8320   $as_echo_n "(cached) " >&6
8321 else
8322   lt_cv_prog_compiler_static_works=no
8323    save_LDFLAGS="$LDFLAGS"
8324    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8325    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8326    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8327      # The linker can only warn and ignore the option if not recognized
8328      # So say no if there are warnings
8329      if test -s conftest.err; then
8330        # Append any errors to the config.log.
8331        cat conftest.err 1>&5
8332        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8333        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8334        if diff conftest.exp conftest.er2 >/dev/null; then
8335          lt_cv_prog_compiler_static_works=yes
8336        fi
8337      else
8338        lt_cv_prog_compiler_static_works=yes
8339      fi
8340    fi
8341    $RM -r conftest*
8342    LDFLAGS="$save_LDFLAGS"
8343
8344 fi
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8346 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8347
8348 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8349     :
8350 else
8351     lt_prog_compiler_static=
8352 fi
8353
8354
8355
8356
8357
8358
8359
8360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8361 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8362 if ${lt_cv_prog_compiler_c_o+:} false; then :
8363   $as_echo_n "(cached) " >&6
8364 else
8365   lt_cv_prog_compiler_c_o=no
8366    $RM -r conftest 2>/dev/null
8367    mkdir conftest
8368    cd conftest
8369    mkdir out
8370    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8371
8372    lt_compiler_flag="-o out/conftest2.$ac_objext"
8373    # Insert the option either (1) after the last *FLAGS variable, or
8374    # (2) before a word containing "conftest.", or (3) at the end.
8375    # Note that $ac_compile itself does not contain backslashes and begins
8376    # with a dollar sign (not a hyphen), so the echo should work correctly.
8377    lt_compile=`echo "$ac_compile" | $SED \
8378    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8379    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8380    -e 's:$: $lt_compiler_flag:'`
8381    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8382    (eval "$lt_compile" 2>out/conftest.err)
8383    ac_status=$?
8384    cat out/conftest.err >&5
8385    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8387    then
8388      # The compiler can only warn and ignore the option if not recognized
8389      # So say no if there are warnings
8390      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8391      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8392      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8393        lt_cv_prog_compiler_c_o=yes
8394      fi
8395    fi
8396    chmod u+w . 2>&5
8397    $RM conftest*
8398    # SGI C++ compiler will create directory out/ii_files/ for
8399    # template instantiation
8400    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8401    $RM out/* && rmdir out
8402    cd ..
8403    $RM -r conftest
8404    $RM conftest*
8405
8406 fi
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8408 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8409
8410
8411
8412
8413
8414
8415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8416 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8417 if ${lt_cv_prog_compiler_c_o+:} false; then :
8418   $as_echo_n "(cached) " >&6
8419 else
8420   lt_cv_prog_compiler_c_o=no
8421    $RM -r conftest 2>/dev/null
8422    mkdir conftest
8423    cd conftest
8424    mkdir out
8425    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8426
8427    lt_compiler_flag="-o out/conftest2.$ac_objext"
8428    # Insert the option either (1) after the last *FLAGS variable, or
8429    # (2) before a word containing "conftest.", or (3) at the end.
8430    # Note that $ac_compile itself does not contain backslashes and begins
8431    # with a dollar sign (not a hyphen), so the echo should work correctly.
8432    lt_compile=`echo "$ac_compile" | $SED \
8433    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8434    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8435    -e 's:$: $lt_compiler_flag:'`
8436    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8437    (eval "$lt_compile" 2>out/conftest.err)
8438    ac_status=$?
8439    cat out/conftest.err >&5
8440    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8442    then
8443      # The compiler can only warn and ignore the option if not recognized
8444      # So say no if there are warnings
8445      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8446      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8447      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8448        lt_cv_prog_compiler_c_o=yes
8449      fi
8450    fi
8451    chmod u+w . 2>&5
8452    $RM conftest*
8453    # SGI C++ compiler will create directory out/ii_files/ for
8454    # template instantiation
8455    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8456    $RM out/* && rmdir out
8457    cd ..
8458    $RM -r conftest
8459    $RM conftest*
8460
8461 fi
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8463 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8464
8465
8466
8467
8468 hard_links="nottested"
8469 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8470   # do not overwrite the value of need_locks provided by the user
8471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8472 $as_echo_n "checking if we can lock with hard links... " >&6; }
8473   hard_links=yes
8474   $RM conftest*
8475   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8476   touch conftest.a
8477   ln conftest.a conftest.b 2>&5 || hard_links=no
8478   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8480 $as_echo "$hard_links" >&6; }
8481   if test "$hard_links" = no; then
8482     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8483 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8484     need_locks=warn
8485   fi
8486 else
8487   need_locks=no
8488 fi
8489
8490
8491
8492
8493
8494
8495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8496 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8497
8498   runpath_var=
8499   allow_undefined_flag=
8500   always_export_symbols=no
8501   archive_cmds=
8502   archive_expsym_cmds=
8503   compiler_needs_object=no
8504   enable_shared_with_static_runtimes=no
8505   export_dynamic_flag_spec=
8506   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8507   hardcode_automatic=no
8508   hardcode_direct=no
8509   hardcode_direct_absolute=no
8510   hardcode_libdir_flag_spec=
8511   hardcode_libdir_separator=
8512   hardcode_minus_L=no
8513   hardcode_shlibpath_var=unsupported
8514   inherit_rpath=no
8515   link_all_deplibs=unknown
8516   module_cmds=
8517   module_expsym_cmds=
8518   old_archive_from_new_cmds=
8519   old_archive_from_expsyms_cmds=
8520   thread_safe_flag_spec=
8521   whole_archive_flag_spec=
8522   # include_expsyms should be a list of space-separated symbols to be *always*
8523   # included in the symbol list
8524   include_expsyms=
8525   # exclude_expsyms can be an extended regexp of symbols to exclude
8526   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8527   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8528   # as well as any symbol that contains `d'.
8529   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8530   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8531   # platforms (ab)use it in PIC code, but their linkers get confused if
8532   # the symbol is explicitly referenced.  Since portable code cannot
8533   # rely on this symbol name, it's probably fine to never include it in
8534   # preloaded symbol tables.
8535   # Exclude shared library initialization/finalization symbols.
8536   extract_expsyms_cmds=
8537
8538   case $host_os in
8539   cygwin* | mingw* | pw32* | cegcc*)
8540     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8541     # When not using gcc, we currently assume that we are using
8542     # Microsoft Visual C++.
8543     if test "$GCC" != yes; then
8544       with_gnu_ld=no
8545     fi
8546     ;;
8547   interix*)
8548     # we just hope/assume this is gcc and not c89 (= MSVC++)
8549     with_gnu_ld=yes
8550     ;;
8551   openbsd*)
8552     with_gnu_ld=no
8553     ;;
8554   linux* | k*bsd*-gnu | gnu*)
8555     link_all_deplibs=no
8556     ;;
8557   esac
8558
8559   ld_shlibs=yes
8560
8561   # On some targets, GNU ld is compatible enough with the native linker
8562   # that we're better off using the native interface for both.
8563   lt_use_gnu_ld_interface=no
8564   if test "$with_gnu_ld" = yes; then
8565     case $host_os in
8566       aix*)
8567         # The AIX port of GNU ld has always aspired to compatibility
8568         # with the native linker.  However, as the warning in the GNU ld
8569         # block says, versions before 2.19.5* couldn't really create working
8570         # shared libraries, regardless of the interface used.
8571         case `$LD -v 2>&1` in
8572           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8573           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8574           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8575           *)
8576             lt_use_gnu_ld_interface=yes
8577             ;;
8578         esac
8579         ;;
8580       *)
8581         lt_use_gnu_ld_interface=yes
8582         ;;
8583     esac
8584   fi
8585
8586   if test "$lt_use_gnu_ld_interface" = yes; then
8587     # If archive_cmds runs LD, not CC, wlarc should be empty
8588     wlarc='${wl}'
8589
8590     # Set some defaults for GNU ld with shared library support. These
8591     # are reset later if shared libraries are not supported. Putting them
8592     # here allows them to be overridden if necessary.
8593     runpath_var=LD_RUN_PATH
8594     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8595     export_dynamic_flag_spec='${wl}--export-dynamic'
8596     # ancient GNU ld didn't support --whole-archive et. al.
8597     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8598       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8599     else
8600       whole_archive_flag_spec=
8601     fi
8602     supports_anon_versioning=no
8603     case `$LD -v 2>&1` in
8604       *GNU\ gold*) supports_anon_versioning=yes ;;
8605       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8606       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8607       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8608       *\ 2.11.*) ;; # other 2.11 versions
8609       *) supports_anon_versioning=yes ;;
8610     esac
8611
8612     # See if GNU ld supports shared libraries.
8613     case $host_os in
8614     aix[3-9]*)
8615       # On AIX/PPC, the GNU linker is very broken
8616       if test "$host_cpu" != ia64; then
8617         ld_shlibs=no
8618         cat <<_LT_EOF 1>&2
8619
8620 *** Warning: the GNU linker, at least up to release 2.19, is reported
8621 *** to be unable to reliably create shared libraries on AIX.
8622 *** Therefore, libtool is disabling shared libraries support.  If you
8623 *** really care for shared libraries, you may want to install binutils
8624 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8625 *** You will then need to restart the configuration process.
8626
8627 _LT_EOF
8628       fi
8629       ;;
8630
8631     amigaos*)
8632       case $host_cpu in
8633       powerpc)
8634             # see comment about AmigaOS4 .so support
8635             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8636             archive_expsym_cmds=''
8637         ;;
8638       m68k)
8639             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)'
8640             hardcode_libdir_flag_spec='-L$libdir'
8641             hardcode_minus_L=yes
8642         ;;
8643       esac
8644       ;;
8645
8646     beos*)
8647       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8648         allow_undefined_flag=unsupported
8649         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8650         # support --undefined.  This deserves some investigation.  FIXME
8651         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8652       else
8653         ld_shlibs=no
8654       fi
8655       ;;
8656
8657     cygwin* | mingw* | pw32* | cegcc*)
8658       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8659       # as there is no search path for DLLs.
8660       hardcode_libdir_flag_spec='-L$libdir'
8661       export_dynamic_flag_spec='${wl}--export-all-symbols'
8662       allow_undefined_flag=unsupported
8663       always_export_symbols=no
8664       enable_shared_with_static_runtimes=yes
8665       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'
8666       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8667
8668       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8669         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8670         # If the export-symbols file already is a .def file (1st line
8671         # is EXPORTS), use it as is; otherwise, prepend...
8672         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8673           cp $export_symbols $output_objdir/$soname.def;
8674         else
8675           echo EXPORTS > $output_objdir/$soname.def;
8676           cat $export_symbols >> $output_objdir/$soname.def;
8677         fi~
8678         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8679       else
8680         ld_shlibs=no
8681       fi
8682       ;;
8683
8684     haiku*)
8685       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8686       link_all_deplibs=yes
8687       ;;
8688
8689     interix[3-9]*)
8690       hardcode_direct=no
8691       hardcode_shlibpath_var=no
8692       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8693       export_dynamic_flag_spec='${wl}-E'
8694       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8695       # Instead, shared libraries are loaded at an image base (0x10000000 by
8696       # default) and relocated if they conflict, which is a slow very memory
8697       # consuming and fragmenting process.  To avoid this, we pick a random,
8698       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8699       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8700       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8701       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'
8702       ;;
8703
8704     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8705       tmp_diet=no
8706       if test "$host_os" = linux-dietlibc; then
8707         case $cc_basename in
8708           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8709         esac
8710       fi
8711       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8712          && test "$tmp_diet" = no
8713       then
8714         tmp_addflag=' $pic_flag'
8715         tmp_sharedflag='-shared'
8716         case $cc_basename,$host_cpu in
8717         pgcc*)                          # Portland Group C compiler
8718           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'
8719           tmp_addflag=' $pic_flag'
8720           ;;
8721         pgf77* | pgf90* | pgf95* | pgfortran*)
8722                                         # Portland Group f77 and f90 compilers
8723           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'
8724           tmp_addflag=' $pic_flag -Mnomain' ;;
8725         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8726           tmp_addflag=' -i_dynamic' ;;
8727         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8728           tmp_addflag=' -i_dynamic -nofor_main' ;;
8729         ifc* | ifort*)                  # Intel Fortran compiler
8730           tmp_addflag=' -nofor_main' ;;
8731         lf95*)                          # Lahey Fortran 8.1
8732           whole_archive_flag_spec=
8733           tmp_sharedflag='--shared' ;;
8734         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8735           tmp_sharedflag='-qmkshrobj'
8736           tmp_addflag= ;;
8737         nvcc*)  # Cuda Compiler Driver 2.2
8738           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'
8739           compiler_needs_object=yes
8740           ;;
8741         esac
8742         case `$CC -V 2>&1 | sed 5q` in
8743         *Sun\ C*)                       # Sun C 5.9
8744           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'
8745           compiler_needs_object=yes
8746           tmp_sharedflag='-G' ;;
8747         *Sun\ F*)                       # Sun Fortran 8.3
8748           tmp_sharedflag='-G' ;;
8749         esac
8750         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8751
8752         if test "x$supports_anon_versioning" = xyes; then
8753           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8754             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8755             echo "local: *; };" >> $output_objdir/$libname.ver~
8756             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8757         fi
8758
8759         case $cc_basename in
8760         xlf* | bgf* | bgxlf* | mpixlf*)
8761           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8762           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8763           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8764           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8765           if test "x$supports_anon_versioning" = xyes; then
8766             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8767               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8768               echo "local: *; };" >> $output_objdir/$libname.ver~
8769               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8770           fi
8771           ;;
8772         esac
8773       else
8774         ld_shlibs=no
8775       fi
8776       ;;
8777
8778     netbsd* | netbsdelf*-gnu)
8779       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8780         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8781         wlarc=
8782       else
8783         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8784         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8785       fi
8786       ;;
8787
8788     solaris*)
8789       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8790         ld_shlibs=no
8791         cat <<_LT_EOF 1>&2
8792
8793 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8794 *** create shared libraries on Solaris systems.  Therefore, libtool
8795 *** is disabling shared libraries support.  We urge you to upgrade GNU
8796 *** binutils to release 2.9.1 or newer.  Another option is to modify
8797 *** your PATH or compiler configuration so that the native linker is
8798 *** used, and then restart.
8799
8800 _LT_EOF
8801       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8802         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8803         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8804       else
8805         ld_shlibs=no
8806       fi
8807       ;;
8808
8809     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8810       case `$LD -v 2>&1` in
8811         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8812         ld_shlibs=no
8813         cat <<_LT_EOF 1>&2
8814
8815 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8816 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8817 *** is disabling shared libraries support.  We urge you to upgrade GNU
8818 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8819 *** your PATH or compiler configuration so that the native linker is
8820 *** used, and then restart.
8821
8822 _LT_EOF
8823         ;;
8824         *)
8825           # For security reasons, it is highly recommended that you always
8826           # use absolute paths for naming shared libraries, and exclude the
8827           # DT_RUNPATH tag from executables and libraries.  But doing so
8828           # requires that you compile everything twice, which is a pain.
8829           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8830             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8831             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8832             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8833           else
8834             ld_shlibs=no
8835           fi
8836         ;;
8837       esac
8838       ;;
8839
8840     sunos4*)
8841       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8842       wlarc=
8843       hardcode_direct=yes
8844       hardcode_shlibpath_var=no
8845       ;;
8846
8847     *)
8848       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8849         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8850         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8851       else
8852         ld_shlibs=no
8853       fi
8854       ;;
8855     esac
8856
8857     if test "$ld_shlibs" = no; then
8858       runpath_var=
8859       hardcode_libdir_flag_spec=
8860       export_dynamic_flag_spec=
8861       whole_archive_flag_spec=
8862     fi
8863   else
8864     # PORTME fill in a description of your system's linker (not GNU ld)
8865     case $host_os in
8866     aix3*)
8867       allow_undefined_flag=unsupported
8868       always_export_symbols=yes
8869       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'
8870       # Note: this linker hardcodes the directories in LIBPATH if there
8871       # are no directories specified by -L.
8872       hardcode_minus_L=yes
8873       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8874         # Neither direct hardcoding nor static linking is supported with a
8875         # broken collect2.
8876         hardcode_direct=unsupported
8877       fi
8878       ;;
8879
8880     aix[4-9]*)
8881       if test "$host_cpu" = ia64; then
8882         # On IA64, the linker does run time linking by default, so we don't
8883         # have to do anything special.
8884         aix_use_runtimelinking=no
8885         exp_sym_flag='-Bexport'
8886         no_entry_flag=""
8887       else
8888         # If we're using GNU nm, then we don't want the "-C" option.
8889         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8890         # Also, AIX nm treats weak defined symbols like other global
8891         # defined symbols, whereas GNU nm marks them as "W".
8892         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8893           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'
8894         else
8895           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'
8896         fi
8897         aix_use_runtimelinking=no
8898
8899         # Test if we are trying to use run time linking or normal
8900         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8901         # need to do runtime linking.
8902         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8903           for ld_flag in $LDFLAGS; do
8904           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8905             aix_use_runtimelinking=yes
8906             break
8907           fi
8908           done
8909           ;;
8910         esac
8911
8912         exp_sym_flag='-bexport'
8913         no_entry_flag='-bnoentry'
8914       fi
8915
8916       # When large executables or shared objects are built, AIX ld can
8917       # have problems creating the table of contents.  If linking a library
8918       # or program results in "error TOC overflow" add -mminimal-toc to
8919       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8920       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8921
8922       archive_cmds=''
8923       hardcode_direct=yes
8924       hardcode_direct_absolute=yes
8925       hardcode_libdir_separator=':'
8926       link_all_deplibs=yes
8927       file_list_spec='${wl}-f,'
8928
8929       if test "$GCC" = yes; then
8930         case $host_os in aix4.[012]|aix4.[012].*)
8931         # We only want to do this on AIX 4.2 and lower, the check
8932         # below for broken collect2 doesn't work under 4.3+
8933           collect2name=`${CC} -print-prog-name=collect2`
8934           if test -f "$collect2name" &&
8935            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8936           then
8937           # We have reworked collect2
8938           :
8939           else
8940           # We have old collect2
8941           hardcode_direct=unsupported
8942           # It fails to find uninstalled libraries when the uninstalled
8943           # path is not listed in the libpath.  Setting hardcode_minus_L
8944           # to unsupported forces relinking
8945           hardcode_minus_L=yes
8946           hardcode_libdir_flag_spec='-L$libdir'
8947           hardcode_libdir_separator=
8948           fi
8949           ;;
8950         esac
8951         shared_flag='-shared'
8952         if test "$aix_use_runtimelinking" = yes; then
8953           shared_flag="$shared_flag "'${wl}-G'
8954         fi
8955         link_all_deplibs=no
8956       else
8957         # not using gcc
8958         if test "$host_cpu" = ia64; then
8959         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8960         # chokes on -Wl,-G. The following line is correct:
8961           shared_flag='-G'
8962         else
8963           if test "$aix_use_runtimelinking" = yes; then
8964             shared_flag='${wl}-G'
8965           else
8966             shared_flag='${wl}-bM:SRE'
8967           fi
8968         fi
8969       fi
8970
8971       export_dynamic_flag_spec='${wl}-bexpall'
8972       # It seems that -bexpall does not export symbols beginning with
8973       # underscore (_), so it is better to generate a list of symbols to export.
8974       always_export_symbols=yes
8975       if test "$aix_use_runtimelinking" = yes; then
8976         # Warning - without using the other runtime loading flags (-brtl),
8977         # -berok will link without error, but may produce a broken library.
8978         allow_undefined_flag='-berok'
8979         # Determine the default libpath from the value encoded in an
8980         # empty executable.
8981         if test "${lt_cv_aix_libpath+set}" = set; then
8982   aix_libpath=$lt_cv_aix_libpath
8983 else
8984   if ${lt_cv_aix_libpath_+:} false; then :
8985   $as_echo_n "(cached) " >&6
8986 else
8987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8988 /* end confdefs.h.  */
8989
8990 int
8991 main ()
8992 {
8993
8994   ;
8995   return 0;
8996 }
8997 _ACEOF
8998 if ac_fn_c_try_link "$LINENO"; then :
8999
9000   lt_aix_libpath_sed='
9001       /Import File Strings/,/^$/ {
9002           /^0/ {
9003               s/^0  *\([^ ]*\) *$/\1/
9004               p
9005           }
9006       }'
9007   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9008   # Check for a 64-bit object if we didn't find anything.
9009   if test -z "$lt_cv_aix_libpath_"; then
9010     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9011   fi
9012 fi
9013 rm -f core conftest.err conftest.$ac_objext \
9014     conftest$ac_exeext conftest.$ac_ext
9015   if test -z "$lt_cv_aix_libpath_"; then
9016     lt_cv_aix_libpath_="/usr/lib:/lib"
9017   fi
9018
9019 fi
9020
9021   aix_libpath=$lt_cv_aix_libpath_
9022 fi
9023
9024         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9025         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"
9026       else
9027         if test "$host_cpu" = ia64; then
9028           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9029           allow_undefined_flag="-z nodefs"
9030           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"
9031         else
9032          # Determine the default libpath from the value encoded in an
9033          # empty executable.
9034          if test "${lt_cv_aix_libpath+set}" = set; then
9035   aix_libpath=$lt_cv_aix_libpath
9036 else
9037   if ${lt_cv_aix_libpath_+:} false; then :
9038   $as_echo_n "(cached) " >&6
9039 else
9040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9041 /* end confdefs.h.  */
9042
9043 int
9044 main ()
9045 {
9046
9047   ;
9048   return 0;
9049 }
9050 _ACEOF
9051 if ac_fn_c_try_link "$LINENO"; then :
9052
9053   lt_aix_libpath_sed='
9054       /Import File Strings/,/^$/ {
9055           /^0/ {
9056               s/^0  *\([^ ]*\) *$/\1/
9057               p
9058           }
9059       }'
9060   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9061   # Check for a 64-bit object if we didn't find anything.
9062   if test -z "$lt_cv_aix_libpath_"; then
9063     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9064   fi
9065 fi
9066 rm -f core conftest.err conftest.$ac_objext \
9067     conftest$ac_exeext conftest.$ac_ext
9068   if test -z "$lt_cv_aix_libpath_"; then
9069     lt_cv_aix_libpath_="/usr/lib:/lib"
9070   fi
9071
9072 fi
9073
9074   aix_libpath=$lt_cv_aix_libpath_
9075 fi
9076
9077          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9078           # Warning - without using the other run time loading flags,
9079           # -berok will link without error, but may produce a broken library.
9080           no_undefined_flag=' ${wl}-bernotok'
9081           allow_undefined_flag=' ${wl}-berok'
9082           if test "$with_gnu_ld" = yes; then
9083             # We only use this code for GNU lds that support --whole-archive.
9084             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9085           else
9086             # Exported symbols can be pulled into shared objects from archives
9087             whole_archive_flag_spec='$convenience'
9088           fi
9089           archive_cmds_need_lc=yes
9090           # This is similar to how AIX traditionally builds its shared libraries.
9091           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'
9092         fi
9093       fi
9094       ;;
9095
9096     amigaos*)
9097       case $host_cpu in
9098       powerpc)
9099             # see comment about AmigaOS4 .so support
9100             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9101             archive_expsym_cmds=''
9102         ;;
9103       m68k)
9104             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)'
9105             hardcode_libdir_flag_spec='-L$libdir'
9106             hardcode_minus_L=yes
9107         ;;
9108       esac
9109       ;;
9110
9111     bsdi[45]*)
9112       export_dynamic_flag_spec=-rdynamic
9113       ;;
9114
9115     cygwin* | mingw* | pw32* | cegcc*)
9116       # When not using gcc, we currently assume that we are using
9117       # Microsoft Visual C++.
9118       # hardcode_libdir_flag_spec is actually meaningless, as there is
9119       # no search path for DLLs.
9120       case $cc_basename in
9121       cl*)
9122         # Native MSVC
9123         hardcode_libdir_flag_spec=' '
9124         allow_undefined_flag=unsupported
9125         always_export_symbols=yes
9126         file_list_spec='@'
9127         # Tell ltmain to make .lib files, not .a files.
9128         libext=lib
9129         # Tell ltmain to make .dll files, not .so files.
9130         shrext_cmds=".dll"
9131         # FIXME: Setting linknames here is a bad hack.
9132         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9133         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9134             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9135           else
9136             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9137           fi~
9138           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9139           linknames='
9140         # The linker will not automatically build a static lib if we build a DLL.
9141         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9142         enable_shared_with_static_runtimes=yes
9143         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9144         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9145         # Don't use ranlib
9146         old_postinstall_cmds='chmod 644 $oldlib'
9147         postlink_cmds='lt_outputfile="@OUTPUT@"~
9148           lt_tool_outputfile="@TOOL_OUTPUT@"~
9149           case $lt_outputfile in
9150             *.exe|*.EXE) ;;
9151             *)
9152               lt_outputfile="$lt_outputfile.exe"
9153               lt_tool_outputfile="$lt_tool_outputfile.exe"
9154               ;;
9155           esac~
9156           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9157             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9158             $RM "$lt_outputfile.manifest";
9159           fi'
9160         ;;
9161       *)
9162         # Assume MSVC wrapper
9163         hardcode_libdir_flag_spec=' '
9164         allow_undefined_flag=unsupported
9165         # Tell ltmain to make .lib files, not .a files.
9166         libext=lib
9167         # Tell ltmain to make .dll files, not .so files.
9168         shrext_cmds=".dll"
9169         # FIXME: Setting linknames here is a bad hack.
9170         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9171         # The linker will automatically build a .lib file if we build a DLL.
9172         old_archive_from_new_cmds='true'
9173         # FIXME: Should let the user specify the lib program.
9174         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9175         enable_shared_with_static_runtimes=yes
9176         ;;
9177       esac
9178       ;;
9179
9180     darwin* | rhapsody*)
9181
9182
9183   archive_cmds_need_lc=no
9184   hardcode_direct=no
9185   hardcode_automatic=yes
9186   hardcode_shlibpath_var=unsupported
9187   if test "$lt_cv_ld_force_load" = "yes"; then
9188     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\"`'
9189
9190   else
9191     whole_archive_flag_spec=''
9192   fi
9193   link_all_deplibs=yes
9194   allow_undefined_flag="$_lt_dar_allow_undefined"
9195   case $cc_basename in
9196      ifort*) _lt_dar_can_shared=yes ;;
9197      *) _lt_dar_can_shared=$GCC ;;
9198   esac
9199   if test "$_lt_dar_can_shared" = "yes"; then
9200     output_verbose_link_cmd=func_echo_all
9201     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9202     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9203     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}"
9204     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}"
9205
9206   else
9207   ld_shlibs=no
9208   fi
9209
9210       ;;
9211
9212     dgux*)
9213       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9214       hardcode_libdir_flag_spec='-L$libdir'
9215       hardcode_shlibpath_var=no
9216       ;;
9217
9218     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9219     # support.  Future versions do this automatically, but an explicit c++rt0.o
9220     # does not break anything, and helps significantly (at the cost of a little
9221     # extra space).
9222     freebsd2.2*)
9223       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9224       hardcode_libdir_flag_spec='-R$libdir'
9225       hardcode_direct=yes
9226       hardcode_shlibpath_var=no
9227       ;;
9228
9229     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9230     freebsd2.*)
9231       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9232       hardcode_direct=yes
9233       hardcode_minus_L=yes
9234       hardcode_shlibpath_var=no
9235       ;;
9236
9237     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9238     freebsd* | dragonfly*)
9239       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9240       hardcode_libdir_flag_spec='-R$libdir'
9241       hardcode_direct=yes
9242       hardcode_shlibpath_var=no
9243       ;;
9244
9245     hpux9*)
9246       if test "$GCC" = yes; then
9247         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'
9248       else
9249         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'
9250       fi
9251       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9252       hardcode_libdir_separator=:
9253       hardcode_direct=yes
9254
9255       # hardcode_minus_L: Not really in the search PATH,
9256       # but as the default location of the library.
9257       hardcode_minus_L=yes
9258       export_dynamic_flag_spec='${wl}-E'
9259       ;;
9260
9261     hpux10*)
9262       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9263         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9264       else
9265         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9266       fi
9267       if test "$with_gnu_ld" = no; then
9268         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9269         hardcode_libdir_separator=:
9270         hardcode_direct=yes
9271         hardcode_direct_absolute=yes
9272         export_dynamic_flag_spec='${wl}-E'
9273         # hardcode_minus_L: Not really in the search PATH,
9274         # but as the default location of the library.
9275         hardcode_minus_L=yes
9276       fi
9277       ;;
9278
9279     hpux11*)
9280       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9281         case $host_cpu in
9282         hppa*64*)
9283           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9284           ;;
9285         ia64*)
9286           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9287           ;;
9288         *)
9289           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9290           ;;
9291         esac
9292       else
9293         case $host_cpu in
9294         hppa*64*)
9295           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9296           ;;
9297         ia64*)
9298           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9299           ;;
9300         *)
9301
9302           # Older versions of the 11.00 compiler do not understand -b yet
9303           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9304           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9305 $as_echo_n "checking if $CC understands -b... " >&6; }
9306 if ${lt_cv_prog_compiler__b+:} false; then :
9307   $as_echo_n "(cached) " >&6
9308 else
9309   lt_cv_prog_compiler__b=no
9310    save_LDFLAGS="$LDFLAGS"
9311    LDFLAGS="$LDFLAGS -b"
9312    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9313    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9314      # The linker can only warn and ignore the option if not recognized
9315      # So say no if there are warnings
9316      if test -s conftest.err; then
9317        # Append any errors to the config.log.
9318        cat conftest.err 1>&5
9319        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9320        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9321        if diff conftest.exp conftest.er2 >/dev/null; then
9322          lt_cv_prog_compiler__b=yes
9323        fi
9324      else
9325        lt_cv_prog_compiler__b=yes
9326      fi
9327    fi
9328    $RM -r conftest*
9329    LDFLAGS="$save_LDFLAGS"
9330
9331 fi
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9333 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9334
9335 if test x"$lt_cv_prog_compiler__b" = xyes; then
9336     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9337 else
9338     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9339 fi
9340
9341           ;;
9342         esac
9343       fi
9344       if test "$with_gnu_ld" = no; then
9345         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9346         hardcode_libdir_separator=:
9347
9348         case $host_cpu in
9349         hppa*64*|ia64*)
9350           hardcode_direct=no
9351           hardcode_shlibpath_var=no
9352           ;;
9353         *)
9354           hardcode_direct=yes
9355           hardcode_direct_absolute=yes
9356           export_dynamic_flag_spec='${wl}-E'
9357
9358           # hardcode_minus_L: Not really in the search PATH,
9359           # but as the default location of the library.
9360           hardcode_minus_L=yes
9361           ;;
9362         esac
9363       fi
9364       ;;
9365
9366     irix5* | irix6* | nonstopux*)
9367       if test "$GCC" = yes; then
9368         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'
9369         # Try to use the -exported_symbol ld option, if it does not
9370         # work, assume that -exports_file does not work either and
9371         # implicitly export all symbols.
9372         # This should be the same for all languages, so no per-tag cache variable.
9373         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9374 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9375 if ${lt_cv_irix_exported_symbol+:} false; then :
9376   $as_echo_n "(cached) " >&6
9377 else
9378   save_LDFLAGS="$LDFLAGS"
9379            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9380            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h.  */
9382 int foo (void) { return 0; }
9383 _ACEOF
9384 if ac_fn_c_try_link "$LINENO"; then :
9385   lt_cv_irix_exported_symbol=yes
9386 else
9387   lt_cv_irix_exported_symbol=no
9388 fi
9389 rm -f core conftest.err conftest.$ac_objext \
9390     conftest$ac_exeext conftest.$ac_ext
9391            LDFLAGS="$save_LDFLAGS"
9392 fi
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9394 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9395         if test "$lt_cv_irix_exported_symbol" = yes; then
9396           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'
9397         fi
9398       else
9399         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'
9400         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'
9401       fi
9402       archive_cmds_need_lc='no'
9403       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9404       hardcode_libdir_separator=:
9405       inherit_rpath=yes
9406       link_all_deplibs=yes
9407       ;;
9408
9409     netbsd* | netbsdelf*-gnu)
9410       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9411         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9412       else
9413         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9414       fi
9415       hardcode_libdir_flag_spec='-R$libdir'
9416       hardcode_direct=yes
9417       hardcode_shlibpath_var=no
9418       ;;
9419
9420     newsos6)
9421       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9422       hardcode_direct=yes
9423       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9424       hardcode_libdir_separator=:
9425       hardcode_shlibpath_var=no
9426       ;;
9427
9428     *nto* | *qnx*)
9429       ;;
9430
9431     openbsd*)
9432       if test -f /usr/libexec/ld.so; then
9433         hardcode_direct=yes
9434         hardcode_shlibpath_var=no
9435         hardcode_direct_absolute=yes
9436         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9437           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9438           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9439           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9440           export_dynamic_flag_spec='${wl}-E'
9441         else
9442           case $host_os in
9443            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9444              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9445              hardcode_libdir_flag_spec='-R$libdir'
9446              ;;
9447            *)
9448              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9449              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9450              ;;
9451           esac
9452         fi
9453       else
9454         ld_shlibs=no
9455       fi
9456       ;;
9457
9458     os2*)
9459       hardcode_libdir_flag_spec='-L$libdir'
9460       hardcode_minus_L=yes
9461       allow_undefined_flag=unsupported
9462       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'
9463       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9464       ;;
9465
9466     osf3*)
9467       if test "$GCC" = yes; then
9468         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9469         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'
9470       else
9471         allow_undefined_flag=' -expect_unresolved \*'
9472         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'
9473       fi
9474       archive_cmds_need_lc='no'
9475       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9476       hardcode_libdir_separator=:
9477       ;;
9478
9479     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9480       if test "$GCC" = yes; then
9481         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9482         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'
9483         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9484       else
9485         allow_undefined_flag=' -expect_unresolved \*'
9486         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'
9487         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~
9488         $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'
9489
9490         # Both c and cxx compiler support -rpath directly
9491         hardcode_libdir_flag_spec='-rpath $libdir'
9492       fi
9493       archive_cmds_need_lc='no'
9494       hardcode_libdir_separator=:
9495       ;;
9496
9497     solaris*)
9498       no_undefined_flag=' -z defs'
9499       if test "$GCC" = yes; then
9500         wlarc='${wl}'
9501         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9502         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9503           $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'
9504       else
9505         case `$CC -V 2>&1` in
9506         *"Compilers 5.0"*)
9507           wlarc=''
9508           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9509           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9510           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9511           ;;
9512         *)
9513           wlarc='${wl}'
9514           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9515           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9516           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9517           ;;
9518         esac
9519       fi
9520       hardcode_libdir_flag_spec='-R$libdir'
9521       hardcode_shlibpath_var=no
9522       case $host_os in
9523       solaris2.[0-5] | solaris2.[0-5].*) ;;
9524       *)
9525         # The compiler driver will combine and reorder linker options,
9526         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9527         # but is careful enough not to reorder.
9528         # Supported since Solaris 2.6 (maybe 2.5.1?)
9529         if test "$GCC" = yes; then
9530           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9531         else
9532           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9533         fi
9534         ;;
9535       esac
9536       link_all_deplibs=yes
9537       ;;
9538
9539     sunos4*)
9540       if test "x$host_vendor" = xsequent; then
9541         # Use $CC to link under sequent, because it throws in some extra .o
9542         # files that make .init and .fini sections work.
9543         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9544       else
9545         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9546       fi
9547       hardcode_libdir_flag_spec='-L$libdir'
9548       hardcode_direct=yes
9549       hardcode_minus_L=yes
9550       hardcode_shlibpath_var=no
9551       ;;
9552
9553     sysv4)
9554       case $host_vendor in
9555         sni)
9556           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9557           hardcode_direct=yes # is this really true???
9558         ;;
9559         siemens)
9560           ## LD is ld it makes a PLAMLIB
9561           ## CC just makes a GrossModule.
9562           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9563           reload_cmds='$CC -r -o $output$reload_objs'
9564           hardcode_direct=no
9565         ;;
9566         motorola)
9567           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9568           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9569         ;;
9570       esac
9571       runpath_var='LD_RUN_PATH'
9572       hardcode_shlibpath_var=no
9573       ;;
9574
9575     sysv4.3*)
9576       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9577       hardcode_shlibpath_var=no
9578       export_dynamic_flag_spec='-Bexport'
9579       ;;
9580
9581     sysv4*MP*)
9582       if test -d /usr/nec; then
9583         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9584         hardcode_shlibpath_var=no
9585         runpath_var=LD_RUN_PATH
9586         hardcode_runpath_var=yes
9587         ld_shlibs=yes
9588       fi
9589       ;;
9590
9591     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9592       no_undefined_flag='${wl}-z,text'
9593       archive_cmds_need_lc=no
9594       hardcode_shlibpath_var=no
9595       runpath_var='LD_RUN_PATH'
9596
9597       if test "$GCC" = yes; then
9598         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9599         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9600       else
9601         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9602         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9603       fi
9604       ;;
9605
9606     sysv5* | sco3.2v5* | sco5v6*)
9607       # Note: We can NOT use -z defs as we might desire, because we do not
9608       # link with -lc, and that would cause any symbols used from libc to
9609       # always be unresolved, which means just about no library would
9610       # ever link correctly.  If we're not using GNU ld we use -z text
9611       # though, which does catch some bad symbols but isn't as heavy-handed
9612       # as -z defs.
9613       no_undefined_flag='${wl}-z,text'
9614       allow_undefined_flag='${wl}-z,nodefs'
9615       archive_cmds_need_lc=no
9616       hardcode_shlibpath_var=no
9617       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9618       hardcode_libdir_separator=':'
9619       link_all_deplibs=yes
9620       export_dynamic_flag_spec='${wl}-Bexport'
9621       runpath_var='LD_RUN_PATH'
9622
9623       if test "$GCC" = yes; then
9624         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9625         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9626       else
9627         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9628         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9629       fi
9630       ;;
9631
9632     uts4*)
9633       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9634       hardcode_libdir_flag_spec='-L$libdir'
9635       hardcode_shlibpath_var=no
9636       ;;
9637
9638     *)
9639       ld_shlibs=no
9640       ;;
9641     esac
9642
9643     if test x$host_vendor = xsni; then
9644       case $host in
9645       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9646         export_dynamic_flag_spec='${wl}-Blargedynsym'
9647         ;;
9648       esac
9649     fi
9650   fi
9651
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9653 $as_echo "$ld_shlibs" >&6; }
9654 test "$ld_shlibs" = no && can_build_shared=no
9655
9656 with_gnu_ld=$with_gnu_ld
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672 #
9673 # Do we need to explicitly link libc?
9674 #
9675 case "x$archive_cmds_need_lc" in
9676 x|xyes)
9677   # Assume -lc should be added
9678   archive_cmds_need_lc=yes
9679
9680   if test "$enable_shared" = yes && test "$GCC" = yes; then
9681     case $archive_cmds in
9682     *'~'*)
9683       # FIXME: we may have to deal with multi-command sequences.
9684       ;;
9685     '$CC '*)
9686       # Test whether the compiler implicitly links with -lc since on some
9687       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9688       # to ld, don't add -lc before -lgcc.
9689       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9690 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9691 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9692   $as_echo_n "(cached) " >&6
9693 else
9694   $RM conftest*
9695         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9696
9697         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9698   (eval $ac_compile) 2>&5
9699   ac_status=$?
9700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9701   test $ac_status = 0; } 2>conftest.err; then
9702           soname=conftest
9703           lib=conftest
9704           libobjs=conftest.$ac_objext
9705           deplibs=
9706           wl=$lt_prog_compiler_wl
9707           pic_flag=$lt_prog_compiler_pic
9708           compiler_flags=-v
9709           linker_flags=-v
9710           verstring=
9711           output_objdir=.
9712           libname=conftest
9713           lt_save_allow_undefined_flag=$allow_undefined_flag
9714           allow_undefined_flag=
9715           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9716   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9717   ac_status=$?
9718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9719   test $ac_status = 0; }
9720           then
9721             lt_cv_archive_cmds_need_lc=no
9722           else
9723             lt_cv_archive_cmds_need_lc=yes
9724           fi
9725           allow_undefined_flag=$lt_save_allow_undefined_flag
9726         else
9727           cat conftest.err 1>&5
9728         fi
9729         $RM conftest*
9730
9731 fi
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9733 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9734       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9735       ;;
9736     esac
9737   fi
9738   ;;
9739 esac
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9893 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9894
9895 if test "$GCC" = yes; then
9896   case $host_os in
9897     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9898     *) lt_awk_arg="/^libraries:/" ;;
9899   esac
9900   case $host_os in
9901     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9902     *) lt_sed_strip_eq="s,=/,/,g" ;;
9903   esac
9904   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9905   case $lt_search_path_spec in
9906   *\;*)
9907     # if the path contains ";" then we assume it to be the separator
9908     # otherwise default to the standard path separator (i.e. ":") - it is
9909     # assumed that no part of a normal pathname contains ";" but that should
9910     # okay in the real world where ";" in dirpaths is itself problematic.
9911     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9912     ;;
9913   *)
9914     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9915     ;;
9916   esac
9917   # Ok, now we have the path, separated by spaces, we can step through it
9918   # and add multilib dir if necessary.
9919   lt_tmp_lt_search_path_spec=
9920   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9921   for lt_sys_path in $lt_search_path_spec; do
9922     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9923       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9924     else
9925       test -d "$lt_sys_path" && \
9926         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9927     fi
9928   done
9929   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9930 BEGIN {RS=" "; FS="/|\n";} {
9931   lt_foo="";
9932   lt_count=0;
9933   for (lt_i = NF; lt_i > 0; lt_i--) {
9934     if ($lt_i != "" && $lt_i != ".") {
9935       if ($lt_i == "..") {
9936         lt_count++;
9937       } else {
9938         if (lt_count == 0) {
9939           lt_foo="/" $lt_i lt_foo;
9940         } else {
9941           lt_count--;
9942         }
9943       }
9944     }
9945   }
9946   if (lt_foo != "") { lt_freq[lt_foo]++; }
9947   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9948 }'`
9949   # AWK program above erroneously prepends '/' to C:/dos/paths
9950   # for these hosts.
9951   case $host_os in
9952     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9953       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9954   esac
9955   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9956 else
9957   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9958 fi
9959 library_names_spec=
9960 libname_spec='lib$name'
9961 soname_spec=
9962 shrext_cmds=".so"
9963 postinstall_cmds=
9964 postuninstall_cmds=
9965 finish_cmds=
9966 finish_eval=
9967 shlibpath_var=
9968 shlibpath_overrides_runpath=unknown
9969 version_type=none
9970 dynamic_linker="$host_os ld.so"
9971 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9972 need_lib_prefix=unknown
9973 hardcode_into_libs=no
9974
9975 # when you set need_version to no, make sure it does not cause -set_version
9976 # flags to be left without arguments
9977 need_version=unknown
9978
9979 case $host_os in
9980 aix3*)
9981   version_type=linux # correct to gnu/linux during the next big refactor
9982   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9983   shlibpath_var=LIBPATH
9984
9985   # AIX 3 has no versioning support, so we append a major version to the name.
9986   soname_spec='${libname}${release}${shared_ext}$major'
9987   ;;
9988
9989 aix[4-9]*)
9990   version_type=linux # correct to gnu/linux during the next big refactor
9991   need_lib_prefix=no
9992   need_version=no
9993   hardcode_into_libs=yes
9994   if test "$host_cpu" = ia64; then
9995     # AIX 5 supports IA64
9996     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9997     shlibpath_var=LD_LIBRARY_PATH
9998   else
9999     # With GCC up to 2.95.x, collect2 would create an import file
10000     # for dependence libraries.  The import file would start with
10001     # the line `#! .'.  This would cause the generated library to
10002     # depend on `.', always an invalid library.  This was fixed in
10003     # development snapshots of GCC prior to 3.0.
10004     case $host_os in
10005       aix4 | aix4.[01] | aix4.[01].*)
10006       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10007            echo ' yes '
10008            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10009         :
10010       else
10011         can_build_shared=no
10012       fi
10013       ;;
10014     esac
10015     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10016     # soname into executable. Probably we can add versioning support to
10017     # collect2, so additional links can be useful in future.
10018     if test "$aix_use_runtimelinking" = yes; then
10019       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10020       # instead of lib<name>.a to let people know that these are not
10021       # typical AIX shared libraries.
10022       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10023     else
10024       # We preserve .a as extension for shared libraries through AIX4.2
10025       # and later when we are not doing run time linking.
10026       library_names_spec='${libname}${release}.a $libname.a'
10027       soname_spec='${libname}${release}${shared_ext}$major'
10028     fi
10029     shlibpath_var=LIBPATH
10030   fi
10031   ;;
10032
10033 amigaos*)
10034   case $host_cpu in
10035   powerpc)
10036     # Since July 2007 AmigaOS4 officially supports .so libraries.
10037     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10038     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10039     ;;
10040   m68k)
10041     library_names_spec='$libname.ixlibrary $libname.a'
10042     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10043     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'
10044     ;;
10045   esac
10046   ;;
10047
10048 beos*)
10049   library_names_spec='${libname}${shared_ext}'
10050   dynamic_linker="$host_os ld.so"
10051   shlibpath_var=LIBRARY_PATH
10052   ;;
10053
10054 bsdi[45]*)
10055   version_type=linux # correct to gnu/linux during the next big refactor
10056   need_version=no
10057   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10058   soname_spec='${libname}${release}${shared_ext}$major'
10059   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10060   shlibpath_var=LD_LIBRARY_PATH
10061   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10062   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10063   # the default ld.so.conf also contains /usr/contrib/lib and
10064   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10065   # libtool to hard-code these into programs
10066   ;;
10067
10068 cygwin* | mingw* | pw32* | cegcc*)
10069   version_type=windows
10070   shrext_cmds=".dll"
10071   need_version=no
10072   need_lib_prefix=no
10073
10074   case $GCC,$cc_basename in
10075   yes,*)
10076     # gcc
10077     library_names_spec='$libname.dll.a'
10078     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10079     postinstall_cmds='base_file=`basename \${file}`~
10080       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10081       dldir=$destdir/`dirname \$dlpath`~
10082       test -d \$dldir || mkdir -p \$dldir~
10083       $install_prog $dir/$dlname \$dldir/$dlname~
10084       chmod a+x \$dldir/$dlname~
10085       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10086         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10087       fi'
10088     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10089       dlpath=$dir/\$dldll~
10090        $RM \$dlpath'
10091     shlibpath_overrides_runpath=yes
10092
10093     case $host_os in
10094     cygwin*)
10095       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10096       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10097
10098       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10099       ;;
10100     mingw* | cegcc*)
10101       # MinGW DLLs use traditional 'lib' prefix
10102       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10103       ;;
10104     pw32*)
10105       # pw32 DLLs use 'pw' prefix rather than 'lib'
10106       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10107       ;;
10108     esac
10109     dynamic_linker='Win32 ld.exe'
10110     ;;
10111
10112   *,cl*)
10113     # Native MSVC
10114     libname_spec='$name'
10115     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10116     library_names_spec='${libname}.dll.lib'
10117
10118     case $build_os in
10119     mingw*)
10120       sys_lib_search_path_spec=
10121       lt_save_ifs=$IFS
10122       IFS=';'
10123       for lt_path in $LIB
10124       do
10125         IFS=$lt_save_ifs
10126         # Let DOS variable expansion print the short 8.3 style file name.
10127         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10128         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10129       done
10130       IFS=$lt_save_ifs
10131       # Convert to MSYS style.
10132       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10133       ;;
10134     cygwin*)
10135       # Convert to unix form, then to dos form, then back to unix form
10136       # but this time dos style (no spaces!) so that the unix form looks
10137       # like /cygdrive/c/PROGRA~1:/cygdr...
10138       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10139       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10140       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10141       ;;
10142     *)
10143       sys_lib_search_path_spec="$LIB"
10144       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10145         # It is most probably a Windows format PATH.
10146         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10147       else
10148         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10149       fi
10150       # FIXME: find the short name or the path components, as spaces are
10151       # common. (e.g. "Program Files" -> "PROGRA~1")
10152       ;;
10153     esac
10154
10155     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10156     postinstall_cmds='base_file=`basename \${file}`~
10157       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10158       dldir=$destdir/`dirname \$dlpath`~
10159       test -d \$dldir || mkdir -p \$dldir~
10160       $install_prog $dir/$dlname \$dldir/$dlname'
10161     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10162       dlpath=$dir/\$dldll~
10163        $RM \$dlpath'
10164     shlibpath_overrides_runpath=yes
10165     dynamic_linker='Win32 link.exe'
10166     ;;
10167
10168   *)
10169     # Assume MSVC wrapper
10170     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10171     dynamic_linker='Win32 ld.exe'
10172     ;;
10173   esac
10174   # FIXME: first we should search . and the directory the executable is in
10175   shlibpath_var=PATH
10176   ;;
10177
10178 darwin* | rhapsody*)
10179   dynamic_linker="$host_os dyld"
10180   version_type=darwin
10181   need_lib_prefix=no
10182   need_version=no
10183   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10184   soname_spec='${libname}${release}${major}$shared_ext'
10185   shlibpath_overrides_runpath=yes
10186   shlibpath_var=DYLD_LIBRARY_PATH
10187   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10188
10189   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10190   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10191   ;;
10192
10193 dgux*)
10194   version_type=linux # correct to gnu/linux during the next big refactor
10195   need_lib_prefix=no
10196   need_version=no
10197   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10198   soname_spec='${libname}${release}${shared_ext}$major'
10199   shlibpath_var=LD_LIBRARY_PATH
10200   ;;
10201
10202 freebsd* | dragonfly*)
10203   # DragonFly does not have aout.  When/if they implement a new
10204   # versioning mechanism, adjust this.
10205   if test -x /usr/bin/objformat; then
10206     objformat=`/usr/bin/objformat`
10207   else
10208     case $host_os in
10209     freebsd[23].*) objformat=aout ;;
10210     *) objformat=elf ;;
10211     esac
10212   fi
10213   version_type=freebsd-$objformat
10214   case $version_type in
10215     freebsd-elf*)
10216       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10217       need_version=no
10218       need_lib_prefix=no
10219       ;;
10220     freebsd-*)
10221       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10222       need_version=yes
10223       ;;
10224   esac
10225   shlibpath_var=LD_LIBRARY_PATH
10226   case $host_os in
10227   freebsd2.*)
10228     shlibpath_overrides_runpath=yes
10229     ;;
10230   freebsd3.[01]* | freebsdelf3.[01]*)
10231     shlibpath_overrides_runpath=yes
10232     hardcode_into_libs=yes
10233     ;;
10234   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10235   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10236     shlibpath_overrides_runpath=no
10237     hardcode_into_libs=yes
10238     ;;
10239   *) # from 4.6 on, and DragonFly
10240     shlibpath_overrides_runpath=yes
10241     hardcode_into_libs=yes
10242     ;;
10243   esac
10244   ;;
10245
10246 gnu*)
10247   version_type=linux # correct to gnu/linux during the next big refactor
10248   need_lib_prefix=no
10249   need_version=no
10250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10251   soname_spec='${libname}${release}${shared_ext}$major'
10252   shlibpath_var=LD_LIBRARY_PATH
10253   shlibpath_overrides_runpath=no
10254   hardcode_into_libs=yes
10255   ;;
10256
10257 haiku*)
10258   version_type=linux # correct to gnu/linux during the next big refactor
10259   need_lib_prefix=no
10260   need_version=no
10261   dynamic_linker="$host_os runtime_loader"
10262   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10263   soname_spec='${libname}${release}${shared_ext}$major'
10264   shlibpath_var=LIBRARY_PATH
10265   shlibpath_overrides_runpath=yes
10266   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10267   hardcode_into_libs=yes
10268   ;;
10269
10270 hpux9* | hpux10* | hpux11*)
10271   # Give a soname corresponding to the major version so that dld.sl refuses to
10272   # link against other versions.
10273   version_type=sunos
10274   need_lib_prefix=no
10275   need_version=no
10276   case $host_cpu in
10277   ia64*)
10278     shrext_cmds='.so'
10279     hardcode_into_libs=yes
10280     dynamic_linker="$host_os dld.so"
10281     shlibpath_var=LD_LIBRARY_PATH
10282     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10283     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10284     soname_spec='${libname}${release}${shared_ext}$major'
10285     if test "X$HPUX_IA64_MODE" = X32; then
10286       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10287     else
10288       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10289     fi
10290     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10291     ;;
10292   hppa*64*)
10293     shrext_cmds='.sl'
10294     hardcode_into_libs=yes
10295     dynamic_linker="$host_os dld.sl"
10296     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10297     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10298     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10299     soname_spec='${libname}${release}${shared_ext}$major'
10300     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10301     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10302     ;;
10303   *)
10304     shrext_cmds='.sl'
10305     dynamic_linker="$host_os dld.sl"
10306     shlibpath_var=SHLIB_PATH
10307     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10308     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10309     soname_spec='${libname}${release}${shared_ext}$major'
10310     ;;
10311   esac
10312   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10313   postinstall_cmds='chmod 555 $lib'
10314   # or fails outright, so override atomically:
10315   install_override_mode=555
10316   ;;
10317
10318 interix[3-9]*)
10319   version_type=linux # correct to gnu/linux during the next big refactor
10320   need_lib_prefix=no
10321   need_version=no
10322   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10323   soname_spec='${libname}${release}${shared_ext}$major'
10324   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10325   shlibpath_var=LD_LIBRARY_PATH
10326   shlibpath_overrides_runpath=no
10327   hardcode_into_libs=yes
10328   ;;
10329
10330 irix5* | irix6* | nonstopux*)
10331   case $host_os in
10332     nonstopux*) version_type=nonstopux ;;
10333     *)
10334         if test "$lt_cv_prog_gnu_ld" = yes; then
10335                 version_type=linux # correct to gnu/linux during the next big refactor
10336         else
10337                 version_type=irix
10338         fi ;;
10339   esac
10340   need_lib_prefix=no
10341   need_version=no
10342   soname_spec='${libname}${release}${shared_ext}$major'
10343   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10344   case $host_os in
10345   irix5* | nonstopux*)
10346     libsuff= shlibsuff=
10347     ;;
10348   *)
10349     case $LD in # libtool.m4 will add one of these switches to LD
10350     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10351       libsuff= shlibsuff= libmagic=32-bit;;
10352     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10353       libsuff=32 shlibsuff=N32 libmagic=N32;;
10354     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10355       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10356     *) libsuff= shlibsuff= libmagic=never-match;;
10357     esac
10358     ;;
10359   esac
10360   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10361   shlibpath_overrides_runpath=no
10362   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10363   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10364   hardcode_into_libs=yes
10365   ;;
10366
10367 # No shared lib support for Linux oldld, aout, or coff.
10368 linux*oldld* | linux*aout* | linux*coff*)
10369   dynamic_linker=no
10370   ;;
10371
10372 # This must be glibc/ELF.
10373 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10374   version_type=linux # correct to gnu/linux during the next big refactor
10375   need_lib_prefix=no
10376   need_version=no
10377   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10378   soname_spec='${libname}${release}${shared_ext}$major'
10379   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10380   shlibpath_var=LD_LIBRARY_PATH
10381   shlibpath_overrides_runpath=no
10382
10383   # Some binutils ld are patched to set DT_RUNPATH
10384   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10385   $as_echo_n "(cached) " >&6
10386 else
10387   lt_cv_shlibpath_overrides_runpath=no
10388     save_LDFLAGS=$LDFLAGS
10389     save_libdir=$libdir
10390     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10391          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10392     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h.  */
10394
10395 int
10396 main ()
10397 {
10398
10399   ;
10400   return 0;
10401 }
10402 _ACEOF
10403 if ac_fn_c_try_link "$LINENO"; then :
10404   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10405   lt_cv_shlibpath_overrides_runpath=yes
10406 fi
10407 fi
10408 rm -f core conftest.err conftest.$ac_objext \
10409     conftest$ac_exeext conftest.$ac_ext
10410     LDFLAGS=$save_LDFLAGS
10411     libdir=$save_libdir
10412
10413 fi
10414
10415   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10416
10417   # This implies no fast_install, which is unacceptable.
10418   # Some rework will be needed to allow for fast_install
10419   # before this can be enabled.
10420   hardcode_into_libs=yes
10421
10422   # Append ld.so.conf contents to the search path
10423   if test -f /etc/ld.so.conf; then
10424     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' ' '`
10425     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10426   fi
10427
10428   # We used to test for /lib/ld.so.1 and disable shared libraries on
10429   # powerpc, because MkLinux only supported shared libraries with the
10430   # GNU dynamic linker.  Since this was broken with cross compilers,
10431   # most powerpc-linux boxes support dynamic linking these days and
10432   # people can always --disable-shared, the test was removed, and we
10433   # assume the GNU/Linux dynamic linker is in use.
10434   dynamic_linker='GNU/Linux ld.so'
10435   ;;
10436
10437 netbsdelf*-gnu)
10438   version_type=linux
10439   need_lib_prefix=no
10440   need_version=no
10441   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10442   soname_spec='${libname}${release}${shared_ext}$major'
10443   shlibpath_var=LD_LIBRARY_PATH
10444   shlibpath_overrides_runpath=no
10445   hardcode_into_libs=yes
10446   dynamic_linker='NetBSD ld.elf_so'
10447   ;;
10448
10449 netbsd*)
10450   version_type=sunos
10451   need_lib_prefix=no
10452   need_version=no
10453   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10454     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10455     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10456     dynamic_linker='NetBSD (a.out) ld.so'
10457   else
10458     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10459     soname_spec='${libname}${release}${shared_ext}$major'
10460     dynamic_linker='NetBSD ld.elf_so'
10461   fi
10462   shlibpath_var=LD_LIBRARY_PATH
10463   shlibpath_overrides_runpath=yes
10464   hardcode_into_libs=yes
10465   ;;
10466
10467 newsos6)
10468   version_type=linux # correct to gnu/linux during the next big refactor
10469   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10470   shlibpath_var=LD_LIBRARY_PATH
10471   shlibpath_overrides_runpath=yes
10472   ;;
10473
10474 *nto* | *qnx*)
10475   version_type=qnx
10476   need_lib_prefix=no
10477   need_version=no
10478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10479   soname_spec='${libname}${release}${shared_ext}$major'
10480   shlibpath_var=LD_LIBRARY_PATH
10481   shlibpath_overrides_runpath=no
10482   hardcode_into_libs=yes
10483   dynamic_linker='ldqnx.so'
10484   ;;
10485
10486 openbsd*)
10487   version_type=sunos
10488   sys_lib_dlsearch_path_spec="/usr/lib"
10489   need_lib_prefix=no
10490   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10491   case $host_os in
10492     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10493     *)                          need_version=no  ;;
10494   esac
10495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10496   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10497   shlibpath_var=LD_LIBRARY_PATH
10498   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10499     case $host_os in
10500       openbsd2.[89] | openbsd2.[89].*)
10501         shlibpath_overrides_runpath=no
10502         ;;
10503       *)
10504         shlibpath_overrides_runpath=yes
10505         ;;
10506       esac
10507   else
10508     shlibpath_overrides_runpath=yes
10509   fi
10510   ;;
10511
10512 os2*)
10513   libname_spec='$name'
10514   shrext_cmds=".dll"
10515   need_lib_prefix=no
10516   library_names_spec='$libname${shared_ext} $libname.a'
10517   dynamic_linker='OS/2 ld.exe'
10518   shlibpath_var=LIBPATH
10519   ;;
10520
10521 osf3* | osf4* | osf5*)
10522   version_type=osf
10523   need_lib_prefix=no
10524   need_version=no
10525   soname_spec='${libname}${release}${shared_ext}$major'
10526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527   shlibpath_var=LD_LIBRARY_PATH
10528   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10529   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10530   ;;
10531
10532 rdos*)
10533   dynamic_linker=no
10534   ;;
10535
10536 solaris*)
10537   version_type=linux # correct to gnu/linux during the next big refactor
10538   need_lib_prefix=no
10539   need_version=no
10540   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10541   soname_spec='${libname}${release}${shared_ext}$major'
10542   shlibpath_var=LD_LIBRARY_PATH
10543   shlibpath_overrides_runpath=yes
10544   hardcode_into_libs=yes
10545   # ldd complains unless libraries are executable
10546   postinstall_cmds='chmod +x $lib'
10547   ;;
10548
10549 sunos4*)
10550   version_type=sunos
10551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10552   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10553   shlibpath_var=LD_LIBRARY_PATH
10554   shlibpath_overrides_runpath=yes
10555   if test "$with_gnu_ld" = yes; then
10556     need_lib_prefix=no
10557   fi
10558   need_version=yes
10559   ;;
10560
10561 sysv4 | sysv4.3*)
10562   version_type=linux # correct to gnu/linux during the next big refactor
10563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10564   soname_spec='${libname}${release}${shared_ext}$major'
10565   shlibpath_var=LD_LIBRARY_PATH
10566   case $host_vendor in
10567     sni)
10568       shlibpath_overrides_runpath=no
10569       need_lib_prefix=no
10570       runpath_var=LD_RUN_PATH
10571       ;;
10572     siemens)
10573       need_lib_prefix=no
10574       ;;
10575     motorola)
10576       need_lib_prefix=no
10577       need_version=no
10578       shlibpath_overrides_runpath=no
10579       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10580       ;;
10581   esac
10582   ;;
10583
10584 sysv4*MP*)
10585   if test -d /usr/nec ;then
10586     version_type=linux # correct to gnu/linux during the next big refactor
10587     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10588     soname_spec='$libname${shared_ext}.$major'
10589     shlibpath_var=LD_LIBRARY_PATH
10590   fi
10591   ;;
10592
10593 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10594   version_type=freebsd-elf
10595   need_lib_prefix=no
10596   need_version=no
10597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10598   soname_spec='${libname}${release}${shared_ext}$major'
10599   shlibpath_var=LD_LIBRARY_PATH
10600   shlibpath_overrides_runpath=yes
10601   hardcode_into_libs=yes
10602   if test "$with_gnu_ld" = yes; then
10603     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10604   else
10605     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10606     case $host_os in
10607       sco3.2v5*)
10608         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10609         ;;
10610     esac
10611   fi
10612   sys_lib_dlsearch_path_spec='/usr/lib'
10613   ;;
10614
10615 tpf*)
10616   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10617   version_type=linux # correct to gnu/linux during the next big refactor
10618   need_lib_prefix=no
10619   need_version=no
10620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10621   shlibpath_var=LD_LIBRARY_PATH
10622   shlibpath_overrides_runpath=no
10623   hardcode_into_libs=yes
10624   ;;
10625
10626 uts4*)
10627   version_type=linux # correct to gnu/linux during the next big refactor
10628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10629   soname_spec='${libname}${release}${shared_ext}$major'
10630   shlibpath_var=LD_LIBRARY_PATH
10631   ;;
10632
10633 *)
10634   dynamic_linker=no
10635   ;;
10636 esac
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10638 $as_echo "$dynamic_linker" >&6; }
10639 test "$dynamic_linker" = no && can_build_shared=no
10640
10641 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10642 if test "$GCC" = yes; then
10643   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10644 fi
10645
10646 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10647   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10648 fi
10649 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10650   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10651 fi
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10745 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10746 hardcode_action=
10747 if test -n "$hardcode_libdir_flag_spec" ||
10748    test -n "$runpath_var" ||
10749    test "X$hardcode_automatic" = "Xyes" ; then
10750
10751   # We can hardcode non-existent directories.
10752   if test "$hardcode_direct" != no &&
10753      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10754      # have to relink, otherwise we might link with an installed library
10755      # when we should be linking with a yet-to-be-installed one
10756      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10757      test "$hardcode_minus_L" != no; then
10758     # Linking always hardcodes the temporary library directory.
10759     hardcode_action=relink
10760   else
10761     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10762     hardcode_action=immediate
10763   fi
10764 else
10765   # We cannot hardcode anything, or else we can only hardcode existing
10766   # directories.
10767   hardcode_action=unsupported
10768 fi
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10770 $as_echo "$hardcode_action" >&6; }
10771
10772 if test "$hardcode_action" = relink ||
10773    test "$inherit_rpath" = yes; then
10774   # Fast installation is not supported
10775   enable_fast_install=no
10776 elif test "$shlibpath_overrides_runpath" = yes ||
10777      test "$enable_shared" = no; then
10778   # Fast installation is not necessary
10779   enable_fast_install=needless
10780 fi
10781
10782
10783
10784
10785
10786
10787   if test "x$enable_dlopen" != xyes; then
10788   enable_dlopen=unknown
10789   enable_dlopen_self=unknown
10790   enable_dlopen_self_static=unknown
10791 else
10792   lt_cv_dlopen=no
10793   lt_cv_dlopen_libs=
10794
10795   case $host_os in
10796   beos*)
10797     lt_cv_dlopen="load_add_on"
10798     lt_cv_dlopen_libs=
10799     lt_cv_dlopen_self=yes
10800     ;;
10801
10802   mingw* | pw32* | cegcc*)
10803     lt_cv_dlopen="LoadLibrary"
10804     lt_cv_dlopen_libs=
10805     ;;
10806
10807   cygwin*)
10808     lt_cv_dlopen="dlopen"
10809     lt_cv_dlopen_libs=
10810     ;;
10811
10812   darwin*)
10813   # if libdl is installed we need to link against it
10814     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10815 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10816 if ${ac_cv_lib_dl_dlopen+:} false; then :
10817   $as_echo_n "(cached) " >&6
10818 else
10819   ac_check_lib_save_LIBS=$LIBS
10820 LIBS="-ldl  $LIBS"
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h.  */
10823
10824 /* Override any GCC internal prototype to avoid an error.
10825    Use char because int might match the return type of a GCC
10826    builtin and then its argument prototype would still apply.  */
10827 #ifdef __cplusplus
10828 extern "C"
10829 #endif
10830 char dlopen ();
10831 int
10832 main ()
10833 {
10834 return dlopen ();
10835   ;
10836   return 0;
10837 }
10838 _ACEOF
10839 if ac_fn_c_try_link "$LINENO"; then :
10840   ac_cv_lib_dl_dlopen=yes
10841 else
10842   ac_cv_lib_dl_dlopen=no
10843 fi
10844 rm -f core conftest.err conftest.$ac_objext \
10845     conftest$ac_exeext conftest.$ac_ext
10846 LIBS=$ac_check_lib_save_LIBS
10847 fi
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10849 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10850 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10851   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10852 else
10853
10854     lt_cv_dlopen="dyld"
10855     lt_cv_dlopen_libs=
10856     lt_cv_dlopen_self=yes
10857
10858 fi
10859
10860     ;;
10861
10862   *)
10863     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10864 if test "x$ac_cv_func_shl_load" = xyes; then :
10865   lt_cv_dlopen="shl_load"
10866 else
10867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10868 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10869 if ${ac_cv_lib_dld_shl_load+:} false; then :
10870   $as_echo_n "(cached) " >&6
10871 else
10872   ac_check_lib_save_LIBS=$LIBS
10873 LIBS="-ldld  $LIBS"
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h.  */
10876
10877 /* Override any GCC internal prototype to avoid an error.
10878    Use char because int might match the return type of a GCC
10879    builtin and then its argument prototype would still apply.  */
10880 #ifdef __cplusplus
10881 extern "C"
10882 #endif
10883 char shl_load ();
10884 int
10885 main ()
10886 {
10887 return shl_load ();
10888   ;
10889   return 0;
10890 }
10891 _ACEOF
10892 if ac_fn_c_try_link "$LINENO"; then :
10893   ac_cv_lib_dld_shl_load=yes
10894 else
10895   ac_cv_lib_dld_shl_load=no
10896 fi
10897 rm -f core conftest.err conftest.$ac_objext \
10898     conftest$ac_exeext conftest.$ac_ext
10899 LIBS=$ac_check_lib_save_LIBS
10900 fi
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10902 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10903 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10904   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10905 else
10906   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10907 if test "x$ac_cv_func_dlopen" = xyes; then :
10908   lt_cv_dlopen="dlopen"
10909 else
10910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10911 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10912 if ${ac_cv_lib_dl_dlopen+:} false; then :
10913   $as_echo_n "(cached) " >&6
10914 else
10915   ac_check_lib_save_LIBS=$LIBS
10916 LIBS="-ldl  $LIBS"
10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h.  */
10919
10920 /* Override any GCC internal prototype to avoid an error.
10921    Use char because int might match the return type of a GCC
10922    builtin and then its argument prototype would still apply.  */
10923 #ifdef __cplusplus
10924 extern "C"
10925 #endif
10926 char dlopen ();
10927 int
10928 main ()
10929 {
10930 return dlopen ();
10931   ;
10932   return 0;
10933 }
10934 _ACEOF
10935 if ac_fn_c_try_link "$LINENO"; then :
10936   ac_cv_lib_dl_dlopen=yes
10937 else
10938   ac_cv_lib_dl_dlopen=no
10939 fi
10940 rm -f core conftest.err conftest.$ac_objext \
10941     conftest$ac_exeext conftest.$ac_ext
10942 LIBS=$ac_check_lib_save_LIBS
10943 fi
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10945 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10946 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10947   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10948 else
10949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10950 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10951 if ${ac_cv_lib_svld_dlopen+:} false; then :
10952   $as_echo_n "(cached) " >&6
10953 else
10954   ac_check_lib_save_LIBS=$LIBS
10955 LIBS="-lsvld  $LIBS"
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h.  */
10958
10959 /* Override any GCC internal prototype to avoid an error.
10960    Use char because int might match the return type of a GCC
10961    builtin and then its argument prototype would still apply.  */
10962 #ifdef __cplusplus
10963 extern "C"
10964 #endif
10965 char dlopen ();
10966 int
10967 main ()
10968 {
10969 return dlopen ();
10970   ;
10971   return 0;
10972 }
10973 _ACEOF
10974 if ac_fn_c_try_link "$LINENO"; then :
10975   ac_cv_lib_svld_dlopen=yes
10976 else
10977   ac_cv_lib_svld_dlopen=no
10978 fi
10979 rm -f core conftest.err conftest.$ac_objext \
10980     conftest$ac_exeext conftest.$ac_ext
10981 LIBS=$ac_check_lib_save_LIBS
10982 fi
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10984 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10985 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10986   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10987 else
10988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10989 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10990 if ${ac_cv_lib_dld_dld_link+:} false; then :
10991   $as_echo_n "(cached) " >&6
10992 else
10993   ac_check_lib_save_LIBS=$LIBS
10994 LIBS="-ldld  $LIBS"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h.  */
10997
10998 /* Override any GCC internal prototype to avoid an error.
10999    Use char because int might match the return type of a GCC
11000    builtin and then its argument prototype would still apply.  */
11001 #ifdef __cplusplus
11002 extern "C"
11003 #endif
11004 char dld_link ();
11005 int
11006 main ()
11007 {
11008 return dld_link ();
11009   ;
11010   return 0;
11011 }
11012 _ACEOF
11013 if ac_fn_c_try_link "$LINENO"; then :
11014   ac_cv_lib_dld_dld_link=yes
11015 else
11016   ac_cv_lib_dld_dld_link=no
11017 fi
11018 rm -f core conftest.err conftest.$ac_objext \
11019     conftest$ac_exeext conftest.$ac_ext
11020 LIBS=$ac_check_lib_save_LIBS
11021 fi
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11023 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11024 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11025   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11026 fi
11027
11028
11029 fi
11030
11031
11032 fi
11033
11034
11035 fi
11036
11037
11038 fi
11039
11040
11041 fi
11042
11043     ;;
11044   esac
11045
11046   if test "x$lt_cv_dlopen" != xno; then
11047     enable_dlopen=yes
11048   else
11049     enable_dlopen=no
11050   fi
11051
11052   case $lt_cv_dlopen in
11053   dlopen)
11054     save_CPPFLAGS="$CPPFLAGS"
11055     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11056
11057     save_LDFLAGS="$LDFLAGS"
11058     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11059
11060     save_LIBS="$LIBS"
11061     LIBS="$lt_cv_dlopen_libs $LIBS"
11062
11063     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11064 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11065 if ${lt_cv_dlopen_self+:} false; then :
11066   $as_echo_n "(cached) " >&6
11067 else
11068           if test "$cross_compiling" = yes; then :
11069   lt_cv_dlopen_self=cross
11070 else
11071   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11072   lt_status=$lt_dlunknown
11073   cat > conftest.$ac_ext <<_LT_EOF
11074 #line $LINENO "configure"
11075 #include "confdefs.h"
11076
11077 #if HAVE_DLFCN_H
11078 #include <dlfcn.h>
11079 #endif
11080
11081 #include <stdio.h>
11082
11083 #ifdef RTLD_GLOBAL
11084 #  define LT_DLGLOBAL           RTLD_GLOBAL
11085 #else
11086 #  ifdef DL_GLOBAL
11087 #    define LT_DLGLOBAL         DL_GLOBAL
11088 #  else
11089 #    define LT_DLGLOBAL         0
11090 #  endif
11091 #endif
11092
11093 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11094    find out it does not work in some platform. */
11095 #ifndef LT_DLLAZY_OR_NOW
11096 #  ifdef RTLD_LAZY
11097 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11098 #  else
11099 #    ifdef DL_LAZY
11100 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11101 #    else
11102 #      ifdef RTLD_NOW
11103 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11104 #      else
11105 #        ifdef DL_NOW
11106 #          define LT_DLLAZY_OR_NOW      DL_NOW
11107 #        else
11108 #          define LT_DLLAZY_OR_NOW      0
11109 #        endif
11110 #      endif
11111 #    endif
11112 #  endif
11113 #endif
11114
11115 /* When -fvisbility=hidden is used, assume the code has been annotated
11116    correspondingly for the symbols needed.  */
11117 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11118 int fnord () __attribute__((visibility("default")));
11119 #endif
11120
11121 int fnord () { return 42; }
11122 int main ()
11123 {
11124   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11125   int status = $lt_dlunknown;
11126
11127   if (self)
11128     {
11129       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11130       else
11131         {
11132           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11133           else puts (dlerror ());
11134         }
11135       /* dlclose (self); */
11136     }
11137   else
11138     puts (dlerror ());
11139
11140   return status;
11141 }
11142 _LT_EOF
11143   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11144   (eval $ac_link) 2>&5
11145   ac_status=$?
11146   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11147   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11148     (./conftest; exit; ) >&5 2>/dev/null
11149     lt_status=$?
11150     case x$lt_status in
11151       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11152       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11153       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11154     esac
11155   else :
11156     # compilation failed
11157     lt_cv_dlopen_self=no
11158   fi
11159 fi
11160 rm -fr conftest*
11161
11162
11163 fi
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11165 $as_echo "$lt_cv_dlopen_self" >&6; }
11166
11167     if test "x$lt_cv_dlopen_self" = xyes; then
11168       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11169       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11170 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11171 if ${lt_cv_dlopen_self_static+:} false; then :
11172   $as_echo_n "(cached) " >&6
11173 else
11174           if test "$cross_compiling" = yes; then :
11175   lt_cv_dlopen_self_static=cross
11176 else
11177   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11178   lt_status=$lt_dlunknown
11179   cat > conftest.$ac_ext <<_LT_EOF
11180 #line $LINENO "configure"
11181 #include "confdefs.h"
11182
11183 #if HAVE_DLFCN_H
11184 #include <dlfcn.h>
11185 #endif
11186
11187 #include <stdio.h>
11188
11189 #ifdef RTLD_GLOBAL
11190 #  define LT_DLGLOBAL           RTLD_GLOBAL
11191 #else
11192 #  ifdef DL_GLOBAL
11193 #    define LT_DLGLOBAL         DL_GLOBAL
11194 #  else
11195 #    define LT_DLGLOBAL         0
11196 #  endif
11197 #endif
11198
11199 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11200    find out it does not work in some platform. */
11201 #ifndef LT_DLLAZY_OR_NOW
11202 #  ifdef RTLD_LAZY
11203 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11204 #  else
11205 #    ifdef DL_LAZY
11206 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11207 #    else
11208 #      ifdef RTLD_NOW
11209 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11210 #      else
11211 #        ifdef DL_NOW
11212 #          define LT_DLLAZY_OR_NOW      DL_NOW
11213 #        else
11214 #          define LT_DLLAZY_OR_NOW      0
11215 #        endif
11216 #      endif
11217 #    endif
11218 #  endif
11219 #endif
11220
11221 /* When -fvisbility=hidden is used, assume the code has been annotated
11222    correspondingly for the symbols needed.  */
11223 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11224 int fnord () __attribute__((visibility("default")));
11225 #endif
11226
11227 int fnord () { return 42; }
11228 int main ()
11229 {
11230   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11231   int status = $lt_dlunknown;
11232
11233   if (self)
11234     {
11235       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11236       else
11237         {
11238           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11239           else puts (dlerror ());
11240         }
11241       /* dlclose (self); */
11242     }
11243   else
11244     puts (dlerror ());
11245
11246   return status;
11247 }
11248 _LT_EOF
11249   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11250   (eval $ac_link) 2>&5
11251   ac_status=$?
11252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11253   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11254     (./conftest; exit; ) >&5 2>/dev/null
11255     lt_status=$?
11256     case x$lt_status in
11257       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11258       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11259       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11260     esac
11261   else :
11262     # compilation failed
11263     lt_cv_dlopen_self_static=no
11264   fi
11265 fi
11266 rm -fr conftest*
11267
11268
11269 fi
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11271 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11272     fi
11273
11274     CPPFLAGS="$save_CPPFLAGS"
11275     LDFLAGS="$save_LDFLAGS"
11276     LIBS="$save_LIBS"
11277     ;;
11278   esac
11279
11280   case $lt_cv_dlopen_self in
11281   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11282   *) enable_dlopen_self=unknown ;;
11283   esac
11284
11285   case $lt_cv_dlopen_self_static in
11286   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11287   *) enable_dlopen_self_static=unknown ;;
11288   esac
11289 fi
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307 striplib=
11308 old_striplib=
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11310 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11311 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11312   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11313   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11315 $as_echo "yes" >&6; }
11316 else
11317 # FIXME - insert some real tests, host_os isn't really good enough
11318   case $host_os in
11319   darwin*)
11320     if test -n "$STRIP" ; then
11321       striplib="$STRIP -x"
11322       old_striplib="$STRIP -S"
11323       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11324 $as_echo "yes" >&6; }
11325     else
11326       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11327 $as_echo "no" >&6; }
11328     fi
11329     ;;
11330   *)
11331     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11332 $as_echo "no" >&6; }
11333     ;;
11334   esac
11335 fi
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348   # Report which library types will actually be built
11349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11350 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11352 $as_echo "$can_build_shared" >&6; }
11353
11354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11355 $as_echo_n "checking whether to build shared libraries... " >&6; }
11356   test "$can_build_shared" = "no" && enable_shared=no
11357
11358   # On AIX, shared libraries and static libraries use the same namespace, and
11359   # are all built from PIC.
11360   case $host_os in
11361   aix3*)
11362     test "$enable_shared" = yes && enable_static=no
11363     if test -n "$RANLIB"; then
11364       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11365       postinstall_cmds='$RANLIB $lib'
11366     fi
11367     ;;
11368
11369   aix[4-9]*)
11370     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11371       test "$enable_shared" = yes && enable_static=no
11372     fi
11373     ;;
11374   esac
11375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11376 $as_echo "$enable_shared" >&6; }
11377
11378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11379 $as_echo_n "checking whether to build static libraries... " >&6; }
11380   # Make sure either enable_shared or enable_static is yes.
11381   test "$enable_shared" = yes || enable_static=yes
11382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11383 $as_echo "$enable_static" >&6; }
11384
11385
11386
11387
11388 fi
11389 ac_ext=c
11390 ac_cpp='$CPP $CPPFLAGS'
11391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11394
11395 CC="$lt_save_CC"
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411         ac_config_commands="$ac_config_commands libtool"
11412
11413
11414
11415
11416 # Only expand once:
11417
11418
11419
11420 LIBGEE_LT_VERSION="2:0:0"
11421
11422
11423 # Extract the first word of "valac", so it can be a program name with args.
11424 set dummy valac; ac_word=$2
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11426 $as_echo_n "checking for $ac_word... " >&6; }
11427 if ${ac_cv_path_VALAC+:} false; then :
11428   $as_echo_n "(cached) " >&6
11429 else
11430   case $VALAC in
11431   [\\/]* | ?:[\\/]*)
11432   ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
11433   ;;
11434   *)
11435   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11436 for as_dir in $PATH
11437 do
11438   IFS=$as_save_IFS
11439   test -z "$as_dir" && as_dir=.
11440     for ac_exec_ext in '' $ac_executable_extensions; do
11441   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11442     ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
11443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11444     break 2
11445   fi
11446 done
11447   done
11448 IFS=$as_save_IFS
11449
11450   test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
11451   ;;
11452 esac
11453 fi
11454 VALAC=$ac_cv_path_VALAC
11455 if test -n "$VALAC"; then
11456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
11457 $as_echo "$VALAC" >&6; }
11458 else
11459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11460 $as_echo "no" >&6; }
11461 fi
11462
11463
11464
11465
11466
11467
11468 # Check whether --enable-doc was given.
11469 if test "${enable_doc+set}" = set; then :
11470   enableval=$enable_doc; enable_doc=$enableval
11471 else
11472   enable_doc=no
11473 fi
11474
11475  if test x$enable_doc = xyes; then
11476   ENABLE_DOC_TRUE=
11477   ENABLE_DOC_FALSE='#'
11478 else
11479   ENABLE_DOC_TRUE='#'
11480   ENABLE_DOC_FALSE=
11481 fi
11482
11483
11484 if test "x$enable_doc" != xno; then :
11485   # Extract the first word of "valadoc", so it can be a program name with args.
11486 set dummy valadoc; ac_word=$2
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11488 $as_echo_n "checking for $ac_word... " >&6; }
11489 if ${ac_cv_path_VALADOC+:} false; then :
11490   $as_echo_n "(cached) " >&6
11491 else
11492   case $VALADOC in
11493   [\\/]* | ?:[\\/]*)
11494   ac_cv_path_VALADOC="$VALADOC" # Let the user override the test with a path.
11495   ;;
11496   *)
11497   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11498 for as_dir in $PATH
11499 do
11500   IFS=$as_save_IFS
11501   test -z "$as_dir" && as_dir=.
11502     for ac_exec_ext in '' $ac_executable_extensions; do
11503   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11504     ac_cv_path_VALADOC="$as_dir/$ac_word$ac_exec_ext"
11505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11506     break 2
11507   fi
11508 done
11509   done
11510 IFS=$as_save_IFS
11511
11512   test -z "$ac_cv_path_VALADOC" && ac_cv_path_VALADOC=":"
11513   ;;
11514 esac
11515 fi
11516 VALADOC=$ac_cv_path_VALADOC
11517 if test -n "$VALADOC"; then
11518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALADOC" >&5
11519 $as_echo "$VALADOC" >&6; }
11520 else
11521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11522 $as_echo "no" >&6; }
11523 fi
11524
11525
11526
11527          if test "$VALADOC" = :; then :
11528   as_fn_error $? "valadoc not found" "$LINENO" 5
11529 fi
11530 fi
11531
11532 # Check whether --enable-coverage was given.
11533 if test "${enable_coverage+set}" = set; then :
11534   enableval=$enable_coverage; enable_coverage=$enableval
11535 else
11536   enable_coverage=no
11537 fi
11538
11539  if test x$enable_coverage != xno; then
11540   ENABLE_COVERAGE_TRUE=
11541   ENABLE_COVERAGE_FALSE='#'
11542 else
11543   ENABLE_COVERAGE_TRUE='#'
11544   ENABLE_COVERAGE_FALSE=
11545 fi
11546
11547
11548 if test "x$enable_coverage" != xno; then :
11549   COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
11550          COVERAGE_VALAFLAGS="-g"
11551          COVERAGE_LIBS="-lgcov"
11552
11553
11554
11555
11556          # Extract the first word of "lcov", so it can be a program name with args.
11557 set dummy lcov; ac_word=$2
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11559 $as_echo_n "checking for $ac_word... " >&6; }
11560 if ${ac_cv_path_LCOV+:} false; then :
11561   $as_echo_n "(cached) " >&6
11562 else
11563   case $LCOV in
11564   [\\/]* | ?:[\\/]*)
11565   ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
11566   ;;
11567   *)
11568   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11569 for as_dir in $PATH
11570 do
11571   IFS=$as_save_IFS
11572   test -z "$as_dir" && as_dir=.
11573     for ac_exec_ext in '' $ac_executable_extensions; do
11574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11575     ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
11576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11577     break 2
11578   fi
11579 done
11580   done
11581 IFS=$as_save_IFS
11582
11583   test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV=":"
11584   ;;
11585 esac
11586 fi
11587 LCOV=$ac_cv_path_LCOV
11588 if test -n "$LCOV"; then
11589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
11590 $as_echo "$LCOV" >&6; }
11591 else
11592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11593 $as_echo "no" >&6; }
11594 fi
11595
11596
11597
11598          if test "$LCOV" = :; then :
11599   as_fn_error $? "lcov is necessary for testing code coverage (http://ltp.sourceforge.net/coverage/lcov.php)" "$LINENO" 5
11600 fi
11601 fi
11602
11603 # Check whether --enable-benchmark was given.
11604 if test "${enable_benchmark+set}" = set; then :
11605   enableval=$enable_benchmark; enable_benchmark=$enableval
11606 else
11607   enable_benchmark=no
11608 fi
11609
11610  if test x$enable_benchmark = xyes; then
11611   ENABLE_BENCHMARK_TRUE=
11612   ENABLE_BENCHMARK_FALSE='#'
11613 else
11614   ENABLE_BENCHMARK_TRUE='#'
11615   ENABLE_BENCHMARK_FALSE=
11616 fi
11617
11618
11619 GLIB_REQUIRED=2.12.0
11620
11621
11622
11623
11624
11625
11626
11627
11628 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11629         if test -n "$ac_tool_prefix"; then
11630   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11631 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11633 $as_echo_n "checking for $ac_word... " >&6; }
11634 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11635   $as_echo_n "(cached) " >&6
11636 else
11637   case $PKG_CONFIG in
11638   [\\/]* | ?:[\\/]*)
11639   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11640   ;;
11641   *)
11642   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11643 for as_dir in $PATH
11644 do
11645   IFS=$as_save_IFS
11646   test -z "$as_dir" && as_dir=.
11647     for ac_exec_ext in '' $ac_executable_extensions; do
11648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11649     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11651     break 2
11652   fi
11653 done
11654   done
11655 IFS=$as_save_IFS
11656
11657   ;;
11658 esac
11659 fi
11660 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11661 if test -n "$PKG_CONFIG"; then
11662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11663 $as_echo "$PKG_CONFIG" >&6; }
11664 else
11665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666 $as_echo "no" >&6; }
11667 fi
11668
11669
11670 fi
11671 if test -z "$ac_cv_path_PKG_CONFIG"; then
11672   ac_pt_PKG_CONFIG=$PKG_CONFIG
11673   # Extract the first word of "pkg-config", so it can be a program name with args.
11674 set dummy pkg-config; ac_word=$2
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676 $as_echo_n "checking for $ac_word... " >&6; }
11677 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11678   $as_echo_n "(cached) " >&6
11679 else
11680   case $ac_pt_PKG_CONFIG in
11681   [\\/]* | ?:[\\/]*)
11682   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11683   ;;
11684   *)
11685   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11686 for as_dir in $PATH
11687 do
11688   IFS=$as_save_IFS
11689   test -z "$as_dir" && as_dir=.
11690     for ac_exec_ext in '' $ac_executable_extensions; do
11691   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11692     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11694     break 2
11695   fi
11696 done
11697   done
11698 IFS=$as_save_IFS
11699
11700   ;;
11701 esac
11702 fi
11703 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11704 if test -n "$ac_pt_PKG_CONFIG"; then
11705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11706 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11707 else
11708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 $as_echo "no" >&6; }
11710 fi
11711
11712   if test "x$ac_pt_PKG_CONFIG" = x; then
11713     PKG_CONFIG=""
11714   else
11715     case $cross_compiling:$ac_tool_warned in
11716 yes:)
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11719 ac_tool_warned=yes ;;
11720 esac
11721     PKG_CONFIG=$ac_pt_PKG_CONFIG
11722   fi
11723 else
11724   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11725 fi
11726
11727 fi
11728 if test -n "$PKG_CONFIG"; then
11729         _pkg_min_version=0.9.0
11730         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11731 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11732         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11733                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11734 $as_echo "yes" >&6; }
11735         else
11736                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11737 $as_echo "no" >&6; }
11738                 PKG_CONFIG=""
11739         fi
11740 fi
11741
11742 pkg_failed=no
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11744 $as_echo_n "checking for GLIB... " >&6; }
11745
11746 if test -n "$GLIB_CFLAGS"; then
11747     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11748  elif test -n "$PKG_CONFIG"; then
11749     if test -n "$PKG_CONFIG" && \
11750     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED\""; } >&5
11751   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED") 2>&5
11752   ac_status=$?
11753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11754   test $ac_status = 0; }; then
11755   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11756                       test "x$?" != "x0" && pkg_failed=yes
11757 else
11758   pkg_failed=yes
11759 fi
11760  else
11761     pkg_failed=untried
11762 fi
11763 if test -n "$GLIB_LIBS"; then
11764     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11765  elif test -n "$PKG_CONFIG"; then
11766     if test -n "$PKG_CONFIG" && \
11767     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED\""; } >&5
11768   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED") 2>&5
11769   ac_status=$?
11770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11771   test $ac_status = 0; }; then
11772   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11773                       test "x$?" != "x0" && pkg_failed=yes
11774 else
11775   pkg_failed=yes
11776 fi
11777  else
11778     pkg_failed=untried
11779 fi
11780
11781
11782
11783 if test $pkg_failed = yes; then
11784         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11785 $as_echo "no" >&6; }
11786
11787 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11788         _pkg_short_errors_supported=yes
11789 else
11790         _pkg_short_errors_supported=no
11791 fi
11792         if test $_pkg_short_errors_supported = yes; then
11793                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>&1`
11794         else
11795                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>&1`
11796         fi
11797         # Put the nasty error message in config.log where it belongs
11798         echo "$GLIB_PKG_ERRORS" >&5
11799
11800         as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED) were not met:
11801
11802 $GLIB_PKG_ERRORS
11803
11804 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11805 installed software in a non-standard prefix.
11806
11807 Alternatively, you may set the environment variables GLIB_CFLAGS
11808 and GLIB_LIBS to avoid the need to call pkg-config.
11809 See the pkg-config man page for more details." "$LINENO" 5
11810 elif test $pkg_failed = untried; then
11811         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11812 $as_echo "no" >&6; }
11813         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11815 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11816 is in your PATH or set the PKG_CONFIG environment variable to the full
11817 path to pkg-config.
11818
11819 Alternatively, you may set the environment variables GLIB_CFLAGS
11820 and GLIB_LIBS to avoid the need to call pkg-config.
11821 See the pkg-config man page for more details.
11822
11823 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11824 See \`config.log' for more details" "$LINENO" 5; }
11825 else
11826         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11827         GLIB_LIBS=$pkg_cv_GLIB_LIBS
11828         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11829 $as_echo "yes" >&6; }
11830
11831 fi
11832
11833
11834
11835
11836
11837
11838                 # Check whether --enable-introspection was given.
11839 if test "${enable_introspection+set}" = set; then :
11840   enableval=$enable_introspection;
11841 else
11842   enable_introspection=auto
11843 fi
11844
11845
11846     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
11847 $as_echo_n "checking for gobject-introspection... " >&6; }
11848
11849         case $enable_introspection in #(
11850   no) :
11851             found_introspection="no (disabled, use --enable-introspection to enable)"
11852      ;; #(
11853       yes) :
11854             if test -n "$PKG_CONFIG" && \
11855     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
11856   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
11857   ac_status=$?
11858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11859   test $ac_status = 0; }; then
11860   :
11861 else
11862   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
11863 fi
11864         if test -n "$PKG_CONFIG" && \
11865     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.0\""; } >&5
11866   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.0") 2>&5
11867   ac_status=$?
11868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11869   test $ac_status = 0; }; then
11870   found_introspection=yes
11871 else
11872   as_fn_error $? "You need to have gobject-introspection >= 0.9.0 installed to build libgee" "$LINENO" 5
11873 fi
11874      ;; #(
11875       auto) :
11876             if test -n "$PKG_CONFIG" && \
11877     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.0\""; } >&5
11878   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.0") 2>&5
11879   ac_status=$?
11880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11881   test $ac_status = 0; }; then
11882   found_introspection=yes
11883 else
11884   found_introspection=no
11885 fi
11886                 enable_introspection=$found_introspection
11887      ;; #(
11888   *) :
11889                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
11890      ;;
11891 esac
11892     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
11893 $as_echo "$found_introspection" >&6; }
11894
11895     INTROSPECTION_SCANNER=
11896     INTROSPECTION_COMPILER=
11897     INTROSPECTION_GENERATE=
11898     INTROSPECTION_GIRDIR=
11899     INTROSPECTION_TYPELIBDIR=
11900     if test "x$found_introspection" = "xyes"; then
11901        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
11902        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
11903        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
11904        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
11905        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
11906        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
11907        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
11908        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
11909     fi
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919      if test "x$found_introspection" = "xyes"; then
11920   HAVE_INTROSPECTION_TRUE=
11921   HAVE_INTROSPECTION_FALSE='#'
11922 else
11923   HAVE_INTROSPECTION_TRUE='#'
11924   HAVE_INTROSPECTION_FALSE=
11925 fi
11926
11927
11928
11929
11930 ac_config_files="$ac_config_files Makefile gee-1.0.pc benchmark/Makefile doc/Makefile gee/Makefile tests/Makefile"
11931
11932 cat >confcache <<\_ACEOF
11933 # This file is a shell script that caches the results of configure
11934 # tests run on this system so they can be shared between configure
11935 # scripts and configure runs, see configure's option --config-cache.
11936 # It is not useful on other systems.  If it contains results you don't
11937 # want to keep, you may remove or edit it.
11938 #
11939 # config.status only pays attention to the cache file if you give it
11940 # the --recheck option to rerun configure.
11941 #
11942 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11944 # following values.
11945
11946 _ACEOF
11947
11948 # The following way of writing the cache mishandles newlines in values,
11949 # but we know of no workaround that is simple, portable, and efficient.
11950 # So, we kill variables containing newlines.
11951 # Ultrix sh set writes to stderr and can't be redirected directly,
11952 # and sets the high bit in the cache file unless we assign to the vars.
11953 (
11954   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11955     eval ac_val=\$$ac_var
11956     case $ac_val in #(
11957     *${as_nl}*)
11958       case $ac_var in #(
11959       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11960 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11961       esac
11962       case $ac_var in #(
11963       _ | IFS | as_nl) ;; #(
11964       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11965       *) { eval $ac_var=; unset $ac_var;} ;;
11966       esac ;;
11967     esac
11968   done
11969
11970   (set) 2>&1 |
11971     case $as_nl`(ac_space=' '; set) 2>&1` in #(
11972     *${as_nl}ac_space=\ *)
11973       # `set' does not quote correctly, so add quotes: double-quote
11974       # substitution turns \\\\ into \\, and sed turns \\ into \.
11975       sed -n \
11976         "s/'/'\\\\''/g;
11977           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11978       ;; #(
11979     *)
11980       # `set' quotes correctly as required by POSIX, so do not add quotes.
11981       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11982       ;;
11983     esac |
11984     sort
11985 ) |
11986   sed '
11987      /^ac_cv_env_/b end
11988      t clear
11989      :clear
11990      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11991      t end
11992      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11993      :end' >>confcache
11994 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11995   if test -w "$cache_file"; then
11996     if test "x$cache_file" != "x/dev/null"; then
11997       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11998 $as_echo "$as_me: updating cache $cache_file" >&6;}
11999       if test ! -f "$cache_file" || test -h "$cache_file"; then
12000         cat confcache >"$cache_file"
12001       else
12002         case $cache_file in #(
12003         */* | ?:*)
12004           mv -f confcache "$cache_file"$$ &&
12005           mv -f "$cache_file"$$ "$cache_file" ;; #(
12006         *)
12007           mv -f confcache "$cache_file" ;;
12008         esac
12009       fi
12010     fi
12011   else
12012     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12013 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12014   fi
12015 fi
12016 rm -f confcache
12017
12018 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12019 # Let make expand exec_prefix.
12020 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12021
12022 DEFS=-DHAVE_CONFIG_H
12023
12024 ac_libobjs=
12025 ac_ltlibobjs=
12026 U=
12027 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12028   # 1. Remove the extension, and $U if already installed.
12029   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12030   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12031   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12032   #    will be set to the directory where LIBOBJS objects are built.
12033   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12034   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12035 done
12036 LIBOBJS=$ac_libobjs
12037
12038 LTLIBOBJS=$ac_ltlibobjs
12039
12040
12041  if test -n "$EXEEXT"; then
12042   am__EXEEXT_TRUE=
12043   am__EXEEXT_FALSE='#'
12044 else
12045   am__EXEEXT_TRUE='#'
12046   am__EXEEXT_FALSE=
12047 fi
12048
12049 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12050   as_fn_error $? "conditional \"AMDEP\" was never defined.
12051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12052 fi
12053 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12054   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12056 fi
12057 if test -z "${ENABLE_DOC_TRUE}" && test -z "${ENABLE_DOC_FALSE}"; then
12058   as_fn_error $? "conditional \"ENABLE_DOC\" was never defined.
12059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12060 fi
12061 if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then
12062   as_fn_error $? "conditional \"ENABLE_COVERAGE\" was never defined.
12063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12064 fi
12065 if test -z "${ENABLE_BENCHMARK_TRUE}" && test -z "${ENABLE_BENCHMARK_FALSE}"; then
12066   as_fn_error $? "conditional \"ENABLE_BENCHMARK\" was never defined.
12067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12068 fi
12069 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
12070   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
12071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12072 fi
12073
12074 : "${CONFIG_STATUS=./config.status}"
12075 ac_write_fail=0
12076 ac_clean_files_save=$ac_clean_files
12077 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12079 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12080 as_write_fail=0
12081 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12082 #! $SHELL
12083 # Generated by $as_me.
12084 # Run this file to recreate the current configuration.
12085 # Compiler output produced by configure, useful for debugging
12086 # configure, is in config.log if it exists.
12087
12088 debug=false
12089 ac_cs_recheck=false
12090 ac_cs_silent=false
12091
12092 SHELL=\${CONFIG_SHELL-$SHELL}
12093 export SHELL
12094 _ASEOF
12095 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12096 ## -------------------- ##
12097 ## M4sh Initialization. ##
12098 ## -------------------- ##
12099
12100 # Be more Bourne compatible
12101 DUALCASE=1; export DUALCASE # for MKS sh
12102 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12103   emulate sh
12104   NULLCMD=:
12105   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12106   # is contrary to our usage.  Disable this feature.
12107   alias -g '${1+"$@"}'='"$@"'
12108   setopt NO_GLOB_SUBST
12109 else
12110   case `(set -o) 2>/dev/null` in #(
12111   *posix*) :
12112     set -o posix ;; #(
12113   *) :
12114      ;;
12115 esac
12116 fi
12117
12118
12119 as_nl='
12120 '
12121 export as_nl
12122 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12123 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12124 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12125 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12126 # Prefer a ksh shell builtin over an external printf program on Solaris,
12127 # but without wasting forks for bash or zsh.
12128 if test -z "$BASH_VERSION$ZSH_VERSION" \
12129     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12130   as_echo='print -r --'
12131   as_echo_n='print -rn --'
12132 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12133   as_echo='printf %s\n'
12134   as_echo_n='printf %s'
12135 else
12136   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12137     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12138     as_echo_n='/usr/ucb/echo -n'
12139   else
12140     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12141     as_echo_n_body='eval
12142       arg=$1;
12143       case $arg in #(
12144       *"$as_nl"*)
12145         expr "X$arg" : "X\\(.*\\)$as_nl";
12146         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12147       esac;
12148       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12149     '
12150     export as_echo_n_body
12151     as_echo_n='sh -c $as_echo_n_body as_echo'
12152   fi
12153   export as_echo_body
12154   as_echo='sh -c $as_echo_body as_echo'
12155 fi
12156
12157 # The user is always right.
12158 if test "${PATH_SEPARATOR+set}" != set; then
12159   PATH_SEPARATOR=:
12160   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12161     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12162       PATH_SEPARATOR=';'
12163   }
12164 fi
12165
12166
12167 # IFS
12168 # We need space, tab and new line, in precisely that order.  Quoting is
12169 # there to prevent editors from complaining about space-tab.
12170 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12171 # splitting by setting IFS to empty value.)
12172 IFS=" ""        $as_nl"
12173
12174 # Find who we are.  Look in the path if we contain no directory separator.
12175 as_myself=
12176 case $0 in #((
12177   *[\\/]* ) as_myself=$0 ;;
12178   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12179 for as_dir in $PATH
12180 do
12181   IFS=$as_save_IFS
12182   test -z "$as_dir" && as_dir=.
12183     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12184   done
12185 IFS=$as_save_IFS
12186
12187      ;;
12188 esac
12189 # We did not find ourselves, most probably we were run as `sh COMMAND'
12190 # in which case we are not to be found in the path.
12191 if test "x$as_myself" = x; then
12192   as_myself=$0
12193 fi
12194 if test ! -f "$as_myself"; then
12195   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12196   exit 1
12197 fi
12198
12199 # Unset variables that we do not need and which cause bugs (e.g. in
12200 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12201 # suppresses any "Segmentation fault" message there.  '((' could
12202 # trigger a bug in pdksh 5.2.14.
12203 for as_var in BASH_ENV ENV MAIL MAILPATH
12204 do eval test x\${$as_var+set} = xset \
12205   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12206 done
12207 PS1='$ '
12208 PS2='> '
12209 PS4='+ '
12210
12211 # NLS nuisances.
12212 LC_ALL=C
12213 export LC_ALL
12214 LANGUAGE=C
12215 export LANGUAGE
12216
12217 # CDPATH.
12218 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12219
12220
12221 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12222 # ----------------------------------------
12223 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12224 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12225 # script with STATUS, using 1 if that was 0.
12226 as_fn_error ()
12227 {
12228   as_status=$1; test $as_status -eq 0 && as_status=1
12229   if test "$4"; then
12230     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12231     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12232   fi
12233   $as_echo "$as_me: error: $2" >&2
12234   as_fn_exit $as_status
12235 } # as_fn_error
12236
12237
12238 # as_fn_set_status STATUS
12239 # -----------------------
12240 # Set $? to STATUS, without forking.
12241 as_fn_set_status ()
12242 {
12243   return $1
12244 } # as_fn_set_status
12245
12246 # as_fn_exit STATUS
12247 # -----------------
12248 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12249 as_fn_exit ()
12250 {
12251   set +e
12252   as_fn_set_status $1
12253   exit $1
12254 } # as_fn_exit
12255
12256 # as_fn_unset VAR
12257 # ---------------
12258 # Portably unset VAR.
12259 as_fn_unset ()
12260 {
12261   { eval $1=; unset $1;}
12262 }
12263 as_unset=as_fn_unset
12264 # as_fn_append VAR VALUE
12265 # ----------------------
12266 # Append the text in VALUE to the end of the definition contained in VAR. Take
12267 # advantage of any shell optimizations that allow amortized linear growth over
12268 # repeated appends, instead of the typical quadratic growth present in naive
12269 # implementations.
12270 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12271   eval 'as_fn_append ()
12272   {
12273     eval $1+=\$2
12274   }'
12275 else
12276   as_fn_append ()
12277   {
12278     eval $1=\$$1\$2
12279   }
12280 fi # as_fn_append
12281
12282 # as_fn_arith ARG...
12283 # ------------------
12284 # Perform arithmetic evaluation on the ARGs, and store the result in the
12285 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12286 # must be portable across $(()) and expr.
12287 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12288   eval 'as_fn_arith ()
12289   {
12290     as_val=$(( $* ))
12291   }'
12292 else
12293   as_fn_arith ()
12294   {
12295     as_val=`expr "$@" || test $? -eq 1`
12296   }
12297 fi # as_fn_arith
12298
12299
12300 if expr a : '\(a\)' >/dev/null 2>&1 &&
12301    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12302   as_expr=expr
12303 else
12304   as_expr=false
12305 fi
12306
12307 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12308   as_basename=basename
12309 else
12310   as_basename=false
12311 fi
12312
12313 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12314   as_dirname=dirname
12315 else
12316   as_dirname=false
12317 fi
12318
12319 as_me=`$as_basename -- "$0" ||
12320 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12321          X"$0" : 'X\(//\)$' \| \
12322          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12323 $as_echo X/"$0" |
12324     sed '/^.*\/\([^/][^/]*\)\/*$/{
12325             s//\1/
12326             q
12327           }
12328           /^X\/\(\/\/\)$/{
12329             s//\1/
12330             q
12331           }
12332           /^X\/\(\/\).*/{
12333             s//\1/
12334             q
12335           }
12336           s/.*/./; q'`
12337
12338 # Avoid depending upon Character Ranges.
12339 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12340 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12341 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12342 as_cr_digits='0123456789'
12343 as_cr_alnum=$as_cr_Letters$as_cr_digits
12344
12345 ECHO_C= ECHO_N= ECHO_T=
12346 case `echo -n x` in #(((((
12347 -n*)
12348   case `echo 'xy\c'` in
12349   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12350   xy)  ECHO_C='\c';;
12351   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12352        ECHO_T=' ';;
12353   esac;;
12354 *)
12355   ECHO_N='-n';;
12356 esac
12357
12358 rm -f conf$$ conf$$.exe conf$$.file
12359 if test -d conf$$.dir; then
12360   rm -f conf$$.dir/conf$$.file
12361 else
12362   rm -f conf$$.dir
12363   mkdir conf$$.dir 2>/dev/null
12364 fi
12365 if (echo >conf$$.file) 2>/dev/null; then
12366   if ln -s conf$$.file conf$$ 2>/dev/null; then
12367     as_ln_s='ln -s'
12368     # ... but there are two gotchas:
12369     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12370     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12371     # In both cases, we have to default to `cp -pR'.
12372     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12373       as_ln_s='cp -pR'
12374   elif ln conf$$.file conf$$ 2>/dev/null; then
12375     as_ln_s=ln
12376   else
12377     as_ln_s='cp -pR'
12378   fi
12379 else
12380   as_ln_s='cp -pR'
12381 fi
12382 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12383 rmdir conf$$.dir 2>/dev/null
12384
12385
12386 # as_fn_mkdir_p
12387 # -------------
12388 # Create "$as_dir" as a directory, including parents if necessary.
12389 as_fn_mkdir_p ()
12390 {
12391
12392   case $as_dir in #(
12393   -*) as_dir=./$as_dir;;
12394   esac
12395   test -d "$as_dir" || eval $as_mkdir_p || {
12396     as_dirs=
12397     while :; do
12398       case $as_dir in #(
12399       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12400       *) as_qdir=$as_dir;;
12401       esac
12402       as_dirs="'$as_qdir' $as_dirs"
12403       as_dir=`$as_dirname -- "$as_dir" ||
12404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12405          X"$as_dir" : 'X\(//\)[^/]' \| \
12406          X"$as_dir" : 'X\(//\)$' \| \
12407          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12408 $as_echo X"$as_dir" |
12409     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12410             s//\1/
12411             q
12412           }
12413           /^X\(\/\/\)[^/].*/{
12414             s//\1/
12415             q
12416           }
12417           /^X\(\/\/\)$/{
12418             s//\1/
12419             q
12420           }
12421           /^X\(\/\).*/{
12422             s//\1/
12423             q
12424           }
12425           s/.*/./; q'`
12426       test -d "$as_dir" && break
12427     done
12428     test -z "$as_dirs" || eval "mkdir $as_dirs"
12429   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12430
12431
12432 } # as_fn_mkdir_p
12433 if mkdir -p . 2>/dev/null; then
12434   as_mkdir_p='mkdir -p "$as_dir"'
12435 else
12436   test -d ./-p && rmdir ./-p
12437   as_mkdir_p=false
12438 fi
12439
12440
12441 # as_fn_executable_p FILE
12442 # -----------------------
12443 # Test if FILE is an executable regular file.
12444 as_fn_executable_p ()
12445 {
12446   test -f "$1" && test -x "$1"
12447 } # as_fn_executable_p
12448 as_test_x='test -x'
12449 as_executable_p=as_fn_executable_p
12450
12451 # Sed expression to map a string onto a valid CPP name.
12452 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12453
12454 # Sed expression to map a string onto a valid variable name.
12455 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12456
12457
12458 exec 6>&1
12459 ## ----------------------------------- ##
12460 ## Main body of $CONFIG_STATUS script. ##
12461 ## ----------------------------------- ##
12462 _ASEOF
12463 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12464
12465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12466 # Save the log message, to keep $0 and so on meaningful, and to
12467 # report actual input values of CONFIG_FILES etc. instead of their
12468 # values after options handling.
12469 ac_log="
12470 This file was extended by libgee $as_me 0.6.6.1, which was
12471 generated by GNU Autoconf 2.69.  Invocation command line was
12472
12473   CONFIG_FILES    = $CONFIG_FILES
12474   CONFIG_HEADERS  = $CONFIG_HEADERS
12475   CONFIG_LINKS    = $CONFIG_LINKS
12476   CONFIG_COMMANDS = $CONFIG_COMMANDS
12477   $ $0 $@
12478
12479 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12480 "
12481
12482 _ACEOF
12483
12484 case $ac_config_files in *"
12485 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12486 esac
12487
12488 case $ac_config_headers in *"
12489 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12490 esac
12491
12492
12493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12494 # Files that config.status was made for.
12495 config_files="$ac_config_files"
12496 config_headers="$ac_config_headers"
12497 config_commands="$ac_config_commands"
12498
12499 _ACEOF
12500
12501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12502 ac_cs_usage="\
12503 \`$as_me' instantiates files and other configuration actions
12504 from templates according to the current configuration.  Unless the files
12505 and actions are specified as TAGs, all are instantiated by default.
12506
12507 Usage: $0 [OPTION]... [TAG]...
12508
12509   -h, --help       print this help, then exit
12510   -V, --version    print version number and configuration settings, then exit
12511       --config     print configuration, then exit
12512   -q, --quiet, --silent
12513                    do not print progress messages
12514   -d, --debug      don't remove temporary files
12515       --recheck    update $as_me by reconfiguring in the same conditions
12516       --file=FILE[:TEMPLATE]
12517                    instantiate the configuration file FILE
12518       --header=FILE[:TEMPLATE]
12519                    instantiate the configuration header FILE
12520
12521 Configuration files:
12522 $config_files
12523
12524 Configuration headers:
12525 $config_headers
12526
12527 Configuration commands:
12528 $config_commands
12529
12530 Report bugs to <ptitjes@free.fr>."
12531
12532 _ACEOF
12533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12534 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12535 ac_cs_version="\\
12536 libgee config.status 0.6.6.1
12537 configured by $0, generated by GNU Autoconf 2.69,
12538   with options \\"\$ac_cs_config\\"
12539
12540 Copyright (C) 2012 Free Software Foundation, Inc.
12541 This config.status script is free software; the Free Software Foundation
12542 gives unlimited permission to copy, distribute and modify it."
12543
12544 ac_pwd='$ac_pwd'
12545 srcdir='$srcdir'
12546 INSTALL='$INSTALL'
12547 MKDIR_P='$MKDIR_P'
12548 AWK='$AWK'
12549 test -n "\$AWK" || AWK=awk
12550 _ACEOF
12551
12552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12553 # The default lists apply if the user does not specify any file.
12554 ac_need_defaults=:
12555 while test $# != 0
12556 do
12557   case $1 in
12558   --*=?*)
12559     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12560     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12561     ac_shift=:
12562     ;;
12563   --*=)
12564     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12565     ac_optarg=
12566     ac_shift=:
12567     ;;
12568   *)
12569     ac_option=$1
12570     ac_optarg=$2
12571     ac_shift=shift
12572     ;;
12573   esac
12574
12575   case $ac_option in
12576   # Handling of the options.
12577   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12578     ac_cs_recheck=: ;;
12579   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12580     $as_echo "$ac_cs_version"; exit ;;
12581   --config | --confi | --conf | --con | --co | --c )
12582     $as_echo "$ac_cs_config"; exit ;;
12583   --debug | --debu | --deb | --de | --d | -d )
12584     debug=: ;;
12585   --file | --fil | --fi | --f )
12586     $ac_shift
12587     case $ac_optarg in
12588     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12589     '') as_fn_error $? "missing file argument" ;;
12590     esac
12591     as_fn_append CONFIG_FILES " '$ac_optarg'"
12592     ac_need_defaults=false;;
12593   --header | --heade | --head | --hea )
12594     $ac_shift
12595     case $ac_optarg in
12596     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12597     esac
12598     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12599     ac_need_defaults=false;;
12600   --he | --h)
12601     # Conflict between --help and --header
12602     as_fn_error $? "ambiguous option: \`$1'
12603 Try \`$0 --help' for more information.";;
12604   --help | --hel | -h )
12605     $as_echo "$ac_cs_usage"; exit ;;
12606   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12607   | -silent | --silent | --silen | --sile | --sil | --si | --s)
12608     ac_cs_silent=: ;;
12609
12610   # This is an error.
12611   -*) as_fn_error $? "unrecognized option: \`$1'
12612 Try \`$0 --help' for more information." ;;
12613
12614   *) as_fn_append ac_config_targets " $1"
12615      ac_need_defaults=false ;;
12616
12617   esac
12618   shift
12619 done
12620
12621 ac_configure_extra_args=
12622
12623 if $ac_cs_silent; then
12624   exec 6>/dev/null
12625   ac_configure_extra_args="$ac_configure_extra_args --silent"
12626 fi
12627
12628 _ACEOF
12629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12630 if \$ac_cs_recheck; then
12631   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12632   shift
12633   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12634   CONFIG_SHELL='$SHELL'
12635   export CONFIG_SHELL
12636   exec "\$@"
12637 fi
12638
12639 _ACEOF
12640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12641 exec 5>>config.log
12642 {
12643   echo
12644   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12645 ## Running $as_me. ##
12646 _ASBOX
12647   $as_echo "$ac_log"
12648 } >&5
12649
12650 _ACEOF
12651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12652 #
12653 # INIT-COMMANDS
12654 #
12655 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12656
12657
12658 # The HP-UX ksh and POSIX shell print the target directory to stdout
12659 # if CDPATH is set.
12660 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12661
12662 sed_quote_subst='$sed_quote_subst'
12663 double_quote_subst='$double_quote_subst'
12664 delay_variable_subst='$delay_variable_subst'
12665 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12666 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12667 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12668 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12669 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12670 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12671 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12672 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12673 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12674 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12675 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12676 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12677 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12678 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12679 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12680 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12681 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12682 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12683 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12684 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12685 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12686 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12687 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12688 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12689 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12690 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12691 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12692 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12693 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12694 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12695 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12696 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12697 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12698 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12699 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12700 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12701 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12702 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12703 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12704 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12705 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12706 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12707 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12708 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12709 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12710 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12711 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12712 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12713 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12714 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12715 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12716 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12717 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12718 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12719 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12720 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12721 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
12722 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12723 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12724 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12725 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12726 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12727 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12728 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12729 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12730 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12731 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12732 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12733 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12734 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12735 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12736 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12737 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12738 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12739 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12740 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12741 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12742 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12743 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12744 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12745 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12746 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12747 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12748 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12749 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12750 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12751 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12752 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12753 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12754 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12755 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12756 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12757 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12758 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12759 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12760 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12761 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12762 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12763 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12764 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12765 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12766 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12767 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12768 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12769 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12770 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12771 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12772 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12773 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12774 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12775 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12776 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12777 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12778 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12779 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12780 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12781 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12782 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12783 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12784 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12785 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12786 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12787 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12788 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12789 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12790 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12791 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12792 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12793 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12794 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12795
12796 LTCC='$LTCC'
12797 LTCFLAGS='$LTCFLAGS'
12798 compiler='$compiler_DEFAULT'
12799
12800 # A function that is used when there is no print builtin or printf.
12801 func_fallback_echo ()
12802 {
12803   eval 'cat <<_LTECHO_EOF
12804 \$1
12805 _LTECHO_EOF'
12806 }
12807
12808 # Quote evaled strings.
12809 for var in SHELL \
12810 ECHO \
12811 PATH_SEPARATOR \
12812 SED \
12813 GREP \
12814 EGREP \
12815 FGREP \
12816 LD \
12817 NM \
12818 LN_S \
12819 lt_SP2NL \
12820 lt_NL2SP \
12821 reload_flag \
12822 OBJDUMP \
12823 deplibs_check_method \
12824 file_magic_cmd \
12825 file_magic_glob \
12826 want_nocaseglob \
12827 DLLTOOL \
12828 sharedlib_from_linklib_cmd \
12829 AR \
12830 AR_FLAGS \
12831 archiver_list_spec \
12832 STRIP \
12833 RANLIB \
12834 CC \
12835 CFLAGS \
12836 compiler \
12837 lt_cv_sys_global_symbol_pipe \
12838 lt_cv_sys_global_symbol_to_cdecl \
12839 lt_cv_sys_global_symbol_to_c_name_address \
12840 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12841 nm_file_list_spec \
12842 lt_prog_compiler_no_builtin_flag \
12843 lt_prog_compiler_pic \
12844 lt_prog_compiler_wl \
12845 lt_prog_compiler_static \
12846 lt_cv_prog_compiler_c_o \
12847 need_locks \
12848 MANIFEST_TOOL \
12849 DSYMUTIL \
12850 NMEDIT \
12851 LIPO \
12852 OTOOL \
12853 OTOOL64 \
12854 shrext_cmds \
12855 export_dynamic_flag_spec \
12856 whole_archive_flag_spec \
12857 compiler_needs_object \
12858 with_gnu_ld \
12859 allow_undefined_flag \
12860 no_undefined_flag \
12861 hardcode_libdir_flag_spec \
12862 hardcode_libdir_separator \
12863 exclude_expsyms \
12864 include_expsyms \
12865 file_list_spec \
12866 variables_saved_for_relink \
12867 libname_spec \
12868 library_names_spec \
12869 soname_spec \
12870 install_override_mode \
12871 finish_eval \
12872 old_striplib \
12873 striplib; do
12874     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12875     *[\\\\\\\`\\"\\\$]*)
12876       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12877       ;;
12878     *)
12879       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12880       ;;
12881     esac
12882 done
12883
12884 # Double-quote double-evaled strings.
12885 for var in reload_cmds \
12886 old_postinstall_cmds \
12887 old_postuninstall_cmds \
12888 old_archive_cmds \
12889 extract_expsyms_cmds \
12890 old_archive_from_new_cmds \
12891 old_archive_from_expsyms_cmds \
12892 archive_cmds \
12893 archive_expsym_cmds \
12894 module_cmds \
12895 module_expsym_cmds \
12896 export_symbols_cmds \
12897 prelink_cmds \
12898 postlink_cmds \
12899 postinstall_cmds \
12900 postuninstall_cmds \
12901 finish_cmds \
12902 sys_lib_search_path_spec \
12903 sys_lib_dlsearch_path_spec; do
12904     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12905     *[\\\\\\\`\\"\\\$]*)
12906       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12907       ;;
12908     *)
12909       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12910       ;;
12911     esac
12912 done
12913
12914 ac_aux_dir='$ac_aux_dir'
12915 xsi_shell='$xsi_shell'
12916 lt_shell_append='$lt_shell_append'
12917
12918 # See if we are running on zsh, and set the options which allow our
12919 # commands through without removal of \ escapes INIT.
12920 if test -n "\${ZSH_VERSION+set}" ; then
12921    setopt NO_GLOB_SUBST
12922 fi
12923
12924
12925     PACKAGE='$PACKAGE'
12926     VERSION='$VERSION'
12927     TIMESTAMP='$TIMESTAMP'
12928     RM='$RM'
12929     ofile='$ofile'
12930
12931
12932
12933
12934 _ACEOF
12935
12936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12937
12938 # Handling of arguments.
12939 for ac_config_target in $ac_config_targets
12940 do
12941   case $ac_config_target in
12942     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12943     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12944     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12945     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12946     "gee-1.0.pc") CONFIG_FILES="$CONFIG_FILES gee-1.0.pc" ;;
12947     "benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES benchmark/Makefile" ;;
12948     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12949     "gee/Makefile") CONFIG_FILES="$CONFIG_FILES gee/Makefile" ;;
12950     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
12951
12952   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12953   esac
12954 done
12955
12956
12957 # If the user did not use the arguments to specify the items to instantiate,
12958 # then the envvar interface is used.  Set only those that are not.
12959 # We use the long form for the default assignment because of an extremely
12960 # bizarre bug on SunOS 4.1.3.
12961 if $ac_need_defaults; then
12962   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12963   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12964   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12965 fi
12966
12967 # Have a temporary directory for convenience.  Make it in the build tree
12968 # simply because there is no reason against having it here, and in addition,
12969 # creating and moving files from /tmp can sometimes cause problems.
12970 # Hook for its removal unless debugging.
12971 # Note that there is a small window in which the directory will not be cleaned:
12972 # after its creation but before its name has been assigned to `$tmp'.
12973 $debug ||
12974 {
12975   tmp= ac_tmp=
12976   trap 'exit_status=$?
12977   : "${ac_tmp:=$tmp}"
12978   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12979 ' 0
12980   trap 'as_fn_exit 1' 1 2 13 15
12981 }
12982 # Create a (secure) tmp directory for tmp files.
12983
12984 {
12985   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12986   test -d "$tmp"
12987 }  ||
12988 {
12989   tmp=./conf$$-$RANDOM
12990   (umask 077 && mkdir "$tmp")
12991 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12992 ac_tmp=$tmp
12993
12994 # Set up the scripts for CONFIG_FILES section.
12995 # No need to generate them if there are no CONFIG_FILES.
12996 # This happens for instance with `./config.status config.h'.
12997 if test -n "$CONFIG_FILES"; then
12998
12999
13000 ac_cr=`echo X | tr X '\015'`
13001 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13002 # But we know of no other shell where ac_cr would be empty at this
13003 # point, so we can use a bashism as a fallback.
13004 if test "x$ac_cr" = x; then
13005   eval ac_cr=\$\'\\r\'
13006 fi
13007 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13008 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13009   ac_cs_awk_cr='\\r'
13010 else
13011   ac_cs_awk_cr=$ac_cr
13012 fi
13013
13014 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13015 _ACEOF
13016
13017
13018 {
13019   echo "cat >conf$$subs.awk <<_ACEOF" &&
13020   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13021   echo "_ACEOF"
13022 } >conf$$subs.sh ||
13023   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13024 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13025 ac_delim='%!_!# '
13026 for ac_last_try in false false false false false :; do
13027   . ./conf$$subs.sh ||
13028     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13029
13030   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13031   if test $ac_delim_n = $ac_delim_num; then
13032     break
13033   elif $ac_last_try; then
13034     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13035   else
13036     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13037   fi
13038 done
13039 rm -f conf$$subs.sh
13040
13041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13042 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13043 _ACEOF
13044 sed -n '
13045 h
13046 s/^/S["/; s/!.*/"]=/
13047 p
13048 g
13049 s/^[^!]*!//
13050 :repl
13051 t repl
13052 s/'"$ac_delim"'$//
13053 t delim
13054 :nl
13055 h
13056 s/\(.\{148\}\)..*/\1/
13057 t more1
13058 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13059 p
13060 n
13061 b repl
13062 :more1
13063 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13064 p
13065 g
13066 s/.\{148\}//
13067 t nl
13068 :delim
13069 h
13070 s/\(.\{148\}\)..*/\1/
13071 t more2
13072 s/["\\]/\\&/g; s/^/"/; s/$/"/
13073 p
13074 b
13075 :more2
13076 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13077 p
13078 g
13079 s/.\{148\}//
13080 t delim
13081 ' <conf$$subs.awk | sed '
13082 /^[^""]/{
13083   N
13084   s/\n//
13085 }
13086 ' >>$CONFIG_STATUS || ac_write_fail=1
13087 rm -f conf$$subs.awk
13088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13089 _ACAWK
13090 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13091   for (key in S) S_is_set[key] = 1
13092   FS = "\a"
13093
13094 }
13095 {
13096   line = $ 0
13097   nfields = split(line, field, "@")
13098   substed = 0
13099   len = length(field[1])
13100   for (i = 2; i < nfields; i++) {
13101     key = field[i]
13102     keylen = length(key)
13103     if (S_is_set[key]) {
13104       value = S[key]
13105       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13106       len += length(value) + length(field[++i])
13107       substed = 1
13108     } else
13109       len += 1 + keylen
13110   }
13111
13112   print line
13113 }
13114
13115 _ACAWK
13116 _ACEOF
13117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13118 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13119   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13120 else
13121   cat
13122 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13123   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13124 _ACEOF
13125
13126 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13127 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13128 # trailing colons and then remove the whole line if VPATH becomes empty
13129 # (actually we leave an empty line to preserve line numbers).
13130 if test "x$srcdir" = x.; then
13131   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13132 h
13133 s///
13134 s/^/:/
13135 s/[      ]*$/:/
13136 s/:\$(srcdir):/:/g
13137 s/:\${srcdir}:/:/g
13138 s/:@srcdir@:/:/g
13139 s/^:*//
13140 s/:*$//
13141 x
13142 s/\(=[   ]*\).*/\1/
13143 G
13144 s/\n//
13145 s/^[^=]*=[       ]*$//
13146 }'
13147 fi
13148
13149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13150 fi # test -n "$CONFIG_FILES"
13151
13152 # Set up the scripts for CONFIG_HEADERS section.
13153 # No need to generate them if there are no CONFIG_HEADERS.
13154 # This happens for instance with `./config.status Makefile'.
13155 if test -n "$CONFIG_HEADERS"; then
13156 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13157 BEGIN {
13158 _ACEOF
13159
13160 # Transform confdefs.h into an awk script `defines.awk', embedded as
13161 # here-document in config.status, that substitutes the proper values into
13162 # config.h.in to produce config.h.
13163
13164 # Create a delimiter string that does not exist in confdefs.h, to ease
13165 # handling of long lines.
13166 ac_delim='%!_!# '
13167 for ac_last_try in false false :; do
13168   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13169   if test -z "$ac_tt"; then
13170     break
13171   elif $ac_last_try; then
13172     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13173   else
13174     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13175   fi
13176 done
13177
13178 # For the awk script, D is an array of macro values keyed by name,
13179 # likewise P contains macro parameters if any.  Preserve backslash
13180 # newline sequences.
13181
13182 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13183 sed -n '
13184 s/.\{148\}/&'"$ac_delim"'/g
13185 t rset
13186 :rset
13187 s/^[     ]*#[    ]*define[       ][      ]*/ /
13188 t def
13189 d
13190 :def
13191 s/\\$//
13192 t bsnl
13193 s/["\\]/\\&/g
13194 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13195 D["\1"]=" \3"/p
13196 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13197 d
13198 :bsnl
13199 s/["\\]/\\&/g
13200 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13201 D["\1"]=" \3\\\\\\n"\\/p
13202 t cont
13203 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13204 t cont
13205 d
13206 :cont
13207 n
13208 s/.\{148\}/&'"$ac_delim"'/g
13209 t clear
13210 :clear
13211 s/\\$//
13212 t bsnlc
13213 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13214 d
13215 :bsnlc
13216 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13217 b cont
13218 ' <confdefs.h | sed '
13219 s/'"$ac_delim"'/"\\\
13220 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13221
13222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13223   for (key in D) D_is_set[key] = 1
13224   FS = "\a"
13225 }
13226 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13227   line = \$ 0
13228   split(line, arg, " ")
13229   if (arg[1] == "#") {
13230     defundef = arg[2]
13231     mac1 = arg[3]
13232   } else {
13233     defundef = substr(arg[1], 2)
13234     mac1 = arg[2]
13235   }
13236   split(mac1, mac2, "(") #)
13237   macro = mac2[1]
13238   prefix = substr(line, 1, index(line, defundef) - 1)
13239   if (D_is_set[macro]) {
13240     # Preserve the white space surrounding the "#".
13241     print prefix "define", macro P[macro] D[macro]
13242     next
13243   } else {
13244     # Replace #undef with comments.  This is necessary, for example,
13245     # in the case of _POSIX_SOURCE, which is predefined and required
13246     # on some systems where configure will not decide to define it.
13247     if (defundef == "undef") {
13248       print "/*", prefix defundef, macro, "*/"
13249       next
13250     }
13251   }
13252 }
13253 { print }
13254 _ACAWK
13255 _ACEOF
13256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13257   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13258 fi # test -n "$CONFIG_HEADERS"
13259
13260
13261 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13262 shift
13263 for ac_tag
13264 do
13265   case $ac_tag in
13266   :[FHLC]) ac_mode=$ac_tag; continue;;
13267   esac
13268   case $ac_mode$ac_tag in
13269   :[FHL]*:*);;
13270   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13271   :[FH]-) ac_tag=-:-;;
13272   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13273   esac
13274   ac_save_IFS=$IFS
13275   IFS=:
13276   set x $ac_tag
13277   IFS=$ac_save_IFS
13278   shift
13279   ac_file=$1
13280   shift
13281
13282   case $ac_mode in
13283   :L) ac_source=$1;;
13284   :[FH])
13285     ac_file_inputs=
13286     for ac_f
13287     do
13288       case $ac_f in
13289       -) ac_f="$ac_tmp/stdin";;
13290       *) # Look for the file first in the build tree, then in the source tree
13291          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13292          # because $ac_f cannot contain `:'.
13293          test -f "$ac_f" ||
13294            case $ac_f in
13295            [\\/$]*) false;;
13296            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13297            esac ||
13298            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13299       esac
13300       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13301       as_fn_append ac_file_inputs " '$ac_f'"
13302     done
13303
13304     # Let's still pretend it is `configure' which instantiates (i.e., don't
13305     # use $as_me), people would be surprised to read:
13306     #    /* config.h.  Generated by config.status.  */
13307     configure_input='Generated from '`
13308           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13309         `' by configure.'
13310     if test x"$ac_file" != x-; then
13311       configure_input="$ac_file.  $configure_input"
13312       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13313 $as_echo "$as_me: creating $ac_file" >&6;}
13314     fi
13315     # Neutralize special characters interpreted by sed in replacement strings.
13316     case $configure_input in #(
13317     *\&* | *\|* | *\\* )
13318        ac_sed_conf_input=`$as_echo "$configure_input" |
13319        sed 's/[\\\\&|]/\\\\&/g'`;; #(
13320     *) ac_sed_conf_input=$configure_input;;
13321     esac
13322
13323     case $ac_tag in
13324     *:-:* | *:-) cat >"$ac_tmp/stdin" \
13325       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13326     esac
13327     ;;
13328   esac
13329
13330   ac_dir=`$as_dirname -- "$ac_file" ||
13331 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13332          X"$ac_file" : 'X\(//\)[^/]' \| \
13333          X"$ac_file" : 'X\(//\)$' \| \
13334          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13335 $as_echo X"$ac_file" |
13336     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13337             s//\1/
13338             q
13339           }
13340           /^X\(\/\/\)[^/].*/{
13341             s//\1/
13342             q
13343           }
13344           /^X\(\/\/\)$/{
13345             s//\1/
13346             q
13347           }
13348           /^X\(\/\).*/{
13349             s//\1/
13350             q
13351           }
13352           s/.*/./; q'`
13353   as_dir="$ac_dir"; as_fn_mkdir_p
13354   ac_builddir=.
13355
13356 case "$ac_dir" in
13357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13358 *)
13359   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13360   # A ".." for each directory in $ac_dir_suffix.
13361   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13362   case $ac_top_builddir_sub in
13363   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13364   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13365   esac ;;
13366 esac
13367 ac_abs_top_builddir=$ac_pwd
13368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13369 # for backward compatibility:
13370 ac_top_builddir=$ac_top_build_prefix
13371
13372 case $srcdir in
13373   .)  # We are building in place.
13374     ac_srcdir=.
13375     ac_top_srcdir=$ac_top_builddir_sub
13376     ac_abs_top_srcdir=$ac_pwd ;;
13377   [\\/]* | ?:[\\/]* )  # Absolute name.
13378     ac_srcdir=$srcdir$ac_dir_suffix;
13379     ac_top_srcdir=$srcdir
13380     ac_abs_top_srcdir=$srcdir ;;
13381   *) # Relative name.
13382     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13383     ac_top_srcdir=$ac_top_build_prefix$srcdir
13384     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13385 esac
13386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13387
13388
13389   case $ac_mode in
13390   :F)
13391   #
13392   # CONFIG_FILE
13393   #
13394
13395   case $INSTALL in
13396   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13397   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13398   esac
13399   ac_MKDIR_P=$MKDIR_P
13400   case $MKDIR_P in
13401   [\\/$]* | ?:[\\/]* ) ;;
13402   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13403   esac
13404 _ACEOF
13405
13406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13407 # If the template does not know about datarootdir, expand it.
13408 # FIXME: This hack should be removed a few years after 2.60.
13409 ac_datarootdir_hack=; ac_datarootdir_seen=
13410 ac_sed_dataroot='
13411 /datarootdir/ {
13412   p
13413   q
13414 }
13415 /@datadir@/p
13416 /@docdir@/p
13417 /@infodir@/p
13418 /@localedir@/p
13419 /@mandir@/p'
13420 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13421 *datarootdir*) ac_datarootdir_seen=yes;;
13422 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13423   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13424 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13425 _ACEOF
13426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13427   ac_datarootdir_hack='
13428   s&@datadir@&$datadir&g
13429   s&@docdir@&$docdir&g
13430   s&@infodir@&$infodir&g
13431   s&@localedir@&$localedir&g
13432   s&@mandir@&$mandir&g
13433   s&\\\${datarootdir}&$datarootdir&g' ;;
13434 esac
13435 _ACEOF
13436
13437 # Neutralize VPATH when `$srcdir' = `.'.
13438 # Shell code in configure.ac might set extrasub.
13439 # FIXME: do we really want to maintain this feature?
13440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13441 ac_sed_extra="$ac_vpsub
13442 $extrasub
13443 _ACEOF
13444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13445 :t
13446 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13447 s|@configure_input@|$ac_sed_conf_input|;t t
13448 s&@top_builddir@&$ac_top_builddir_sub&;t t
13449 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13450 s&@srcdir@&$ac_srcdir&;t t
13451 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13452 s&@top_srcdir@&$ac_top_srcdir&;t t
13453 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13454 s&@builddir@&$ac_builddir&;t t
13455 s&@abs_builddir@&$ac_abs_builddir&;t t
13456 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13457 s&@INSTALL@&$ac_INSTALL&;t t
13458 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13459 $ac_datarootdir_hack
13460 "
13461 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13462   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13463
13464 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13465   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13466   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
13467       "$ac_tmp/out"`; test -z "$ac_out"; } &&
13468   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13469 which seems to be undefined.  Please make sure it is defined" >&5
13470 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13471 which seems to be undefined.  Please make sure it is defined" >&2;}
13472
13473   rm -f "$ac_tmp/stdin"
13474   case $ac_file in
13475   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13476   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13477   esac \
13478   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13479  ;;
13480   :H)
13481   #
13482   # CONFIG_HEADER
13483   #
13484   if test x"$ac_file" != x-; then
13485     {
13486       $as_echo "/* $configure_input  */" \
13487       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13488     } >"$ac_tmp/config.h" \
13489       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13490     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13491       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13492 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13493     else
13494       rm -f "$ac_file"
13495       mv "$ac_tmp/config.h" "$ac_file" \
13496         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13497     fi
13498   else
13499     $as_echo "/* $configure_input  */" \
13500       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13501       || as_fn_error $? "could not create -" "$LINENO" 5
13502   fi
13503 # Compute "$ac_file"'s index in $config_headers.
13504 _am_arg="$ac_file"
13505 _am_stamp_count=1
13506 for _am_header in $config_headers :; do
13507   case $_am_header in
13508     $_am_arg | $_am_arg:* )
13509       break ;;
13510     * )
13511       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13512   esac
13513 done
13514 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13515 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13516          X"$_am_arg" : 'X\(//\)[^/]' \| \
13517          X"$_am_arg" : 'X\(//\)$' \| \
13518          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13519 $as_echo X"$_am_arg" |
13520     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13521             s//\1/
13522             q
13523           }
13524           /^X\(\/\/\)[^/].*/{
13525             s//\1/
13526             q
13527           }
13528           /^X\(\/\/\)$/{
13529             s//\1/
13530             q
13531           }
13532           /^X\(\/\).*/{
13533             s//\1/
13534             q
13535           }
13536           s/.*/./; q'`/stamp-h$_am_stamp_count
13537  ;;
13538
13539   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13540 $as_echo "$as_me: executing $ac_file commands" >&6;}
13541  ;;
13542   esac
13543
13544
13545   case $ac_file$ac_mode in
13546     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13547   # Autoconf 2.62 quotes --file arguments for eval, but not when files
13548   # are listed without --file.  Let's play safe and only enable the eval
13549   # if we detect the quoting.
13550   case $CONFIG_FILES in
13551   *\'*) eval set x "$CONFIG_FILES" ;;
13552   *)   set x $CONFIG_FILES ;;
13553   esac
13554   shift
13555   for mf
13556   do
13557     # Strip MF so we end up with the name of the file.
13558     mf=`echo "$mf" | sed -e 's/:.*$//'`
13559     # Check whether this is an Automake generated Makefile or not.
13560     # We used to match only the files named `Makefile.in', but
13561     # some people rename them; so instead we look at the file content.
13562     # Grep'ing the first line is not enough: some people post-process
13563     # each Makefile.in and add a new line on top of each file to say so.
13564     # Grep'ing the whole file is not good either: AIX grep has a line
13565     # limit of 2048, but all sed's we know have understand at least 4000.
13566     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13567       dirpart=`$as_dirname -- "$mf" ||
13568 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13569          X"$mf" : 'X\(//\)[^/]' \| \
13570          X"$mf" : 'X\(//\)$' \| \
13571          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13572 $as_echo X"$mf" |
13573     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13574             s//\1/
13575             q
13576           }
13577           /^X\(\/\/\)[^/].*/{
13578             s//\1/
13579             q
13580           }
13581           /^X\(\/\/\)$/{
13582             s//\1/
13583             q
13584           }
13585           /^X\(\/\).*/{
13586             s//\1/
13587             q
13588           }
13589           s/.*/./; q'`
13590     else
13591       continue
13592     fi
13593     # Extract the definition of DEPDIR, am__include, and am__quote
13594     # from the Makefile without running `make'.
13595     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13596     test -z "$DEPDIR" && continue
13597     am__include=`sed -n 's/^am__include = //p' < "$mf"`
13598     test -z "am__include" && continue
13599     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13600     # When using ansi2knr, U may be empty or an underscore; expand it
13601     U=`sed -n 's/^U = //p' < "$mf"`
13602     # Find all dependency output files, they are included files with
13603     # $(DEPDIR) in their names.  We invoke sed twice because it is the
13604     # simplest approach to changing $(DEPDIR) to its actual value in the
13605     # expansion.
13606     for file in `sed -n "
13607       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13608          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13609       # Make sure the directory exists.
13610       test -f "$dirpart/$file" && continue
13611       fdir=`$as_dirname -- "$file" ||
13612 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13613          X"$file" : 'X\(//\)[^/]' \| \
13614          X"$file" : 'X\(//\)$' \| \
13615          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13616 $as_echo X"$file" |
13617     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13618             s//\1/
13619             q
13620           }
13621           /^X\(\/\/\)[^/].*/{
13622             s//\1/
13623             q
13624           }
13625           /^X\(\/\/\)$/{
13626             s//\1/
13627             q
13628           }
13629           /^X\(\/\).*/{
13630             s//\1/
13631             q
13632           }
13633           s/.*/./; q'`
13634       as_dir=$dirpart/$fdir; as_fn_mkdir_p
13635       # echo "creating $dirpart/$file"
13636       echo '# dummy' > "$dirpart/$file"
13637     done
13638   done
13639 }
13640  ;;
13641     "libtool":C)
13642
13643     # See if we are running on zsh, and set the options which allow our
13644     # commands through without removal of \ escapes.
13645     if test -n "${ZSH_VERSION+set}" ; then
13646       setopt NO_GLOB_SUBST
13647     fi
13648
13649     cfgfile="${ofile}T"
13650     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13651     $RM "$cfgfile"
13652
13653     cat <<_LT_EOF >> "$cfgfile"
13654 #! $SHELL
13655
13656 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13657 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13658 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13659 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13660 #
13661 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13662 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13663 #                 Foundation, Inc.
13664 #   Written by Gordon Matzigkeit, 1996
13665 #
13666 #   This file is part of GNU Libtool.
13667 #
13668 # GNU Libtool is free software; you can redistribute it and/or
13669 # modify it under the terms of the GNU General Public License as
13670 # published by the Free Software Foundation; either version 2 of
13671 # the License, or (at your option) any later version.
13672 #
13673 # As a special exception to the GNU General Public License,
13674 # if you distribute this file as part of a program or library that
13675 # is built using GNU Libtool, you may include this file under the
13676 # same distribution terms that you use for the rest of that program.
13677 #
13678 # GNU Libtool is distributed in the hope that it will be useful,
13679 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13680 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13681 # GNU General Public License for more details.
13682 #
13683 # You should have received a copy of the GNU General Public License
13684 # along with GNU Libtool; see the file COPYING.  If not, a copy
13685 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13686 # obtained by writing to the Free Software Foundation, Inc.,
13687 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13688
13689
13690 # The names of the tagged configurations supported by this script.
13691 available_tags=""
13692
13693 # ### BEGIN LIBTOOL CONFIG
13694
13695 # Whether or not to build static libraries.
13696 build_old_libs=$enable_static
13697
13698 # Which release of libtool.m4 was used?
13699 macro_version=$macro_version
13700 macro_revision=$macro_revision
13701
13702 # Whether or not to build shared libraries.
13703 build_libtool_libs=$enable_shared
13704
13705 # What type of objects to build.
13706 pic_mode=$pic_mode
13707
13708 # Whether or not to optimize for fast installation.
13709 fast_install=$enable_fast_install
13710
13711 # Shell to use when invoking shell scripts.
13712 SHELL=$lt_SHELL
13713
13714 # An echo program that protects backslashes.
13715 ECHO=$lt_ECHO
13716
13717 # The PATH separator for the build system.
13718 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13719
13720 # The host system.
13721 host_alias=$host_alias
13722 host=$host
13723 host_os=$host_os
13724
13725 # The build system.
13726 build_alias=$build_alias
13727 build=$build
13728 build_os=$build_os
13729
13730 # A sed program that does not truncate output.
13731 SED=$lt_SED
13732
13733 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13734 Xsed="\$SED -e 1s/^X//"
13735
13736 # A grep program that handles long lines.
13737 GREP=$lt_GREP
13738
13739 # An ERE matcher.
13740 EGREP=$lt_EGREP
13741
13742 # A literal string matcher.
13743 FGREP=$lt_FGREP
13744
13745 # A BSD- or MS-compatible name lister.
13746 NM=$lt_NM
13747
13748 # Whether we need soft or hard links.
13749 LN_S=$lt_LN_S
13750
13751 # What is the maximum length of a command?
13752 max_cmd_len=$max_cmd_len
13753
13754 # Object file suffix (normally "o").
13755 objext=$ac_objext
13756
13757 # Executable file suffix (normally "").
13758 exeext=$exeext
13759
13760 # whether the shell understands "unset".
13761 lt_unset=$lt_unset
13762
13763 # turn spaces into newlines.
13764 SP2NL=$lt_lt_SP2NL
13765
13766 # turn newlines into spaces.
13767 NL2SP=$lt_lt_NL2SP
13768
13769 # convert \$build file names to \$host format.
13770 to_host_file_cmd=$lt_cv_to_host_file_cmd
13771
13772 # convert \$build files to toolchain format.
13773 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13774
13775 # An object symbol dumper.
13776 OBJDUMP=$lt_OBJDUMP
13777
13778 # Method to check whether dependent libraries are shared objects.
13779 deplibs_check_method=$lt_deplibs_check_method
13780
13781 # Command to use when deplibs_check_method = "file_magic".
13782 file_magic_cmd=$lt_file_magic_cmd
13783
13784 # How to find potential files when deplibs_check_method = "file_magic".
13785 file_magic_glob=$lt_file_magic_glob
13786
13787 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13788 want_nocaseglob=$lt_want_nocaseglob
13789
13790 # DLL creation program.
13791 DLLTOOL=$lt_DLLTOOL
13792
13793 # Command to associate shared and link libraries.
13794 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13795
13796 # The archiver.
13797 AR=$lt_AR
13798
13799 # Flags to create an archive.
13800 AR_FLAGS=$lt_AR_FLAGS
13801
13802 # How to feed a file listing to the archiver.
13803 archiver_list_spec=$lt_archiver_list_spec
13804
13805 # A symbol stripping program.
13806 STRIP=$lt_STRIP
13807
13808 # Commands used to install an old-style archive.
13809 RANLIB=$lt_RANLIB
13810 old_postinstall_cmds=$lt_old_postinstall_cmds
13811 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13812
13813 # Whether to use a lock for old archive extraction.
13814 lock_old_archive_extraction=$lock_old_archive_extraction
13815
13816 # A C compiler.
13817 LTCC=$lt_CC
13818
13819 # LTCC compiler flags.
13820 LTCFLAGS=$lt_CFLAGS
13821
13822 # Take the output of nm and produce a listing of raw symbols and C names.
13823 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13824
13825 # Transform the output of nm in a proper C declaration.
13826 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13827
13828 # Transform the output of nm in a C name address pair.
13829 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13830
13831 # Transform the output of nm in a C name address pair when lib prefix is needed.
13832 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13833
13834 # Specify filename containing input files for \$NM.
13835 nm_file_list_spec=$lt_nm_file_list_spec
13836
13837 # The root where to search for dependent libraries,and in which our libraries should be installed.
13838 lt_sysroot=$lt_sysroot
13839
13840 # The name of the directory that contains temporary libtool files.
13841 objdir=$objdir
13842
13843 # Used to examine libraries when file_magic_cmd begins with "file".
13844 MAGIC_CMD=$MAGIC_CMD
13845
13846 # Must we lock files when doing compilation?
13847 need_locks=$lt_need_locks
13848
13849 # Manifest tool.
13850 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13851
13852 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13853 DSYMUTIL=$lt_DSYMUTIL
13854
13855 # Tool to change global to local symbols on Mac OS X.
13856 NMEDIT=$lt_NMEDIT
13857
13858 # Tool to manipulate fat objects and archives on Mac OS X.
13859 LIPO=$lt_LIPO
13860
13861 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13862 OTOOL=$lt_OTOOL
13863
13864 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13865 OTOOL64=$lt_OTOOL64
13866
13867 # Old archive suffix (normally "a").
13868 libext=$libext
13869
13870 # Shared library suffix (normally ".so").
13871 shrext_cmds=$lt_shrext_cmds
13872
13873 # The commands to extract the exported symbol list from a shared archive.
13874 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13875
13876 # Variables whose values should be saved in libtool wrapper scripts and
13877 # restored at link time.
13878 variables_saved_for_relink=$lt_variables_saved_for_relink
13879
13880 # Do we need the "lib" prefix for modules?
13881 need_lib_prefix=$need_lib_prefix
13882
13883 # Do we need a version for libraries?
13884 need_version=$need_version
13885
13886 # Library versioning type.
13887 version_type=$version_type
13888
13889 # Shared library runtime path variable.
13890 runpath_var=$runpath_var
13891
13892 # Shared library path variable.
13893 shlibpath_var=$shlibpath_var
13894
13895 # Is shlibpath searched before the hard-coded library search path?
13896 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13897
13898 # Format of library name prefix.
13899 libname_spec=$lt_libname_spec
13900
13901 # List of archive names.  First name is the real one, the rest are links.
13902 # The last name is the one that the linker finds with -lNAME
13903 library_names_spec=$lt_library_names_spec
13904
13905 # The coded name of the library, if different from the real name.
13906 soname_spec=$lt_soname_spec
13907
13908 # Permission mode override for installation of shared libraries.
13909 install_override_mode=$lt_install_override_mode
13910
13911 # Command to use after installation of a shared archive.
13912 postinstall_cmds=$lt_postinstall_cmds
13913
13914 # Command to use after uninstallation of a shared archive.
13915 postuninstall_cmds=$lt_postuninstall_cmds
13916
13917 # Commands used to finish a libtool library installation in a directory.
13918 finish_cmds=$lt_finish_cmds
13919
13920 # As "finish_cmds", except a single script fragment to be evaled but
13921 # not shown.
13922 finish_eval=$lt_finish_eval
13923
13924 # Whether we should hardcode library paths into libraries.
13925 hardcode_into_libs=$hardcode_into_libs
13926
13927 # Compile-time system search path for libraries.
13928 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13929
13930 # Run-time system search path for libraries.
13931 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13932
13933 # Whether dlopen is supported.
13934 dlopen_support=$enable_dlopen
13935
13936 # Whether dlopen of programs is supported.
13937 dlopen_self=$enable_dlopen_self
13938
13939 # Whether dlopen of statically linked programs is supported.
13940 dlopen_self_static=$enable_dlopen_self_static
13941
13942 # Commands to strip libraries.
13943 old_striplib=$lt_old_striplib
13944 striplib=$lt_striplib
13945
13946
13947 # The linker used to build libraries.
13948 LD=$lt_LD
13949
13950 # How to create reloadable object files.
13951 reload_flag=$lt_reload_flag
13952 reload_cmds=$lt_reload_cmds
13953
13954 # Commands used to build an old-style archive.
13955 old_archive_cmds=$lt_old_archive_cmds
13956
13957 # A language specific compiler.
13958 CC=$lt_compiler
13959
13960 # Is the compiler the GNU compiler?
13961 with_gcc=$GCC
13962
13963 # Compiler flag to turn off builtin functions.
13964 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13965
13966 # Additional compiler flags for building library objects.
13967 pic_flag=$lt_lt_prog_compiler_pic
13968
13969 # How to pass a linker flag through the compiler.
13970 wl=$lt_lt_prog_compiler_wl
13971
13972 # Compiler flag to prevent dynamic linking.
13973 link_static_flag=$lt_lt_prog_compiler_static
13974
13975 # Does compiler simultaneously support -c and -o options?
13976 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13977
13978 # Whether or not to add -lc for building shared libraries.
13979 build_libtool_need_lc=$archive_cmds_need_lc
13980
13981 # Whether or not to disallow shared libs when runtime libs are static.
13982 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13983
13984 # Compiler flag to allow reflexive dlopens.
13985 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13986
13987 # Compiler flag to generate shared objects directly from archives.
13988 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13989
13990 # Whether the compiler copes with passing no objects directly.
13991 compiler_needs_object=$lt_compiler_needs_object
13992
13993 # Create an old-style archive from a shared archive.
13994 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13995
13996 # Create a temporary old-style archive to link instead of a shared archive.
13997 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13998
13999 # Commands used to build a shared archive.
14000 archive_cmds=$lt_archive_cmds
14001 archive_expsym_cmds=$lt_archive_expsym_cmds
14002
14003 # Commands used to build a loadable module if different from building
14004 # a shared archive.
14005 module_cmds=$lt_module_cmds
14006 module_expsym_cmds=$lt_module_expsym_cmds
14007
14008 # Whether we are building with GNU ld or not.
14009 with_gnu_ld=$lt_with_gnu_ld
14010
14011 # Flag that allows shared libraries with undefined symbols to be built.
14012 allow_undefined_flag=$lt_allow_undefined_flag
14013
14014 # Flag that enforces no undefined symbols.
14015 no_undefined_flag=$lt_no_undefined_flag
14016
14017 # Flag to hardcode \$libdir into a binary during linking.
14018 # This must work even if \$libdir does not exist
14019 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14020
14021 # Whether we need a single "-rpath" flag with a separated argument.
14022 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14023
14024 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14025 # DIR into the resulting binary.
14026 hardcode_direct=$hardcode_direct
14027
14028 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14029 # DIR into the resulting binary and the resulting library dependency is
14030 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14031 # library is relocated.
14032 hardcode_direct_absolute=$hardcode_direct_absolute
14033
14034 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14035 # into the resulting binary.
14036 hardcode_minus_L=$hardcode_minus_L
14037
14038 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14039 # into the resulting binary.
14040 hardcode_shlibpath_var=$hardcode_shlibpath_var
14041
14042 # Set to "yes" if building a shared library automatically hardcodes DIR
14043 # into the library and all subsequent libraries and executables linked
14044 # against it.
14045 hardcode_automatic=$hardcode_automatic
14046
14047 # Set to yes if linker adds runtime paths of dependent libraries
14048 # to runtime path list.
14049 inherit_rpath=$inherit_rpath
14050
14051 # Whether libtool must link a program against all its dependency libraries.
14052 link_all_deplibs=$link_all_deplibs
14053
14054 # Set to "yes" if exported symbols are required.
14055 always_export_symbols=$always_export_symbols
14056
14057 # The commands to list exported symbols.
14058 export_symbols_cmds=$lt_export_symbols_cmds
14059
14060 # Symbols that should not be listed in the preloaded symbols.
14061 exclude_expsyms=$lt_exclude_expsyms
14062
14063 # Symbols that must always be exported.
14064 include_expsyms=$lt_include_expsyms
14065
14066 # Commands necessary for linking programs (against libraries) with templates.
14067 prelink_cmds=$lt_prelink_cmds
14068
14069 # Commands necessary for finishing linking programs.
14070 postlink_cmds=$lt_postlink_cmds
14071
14072 # Specify filename containing input files.
14073 file_list_spec=$lt_file_list_spec
14074
14075 # How to hardcode a shared library path into an executable.
14076 hardcode_action=$hardcode_action
14077
14078 # ### END LIBTOOL CONFIG
14079
14080 _LT_EOF
14081
14082   case $host_os in
14083   aix3*)
14084     cat <<\_LT_EOF >> "$cfgfile"
14085 # AIX sometimes has problems with the GCC collect2 program.  For some
14086 # reason, if we set the COLLECT_NAMES environment variable, the problems
14087 # vanish in a puff of smoke.
14088 if test "X${COLLECT_NAMES+set}" != Xset; then
14089   COLLECT_NAMES=
14090   export COLLECT_NAMES
14091 fi
14092 _LT_EOF
14093     ;;
14094   esac
14095
14096
14097 ltmain="$ac_aux_dir/ltmain.sh"
14098
14099
14100   # We use sed instead of cat because bash on DJGPP gets confused if
14101   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14102   # text mode, it properly converts lines to CR/LF.  This bash problem
14103   # is reportedly fixed, but why not run on old versions too?
14104   sed '$q' "$ltmain" >> "$cfgfile" \
14105      || (rm -f "$cfgfile"; exit 1)
14106
14107   if test x"$xsi_shell" = xyes; then
14108   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14109 func_dirname ()\
14110 {\
14111 \    case ${1} in\
14112 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14113 \      *  ) func_dirname_result="${3}" ;;\
14114 \    esac\
14115 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14116   && mv -f "$cfgfile.tmp" "$cfgfile" \
14117     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14118 test 0 -eq $? || _lt_function_replace_fail=:
14119
14120
14121   sed -e '/^func_basename ()$/,/^} # func_basename /c\
14122 func_basename ()\
14123 {\
14124 \    func_basename_result="${1##*/}"\
14125 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14126   && mv -f "$cfgfile.tmp" "$cfgfile" \
14127     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14128 test 0 -eq $? || _lt_function_replace_fail=:
14129
14130
14131   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14132 func_dirname_and_basename ()\
14133 {\
14134 \    case ${1} in\
14135 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14136 \      *  ) func_dirname_result="${3}" ;;\
14137 \    esac\
14138 \    func_basename_result="${1##*/}"\
14139 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14140   && mv -f "$cfgfile.tmp" "$cfgfile" \
14141     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14142 test 0 -eq $? || _lt_function_replace_fail=:
14143
14144
14145   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14146 func_stripname ()\
14147 {\
14148 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14149 \    # positional parameters, so assign one to ordinary parameter first.\
14150 \    func_stripname_result=${3}\
14151 \    func_stripname_result=${func_stripname_result#"${1}"}\
14152 \    func_stripname_result=${func_stripname_result%"${2}"}\
14153 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14154   && mv -f "$cfgfile.tmp" "$cfgfile" \
14155     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14156 test 0 -eq $? || _lt_function_replace_fail=:
14157
14158
14159   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14160 func_split_long_opt ()\
14161 {\
14162 \    func_split_long_opt_name=${1%%=*}\
14163 \    func_split_long_opt_arg=${1#*=}\
14164 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14165   && mv -f "$cfgfile.tmp" "$cfgfile" \
14166     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14167 test 0 -eq $? || _lt_function_replace_fail=:
14168
14169
14170   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14171 func_split_short_opt ()\
14172 {\
14173 \    func_split_short_opt_arg=${1#??}\
14174 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14175 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14176   && mv -f "$cfgfile.tmp" "$cfgfile" \
14177     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14178 test 0 -eq $? || _lt_function_replace_fail=:
14179
14180
14181   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14182 func_lo2o ()\
14183 {\
14184 \    case ${1} in\
14185 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14186 \      *)    func_lo2o_result=${1} ;;\
14187 \    esac\
14188 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14189   && mv -f "$cfgfile.tmp" "$cfgfile" \
14190     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14191 test 0 -eq $? || _lt_function_replace_fail=:
14192
14193
14194   sed -e '/^func_xform ()$/,/^} # func_xform /c\
14195 func_xform ()\
14196 {\
14197     func_xform_result=${1%.*}.lo\
14198 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14199   && mv -f "$cfgfile.tmp" "$cfgfile" \
14200     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14201 test 0 -eq $? || _lt_function_replace_fail=:
14202
14203
14204   sed -e '/^func_arith ()$/,/^} # func_arith /c\
14205 func_arith ()\
14206 {\
14207     func_arith_result=$(( $* ))\
14208 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14209   && mv -f "$cfgfile.tmp" "$cfgfile" \
14210     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14211 test 0 -eq $? || _lt_function_replace_fail=:
14212
14213
14214   sed -e '/^func_len ()$/,/^} # func_len /c\
14215 func_len ()\
14216 {\
14217     func_len_result=${#1}\
14218 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14219   && mv -f "$cfgfile.tmp" "$cfgfile" \
14220     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14221 test 0 -eq $? || _lt_function_replace_fail=:
14222
14223 fi
14224
14225 if test x"$lt_shell_append" = xyes; then
14226   sed -e '/^func_append ()$/,/^} # func_append /c\
14227 func_append ()\
14228 {\
14229     eval "${1}+=\\${2}"\
14230 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14231   && mv -f "$cfgfile.tmp" "$cfgfile" \
14232     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14233 test 0 -eq $? || _lt_function_replace_fail=:
14234
14235
14236   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14237 func_append_quoted ()\
14238 {\
14239 \    func_quote_for_eval "${2}"\
14240 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14241 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14242   && mv -f "$cfgfile.tmp" "$cfgfile" \
14243     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14244 test 0 -eq $? || _lt_function_replace_fail=:
14245
14246
14247   # Save a `func_append' function call where possible by direct use of '+='
14248   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14249     && mv -f "$cfgfile.tmp" "$cfgfile" \
14250       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14251   test 0 -eq $? || _lt_function_replace_fail=:
14252 else
14253   # Save a `func_append' function call even when '+=' is not available
14254   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14255     && mv -f "$cfgfile.tmp" "$cfgfile" \
14256       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14257   test 0 -eq $? || _lt_function_replace_fail=:
14258 fi
14259
14260 if test x"$_lt_function_replace_fail" = x":"; then
14261   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14262 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14263 fi
14264
14265
14266    mv -f "$cfgfile" "$ofile" ||
14267     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14268   chmod +x "$ofile"
14269
14270  ;;
14271
14272   esac
14273 done # for ac_tag
14274
14275
14276 as_fn_exit 0
14277 _ACEOF
14278 ac_clean_files=$ac_clean_files_save
14279
14280 test $ac_write_fail = 0 ||
14281   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14282
14283
14284 # configure is writing to config.log, and then calls config.status.
14285 # config.status does its own redirection, appending to config.log.
14286 # Unfortunately, on DOS this fails, as config.log is still kept open
14287 # by configure, so config.status won't be able to write to it; its
14288 # output is simply discarded.  So we exec the FD to /dev/null,
14289 # effectively closing config.log, so it can be properly (re)opened and
14290 # appended to by config.status.  When coming back to configure, we
14291 # need to make the FD available again.
14292 if test "$no_create" != yes; then
14293   ac_cs_success=:
14294   ac_config_status_args=
14295   test "$silent" = yes &&
14296     ac_config_status_args="$ac_config_status_args --quiet"
14297   exec 5>/dev/null
14298   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14299   exec 5>>config.log
14300   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14301   # would make configure fail if this is the last instruction.
14302   $ac_cs_success || as_fn_exit 1
14303 fi
14304 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14305   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14306 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14307 fi
14308